[2026-09-17 00:00:06] local.INFO: TCP Data received {"connection_id":184728,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:00:06] local.INFO: Processing buffer {"connection_id":184728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:00:06] local.INFO: IMEI packet received {"connection_id":184728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":184728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:00:09] local.INFO: TCP Data received {"connection_id":184728,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:00:09] local.INFO: Processing buffer {"connection_id":184728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:00:09] local.INFO: IMEI packet received {"connection_id":184728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":184728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:00:10] local.INFO: TCP Data received {"connection_id":184729,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:00:10] local.INFO: Processing buffer {"connection_id":184729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:00:10] local.INFO: IMEI packet received {"connection_id":184729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":184729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:00:11] local.INFO: TCP Data received {"connection_id":184728,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab778d30012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab778d30012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:00:11] local.INFO: Processing buffer {"connection_id":184728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab778d30012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:00:11] local.INFO: Packet analysis {"connection_id":184728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab77"} 
[2026-09-17 00:00:11] local.INFO: Extracted packet for processing {"connection_id":184728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab77"} 
[2026-09-17 00:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133205248001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789583134000,"timestamp_ms":1789583134000,"timestamp_seconds":1789583134,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab778d30"} 
[2026-09-17 00:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 00:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:00:11] 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-09-17 00:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133205248001,"66":25604,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133205248001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:00:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:00:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133205248001,"power":25604,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":184728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:00:11] local.INFO: GPS data processed {"connection_id":184728,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:00:11] local.INFO: Acknowledgment sent {"connection_id":184728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:00:15] local.INFO: TCP Data received {"connection_id":184729,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:00:15] local.INFO: Processing buffer {"connection_id":184729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:00:15] local.INFO: IMEI packet received {"connection_id":184729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":184729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:00:15] local.INFO: TCP Data received {"connection_id":184729,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:00:15] local.INFO: Processing buffer {"connection_id":184729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:00:15] local.INFO: Packet analysis {"connection_id":184729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:00:15] local.INFO: Extracted packet for processing {"connection_id":184729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133221376001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583197000,"timestamp_ms":1789583197000,"timestamp_seconds":1789583197,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab788348"} 
[2026-09-17 00:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133221376001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133221376001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:00:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133221376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":184729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:00:15] local.INFO: GPS data processed {"connection_id":184729,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:00:15] local.INFO: Acknowledgment sent {"connection_id":184729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:00:20] local.INFO: TCP Data received {"connection_id":184728,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab778d30012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab778d30012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:00:20] local.INFO: Processing buffer {"connection_id":184728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab778d30012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:00:20] local.INFO: Packet analysis {"connection_id":184728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab77"} 
[2026-09-17 00:00:20] local.INFO: Extracted packet for processing {"connection_id":184728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab77"} 
[2026-09-17 00:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133205248001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789583134000,"timestamp_ms":1789583134000,"timestamp_seconds":1789583134,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab778d30"} 
[2026-09-17 00:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 00:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":184728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":184728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":184728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:00:20] 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-09-17 00:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133205248001,"66":25604,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133205248001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:00:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133205248001,"power":25604,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":184728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:00:20] local.INFO: GPS data processed {"connection_id":184728,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:00:20] local.INFO: Acknowledgment sent {"connection_id":184728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:00:46] local.INFO: TCP Data received {"connection_id":184729,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:00:46] local.INFO: Processing buffer {"connection_id":184729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:00:46] local.INFO: Packet analysis {"connection_id":184729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:00:46] local.INFO: Extracted packet for processing {"connection_id":184729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133221376001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789583197000,"timestamp_ms":1789583197000,"timestamp_seconds":1789583197,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab788348"} 
[2026-09-17 00:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133221376001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133221376001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:00:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133221376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":184729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:00:47] local.INFO: GPS data processed {"connection_id":184729,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:00:47] local.INFO: Acknowledgment sent {"connection_id":184729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:01:09] local.INFO: TCP Data received {"connection_id":184731,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:01:09] local.INFO: Processing buffer {"connection_id":184731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:01:09] local.INFO: IMEI packet received {"connection_id":184731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":184731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:01:10] local.INFO: TCP Data received {"connection_id":184633,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:01:10] local.INFO: Processing buffer {"connection_id":184633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:01:10] local.INFO: IMEI packet received {"connection_id":184633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":184633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:01:14] local.INFO: TCP Data received {"connection_id":184633,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:01:15] local.INFO: Processing buffer {"connection_id":184633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:01:15] local.INFO: IMEI packet received {"connection_id":184633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":184633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:01:15] local.INFO: TCP Data received {"connection_id":184731,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:01:15] local.INFO: Processing buffer {"connection_id":184731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:01:15] local.INFO: IMEI packet received {"connection_id":184731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":184731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:01:15] local.INFO: TCP Data received {"connection_id":184633,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:01:15] local.INFO: Processing buffer {"connection_id":184633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:01:15] local.INFO: Packet analysis {"connection_id":184633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:01:15] local.INFO: Extracted packet for processing {"connection_id":184633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133221376001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583197000,"timestamp_ms":1789583197000,"timestamp_seconds":1789583197,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab788348"} 
[2026-09-17 00:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133221376001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133221376001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:01:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133221376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":184633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:01:15] local.INFO: GPS data processed {"connection_id":184633,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:01:15] local.INFO: Acknowledgment sent {"connection_id":184633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:01:19] local.INFO: TCP Data received {"connection_id":184731,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:01:19] local.INFO: Processing buffer {"connection_id":184731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:01:19] local.INFO: IMEI packet received {"connection_id":184731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":184731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:01:20] local.INFO: TCP Data received {"connection_id":184731,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:01:20] local.INFO: Processing buffer {"connection_id":184731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:01:20] local.INFO: Packet analysis {"connection_id":184731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:01:20] local.INFO: Extracted packet for processing {"connection_id":184731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133282304001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789583435000,"timestamp_ms":1789583435000,"timestamp_seconds":1789583435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7c24f8"} 
[2026-09-17 00:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 00:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":184731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":184731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":184731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:01:20] 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-09-17 00:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133282304001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133282304001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:01:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133282304001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":184731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:01:20] local.INFO: GPS data processed {"connection_id":184731,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:01:20] local.INFO: Acknowledgment sent {"connection_id":184731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:01:46] local.INFO: TCP Data received {"connection_id":184633,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:01:46] local.INFO: Processing buffer {"connection_id":184633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:01:46] local.INFO: Packet analysis {"connection_id":184633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:01:46] local.INFO: Extracted packet for processing {"connection_id":184633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133221376001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789583197000,"timestamp_ms":1789583197000,"timestamp_seconds":1789583197,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab788348"} 
[2026-09-17 00:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133221376001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133221376001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:01:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133221376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":184633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:01:46] local.INFO: GPS data processed {"connection_id":184633,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:01:46] local.INFO: Acknowledgment sent {"connection_id":184633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:02:10] local.INFO: TCP Data received {"connection_id":186039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:02:10] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:02:10] local.INFO: IMEI packet received {"connection_id":186039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":186039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:02:14] local.INFO: TCP Data received {"connection_id":186039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:02:15] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:02:15] local.INFO: IMEI packet received {"connection_id":186039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":186039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:02:15] local.INFO: TCP Data received {"connection_id":186039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:02:15] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab788348012d196540071fef780047014b28..."} 
[2026-09-17 00:02:15] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:02:15] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab78"} 
[2026-09-17 00:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133221376001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583197000,"timestamp_ms":1789583197000,"timestamp_seconds":1789583197,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab788348"} 
[2026-09-17 00:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133221376001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133221376001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133221376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:02:15] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:02:15] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:02:46] local.INFO: TCP Data received {"connection_id":186039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:02:46] local.INFO: Processing buffer {"connection_id":186039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:02:46] local.INFO: Packet analysis {"connection_id":186039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:02:46] local.INFO: Extracted packet for processing {"connection_id":186039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":186039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:02:46] local.INFO: GPS data processed {"connection_id":186039,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:02:46] local.INFO: Acknowledgment sent {"connection_id":186039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:03:09] local.INFO: TCP Data received {"connection_id":184732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:03:09] local.INFO: Processing buffer {"connection_id":184732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:03:09] local.INFO: IMEI packet received {"connection_id":184732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":184732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:03:12] local.INFO: TCP Data received {"connection_id":184634,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:03:12] local.INFO: Processing buffer {"connection_id":184634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:03:12] local.INFO: IMEI packet received {"connection_id":184634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":184634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:03:14] local.INFO: TCP Data received {"connection_id":184732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:03:14] local.INFO: Processing buffer {"connection_id":184732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:03:14] local.INFO: IMEI packet received {"connection_id":184732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":184732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:03:15] local.INFO: TCP Data received {"connection_id":184732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:03:15] local.INFO: Processing buffer {"connection_id":184732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:03:15] local.INFO: Packet analysis {"connection_id":184732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:03:15] local.INFO: Extracted packet for processing {"connection_id":184732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:03:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":184732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:03:15] local.INFO: GPS data processed {"connection_id":184732,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:03:15] local.INFO: Acknowledgment sent {"connection_id":184732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:03:39] local.INFO: TCP Data received {"connection_id":184635,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:03:39] local.INFO: Processing buffer {"connection_id":184635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:03:39] local.INFO: IMEI packet received {"connection_id":184635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":184635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:03:46] local.INFO: TCP Data received {"connection_id":184732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:03:46] local.INFO: Processing buffer {"connection_id":184732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:03:46] local.INFO: Packet analysis {"connection_id":184732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:03:46] local.INFO: Extracted packet for processing {"connection_id":184732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:03:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":184732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:03:46] local.INFO: GPS data processed {"connection_id":184732,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:03:46] local.INFO: Acknowledgment sent {"connection_id":184732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:03:52] local.INFO: TCP Data received {"connection_id":186040,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:03:52] local.INFO: Processing buffer {"connection_id":186040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:03:52] local.INFO: IMEI packet received {"connection_id":186040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":186040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:04:15] local.INFO: TCP Data received {"connection_id":187368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:04:15] local.INFO: Processing buffer {"connection_id":187368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:04:15] local.INFO: IMEI packet received {"connection_id":187368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":187368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:04:19] local.INFO: TCP Data received {"connection_id":187368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:04:19] local.INFO: Processing buffer {"connection_id":187368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:04:19] local.INFO: IMEI packet received {"connection_id":187368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":187368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:04:19] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:04:20] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:04:20] local.INFO: IMEI packet received {"connection_id":186041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":186041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:04:20] local.INFO: TCP Data received {"connection_id":187368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:04:20] local.INFO: Processing buffer {"connection_id":187368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:04:20] local.INFO: Packet analysis {"connection_id":187368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:04:20] local.INFO: Extracted packet for processing {"connection_id":187368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:04:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:04:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:04:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":187368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:04:20] local.INFO: GPS data processed {"connection_id":187368,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:04:20] local.INFO: Acknowledgment sent {"connection_id":187368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:04:24] local.INFO: TCP Data received {"connection_id":187368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:04:24] local.INFO: Processing buffer {"connection_id":187368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:04:24] local.INFO: Packet analysis {"connection_id":187368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:04:24] local.INFO: Extracted packet for processing {"connection_id":187368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:04:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:04:24] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:04:24] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:04:24] local.INFO: IMEI packet received {"connection_id":186041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":186041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":187368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:04:25] local.INFO: GPS data processed {"connection_id":187368,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:04:25] local.INFO: Acknowledgment sent {"connection_id":187368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:04:26] local.INFO: TCP Data received {"connection_id":186041,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:04:26] local.INFO: Processing buffer {"connection_id":186041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:04:26] local.INFO: Packet analysis {"connection_id":186041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:04:26] local.INFO: Extracted packet for processing {"connection_id":186041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133282304001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789583435000,"timestamp_ms":1789583435000,"timestamp_seconds":1789583435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7c24f8"} 
[2026-09-17 00:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 00:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:04:26] 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-09-17 00:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133282304001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133282304001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:04:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:04:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133282304001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":186041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:04:26] local.INFO: GPS data processed {"connection_id":186041,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:04:26] local.INFO: Acknowledgment sent {"connection_id":186041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:05:00] local.INFO: TCP Data received {"connection_id":187369,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:05:00] local.INFO: Processing buffer {"connection_id":187369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:05:00] local.INFO: IMEI packet received {"connection_id":187369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":187369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:05:09] local.INFO: TCP Data received {"connection_id":184733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:05:09] local.INFO: Processing buffer {"connection_id":184733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:05:09] local.INFO: IMEI packet received {"connection_id":184733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":184733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:05:12] local.INFO: TCP Data received {"connection_id":187369,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:05:12] local.INFO: Processing buffer {"connection_id":187369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:05:12] local.INFO: IMEI packet received {"connection_id":187369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":187369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:05:14] local.INFO: TCP Data received {"connection_id":187369,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:05:14] local.INFO: Processing buffer {"connection_id":187369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:05:14] local.INFO: Packet analysis {"connection_id":187369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:05:14] local.INFO: Extracted packet for processing {"connection_id":187369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:05: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-09-17 00:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133282304001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789583435000,"timestamp_ms":1789583435000,"timestamp_seconds":1789583435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7c24f8"} 
[2026-09-17 00:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 00:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:05: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-09-17 00:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:05: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-09-17 00:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133282304001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133282304001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:05:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133282304001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":187369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:05:14] local.INFO: GPS data processed {"connection_id":187369,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:05:14] local.INFO: Acknowledgment sent {"connection_id":187369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:05:14] local.INFO: TCP Data received {"connection_id":184733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:05:14] local.INFO: Processing buffer {"connection_id":184733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:05:14] local.INFO: IMEI packet received {"connection_id":184733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":184733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:05:15] local.INFO: TCP Data received {"connection_id":184733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:05:15] local.INFO: Processing buffer {"connection_id":184733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:05:15] local.INFO: Packet analysis {"connection_id":184733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:05:15] local.INFO: Extracted packet for processing {"connection_id":184733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:05:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":184733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:05:15] local.INFO: GPS data processed {"connection_id":184733,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:05:15] local.INFO: Acknowledgment sent {"connection_id":184733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:05:15] local.INFO: TCP Data received {"connection_id":187369,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:05:15] local.INFO: Processing buffer {"connection_id":187369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:05:15] local.INFO: Packet analysis {"connection_id":187369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:05:15] local.INFO: Extracted packet for processing {"connection_id":187369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133282304001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583435000,"timestamp_ms":1789583435000,"timestamp_seconds":1789583435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7c24f8"} 
[2026-09-17 00:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 00:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:05:15] 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-09-17 00:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133282304001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133282304001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:05:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133282304001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":187369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:05:15] local.INFO: GPS data processed {"connection_id":187369,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:05:15] local.INFO: Acknowledgment sent {"connection_id":187369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:05:46] local.INFO: TCP Data received {"connection_id":184733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:05:46] local.INFO: Processing buffer {"connection_id":184733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:05:46] local.INFO: Packet analysis {"connection_id":184733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:05:46] local.INFO: Extracted packet for processing {"connection_id":184733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:05:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":184733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:05:46] local.INFO: GPS data processed {"connection_id":184733,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:05:46] local.INFO: Acknowledgment sent {"connection_id":184733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:05:59] local.INFO: TCP Data received {"connection_id":184638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:05:59] local.INFO: Processing buffer {"connection_id":184638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:05:59] local.INFO: IMEI packet received {"connection_id":184638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":184638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:06:04] local.INFO: TCP Data received {"connection_id":184638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:06:04] local.INFO: Processing buffer {"connection_id":184638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:06:04] local.INFO: IMEI packet received {"connection_id":184638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":184638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:06:10] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:06:10] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:06:10] local.INFO: IMEI packet received {"connection_id":186042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":186042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:06:15] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:06:15] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:06:15] local.INFO: IMEI packet received {"connection_id":186042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":186042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:06:15] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:06:15] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:06:15] local.INFO: Packet analysis {"connection_id":186042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:06:15] local.INFO: Extracted packet for processing {"connection_id":186042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":186042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:06:15] local.INFO: GPS data processed {"connection_id":186042,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:06:15] local.INFO: Acknowledgment sent {"connection_id":186042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:06:19] local.INFO: TCP Data received {"connection_id":184638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:06:19] local.INFO: Processing buffer {"connection_id":184638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7c24f8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:06:19] local.INFO: Packet analysis {"connection_id":184638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:06:19] local.INFO: Extracted packet for processing {"connection_id":184638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7c"} 
[2026-09-17 00:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133282304001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789583435000,"timestamp_ms":1789583435000,"timestamp_seconds":1789583435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7c24f8"} 
[2026-09-17 00:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 00:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":184638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":184638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":184638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:06: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-09-17 00:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133282304001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133282304001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:06:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133282304001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":184638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:06:19] local.INFO: GPS data processed {"connection_id":184638,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:06:19] local.INFO: Acknowledgment sent {"connection_id":184638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:06:46] local.INFO: TCP Data received {"connection_id":186042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:06:46] local.INFO: Processing buffer {"connection_id":186042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:06:46] local.INFO: Packet analysis {"connection_id":186042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:06:46] local.INFO: Extracted packet for processing {"connection_id":186042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:06:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":186042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:06:46] local.INFO: GPS data processed {"connection_id":186042,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:06:46] local.INFO: Acknowledgment sent {"connection_id":186042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:07:10] local.INFO: TCP Data received {"connection_id":187371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:07:10] local.INFO: Processing buffer {"connection_id":187371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:07:10] local.INFO: IMEI packet received {"connection_id":187371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":187371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:07:14] local.INFO: TCP Data received {"connection_id":187371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:07:14] local.INFO: Processing buffer {"connection_id":187371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:07:14] local.INFO: IMEI packet received {"connection_id":187371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":187371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:07:15] local.INFO: TCP Data received {"connection_id":187371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:07:15] local.INFO: Processing buffer {"connection_id":187371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab7d1b10012d196540071fef780047014b27..."} 
[2026-09-17 00:07:15] local.INFO: Packet analysis {"connection_id":187371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:07:15] local.INFO: Extracted packet for processing {"connection_id":187371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab7d"} 
[2026-09-17 00:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133298432001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583498000,"timestamp_ms":1789583498000,"timestamp_seconds":1789583498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab7d1b10"} 
[2026-09-17 00:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133298432001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133298432001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:07:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133298432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":187371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:07:15] local.INFO: GPS data processed {"connection_id":187371,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:07:15] local.INFO: Acknowledgment sent {"connection_id":187371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:07:46] local.INFO: TCP Data received {"connection_id":187371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:07:46] local.INFO: Processing buffer {"connection_id":187371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:07:46] local.INFO: Packet analysis {"connection_id":187371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:07:46] local.INFO: Extracted packet for processing {"connection_id":187371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:07:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":187371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:07:46] local.INFO: GPS data processed {"connection_id":187371,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:07:46] local.INFO: Acknowledgment sent {"connection_id":187371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:07:59] local.INFO: TCP Data received {"connection_id":184734,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:07:59] local.INFO: Processing buffer {"connection_id":184734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:07:59] local.INFO: IMEI packet received {"connection_id":184734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":184734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:08:04] local.INFO: TCP Data received {"connection_id":184734,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:08:04] local.INFO: Processing buffer {"connection_id":184734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:08:04] local.INFO: IMEI packet received {"connection_id":184734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":184734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:08:09] local.INFO: TCP Data received {"connection_id":184735,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:08:09] local.INFO: Processing buffer {"connection_id":184735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:08:09] local.INFO: IMEI packet received {"connection_id":184735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":184735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:08:14] local.INFO: TCP Data received {"connection_id":184735,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:08:14] local.INFO: Processing buffer {"connection_id":184735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:08:14] local.INFO: IMEI packet received {"connection_id":184735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":184735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:08:15] local.INFO: TCP Data received {"connection_id":184735,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:08:15] local.INFO: Processing buffer {"connection_id":184735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:08:15] local.INFO: Packet analysis {"connection_id":184735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:08:15] local.INFO: Extracted packet for processing {"connection_id":184735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:08:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":184735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:08:15] local.INFO: GPS data processed {"connection_id":184735,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:08:15] local.INFO: Acknowledgment sent {"connection_id":184735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:08:39] local.INFO: TCP Data received {"connection_id":184734,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:08:39] local.INFO: Processing buffer {"connection_id":184734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:08:39] local.INFO: IMEI packet received {"connection_id":184734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":184734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:08:46] local.INFO: TCP Data received {"connection_id":184735,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:08:46] local.INFO: Processing buffer {"connection_id":184735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:08:46] local.INFO: Packet analysis {"connection_id":184735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:08:46] local.INFO: Extracted packet for processing {"connection_id":184735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:08:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":184735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:08:46] local.INFO: GPS data processed {"connection_id":184735,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:08:46] local.INFO: Acknowledgment sent {"connection_id":184735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:08:59] local.INFO: TCP Data received {"connection_id":184639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:08:59] local.INFO: Processing buffer {"connection_id":184639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:08:59] local.INFO: IMEI packet received {"connection_id":184639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":184639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:09:14] local.INFO: TCP Data received {"connection_id":187373,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:09:14] local.INFO: Processing buffer {"connection_id":187373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:09:14] local.INFO: IMEI packet received {"connection_id":187373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":187373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:09:19] local.INFO: TCP Data received {"connection_id":187373,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:09:19] local.INFO: Processing buffer {"connection_id":187373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:09:19] local.INFO: IMEI packet received {"connection_id":187373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":187373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:09:20] local.INFO: TCP Data received {"connection_id":187373,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:09:20] local.INFO: Processing buffer {"connection_id":187373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:09:20] local.INFO: Packet analysis {"connection_id":187373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:09:20] local.INFO: Extracted packet for processing {"connection_id":187373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:09:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":187373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:09:20] local.INFO: GPS data processed {"connection_id":187373,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:09:20] local.INFO: Acknowledgment sent {"connection_id":187373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:09:22] local.INFO: TCP Data received {"connection_id":184736,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:09:22] local.INFO: Processing buffer {"connection_id":184736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:09:22] local.INFO: IMEI packet received {"connection_id":184736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":184736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:09:25] local.INFO: TCP Data received {"connection_id":187373,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:09:25] local.INFO: Processing buffer {"connection_id":187373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:09:25] local.INFO: Packet analysis {"connection_id":187373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:09:25] local.INFO: Extracted packet for processing {"connection_id":187373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:09:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":187373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:09:25] local.INFO: GPS data processed {"connection_id":187373,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:09:25] local.INFO: Acknowledgment sent {"connection_id":187373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:09:51] local.INFO: TCP Data received {"connection_id":186044,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:09:51] local.INFO: Processing buffer {"connection_id":186044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:09:51] local.INFO: IMEI packet received {"connection_id":186044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":186044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:10:10] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:10:10] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:10:10] local.INFO: IMEI packet received {"connection_id":186045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":186045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:10:14] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:10:15] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:10:15] local.INFO: IMEI packet received {"connection_id":186045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":186045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:10:15] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:10:15] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:10:15] local.INFO: Packet analysis {"connection_id":186045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:10:15] local.INFO: Extracted packet for processing {"connection_id":186045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":186045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:10:16] local.INFO: GPS data processed {"connection_id":186045,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:10:16] local.INFO: Acknowledgment sent {"connection_id":186045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:10:46] local.INFO: TCP Data received {"connection_id":186045,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:10:47] local.INFO: Processing buffer {"connection_id":186045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:10:47] local.INFO: Packet analysis {"connection_id":186045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:10:47] local.INFO: Extracted packet for processing {"connection_id":186045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:10:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:10:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":186045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:10:47] local.INFO: GPS data processed {"connection_id":186045,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:10:47] local.INFO: Acknowledgment sent {"connection_id":186045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:11:09] local.INFO: TCP Data received {"connection_id":184641,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:11:09] local.INFO: Processing buffer {"connection_id":184641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:11:09] local.INFO: IMEI packet received {"connection_id":184641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":184641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:11:14] local.INFO: TCP Data received {"connection_id":184641,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:11:14] local.INFO: Processing buffer {"connection_id":184641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:11:14] local.INFO: IMEI packet received {"connection_id":184641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":184641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:11:15] local.INFO: TCP Data received {"connection_id":184641,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:11:15] local.INFO: Processing buffer {"connection_id":184641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:11:15] local.INFO: Packet analysis {"connection_id":184641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:11:15] local.INFO: Extracted packet for processing {"connection_id":184641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:11:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":184641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:11:15] local.INFO: GPS data processed {"connection_id":184641,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:11:15] local.INFO: Acknowledgment sent {"connection_id":184641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:11:46] local.INFO: TCP Data received {"connection_id":184641,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:11:46] local.INFO: Processing buffer {"connection_id":184641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:11:46] local.INFO: Packet analysis {"connection_id":184641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:11:46] local.INFO: Extracted packet for processing {"connection_id":184641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:11:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":184641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:11:46] local.INFO: GPS data processed {"connection_id":184641,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:11:46] local.INFO: Acknowledgment sent {"connection_id":184641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:12:10] local.INFO: TCP Data received {"connection_id":184643,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:12:10] local.INFO: Processing buffer {"connection_id":184643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:12:10] local.INFO: IMEI packet received {"connection_id":184643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":184643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:12:14] local.INFO: TCP Data received {"connection_id":184643,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:12:14] local.INFO: Processing buffer {"connection_id":184643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:12:14] local.INFO: IMEI packet received {"connection_id":184643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":184643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:12:15] local.INFO: TCP Data received {"connection_id":184643,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:12:15] local.INFO: Processing buffer {"connection_id":184643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab81b2d8012d196540071fef780047014b28..."} 
[2026-09-17 00:12:15] local.INFO: Packet analysis {"connection_id":184643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:12:15] local.INFO: Extracted packet for processing {"connection_id":184643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab81"} 
[2026-09-17 00:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133375488001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789583799000,"timestamp_ms":1789583799000,"timestamp_seconds":1789583799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab81b2d8"} 
[2026-09-17 00:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133375488001,"66":2155,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133375488001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:12:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133375488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":184643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:12:15] local.INFO: GPS data processed {"connection_id":184643,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:12:15] local.INFO: Acknowledgment sent {"connection_id":184643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:12:46] local.INFO: TCP Data received {"connection_id":184643,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:12:46] local.INFO: Processing buffer {"connection_id":184643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:12:46] local.INFO: Packet analysis {"connection_id":184643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:12:46] local.INFO: Extracted packet for processing {"connection_id":184643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:12:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":184643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:12:47] local.INFO: GPS data processed {"connection_id":184643,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:12:47] local.INFO: Acknowledgment sent {"connection_id":184643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:13:09] local.INFO: TCP Data received {"connection_id":187377,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:13:09] local.INFO: Processing buffer {"connection_id":187377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:13:09] local.INFO: IMEI packet received {"connection_id":187377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":187377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:13:14] local.INFO: TCP Data received {"connection_id":187377,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:13:14] local.INFO: Processing buffer {"connection_id":187377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:13:14] local.INFO: IMEI packet received {"connection_id":187377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":187377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:13:15] local.INFO: TCP Data received {"connection_id":187377,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:13:15] local.INFO: Processing buffer {"connection_id":187377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:13:15] local.INFO: Packet analysis {"connection_id":187377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:13:15] local.INFO: Extracted packet for processing {"connection_id":187377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:13:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":187377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:13:15] local.INFO: GPS data processed {"connection_id":187377,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:13:15] local.INFO: Acknowledgment sent {"connection_id":187377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:13:46] local.INFO: TCP Data received {"connection_id":187377,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:13:46] local.INFO: Processing buffer {"connection_id":187377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:13:46] local.INFO: Packet analysis {"connection_id":187377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:13:46] local.INFO: Extracted packet for processing {"connection_id":187377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:13:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":187377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:13:46] local.INFO: GPS data processed {"connection_id":187377,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:13:46] local.INFO: Acknowledgment sent {"connection_id":187377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:14:04] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:14:04] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:14:04] local.INFO: IMEI packet received {"connection_id":186046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":186046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:14:06] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab80bcc0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab80bcc0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:14:06] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab80bcc0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:14:06] local.INFO: Packet analysis {"connection_id":186046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab80"} 
[2026-09-17 00:14:06] local.INFO: Extracted packet for processing {"connection_id":186046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab80"} 
[2026-09-17 00:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133359360001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789583736000,"timestamp_ms":1789583736000,"timestamp_seconds":1789583736,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab80bcc0"} 
[2026-09-17 00:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:14:06] 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-09-17 00:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133359360001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133359360001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:14:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133359360001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":186046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:14:06] local.INFO: GPS data processed {"connection_id":186046,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:14:06] local.INFO: Acknowledgment sent {"connection_id":186046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:14:14] local.INFO: TCP Data received {"connection_id":184740,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:14:14] local.INFO: Processing buffer {"connection_id":184740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:14:14] local.INFO: IMEI packet received {"connection_id":184740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":184740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:14:19] local.INFO: TCP Data received {"connection_id":184740,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:14:19] local.INFO: Processing buffer {"connection_id":184740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:14:19] local.INFO: IMEI packet received {"connection_id":184740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":184740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:14:20] local.INFO: TCP Data received {"connection_id":184740,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:14:20] local.INFO: Processing buffer {"connection_id":184740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:14:20] local.INFO: Packet analysis {"connection_id":184740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:14:20] local.INFO: Extracted packet for processing {"connection_id":184740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":184740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":184740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":184740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:14:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":184740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:14:20] local.INFO: GPS data processed {"connection_id":184740,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:14:20] local.INFO: Acknowledgment sent {"connection_id":184740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:14:25] local.INFO: TCP Data received {"connection_id":184740,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:14:25] local.INFO: Processing buffer {"connection_id":184740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:14:25] local.INFO: Packet analysis {"connection_id":184740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:14:25] local.INFO: Extracted packet for processing {"connection_id":184740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:14:25] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":184740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":184740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":184740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:14:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:14:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":184740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:14:25] local.INFO: GPS data processed {"connection_id":184740,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:14:25] local.INFO: Acknowledgment sent {"connection_id":184740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:14:44] local.INFO: TCP Data received {"connection_id":186046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:14:44] local.INFO: Processing buffer {"connection_id":186046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:14:44] local.INFO: Packet analysis {"connection_id":186046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab85"} 
[2026-09-17 00:14:44] local.INFO: Extracted packet for processing {"connection_id":186046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab85"} 
[2026-09-17 00:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133436416001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789584037000,"timestamp_ms":1789584037000,"timestamp_seconds":1789584037,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab855488"} 
[2026-09-17 00:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:14:44] 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-09-17 00:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133436416001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133436416001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:14:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133436416001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":186046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:14:44] local.INFO: GPS data processed {"connection_id":186046,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:14:44] local.INFO: Acknowledgment sent {"connection_id":186046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:15:00] local.INFO: TCP Data received {"connection_id":187379,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:15:00] local.INFO: Processing buffer {"connection_id":187379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:15:00] local.INFO: IMEI packet received {"connection_id":187379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":187379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:15:09] local.INFO: TCP Data received {"connection_id":187380,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:15:09] local.INFO: Processing buffer {"connection_id":187380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:15:09] local.INFO: IMEI packet received {"connection_id":187380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":187380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:15:14] local.INFO: TCP Data received {"connection_id":187379,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:15:14] local.INFO: Processing buffer {"connection_id":187379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:15:14] local.INFO: IMEI packet received {"connection_id":187379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":187379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:15:15] local.INFO: TCP Data received {"connection_id":187380,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:15:15] local.INFO: Processing buffer {"connection_id":187380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:15:15] local.INFO: IMEI packet received {"connection_id":187380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":187380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:15:15] local.INFO: TCP Data received {"connection_id":187380,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:15:15] local.INFO: Processing buffer {"connection_id":187380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:15:15] local.INFO: Packet analysis {"connection_id":187380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:15:15] local.INFO: Extracted packet for processing {"connection_id":187380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:15:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":187380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:15:15] local.INFO: GPS data processed {"connection_id":187380,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:15:15] local.INFO: Acknowledgment sent {"connection_id":187380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:15:22] local.INFO: TCP Data received {"connection_id":187378,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:15:22] local.INFO: Processing buffer {"connection_id":187378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:15:22] local.INFO: IMEI packet received {"connection_id":187378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":187378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:15:46] local.INFO: TCP Data received {"connection_id":187379,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:15:46] local.INFO: Processing buffer {"connection_id":187379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:15:46] local.INFO: Packet analysis {"connection_id":187379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab85"} 
[2026-09-17 00:15:46] local.INFO: Extracted packet for processing {"connection_id":187379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab85"} 
[2026-09-17 00:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133436416001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584037000,"timestamp_ms":1789584037000,"timestamp_seconds":1789584037,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab855488"} 
[2026-09-17 00:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:15:46] 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-09-17 00:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133436416001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133436416001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:15:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133436416001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":187379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:15:46] local.INFO: GPS data processed {"connection_id":187379,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:15:46] local.INFO: Acknowledgment sent {"connection_id":187379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:15:47] local.INFO: TCP Data received {"connection_id":187380,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:15:47] local.INFO: Processing buffer {"connection_id":187380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:15:47] local.INFO: Packet analysis {"connection_id":187380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:15:47] local.INFO: Extracted packet for processing {"connection_id":187380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:15:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":187380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:15:47] local.INFO: GPS data processed {"connection_id":187380,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:15:47] local.INFO: Acknowledgment sent {"connection_id":187380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:15:52] local.INFO: TCP Data received {"connection_id":184741,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:15:52] local.INFO: Processing buffer {"connection_id":184741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:15:52] local.INFO: IMEI packet received {"connection_id":184741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":184741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:16:05] local.INFO: TCP Data received {"connection_id":187381,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:16:05] local.INFO: Processing buffer {"connection_id":187381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:16:05] local.INFO: IMEI packet received {"connection_id":187381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":187381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:16:09] local.INFO: TCP Data received {"connection_id":187381,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:16:09] local.INFO: Processing buffer {"connection_id":187381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:16:09] local.INFO: IMEI packet received {"connection_id":187381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":187381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:16:09] local.INFO: TCP Data received {"connection_id":184644,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:16:09] local.INFO: Processing buffer {"connection_id":184644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:16:09] local.INFO: IMEI packet received {"connection_id":184644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":184644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:16:11] local.INFO: TCP Data received {"connection_id":187381,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:16:11] local.INFO: Processing buffer {"connection_id":187381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:16:11] local.INFO: Packet analysis {"connection_id":187381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab85"} 
[2026-09-17 00:16:11] local.INFO: Extracted packet for processing {"connection_id":187381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab85"} 
[2026-09-17 00:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133436416001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789584037000,"timestamp_ms":1789584037000,"timestamp_seconds":1789584037,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab855488"} 
[2026-09-17 00:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:16:11] 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-09-17 00:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133436416001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133436416001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:16:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133436416001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":187381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:16:11] local.INFO: GPS data processed {"connection_id":187381,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:16:11] local.INFO: Acknowledgment sent {"connection_id":187381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:16:15] local.INFO: TCP Data received {"connection_id":184644,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:16:15] local.INFO: Processing buffer {"connection_id":184644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:16:15] local.INFO: IMEI packet received {"connection_id":184644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":184644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:16:15] local.INFO: TCP Data received {"connection_id":184644,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:16:15] local.INFO: Processing buffer {"connection_id":184644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:16:15] local.INFO: Packet analysis {"connection_id":184644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:16:15] local.INFO: Extracted packet for processing {"connection_id":184644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:16:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":184644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:16:15] local.INFO: GPS data processed {"connection_id":184644,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:16:15] local.INFO: Acknowledgment sent {"connection_id":184644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:16:21] local.INFO: TCP Data received {"connection_id":187381,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:16:21] local.INFO: Processing buffer {"connection_id":187381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab855488012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:16:21] local.INFO: Packet analysis {"connection_id":187381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab85"} 
[2026-09-17 00:16:21] local.INFO: Extracted packet for processing {"connection_id":187381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab85"} 
[2026-09-17 00:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133436416001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789584037000,"timestamp_ms":1789584037000,"timestamp_seconds":1789584037,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab855488"} 
[2026-09-17 00:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:16:21] 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-09-17 00:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133436416001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133436416001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:16:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133436416001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":187381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:16:21] local.INFO: GPS data processed {"connection_id":187381,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:16:21] local.INFO: Acknowledgment sent {"connection_id":187381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:16:46] local.INFO: TCP Data received {"connection_id":184644,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:16:46] local.INFO: Processing buffer {"connection_id":184644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:16:46] local.INFO: Packet analysis {"connection_id":184644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:16:46] local.INFO: Extracted packet for processing {"connection_id":184644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:16:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":184644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:16:47] local.INFO: GPS data processed {"connection_id":184644,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:16:47] local.INFO: Acknowledgment sent {"connection_id":184644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:16:59] local.INFO: TCP Data received {"connection_id":187382,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:16:59] local.INFO: Processing buffer {"connection_id":187382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:16:59] local.INFO: IMEI packet received {"connection_id":187382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":187382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:17:08] local.INFO: TCP Data received {"connection_id":187382,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:17:08] local.INFO: Processing buffer {"connection_id":187382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:17:08] local.INFO: IMEI packet received {"connection_id":187382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":187382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:17:09] local.INFO: TCP Data received {"connection_id":187382,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:17:09] local.INFO: Processing buffer {"connection_id":187382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:17:09] local.INFO: Packet analysis {"connection_id":187382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:17:09] local.INFO: Extracted packet for processing {"connection_id":187382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 00:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133513472001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789584338000,"timestamp_ms":1789584338000,"timestamp_seconds":1789584338,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab89ec50"} 
[2026-09-17 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-09-17 00:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 00:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:17: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-09-17 00:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133513472001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133513472001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:17:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133513472001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":187382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:17:09] local.INFO: GPS data processed {"connection_id":187382,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:17:09] local.INFO: Acknowledgment sent {"connection_id":187382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:17:10] local.INFO: TCP Data received {"connection_id":184742,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:17:10] local.INFO: Processing buffer {"connection_id":184742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:17:10] local.INFO: IMEI packet received {"connection_id":184742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":184742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:17:14] local.INFO: TCP Data received {"connection_id":184742,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:17:15] local.INFO: Processing buffer {"connection_id":184742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:17:15] local.INFO: IMEI packet received {"connection_id":184742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":184742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:17:15] local.INFO: TCP Data received {"connection_id":184742,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:17:15] local.INFO: Processing buffer {"connection_id":184742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab864aa0012d196540071fef780047014b28..."} 
[2026-09-17 00:17:15] local.INFO: Packet analysis {"connection_id":184742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:17:15] local.INFO: Extracted packet for processing {"connection_id":184742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab86"} 
[2026-09-17 00:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133452544001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584100000,"timestamp_ms":1789584100000,"timestamp_seconds":1789584100,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab864aa0"} 
[2026-09-17 00:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 00:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133452544001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133452544001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:17:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133452544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":184742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:17:15] local.INFO: GPS data processed {"connection_id":184742,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:17:15] local.INFO: Acknowledgment sent {"connection_id":184742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:17:44] local.INFO: TCP Data received {"connection_id":187382,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:17:44] local.INFO: Processing buffer {"connection_id":187382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:17:44] local.INFO: Packet analysis {"connection_id":187382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:17:44] local.INFO: Extracted packet for processing {"connection_id":187382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:17: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-09-17 00:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133513472001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789584338000,"timestamp_ms":1789584338000,"timestamp_seconds":1789584338,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab89ec50"} 
[2026-09-17 00:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:17: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-09-17 00:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:17:44] 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-09-17 00:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133513472001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133513472001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:17:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133513472001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":187382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:17:44] local.INFO: GPS data processed {"connection_id":187382,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:17:44] local.INFO: Acknowledgment sent {"connection_id":187382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:17:46] local.INFO: TCP Data received {"connection_id":184742,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:17:46] local.INFO: Processing buffer {"connection_id":184742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:17:46] local.INFO: Packet analysis {"connection_id":184742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:17:46] local.INFO: Extracted packet for processing {"connection_id":184742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:17:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":184742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:17:46] local.INFO: GPS data processed {"connection_id":184742,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:17:46] local.INFO: Acknowledgment sent {"connection_id":184742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:18:14] local.INFO: TCP Data received {"connection_id":184743,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:18:14] local.INFO: Processing buffer {"connection_id":184743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:18:14] local.INFO: IMEI packet received {"connection_id":184743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":184743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:18:19] local.INFO: TCP Data received {"connection_id":184743,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:18:19] local.INFO: Processing buffer {"connection_id":184743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:18:19] local.INFO: IMEI packet received {"connection_id":184743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":184743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:18:20] local.INFO: TCP Data received {"connection_id":184743,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:18:20] local.INFO: Processing buffer {"connection_id":184743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:18:20] local.INFO: Packet analysis {"connection_id":184743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:18:20] local.INFO: Extracted packet for processing {"connection_id":184743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:18:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":184743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":184743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":184743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:18:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:18:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":184743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:18:20] local.INFO: GPS data processed {"connection_id":184743,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:18:20] local.INFO: Acknowledgment sent {"connection_id":184743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:18:25] local.INFO: TCP Data received {"connection_id":184743,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:18:25] local.INFO: Processing buffer {"connection_id":184743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:18:25] local.INFO: Packet analysis {"connection_id":184743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:18:25] local.INFO: Extracted packet for processing {"connection_id":184743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:18:25] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":184743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":184743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":184743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 00:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:18:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:18:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":184743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:18:25] local.INFO: GPS data processed {"connection_id":184743,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:18:25] local.INFO: Acknowledgment sent {"connection_id":184743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:18:34] local.INFO: TCP Data received {"connection_id":187383,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:18:34] local.INFO: Processing buffer {"connection_id":187383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:18:34] local.INFO: IMEI packet received {"connection_id":187383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":187383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:18:40] local.INFO: TCP Data received {"connection_id":187383,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:18:40] local.INFO: Processing buffer {"connection_id":187383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:18:40] local.INFO: IMEI packet received {"connection_id":187383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":187383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:18:42] local.INFO: TCP Data received {"connection_id":187383,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:18:42] local.INFO: Processing buffer {"connection_id":187383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:18:42] local.INFO: Packet analysis {"connection_id":187383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:18:42] local.INFO: Extracted packet for processing {"connection_id":187383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133513472001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789584338000,"timestamp_ms":1789584338000,"timestamp_seconds":1789584338,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab89ec50"} 
[2026-09-17 00:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:18:42] 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-09-17 00:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133513472001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133513472001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:18:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133513472001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":187383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:18:42] local.INFO: GPS data processed {"connection_id":187383,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:18:42] local.INFO: Acknowledgment sent {"connection_id":187383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:19:09] local.INFO: TCP Data received {"connection_id":184645,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:19:09] local.INFO: Processing buffer {"connection_id":184645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:19:09] local.INFO: IMEI packet received {"connection_id":184645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":184645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:19:14] local.INFO: TCP Data received {"connection_id":184645,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:19:14] local.INFO: Processing buffer {"connection_id":184645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:19:14] local.INFO: IMEI packet received {"connection_id":184645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":184645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:19:15] local.INFO: TCP Data received {"connection_id":184645,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:19:15] local.INFO: Processing buffer {"connection_id":184645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:19:15] local.INFO: Packet analysis {"connection_id":184645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:19:15] local.INFO: Extracted packet for processing {"connection_id":184645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":184645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:19:15] local.INFO: GPS data processed {"connection_id":184645,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:19:15] local.INFO: Acknowledgment sent {"connection_id":184645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:19:15] local.INFO: TCP Data received {"connection_id":184744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:19:15] local.INFO: Processing buffer {"connection_id":184744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:19:15] local.INFO: IMEI packet received {"connection_id":184744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":184744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:19:15] local.INFO: TCP Data received {"connection_id":184744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:19:15] local.INFO: Processing buffer {"connection_id":184744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:19:15] local.INFO: IMEI packet received {"connection_id":184744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":184744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:19:16] local.INFO: TCP Data received {"connection_id":184744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:19:16] local.INFO: Processing buffer {"connection_id":184744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:19:16] local.INFO: Packet analysis {"connection_id":184744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:19:16] local.INFO: Extracted packet for processing {"connection_id":184744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133513472001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789584338000,"timestamp_ms":1789584338000,"timestamp_seconds":1789584338,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab89ec50"} 
[2026-09-17 00:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:19:16] 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-09-17 00:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133513472001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133513472001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:19:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133513472001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":184744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:19:16] local.INFO: GPS data processed {"connection_id":184744,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:19:16] local.INFO: Acknowledgment sent {"connection_id":184744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:19:22] local.INFO: TCP Data received {"connection_id":184744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:19:22] local.INFO: Processing buffer {"connection_id":184744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:19:22] local.INFO: Packet analysis {"connection_id":184744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:19:22] local.INFO: Extracted packet for processing {"connection_id":184744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:19:22] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133513472001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789584338000,"timestamp_ms":1789584338000,"timestamp_seconds":1789584338,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab89ec50"} 
[2026-09-17 00:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":184744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":184744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":184744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:19:22] 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-09-17 00:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133513472001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133513472001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:19:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:19:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133513472001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":184744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:19:22] local.INFO: GPS data processed {"connection_id":184744,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:19:22] local.INFO: Acknowledgment sent {"connection_id":184744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:19:46] local.INFO: TCP Data received {"connection_id":184645,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:19:46] local.INFO: Processing buffer {"connection_id":184645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:19:46] local.INFO: Packet analysis {"connection_id":184645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:19:46] local.INFO: Extracted packet for processing {"connection_id":184645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:19:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":184645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:19:46] local.INFO: GPS data processed {"connection_id":184645,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:19:46] local.INFO: Acknowledgment sent {"connection_id":184645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:20:02] local.INFO: TCP Data received {"connection_id":186050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:20:02] local.INFO: Processing buffer {"connection_id":186050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:20:02] local.INFO: IMEI packet received {"connection_id":186050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":186050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:20:04] local.INFO: TCP Data received {"connection_id":186050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:20:04] local.INFO: Processing buffer {"connection_id":186050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:20:04] local.INFO: IMEI packet received {"connection_id":186050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":186050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:20:06] local.INFO: TCP Data received {"connection_id":186050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:20:06] local.INFO: Processing buffer {"connection_id":186050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:20:06] local.INFO: Packet analysis {"connection_id":186050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:20:06] local.INFO: Extracted packet for processing {"connection_id":186050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133513472001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789584338000,"timestamp_ms":1789584338000,"timestamp_seconds":1789584338,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab89ec50"} 
[2026-09-17 00:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:20:06] 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-09-17 00:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133513472001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133513472001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:20:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133513472001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":186050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:20:06] local.INFO: GPS data processed {"connection_id":186050,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:20:06] local.INFO: Acknowledgment sent {"connection_id":186050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:20:09] local.INFO: TCP Data received {"connection_id":184646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:20:09] local.INFO: Processing buffer {"connection_id":184646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:20:09] local.INFO: IMEI packet received {"connection_id":184646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":184646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:20:10] local.INFO: TCP Data received {"connection_id":186050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:20:10] local.INFO: Processing buffer {"connection_id":186050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:20:10] local.INFO: Packet analysis {"connection_id":186050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:20:10] local.INFO: Extracted packet for processing {"connection_id":186050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133513472001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789584338000,"timestamp_ms":1789584338000,"timestamp_seconds":1789584338,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab89ec50"} 
[2026-09-17 00:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:20: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-09-17 00:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133513472001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133513472001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:20:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133513472001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":186050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:20:10] local.INFO: GPS data processed {"connection_id":186050,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:20:10] local.INFO: Acknowledgment sent {"connection_id":186050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:20:14] local.INFO: TCP Data received {"connection_id":184646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:20:14] local.INFO: Processing buffer {"connection_id":184646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:20:14] local.INFO: IMEI packet received {"connection_id":184646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":184646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:20:15] local.INFO: TCP Data received {"connection_id":184646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:20:15] local.INFO: Processing buffer {"connection_id":184646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:20:15] local.INFO: Packet analysis {"connection_id":184646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:20:15] local.INFO: Extracted packet for processing {"connection_id":184646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:20:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":184646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:20:15] local.INFO: GPS data processed {"connection_id":184646,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:20:15] local.INFO: Acknowledgment sent {"connection_id":184646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:20:44] local.INFO: TCP Data received {"connection_id":186050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:20:44] local.INFO: Processing buffer {"connection_id":186050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab89ec50012d34c3c006aa4458000c01172b..."} 
[2026-09-17 00:20:44] local.INFO: Packet analysis {"connection_id":186050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:20:44] local.INFO: Extracted packet for processing {"connection_id":186050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab89"} 
[2026-09-17 00:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133513472001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789584338000,"timestamp_ms":1789584338000,"timestamp_seconds":1789584338,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab89ec50"} 
[2026-09-17 00:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:20:44] 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-09-17 00:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133513472001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133513472001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:20:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133513472001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":186050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:20:44] local.INFO: GPS data processed {"connection_id":186050,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:20:44] local.INFO: Acknowledgment sent {"connection_id":186050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:20:46] local.INFO: TCP Data received {"connection_id":184646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:20:46] local.INFO: Processing buffer {"connection_id":184646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:20:46] local.INFO: Packet analysis {"connection_id":184646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:20:46] local.INFO: Extracted packet for processing {"connection_id":184646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:20:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":184646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:20:46] local.INFO: GPS data processed {"connection_id":184646,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:20:46] local.INFO: Acknowledgment sent {"connection_id":184646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:21:09] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:21:09] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:21:09] local.INFO: IMEI packet received {"connection_id":186052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":186052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:21:09] local.INFO: TCP Data received {"connection_id":187385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:21:09] local.INFO: Processing buffer {"connection_id":187385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:21:09] local.INFO: IMEI packet received {"connection_id":187385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":187385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:21:14] local.INFO: TCP Data received {"connection_id":187385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:21:14] local.INFO: Processing buffer {"connection_id":187385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:21:14] local.INFO: IMEI packet received {"connection_id":187385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":187385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:21:15] local.INFO: TCP Data received {"connection_id":187385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:21:15] local.INFO: Processing buffer {"connection_id":187385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:21:15] local.INFO: Packet analysis {"connection_id":187385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:21:15] local.INFO: Extracted packet for processing {"connection_id":187385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:21:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":187385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:21:15] local.INFO: GPS data processed {"connection_id":187385,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:21:15] local.INFO: Acknowledgment sent {"connection_id":187385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:21:22] local.INFO: TCP Data received {"connection_id":186051,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:21:22] local.INFO: Processing buffer {"connection_id":186051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:21:22] local.INFO: IMEI packet received {"connection_id":186051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":186051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:21:38] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:21:38] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:21:38] local.INFO: IMEI packet received {"connection_id":186052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":186052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:21:40] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:21:40] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:21:40] local.INFO: Packet analysis {"connection_id":186052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:21:40] local.INFO: Extracted packet for processing {"connection_id":186052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 00:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00: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-09-17 00:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:21:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":186052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:21:40] local.INFO: GPS data processed {"connection_id":186052,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:21:40] local.INFO: Acknowledgment sent {"connection_id":186052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:21:42] local.INFO: TCP Data received {"connection_id":186052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:21:42] local.INFO: Processing buffer {"connection_id":186052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:21:42] local.INFO: Packet analysis {"connection_id":186052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:21:42] local.INFO: Extracted packet for processing {"connection_id":186052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 00:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:21:42] 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-09-17 00:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:21:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":186052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:21:42] local.INFO: GPS data processed {"connection_id":186052,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:21:42] local.INFO: Acknowledgment sent {"connection_id":186052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:21:46] local.INFO: TCP Data received {"connection_id":187385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:21:46] local.INFO: Processing buffer {"connection_id":187385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:21:46] local.INFO: Packet analysis {"connection_id":187385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:21:46] local.INFO: Extracted packet for processing {"connection_id":187385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:21:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":187385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:21:46] local.INFO: GPS data processed {"connection_id":187385,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:21:46] local.INFO: Acknowledgment sent {"connection_id":187385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:21:52] local.INFO: TCP Data received {"connection_id":184745,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:21:52] local.INFO: Processing buffer {"connection_id":184745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:21:52] local.INFO: IMEI packet received {"connection_id":184745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":184745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:22:09] local.INFO: TCP Data received {"connection_id":187386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:22:09] local.INFO: Processing buffer {"connection_id":187386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:22:09] local.INFO: IMEI packet received {"connection_id":187386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":187386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:22:14] local.INFO: TCP Data received {"connection_id":187386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:22:14] local.INFO: Processing buffer {"connection_id":187386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:22:14] local.INFO: IMEI packet received {"connection_id":187386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":187386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:22:15] local.INFO: TCP Data received {"connection_id":187386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:22:15] local.INFO: Processing buffer {"connection_id":187386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8ae268012d196540071fef780047014b2a..."} 
[2026-09-17 00:22:15] local.INFO: Packet analysis {"connection_id":187386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:22:15] local.INFO: Extracted packet for processing {"connection_id":187386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8a"} 
[2026-09-17 00:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133529600001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584401000,"timestamp_ms":1789584401000,"timestamp_seconds":1789584401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8ae268"} 
[2026-09-17 00:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133529600001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133529600001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133529600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":187386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:22:15] local.INFO: GPS data processed {"connection_id":187386,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:22:15] local.INFO: Acknowledgment sent {"connection_id":187386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:22:35] local.INFO: TCP Data received {"connection_id":186053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:22:35] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:22:35] local.INFO: IMEI packet received {"connection_id":186053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":186053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:22:40] local.INFO: TCP Data received {"connection_id":186053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:22:40] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:22:40] local.INFO: IMEI packet received {"connection_id":186053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":186053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:22:42] local.INFO: TCP Data received {"connection_id":186053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:22:42] local.INFO: Processing buffer {"connection_id":186053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:22:42] local.INFO: Packet analysis {"connection_id":186053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:22:42] local.INFO: Extracted packet for processing {"connection_id":186053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 00:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:22:42] 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-09-17 00:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:22:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":186053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:22:42] local.INFO: GPS data processed {"connection_id":186053,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:22:42] local.INFO: Acknowledgment sent {"connection_id":186053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:22:46] local.INFO: TCP Data received {"connection_id":187386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:22:46] local.INFO: Processing buffer {"connection_id":187386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:22:46] local.INFO: Packet analysis {"connection_id":187386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:22:46] local.INFO: Extracted packet for processing {"connection_id":187386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:22:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":187386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:22:46] local.INFO: GPS data processed {"connection_id":187386,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:22:46] local.INFO: Acknowledgment sent {"connection_id":187386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:22:59] local.INFO: TCP Data received {"connection_id":184747,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:22:59] local.INFO: Processing buffer {"connection_id":184747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:22:59] local.INFO: IMEI packet received {"connection_id":184747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":184747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:23:06] local.INFO: TCP Data received {"connection_id":184747,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:23:06] local.INFO: Processing buffer {"connection_id":184747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:23:06] local.INFO: IMEI packet received {"connection_id":184747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":184747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:23:07] local.INFO: TCP Data received {"connection_id":184747,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:23:07] local.INFO: Processing buffer {"connection_id":184747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:23:07] local.INFO: Packet analysis {"connection_id":184747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:23:07] local.INFO: Extracted packet for processing {"connection_id":184747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 00:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:23:07] 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-09-17 00:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:23:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":184747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:23:07] local.INFO: GPS data processed {"connection_id":184747,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:23:07] local.INFO: Acknowledgment sent {"connection_id":184747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:23:09] local.INFO: TCP Data received {"connection_id":187387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:23:09] local.INFO: Processing buffer {"connection_id":187387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:23:09] local.INFO: IMEI packet received {"connection_id":187387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":187387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:23:14] local.INFO: TCP Data received {"connection_id":187387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:23:14] local.INFO: Processing buffer {"connection_id":187387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:23:14] local.INFO: IMEI packet received {"connection_id":187387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":187387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:23:15] local.INFO: TCP Data received {"connection_id":187387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:23:15] local.INFO: Processing buffer {"connection_id":187387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:23:15] local.INFO: Packet analysis {"connection_id":187387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:23:15] local.INFO: Extracted packet for processing {"connection_id":187387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:23:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":187387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:23:15] local.INFO: GPS data processed {"connection_id":187387,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:23:15] local.INFO: Acknowledgment sent {"connection_id":187387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:23:43] local.INFO: TCP Data received {"connection_id":184747,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:23:43] local.INFO: Processing buffer {"connection_id":184747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:23:43] local.INFO: Packet analysis {"connection_id":184747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:23:43] local.INFO: Extracted packet for processing {"connection_id":184747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 00:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":184747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":184747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":184747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:23: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-09-17 00:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:23:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":184747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:23:43] local.INFO: GPS data processed {"connection_id":184747,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:23:43] local.INFO: Acknowledgment sent {"connection_id":184747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:23:46] local.INFO: TCP Data received {"connection_id":187387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:23:46] local.INFO: Processing buffer {"connection_id":187387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:23:46] local.INFO: Packet analysis {"connection_id":187387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:23:46] local.INFO: Extracted packet for processing {"connection_id":187387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:23:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":187387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:23:46] local.INFO: GPS data processed {"connection_id":187387,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:23:46] local.INFO: Acknowledgment sent {"connection_id":187387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:23:59] local.INFO: TCP Data received {"connection_id":186055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:23:59] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:23:59] local.INFO: IMEI packet received {"connection_id":186055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":186055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:24:06] local.INFO: TCP Data received {"connection_id":186055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:24:06] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:24:06] local.INFO: IMEI packet received {"connection_id":186055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":186055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:24:08] local.INFO: TCP Data received {"connection_id":186055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:24:08] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:24:08] local.INFO: Packet analysis {"connection_id":186055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:24:08] local.INFO: Extracted packet for processing {"connection_id":186055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 00:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:24: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-09-17 00:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:24:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":186055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:24:08] local.INFO: GPS data processed {"connection_id":186055,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:24:08] local.INFO: Acknowledgment sent {"connection_id":186055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:24:09] local.INFO: TCP Data received {"connection_id":184647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:24:09] local.INFO: Processing buffer {"connection_id":184647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:24:09] local.INFO: IMEI packet received {"connection_id":184647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":184647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:24:14] local.INFO: TCP Data received {"connection_id":184647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:24:14] local.INFO: Processing buffer {"connection_id":184647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:24:14] local.INFO: IMEI packet received {"connection_id":184647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":184647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:24:15] local.INFO: TCP Data received {"connection_id":184647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:24:15] local.INFO: Processing buffer {"connection_id":184647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:24:15] local.INFO: Packet analysis {"connection_id":184647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:24:15] local.INFO: Extracted packet for processing {"connection_id":184647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:24:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":184647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:24:15] local.INFO: GPS data processed {"connection_id":184647,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:24:15] local.INFO: Acknowledgment sent {"connection_id":184647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:24:43] local.INFO: TCP Data received {"connection_id":186055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:24:43] local.INFO: Processing buffer {"connection_id":186055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:24:43] local.INFO: Packet analysis {"connection_id":186055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:24:43] local.INFO: Extracted packet for processing {"connection_id":186055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 00:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:24: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-09-17 00:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:24:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":186055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:24:43] local.INFO: GPS data processed {"connection_id":186055,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:24:43] local.INFO: Acknowledgment sent {"connection_id":186055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:24:46] local.INFO: TCP Data received {"connection_id":184647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:24:46] local.INFO: Processing buffer {"connection_id":184647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:24:46] local.INFO: Packet analysis {"connection_id":184647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:24:46] local.INFO: Extracted packet for processing {"connection_id":184647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:24:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":184647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:24:46] local.INFO: GPS data processed {"connection_id":184647,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:24:46] local.INFO: Acknowledgment sent {"connection_id":184647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:25:14] local.INFO: TCP Data received {"connection_id":184749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:25:14] local.INFO: Processing buffer {"connection_id":184749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:25:14] local.INFO: IMEI packet received {"connection_id":184749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":184749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:25:14] local.INFO: TCP Data received {"connection_id":184750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:25:14] local.INFO: Processing buffer {"connection_id":184750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:25:14] local.INFO: IMEI packet received {"connection_id":184750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":184750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:25:15] local.INFO: TCP Data received {"connection_id":184749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:25:15] local.INFO: Processing buffer {"connection_id":184749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:25:15] local.INFO: IMEI packet received {"connection_id":184749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":184749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:25:16] local.INFO: TCP Data received {"connection_id":184749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:25:16] local.INFO: Processing buffer {"connection_id":184749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:25:16] local.INFO: Packet analysis {"connection_id":184749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:25:16] local.INFO: Extracted packet for processing {"connection_id":184749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 00:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 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-09-17 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 00:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:25:16] 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-09-17 00:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:25:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":184749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:25:16] local.INFO: GPS data processed {"connection_id":184749,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:25:16] local.INFO: Acknowledgment sent {"connection_id":184749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:25:19] local.INFO: TCP Data received {"connection_id":184750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:25:19] local.INFO: Processing buffer {"connection_id":184750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:25:19] local.INFO: IMEI packet received {"connection_id":184750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":184750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:25:20] local.INFO: TCP Data received {"connection_id":184750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:25:20] local.INFO: Processing buffer {"connection_id":184750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:25:20] local.INFO: Packet analysis {"connection_id":184750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:25:20] local.INFO: Extracted packet for processing {"connection_id":184750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:25:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":184750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":184750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":184750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:25:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:25:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":184750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:25:20] local.INFO: GPS data processed {"connection_id":184750,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:25:20] local.INFO: Acknowledgment sent {"connection_id":184750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:25:24] local.INFO: TCP Data received {"connection_id":184750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:25:24] local.INFO: Processing buffer {"connection_id":184750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:25:24] local.INFO: Packet analysis {"connection_id":184750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:25:24] local.INFO: Extracted packet for processing {"connection_id":184750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":184750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":184750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":184750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:25:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":184750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:25:24] local.INFO: GPS data processed {"connection_id":184750,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:25:24] local.INFO: Acknowledgment sent {"connection_id":184750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:25:33] local.INFO: TCP Data received {"connection_id":184749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:25:33] local.INFO: Processing buffer {"connection_id":184749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:25:33] local.INFO: Packet analysis {"connection_id":184749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:25:33] local.INFO: Extracted packet for processing {"connection_id":184749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:25:33] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 00:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":184749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":184749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":184749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:25:33] 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-09-17 00:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:25:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:25:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":184749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:25:33] local.INFO: GPS data processed {"connection_id":184749,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:25:33] local.INFO: Acknowledgment sent {"connection_id":184749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:26:09] local.INFO: TCP Data received {"connection_id":184649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:26:09] local.INFO: Processing buffer {"connection_id":184649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:26:09] local.INFO: IMEI packet received {"connection_id":184649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":184649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:26:09] local.INFO: TCP Data received {"connection_id":184650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:26:09] local.INFO: Processing buffer {"connection_id":184650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:26:09] local.INFO: IMEI packet received {"connection_id":184650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":184650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:26:14] local.INFO: TCP Data received {"connection_id":184649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:26:14] local.INFO: Processing buffer {"connection_id":184649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:26:14] local.INFO: IMEI packet received {"connection_id":184649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":184649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:26:14] local.INFO: TCP Data received {"connection_id":184650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:26:14] local.INFO: Processing buffer {"connection_id":184650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:26:14] local.INFO: IMEI packet received {"connection_id":184650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":184650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:26:15] local.INFO: TCP Data received {"connection_id":184649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:26:15] local.INFO: Processing buffer {"connection_id":184649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:26:15] local.INFO: Packet analysis {"connection_id":184649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:26:15] local.INFO: Extracted packet for processing {"connection_id":184649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:26:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":184649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:26:15] local.INFO: GPS data processed {"connection_id":184649,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:26:15] local.INFO: Acknowledgment sent {"connection_id":184649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:26:17] local.INFO: TCP Data received {"connection_id":184650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:26:17] local.INFO: Processing buffer {"connection_id":184650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8e8418012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:26:17] local.INFO: Packet analysis {"connection_id":184650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:26:17] local.INFO: Extracted packet for processing {"connection_id":184650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8e"} 
[2026-09-17 00:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133590528001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789584639000,"timestamp_ms":1789584639000,"timestamp_seconds":1789584639,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8e8418"} 
[2026-09-17 00:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":184650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":184650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":184650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:26:17] 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-09-17 00:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133590528001,"66":25582,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133590528001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:26:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133590528001,"power":25582,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":184650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:26:17] local.INFO: GPS data processed {"connection_id":184650,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:26:17] local.INFO: Acknowledgment sent {"connection_id":184650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:26:46] local.INFO: TCP Data received {"connection_id":184649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:26:46] local.INFO: Processing buffer {"connection_id":184649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:26:46] local.INFO: Packet analysis {"connection_id":184649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:26:46] local.INFO: Extracted packet for processing {"connection_id":184649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:26:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":184649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:26:46] local.INFO: GPS data processed {"connection_id":184649,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:26:46] local.INFO: Acknowledgment sent {"connection_id":184649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:27:04] local.INFO: TCP Data received {"connection_id":187389,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:27:04] local.INFO: Processing buffer {"connection_id":187389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:27:04] local.INFO: IMEI packet received {"connection_id":187389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":187389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:27:07] local.INFO: TCP Data received {"connection_id":187388,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:27:07] local.INFO: Processing buffer {"connection_id":187388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:27:07] local.INFO: IMEI packet received {"connection_id":187388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":187388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:27:09] local.INFO: TCP Data received {"connection_id":186056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:27:09] local.INFO: Processing buffer {"connection_id":186056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:27:09] local.INFO: IMEI packet received {"connection_id":186056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":186056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:27:10] local.INFO: TCP Data received {"connection_id":187389,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:27:10] local.INFO: Processing buffer {"connection_id":187389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:27:10] local.INFO: IMEI packet received {"connection_id":187389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":187389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:27:11] local.INFO: TCP Data received {"connection_id":187389,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:27:11] local.INFO: Processing buffer {"connection_id":187389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:27:11] local.INFO: Packet analysis {"connection_id":187389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:27:11] local.INFO: Extracted packet for processing {"connection_id":187389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133667584001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789584940000,"timestamp_ms":1789584940000,"timestamp_seconds":1789584940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab931be0"} 
[2026-09-17 00:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:27:11] 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-09-17 00:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133667584001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133667584001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:27:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133667584001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":187389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:27:11] local.INFO: GPS data processed {"connection_id":187389,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:27:11] local.INFO: Acknowledgment sent {"connection_id":187389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:27:14] local.INFO: TCP Data received {"connection_id":186056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:27:14] local.INFO: Processing buffer {"connection_id":186056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:27:14] local.INFO: IMEI packet received {"connection_id":186056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":186056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:27:15] local.INFO: TCP Data received {"connection_id":186056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:27:15] local.INFO: Processing buffer {"connection_id":186056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab8f7a30012d196540071fef780047014b2a..."} 
[2026-09-17 00:27:15] local.INFO: Packet analysis {"connection_id":186056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:27:15] local.INFO: Extracted packet for processing {"connection_id":186056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab8f"} 
[2026-09-17 00:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133606656001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584702000,"timestamp_ms":1789584702000,"timestamp_seconds":1789584702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab8f7a30"} 
[2026-09-17 00:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133606656001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133606656001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:27:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133606656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":186056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:27:15] local.INFO: GPS data processed {"connection_id":186056,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:27:15] local.INFO: Acknowledgment sent {"connection_id":186056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:27:45] local.INFO: TCP Data received {"connection_id":187389,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:27:45] local.INFO: Processing buffer {"connection_id":187389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:27:45] local.INFO: Packet analysis {"connection_id":187389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:27:45] local.INFO: Extracted packet for processing {"connection_id":187389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133667584001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789584940000,"timestamp_ms":1789584940000,"timestamp_seconds":1789584940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab931be0"} 
[2026-09-17 00:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:27:45] 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-09-17 00:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133667584001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133667584001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:27:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133667584001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":187389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:27:45] local.INFO: GPS data processed {"connection_id":187389,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:27:45] local.INFO: Acknowledgment sent {"connection_id":187389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:27:46] local.INFO: TCP Data received {"connection_id":186056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:27:46] local.INFO: Processing buffer {"connection_id":186056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:27:46] local.INFO: Packet analysis {"connection_id":186056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:27:46] local.INFO: Extracted packet for processing {"connection_id":186056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 00:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:27:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":186056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:27:46] local.INFO: GPS data processed {"connection_id":186056,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:27:46] local.INFO: Acknowledgment sent {"connection_id":186056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:27:51] local.INFO: TCP Data received {"connection_id":184751,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:27:51] local.INFO: Processing buffer {"connection_id":184751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:27:51] local.INFO: IMEI packet received {"connection_id":184751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":184751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:28:09] local.INFO: TCP Data received {"connection_id":186057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:28:09] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:28:09] local.INFO: IMEI packet received {"connection_id":186057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":186057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:28:11] local.INFO: TCP Data received {"connection_id":184752,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:28:11] local.INFO: Processing buffer {"connection_id":184752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:28:11] local.INFO: IMEI packet received {"connection_id":184752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":184752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:28:12] local.INFO: TCP Data received {"connection_id":184752,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:28:12] local.INFO: Processing buffer {"connection_id":184752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:28:12] local.INFO: IMEI packet received {"connection_id":184752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":184752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:28:13] local.INFO: TCP Data received {"connection_id":184752,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:28:13] local.INFO: Processing buffer {"connection_id":184752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:28:13] local.INFO: Packet analysis {"connection_id":184752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:28:13] local.INFO: Extracted packet for processing {"connection_id":184752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133667584001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789584940000,"timestamp_ms":1789584940000,"timestamp_seconds":1789584940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab931be0"} 
[2026-09-17 00:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:28: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-09-17 00:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133667584001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133667584001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:28:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133667584001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":184752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:28:13] local.INFO: GPS data processed {"connection_id":184752,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:28:13] local.INFO: Acknowledgment sent {"connection_id":184752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:28:15] local.INFO: TCP Data received {"connection_id":186057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:28:15] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:28:15] local.INFO: IMEI packet received {"connection_id":186057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":186057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:28:15] local.INFO: TCP Data received {"connection_id":184752,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:28:15] local.INFO: Processing buffer {"connection_id":184752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:28:15] local.INFO: Packet analysis {"connection_id":184752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:28:15] local.INFO: Extracted packet for processing {"connection_id":184752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133667584001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789584940000,"timestamp_ms":1789584940000,"timestamp_seconds":1789584940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab931be0"} 
[2026-09-17 00:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:28: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-09-17 00:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133667584001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133667584001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:28:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133667584001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":184752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:28:15] local.INFO: GPS data processed {"connection_id":184752,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:28:15] local.INFO: Acknowledgment sent {"connection_id":184752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:28:15] local.INFO: TCP Data received {"connection_id":186057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:28:15] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:28:15] local.INFO: Packet analysis {"connection_id":186057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:28:15] local.INFO: Extracted packet for processing {"connection_id":186057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 00:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:28:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":186057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:28:15] local.INFO: GPS data processed {"connection_id":186057,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:28:15] local.INFO: Acknowledgment sent {"connection_id":186057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:28:46] local.INFO: TCP Data received {"connection_id":186057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:28:46] local.INFO: Processing buffer {"connection_id":186057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:28:46] local.INFO: Packet analysis {"connection_id":186057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:28:46] local.INFO: Extracted packet for processing {"connection_id":186057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 00:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:28:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":186057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:28:46] local.INFO: GPS data processed {"connection_id":186057,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:28:46] local.INFO: Acknowledgment sent {"connection_id":186057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:29:00] local.INFO: TCP Data received {"connection_id":187391,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:29:00] local.INFO: Processing buffer {"connection_id":187391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:29:00] local.INFO: IMEI packet received {"connection_id":187391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":187391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:29:05] local.INFO: TCP Data received {"connection_id":187391,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:29:05] local.INFO: Processing buffer {"connection_id":187391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:29:05] local.INFO: IMEI packet received {"connection_id":187391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":187391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:29:07] local.INFO: TCP Data received {"connection_id":187391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:29:07] local.INFO: Processing buffer {"connection_id":187391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:29:07] local.INFO: Packet analysis {"connection_id":187391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:29:07] local.INFO: Extracted packet for processing {"connection_id":187391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133667584001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789584940000,"timestamp_ms":1789584940000,"timestamp_seconds":1789584940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab931be0"} 
[2026-09-17 00:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:29:07] 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-09-17 00:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133667584001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133667584001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:29:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133667584001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":187391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:29:07] local.INFO: GPS data processed {"connection_id":187391,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:29:07] local.INFO: Acknowledgment sent {"connection_id":187391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:29:09] local.INFO: TCP Data received {"connection_id":184754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:29:09] local.INFO: Processing buffer {"connection_id":184754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:29:09] local.INFO: IMEI packet received {"connection_id":184754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":184754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:29:14] local.INFO: TCP Data received {"connection_id":184754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:29:14] local.INFO: Processing buffer {"connection_id":184754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:29:14] local.INFO: IMEI packet received {"connection_id":184754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":184754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:29:15] local.INFO: TCP Data received {"connection_id":184754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:29:15] local.INFO: Processing buffer {"connection_id":184754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:29:15] local.INFO: Packet analysis {"connection_id":184754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:29:15] local.INFO: Extracted packet for processing {"connection_id":184754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 00:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:29:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":184754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:29:15] local.INFO: GPS data processed {"connection_id":184754,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:29:15] local.INFO: Acknowledgment sent {"connection_id":184754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:29:42] local.INFO: TCP Data received {"connection_id":187391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:29:42] local.INFO: Processing buffer {"connection_id":187391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:29:42] local.INFO: Packet analysis {"connection_id":187391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:29:42] local.INFO: Extracted packet for processing {"connection_id":187391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133667584001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789584940000,"timestamp_ms":1789584940000,"timestamp_seconds":1789584940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab931be0"} 
[2026-09-17 00:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:29: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-09-17 00:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133667584001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133667584001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:29:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133667584001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":187391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:29:42] local.INFO: GPS data processed {"connection_id":187391,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:29:42] local.INFO: Acknowledgment sent {"connection_id":187391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:29:46] local.INFO: TCP Data received {"connection_id":184754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:29:46] local.INFO: Processing buffer {"connection_id":184754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:29:46] local.INFO: Packet analysis {"connection_id":184754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:29:46] local.INFO: Extracted packet for processing {"connection_id":184754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 00:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:29:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":184754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:29:46] local.INFO: GPS data processed {"connection_id":184754,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:29:46] local.INFO: Acknowledgment sent {"connection_id":184754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:30:05] local.INFO: TCP Data received {"connection_id":184651,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:30:05] local.INFO: Processing buffer {"connection_id":184651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:30:05] local.INFO: IMEI packet received {"connection_id":184651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":184651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:30:09] local.INFO: TCP Data received {"connection_id":184652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:30:09] local.INFO: Processing buffer {"connection_id":184652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:30:09] local.INFO: IMEI packet received {"connection_id":184652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":184652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:30:13] local.INFO: TCP Data received {"connection_id":184651,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:30:13] local.INFO: Processing buffer {"connection_id":184651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:30:13] local.INFO: IMEI packet received {"connection_id":184651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":184651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:30:14] local.INFO: TCP Data received {"connection_id":184652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:30:14] local.INFO: Processing buffer {"connection_id":184652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:30:14] local.INFO: IMEI packet received {"connection_id":184652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":184652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:30:14] local.INFO: TCP Data received {"connection_id":184651,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:30:14] local.INFO: Processing buffer {"connection_id":184651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:30:14] local.INFO: Packet analysis {"connection_id":184651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:30:14] local.INFO: Extracted packet for processing {"connection_id":184651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133667584001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789584940000,"timestamp_ms":1789584940000,"timestamp_seconds":1789584940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab931be0"} 
[2026-09-17 00:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:30:14] 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-09-17 00:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133667584001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133667584001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:30:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133667584001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":184651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:30:14] local.INFO: GPS data processed {"connection_id":184651,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:30:14] local.INFO: Acknowledgment sent {"connection_id":184651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:30:15] local.INFO: TCP Data received {"connection_id":184652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:30:15] local.INFO: Processing buffer {"connection_id":184652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:30:15] local.INFO: Packet analysis {"connection_id":184652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:30:15] local.INFO: Extracted packet for processing {"connection_id":184652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 00:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":184652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:30:15] local.INFO: GPS data processed {"connection_id":184652,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:30:15] local.INFO: Acknowledgment sent {"connection_id":184652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:30:16] local.INFO: TCP Data received {"connection_id":184651,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:30:16] local.INFO: Processing buffer {"connection_id":184651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:30:16] local.INFO: Packet analysis {"connection_id":184651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:30:16] local.INFO: Extracted packet for processing {"connection_id":184651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 00:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133667584001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789584940000,"timestamp_ms":1789584940000,"timestamp_seconds":1789584940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab931be0"} 
[2026-09-17 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-09-17 00:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 00:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 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-09-17 00:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133667584001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133667584001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:30:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133667584001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":184651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:30:16] local.INFO: GPS data processed {"connection_id":184651,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:30:16] local.INFO: Acknowledgment sent {"connection_id":184651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:30:46] local.INFO: TCP Data received {"connection_id":184652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:30:46] local.INFO: Processing buffer {"connection_id":184652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:30:46] local.INFO: Packet analysis {"connection_id":184652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:30:46] local.INFO: Extracted packet for processing {"connection_id":184652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 00:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":184652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:30:46] local.INFO: GPS data processed {"connection_id":184652,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:30:46] local.INFO: Acknowledgment sent {"connection_id":184652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:31:01] local.INFO: TCP Data received {"connection_id":187393,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:31:01] local.INFO: Processing buffer {"connection_id":187393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:31:01] local.INFO: IMEI packet received {"connection_id":187393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":187393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:31:09] local.INFO: TCP Data received {"connection_id":187393,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:31:09] local.INFO: Processing buffer {"connection_id":187393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:31:09] local.INFO: IMEI packet received {"connection_id":187393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":187393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:31:09] local.INFO: TCP Data received {"connection_id":187394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:31:09] local.INFO: Processing buffer {"connection_id":187394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:31:09] local.INFO: IMEI packet received {"connection_id":187394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":187394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:31:10] local.INFO: TCP Data received {"connection_id":187393,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:31:10] local.INFO: Processing buffer {"connection_id":187393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab931be0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:31:10] local.INFO: Packet analysis {"connection_id":187393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:31:10] local.INFO: Extracted packet for processing {"connection_id":187393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab93"} 
[2026-09-17 00:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133667584001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789584940000,"timestamp_ms":1789584940000,"timestamp_seconds":1789584940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab931be0"} 
[2026-09-17 00:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 00:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:31:10] 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-09-17 00:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133667584001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133667584001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:31:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133667584001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":187393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:31:10] local.INFO: GPS data processed {"connection_id":187393,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:31:10] local.INFO: Acknowledgment sent {"connection_id":187393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:31:14] local.INFO: TCP Data received {"connection_id":187394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:31:14] local.INFO: Processing buffer {"connection_id":187394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:31:14] local.INFO: IMEI packet received {"connection_id":187394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":187394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:31:15] local.INFO: TCP Data received {"connection_id":187394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:31:15] local.INFO: Processing buffer {"connection_id":187394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:31:15] local.INFO: Packet analysis {"connection_id":187394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:31:15] local.INFO: Extracted packet for processing {"connection_id":187394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 00:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:31:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":187394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:31:15] local.INFO: GPS data processed {"connection_id":187394,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:31:15] local.INFO: Acknowledgment sent {"connection_id":187394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:31:46] local.INFO: TCP Data received {"connection_id":187394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:31:46] local.INFO: Processing buffer {"connection_id":187394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:31:46] local.INFO: Packet analysis {"connection_id":187394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:31:46] local.INFO: Extracted packet for processing {"connection_id":187394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 00:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:31:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":187394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:31:46] local.INFO: GPS data processed {"connection_id":187394,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:31:46] local.INFO: Acknowledgment sent {"connection_id":187394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:31:46] local.INFO: TCP Data received {"connection_id":187393,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:31:46] local.INFO: Processing buffer {"connection_id":187393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:31:46] local.INFO: Packet analysis {"connection_id":187393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:31:46] local.INFO: Extracted packet for processing {"connection_id":187393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133744640001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585241000,"timestamp_ms":1789585241000,"timestamp_seconds":1789585241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab97b3a8"} 
[2026-09-17 00:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:31:46] 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-09-17 00:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133744640001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133744640001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:31:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133744640001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":187393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:31:46] local.INFO: GPS data processed {"connection_id":187393,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:31:46] local.INFO: Acknowledgment sent {"connection_id":187393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:32:05] local.INFO: TCP Data received {"connection_id":184653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:32:05] local.INFO: Processing buffer {"connection_id":184653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:32:05] local.INFO: IMEI packet received {"connection_id":184653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":184653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:32:09] local.INFO: TCP Data received {"connection_id":186060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:32:09] local.INFO: Processing buffer {"connection_id":186060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:32:09] local.INFO: IMEI packet received {"connection_id":186060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":186060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:32:09] local.INFO: TCP Data received {"connection_id":184653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:32:09] local.INFO: Processing buffer {"connection_id":184653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:32:09] local.INFO: IMEI packet received {"connection_id":184653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":184653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:32:11] local.INFO: TCP Data received {"connection_id":184653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:32:11] local.INFO: Processing buffer {"connection_id":184653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:32:11] local.INFO: Packet analysis {"connection_id":184653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:32:11] local.INFO: Extracted packet for processing {"connection_id":184653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133744640001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789585241000,"timestamp_ms":1789585241000,"timestamp_seconds":1789585241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab97b3a8"} 
[2026-09-17 00:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:32:11] 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-09-17 00:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133744640001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133744640001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:32:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:32:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133744640001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":184653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:32:11] local.INFO: GPS data processed {"connection_id":184653,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:32:11] local.INFO: Acknowledgment sent {"connection_id":184653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:32:14] local.INFO: TCP Data received {"connection_id":186060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:32:14] local.INFO: Processing buffer {"connection_id":186060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:32:14] local.INFO: IMEI packet received {"connection_id":186060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":186060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:32:15] local.INFO: TCP Data received {"connection_id":186060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:32:15] local.INFO: Processing buffer {"connection_id":186060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9411f8012d196540071fef780047014b2b..."} 
[2026-09-17 00:32:15] local.INFO: Packet analysis {"connection_id":186060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:32:15] local.INFO: Extracted packet for processing {"connection_id":186060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab94"} 
[2026-09-17 00:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 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-09-17 00:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133683712001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585003000,"timestamp_ms":1789585003000,"timestamp_seconds":1789585003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9411f8"} 
[2026-09-17 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-09-17 00:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 00:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133683712001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133683712001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:32:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133683712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":186060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:32:15] local.INFO: GPS data processed {"connection_id":186060,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:32:15] local.INFO: Acknowledgment sent {"connection_id":186060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:32:46] local.INFO: TCP Data received {"connection_id":186060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:32:46] local.INFO: Processing buffer {"connection_id":186060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:32:46] local.INFO: Packet analysis {"connection_id":186060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:32:46] local.INFO: Extracted packet for processing {"connection_id":186060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":186060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:32:46] local.INFO: GPS data processed {"connection_id":186060,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:32:46] local.INFO: Acknowledgment sent {"connection_id":186060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:32:53] local.INFO: TCP Data received {"connection_id":184653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:32:53] local.INFO: Processing buffer {"connection_id":184653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:32:53] local.INFO: Packet analysis {"connection_id":184653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:32:53] local.INFO: Extracted packet for processing {"connection_id":184653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133744640001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789585241000,"timestamp_ms":1789585241000,"timestamp_seconds":1789585241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab97b3a8"} 
[2026-09-17 00:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":184653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":184653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":184653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:32:53] 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-09-17 00:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133744640001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133744640001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:32:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133744640001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":184653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:32:53] local.INFO: GPS data processed {"connection_id":184653,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:32:53] local.INFO: Acknowledgment sent {"connection_id":184653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:33:09] local.INFO: TCP Data received {"connection_id":187395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:33:09] local.INFO: Processing buffer {"connection_id":187395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:33:09] local.INFO: IMEI packet received {"connection_id":187395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":187395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:33:14] local.INFO: TCP Data received {"connection_id":184756,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:33:14] local.INFO: Processing buffer {"connection_id":184756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:33:14] local.INFO: IMEI packet received {"connection_id":184756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":184756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:33:14] local.INFO: TCP Data received {"connection_id":187395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:33:14] local.INFO: Processing buffer {"connection_id":187395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:33:14] local.INFO: IMEI packet received {"connection_id":187395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":187395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:33:15] local.INFO: TCP Data received {"connection_id":184756,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:33:15] local.INFO: Processing buffer {"connection_id":184756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:33:15] local.INFO: IMEI packet received {"connection_id":184756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":184756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:33:15] local.INFO: TCP Data received {"connection_id":187395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:33:15] local.INFO: Processing buffer {"connection_id":187395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:33:15] local.INFO: Packet analysis {"connection_id":187395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:33:15] local.INFO: Extracted packet for processing {"connection_id":187395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:33:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":187395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:33:15] local.INFO: GPS data processed {"connection_id":187395,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:33:15] local.INFO: Acknowledgment sent {"connection_id":187395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:33:17] local.INFO: TCP Data received {"connection_id":184755,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:33:17] local.INFO: Processing buffer {"connection_id":184755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:33:17] local.INFO: IMEI packet received {"connection_id":184755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":184755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:33:17] local.INFO: TCP Data received {"connection_id":184756,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:33:17] local.INFO: Processing buffer {"connection_id":184756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:33:17] local.INFO: Packet analysis {"connection_id":184756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:33:17] local.INFO: Extracted packet for processing {"connection_id":184756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133744640001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789585241000,"timestamp_ms":1789585241000,"timestamp_seconds":1789585241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab97b3a8"} 
[2026-09-17 00:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":184756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":184756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":184756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:33:17] 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-09-17 00:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133744640001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133744640001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:33:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133744640001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":184756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:33:17] local.INFO: GPS data processed {"connection_id":184756,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:33:17] local.INFO: Acknowledgment sent {"connection_id":184756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:33:19] local.INFO: TCP Data received {"connection_id":184756,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:33:19] local.INFO: Processing buffer {"connection_id":184756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:33:19] local.INFO: Packet analysis {"connection_id":184756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:33:19] local.INFO: Extracted packet for processing {"connection_id":184756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133744640001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789585241000,"timestamp_ms":1789585241000,"timestamp_seconds":1789585241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab97b3a8"} 
[2026-09-17 00:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":184756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":184756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":184756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:33: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-09-17 00:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133744640001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133744640001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:33:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133744640001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":184756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:33:19] local.INFO: GPS data processed {"connection_id":184756,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:33:19] local.INFO: Acknowledgment sent {"connection_id":184756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:33:46] local.INFO: TCP Data received {"connection_id":187395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:33:46] local.INFO: Processing buffer {"connection_id":187395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:33:46] local.INFO: Packet analysis {"connection_id":187395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:33:46] local.INFO: Extracted packet for processing {"connection_id":187395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":187395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:33:46] local.INFO: GPS data processed {"connection_id":187395,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:33:46] local.INFO: Acknowledgment sent {"connection_id":187395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:33:52] local.INFO: TCP Data received {"connection_id":184654,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:33:52] local.INFO: Processing buffer {"connection_id":184654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:33:52] local.INFO: IMEI packet received {"connection_id":184654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":184654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:34:04] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:34:04] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:34:04] local.INFO: IMEI packet received {"connection_id":186061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":186061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:34:09] local.INFO: TCP Data received {"connection_id":186062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:34:09] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:34:09] local.INFO: IMEI packet received {"connection_id":186062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":186062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:34:10] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:34:10] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:34:10] local.INFO: IMEI packet received {"connection_id":186061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":186061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:34:11] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:34:11] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:34:11] local.INFO: Packet analysis {"connection_id":186061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:34:11] local.INFO: Extracted packet for processing {"connection_id":186061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133744640001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789585241000,"timestamp_ms":1789585241000,"timestamp_seconds":1789585241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab97b3a8"} 
[2026-09-17 00:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:34:11] 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-09-17 00:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133744640001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133744640001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:34:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133744640001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":186061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:34:11] local.INFO: GPS data processed {"connection_id":186061,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:34:11] local.INFO: Acknowledgment sent {"connection_id":186061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:34:14] local.INFO: TCP Data received {"connection_id":186062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:34:14] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:34:14] local.INFO: IMEI packet received {"connection_id":186062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":186062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:34:15] local.INFO: TCP Data received {"connection_id":186062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:34:15] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:34:15] local.INFO: Packet analysis {"connection_id":186062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:34:15] local.INFO: Extracted packet for processing {"connection_id":186062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:34:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":186062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:34:15] local.INFO: GPS data processed {"connection_id":186062,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:34:15] local.INFO: Acknowledgment sent {"connection_id":186062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:34:46] local.INFO: TCP Data received {"connection_id":186062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:34:46] local.INFO: Processing buffer {"connection_id":186062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:34:46] local.INFO: Packet analysis {"connection_id":186062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:34:46] local.INFO: Extracted packet for processing {"connection_id":186062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:34:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":186062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:34:46] local.INFO: GPS data processed {"connection_id":186062,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:34:46] local.INFO: Acknowledgment sent {"connection_id":186062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:34:46] local.INFO: TCP Data received {"connection_id":186061,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:34:46] local.INFO: Processing buffer {"connection_id":186061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:34:46] local.INFO: Packet analysis {"connection_id":186061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:34:46] local.INFO: Extracted packet for processing {"connection_id":186061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133744640001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585241000,"timestamp_ms":1789585241000,"timestamp_seconds":1789585241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab97b3a8"} 
[2026-09-17 00:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:34:46] 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-09-17 00:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133744640001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133744640001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:34:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133744640001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":186061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:34:46] local.INFO: GPS data processed {"connection_id":186061,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:34:46] local.INFO: Acknowledgment sent {"connection_id":186061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:35:04] local.INFO: TCP Data received {"connection_id":186064,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:35:04] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:35:04] local.INFO: IMEI packet received {"connection_id":186064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":186064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:35:09] local.INFO: TCP Data received {"connection_id":184757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:35:09] local.INFO: Processing buffer {"connection_id":184757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:35:09] local.INFO: IMEI packet received {"connection_id":184757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":184757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:35:10] local.INFO: TCP Data received {"connection_id":186064,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:35:10] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:35:10] local.INFO: IMEI packet received {"connection_id":186064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":186064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:35:11] local.INFO: TCP Data received {"connection_id":186064,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:35:11] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:35:11] local.INFO: Packet analysis {"connection_id":186064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:35:11] local.INFO: Extracted packet for processing {"connection_id":186064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133744640001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789585241000,"timestamp_ms":1789585241000,"timestamp_seconds":1789585241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab97b3a8"} 
[2026-09-17 00:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:35:11] 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-09-17 00:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133744640001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133744640001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:35:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:35:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133744640001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":186064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:35:11] local.INFO: GPS data processed {"connection_id":186064,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:35:11] local.INFO: Acknowledgment sent {"connection_id":186064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:35:14] local.INFO: TCP Data received {"connection_id":184757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:35:14] local.INFO: Processing buffer {"connection_id":184757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:35:14] local.INFO: IMEI packet received {"connection_id":184757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":184757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:35:15] local.INFO: TCP Data received {"connection_id":184757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:35:15] local.INFO: Processing buffer {"connection_id":184757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:35:15] local.INFO: Packet analysis {"connection_id":184757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:35:15] local.INFO: Extracted packet for processing {"connection_id":184757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:35:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":184757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:35:15] local.INFO: GPS data processed {"connection_id":184757,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:35:15] local.INFO: Acknowledgment sent {"connection_id":184757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:35:44] local.INFO: TCP Data received {"connection_id":186064,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:35:44] local.INFO: Processing buffer {"connection_id":186064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab97b3a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:35:44] local.INFO: Packet analysis {"connection_id":186064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:35:44] local.INFO: Extracted packet for processing {"connection_id":186064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab97"} 
[2026-09-17 00:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 00:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133744640001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789585241000,"timestamp_ms":1789585241000,"timestamp_seconds":1789585241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab97b3a8"} 
[2026-09-17 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-09-17 00:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 00:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 00:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:35: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-09-17 00:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133744640001,"66":25549,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133744640001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:35:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133744640001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":186064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:35:44] local.INFO: GPS data processed {"connection_id":186064,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:35:44] local.INFO: Acknowledgment sent {"connection_id":186064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:35:46] local.INFO: TCP Data received {"connection_id":184757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:35:46] local.INFO: Processing buffer {"connection_id":184757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:35:46] local.INFO: Packet analysis {"connection_id":184757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:35:46] local.INFO: Extracted packet for processing {"connection_id":184757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:35:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":184757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:35:46] local.INFO: GPS data processed {"connection_id":184757,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:35:46] local.INFO: Acknowledgment sent {"connection_id":184757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:36:09] local.INFO: TCP Data received {"connection_id":187396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:36:09] local.INFO: Processing buffer {"connection_id":187396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:36:09] local.INFO: IMEI packet received {"connection_id":187396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":187396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:36:14] local.INFO: TCP Data received {"connection_id":187396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:36:14] local.INFO: Processing buffer {"connection_id":187396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:36:14] local.INFO: IMEI packet received {"connection_id":187396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":187396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:36:14] local.INFO: TCP Data received {"connection_id":186065,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:36:14] local.INFO: Processing buffer {"connection_id":186065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:36:14] local.INFO: IMEI packet received {"connection_id":186065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":186065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:36:15] local.INFO: TCP Data received {"connection_id":187396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:36:15] local.INFO: Processing buffer {"connection_id":187396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:36:15] local.INFO: Packet analysis {"connection_id":187396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:36:15] local.INFO: Extracted packet for processing {"connection_id":187396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:36:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":187396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:36:15] local.INFO: GPS data processed {"connection_id":187396,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:36:15] local.INFO: Acknowledgment sent {"connection_id":187396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:36:46] local.INFO: TCP Data received {"connection_id":187396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:36:46] local.INFO: Processing buffer {"connection_id":187396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:36:46] local.INFO: Packet analysis {"connection_id":187396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:36:46] local.INFO: Extracted packet for processing {"connection_id":187396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:36:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":187396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:36:46] local.INFO: GPS data processed {"connection_id":187396,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:36:46] local.INFO: Acknowledgment sent {"connection_id":187396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:36:50] local.INFO: TCP Data received {"connection_id":186065,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:36:50] local.INFO: Processing buffer {"connection_id":186065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:36:50] local.INFO: IMEI packet received {"connection_id":186065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:36:50] local.ERROR: TCP Connection error {"connection_id":186065,"code":2,"message":"client closed"} 
[2026-09-17 00:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":186065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:37:09] local.INFO: TCP Data received {"connection_id":184657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:37:09] local.INFO: Processing buffer {"connection_id":184657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:37:09] local.INFO: IMEI packet received {"connection_id":184657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 00:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":184657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:37:14] local.INFO: TCP Data received {"connection_id":184657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:37:14] local.INFO: Processing buffer {"connection_id":184657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 00:37:14] local.INFO: IMEI packet received {"connection_id":184657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 00:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":184657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:37:15] local.INFO: TCP Data received {"connection_id":184657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:37:15] local.INFO: Processing buffer {"connection_id":184657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab98a9c0012d196540071fef780047014b2a..."} 
[2026-09-17 00:37:15] local.INFO: Packet analysis {"connection_id":184657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:37:15] local.INFO: Extracted packet for processing {"connection_id":184657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab98"} 
[2026-09-17 00:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133760768001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585304000,"timestamp_ms":1789585304000,"timestamp_seconds":1789585304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab98a9c0"} 
[2026-09-17 00:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133760768001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133760768001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133760768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":184657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:37:15] local.INFO: GPS data processed {"connection_id":184657,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:37:15] local.INFO: Acknowledgment sent {"connection_id":184657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:37:46] local.INFO: TCP Data received {"connection_id":184657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9d4188012d196540071fef780047014b29..."} 
[2026-09-17 00:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9d4188012d196540071fef780047014b29..."} 
[2026-09-17 00:37:46] local.INFO: Processing buffer {"connection_id":184657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9d4188012d196540071fef780047014b29..."} 
[2026-09-17 00:37:46] local.INFO: Packet analysis {"connection_id":184657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab9d"} 
[2026-09-17 00:37:46] local.INFO: Extracted packet for processing {"connection_id":184657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab9d"} 
[2026-09-17 00:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533432,"longitude_deg":75.663904,"latitude_deg":11.9533432,"altitude":71,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 00:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133837824001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21216197844402176,"note":"Value kept but may cause issues"} 
[2026-09-17 00:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940710912,"note":"Value kept but may cause issues"} 
[2026-09-17 00:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789585605000,"timestamp_ms":1789585605000,"timestamp_seconds":1789585605,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9d4188"} 
[2026-09-17 00:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 00:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 00:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 00:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 00:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133837824001,"66":2166,"102":206,"83":41984,"24":0,"16":21216197844402176,"45":1829939222940710912},"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-09-17 00:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 00:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 00:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133837824001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:37:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 00:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 00:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21216197844402176,"km_value":21216197844402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940710912,"description":"Unknown IO ID 45"} 
[2026-09-17 00:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133837824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940710912}} 
[2026-09-17 00:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":184657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:37:46] local.INFO: GPS data processed {"connection_id":184657,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:37:46] local.INFO: Acknowledgment sent {"connection_id":184657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:39:12] local.INFO: TCP Data received {"connection_id":187397,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:39:12] local.INFO: Processing buffer {"connection_id":187397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:39:12] local.INFO: IMEI packet received {"connection_id":187397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":187397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:39:51] local.INFO: TCP Data received {"connection_id":186067,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:39:51] local.INFO: Processing buffer {"connection_id":186067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:39:51] local.INFO: IMEI packet received {"connection_id":186067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":186067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:43:29] local.INFO: TCP Data received {"connection_id":187400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:43:29] local.INFO: Processing buffer {"connection_id":187400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:43:29] local.INFO: IMEI packet received {"connection_id":187400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":187400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:43:34] local.INFO: TCP Data received {"connection_id":187400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:43:34] local.INFO: Processing buffer {"connection_id":187400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:43:34] local.INFO: IMEI packet received {"connection_id":187400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":187400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:43:35] local.INFO: TCP Data received {"connection_id":187400,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab9c4b70012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab9c4b70012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:43:35] local.INFO: Processing buffer {"connection_id":187400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab9c4b70012d34c3c006aa4458000c01172c..."} 
[2026-09-17 00:43:35] local.INFO: Packet analysis {"connection_id":187400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab9c"} 
[2026-09-17 00:43:35] local.INFO: Extracted packet for processing {"connection_id":187400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab9c"} 
[2026-09-17 00:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133821696001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789585542000,"timestamp_ms":1789585542000,"timestamp_seconds":1789585542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab9c4b70"} 
[2026-09-17 00:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 00:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:43:35] 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-09-17 00:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133821696001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133821696001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:43:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133821696001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":187400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:43:35] local.INFO: GPS data processed {"connection_id":187400,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:43:35] local.INFO: Acknowledgment sent {"connection_id":187400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:44:04] local.INFO: TCP Data received {"connection_id":184762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:44:04] local.INFO: Processing buffer {"connection_id":184762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:44:04] local.INFO: IMEI packet received {"connection_id":184762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":184762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:44:10] local.INFO: TCP Data received {"connection_id":184762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:44:10] local.INFO: Processing buffer {"connection_id":184762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:44:10] local.INFO: IMEI packet received {"connection_id":184762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":184762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:44:13] local.INFO: TCP Data received {"connection_id":184762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:44:13] local.INFO: Processing buffer {"connection_id":184762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:44:13] local.INFO: Packet analysis {"connection_id":184762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:44:13] local.INFO: Extracted packet for processing {"connection_id":184762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133898752001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789585843000,"timestamp_ms":1789585843000,"timestamp_seconds":1789585843,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba0e338"} 
[2026-09-17 00:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:44: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-09-17 00:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133898752001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133898752001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:44:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133898752001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":184762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:44:13] local.INFO: GPS data processed {"connection_id":184762,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:44:13] local.INFO: Acknowledgment sent {"connection_id":184762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:44:15] local.INFO: TCP Data received {"connection_id":184762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:44:15] local.INFO: Processing buffer {"connection_id":184762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:44:15] local.INFO: Packet analysis {"connection_id":184762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:44:15] local.INFO: Extracted packet for processing {"connection_id":184762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133898752001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789585843000,"timestamp_ms":1789585843000,"timestamp_seconds":1789585843,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba0e338"} 
[2026-09-17 00:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:44:15] 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-09-17 00:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133898752001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133898752001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:44:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133898752001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":184762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:44:15] local.INFO: GPS data processed {"connection_id":184762,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:44:15] local.INFO: Acknowledgment sent {"connection_id":184762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:44:59] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:44:59] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:44:59] local.INFO: IMEI packet received {"connection_id":186069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":186069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:45:04] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:45:04] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:45:04] local.INFO: IMEI packet received {"connection_id":186069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":186069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:45:05] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:45:05] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:45:05] local.INFO: Packet analysis {"connection_id":186069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:45:05] local.INFO: Extracted packet for processing {"connection_id":186069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133898752001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789585843000,"timestamp_ms":1789585843000,"timestamp_seconds":1789585843,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba0e338"} 
[2026-09-17 00:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:45:05] 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-09-17 00:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133898752001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133898752001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:45:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133898752001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":186069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:45:06] local.INFO: GPS data processed {"connection_id":186069,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:45:06] local.INFO: Acknowledgment sent {"connection_id":186069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:45:17] local.INFO: TCP Data received {"connection_id":187401,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:45:17] local.INFO: Processing buffer {"connection_id":187401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:45:17] local.INFO: IMEI packet received {"connection_id":187401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":187401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:45:37] local.INFO: TCP Data received {"connection_id":186069,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:45:37] local.INFO: Processing buffer {"connection_id":186069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:45:37] local.INFO: Packet analysis {"connection_id":186069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:45:37] local.INFO: Extracted packet for processing {"connection_id":186069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133898752001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789585843000,"timestamp_ms":1789585843000,"timestamp_seconds":1789585843,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba0e338"} 
[2026-09-17 00:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:45:37] 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-09-17 00:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133898752001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133898752001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:45:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133898752001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":186069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:45:37] local.INFO: GPS data processed {"connection_id":186069,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:45:37] local.INFO: Acknowledgment sent {"connection_id":186069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:45:51] local.INFO: TCP Data received {"connection_id":186070,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:45:51] local.INFO: Processing buffer {"connection_id":186070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:45:51] local.INFO: IMEI packet received {"connection_id":186070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":186070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:45:57] local.INFO: TCP Data received {"connection_id":186070,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:45:57] local.INFO: Processing buffer {"connection_id":186070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:45:57] local.INFO: IMEI packet received {"connection_id":186070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 00:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":186070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:45:58] local.INFO: TCP Data received {"connection_id":186070,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ab90c638012d7f9dc005afe4a0000000302a..."} 
[2026-09-17 00:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ab90c638012d7f9dc005afe4a0000000302a..."} 
[2026-09-17 00:45:58] local.INFO: Processing buffer {"connection_id":186070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ab90c638012d7f9dc005afe4a0000000302a..."} 
[2026-09-17 00:45:58] local.INFO: Packet analysis {"connection_id":186070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ab90"} 
[2026-09-17 00:45:58] local.INFO: Extracted packet for processing {"connection_id":186070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ab90"} 
[2026-09-17 00:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95413408,"longitude_deg":76.3338176,"latitude_deg":9.5413408,"altitude":0,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afe4a0","is_valid_coordinates":true} 
[2026-09-17 00:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133628672001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4457046476849152,"note":"Value kept but may cause issues"} 
[2026-09-17 00:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144818786304,"note":"Value kept but may cause issues"} 
[2026-09-17 00:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789584787000,"timestamp_ms":1789584787000,"timestamp_seconds":1789584787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ab90c638"} 
[2026-09-17 00:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-17 00:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 00:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 00:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 00:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-17 00:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-17 00:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133628672001,"66":25223,"250":206,"85":12544,"24":0,"16":4457046476849152,"45":9195717144818786304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-17 00:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-17 00:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-17 00:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133628672001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:45:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-17 00:45:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-17 00:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4457046476849152,"km_value":4457046476849.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144818786304,"description":"Unknown IO ID 45"} 
[2026-09-17 00:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133628672001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144818786304}} 
[2026-09-17 00:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":186070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:45:58] local.INFO: GPS data processed {"connection_id":186070,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:45:58] local.INFO: Acknowledgment sent {"connection_id":186070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:45:59] local.INFO: TCP Data received {"connection_id":184763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:45:59] local.INFO: Processing buffer {"connection_id":184763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:45:59] local.INFO: IMEI packet received {"connection_id":184763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":184763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:46:04] local.INFO: TCP Data received {"connection_id":184763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:46:04] local.INFO: Processing buffer {"connection_id":184763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:46:04] local.INFO: IMEI packet received {"connection_id":184763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":184763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:46:05] local.INFO: TCP Data received {"connection_id":184763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:46:05] local.INFO: Processing buffer {"connection_id":184763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba0e338012d34c3c006aa4458000c01172e..."} 
[2026-09-17 00:46:05] local.INFO: Packet analysis {"connection_id":184763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:46:05] local.INFO: Extracted packet for processing {"connection_id":184763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba0"} 
[2026-09-17 00:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133898752001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789585843000,"timestamp_ms":1789585843000,"timestamp_seconds":1789585843,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba0e338"} 
[2026-09-17 00:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:46:05] 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-09-17 00:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133898752001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133898752001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:46:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133898752001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":184763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:46:05] local.INFO: GPS data processed {"connection_id":184763,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:46:05] local.INFO: Acknowledgment sent {"connection_id":184763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:46:36] local.INFO: TCP Data received {"connection_id":184763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:46:36] local.INFO: Processing buffer {"connection_id":184763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:46:36] local.INFO: Packet analysis {"connection_id":184763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:46:36] local.INFO: Extracted packet for processing {"connection_id":184763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:46:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 00:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:46:36] 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-09-17 00:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":184763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:46:36] local.INFO: GPS data processed {"connection_id":184763,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:46:36] local.INFO: Acknowledgment sent {"connection_id":184763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:46:41] local.INFO: TCP Data received {"connection_id":186071,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:46:41] local.INFO: Processing buffer {"connection_id":186071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:46:41] local.INFO: IMEI packet received {"connection_id":186071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":186071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:46:59] local.INFO: TCP Data received {"connection_id":184764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:46:59] local.INFO: Processing buffer {"connection_id":184764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:46:59] local.INFO: IMEI packet received {"connection_id":184764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":184764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:47:09] local.INFO: TCP Data received {"connection_id":184764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:47:09] local.INFO: Processing buffer {"connection_id":184764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:47:09] local.INFO: IMEI packet received {"connection_id":184764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":184764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:47:12] local.INFO: TCP Data received {"connection_id":184764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:47:12] local.INFO: Processing buffer {"connection_id":184764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:47:12] local.INFO: Packet analysis {"connection_id":184764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:47:12] local.INFO: Extracted packet for processing {"connection_id":184764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:47:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:47:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 00:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":184764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":184764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":184764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:47:12] 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-09-17 00:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:47:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":184764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:47:12] local.INFO: GPS data processed {"connection_id":184764,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:47:12] local.INFO: Acknowledgment sent {"connection_id":184764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:47:44] local.INFO: TCP Data received {"connection_id":184764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:47:44] local.INFO: Processing buffer {"connection_id":184764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:47:44] local.INFO: Packet analysis {"connection_id":184764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:47:44] local.INFO: Extracted packet for processing {"connection_id":184764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:47:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 00:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:47: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-09-17 00:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":184764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:47:44] local.INFO: GPS data processed {"connection_id":184764,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:47:44] local.INFO: Acknowledgment sent {"connection_id":184764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:48:09] local.INFO: TCP Data received {"connection_id":184660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:48:09] local.INFO: Processing buffer {"connection_id":184660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:48:09] local.INFO: IMEI packet received {"connection_id":184660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":184660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:48:21] local.INFO: TCP Data received {"connection_id":184660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:48:21] local.INFO: Processing buffer {"connection_id":184660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:48:21] local.INFO: IMEI packet received {"connection_id":184660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":184660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:48:33] local.INFO: TCP Data received {"connection_id":184660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:48:33] local.INFO: Processing buffer {"connection_id":184660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:48:33] local.INFO: Packet analysis {"connection_id":184660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:48:33] local.INFO: Extracted packet for processing {"connection_id":184660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:48:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 00:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":184660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":184660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":184660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:48:33] 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-09-17 00:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":184660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:48:33] local.INFO: GPS data processed {"connection_id":184660,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:48:33] local.INFO: Acknowledgment sent {"connection_id":184660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:48:34] local.INFO: TCP Data received {"connection_id":184660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:48:34] local.INFO: Processing buffer {"connection_id":184660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:48:34] local.INFO: Packet analysis {"connection_id":184660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:48:34] local.INFO: Extracted packet for processing {"connection_id":184660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:48:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 00:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":184660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":184660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":184660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:48:34] 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-09-17 00:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":184660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:48:34] local.INFO: GPS data processed {"connection_id":184660,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:48:34] local.INFO: Acknowledgment sent {"connection_id":184660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:49:04] local.INFO: TCP Data received {"connection_id":186072,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:49:04] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:49:04] local.INFO: IMEI packet received {"connection_id":186072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":186072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:49:12] local.INFO: TCP Data received {"connection_id":186072,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:49:12] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:49:12] local.INFO: IMEI packet received {"connection_id":186072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":186072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:49:13] local.INFO: TCP Data received {"connection_id":186072,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:49:13] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:49:13] local.INFO: Packet analysis {"connection_id":186072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:49:13] local.INFO: Extracted packet for processing {"connection_id":186072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:49:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 00:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:49: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-09-17 00:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":186072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:49:13] local.INFO: GPS data processed {"connection_id":186072,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:49:13] local.INFO: Acknowledgment sent {"connection_id":186072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:49:44] local.INFO: TCP Data received {"connection_id":186072,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:49:44] local.INFO: Processing buffer {"connection_id":186072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:49:44] local.INFO: Packet analysis {"connection_id":186072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:49:44] local.INFO: Extracted packet for processing {"connection_id":186072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:49:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 00:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:49: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-09-17 00:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":186072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:49:44] local.INFO: GPS data processed {"connection_id":186072,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:49:44] local.INFO: Acknowledgment sent {"connection_id":186072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:49:59] local.INFO: TCP Data received {"connection_id":184765,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:49:59] local.INFO: Processing buffer {"connection_id":184765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:49:59] local.INFO: IMEI packet received {"connection_id":184765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":184765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:50:06] local.INFO: TCP Data received {"connection_id":184765,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:50:06] local.INFO: Processing buffer {"connection_id":184765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:50:06] local.INFO: IMEI packet received {"connection_id":184765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":184765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:50:09] local.INFO: TCP Data received {"connection_id":184765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:50:09] local.INFO: Processing buffer {"connection_id":184765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:50:09] local.INFO: Packet analysis {"connection_id":184765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:50:09] local.INFO: Extracted packet for processing {"connection_id":184765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 00:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:50:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 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-09-17 00:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 00:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:50: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-09-17 00:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":184765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:50:09] local.INFO: GPS data processed {"connection_id":184765,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:50:09] local.INFO: Acknowledgment sent {"connection_id":184765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:50:40] local.INFO: TCP Data received {"connection_id":184765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:50:40] local.INFO: Processing buffer {"connection_id":184765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:50:40] local.INFO: Packet analysis {"connection_id":184765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:50:40] local.INFO: Extracted packet for processing {"connection_id":184765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 00:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:50:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 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-09-17 00:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 00:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":184765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":184765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":184765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:50: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-09-17 00:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":184765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:50:40] local.INFO: GPS data processed {"connection_id":184765,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:50:40] local.INFO: Acknowledgment sent {"connection_id":184765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:51:09] local.INFO: TCP Data received {"connection_id":184766,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:51:09] local.INFO: Processing buffer {"connection_id":184766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:51:09] local.INFO: IMEI packet received {"connection_id":184766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":184766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:51:15] local.INFO: TCP Data received {"connection_id":184766,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:51:15] local.INFO: Processing buffer {"connection_id":184766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:51:15] local.INFO: IMEI packet received {"connection_id":184766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":184766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:51:17] local.INFO: TCP Data received {"connection_id":184766,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:51:17] local.INFO: Processing buffer {"connection_id":184766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba57b00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 00:51:17] local.INFO: Packet analysis {"connection_id":184766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:51:17] local.INFO: Extracted packet for processing {"connection_id":184766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba5"} 
[2026-09-17 00:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458133975808001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:51:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 00:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 00:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789586144000,"timestamp_ms":1789586144000,"timestamp_seconds":1789586144,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba57b00"} 
[2026-09-17 00:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 00:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":184766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":184766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":184766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:51:17] 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-09-17 00:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458133975808001,"66":25538,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 00:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458133975808001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458133975808001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":184766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:51:17] local.INFO: GPS data processed {"connection_id":184766,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:51:17] local.INFO: Acknowledgment sent {"connection_id":184766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:52:02] local.INFO: TCP Data received {"connection_id":184663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:52:02] local.INFO: Processing buffer {"connection_id":184663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:52:02] local.INFO: IMEI packet received {"connection_id":184663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":184663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:52:39] local.INFO: TCP Data received {"connection_id":187404,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:52:39] local.INFO: Processing buffer {"connection_id":187404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:52:39] local.INFO: IMEI packet received {"connection_id":187404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":187404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:53:04] local.INFO: TCP Data received {"connection_id":187405,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:53:04] local.INFO: Processing buffer {"connection_id":187405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:53:04] local.INFO: IMEI packet received {"connection_id":187405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":187405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:53:09] local.INFO: TCP Data received {"connection_id":187405,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:53:09] local.INFO: Processing buffer {"connection_id":187405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:53:09] local.INFO: IMEI packet received {"connection_id":187405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":187405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:53:11] local.INFO: TCP Data received {"connection_id":187405,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:53:11] local.INFO: Processing buffer {"connection_id":187405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:53:11] local.INFO: Packet analysis {"connection_id":187405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:53:11] local.INFO: Extracted packet for processing {"connection_id":187405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134052864001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789586445000,"timestamp_ms":1789586445000,"timestamp_seconds":1789586445,"priority":1,"record_length":96,"hex_timestamp":"000001a0abaa12c8"} 
[2026-09-17 00:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:53: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-09-17 00:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134052864001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134052864001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:53:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134052864001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":187405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:53:11] local.INFO: GPS data processed {"connection_id":187405,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:53:11] local.INFO: Acknowledgment sent {"connection_id":187405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:53:19] local.INFO: TCP Data received {"connection_id":187405,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:53:19] local.INFO: Processing buffer {"connection_id":187405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:53:19] local.INFO: Packet analysis {"connection_id":187405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:53:19] local.INFO: Extracted packet for processing {"connection_id":187405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134052864001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789586445000,"timestamp_ms":1789586445000,"timestamp_seconds":1789586445,"priority":1,"record_length":96,"hex_timestamp":"000001a0abaa12c8"} 
[2026-09-17 00:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:53: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-09-17 00:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134052864001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134052864001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:53:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134052864001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":187405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:53:19] local.INFO: GPS data processed {"connection_id":187405,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:53:19] local.INFO: Acknowledgment sent {"connection_id":187405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:54:05] local.INFO: TCP Data received {"connection_id":186074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:54:05] local.INFO: Processing buffer {"connection_id":186074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:54:05] local.INFO: IMEI packet received {"connection_id":186074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":186074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:54:06] local.INFO: TCP Data received {"connection_id":186074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:54:06] local.INFO: Processing buffer {"connection_id":186074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:54:06] local.INFO: IMEI packet received {"connection_id":186074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":186074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:54:08] local.INFO: TCP Data received {"connection_id":186074,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:54:08] local.INFO: Processing buffer {"connection_id":186074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:54:08] local.INFO: Packet analysis {"connection_id":186074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:54:08] local.INFO: Extracted packet for processing {"connection_id":186074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00: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-09-17 00:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134052864001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789586445000,"timestamp_ms":1789586445000,"timestamp_seconds":1789586445,"priority":1,"record_length":96,"hex_timestamp":"000001a0abaa12c8"} 
[2026-09-17 00:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00: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-09-17 00:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:54: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-09-17 00:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134052864001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134052864001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:54:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134052864001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":186074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:54:08] local.INFO: GPS data processed {"connection_id":186074,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:54:08] local.INFO: Acknowledgment sent {"connection_id":186074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:54:10] local.INFO: TCP Data received {"connection_id":186074,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:54:10] local.INFO: Processing buffer {"connection_id":186074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:54:10] local.INFO: Packet analysis {"connection_id":186074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:54:10] local.INFO: Extracted packet for processing {"connection_id":186074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134052864001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789586445000,"timestamp_ms":1789586445000,"timestamp_seconds":1789586445,"priority":1,"record_length":96,"hex_timestamp":"000001a0abaa12c8"} 
[2026-09-17 00:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:54:10] 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-09-17 00:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134052864001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134052864001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:54:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134052864001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":186074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:54:10] local.INFO: GPS data processed {"connection_id":186074,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:54:10] local.INFO: Acknowledgment sent {"connection_id":186074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:54:46] local.INFO: TCP Data received {"connection_id":186074,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:54:46] local.INFO: Processing buffer {"connection_id":186074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:54:46] local.INFO: Packet analysis {"connection_id":186074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:54:46] local.INFO: Extracted packet for processing {"connection_id":186074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 00:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134052864001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789586445000,"timestamp_ms":1789586445000,"timestamp_seconds":1789586445,"priority":1,"record_length":96,"hex_timestamp":"000001a0abaa12c8"} 
[2026-09-17 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-09-17 00:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 00:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:54: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-09-17 00:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134052864001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134052864001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:54:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134052864001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":186074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:54:46] local.INFO: GPS data processed {"connection_id":186074,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:54:46] local.INFO: Acknowledgment sent {"connection_id":186074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:54:59] local.INFO: TCP Data received {"connection_id":186075,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:54:59] local.INFO: Processing buffer {"connection_id":186075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:54:59] local.INFO: IMEI packet received {"connection_id":186075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":186075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:55:09] local.INFO: TCP Data received {"connection_id":186075,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:55:09] local.INFO: Processing buffer {"connection_id":186075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:55:09] local.INFO: IMEI packet received {"connection_id":186075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":186075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:55:12] local.INFO: TCP Data received {"connection_id":186075,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:55:12] local.INFO: Processing buffer {"connection_id":186075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:55:12] local.INFO: Packet analysis {"connection_id":186075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:55:12] local.INFO: Extracted packet for processing {"connection_id":186075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134052864001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789586445000,"timestamp_ms":1789586445000,"timestamp_seconds":1789586445,"priority":1,"record_length":96,"hex_timestamp":"000001a0abaa12c8"} 
[2026-09-17 00:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:55:12] 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-09-17 00:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134052864001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134052864001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:55:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:55:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134052864001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":186075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:55:12] local.INFO: GPS data processed {"connection_id":186075,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:55:12] local.INFO: Acknowledgment sent {"connection_id":186075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:55:44] local.INFO: TCP Data received {"connection_id":186075,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:55:44] local.INFO: Processing buffer {"connection_id":186075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abaa12c8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 00:55:44] local.INFO: Packet analysis {"connection_id":186075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:55:44] local.INFO: Extracted packet for processing {"connection_id":186075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abaa"} 
[2026-09-17 00:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 00:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 00:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134052864001,"note":"Value kept but may cause issues"} 
[2026-09-17 00:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 00:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 00:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 00:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789586445000,"timestamp_ms":1789586445000,"timestamp_seconds":1789586445,"priority":1,"record_length":96,"hex_timestamp":"000001a0abaa12c8"} 
[2026-09-17 00:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 00:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 00:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 00:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 00:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 00:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 00:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 00:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 00:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 00:55: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-09-17 00:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 00:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 00:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134052864001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 00:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 00:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 00:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134052864001,"description":"Unknown IO ID 0"} 
[2026-09-17 00:55:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 00:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 00:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 00:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 00:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134052864001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 00:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":186075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 00:55:44] local.INFO: GPS data processed {"connection_id":186075,"processed":1,"errors":0,"total":1} 
[2026-09-17 00:55:44] local.INFO: Acknowledgment sent {"connection_id":186075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 00:55:59] local.INFO: TCP Data received {"connection_id":184665,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:55:59] local.INFO: Processing buffer {"connection_id":184665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:55:59] local.INFO: IMEI packet received {"connection_id":184665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":184665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:56:05] local.INFO: TCP Data received {"connection_id":184665,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:56:05] local.INFO: Processing buffer {"connection_id":184665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:56:05] local.INFO: IMEI packet received {"connection_id":184665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":184665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:56:34] local.INFO: TCP Data received {"connection_id":184665,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:56:34] local.INFO: Processing buffer {"connection_id":184665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:56:34] local.INFO: IMEI packet received {"connection_id":184665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 00:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":184665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 00:57:14] local.INFO: TCP Data received {"connection_id":184769,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:57:14] local.INFO: Processing buffer {"connection_id":184769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 00:57:14] local.INFO: IMEI packet received {"connection_id":184769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 00:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":184769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 00:57:52] local.INFO: TCP Data received {"connection_id":184770,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:57:52] local.INFO: Processing buffer {"connection_id":184770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 00:57:52] local.INFO: IMEI packet received {"connection_id":184770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 00:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":184770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:02:21] local.INFO: TCP Data received {"connection_id":187408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:02:21] local.INFO: Processing buffer {"connection_id":187408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:02:21] local.INFO: IMEI packet received {"connection_id":187408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":187408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:02:25] local.INFO: TCP Data received {"connection_id":187408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0abaeaa90012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abaeaa90012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:02:25] local.INFO: Processing buffer {"connection_id":187408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abaeaa90012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:02:25] local.INFO: Packet analysis {"connection_id":187408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abae"} 
[2026-09-17 01:02:25] local.INFO: Extracted packet for processing {"connection_id":187408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abae"} 
[2026-09-17 01:02:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134129920001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789586746000,"timestamp_ms":1789586746000,"timestamp_seconds":1789586746,"priority":1,"record_length":96,"hex_timestamp":"000001a0abaeaa90"} 
[2026-09-17 01:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:02:25] 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-09-17 01:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134129920001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134129920001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:02:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:02:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134129920001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":187408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:02:25] local.INFO: GPS data processed {"connection_id":187408,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:02:25] local.INFO: Acknowledgment sent {"connection_id":187408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:03:17] local.INFO: TCP Data received {"connection_id":186078,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:03:17] local.INFO: Processing buffer {"connection_id":186078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:03:17] local.INFO: IMEI packet received {"connection_id":186078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":186078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:03:22] local.INFO: TCP Data received {"connection_id":184775,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:03:22] local.INFO: Processing buffer {"connection_id":184775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:03:22] local.INFO: IMEI packet received {"connection_id":184775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":184775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:03:29] local.INFO: TCP Data received {"connection_id":186078,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:03:29] local.INFO: Processing buffer {"connection_id":186078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:03:29] local.INFO: IMEI packet received {"connection_id":186078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":186078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:03:39] local.INFO: TCP Data received {"connection_id":186078,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:03:39] local.INFO: Processing buffer {"connection_id":186078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:03:39] local.INFO: IMEI packet received {"connection_id":186078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":186078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:03:50] local.INFO: TCP Data received {"connection_id":186078,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:03:50] local.INFO: Processing buffer {"connection_id":186078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:03:50] local.INFO: Packet analysis {"connection_id":186078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:03:50] local.INFO: Extracted packet for processing {"connection_id":186078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134206976001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789587047000,"timestamp_ms":1789587047000,"timestamp_seconds":1789587047,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb34258"} 
[2026-09-17 01:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 01:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:03:50] 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-09-17 01:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134206976001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134206976001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:03:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134206976001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":186078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:03:50] local.INFO: GPS data processed {"connection_id":186078,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:03:50] local.INFO: Acknowledgment sent {"connection_id":186078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:03:51] local.INFO: TCP Data received {"connection_id":184776,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:03:51] local.INFO: Processing buffer {"connection_id":184776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:03:51] local.INFO: IMEI packet received {"connection_id":184776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":184776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:04:14] local.INFO: TCP Data received {"connection_id":184667,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:04:14] local.INFO: Processing buffer {"connection_id":184667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:04:14] local.INFO: IMEI packet received {"connection_id":184667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":184667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:04:22] local.INFO: TCP Data received {"connection_id":184667,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:04:22] local.INFO: Processing buffer {"connection_id":184667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:04:22] local.INFO: IMEI packet received {"connection_id":184667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":184667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:04:24] local.INFO: TCP Data received {"connection_id":184667,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:04:24] local.INFO: Processing buffer {"connection_id":184667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:04:24] local.INFO: Packet analysis {"connection_id":184667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:04:24] local.INFO: Extracted packet for processing {"connection_id":184667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134206976001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789587047000,"timestamp_ms":1789587047000,"timestamp_seconds":1789587047,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb34258"} 
[2026-09-17 01:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 01:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":184667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":184667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":184667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:04:24] 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-09-17 01:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134206976001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134206976001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:04:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134206976001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":184667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:04:24] local.INFO: GPS data processed {"connection_id":184667,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:04:24] local.INFO: Acknowledgment sent {"connection_id":184667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:04:59] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:04:59] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:04:59] local.INFO: IMEI packet received {"connection_id":186079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":186079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:05:18] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:05:18] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:05:18] local.INFO: IMEI packet received {"connection_id":186079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":186079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:05:19] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 01:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 01:05:19] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 01:05:19] local.INFO: IMEI packet received {"connection_id":186079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":186079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:05:23] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:05:23] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0ab..."} 
[2026-09-17 01:05:23] local.INFO: IMEI packet received {"connection_id":186079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":186079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:05:25] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:05:25] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:05:25] local.INFO: Packet analysis {"connection_id":186079,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:05:25] local.INFO: Extracted packet for processing {"connection_id":186079,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134206976001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789587047000,"timestamp_ms":1789587047000,"timestamp_seconds":1789587047,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb34258"} 
[2026-09-17 01:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 01:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:05:25] 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-09-17 01:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134206976001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134206976001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:05:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134206976001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":186079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:05:25] local.INFO: GPS data processed {"connection_id":186079,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:05:25] local.INFO: Acknowledgment sent {"connection_id":186079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:05:25] local.INFO: Packet analysis {"connection_id":186079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:05:25] local.INFO: Extracted packet for processing {"connection_id":186079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134206976001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789587047000,"timestamp_ms":1789587047000,"timestamp_seconds":1789587047,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb34258"} 
[2026-09-17 01:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 01:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:05:25] 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-09-17 01:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134206976001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134206976001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:05:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134206976001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":186079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:05:25] local.INFO: GPS data processed {"connection_id":186079,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:05:25] local.INFO: Acknowledgment sent {"connection_id":186079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:05:26] local.INFO: TCP Data received {"connection_id":186079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:05:26] local.INFO: Processing buffer {"connection_id":186079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:05:26] local.INFO: Packet analysis {"connection_id":186079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:05:26] local.INFO: Extracted packet for processing {"connection_id":186079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134206976001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789587047000,"timestamp_ms":1789587047000,"timestamp_seconds":1789587047,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb34258"} 
[2026-09-17 01:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 01:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:05:26] 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-09-17 01:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134206976001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134206976001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:05:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:05:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134206976001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":186079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:05:26] local.INFO: GPS data processed {"connection_id":186079,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:05:26] local.INFO: Acknowledgment sent {"connection_id":186079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:06:09] local.INFO: TCP Data received {"connection_id":184671,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:06:09] local.INFO: Processing buffer {"connection_id":184671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:06:09] local.INFO: IMEI packet received {"connection_id":184671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":184671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:06:17] local.INFO: TCP Data received {"connection_id":184671,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:06:17] local.INFO: Processing buffer {"connection_id":184671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:06:17] local.INFO: IMEI packet received {"connection_id":184671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":184671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:06:18] local.INFO: TCP Data received {"connection_id":184671,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:06:18] local.INFO: Processing buffer {"connection_id":184671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb34258012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:06:18] local.INFO: Packet analysis {"connection_id":184671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:06:18] local.INFO: Extracted packet for processing {"connection_id":184671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb3"} 
[2026-09-17 01:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01: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-09-17 01:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134206976001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789587047000,"timestamp_ms":1789587047000,"timestamp_seconds":1789587047,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb34258"} 
[2026-09-17 01:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 01:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01: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-09-17 01:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":184671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":184671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":184671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:06:18] 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-09-17 01:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134206976001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134206976001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:06:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134206976001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":184671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:06:18] local.INFO: GPS data processed {"connection_id":184671,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:06:18] local.INFO: Acknowledgment sent {"connection_id":184671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:07:09] local.INFO: TCP Data received {"connection_id":184778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:07:09] local.INFO: Processing buffer {"connection_id":184778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:07:09] local.INFO: IMEI packet received {"connection_id":184778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":184778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:07:10] local.INFO: TCP Data received {"connection_id":184778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:07:10] local.INFO: Processing buffer {"connection_id":184778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:07:10] local.INFO: IMEI packet received {"connection_id":184778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":184778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:07:11] local.INFO: TCP Data received {"connection_id":184778,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:07:11] local.INFO: Processing buffer {"connection_id":184778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:07:11] local.INFO: Packet analysis {"connection_id":184778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:07:11] local.INFO: Extracted packet for processing {"connection_id":184778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134284032001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789587348000,"timestamp_ms":1789587348000,"timestamp_seconds":1789587348,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb7da20"} 
[2026-09-17 01:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:07:11] 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-09-17 01:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134284032001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134284032001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:07:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134284032001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":184778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:07:11] local.INFO: GPS data processed {"connection_id":184778,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:07:11] local.INFO: Acknowledgment sent {"connection_id":184778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:07:18] local.INFO: TCP Data received {"connection_id":184778,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:07:18] local.INFO: Processing buffer {"connection_id":184778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:07:18] local.INFO: Packet analysis {"connection_id":184778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:07:18] local.INFO: Extracted packet for processing {"connection_id":184778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134284032001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789587348000,"timestamp_ms":1789587348000,"timestamp_seconds":1789587348,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb7da20"} 
[2026-09-17 01:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":184778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":184778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":184778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:07:18] 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-09-17 01:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134284032001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134284032001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:07:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134284032001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":184778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:07:18] local.INFO: GPS data processed {"connection_id":184778,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:07:18] local.INFO: Acknowledgment sent {"connection_id":184778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:07:59] local.INFO: TCP Data received {"connection_id":187410,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:07:59] local.INFO: Processing buffer {"connection_id":187410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:07:59] local.INFO: IMEI packet received {"connection_id":187410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":187410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:08:04] local.INFO: TCP Data received {"connection_id":187410,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:08:04] local.INFO: Processing buffer {"connection_id":187410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:08:04] local.INFO: IMEI packet received {"connection_id":187410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":187410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:08:06] local.INFO: TCP Data received {"connection_id":187410,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:08:06] local.INFO: Processing buffer {"connection_id":187410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:08:06] local.INFO: Packet analysis {"connection_id":187410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:08:06] local.INFO: Extracted packet for processing {"connection_id":187410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134284032001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789587348000,"timestamp_ms":1789587348000,"timestamp_seconds":1789587348,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb7da20"} 
[2026-09-17 01:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134284032001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134284032001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:08:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134284032001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":187410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:08:06] local.INFO: GPS data processed {"connection_id":187410,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:08:06] local.INFO: Acknowledgment sent {"connection_id":187410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:08:43] local.INFO: TCP Data received {"connection_id":187410,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:08:43] local.INFO: Processing buffer {"connection_id":187410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:08:43] local.INFO: Packet analysis {"connection_id":187410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:08:43] local.INFO: Extracted packet for processing {"connection_id":187410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134284032001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789587348000,"timestamp_ms":1789587348000,"timestamp_seconds":1789587348,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb7da20"} 
[2026-09-17 01:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134284032001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134284032001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:08:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134284032001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":187410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:08:43] local.INFO: GPS data processed {"connection_id":187410,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:08:43] local.INFO: Acknowledgment sent {"connection_id":187410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:08:59] local.INFO: TCP Data received {"connection_id":187412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:08:59] local.INFO: Processing buffer {"connection_id":187412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:08:59] local.INFO: IMEI packet received {"connection_id":187412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":187412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:09:05] local.INFO: TCP Data received {"connection_id":187412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:09:05] local.INFO: Processing buffer {"connection_id":187412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:09:05] local.INFO: IMEI packet received {"connection_id":187412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":187412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:09:06] local.INFO: TCP Data received {"connection_id":187412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:09:06] local.INFO: Processing buffer {"connection_id":187412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:09:06] local.INFO: Packet analysis {"connection_id":187412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:09:06] local.INFO: Extracted packet for processing {"connection_id":187412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134284032001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789587348000,"timestamp_ms":1789587348000,"timestamp_seconds":1789587348,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb7da20"} 
[2026-09-17 01:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134284032001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134284032001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:09:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134284032001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":187412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:09:06] local.INFO: GPS data processed {"connection_id":187412,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:09:06] local.INFO: Acknowledgment sent {"connection_id":187412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:09:11] local.INFO: TCP Data received {"connection_id":187411,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:09:11] local.INFO: Processing buffer {"connection_id":187411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:09:11] local.INFO: IMEI packet received {"connection_id":187411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":187411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:09:43] local.INFO: TCP Data received {"connection_id":187412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:09:43] local.INFO: Processing buffer {"connection_id":187412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:09:43] local.INFO: Packet analysis {"connection_id":187412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:09:43] local.INFO: Extracted packet for processing {"connection_id":187412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134284032001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789587348000,"timestamp_ms":1789587348000,"timestamp_seconds":1789587348,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb7da20"} 
[2026-09-17 01:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134284032001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134284032001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:09:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134284032001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":187412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:09:43] local.INFO: GPS data processed {"connection_id":187412,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:09:43] local.INFO: Acknowledgment sent {"connection_id":187412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:09:52] local.INFO: TCP Data received {"connection_id":186080,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:09:52] local.INFO: Processing buffer {"connection_id":186080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:09:52] local.INFO: IMEI packet received {"connection_id":186080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":186080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:10:04] local.INFO: TCP Data received {"connection_id":184672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:10:04] local.INFO: Processing buffer {"connection_id":184672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:10:04] local.INFO: IMEI packet received {"connection_id":184672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":184672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:10:09] local.INFO: TCP Data received {"connection_id":184672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:10:09] local.INFO: Processing buffer {"connection_id":184672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:10:09] local.INFO: IMEI packet received {"connection_id":184672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":184672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:10:10] local.INFO: TCP Data received {"connection_id":184672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:10:10] local.INFO: Processing buffer {"connection_id":184672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:10:10] local.INFO: Packet analysis {"connection_id":184672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:10:10] local.INFO: Extracted packet for processing {"connection_id":184672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:10: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-09-17 01:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134284032001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789587348000,"timestamp_ms":1789587348000,"timestamp_seconds":1789587348,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb7da20"} 
[2026-09-17 01:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:10: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-09-17 01:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134284032001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134284032001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:10:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134284032001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":184672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:10:10] local.INFO: GPS data processed {"connection_id":184672,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:10:10] local.INFO: Acknowledgment sent {"connection_id":184672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:10:42] local.INFO: TCP Data received {"connection_id":184672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:10:42] local.INFO: Processing buffer {"connection_id":184672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:10:42] local.INFO: Packet analysis {"connection_id":184672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:10:42] local.INFO: Extracted packet for processing {"connection_id":184672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134284032001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789587348000,"timestamp_ms":1789587348000,"timestamp_seconds":1789587348,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb7da20"} 
[2026-09-17 01:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":184672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":184672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":184672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134284032001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134284032001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:10:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134284032001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":184672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:10:42] local.INFO: GPS data processed {"connection_id":184672,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:10:42] local.INFO: Acknowledgment sent {"connection_id":184672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:10:59] local.INFO: TCP Data received {"connection_id":184780,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:10:59] local.INFO: Processing buffer {"connection_id":184780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:10:59] local.INFO: IMEI packet received {"connection_id":184780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":184780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:11:04] local.INFO: TCP Data received {"connection_id":184780,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:11:04] local.INFO: Processing buffer {"connection_id":184780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:11:04] local.INFO: IMEI packet received {"connection_id":184780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":184780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:11:07] local.INFO: TCP Data received {"connection_id":184780,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:11:07] local.INFO: Processing buffer {"connection_id":184780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abb7da20012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:11:07] local.INFO: Packet analysis {"connection_id":184780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:11:07] local.INFO: Extracted packet for processing {"connection_id":184780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abb7"} 
[2026-09-17 01:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134284032001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789587348000,"timestamp_ms":1789587348000,"timestamp_seconds":1789587348,"priority":1,"record_length":96,"hex_timestamp":"000001a0abb7da20"} 
[2026-09-17 01:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134284032001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134284032001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:11:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134284032001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":184780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:11:07] local.INFO: GPS data processed {"connection_id":184780,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:11:07] local.INFO: Acknowledgment sent {"connection_id":184780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:11:54] local.INFO: TCP Data received {"connection_id":184780,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:11:54] local.INFO: Processing buffer {"connection_id":184780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:11:54] local.INFO: Packet analysis {"connection_id":184780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:11:54] local.INFO: Extracted packet for processing {"connection_id":184780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":184780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":184780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":184780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:11:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":184780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:11:54] local.INFO: GPS data processed {"connection_id":184780,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:11:54] local.INFO: Acknowledgment sent {"connection_id":184780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:12:20] local.INFO: TCP Data received {"connection_id":187413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:12:20] local.INFO: Processing buffer {"connection_id":187413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:12:20] local.INFO: IMEI packet received {"connection_id":187413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":187413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:12:24] local.INFO: TCP Data received {"connection_id":187413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:12:24] local.INFO: Processing buffer {"connection_id":187413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:12:24] local.INFO: IMEI packet received {"connection_id":187413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":187413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:12:26] local.INFO: TCP Data received {"connection_id":187413,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:12:26] local.INFO: Processing buffer {"connection_id":187413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:12:26] local.INFO: Packet analysis {"connection_id":187413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:12:26] local.INFO: Extracted packet for processing {"connection_id":187413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:12:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:12:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":187413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:12:26] local.INFO: GPS data processed {"connection_id":187413,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:12:26] local.INFO: Acknowledgment sent {"connection_id":187413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:12:59] local.INFO: TCP Data received {"connection_id":186082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:12:59] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:12:59] local.INFO: IMEI packet received {"connection_id":186082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":186082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:13:04] local.INFO: TCP Data received {"connection_id":186082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:13:04] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:13:04] local.INFO: IMEI packet received {"connection_id":186082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":186082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:13:06] local.INFO: TCP Data received {"connection_id":186082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:13:06] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:13:06] local.INFO: Packet analysis {"connection_id":186082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:13:06] local.INFO: Extracted packet for processing {"connection_id":186082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:13:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":186082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:13:06] local.INFO: GPS data processed {"connection_id":186082,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:13:06] local.INFO: Acknowledgment sent {"connection_id":186082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:13:43] local.INFO: TCP Data received {"connection_id":186082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:13:43] local.INFO: Processing buffer {"connection_id":186082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:13:43] local.INFO: Packet analysis {"connection_id":186082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:13:43] local.INFO: Extracted packet for processing {"connection_id":186082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:13:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":186082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:13:43] local.INFO: GPS data processed {"connection_id":186082,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:13:43] local.INFO: Acknowledgment sent {"connection_id":186082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:14:04] local.INFO: TCP Data received {"connection_id":184782,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:14:04] local.INFO: Processing buffer {"connection_id":184782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:14:04] local.INFO: IMEI packet received {"connection_id":184782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":184782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:14:09] local.INFO: TCP Data received {"connection_id":184782,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:14:09] local.INFO: Processing buffer {"connection_id":184782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:14:09] local.INFO: IMEI packet received {"connection_id":184782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":184782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:14:10] local.INFO: TCP Data received {"connection_id":184782,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:14:10] local.INFO: Processing buffer {"connection_id":184782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:14:10] local.INFO: Packet analysis {"connection_id":184782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:14:10] local.INFO: Extracted packet for processing {"connection_id":184782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:14:10] 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-09-17 01:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:14:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":184782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:14:10] local.INFO: GPS data processed {"connection_id":184782,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:14:10] local.INFO: Acknowledgment sent {"connection_id":184782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:14:15] local.INFO: TCP Data received {"connection_id":184782,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:14:15] local.INFO: Processing buffer {"connection_id":184782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:14:15] local.INFO: Packet analysis {"connection_id":184782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:14:15] local.INFO: Extracted packet for processing {"connection_id":184782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:14:15] 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-09-17 01:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:14:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":184782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:14:15] local.INFO: GPS data processed {"connection_id":184782,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:14:15] local.INFO: Acknowledgment sent {"connection_id":184782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:14:59] local.INFO: TCP Data received {"connection_id":186084,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:14:59] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:14:59] local.INFO: IMEI packet received {"connection_id":186084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":186084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:15:04] local.INFO: TCP Data received {"connection_id":186084,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:15:04] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:15:04] local.INFO: IMEI packet received {"connection_id":186084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":186084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:15:05] local.INFO: TCP Data received {"connection_id":186084,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:15:05] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:15:05] local.INFO: Packet analysis {"connection_id":186084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:15:05] local.INFO: Extracted packet for processing {"connection_id":186084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:15:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":186084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:15:05] local.INFO: GPS data processed {"connection_id":186084,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:15:05] local.INFO: Acknowledgment sent {"connection_id":186084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:15:17] local.INFO: TCP Data received {"connection_id":186083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:15:17] local.INFO: Processing buffer {"connection_id":186083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:15:17] local.INFO: IMEI packet received {"connection_id":186083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":186083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:15:39] local.INFO: TCP Data received {"connection_id":186084,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:15:39] local.INFO: Processing buffer {"connection_id":186084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:15:39] local.INFO: Packet analysis {"connection_id":186084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:15:39] local.INFO: Extracted packet for processing {"connection_id":186084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01: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-09-17 01:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01: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-09-17 01:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:15:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":186084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:15:39] local.INFO: GPS data processed {"connection_id":186084,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:15:39] local.INFO: Acknowledgment sent {"connection_id":186084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:15:52] local.INFO: TCP Data received {"connection_id":184674,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:15:52] local.INFO: Processing buffer {"connection_id":184674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:15:52] local.INFO: IMEI packet received {"connection_id":184674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":184674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:16:04] local.INFO: TCP Data received {"connection_id":187414,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:16:04] local.INFO: Processing buffer {"connection_id":187414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:16:04] local.INFO: IMEI packet received {"connection_id":187414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":187414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:16:09] local.INFO: TCP Data received {"connection_id":187414,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:16:09] local.INFO: Processing buffer {"connection_id":187414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:16:09] local.INFO: IMEI packet received {"connection_id":187414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":187414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:16:10] local.INFO: TCP Data received {"connection_id":187414,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:16:10] local.INFO: Processing buffer {"connection_id":187414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:16:10] local.INFO: Packet analysis {"connection_id":187414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:16:10] local.INFO: Extracted packet for processing {"connection_id":187414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:16: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-09-17 01:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:16: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-09-17 01:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:16:10] 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-09-17 01:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:16:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":187414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:16:10] local.INFO: GPS data processed {"connection_id":187414,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:16:10] local.INFO: Acknowledgment sent {"connection_id":187414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:16:15] local.INFO: TCP Data received {"connection_id":187414,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:16:15] local.INFO: Processing buffer {"connection_id":187414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abbc71e8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:16:15] local.INFO: Packet analysis {"connection_id":187414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:16:15] local.INFO: Extracted packet for processing {"connection_id":187414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abbc"} 
[2026-09-17 01:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789587649000,"timestamp_ms":1789587649000,"timestamp_seconds":1789587649,"priority":1,"record_length":96,"hex_timestamp":"000001a0abbc71e8"} 
[2026-09-17 01:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:16: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-09-17 01:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134361088001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:16:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134361088001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":187414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:16:15] local.INFO: GPS data processed {"connection_id":187414,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:16:15] local.INFO: Acknowledgment sent {"connection_id":187414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:16:59] local.INFO: TCP Data received {"connection_id":184784,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:16:59] local.INFO: Processing buffer {"connection_id":184784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:16:59] local.INFO: IMEI packet received {"connection_id":184784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":184784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:17:04] local.INFO: TCP Data received {"connection_id":184784,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:17:04] local.INFO: Processing buffer {"connection_id":184784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:17:04] local.INFO: IMEI packet received {"connection_id":184784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":184784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:17:06] local.INFO: TCP Data received {"connection_id":184784,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:17:06] local.INFO: Processing buffer {"connection_id":184784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:17:06] local.INFO: Packet analysis {"connection_id":184784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:17:06] local.INFO: Extracted packet for processing {"connection_id":184784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134438144001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789587950000,"timestamp_ms":1789587950000,"timestamp_seconds":1789587950,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc109b0"} 
[2026-09-17 01:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134438144001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134438144001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:17:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134438144001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":184784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:17:06] local.INFO: GPS data processed {"connection_id":184784,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:17:06] local.INFO: Acknowledgment sent {"connection_id":184784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:17:41] local.INFO: TCP Data received {"connection_id":184784,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:17:41] local.INFO: Processing buffer {"connection_id":184784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:17:41] local.INFO: Packet analysis {"connection_id":184784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:17:41] local.INFO: Extracted packet for processing {"connection_id":184784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134438144001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789587950000,"timestamp_ms":1789587950000,"timestamp_seconds":1789587950,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc109b0"} 
[2026-09-17 01:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":184784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":184784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":184784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134438144001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134438144001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:17:41] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134438144001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":184784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:17:41] local.INFO: GPS data processed {"connection_id":184784,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:17:41] local.INFO: Acknowledgment sent {"connection_id":184784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:17:59] local.INFO: TCP Data received {"connection_id":186085,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:17:59] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:17:59] local.INFO: IMEI packet received {"connection_id":186085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":186085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:18:06] local.INFO: TCP Data received {"connection_id":186085,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:18:06] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:18:06] local.INFO: IMEI packet received {"connection_id":186085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":186085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:18:08] local.INFO: TCP Data received {"connection_id":186085,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:18:08] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:18:08] local.INFO: Packet analysis {"connection_id":186085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:18:08] local.INFO: Extracted packet for processing {"connection_id":186085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134438144001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789587950000,"timestamp_ms":1789587950000,"timestamp_seconds":1789587950,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc109b0"} 
[2026-09-17 01:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:18: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-09-17 01:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134438144001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134438144001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:18:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134438144001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":186085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:18:08] local.INFO: GPS data processed {"connection_id":186085,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:18:08] local.INFO: Acknowledgment sent {"connection_id":186085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:18:40] local.INFO: TCP Data received {"connection_id":186085,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:18:40] local.INFO: Processing buffer {"connection_id":186085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:18:40] local.INFO: Packet analysis {"connection_id":186085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:18:40] local.INFO: Extracted packet for processing {"connection_id":186085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134438144001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789587950000,"timestamp_ms":1789587950000,"timestamp_seconds":1789587950,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc109b0"} 
[2026-09-17 01:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:18: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-09-17 01:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134438144001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134438144001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:18:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:18:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134438144001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":186085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:18:40] local.INFO: GPS data processed {"connection_id":186085,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:18:40] local.INFO: Acknowledgment sent {"connection_id":186085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:19:04] local.INFO: TCP Data received {"connection_id":184785,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:19:04] local.INFO: Processing buffer {"connection_id":184785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:19:04] local.INFO: IMEI packet received {"connection_id":184785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":184785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:19:10] local.INFO: TCP Data received {"connection_id":184785,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:19:10] local.INFO: Processing buffer {"connection_id":184785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:19:10] local.INFO: IMEI packet received {"connection_id":184785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":184785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:19:11] local.INFO: TCP Data received {"connection_id":184785,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:19:11] local.INFO: Processing buffer {"connection_id":184785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:19:11] local.INFO: Packet analysis {"connection_id":184785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:19:11] local.INFO: Extracted packet for processing {"connection_id":184785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134438144001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789587950000,"timestamp_ms":1789587950000,"timestamp_seconds":1789587950,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc109b0"} 
[2026-09-17 01:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:19:11] 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-09-17 01:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134438144001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134438144001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:19:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134438144001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":184785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:19:11] local.INFO: GPS data processed {"connection_id":184785,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:19:11] local.INFO: Acknowledgment sent {"connection_id":184785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:19:15] local.INFO: TCP Data received {"connection_id":184785,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:19:15] local.INFO: Processing buffer {"connection_id":184785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:19:15] local.INFO: Packet analysis {"connection_id":184785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:19:15] local.INFO: Extracted packet for processing {"connection_id":184785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134438144001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789587950000,"timestamp_ms":1789587950000,"timestamp_seconds":1789587950,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc109b0"} 
[2026-09-17 01:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:19: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-09-17 01:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134438144001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134438144001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:19:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134438144001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":184785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:19:15] local.INFO: GPS data processed {"connection_id":184785,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:19:15] local.INFO: Acknowledgment sent {"connection_id":184785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:19:59] local.INFO: TCP Data received {"connection_id":184675,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:19:59] local.INFO: Processing buffer {"connection_id":184675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:19:59] local.INFO: IMEI packet received {"connection_id":184675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":184675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:20:04] local.INFO: TCP Data received {"connection_id":184675,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:20:04] local.INFO: Processing buffer {"connection_id":184675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:20:04] local.INFO: IMEI packet received {"connection_id":184675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":184675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:20:07] local.INFO: TCP Data received {"connection_id":184675,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:20:07] local.INFO: Processing buffer {"connection_id":184675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:20:07] local.INFO: Packet analysis {"connection_id":184675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:20:07] local.INFO: Extracted packet for processing {"connection_id":184675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134438144001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789587950000,"timestamp_ms":1789587950000,"timestamp_seconds":1789587950,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc109b0"} 
[2026-09-17 01:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134438144001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134438144001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:20:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134438144001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":184675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:20:07] local.INFO: GPS data processed {"connection_id":184675,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:20:07] local.INFO: Acknowledgment sent {"connection_id":184675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:20:40] local.INFO: TCP Data received {"connection_id":184675,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:20:40] local.INFO: Processing buffer {"connection_id":184675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:20:40] local.INFO: Packet analysis {"connection_id":184675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:20:40] local.INFO: Extracted packet for processing {"connection_id":184675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01: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-09-17 01:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134438144001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789587950000,"timestamp_ms":1789587950000,"timestamp_seconds":1789587950,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc109b0"} 
[2026-09-17 01:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01: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-09-17 01:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":184675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":184675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":184675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134438144001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134438144001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:20:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134438144001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":184675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:20:40] local.INFO: GPS data processed {"connection_id":184675,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:20:40] local.INFO: Acknowledgment sent {"connection_id":184675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:20:59] local.INFO: TCP Data received {"connection_id":184786,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:20:59] local.INFO: Processing buffer {"connection_id":184786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:20:59] local.INFO: IMEI packet received {"connection_id":184786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":184786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:21:04] local.INFO: TCP Data received {"connection_id":184786,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:21:04] local.INFO: Processing buffer {"connection_id":184786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:21:04] local.INFO: IMEI packet received {"connection_id":184786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":184786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:21:07] local.INFO: TCP Data received {"connection_id":184786,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:21:07] local.INFO: Processing buffer {"connection_id":184786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc109b0012d34c3c006aa4458000c011730..."} 
[2026-09-17 01:21:07] local.INFO: Packet analysis {"connection_id":184786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:21:07] local.INFO: Extracted packet for processing {"connection_id":184786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc1"} 
[2026-09-17 01:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134438144001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789587950000,"timestamp_ms":1789587950000,"timestamp_seconds":1789587950,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc109b0"} 
[2026-09-17 01:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:21:07] 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-09-17 01:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134438144001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134438144001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:21:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134438144001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":184786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:21:07] local.INFO: GPS data processed {"connection_id":184786,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:21:07] local.INFO: Acknowledgment sent {"connection_id":184786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:21:22] local.INFO: TCP Data received {"connection_id":187417,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:21:22] local.INFO: Processing buffer {"connection_id":187417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:21:22] local.INFO: IMEI packet received {"connection_id":187417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":187417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:21:39] local.INFO: TCP Data received {"connection_id":184786,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:21:39] local.INFO: Processing buffer {"connection_id":184786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:21:39] local.INFO: Packet analysis {"connection_id":184786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:21:39] local.INFO: Extracted packet for processing {"connection_id":184786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":184786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":184786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":184786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:21:39] 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-09-17 01:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:21:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":184786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:21:39] local.INFO: GPS data processed {"connection_id":184786,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:21:39] local.INFO: Acknowledgment sent {"connection_id":184786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:21:51] local.INFO: TCP Data received {"connection_id":186087,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:21:51] local.INFO: Processing buffer {"connection_id":186087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:21:51] local.INFO: IMEI packet received {"connection_id":186087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":186087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:22:09] local.INFO: TCP Data received {"connection_id":184676,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:22:09] local.INFO: Processing buffer {"connection_id":184676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:22:09] local.INFO: IMEI packet received {"connection_id":184676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":184676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:22:14] local.INFO: TCP Data received {"connection_id":184676,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:22:14] local.INFO: Processing buffer {"connection_id":184676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:22:14] local.INFO: IMEI packet received {"connection_id":184676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":184676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:22:15] local.INFO: TCP Data received {"connection_id":184676,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:22:15] local.INFO: Processing buffer {"connection_id":184676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:22:15] local.INFO: Packet analysis {"connection_id":184676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:22:15] local.INFO: Extracted packet for processing {"connection_id":184676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:22: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-09-17 01:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:22:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":184676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:22:15] local.INFO: GPS data processed {"connection_id":184676,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:22:15] local.INFO: Acknowledgment sent {"connection_id":184676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:22:59] local.INFO: TCP Data received {"connection_id":184788,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:22:59] local.INFO: Processing buffer {"connection_id":184788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:22:59] local.INFO: IMEI packet received {"connection_id":184788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":184788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:23:04] local.INFO: TCP Data received {"connection_id":184788,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:23:04] local.INFO: Processing buffer {"connection_id":184788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:23:04] local.INFO: IMEI packet received {"connection_id":184788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":184788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:23:05] local.INFO: TCP Data received {"connection_id":184788,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:23:05] local.INFO: Processing buffer {"connection_id":184788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:23:05] local.INFO: Packet analysis {"connection_id":184788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:23:05] local.INFO: Extracted packet for processing {"connection_id":184788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:23:05] 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-09-17 01:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:23:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":184788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:23:05] local.INFO: GPS data processed {"connection_id":184788,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:23:05] local.INFO: Acknowledgment sent {"connection_id":184788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:23:37] local.INFO: TCP Data received {"connection_id":184788,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:23:37] local.INFO: Processing buffer {"connection_id":184788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:23:37] local.INFO: Packet analysis {"connection_id":184788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:23:37] local.INFO: Extracted packet for processing {"connection_id":184788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:23:37] 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-09-17 01:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:23:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":184788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:23:37] local.INFO: GPS data processed {"connection_id":184788,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:23:37] local.INFO: Acknowledgment sent {"connection_id":184788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:24:14] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:24:14] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:24:14] local.INFO: IMEI packet received {"connection_id":186088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":186088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:24:19] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:24:19] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:24:19] local.INFO: IMEI packet received {"connection_id":186088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":186088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:24:21] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:24:21] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:24:21] local.INFO: Packet analysis {"connection_id":186088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:24:21] local.INFO: Extracted packet for processing {"connection_id":186088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:24:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:24:21] 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-09-17 01:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:24:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:24:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":186088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:24:21] local.INFO: GPS data processed {"connection_id":186088,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:24:21] local.INFO: Acknowledgment sent {"connection_id":186088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:24:25] local.INFO: TCP Data received {"connection_id":186088,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:24:25] local.INFO: Processing buffer {"connection_id":186088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:24:25] local.INFO: Packet analysis {"connection_id":186088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:24:25] local.INFO: Extracted packet for processing {"connection_id":186088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:24:25] 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-09-17 01:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:24:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":186088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:24:25] local.INFO: GPS data processed {"connection_id":186088,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:24:25] local.INFO: Acknowledgment sent {"connection_id":186088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:25:02] local.INFO: TCP Data received {"connection_id":187419,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:25:02] local.INFO: Processing buffer {"connection_id":187419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:25:02] local.INFO: IMEI packet received {"connection_id":187419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":187419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:25:04] local.INFO: TCP Data received {"connection_id":187419,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:25:04] local.INFO: Processing buffer {"connection_id":187419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:25:04] local.INFO: IMEI packet received {"connection_id":187419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":187419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:25:06] local.INFO: TCP Data received {"connection_id":187419,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:25:06] local.INFO: Processing buffer {"connection_id":187419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:25:06] local.INFO: Packet analysis {"connection_id":187419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:25:06] local.INFO: Extracted packet for processing {"connection_id":187419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:25:06] 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-09-17 01:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:25:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":187419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:25:06] local.INFO: GPS data processed {"connection_id":187419,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:25:06] local.INFO: Acknowledgment sent {"connection_id":187419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:25:12] local.INFO: TCP Data received {"connection_id":187419,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:25:12] local.INFO: Processing buffer {"connection_id":187419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:25:12] local.INFO: Packet analysis {"connection_id":187419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:25:12] local.INFO: Extracted packet for processing {"connection_id":187419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:25:12] 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-09-17 01:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:25:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":187419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:25:12] local.INFO: GPS data processed {"connection_id":187419,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:25:12] local.INFO: Acknowledgment sent {"connection_id":187419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:25:44] local.INFO: TCP Data received {"connection_id":187419,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:25:44] local.INFO: Processing buffer {"connection_id":187419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:25:44] local.INFO: Packet analysis {"connection_id":187419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:25:44] local.INFO: Extracted packet for processing {"connection_id":187419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01: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-09-17 01:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01: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-09-17 01:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:25: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-09-17 01:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:25:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":187419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:25:44] local.INFO: GPS data processed {"connection_id":187419,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:25:44] local.INFO: Acknowledgment sent {"connection_id":187419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:25:59] local.INFO: TCP Data received {"connection_id":184790,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:25:59] local.INFO: Processing buffer {"connection_id":184790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:25:59] local.INFO: IMEI packet received {"connection_id":184790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":184790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:26:06] local.INFO: TCP Data received {"connection_id":184790,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:26:06] local.INFO: Processing buffer {"connection_id":184790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:26:06] local.INFO: IMEI packet received {"connection_id":184790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":184790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:26:07] local.INFO: TCP Data received {"connection_id":184790,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:26:07] local.INFO: Processing buffer {"connection_id":184790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abc5a178012d34c3c006aa4458000c01172d..."} 
[2026-09-17 01:26:07] local.INFO: Packet analysis {"connection_id":184790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:26:07] local.INFO: Extracted packet for processing {"connection_id":184790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abc5"} 
[2026-09-17 01:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134515200001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789588251000,"timestamp_ms":1789588251000,"timestamp_seconds":1789588251,"priority":1,"record_length":96,"hex_timestamp":"000001a0abc5a178"} 
[2026-09-17 01:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:26:07] 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-09-17 01:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134515200001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134515200001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:26:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134515200001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":184790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:26:07] local.INFO: GPS data processed {"connection_id":184790,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:26:07] local.INFO: Acknowledgment sent {"connection_id":184790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:26:39] local.INFO: TCP Data received {"connection_id":184790,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:26:39] local.INFO: Processing buffer {"connection_id":184790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:26:39] local.INFO: Packet analysis {"connection_id":184790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:26:39] local.INFO: Extracted packet for processing {"connection_id":184790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01: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-09-17 01:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134592256001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789588552000,"timestamp_ms":1789588552000,"timestamp_seconds":1789588552,"priority":1,"record_length":96,"hex_timestamp":"000001a0abca3940"} 
[2026-09-17 01:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01: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-09-17 01:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":184790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":184790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":184790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01: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-09-17 01:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134592256001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134592256001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:26:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134592256001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":184790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:26:39] local.INFO: GPS data processed {"connection_id":184790,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:26:39] local.INFO: Acknowledgment sent {"connection_id":184790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:27:04] local.INFO: TCP Data received {"connection_id":187420,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:27:04] local.INFO: Processing buffer {"connection_id":187420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:27:04] local.INFO: IMEI packet received {"connection_id":187420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":187420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:27:06] local.INFO: TCP Data received {"connection_id":186090,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:27:06] local.INFO: Processing buffer {"connection_id":186090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:27:06] local.INFO: IMEI packet received {"connection_id":186090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":186090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:27:09] local.INFO: TCP Data received {"connection_id":187420,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:27:09] local.INFO: Processing buffer {"connection_id":187420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:27:09] local.INFO: IMEI packet received {"connection_id":187420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":187420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:27:10] local.INFO: TCP Data received {"connection_id":187420,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:27:10] local.INFO: Processing buffer {"connection_id":187420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:27:10] local.INFO: Packet analysis {"connection_id":187420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:27:10] local.INFO: Extracted packet for processing {"connection_id":187420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134592256001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789588552000,"timestamp_ms":1789588552000,"timestamp_seconds":1789588552,"priority":1,"record_length":96,"hex_timestamp":"000001a0abca3940"} 
[2026-09-17 01:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:27:10] 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-09-17 01:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134592256001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134592256001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:27:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134592256001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":187420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:27:10] local.INFO: GPS data processed {"connection_id":187420,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:27:10] local.INFO: Acknowledgment sent {"connection_id":187420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:27:43] local.INFO: TCP Data received {"connection_id":187420,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:27:43] local.INFO: Processing buffer {"connection_id":187420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:27:43] local.INFO: Packet analysis {"connection_id":187420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:27:43] local.INFO: Extracted packet for processing {"connection_id":187420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134592256001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789588552000,"timestamp_ms":1789588552000,"timestamp_seconds":1789588552,"priority":1,"record_length":96,"hex_timestamp":"000001a0abca3940"} 
[2026-09-17 01:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:27: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-09-17 01:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134592256001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134592256001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:27:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134592256001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":187420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:27:43] local.INFO: GPS data processed {"connection_id":187420,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:27:43] local.INFO: Acknowledgment sent {"connection_id":187420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:27:57] local.INFO: TCP Data received {"connection_id":187421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:27:57] local.INFO: Processing buffer {"connection_id":187421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:27:57] local.INFO: IMEI packet received {"connection_id":187421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":187421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:27:59] local.INFO: TCP Data received {"connection_id":186091,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:27:59] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:27:59] local.INFO: IMEI packet received {"connection_id":186091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":186091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:28:08] local.INFO: TCP Data received {"connection_id":186091,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:28:08] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:28:08] local.INFO: IMEI packet received {"connection_id":186091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":186091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:28:16] local.INFO: TCP Data received {"connection_id":186091,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:28:16] local.INFO: Processing buffer {"connection_id":186091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:28:16] local.INFO: Packet analysis {"connection_id":186091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:28:16] local.INFO: Extracted packet for processing {"connection_id":186091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134592256001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789588552000,"timestamp_ms":1789588552000,"timestamp_seconds":1789588552,"priority":1,"record_length":96,"hex_timestamp":"000001a0abca3940"} 
[2026-09-17 01:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134592256001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134592256001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:28:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134592256001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":186091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:28:16] local.INFO: GPS data processed {"connection_id":186091,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:28:16] local.INFO: Acknowledgment sent {"connection_id":186091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:28:59] local.INFO: TCP Data received {"connection_id":187422,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:28:59] local.INFO: Processing buffer {"connection_id":187422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:28:59] local.INFO: IMEI packet received {"connection_id":187422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":187422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:29:04] local.INFO: TCP Data received {"connection_id":187422,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:29:04] local.INFO: Processing buffer {"connection_id":187422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:29:04] local.INFO: IMEI packet received {"connection_id":187422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":187422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:29:05] local.INFO: TCP Data received {"connection_id":187422,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:29:05] local.INFO: Processing buffer {"connection_id":187422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:29:05] local.INFO: Packet analysis {"connection_id":187422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:29:05] local.INFO: Extracted packet for processing {"connection_id":187422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134592256001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789588552000,"timestamp_ms":1789588552000,"timestamp_seconds":1789588552,"priority":1,"record_length":96,"hex_timestamp":"000001a0abca3940"} 
[2026-09-17 01:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:29:05] 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-09-17 01:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134592256001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134592256001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:29:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134592256001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":187422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:29:05] local.INFO: GPS data processed {"connection_id":187422,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:29:05] local.INFO: Acknowledgment sent {"connection_id":187422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:29:37] local.INFO: TCP Data received {"connection_id":187422,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:29:37] local.INFO: Processing buffer {"connection_id":187422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:29:37] local.INFO: Packet analysis {"connection_id":187422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:29:37] local.INFO: Extracted packet for processing {"connection_id":187422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134592256001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789588552000,"timestamp_ms":1789588552000,"timestamp_seconds":1789588552,"priority":1,"record_length":96,"hex_timestamp":"000001a0abca3940"} 
[2026-09-17 01:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:29:37] 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-09-17 01:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134592256001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134592256001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:29:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134592256001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":187422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:29:37] local.INFO: GPS data processed {"connection_id":187422,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:29:37] local.INFO: Acknowledgment sent {"connection_id":187422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:30:04] local.INFO: TCP Data received {"connection_id":186092,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:30:04] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:30:04] local.INFO: IMEI packet received {"connection_id":186092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":186092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:30:09] local.INFO: TCP Data received {"connection_id":186092,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:30:09] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:30:09] local.INFO: IMEI packet received {"connection_id":186092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":186092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:30:11] local.INFO: TCP Data received {"connection_id":186092,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:30:11] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:30:11] local.INFO: Packet analysis {"connection_id":186092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:30:11] local.INFO: Extracted packet for processing {"connection_id":186092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134592256001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789588552000,"timestamp_ms":1789588552000,"timestamp_seconds":1789588552,"priority":1,"record_length":96,"hex_timestamp":"000001a0abca3940"} 
[2026-09-17 01:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:30: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-09-17 01:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134592256001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134592256001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:30:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:30:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134592256001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":186092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:30:11] local.INFO: GPS data processed {"connection_id":186092,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:30:11] local.INFO: Acknowledgment sent {"connection_id":186092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:30:18] local.INFO: TCP Data received {"connection_id":186092,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:30:18] local.INFO: Processing buffer {"connection_id":186092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:30:18] local.INFO: Packet analysis {"connection_id":186092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:30:18] local.INFO: Extracted packet for processing {"connection_id":186092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134592256001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789588552000,"timestamp_ms":1789588552000,"timestamp_seconds":1789588552,"priority":1,"record_length":96,"hex_timestamp":"000001a0abca3940"} 
[2026-09-17 01:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134592256001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134592256001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:30:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134592256001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":186092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:30:18] local.INFO: GPS data processed {"connection_id":186092,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:30:18] local.INFO: Acknowledgment sent {"connection_id":186092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:31:01] local.INFO: TCP Data received {"connection_id":184679,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:31:01] local.INFO: Processing buffer {"connection_id":184679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:31:01] local.INFO: IMEI packet received {"connection_id":184679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":184679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:31:04] local.INFO: TCP Data received {"connection_id":184679,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:31:04] local.INFO: Processing buffer {"connection_id":184679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:31:04] local.INFO: IMEI packet received {"connection_id":184679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":184679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:31:06] local.INFO: TCP Data received {"connection_id":184679,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:31:06] local.INFO: Processing buffer {"connection_id":184679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abca3940012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:31:06] local.INFO: Packet analysis {"connection_id":184679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:31:06] local.INFO: Extracted packet for processing {"connection_id":184679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abca"} 
[2026-09-17 01:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134592256001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789588552000,"timestamp_ms":1789588552000,"timestamp_seconds":1789588552,"priority":1,"record_length":96,"hex_timestamp":"000001a0abca3940"} 
[2026-09-17 01:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134592256001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134592256001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:31:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134592256001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":184679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:31:06] local.INFO: GPS data processed {"connection_id":184679,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:31:06] local.INFO: Acknowledgment sent {"connection_id":184679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:31:37] local.INFO: TCP Data received {"connection_id":184679,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:31:37] local.INFO: Processing buffer {"connection_id":184679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:31:37] local.INFO: Packet analysis {"connection_id":184679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:31:37] local.INFO: Extracted packet for processing {"connection_id":184679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:31:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":184679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:31:37] local.INFO: GPS data processed {"connection_id":184679,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:31:37] local.INFO: Acknowledgment sent {"connection_id":184679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:31:59] local.INFO: TCP Data received {"connection_id":186093,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:31:59] local.INFO: Processing buffer {"connection_id":186093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:31:59] local.INFO: IMEI packet received {"connection_id":186093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":186093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:32:07] local.INFO: TCP Data received {"connection_id":186093,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:32:07] local.INFO: Processing buffer {"connection_id":186093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:32:07] local.INFO: IMEI packet received {"connection_id":186093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":186093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:32:10] local.INFO: TCP Data received {"connection_id":186093,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:32:10] local.INFO: Processing buffer {"connection_id":186093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:32:10] local.INFO: Packet analysis {"connection_id":186093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:32:10] local.INFO: Extracted packet for processing {"connection_id":186093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:32:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":186093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:32:10] local.INFO: GPS data processed {"connection_id":186093,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:32:10] local.INFO: Acknowledgment sent {"connection_id":186093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:32:43] local.INFO: TCP Data received {"connection_id":186093,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:32:43] local.INFO: Processing buffer {"connection_id":186093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:32:43] local.INFO: Packet analysis {"connection_id":186093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:32:43] local.INFO: Extracted packet for processing {"connection_id":186093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:32:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":186093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:32:43] local.INFO: GPS data processed {"connection_id":186093,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:32:43] local.INFO: Acknowledgment sent {"connection_id":186093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:32:59] local.INFO: TCP Data received {"connection_id":184794,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:32:59] local.INFO: Processing buffer {"connection_id":184794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:32:59] local.INFO: IMEI packet received {"connection_id":184794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":184794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:33:04] local.INFO: TCP Data received {"connection_id":184794,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:33:04] local.INFO: Processing buffer {"connection_id":184794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:33:04] local.INFO: IMEI packet received {"connection_id":184794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":184794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:33:05] local.INFO: TCP Data received {"connection_id":184794,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:33:05] local.INFO: Processing buffer {"connection_id":184794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:33:05] local.INFO: Packet analysis {"connection_id":184794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:33:05] local.INFO: Extracted packet for processing {"connection_id":184794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:33:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":184794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:33:05] local.INFO: GPS data processed {"connection_id":184794,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:33:05] local.INFO: Acknowledgment sent {"connection_id":184794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:33:17] local.INFO: TCP Data received {"connection_id":187423,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:33:17] local.INFO: Processing buffer {"connection_id":187423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:33:17] local.INFO: IMEI packet received {"connection_id":187423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":187423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:33:37] local.INFO: TCP Data received {"connection_id":184794,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:33:37] local.INFO: Processing buffer {"connection_id":184794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:33:37] local.INFO: Packet analysis {"connection_id":184794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:33:37] local.INFO: Extracted packet for processing {"connection_id":184794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:33:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":184794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:33:37] local.INFO: GPS data processed {"connection_id":184794,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:33:37] local.INFO: Acknowledgment sent {"connection_id":184794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:33:52] local.INFO: TCP Data received {"connection_id":184680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:33:52] local.INFO: Processing buffer {"connection_id":184680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:33:52] local.INFO: IMEI packet received {"connection_id":184680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":184680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:34:04] local.INFO: TCP Data received {"connection_id":186094,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:34:04] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:34:04] local.INFO: IMEI packet received {"connection_id":186094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":186094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:34:10] local.INFO: TCP Data received {"connection_id":186094,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:34:10] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:34:10] local.INFO: IMEI packet received {"connection_id":186094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":186094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:34:11] local.INFO: TCP Data received {"connection_id":186094,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:34:11] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:34:11] local.INFO: Packet analysis {"connection_id":186094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:34:11] local.INFO: Extracted packet for processing {"connection_id":186094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:34:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":186094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:34:11] local.INFO: GPS data processed {"connection_id":186094,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:34:11] local.INFO: Acknowledgment sent {"connection_id":186094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:34:16] local.INFO: TCP Data received {"connection_id":186094,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:34:16] local.INFO: Processing buffer {"connection_id":186094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:34:16] local.INFO: Packet analysis {"connection_id":186094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:34:16] local.INFO: Extracted packet for processing {"connection_id":186094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:34:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":186094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:34:16] local.INFO: GPS data processed {"connection_id":186094,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:34:16] local.INFO: Acknowledgment sent {"connection_id":186094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:34:59] local.INFO: TCP Data received {"connection_id":186095,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:34:59] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:34:59] local.INFO: IMEI packet received {"connection_id":186095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":186095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:35:04] local.INFO: TCP Data received {"connection_id":186095,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:35:04] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:35:04] local.INFO: IMEI packet received {"connection_id":186095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":186095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:35:05] local.INFO: TCP Data received {"connection_id":186095,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:35:05] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:35:05] local.INFO: Packet analysis {"connection_id":186095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:35:05] local.INFO: Extracted packet for processing {"connection_id":186095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:35:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":186095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:35:05] local.INFO: GPS data processed {"connection_id":186095,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:35:06] local.INFO: Acknowledgment sent {"connection_id":186095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:35:37] local.INFO: TCP Data received {"connection_id":186095,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:35:37] local.INFO: Processing buffer {"connection_id":186095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:35:37] local.INFO: Packet analysis {"connection_id":186095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:35:37] local.INFO: Extracted packet for processing {"connection_id":186095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:35:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":186095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:35:37] local.INFO: GPS data processed {"connection_id":186095,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:35:37] local.INFO: Acknowledgment sent {"connection_id":186095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:36:09] local.INFO: TCP Data received {"connection_id":184681,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:36:09] local.INFO: Processing buffer {"connection_id":184681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:36:09] local.INFO: IMEI packet received {"connection_id":184681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":184681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:36:14] local.INFO: TCP Data received {"connection_id":184681,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:36:14] local.INFO: Processing buffer {"connection_id":184681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:36:14] local.INFO: IMEI packet received {"connection_id":184681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":184681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:36:16] local.INFO: TCP Data received {"connection_id":184681,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:36:16] local.INFO: Processing buffer {"connection_id":184681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abced108012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:36:16] local.INFO: Packet analysis {"connection_id":184681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:36:16] local.INFO: Extracted packet for processing {"connection_id":184681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abce"} 
[2026-09-17 01:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134669312001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789588853000,"timestamp_ms":1789588853000,"timestamp_seconds":1789588853,"priority":1,"record_length":96,"hex_timestamp":"000001a0abced108"} 
[2026-09-17 01:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:36: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-09-17 01:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134669312001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134669312001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:36:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134669312001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":184681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:36:16] local.INFO: GPS data processed {"connection_id":184681,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:36:16] local.INFO: Acknowledgment sent {"connection_id":184681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:37:05] local.INFO: TCP Data received {"connection_id":184795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:37:05] local.INFO: Processing buffer {"connection_id":184795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:37:05] local.INFO: IMEI packet received {"connection_id":184795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":184795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:37:09] local.INFO: TCP Data received {"connection_id":184795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:37:09] local.INFO: Processing buffer {"connection_id":184795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:37:09] local.INFO: IMEI packet received {"connection_id":184795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":184795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:37:10] local.INFO: TCP Data received {"connection_id":184795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:37:10] local.INFO: Processing buffer {"connection_id":184795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:37:10] local.INFO: Packet analysis {"connection_id":184795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:37:10] local.INFO: Extracted packet for processing {"connection_id":184795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 01:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 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-09-17 01:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 01:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:37:10] 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-09-17 01:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:37:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":184795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:37:10] local.INFO: GPS data processed {"connection_id":184795,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:37:10] local.INFO: Acknowledgment sent {"connection_id":184795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:37:15] local.INFO: TCP Data received {"connection_id":184795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:37:15] local.INFO: Processing buffer {"connection_id":184795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:37:15] local.INFO: Packet analysis {"connection_id":184795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:37:15] local.INFO: Extracted packet for processing {"connection_id":184795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 01:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:37:15] 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-09-17 01:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:37:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":184795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:37:15] local.INFO: GPS data processed {"connection_id":184795,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:37:15] local.INFO: Acknowledgment sent {"connection_id":184795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:37:59] local.INFO: TCP Data received {"connection_id":184683,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:37:59] local.INFO: Processing buffer {"connection_id":184683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:37:59] local.INFO: IMEI packet received {"connection_id":184683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":184683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:38:06] local.INFO: TCP Data received {"connection_id":184683,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:38:06] local.INFO: Processing buffer {"connection_id":184683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:38:06] local.INFO: IMEI packet received {"connection_id":184683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":184683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:38:07] local.INFO: TCP Data received {"connection_id":184683,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:38:07] local.INFO: Processing buffer {"connection_id":184683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:38:07] local.INFO: Packet analysis {"connection_id":184683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:38:07] local.INFO: Extracted packet for processing {"connection_id":184683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 01:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:38:07] 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-09-17 01:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:38:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":184683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:38:07] local.INFO: GPS data processed {"connection_id":184683,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:38:07] local.INFO: Acknowledgment sent {"connection_id":184683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:38:38] local.INFO: TCP Data received {"connection_id":184683,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:38:38] local.INFO: Processing buffer {"connection_id":184683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:38:38] local.INFO: Packet analysis {"connection_id":184683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:38:38] local.INFO: Extracted packet for processing {"connection_id":184683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 01:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:38:38] 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-09-17 01:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:38:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":184683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:38:38] local.INFO: GPS data processed {"connection_id":184683,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:38:38] local.INFO: Acknowledgment sent {"connection_id":184683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:38:59] local.INFO: TCP Data received {"connection_id":187426,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:38:59] local.INFO: Processing buffer {"connection_id":187426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:38:59] local.INFO: IMEI packet received {"connection_id":187426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":187426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:39:05] local.INFO: TCP Data received {"connection_id":187426,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:39:05] local.INFO: Processing buffer {"connection_id":187426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:39:05] local.INFO: IMEI packet received {"connection_id":187426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":187426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:39:06] local.INFO: TCP Data received {"connection_id":187426,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:39:06] local.INFO: Processing buffer {"connection_id":187426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:39:06] local.INFO: Packet analysis {"connection_id":187426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:39:06] local.INFO: Extracted packet for processing {"connection_id":187426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 01:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:39:06] 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-09-17 01:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:39:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":187426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:39:06] local.INFO: GPS data processed {"connection_id":187426,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:39:06] local.INFO: Acknowledgment sent {"connection_id":187426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:39:22] local.INFO: TCP Data received {"connection_id":184796,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:39:22] local.INFO: Processing buffer {"connection_id":184796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:39:22] local.INFO: IMEI packet received {"connection_id":184796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":184796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:39:37] local.INFO: TCP Data received {"connection_id":187426,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:39:37] local.INFO: Processing buffer {"connection_id":187426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:39:37] local.INFO: Packet analysis {"connection_id":187426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:39:37] local.INFO: Extracted packet for processing {"connection_id":187426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 01:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:39:37] 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-09-17 01:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:39:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":187426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:39:37] local.INFO: GPS data processed {"connection_id":187426,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:39:37] local.INFO: Acknowledgment sent {"connection_id":187426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:39:51] local.INFO: TCP Data received {"connection_id":184684,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:39:51] local.INFO: Processing buffer {"connection_id":184684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:39:51] local.INFO: IMEI packet received {"connection_id":184684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":184684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:39:57] local.INFO: TCP Data received {"connection_id":184684,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:39:57] local.INFO: Processing buffer {"connection_id":184684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:39:57] local.INFO: IMEI packet received {"connection_id":184684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 01:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":184684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:39:58] local.INFO: TCP Data received {"connection_id":184684,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0aba7c108012d7f9dc005afe4a0000000302a..."} 
[2026-09-17 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aba7c108012d7f9dc005afe4a0000000302a..."} 
[2026-09-17 01:39:58] local.INFO: Processing buffer {"connection_id":184684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aba7c108012d7f9dc005afe4a0000000302a..."} 
[2026-09-17 01:39:58] local.INFO: Packet analysis {"connection_id":184684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aba7"} 
[2026-09-17 01:39:58] local.INFO: Extracted packet for processing {"connection_id":184684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aba7"} 
[2026-09-17 01:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95413408,"longitude_deg":76.3338176,"latitude_deg":9.5413408,"altitude":0,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afe4a0","is_valid_coordinates":true} 
[2026-09-17 01:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134013952001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4457046476849152,"note":"Value kept but may cause issues"} 
[2026-09-17 01:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144818786304,"note":"Value kept but may cause issues"} 
[2026-09-17 01:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789586293000,"timestamp_ms":1789586293000,"timestamp_seconds":1789586293,"priority":1,"record_length":96,"hex_timestamp":"000001a0aba7c108"} 
[2026-09-17 01:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 01:39:58] 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-09-17 01:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":184684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":184684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 01:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":184684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 01:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-17 01:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-17 01:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134013952001,"66":25212,"250":206,"85":12544,"24":0,"16":4457046476849152,"45":9195717144818786304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-17 01:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-17 01:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-17 01:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134013952001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:39:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-17 01:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-17 01:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4457046476849152,"km_value":4457046476849.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144818786304,"description":"Unknown IO ID 45"} 
[2026-09-17 01:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134013952001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195717144818786304}} 
[2026-09-17 01:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":184684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:39:58] local.INFO: GPS data processed {"connection_id":184684,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:39:58] local.INFO: Acknowledgment sent {"connection_id":184684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:39:59] local.INFO: TCP Data received {"connection_id":184797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:39:59] local.INFO: Processing buffer {"connection_id":184797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:39:59] local.INFO: IMEI packet received {"connection_id":184797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":184797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:40:04] local.INFO: TCP Data received {"connection_id":184797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:40:04] local.INFO: Processing buffer {"connection_id":184797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:40:04] local.INFO: IMEI packet received {"connection_id":184797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":184797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:40:05] local.INFO: TCP Data received {"connection_id":184797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:40:05] local.INFO: Processing buffer {"connection_id":184797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:40:05] local.INFO: Packet analysis {"connection_id":184797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:40:05] local.INFO: Extracted packet for processing {"connection_id":184797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 01:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:40:05] 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-09-17 01:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:40:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":184797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:40:05] local.INFO: GPS data processed {"connection_id":184797,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:40:05] local.INFO: Acknowledgment sent {"connection_id":184797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:40:39] local.INFO: TCP Data received {"connection_id":184797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:40:39] local.INFO: Processing buffer {"connection_id":184797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:40:39] local.INFO: Packet analysis {"connection_id":184797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:40:39] local.INFO: Extracted packet for processing {"connection_id":184797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01: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-09-17 01:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 01:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01: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-09-17 01:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":184797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":184797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":184797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:40: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-09-17 01:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:40:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":184797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:40:39] local.INFO: GPS data processed {"connection_id":184797,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:40:39] local.INFO: Acknowledgment sent {"connection_id":184797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:40:41] local.INFO: TCP Data received {"connection_id":184685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:40:41] local.INFO: Processing buffer {"connection_id":184685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:40:41] local.INFO: IMEI packet received {"connection_id":184685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":184685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:41:04] local.INFO: TCP Data received {"connection_id":184686,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:41:04] local.INFO: Processing buffer {"connection_id":184686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:41:04] local.INFO: IMEI packet received {"connection_id":184686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":184686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:41:09] local.INFO: TCP Data received {"connection_id":184686,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:41:09] local.INFO: Processing buffer {"connection_id":184686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:41:09] local.INFO: IMEI packet received {"connection_id":184686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":184686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:41:11] local.INFO: TCP Data received {"connection_id":184686,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:41:11] local.INFO: Processing buffer {"connection_id":184686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:41:11] local.INFO: Packet analysis {"connection_id":184686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:41:11] local.INFO: Extracted packet for processing {"connection_id":184686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 01:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:41:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:41:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":184686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:41:11] local.INFO: GPS data processed {"connection_id":184686,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:41:11] local.INFO: Acknowledgment sent {"connection_id":184686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:41:19] local.INFO: TCP Data received {"connection_id":184686,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:41:19] local.INFO: Processing buffer {"connection_id":184686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd368d0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:41:19] local.INFO: Packet analysis {"connection_id":184686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:41:19] local.INFO: Extracted packet for processing {"connection_id":184686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd3"} 
[2026-09-17 01:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134746368001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789589154000,"timestamp_ms":1789589154000,"timestamp_seconds":1789589154,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd368d0"} 
[2026-09-17 01:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":184686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":184686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":184686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134746368001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134746368001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:41:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134746368001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":184686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:41:19] local.INFO: GPS data processed {"connection_id":184686,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:41:19] local.INFO: Acknowledgment sent {"connection_id":184686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:42:04] local.INFO: TCP Data received {"connection_id":186097,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:42:04] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:42:04] local.INFO: IMEI packet received {"connection_id":186097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":186097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:42:09] local.INFO: TCP Data received {"connection_id":186097,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:42:09] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:42:09] local.INFO: IMEI packet received {"connection_id":186097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":186097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:42:10] local.INFO: TCP Data received {"connection_id":186097,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:42:10] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:42:10] local.INFO: Packet analysis {"connection_id":186097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:42:10] local.INFO: Extracted packet for processing {"connection_id":186097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134823424001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789589455000,"timestamp_ms":1789589455000,"timestamp_seconds":1789589455,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd80098"} 
[2026-09-17 01:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:42: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-09-17 01:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:42:10] 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-09-17 01:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134823424001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134823424001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:42:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134823424001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":186097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:42:10] local.INFO: GPS data processed {"connection_id":186097,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:42:10] local.INFO: Acknowledgment sent {"connection_id":186097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:42:15] local.INFO: TCP Data received {"connection_id":186097,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:42:15] local.INFO: Processing buffer {"connection_id":186097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:42:15] local.INFO: Packet analysis {"connection_id":186097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:42:15] local.INFO: Extracted packet for processing {"connection_id":186097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134823424001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789589455000,"timestamp_ms":1789589455000,"timestamp_seconds":1789589455,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd80098"} 
[2026-09-17 01:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:42:15] 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-09-17 01:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134823424001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134823424001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:42:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134823424001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":186097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:42:15] local.INFO: GPS data processed {"connection_id":186097,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:42:15] local.INFO: Acknowledgment sent {"connection_id":186097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:42:59] local.INFO: TCP Data received {"connection_id":184688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:42:59] local.INFO: Processing buffer {"connection_id":184688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:42:59] local.INFO: IMEI packet received {"connection_id":184688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":184688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:43:04] local.INFO: TCP Data received {"connection_id":184688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:43:04] local.INFO: Processing buffer {"connection_id":184688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:43:04] local.INFO: IMEI packet received {"connection_id":184688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":184688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:43:06] local.INFO: TCP Data received {"connection_id":184688,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:43:06] local.INFO: Processing buffer {"connection_id":184688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:43:06] local.INFO: Packet analysis {"connection_id":184688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:43:06] local.INFO: Extracted packet for processing {"connection_id":184688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134823424001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789589455000,"timestamp_ms":1789589455000,"timestamp_seconds":1789589455,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd80098"} 
[2026-09-17 01:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134823424001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134823424001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:43:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134823424001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":184688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:43:06] local.INFO: GPS data processed {"connection_id":184688,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:43:06] local.INFO: Acknowledgment sent {"connection_id":184688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:43:38] local.INFO: TCP Data received {"connection_id":184688,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:43:38] local.INFO: Processing buffer {"connection_id":184688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:43:38] local.INFO: Packet analysis {"connection_id":184688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:43:38] local.INFO: Extracted packet for processing {"connection_id":184688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134823424001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789589455000,"timestamp_ms":1789589455000,"timestamp_seconds":1789589455,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd80098"} 
[2026-09-17 01:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134823424001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134823424001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:43:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134823424001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":184688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:43:38] local.INFO: GPS data processed {"connection_id":184688,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:43:38] local.INFO: Acknowledgment sent {"connection_id":184688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:44:04] local.INFO: TCP Data received {"connection_id":184689,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:44:04] local.INFO: Processing buffer {"connection_id":184689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:44:04] local.INFO: IMEI packet received {"connection_id":184689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":184689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:44:14] local.INFO: TCP Data received {"connection_id":184689,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:44:14] local.INFO: Processing buffer {"connection_id":184689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:44:14] local.INFO: IMEI packet received {"connection_id":184689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":184689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:44:15] local.INFO: TCP Data received {"connection_id":184689,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:44:15] local.INFO: Processing buffer {"connection_id":184689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:44:15] local.INFO: Packet analysis {"connection_id":184689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:44:15] local.INFO: Extracted packet for processing {"connection_id":184689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134823424001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789589455000,"timestamp_ms":1789589455000,"timestamp_seconds":1789589455,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd80098"} 
[2026-09-17 01:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134823424001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134823424001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:44:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134823424001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":184689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:44:15] local.INFO: GPS data processed {"connection_id":184689,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:44:15] local.INFO: Acknowledgment sent {"connection_id":184689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:44:59] local.INFO: TCP Data received {"connection_id":184798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:44:59] local.INFO: Processing buffer {"connection_id":184798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:44:59] local.INFO: IMEI packet received {"connection_id":184798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":184798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:45:04] local.INFO: TCP Data received {"connection_id":184798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:45:04] local.INFO: Processing buffer {"connection_id":184798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:45:04] local.INFO: IMEI packet received {"connection_id":184798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":184798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:45:06] local.INFO: TCP Data received {"connection_id":184798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:45:06] local.INFO: Processing buffer {"connection_id":184798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:45:06] local.INFO: Packet analysis {"connection_id":184798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:45:06] local.INFO: Extracted packet for processing {"connection_id":184798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134823424001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789589455000,"timestamp_ms":1789589455000,"timestamp_seconds":1789589455,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd80098"} 
[2026-09-17 01:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134823424001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134823424001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:45:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134823424001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":184798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:45:06] local.INFO: GPS data processed {"connection_id":184798,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:45:06] local.INFO: Acknowledgment sent {"connection_id":184798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:45:39] local.INFO: TCP Data received {"connection_id":184798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:45:39] local.INFO: Processing buffer {"connection_id":184798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:45:39] local.INFO: Packet analysis {"connection_id":184798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:45:39] local.INFO: Extracted packet for processing {"connection_id":184798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134823424001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789589455000,"timestamp_ms":1789589455000,"timestamp_seconds":1789589455,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd80098"} 
[2026-09-17 01:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":184798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":184798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":184798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134823424001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134823424001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:45:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134823424001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":184798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:45:39] local.INFO: GPS data processed {"connection_id":184798,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:45:39] local.INFO: Acknowledgment sent {"connection_id":184798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:46:02] local.INFO: TCP Data received {"connection_id":187428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:46:02] local.INFO: Processing buffer {"connection_id":187428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:46:02] local.INFO: IMEI packet received {"connection_id":187428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":187428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:46:06] local.INFO: TCP Data received {"connection_id":187429,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:46:06] local.INFO: Processing buffer {"connection_id":187429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:46:06] local.INFO: IMEI packet received {"connection_id":187429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":187429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:46:09] local.INFO: TCP Data received {"connection_id":187429,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:46:09] local.INFO: Processing buffer {"connection_id":187429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:46:09] local.INFO: IMEI packet received {"connection_id":187429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":187429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:46:10] local.INFO: TCP Data received {"connection_id":187429,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:46:10] local.INFO: Processing buffer {"connection_id":187429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:46:10] local.INFO: Packet analysis {"connection_id":187429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:46:10] local.INFO: Extracted packet for processing {"connection_id":187429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134823424001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789589455000,"timestamp_ms":1789589455000,"timestamp_seconds":1789589455,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd80098"} 
[2026-09-17 01:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134823424001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134823424001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:46:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134823424001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":187429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:46:10] local.INFO: GPS data processed {"connection_id":187429,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:46:10] local.INFO: Acknowledgment sent {"connection_id":187429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:46:15] local.INFO: TCP Data received {"connection_id":187429,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:46:15] local.INFO: Processing buffer {"connection_id":187429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abd80098012d34c3c006aa4458000c01172b..."} 
[2026-09-17 01:46:15] local.INFO: Packet analysis {"connection_id":187429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:46:15] local.INFO: Extracted packet for processing {"connection_id":187429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abd8"} 
[2026-09-17 01:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134823424001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789589455000,"timestamp_ms":1789589455000,"timestamp_seconds":1789589455,"priority":1,"record_length":96,"hex_timestamp":"000001a0abd80098"} 
[2026-09-17 01:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134823424001,"66":25538,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134823424001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:46:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134823424001,"power":25538,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":187429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:46:15] local.INFO: GPS data processed {"connection_id":187429,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:46:15] local.INFO: Acknowledgment sent {"connection_id":187429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:47:04] local.INFO: TCP Data received {"connection_id":184690,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:47:04] local.INFO: Processing buffer {"connection_id":184690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:47:04] local.INFO: IMEI packet received {"connection_id":184690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":184690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:47:09] local.INFO: TCP Data received {"connection_id":184690,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:47:09] local.INFO: Processing buffer {"connection_id":184690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:47:09] local.INFO: IMEI packet received {"connection_id":184690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":184690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:47:26] local.INFO: TCP Data received {"connection_id":184690,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abdc9860012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abdc9860012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:47:26] local.INFO: Processing buffer {"connection_id":184690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abdc9860012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:47:26] local.INFO: Packet analysis {"connection_id":184690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abdc"} 
[2026-09-17 01:47:26] local.INFO: Extracted packet for processing {"connection_id":184690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abdc"} 
[2026-09-17 01:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134900480001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789589756000,"timestamp_ms":1789589756000,"timestamp_seconds":1789589756,"priority":1,"record_length":96,"hex_timestamp":"000001a0abdc9860"} 
[2026-09-17 01:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":184690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":184690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":184690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:47:26] 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-09-17 01:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134900480001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134900480001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:47:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:47:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134900480001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":184690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:47:27] local.INFO: GPS data processed {"connection_id":184690,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:47:27] local.INFO: Acknowledgment sent {"connection_id":184690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:47:59] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:47:59] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:47:59] local.INFO: IMEI packet received {"connection_id":186100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":186100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:48:06] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:48:06] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:48:06] local.INFO: IMEI packet received {"connection_id":186100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":186100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:48:09] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:48:09] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:48:09] local.INFO: IMEI packet received {"connection_id":186100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":186100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:48:11] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abdc9860012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abdc9860012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:48:11] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abdc9860012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:48:11] local.INFO: Packet analysis {"connection_id":186100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abdc"} 
[2026-09-17 01:48:11] local.INFO: Extracted packet for processing {"connection_id":186100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abdc"} 
[2026-09-17 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134900480001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789589756000,"timestamp_ms":1789589756000,"timestamp_seconds":1789589756,"priority":1,"record_length":96,"hex_timestamp":"000001a0abdc9860"} 
[2026-09-17 01:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:48: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-09-17 01:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134900480001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134900480001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:48:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:48:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134900480001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":186100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:48:11] local.INFO: GPS data processed {"connection_id":186100,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:48:11] local.INFO: Acknowledgment sent {"connection_id":186100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:48:42] local.INFO: TCP Data received {"connection_id":186100,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abdc9860012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abdc9860012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:48:42] local.INFO: Processing buffer {"connection_id":186100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abdc9860012d34c3c006aa4458000c01172c..."} 
[2026-09-17 01:48:42] local.INFO: Packet analysis {"connection_id":186100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abdc"} 
[2026-09-17 01:48:42] local.INFO: Extracted packet for processing {"connection_id":186100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abdc"} 
[2026-09-17 01:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134900480001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789589756000,"timestamp_ms":1789589756000,"timestamp_seconds":1789589756,"priority":1,"record_length":96,"hex_timestamp":"000001a0abdc9860"} 
[2026-09-17 01:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 01:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:48: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-09-17 01:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134900480001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134900480001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:48:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134900480001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":186100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:48:42] local.INFO: GPS data processed {"connection_id":186100,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:48:42] local.INFO: Acknowledgment sent {"connection_id":186100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:51:51] local.INFO: TCP Data received {"connection_id":186103,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:51:51] local.INFO: Processing buffer {"connection_id":186103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:51:51] local.INFO: IMEI packet received {"connection_id":186103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":186103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:51:54] local.INFO: TCP Data received {"connection_id":186104,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:51:54] local.INFO: Processing buffer {"connection_id":186104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:51:54] local.INFO: IMEI packet received {"connection_id":186104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":186104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:51:59] local.INFO: TCP Data received {"connection_id":186104,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:51:59] local.INFO: Processing buffer {"connection_id":186104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:51:59] local.INFO: IMEI packet received {"connection_id":186104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":186104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:52:00] local.INFO: TCP Data received {"connection_id":186104,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:52:00] local.INFO: Processing buffer {"connection_id":186104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:52:00] local.INFO: Packet analysis {"connection_id":186104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:52:00] local.INFO: Extracted packet for processing {"connection_id":186104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:52:00] 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-09-17 01:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:52:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:52:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":186104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:52:00] local.INFO: GPS data processed {"connection_id":186104,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:52:00] local.INFO: Acknowledgment sent {"connection_id":186104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:52:31] local.INFO: TCP Data received {"connection_id":186104,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:52:31] local.INFO: Processing buffer {"connection_id":186104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:52:31] local.INFO: Packet analysis {"connection_id":186104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:52:31] local.INFO: Extracted packet for processing {"connection_id":186104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:52:31] 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-09-17 01:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:52:31] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":186104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:52:31] local.INFO: GPS data processed {"connection_id":186104,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:52:31] local.INFO: Acknowledgment sent {"connection_id":186104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:53:04] local.INFO: TCP Data received {"connection_id":184800,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:53:04] local.INFO: Processing buffer {"connection_id":184800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:53:04] local.INFO: IMEI packet received {"connection_id":184800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":184800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:53:09] local.INFO: TCP Data received {"connection_id":184800,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:53:09] local.INFO: Processing buffer {"connection_id":184800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:53:09] local.INFO: IMEI packet received {"connection_id":184800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":184800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:53:10] local.INFO: TCP Data received {"connection_id":184800,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:53:10] local.INFO: Processing buffer {"connection_id":184800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:53:10] local.INFO: Packet analysis {"connection_id":184800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:53:10] local.INFO: Extracted packet for processing {"connection_id":184800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:53:10] 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-09-17 01:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:53:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":184800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:53:10] local.INFO: GPS data processed {"connection_id":184800,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:53:10] local.INFO: Acknowledgment sent {"connection_id":184800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:53:15] local.INFO: TCP Data received {"connection_id":184800,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:53:15] local.INFO: Processing buffer {"connection_id":184800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:53:15] local.INFO: Packet analysis {"connection_id":184800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:53:15] local.INFO: Extracted packet for processing {"connection_id":184800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:53: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-09-17 01:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:53:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":184800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:53:15] local.INFO: GPS data processed {"connection_id":184800,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:53:15] local.INFO: Acknowledgment sent {"connection_id":184800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:53:59] local.INFO: TCP Data received {"connection_id":187431,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:53:59] local.INFO: Processing buffer {"connection_id":187431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:53:59] local.INFO: IMEI packet received {"connection_id":187431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":187431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:54:04] local.INFO: TCP Data received {"connection_id":187431,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:54:04] local.INFO: Processing buffer {"connection_id":187431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:54:04] local.INFO: IMEI packet received {"connection_id":187431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":187431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:54:05] local.INFO: TCP Data received {"connection_id":187431,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:54:05] local.INFO: Processing buffer {"connection_id":187431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:54:05] local.INFO: Packet analysis {"connection_id":187431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:54:05] local.INFO: Extracted packet for processing {"connection_id":187431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:54:05] 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-09-17 01:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:54:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":187431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:54:05] local.INFO: GPS data processed {"connection_id":187431,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:54:05] local.INFO: Acknowledgment sent {"connection_id":187431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:54:36] local.INFO: TCP Data received {"connection_id":187431,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:54:36] local.INFO: Processing buffer {"connection_id":187431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:54:36] local.INFO: Packet analysis {"connection_id":187431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:54:36] local.INFO: Extracted packet for processing {"connection_id":187431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:54:36] 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-09-17 01:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:54:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":187431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:54:36] local.INFO: GPS data processed {"connection_id":187431,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:54:36] local.INFO: Acknowledgment sent {"connection_id":187431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:54:59] local.INFO: TCP Data received {"connection_id":186105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:54:59] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:54:59] local.INFO: IMEI packet received {"connection_id":186105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":186105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:55:05] local.INFO: TCP Data received {"connection_id":186105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:55:05] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:55:05] local.INFO: IMEI packet received {"connection_id":186105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":186105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:55:12] local.INFO: TCP Data received {"connection_id":186105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:55:12] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:55:12] local.INFO: Packet analysis {"connection_id":186105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:55:12] local.INFO: Extracted packet for processing {"connection_id":186105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:55:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:55:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:55:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":186105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:55:12] local.INFO: GPS data processed {"connection_id":186105,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:55:12] local.INFO: Acknowledgment sent {"connection_id":186105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:55:43] local.INFO: TCP Data received {"connection_id":186105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:55:43] local.INFO: Processing buffer {"connection_id":186105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:55:43] local.INFO: Packet analysis {"connection_id":186105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:55:43] local.INFO: Extracted packet for processing {"connection_id":186105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:55:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":186105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:55:43] local.INFO: GPS data processed {"connection_id":186105,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:55:43] local.INFO: Acknowledgment sent {"connection_id":186105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:56:04] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:56:04] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:56:04] local.INFO: IMEI packet received {"connection_id":186107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":186107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:56:11] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:56:11] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:56:11] local.INFO: IMEI packet received {"connection_id":186107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":186107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:56:12] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:56:12] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:56:12] local.INFO: Packet analysis {"connection_id":186107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:56:12] local.INFO: Extracted packet for processing {"connection_id":186107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:56:12] 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-09-17 01:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:56:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:56:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":186107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:56:12] local.INFO: GPS data processed {"connection_id":186107,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:56:12] local.INFO: Acknowledgment sent {"connection_id":186107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:56:15] local.INFO: TCP Data received {"connection_id":186107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:56:15] local.INFO: Processing buffer {"connection_id":186107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe13028012d34c3c006aa4458000c01172f..."} 
[2026-09-17 01:56:15] local.INFO: Packet analysis {"connection_id":186107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:56:15] local.INFO: Extracted packet for processing {"connection_id":186107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe1"} 
[2026-09-17 01:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458134977536001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789590057000,"timestamp_ms":1789590057000,"timestamp_seconds":1789590057,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe13028"} 
[2026-09-17 01:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 01:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:56:15] 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-09-17 01:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458134977536001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458134977536001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:56:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458134977536001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":186107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:56:15] local.INFO: GPS data processed {"connection_id":186107,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:56:15] local.INFO: Acknowledgment sent {"connection_id":186107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:57:09] local.INFO: TCP Data received {"connection_id":184801,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:57:09] local.INFO: Processing buffer {"connection_id":184801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:57:09] local.INFO: IMEI packet received {"connection_id":184801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":184801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:57:21] local.INFO: TCP Data received {"connection_id":184801,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:57:21] local.INFO: Processing buffer {"connection_id":184801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:57:21] local.INFO: IMEI packet received {"connection_id":184801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":184801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:57:21] local.INFO: TCP Data received {"connection_id":184694,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:57:21] local.INFO: Processing buffer {"connection_id":184694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:57:21] local.INFO: IMEI packet received {"connection_id":184694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":184694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:57:23] local.INFO: TCP Data received {"connection_id":184801,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:57:23] local.INFO: Processing buffer {"connection_id":184801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:57:23] local.INFO: Packet analysis {"connection_id":184801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:57:23] local.INFO: Extracted packet for processing {"connection_id":184801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135054592001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789590358000,"timestamp_ms":1789590358000,"timestamp_seconds":1789590358,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe5c7f0"} 
[2026-09-17 01:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":184801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":184801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":184801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 01:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135054592001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135054592001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:57:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135054592001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":184801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:57:23] local.INFO: GPS data processed {"connection_id":184801,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:57:23] local.INFO: Acknowledgment sent {"connection_id":184801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:57:51] local.INFO: TCP Data received {"connection_id":184802,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:57:51] local.INFO: Processing buffer {"connection_id":184802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 01:57:51] local.INFO: IMEI packet received {"connection_id":184802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 01:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":184802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:57:59] local.INFO: TCP Data received {"connection_id":186108,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:57:59] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:57:59] local.INFO: IMEI packet received {"connection_id":186108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":186108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:58:04] local.INFO: TCP Data received {"connection_id":186108,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:58:04] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:58:04] local.INFO: IMEI packet received {"connection_id":186108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":186108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:58:05] local.INFO: TCP Data received {"connection_id":186108,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:58:05] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:58:05] local.INFO: Packet analysis {"connection_id":186108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:58:05] local.INFO: Extracted packet for processing {"connection_id":186108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135054592001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789590358000,"timestamp_ms":1789590358000,"timestamp_seconds":1789590358,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe5c7f0"} 
[2026-09-17 01:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:58:05] 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-09-17 01:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135054592001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135054592001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:58:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135054592001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":186108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:58:05] local.INFO: GPS data processed {"connection_id":186108,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:58:05] local.INFO: Acknowledgment sent {"connection_id":186108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:58:40] local.INFO: TCP Data received {"connection_id":186108,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:58:40] local.INFO: Processing buffer {"connection_id":186108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:58:40] local.INFO: Packet analysis {"connection_id":186108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:58:40] local.INFO: Extracted packet for processing {"connection_id":186108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01: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-09-17 01:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135054592001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789590358000,"timestamp_ms":1789590358000,"timestamp_seconds":1789590358,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe5c7f0"} 
[2026-09-17 01:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01: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-09-17 01:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:58: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-09-17 01:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135054592001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135054592001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:58:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135054592001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":186108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:58:40] local.INFO: GPS data processed {"connection_id":186108,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:58:40] local.INFO: Acknowledgment sent {"connection_id":186108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:59:06] local.INFO: TCP Data received {"connection_id":187434,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:59:06] local.INFO: Processing buffer {"connection_id":187434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:59:06] local.INFO: IMEI packet received {"connection_id":187434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":187434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 01:59:10] local.INFO: TCP Data received {"connection_id":187434,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:59:10] local.INFO: Processing buffer {"connection_id":187434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:59:10] local.INFO: IMEI packet received {"connection_id":187434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 01:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":187434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 01:59:12] local.INFO: TCP Data received {"connection_id":187434,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:59:12] local.INFO: Processing buffer {"connection_id":187434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:59:12] local.INFO: Packet analysis {"connection_id":187434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:59:12] local.INFO: Extracted packet for processing {"connection_id":187434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135054592001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789590358000,"timestamp_ms":1789590358000,"timestamp_seconds":1789590358,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe5c7f0"} 
[2026-09-17 01:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:59:12] 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-09-17 01:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135054592001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135054592001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:59:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:59:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135054592001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":187434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:59:12] local.INFO: GPS data processed {"connection_id":187434,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:59:12] local.INFO: Acknowledgment sent {"connection_id":187434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:59:15] local.INFO: TCP Data received {"connection_id":187434,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:59:15] local.INFO: Processing buffer {"connection_id":187434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 01:59:15] local.INFO: Packet analysis {"connection_id":187434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:59:15] local.INFO: Extracted packet for processing {"connection_id":187434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 01:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 01:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 01:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135054592001,"note":"Value kept but may cause issues"} 
[2026-09-17 01:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 01:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 01:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 01:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789590358000,"timestamp_ms":1789590358000,"timestamp_seconds":1789590358,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe5c7f0"} 
[2026-09-17 01:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 01:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 01:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 01:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 01:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 01:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 01:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 01:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 01:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 01:59:15] 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-09-17 01:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 01:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 01:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135054592001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 01:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 01:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 01:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135054592001,"description":"Unknown IO ID 0"} 
[2026-09-17 01:59:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 01:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 01:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 01:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 01:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135054592001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 01:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":187434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 01:59:15] local.INFO: GPS data processed {"connection_id":187434,"processed":1,"errors":0,"total":1} 
[2026-09-17 01:59:15] local.INFO: Acknowledgment sent {"connection_id":187434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 01:59:59] local.INFO: TCP Data received {"connection_id":187435,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:59:59] local.INFO: Processing buffer {"connection_id":187435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 01:59:59] local.INFO: IMEI packet received {"connection_id":187435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 01:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":187435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:00:05] local.INFO: TCP Data received {"connection_id":187435,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:00:05] local.INFO: Processing buffer {"connection_id":187435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:00:05] local.INFO: IMEI packet received {"connection_id":187435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":187435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:00:06] local.INFO: TCP Data received {"connection_id":187435,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:00:06] local.INFO: Processing buffer {"connection_id":187435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:00:06] local.INFO: Packet analysis {"connection_id":187435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 02:00:06] local.INFO: Extracted packet for processing {"connection_id":187435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 02:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135054592001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789590358000,"timestamp_ms":1789590358000,"timestamp_seconds":1789590358,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe5c7f0"} 
[2026-09-17 02:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 02:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:00:06] 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-09-17 02:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135054592001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135054592001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:00:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135054592001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":187435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:00:06] local.INFO: GPS data processed {"connection_id":187435,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:00:06] local.INFO: Acknowledgment sent {"connection_id":187435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:00:39] local.INFO: TCP Data received {"connection_id":187435,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:00:39] local.INFO: Processing buffer {"connection_id":187435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abe5c7f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:00:39] local.INFO: Packet analysis {"connection_id":187435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 02:00:39] local.INFO: Extracted packet for processing {"connection_id":187435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abe5"} 
[2026-09-17 02:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135054592001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789590358000,"timestamp_ms":1789590358000,"timestamp_seconds":1789590358,"priority":1,"record_length":96,"hex_timestamp":"000001a0abe5c7f0"} 
[2026-09-17 02:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 02:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:00:39] 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-09-17 02:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135054592001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135054592001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:00:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135054592001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":187435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:00:39] local.INFO: GPS data processed {"connection_id":187435,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:00:39] local.INFO: Acknowledgment sent {"connection_id":187435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:03:07] local.INFO: TCP Data received {"connection_id":187436,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:03:07] local.INFO: Processing buffer {"connection_id":187436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:03:07] local.INFO: IMEI packet received {"connection_id":187436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":187436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:03:51] local.INFO: TCP Data received {"connection_id":184697,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:03:51] local.INFO: Processing buffer {"connection_id":184697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:03:51] local.INFO: IMEI packet received {"connection_id":184697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":184697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:06:40] local.INFO: TCP Data received {"connection_id":186115,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:06:40] local.INFO: Processing buffer {"connection_id":186115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:06:40] local.INFO: IMEI packet received {"connection_id":186115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":186115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:07:04] local.INFO: TCP Data received {"connection_id":187437,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:07:04] local.INFO: Processing buffer {"connection_id":187437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:07:04] local.INFO: IMEI packet received {"connection_id":187437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":187437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:07:09] local.INFO: TCP Data received {"connection_id":187437,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:07:09] local.INFO: Processing buffer {"connection_id":187437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:07:09] local.INFO: IMEI packet received {"connection_id":187437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":187437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:07:11] local.INFO: TCP Data received {"connection_id":187437,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abea5fb8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abea5fb8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:07:11] local.INFO: Processing buffer {"connection_id":187437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abea5fb8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:07:11] local.INFO: Packet analysis {"connection_id":187437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abea"} 
[2026-09-17 02:07:11] local.INFO: Extracted packet for processing {"connection_id":187437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abea"} 
[2026-09-17 02:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135131648001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789590659000,"timestamp_ms":1789590659000,"timestamp_seconds":1789590659,"priority":1,"record_length":96,"hex_timestamp":"000001a0abea5fb8"} 
[2026-09-17 02:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:07:11] 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-09-17 02:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135131648001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135131648001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:07:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135131648001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":187437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:07:11] local.INFO: GPS data processed {"connection_id":187437,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:07:11] local.INFO: Acknowledgment sent {"connection_id":187437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:07:44] local.INFO: TCP Data received {"connection_id":187437,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:07:44] local.INFO: Processing buffer {"connection_id":187437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:07:44] local.INFO: Packet analysis {"connection_id":187437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:07:44] local.INFO: Extracted packet for processing {"connection_id":187437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 02:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:07: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-09-17 02:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:07:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":187437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:07:44] local.INFO: GPS data processed {"connection_id":187437,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:07:44] local.INFO: Acknowledgment sent {"connection_id":187437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:08:13] local.INFO: TCP Data received {"connection_id":184806,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:08:13] local.INFO: Processing buffer {"connection_id":184806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:08:13] local.INFO: IMEI packet received {"connection_id":184806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":184806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:08:14] local.INFO: TCP Data received {"connection_id":184806,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:08:14] local.INFO: Processing buffer {"connection_id":184806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:08:14] local.INFO: IMEI packet received {"connection_id":184806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":184806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:08:15] local.INFO: TCP Data received {"connection_id":184806,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:08:15] local.INFO: Processing buffer {"connection_id":184806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:08:15] local.INFO: Packet analysis {"connection_id":184806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:08:15] local.INFO: Extracted packet for processing {"connection_id":184806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 02:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:08:15] 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-09-17 02:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:08:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":184806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:08:15] local.INFO: GPS data processed {"connection_id":184806,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:08:15] local.INFO: Acknowledgment sent {"connection_id":184806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:08:24] local.INFO: TCP Data received {"connection_id":184806,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:08:24] local.INFO: Processing buffer {"connection_id":184806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:08:24] local.INFO: Packet analysis {"connection_id":184806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:08:24] local.INFO: Extracted packet for processing {"connection_id":184806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 02:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":184806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":184806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":184806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:08:24] 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-09-17 02:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:08:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":184806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:08:24] local.INFO: GPS data processed {"connection_id":184806,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:08:24] local.INFO: Acknowledgment sent {"connection_id":184806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:09:01] local.INFO: TCP Data received {"connection_id":187438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:09:01] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:09:01] local.INFO: IMEI packet received {"connection_id":187438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":187438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:09:06] local.INFO: TCP Data received {"connection_id":187438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:09:06] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:09:06] local.INFO: IMEI packet received {"connection_id":187438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":187438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:09:07] local.INFO: TCP Data received {"connection_id":187438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:09:07] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:09:07] local.INFO: Packet analysis {"connection_id":187438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:09:07] local.INFO: Extracted packet for processing {"connection_id":187438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 02:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 02:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:09:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":187438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:09:07] local.INFO: GPS data processed {"connection_id":187438,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:09:07] local.INFO: Acknowledgment sent {"connection_id":187438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:09:09] local.INFO: TCP Data received {"connection_id":187438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:09:09] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:09:09] local.INFO: Packet analysis {"connection_id":187438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:09:09] local.INFO: Extracted packet for processing {"connection_id":187438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 02:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 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-09-17 02:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 02:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 02:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:09:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":187438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:09:09] local.INFO: GPS data processed {"connection_id":187438,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:09:09] local.INFO: Acknowledgment sent {"connection_id":187438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:09:16] local.INFO: TCP Data received {"connection_id":184700,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:09:16] local.INFO: Processing buffer {"connection_id":184700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:09:16] local.INFO: IMEI packet received {"connection_id":184700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":184700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:09:41] local.INFO: TCP Data received {"connection_id":187438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:09:41] local.INFO: Processing buffer {"connection_id":187438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:09:41] local.INFO: Packet analysis {"connection_id":187438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:09:41] local.INFO: Extracted packet for processing {"connection_id":187438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 02:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 02:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:09:41] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":187438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:09:41] local.INFO: GPS data processed {"connection_id":187438,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:09:41] local.INFO: Acknowledgment sent {"connection_id":187438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:09:51] local.INFO: TCP Data received {"connection_id":186117,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:09:51] local.INFO: Processing buffer {"connection_id":186117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:09:51] local.INFO: IMEI packet received {"connection_id":186117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":186117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:09:59] local.INFO: TCP Data received {"connection_id":186118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:09:59] local.INFO: Processing buffer {"connection_id":186118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:09:59] local.INFO: IMEI packet received {"connection_id":186118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":186118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:10:08] local.INFO: TCP Data received {"connection_id":186118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:10:08] local.INFO: Processing buffer {"connection_id":186118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:10:08] local.INFO: IMEI packet received {"connection_id":186118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":186118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:10:11] local.INFO: TCP Data received {"connection_id":186118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:10:11] local.INFO: Processing buffer {"connection_id":186118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:10:11] local.INFO: Packet analysis {"connection_id":186118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:10:11] local.INFO: Extracted packet for processing {"connection_id":186118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 02:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:10:11] 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-09-17 02:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:10:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:10:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":186118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:10:11] local.INFO: GPS data processed {"connection_id":186118,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:10:11] local.INFO: Acknowledgment sent {"connection_id":186118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:10:46] local.INFO: TCP Data received {"connection_id":186118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:10:46] local.INFO: Processing buffer {"connection_id":186118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:10:46] local.INFO: Packet analysis {"connection_id":186118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:10:46] local.INFO: Extracted packet for processing {"connection_id":186118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 02:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:10:46] 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-09-17 02:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:10:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":186118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:10:46] local.INFO: GPS data processed {"connection_id":186118,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:10:46] local.INFO: Acknowledgment sent {"connection_id":186118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:11:04] local.INFO: TCP Data received {"connection_id":187439,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:11:04] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:11:04] local.INFO: IMEI packet received {"connection_id":187439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":187439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:11:09] local.INFO: TCP Data received {"connection_id":187439,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:11:09] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:11:09] local.INFO: IMEI packet received {"connection_id":187439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":187439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:11:11] local.INFO: TCP Data received {"connection_id":187439,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:11:11] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:11:11] local.INFO: Packet analysis {"connection_id":187439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:11:11] local.INFO: Extracted packet for processing {"connection_id":187439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 02:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 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-09-17 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 02:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 02:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:11:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":187439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:11:11] local.INFO: GPS data processed {"connection_id":187439,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:11:11] local.INFO: Acknowledgment sent {"connection_id":187439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:11:22] local.INFO: TCP Data received {"connection_id":187439,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:11:22] local.INFO: Processing buffer {"connection_id":187439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abeef780012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:11:22] local.INFO: Packet analysis {"connection_id":187439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:11:22] local.INFO: Extracted packet for processing {"connection_id":187439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abee"} 
[2026-09-17 02:11:22] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135208704001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789590960000,"timestamp_ms":1789590960000,"timestamp_seconds":1789590960,"priority":1,"record_length":96,"hex_timestamp":"000001a0abeef780"} 
[2026-09-17 02:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 02:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135208704001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135208704001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:11:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135208704001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":187439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:11:22] local.INFO: GPS data processed {"connection_id":187439,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:11:22] local.INFO: Acknowledgment sent {"connection_id":187439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:12:00] local.INFO: TCP Data received {"connection_id":187440,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:12:00] local.INFO: Processing buffer {"connection_id":187440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:12:00] local.INFO: IMEI packet received {"connection_id":187440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":187440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:12:07] local.INFO: TCP Data received {"connection_id":187440,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:12:07] local.INFO: Processing buffer {"connection_id":187440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:12:07] local.INFO: IMEI packet received {"connection_id":187440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":187440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:12:09] local.INFO: TCP Data received {"connection_id":187440,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:12:09] local.INFO: Processing buffer {"connection_id":187440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:12:09] local.INFO: Packet analysis {"connection_id":187440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:12:09] local.INFO: Extracted packet for processing {"connection_id":187440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02: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-09-17 02:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135285760001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789591261000,"timestamp_ms":1789591261000,"timestamp_seconds":1789591261,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf38f48"} 
[2026-09-17 02:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02: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-09-17 02:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:12: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-09-17 02:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135285760001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135285760001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:12:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135285760001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":187440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:12:09] local.INFO: GPS data processed {"connection_id":187440,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:12:09] local.INFO: Acknowledgment sent {"connection_id":187440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:12:42] local.INFO: TCP Data received {"connection_id":187440,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:12:42] local.INFO: Processing buffer {"connection_id":187440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:12:42] local.INFO: Packet analysis {"connection_id":187440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:12:42] local.INFO: Extracted packet for processing {"connection_id":187440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:12: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-09-17 02:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135285760001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789591261000,"timestamp_ms":1789591261000,"timestamp_seconds":1789591261,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf38f48"} 
[2026-09-17 02:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:12: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-09-17 02:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:12:42] 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-09-17 02:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135285760001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135285760001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:12:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135285760001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":187440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:12:42] local.INFO: GPS data processed {"connection_id":187440,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:12:42] local.INFO: Acknowledgment sent {"connection_id":187440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:12:59] local.INFO: TCP Data received {"connection_id":187441,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:12:59] local.INFO: Processing buffer {"connection_id":187441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:12:59] local.INFO: IMEI packet received {"connection_id":187441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":187441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:13:04] local.INFO: TCP Data received {"connection_id":187441,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:13:04] local.INFO: Processing buffer {"connection_id":187441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:13:04] local.INFO: IMEI packet received {"connection_id":187441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":187441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:13:17] local.INFO: TCP Data received {"connection_id":187441,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:13:17] local.INFO: Processing buffer {"connection_id":187441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:13:17] local.INFO: Packet analysis {"connection_id":187441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:13:17] local.INFO: Extracted packet for processing {"connection_id":187441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135285760001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789591261000,"timestamp_ms":1789591261000,"timestamp_seconds":1789591261,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf38f48"} 
[2026-09-17 02:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:13: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-09-17 02:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135285760001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135285760001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:13:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135285760001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":187441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:13:17] local.INFO: GPS data processed {"connection_id":187441,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:13:17] local.INFO: Acknowledgment sent {"connection_id":187441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:14:04] local.INFO: TCP Data received {"connection_id":184701,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:14:04] local.INFO: Processing buffer {"connection_id":184701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:14:04] local.INFO: IMEI packet received {"connection_id":184701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":184701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:14:09] local.INFO: TCP Data received {"connection_id":184701,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:14:09] local.INFO: Processing buffer {"connection_id":184701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:14:09] local.INFO: IMEI packet received {"connection_id":184701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":184701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:14:10] local.INFO: TCP Data received {"connection_id":184701,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:14:10] local.INFO: Processing buffer {"connection_id":184701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:14:10] local.INFO: Packet analysis {"connection_id":184701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:14:10] local.INFO: Extracted packet for processing {"connection_id":184701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135285760001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789591261000,"timestamp_ms":1789591261000,"timestamp_seconds":1789591261,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf38f48"} 
[2026-09-17 02:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:14: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-09-17 02:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135285760001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135285760001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:14:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135285760001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":184701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:14:10] local.INFO: GPS data processed {"connection_id":184701,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:14:10] local.INFO: Acknowledgment sent {"connection_id":184701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:14:43] local.INFO: TCP Data received {"connection_id":184701,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:14:43] local.INFO: Processing buffer {"connection_id":184701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:14:43] local.INFO: Packet analysis {"connection_id":184701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:14:43] local.INFO: Extracted packet for processing {"connection_id":184701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02: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-09-17 02:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135285760001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789591261000,"timestamp_ms":1789591261000,"timestamp_seconds":1789591261,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf38f48"} 
[2026-09-17 02:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:14:44] 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-09-17 02:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135285760001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135285760001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:14:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135285760001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":184701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:14:44] local.INFO: GPS data processed {"connection_id":184701,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:14:44] local.INFO: Acknowledgment sent {"connection_id":184701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:15:04] local.INFO: TCP Data received {"connection_id":187443,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:15:04] local.INFO: Processing buffer {"connection_id":187443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:15:04] local.INFO: IMEI packet received {"connection_id":187443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":187443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:15:15] local.INFO: TCP Data received {"connection_id":187443,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:15:15] local.INFO: Processing buffer {"connection_id":187443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:15:15] local.INFO: IMEI packet received {"connection_id":187443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":187443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:15:16] local.INFO: TCP Data received {"connection_id":186120,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:15:16] local.INFO: Processing buffer {"connection_id":186120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:15:16] local.INFO: IMEI packet received {"connection_id":186120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":186120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:15:22] local.INFO: TCP Data received {"connection_id":187443,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:15:22] local.INFO: Processing buffer {"connection_id":187443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:15:22] local.INFO: Packet analysis {"connection_id":187443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:15:22] local.INFO: Extracted packet for processing {"connection_id":187443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:15:22] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135285760001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789591261000,"timestamp_ms":1789591261000,"timestamp_seconds":1789591261,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf38f48"} 
[2026-09-17 02:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:15:22] 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-09-17 02:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135285760001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135285760001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:15:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135285760001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":187443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:15:22] local.INFO: GPS data processed {"connection_id":187443,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:15:22] local.INFO: Acknowledgment sent {"connection_id":187443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:15:51] local.INFO: TCP Data received {"connection_id":184809,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:15:51] local.INFO: Processing buffer {"connection_id":184809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:15:51] local.INFO: IMEI packet received {"connection_id":184809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":184809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:16:04] local.INFO: TCP Data received {"connection_id":186121,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:16:04] local.INFO: Processing buffer {"connection_id":186121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:16:04] local.INFO: IMEI packet received {"connection_id":186121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":186121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:16:11] local.INFO: TCP Data received {"connection_id":186121,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:16:11] local.INFO: Processing buffer {"connection_id":186121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:16:11] local.INFO: IMEI packet received {"connection_id":186121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":186121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:16:12] local.INFO: TCP Data received {"connection_id":186121,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:16:12] local.INFO: Processing buffer {"connection_id":186121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:16:12] local.INFO: Packet analysis {"connection_id":186121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:16:12] local.INFO: Extracted packet for processing {"connection_id":186121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135285760001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789591261000,"timestamp_ms":1789591261000,"timestamp_seconds":1789591261,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf38f48"} 
[2026-09-17 02:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:16:12] 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-09-17 02:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135285760001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135285760001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:16:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:16:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135285760001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":186121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:16:12] local.INFO: GPS data processed {"connection_id":186121,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:16:12] local.INFO: Acknowledgment sent {"connection_id":186121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:16:15] local.INFO: TCP Data received {"connection_id":186121,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:16:15] local.INFO: Processing buffer {"connection_id":186121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf38f48012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:16:15] local.INFO: Packet analysis {"connection_id":186121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:16:15] local.INFO: Extracted packet for processing {"connection_id":186121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf3"} 
[2026-09-17 02:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135285760001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789591261000,"timestamp_ms":1789591261000,"timestamp_seconds":1789591261,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf38f48"} 
[2026-09-17 02:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:16: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-09-17 02:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135285760001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135285760001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:16:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135285760001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":186121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:16:15] local.INFO: GPS data processed {"connection_id":186121,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:16:15] local.INFO: Acknowledgment sent {"connection_id":186121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:17:04] local.INFO: TCP Data received {"connection_id":184810,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:17:04] local.INFO: Processing buffer {"connection_id":184810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:17:04] local.INFO: IMEI packet received {"connection_id":184810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":184810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:17:10] local.INFO: TCP Data received {"connection_id":184810,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:17:10] local.INFO: Processing buffer {"connection_id":184810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:17:10] local.INFO: IMEI packet received {"connection_id":184810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":184810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:17:12] local.INFO: TCP Data received {"connection_id":184810,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:17:12] local.INFO: Processing buffer {"connection_id":184810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:17:12] local.INFO: Packet analysis {"connection_id":184810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf8"} 
[2026-09-17 02:17:12] local.INFO: Extracted packet for processing {"connection_id":184810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf8"} 
[2026-09-17 02:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135362816001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789591562000,"timestamp_ms":1789591562000,"timestamp_seconds":1789591562,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf82710"} 
[2026-09-17 02:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":184810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":184810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":184810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:17:12] 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-09-17 02:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135362816001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135362816001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:17:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:17:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135362816001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":184810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:17:12] local.INFO: GPS data processed {"connection_id":184810,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:17:12] local.INFO: Acknowledgment sent {"connection_id":184810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:17:45] local.INFO: TCP Data received {"connection_id":184810,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:17:45] local.INFO: Processing buffer {"connection_id":184810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:17:45] local.INFO: Packet analysis {"connection_id":184810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf8"} 
[2026-09-17 02:17:45] local.INFO: Extracted packet for processing {"connection_id":184810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf8"} 
[2026-09-17 02:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135362816001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789591562000,"timestamp_ms":1789591562000,"timestamp_seconds":1789591562,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf82710"} 
[2026-09-17 02:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":184810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":184810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":184810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:17: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-09-17 02:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135362816001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135362816001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:17:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135362816001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":184810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:17:45] local.INFO: GPS data processed {"connection_id":184810,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:17:45] local.INFO: Acknowledgment sent {"connection_id":184810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:18:04] local.INFO: TCP Data received {"connection_id":187444,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:18:04] local.INFO: Processing buffer {"connection_id":187444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:18:04] local.INFO: IMEI packet received {"connection_id":187444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":187444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:18:09] local.INFO: TCP Data received {"connection_id":187444,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:18:09] local.INFO: Processing buffer {"connection_id":187444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:18:09] local.INFO: IMEI packet received {"connection_id":187444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":187444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:18:10] local.INFO: TCP Data received {"connection_id":187444,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:18:10] local.INFO: Processing buffer {"connection_id":187444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:18:10] local.INFO: Packet analysis {"connection_id":187444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf8"} 
[2026-09-17 02:18:10] local.INFO: Extracted packet for processing {"connection_id":187444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf8"} 
[2026-09-17 02:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135362816001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789591562000,"timestamp_ms":1789591562000,"timestamp_seconds":1789591562,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf82710"} 
[2026-09-17 02:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:18: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-09-17 02:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135362816001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135362816001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:18:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135362816001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":187444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:18:10] local.INFO: GPS data processed {"connection_id":187444,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:18:10] local.INFO: Acknowledgment sent {"connection_id":187444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:18:15] local.INFO: TCP Data received {"connection_id":187444,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:18:15] local.INFO: Processing buffer {"connection_id":187444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abf82710012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:18:15] local.INFO: Packet analysis {"connection_id":187444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abf8"} 
[2026-09-17 02:18:15] local.INFO: Extracted packet for processing {"connection_id":187444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abf8"} 
[2026-09-17 02:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135362816001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789591562000,"timestamp_ms":1789591562000,"timestamp_seconds":1789591562,"priority":1,"record_length":96,"hex_timestamp":"000001a0abf82710"} 
[2026-09-17 02:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:18: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-09-17 02:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135362816001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135362816001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:18:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135362816001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":187444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:18:15] local.INFO: GPS data processed {"connection_id":187444,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:18:15] local.INFO: Acknowledgment sent {"connection_id":187444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:19:15] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:19:15] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:19:15] local.INFO: IMEI packet received {"connection_id":186123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":186123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:19:22] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:19:22] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:19:22] local.INFO: IMEI packet received {"connection_id":186123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":186123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:19:23] local.INFO: TCP Data received {"connection_id":186123,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 02:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186123,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 02:19:23] local.INFO: Processing buffer {"connection_id":186123,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 02:19:23] local.INFO: IMEI packet received {"connection_id":186123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":186123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:21:16] local.INFO: TCP Data received {"connection_id":186125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:21:16] local.INFO: Processing buffer {"connection_id":186125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:21:16] local.INFO: IMEI packet received {"connection_id":186125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":186125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:21:56] local.INFO: TCP Data received {"connection_id":184704,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:21:56] local.INFO: Processing buffer {"connection_id":184704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:21:56] local.INFO: IMEI packet received {"connection_id":184704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":184704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:24:30] local.INFO: TCP Data received {"connection_id":184813,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:24:30] local.INFO: Processing buffer {"connection_id":184813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:24:30] local.INFO: IMEI packet received {"connection_id":184813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":184813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:24:32] local.INFO: TCP Data received {"connection_id":184813,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:24:32] local.INFO: Processing buffer {"connection_id":184813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:24:32] local.INFO: Packet analysis {"connection_id":184813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abfc"} 
[2026-09-17 02:24:32] local.INFO: Extracted packet for processing {"connection_id":184813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abfc"} 
[2026-09-17 02:24:32] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135439872001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789591863000,"timestamp_ms":1789591863000,"timestamp_seconds":1789591863,"priority":1,"record_length":96,"hex_timestamp":"000001a0abfcbed8"} 
[2026-09-17 02:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":184813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":184813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":184813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:24:32] 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-09-17 02:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135439872001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135439872001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:24:32] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135439872001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":184813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:24:32] local.INFO: GPS data processed {"connection_id":184813,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:24:32] local.INFO: Acknowledgment sent {"connection_id":184813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:25:14] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:25:14] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:25:14] local.INFO: IMEI packet received {"connection_id":186128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":186128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:25:19] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:25:19] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:25:19] local.INFO: IMEI packet received {"connection_id":186128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":186128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:25:22] local.INFO: TCP Data received {"connection_id":186128,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:25:22] local.INFO: Processing buffer {"connection_id":186128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:25:22] local.INFO: Packet analysis {"connection_id":186128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abfc"} 
[2026-09-17 02:25:22] local.INFO: Extracted packet for processing {"connection_id":186128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abfc"} 
[2026-09-17 02:25:22] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135439872001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789591863000,"timestamp_ms":1789591863000,"timestamp_seconds":1789591863,"priority":1,"record_length":96,"hex_timestamp":"000001a0abfcbed8"} 
[2026-09-17 02:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:25:22] 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-09-17 02:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135439872001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135439872001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:25:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:25:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135439872001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":186128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:25:22] local.INFO: GPS data processed {"connection_id":186128,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:25:22] local.INFO: Acknowledgment sent {"connection_id":186128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:26:19] local.INFO: TCP Data received {"connection_id":186130,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:26:19] local.INFO: Processing buffer {"connection_id":186130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:26:19] local.INFO: IMEI packet received {"connection_id":186130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":186130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:26:20] local.INFO: TCP Data received {"connection_id":186130,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:26:20] local.INFO: Processing buffer {"connection_id":186130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:26:20] local.INFO: IMEI packet received {"connection_id":186130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":186130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:26:23] local.INFO: TCP Data received {"connection_id":186130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:26:23] local.INFO: Processing buffer {"connection_id":186130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:26:23] local.INFO: Packet analysis {"connection_id":186130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abfc"} 
[2026-09-17 02:26:23] local.INFO: Extracted packet for processing {"connection_id":186130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abfc"} 
[2026-09-17 02:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135439872001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789591863000,"timestamp_ms":1789591863000,"timestamp_seconds":1789591863,"priority":1,"record_length":96,"hex_timestamp":"000001a0abfcbed8"} 
[2026-09-17 02:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:26:23] 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-09-17 02:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135439872001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135439872001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:26:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135439872001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":186130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:26:23] local.INFO: GPS data processed {"connection_id":186130,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:26:23] local.INFO: Acknowledgment sent {"connection_id":186130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:26:25] local.INFO: TCP Data received {"connection_id":186130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:26:25] local.INFO: Processing buffer {"connection_id":186130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0abfcbed8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:26:25] local.INFO: Packet analysis {"connection_id":186130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0abfc"} 
[2026-09-17 02:26:25] local.INFO: Extracted packet for processing {"connection_id":186130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0abfc"} 
[2026-09-17 02:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135439872001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789591863000,"timestamp_ms":1789591863000,"timestamp_seconds":1789591863,"priority":1,"record_length":96,"hex_timestamp":"000001a0abfcbed8"} 
[2026-09-17 02:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:26:25] 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-09-17 02:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135439872001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135439872001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:26:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135439872001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":186130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:26:25] local.INFO: GPS data processed {"connection_id":186130,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:26:25] local.INFO: Acknowledgment sent {"connection_id":186130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:27:10] local.INFO: TCP Data received {"connection_id":184814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:27:10] local.INFO: Processing buffer {"connection_id":184814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:27:10] local.INFO: IMEI packet received {"connection_id":184814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":184814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:27:15] local.INFO: TCP Data received {"connection_id":184814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:27:15] local.INFO: Processing buffer {"connection_id":184814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:27:15] local.INFO: IMEI packet received {"connection_id":184814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":184814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:27:16] local.INFO: TCP Data received {"connection_id":184814,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:27:16] local.INFO: Processing buffer {"connection_id":184814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:27:16] local.INFO: Packet analysis {"connection_id":184814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:27:16] local.INFO: Extracted packet for processing {"connection_id":184814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135516928001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789592164000,"timestamp_ms":1789592164000,"timestamp_seconds":1789592164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0156a0"} 
[2026-09-17 02:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:27:16] 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-09-17 02:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135516928001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135516928001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:27:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135516928001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":184814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:27:16] local.INFO: GPS data processed {"connection_id":184814,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:27:16] local.INFO: Acknowledgment sent {"connection_id":184814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:27:26] local.INFO: TCP Data received {"connection_id":184814,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:27:26] local.INFO: Processing buffer {"connection_id":184814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:27:26] local.INFO: Packet analysis {"connection_id":184814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:27:26] local.INFO: Extracted packet for processing {"connection_id":184814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:27:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135516928001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789592164000,"timestamp_ms":1789592164000,"timestamp_seconds":1789592164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0156a0"} 
[2026-09-17 02:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":184814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":184814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":184814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:27:26] 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-09-17 02:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135516928001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135516928001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:27:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:27:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135516928001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":184814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:27:26] local.INFO: GPS data processed {"connection_id":184814,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:27:26] local.INFO: Acknowledgment sent {"connection_id":184814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:27:26] local.INFO: TCP Data received {"connection_id":186131,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:27:26] local.INFO: Processing buffer {"connection_id":186131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:27:26] local.INFO: IMEI packet received {"connection_id":186131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":186131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:27:51] local.INFO: TCP Data received {"connection_id":187446,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:27:51] local.INFO: Processing buffer {"connection_id":187446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:27:51] local.INFO: IMEI packet received {"connection_id":187446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":187446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:27:59] local.INFO: TCP Data received {"connection_id":187447,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:27:59] local.INFO: Processing buffer {"connection_id":187447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:27:59] local.INFO: IMEI packet received {"connection_id":187447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":187447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:28:07] local.INFO: TCP Data received {"connection_id":187447,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:28:07] local.INFO: Processing buffer {"connection_id":187447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:28:07] local.INFO: IMEI packet received {"connection_id":187447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":187447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:28:09] local.INFO: TCP Data received {"connection_id":187447,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:28:09] local.INFO: Processing buffer {"connection_id":187447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:28:09] local.INFO: Packet analysis {"connection_id":187447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:28:09] local.INFO: Extracted packet for processing {"connection_id":187447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 02:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135516928001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789592164000,"timestamp_ms":1789592164000,"timestamp_seconds":1789592164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0156a0"} 
[2026-09-17 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-09-17 02:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 02:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:28: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-09-17 02:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135516928001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135516928001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:28:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135516928001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":187447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:28:09] local.INFO: GPS data processed {"connection_id":187447,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:28:09] local.INFO: Acknowledgment sent {"connection_id":187447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:28:47] local.INFO: TCP Data received {"connection_id":187447,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:28:47] local.INFO: Processing buffer {"connection_id":187447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:28:47] local.INFO: Packet analysis {"connection_id":187447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:28:47] local.INFO: Extracted packet for processing {"connection_id":187447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135516928001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789592164000,"timestamp_ms":1789592164000,"timestamp_seconds":1789592164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0156a0"} 
[2026-09-17 02:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:28:47] 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-09-17 02:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135516928001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135516928001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:28:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135516928001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":187447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:28:47] local.INFO: GPS data processed {"connection_id":187447,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:28:47] local.INFO: Acknowledgment sent {"connection_id":187447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:28:59] local.INFO: TCP Data received {"connection_id":184707,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:28:59] local.INFO: Processing buffer {"connection_id":184707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:28:59] local.INFO: IMEI packet received {"connection_id":184707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":184707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:29:04] local.INFO: TCP Data received {"connection_id":184707,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:29:04] local.INFO: Processing buffer {"connection_id":184707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:29:04] local.INFO: IMEI packet received {"connection_id":184707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":184707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:29:05] local.INFO: TCP Data received {"connection_id":184707,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:29:05] local.INFO: Processing buffer {"connection_id":184707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:29:05] local.INFO: Packet analysis {"connection_id":184707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:29:05] local.INFO: Extracted packet for processing {"connection_id":184707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135516928001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789592164000,"timestamp_ms":1789592164000,"timestamp_seconds":1789592164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0156a0"} 
[2026-09-17 02:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:29:05] 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-09-17 02:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135516928001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135516928001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:29:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135516928001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":184707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:29:05] local.INFO: GPS data processed {"connection_id":184707,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:29:05] local.INFO: Acknowledgment sent {"connection_id":184707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:29:40] local.INFO: TCP Data received {"connection_id":184707,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:29:40] local.INFO: Processing buffer {"connection_id":184707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:29:40] local.INFO: Packet analysis {"connection_id":184707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:29:40] local.INFO: Extracted packet for processing {"connection_id":184707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 02:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135516928001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789592164000,"timestamp_ms":1789592164000,"timestamp_seconds":1789592164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0156a0"} 
[2026-09-17 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-09-17 02:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 02:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":184707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":184707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":184707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:29: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-09-17 02:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135516928001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135516928001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:29:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:29:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135516928001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":184707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:29:40] local.INFO: GPS data processed {"connection_id":184707,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:29:40] local.INFO: Acknowledgment sent {"connection_id":184707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:30:05] local.INFO: TCP Data received {"connection_id":184816,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:30:05] local.INFO: Processing buffer {"connection_id":184816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:30:05] local.INFO: IMEI packet received {"connection_id":184816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":184816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:30:09] local.INFO: TCP Data received {"connection_id":184816,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:30:09] local.INFO: Processing buffer {"connection_id":184816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:30:09] local.INFO: IMEI packet received {"connection_id":184816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":184816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:30:12] local.INFO: TCP Data received {"connection_id":184816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:30:12] local.INFO: Processing buffer {"connection_id":184816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:30:12] local.INFO: Packet analysis {"connection_id":184816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:30:12] local.INFO: Extracted packet for processing {"connection_id":184816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135516928001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789592164000,"timestamp_ms":1789592164000,"timestamp_seconds":1789592164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0156a0"} 
[2026-09-17 02:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":184816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":184816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":184816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:30:12] 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-09-17 02:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135516928001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135516928001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:30:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:30:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135516928001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":184816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:30:12] local.INFO: GPS data processed {"connection_id":184816,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:30:12] local.INFO: Acknowledgment sent {"connection_id":184816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:30:37] local.INFO: TCP Data received {"connection_id":184816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:30:37] local.INFO: Processing buffer {"connection_id":184816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:30:37] local.INFO: Packet analysis {"connection_id":184816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:30:37] local.INFO: Extracted packet for processing {"connection_id":184816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135516928001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789592164000,"timestamp_ms":1789592164000,"timestamp_seconds":1789592164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0156a0"} 
[2026-09-17 02:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:30:37] 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-09-17 02:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135516928001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135516928001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:30:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135516928001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":184816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:30:37] local.INFO: GPS data processed {"connection_id":184816,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:30:37] local.INFO: Acknowledgment sent {"connection_id":184816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:30:59] local.INFO: TCP Data received {"connection_id":187449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:30:59] local.INFO: Processing buffer {"connection_id":187449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:30:59] local.INFO: IMEI packet received {"connection_id":187449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":187449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:31:08] local.INFO: TCP Data received {"connection_id":187449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:31:08] local.INFO: Processing buffer {"connection_id":187449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:31:08] local.INFO: IMEI packet received {"connection_id":187449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":187449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:31:16] local.INFO: TCP Data received {"connection_id":187449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:31:16] local.INFO: Processing buffer {"connection_id":187449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0156a0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:31:16] local.INFO: Packet analysis {"connection_id":187449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:31:16] local.INFO: Extracted packet for processing {"connection_id":187449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac01"} 
[2026-09-17 02:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135516928001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789592164000,"timestamp_ms":1789592164000,"timestamp_seconds":1789592164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0156a0"} 
[2026-09-17 02:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:31:16] 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-09-17 02:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135516928001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135516928001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:31:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135516928001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":187449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:31:16] local.INFO: GPS data processed {"connection_id":187449,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:31:16] local.INFO: Acknowledgment sent {"connection_id":187449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:32:24] local.INFO: TCP Data received {"connection_id":187451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:32:24] local.INFO: Processing buffer {"connection_id":187451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:32:24] local.INFO: IMEI packet received {"connection_id":187451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":187451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:32:29] local.INFO: TCP Data received {"connection_id":187451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:32:29] local.INFO: Processing buffer {"connection_id":187451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:32:29] local.INFO: IMEI packet received {"connection_id":187451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":187451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:32:31] local.INFO: TCP Data received {"connection_id":187451,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac05ee68012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac05ee68012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:32:31] local.INFO: Processing buffer {"connection_id":187451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac05ee68012d34c3c006aa4458000c01172c..."} 
[2026-09-17 02:32:31] local.INFO: Packet analysis {"connection_id":187451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac05"} 
[2026-09-17 02:32:31] local.INFO: Extracted packet for processing {"connection_id":187451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac05"} 
[2026-09-17 02:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135593984001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789592465000,"timestamp_ms":1789592465000,"timestamp_seconds":1789592465,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac05ee68"} 
[2026-09-17 02:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:32:31] 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-09-17 02:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135593984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135593984001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:32:31] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135593984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":187451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:32:31] local.INFO: GPS data processed {"connection_id":187451,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:32:31] local.INFO: Acknowledgment sent {"connection_id":187451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:33:05] local.INFO: TCP Data received {"connection_id":186133,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:33:05] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:33:05] local.INFO: IMEI packet received {"connection_id":186133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":186133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:33:14] local.INFO: TCP Data received {"connection_id":186133,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:33:14] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:33:14] local.INFO: IMEI packet received {"connection_id":186133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":186133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:33:21] local.INFO: TCP Data received {"connection_id":184817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:33:21] local.INFO: Processing buffer {"connection_id":184817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:33:21] local.INFO: IMEI packet received {"connection_id":184817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":184817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:33:40] local.INFO: TCP Data received {"connection_id":186133,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:33:40] local.INFO: Processing buffer {"connection_id":186133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:33:40] local.INFO: IMEI packet received {"connection_id":186133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":186133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:33:51] local.INFO: TCP Data received {"connection_id":186134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:33:51] local.INFO: Processing buffer {"connection_id":186134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:33:51] local.INFO: IMEI packet received {"connection_id":186134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":186134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:34:04] local.INFO: TCP Data received {"connection_id":184818,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:34:04] local.INFO: Processing buffer {"connection_id":184818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:34:04] local.INFO: IMEI packet received {"connection_id":184818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":184818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:39:09] local.INFO: TCP Data received {"connection_id":186137,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:39:09] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:39:09] local.INFO: IMEI packet received {"connection_id":186137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:39:16] local.INFO: TCP Data received {"connection_id":184709,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:39:16] local.INFO: Processing buffer {"connection_id":184709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:39:16] local.INFO: IMEI packet received {"connection_id":184709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":184709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:39:21] local.INFO: TCP Data received {"connection_id":186137,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:39:21] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:39:21] local.INFO: IMEI packet received {"connection_id":186137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":186137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:39:28] local.INFO: TCP Data received {"connection_id":186137,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:39:28] local.INFO: Processing buffer {"connection_id":186137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:39:28] local.INFO: Packet analysis {"connection_id":186137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0a"} 
[2026-09-17 02:39:28] local.INFO: Extracted packet for processing {"connection_id":186137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0a"} 
[2026-09-17 02:39:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135671040001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789592766000,"timestamp_ms":1789592766000,"timestamp_seconds":1789592766,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0a8630"} 
[2026-09-17 02:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:39:28] 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-09-17 02:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135671040001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135671040001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:39:28] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:39:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135671040001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":186137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:39:28] local.INFO: GPS data processed {"connection_id":186137,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:39:28] local.INFO: Acknowledgment sent {"connection_id":186137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:39:51] local.INFO: TCP Data received {"connection_id":184823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:39:51] local.INFO: Processing buffer {"connection_id":184823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:39:51] local.INFO: IMEI packet received {"connection_id":184823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":184823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:40:08] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:40:08] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:40:08] local.INFO: IMEI packet received {"connection_id":186138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":186138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:40:09] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:40:09] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:40:09] local.INFO: IMEI packet received {"connection_id":186138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":186138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:40:14] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:40:14] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:40:14] local.INFO: IMEI packet received {"connection_id":186138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":186138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:40:16] local.INFO: TCP Data received {"connection_id":186138,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:40:16] local.INFO: Processing buffer {"connection_id":186138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:40:16] local.INFO: Packet analysis {"connection_id":186138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0a"} 
[2026-09-17 02:40:16] local.INFO: Extracted packet for processing {"connection_id":186138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0a"} 
[2026-09-17 02:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135671040001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789592766000,"timestamp_ms":1789592766000,"timestamp_seconds":1789592766,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0a8630"} 
[2026-09-17 02:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:40:16] 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-09-17 02:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135671040001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135671040001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:40:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135671040001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":186138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:40:16] local.INFO: GPS data processed {"connection_id":186138,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:40:16] local.INFO: Acknowledgment sent {"connection_id":186138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:41:10] local.INFO: TCP Data received {"connection_id":184825,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:41:10] local.INFO: Processing buffer {"connection_id":184825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:41:10] local.INFO: IMEI packet received {"connection_id":184825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":184825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:41:11] local.INFO: TCP Data received {"connection_id":184825,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:41:11] local.INFO: Processing buffer {"connection_id":184825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:41:11] local.INFO: IMEI packet received {"connection_id":184825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":184825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:41:13] local.INFO: TCP Data received {"connection_id":184825,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:41:13] local.INFO: Processing buffer {"connection_id":184825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:41:13] local.INFO: Packet analysis {"connection_id":184825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0a"} 
[2026-09-17 02:41:13] local.INFO: Extracted packet for processing {"connection_id":184825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0a"} 
[2026-09-17 02:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135671040001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789592766000,"timestamp_ms":1789592766000,"timestamp_seconds":1789592766,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0a8630"} 
[2026-09-17 02:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:41:13] 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-09-17 02:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135671040001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135671040001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:41:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135671040001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":184825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:41:13] local.INFO: GPS data processed {"connection_id":184825,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:41:13] local.INFO: Acknowledgment sent {"connection_id":184825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:41:15] local.INFO: TCP Data received {"connection_id":184825,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:41:15] local.INFO: Processing buffer {"connection_id":184825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0a8630012d34c3c006aa4458000c01172d..."} 
[2026-09-17 02:41:15] local.INFO: Packet analysis {"connection_id":184825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0a"} 
[2026-09-17 02:41:15] local.INFO: Extracted packet for processing {"connection_id":184825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0a"} 
[2026-09-17 02:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135671040001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789592766000,"timestamp_ms":1789592766000,"timestamp_seconds":1789592766,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0a8630"} 
[2026-09-17 02:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:41:15] 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-09-17 02:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135671040001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135671040001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:41:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135671040001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":184825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:41:15] local.INFO: GPS data processed {"connection_id":184825,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:41:15] local.INFO: Acknowledgment sent {"connection_id":184825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:42:09] local.INFO: TCP Data received {"connection_id":184710,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:42:09] local.INFO: Processing buffer {"connection_id":184710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:42:09] local.INFO: IMEI packet received {"connection_id":184710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":184710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:42:16] local.INFO: TCP Data received {"connection_id":184710,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:42:16] local.INFO: Processing buffer {"connection_id":184710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:42:16] local.INFO: IMEI packet received {"connection_id":184710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":184710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:42:19] local.INFO: TCP Data received {"connection_id":184710,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:42:19] local.INFO: Processing buffer {"connection_id":184710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:42:19] local.INFO: Packet analysis {"connection_id":184710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:42:19] local.INFO: Extracted packet for processing {"connection_id":184710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135748096001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789593067000,"timestamp_ms":1789593067000,"timestamp_seconds":1789593067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0f1df8"} 
[2026-09-17 02:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":184710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":184710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":184710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:42:19] 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-09-17 02:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135748096001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135748096001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:42:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135748096001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":184710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:42:19] local.INFO: GPS data processed {"connection_id":184710,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:42:19] local.INFO: Acknowledgment sent {"connection_id":184710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:43:12] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:43:12] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:43:12] local.INFO: IMEI packet received {"connection_id":186139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":186139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:43:13] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:43:13] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:43:13] local.INFO: IMEI packet received {"connection_id":186139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":186139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:43:30] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:43:30] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:43:30] local.INFO: Packet analysis {"connection_id":186139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:43:30] local.INFO: Extracted packet for processing {"connection_id":186139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135748096001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789593067000,"timestamp_ms":1789593067000,"timestamp_seconds":1789593067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0f1df8"} 
[2026-09-17 02:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:43:30] 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-09-17 02:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135748096001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135748096001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:43:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135748096001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":186139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:43:30] local.INFO: GPS data processed {"connection_id":186139,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:43:30] local.INFO: Acknowledgment sent {"connection_id":186139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:43:31] local.INFO: TCP Data received {"connection_id":186139,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:43:31] local.INFO: Processing buffer {"connection_id":186139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:43:31] local.INFO: Packet analysis {"connection_id":186139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:43:31] local.INFO: Extracted packet for processing {"connection_id":186139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135748096001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789593067000,"timestamp_ms":1789593067000,"timestamp_seconds":1789593067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0f1df8"} 
[2026-09-17 02:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:43:31] 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-09-17 02:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135748096001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135748096001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:43:31] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135748096001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":186139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:43:31] local.INFO: GPS data processed {"connection_id":186139,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:43:31] local.INFO: Acknowledgment sent {"connection_id":186139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:44:04] local.INFO: TCP Data received {"connection_id":184828,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:44:04] local.INFO: Processing buffer {"connection_id":184828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:44:04] local.INFO: IMEI packet received {"connection_id":184828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":184828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:44:09] local.INFO: TCP Data received {"connection_id":184828,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:44:09] local.INFO: Processing buffer {"connection_id":184828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:44:09] local.INFO: IMEI packet received {"connection_id":184828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":184828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:44:10] local.INFO: TCP Data received {"connection_id":184828,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:44:10] local.INFO: Processing buffer {"connection_id":184828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:44:10] local.INFO: Packet analysis {"connection_id":184828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:44:10] local.INFO: Extracted packet for processing {"connection_id":184828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:44: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-09-17 02:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135748096001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789593067000,"timestamp_ms":1789593067000,"timestamp_seconds":1789593067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0f1df8"} 
[2026-09-17 02:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:44: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-09-17 02:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:44:10] 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-09-17 02:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135748096001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135748096001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:44:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135748096001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":184828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:44:10] local.INFO: GPS data processed {"connection_id":184828,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:44:10] local.INFO: Acknowledgment sent {"connection_id":184828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:44:15] local.INFO: TCP Data received {"connection_id":184828,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:44:15] local.INFO: Processing buffer {"connection_id":184828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:44:15] local.INFO: Packet analysis {"connection_id":184828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:44:15] local.INFO: Extracted packet for processing {"connection_id":184828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135748096001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789593067000,"timestamp_ms":1789593067000,"timestamp_seconds":1789593067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0f1df8"} 
[2026-09-17 02:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:44:15] 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-09-17 02:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135748096001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135748096001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:44:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135748096001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":184828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:44:15] local.INFO: GPS data processed {"connection_id":184828,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:44:15] local.INFO: Acknowledgment sent {"connection_id":184828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:45:06] local.INFO: TCP Data received {"connection_id":187454,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:45:06] local.INFO: Processing buffer {"connection_id":187454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:45:06] local.INFO: IMEI packet received {"connection_id":187454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":187454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:45:12] local.INFO: TCP Data received {"connection_id":184829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:45:12] local.INFO: Processing buffer {"connection_id":184829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:45:12] local.INFO: IMEI packet received {"connection_id":184829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":184829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:45:21] local.INFO: TCP Data received {"connection_id":184829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:45:21] local.INFO: Processing buffer {"connection_id":184829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:45:21] local.INFO: IMEI packet received {"connection_id":184829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":184829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:45:28] local.INFO: TCP Data received {"connection_id":184829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:45:28] local.INFO: Processing buffer {"connection_id":184829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:45:28] local.INFO: Packet analysis {"connection_id":184829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:45:28] local.INFO: Extracted packet for processing {"connection_id":184829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:45:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135748096001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789593067000,"timestamp_ms":1789593067000,"timestamp_seconds":1789593067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0f1df8"} 
[2026-09-17 02:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":184829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":184829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":184829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:45:28] 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-09-17 02:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135748096001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135748096001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:45:28] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:45:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135748096001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":184829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:45:28] local.INFO: GPS data processed {"connection_id":184829,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:45:28] local.INFO: Acknowledgment sent {"connection_id":184829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:45:29] local.INFO: TCP Data received {"connection_id":184829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:45:30] local.INFO: Processing buffer {"connection_id":184829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:45:30] local.INFO: Packet analysis {"connection_id":184829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:45:30] local.INFO: Extracted packet for processing {"connection_id":184829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135748096001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789593067000,"timestamp_ms":1789593067000,"timestamp_seconds":1789593067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0f1df8"} 
[2026-09-17 02:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":184829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":184829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":184829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:45:30] 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-09-17 02:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135748096001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135748096001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:45:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135748096001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":184829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:45:30] local.INFO: GPS data processed {"connection_id":184829,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:45:30] local.INFO: Acknowledgment sent {"connection_id":184829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:45:51] local.INFO: TCP Data received {"connection_id":187455,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:45:51] local.INFO: Processing buffer {"connection_id":187455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:45:51] local.INFO: IMEI packet received {"connection_id":187455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":187455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:45:59] local.INFO: TCP Data received {"connection_id":186140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:45:59] local.INFO: Processing buffer {"connection_id":186140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:45:59] local.INFO: IMEI packet received {"connection_id":186140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":186140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:46:06] local.INFO: TCP Data received {"connection_id":186140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:46:06] local.INFO: Processing buffer {"connection_id":186140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:46:06] local.INFO: IMEI packet received {"connection_id":186140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":186140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:46:11] local.INFO: TCP Data received {"connection_id":186140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:46:11] local.INFO: Processing buffer {"connection_id":186140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:46:11] local.INFO: Packet analysis {"connection_id":186140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:46:11] local.INFO: Extracted packet for processing {"connection_id":186140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135748096001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789593067000,"timestamp_ms":1789593067000,"timestamp_seconds":1789593067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0f1df8"} 
[2026-09-17 02:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:46:11] 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-09-17 02:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135748096001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135748096001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:46:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:46:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135748096001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":186140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:46:11] local.INFO: GPS data processed {"connection_id":186140,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:46:11] local.INFO: Acknowledgment sent {"connection_id":186140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:46:53] local.INFO: TCP Data received {"connection_id":186140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:46:53] local.INFO: Processing buffer {"connection_id":186140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac0f1df8012d34c3c006aa4458000c011730..."} 
[2026-09-17 02:46:53] local.INFO: Packet analysis {"connection_id":186140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:46:53] local.INFO: Extracted packet for processing {"connection_id":186140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac0f"} 
[2026-09-17 02:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135748096001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789593067000,"timestamp_ms":1789593067000,"timestamp_seconds":1789593067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac0f1df8"} 
[2026-09-17 02:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 02:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:46:53] 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-09-17 02:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135748096001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135748096001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:46:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135748096001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":186140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:46:53] local.INFO: GPS data processed {"connection_id":186140,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:46:53] local.INFO: Acknowledgment sent {"connection_id":186140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:47:09] local.INFO: TCP Data received {"connection_id":187456,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:47:09] local.INFO: Processing buffer {"connection_id":187456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:47:09] local.INFO: IMEI packet received {"connection_id":187456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":187456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:47:09] local.INFO: TCP Data received {"connection_id":187456,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:47:09] local.INFO: Processing buffer {"connection_id":187456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:47:09] local.INFO: IMEI packet received {"connection_id":187456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":187456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:47:12] local.INFO: TCP Data received {"connection_id":187456,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:47:12] local.INFO: Processing buffer {"connection_id":187456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:47:12] local.INFO: Packet analysis {"connection_id":187456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:47:12] local.INFO: Extracted packet for processing {"connection_id":187456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:47:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135825152001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789593368000,"timestamp_ms":1789593368000,"timestamp_seconds":1789593368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac13b5c0"} 
[2026-09-17 02:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:47:12] 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-09-17 02:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135825152001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135825152001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:47:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:47:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135825152001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":187456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:47:12] local.INFO: GPS data processed {"connection_id":187456,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:47:12] local.INFO: Acknowledgment sent {"connection_id":187456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:47:16] local.INFO: TCP Data received {"connection_id":187456,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:47:16] local.INFO: Processing buffer {"connection_id":187456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:47:16] local.INFO: Packet analysis {"connection_id":187456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:47:16] local.INFO: Extracted packet for processing {"connection_id":187456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135825152001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789593368000,"timestamp_ms":1789593368000,"timestamp_seconds":1789593368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac13b5c0"} 
[2026-09-17 02:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:47:16] 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-09-17 02:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135825152001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135825152001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:47:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135825152001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":187456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:47:16] local.INFO: GPS data processed {"connection_id":187456,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:47:16] local.INFO: Acknowledgment sent {"connection_id":187456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:47:59] local.INFO: TCP Data received {"connection_id":186143,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:47:59] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:47:59] local.INFO: IMEI packet received {"connection_id":186143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":186143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:48:07] local.INFO: TCP Data received {"connection_id":186143,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:48:07] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:48:07] local.INFO: IMEI packet received {"connection_id":186143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":186143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:48:08] local.INFO: TCP Data received {"connection_id":186143,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:48:08] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:48:08] local.INFO: Packet analysis {"connection_id":186143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:48:08] local.INFO: Extracted packet for processing {"connection_id":186143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135825152001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789593368000,"timestamp_ms":1789593368000,"timestamp_seconds":1789593368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac13b5c0"} 
[2026-09-17 02:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:48: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-09-17 02:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135825152001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135825152001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:48:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135825152001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":186143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:48:08] local.INFO: GPS data processed {"connection_id":186143,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:48:08] local.INFO: Acknowledgment sent {"connection_id":186143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:48:42] local.INFO: TCP Data received {"connection_id":186143,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:48:42] local.INFO: Processing buffer {"connection_id":186143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:48:42] local.INFO: Packet analysis {"connection_id":186143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:48:42] local.INFO: Extracted packet for processing {"connection_id":186143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135825152001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789593368000,"timestamp_ms":1789593368000,"timestamp_seconds":1789593368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac13b5c0"} 
[2026-09-17 02:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:48:42] 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-09-17 02:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135825152001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135825152001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:48:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135825152001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":186143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:48:42] local.INFO: GPS data processed {"connection_id":186143,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:48:42] local.INFO: Acknowledgment sent {"connection_id":186143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:49:04] local.INFO: TCP Data received {"connection_id":184830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:49:04] local.INFO: Processing buffer {"connection_id":184830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:49:04] local.INFO: IMEI packet received {"connection_id":184830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":184830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:49:19] local.INFO: TCP Data received {"connection_id":184830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:49:19] local.INFO: Processing buffer {"connection_id":184830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:49:19] local.INFO: IMEI packet received {"connection_id":184830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":184830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:49:32] local.INFO: TCP Data received {"connection_id":184830,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:49:32] local.INFO: Processing buffer {"connection_id":184830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:49:32] local.INFO: Packet analysis {"connection_id":184830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:49:32] local.INFO: Extracted packet for processing {"connection_id":184830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:49:32] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135825152001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789593368000,"timestamp_ms":1789593368000,"timestamp_seconds":1789593368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac13b5c0"} 
[2026-09-17 02:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":184830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":184830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":184830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:49:32] 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-09-17 02:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135825152001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135825152001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:49:32] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:49:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135825152001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":184830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:49:32] local.INFO: GPS data processed {"connection_id":184830,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:49:32] local.INFO: Acknowledgment sent {"connection_id":184830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:50:09] local.INFO: TCP Data received {"connection_id":187457,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:50:09] local.INFO: Processing buffer {"connection_id":187457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:50:09] local.INFO: IMEI packet received {"connection_id":187457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":187457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:50:14] local.INFO: TCP Data received {"connection_id":187457,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:50:14] local.INFO: Processing buffer {"connection_id":187457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:50:14] local.INFO: IMEI packet received {"connection_id":187457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":187457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:50:23] local.INFO: TCP Data received {"connection_id":187457,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:50:23] local.INFO: Processing buffer {"connection_id":187457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac13b5c0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:50:23] local.INFO: Packet analysis {"connection_id":187457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:50:23] local.INFO: Extracted packet for processing {"connection_id":187457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac13"} 
[2026-09-17 02:50:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135825152001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789593368000,"timestamp_ms":1789593368000,"timestamp_seconds":1789593368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac13b5c0"} 
[2026-09-17 02:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:50:23] 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-09-17 02:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135825152001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135825152001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:50:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:50:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135825152001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":187457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:50:23] local.INFO: GPS data processed {"connection_id":187457,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:50:23] local.INFO: Acknowledgment sent {"connection_id":187457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:51:21] local.INFO: TCP Data received {"connection_id":184713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:51:21] local.INFO: Processing buffer {"connection_id":184713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:51:21] local.INFO: IMEI packet received {"connection_id":184713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":184713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:51:34] local.INFO: TCP Data received {"connection_id":184714,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:51:34] local.INFO: Processing buffer {"connection_id":184714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:51:34] local.INFO: IMEI packet received {"connection_id":184714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":184714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:51:39] local.INFO: TCP Data received {"connection_id":184714,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:51:39] local.INFO: Processing buffer {"connection_id":184714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:51:39] local.INFO: IMEI packet received {"connection_id":184714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":184714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:51:51] local.INFO: TCP Data received {"connection_id":184831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:51:51] local.INFO: Processing buffer {"connection_id":184831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:51:51] local.INFO: IMEI packet received {"connection_id":184831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":184831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:53:04] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:53:04] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:53:04] local.INFO: IMEI packet received {"connection_id":186146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":186146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:53:09] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:53:09] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:53:09] local.INFO: IMEI packet received {"connection_id":186146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":186146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:53:10] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:53:10] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:53:10] local.INFO: Packet analysis {"connection_id":186146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac18"} 
[2026-09-17 02:53:10] local.INFO: Extracted packet for processing {"connection_id":186146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac18"} 
[2026-09-17 02:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135902208001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789593669000,"timestamp_ms":1789593669000,"timestamp_seconds":1789593669,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac184d88"} 
[2026-09-17 02:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:53: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-09-17 02:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135902208001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135902208001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:53:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135902208001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":186146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:53:10] local.INFO: GPS data processed {"connection_id":186146,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:53:10] local.INFO: Acknowledgment sent {"connection_id":186146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:53:44] local.INFO: TCP Data received {"connection_id":186146,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:53:44] local.INFO: Processing buffer {"connection_id":186146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:53:44] local.INFO: Packet analysis {"connection_id":186146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac18"} 
[2026-09-17 02:53:44] local.INFO: Extracted packet for processing {"connection_id":186146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac18"} 
[2026-09-17 02:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02: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-09-17 02:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135902208001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789593669000,"timestamp_ms":1789593669000,"timestamp_seconds":1789593669,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac184d88"} 
[2026-09-17 02:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02: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-09-17 02:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:53:44] 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-09-17 02:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135902208001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135902208001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:53:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135902208001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":186146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:53:44] local.INFO: GPS data processed {"connection_id":186146,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:53:44] local.INFO: Acknowledgment sent {"connection_id":186146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:54:06] local.INFO: TCP Data received {"connection_id":187458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:54:06] local.INFO: Processing buffer {"connection_id":187458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:54:06] local.INFO: IMEI packet received {"connection_id":187458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":187458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:54:09] local.INFO: TCP Data received {"connection_id":187458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:54:09] local.INFO: Processing buffer {"connection_id":187458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:54:09] local.INFO: IMEI packet received {"connection_id":187458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":187458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:54:11] local.INFO: TCP Data received {"connection_id":187458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:54:11] local.INFO: Processing buffer {"connection_id":187458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:54:11] local.INFO: Packet analysis {"connection_id":187458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac18"} 
[2026-09-17 02:54:11] local.INFO: Extracted packet for processing {"connection_id":187458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac18"} 
[2026-09-17 02:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135902208001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789593669000,"timestamp_ms":1789593669000,"timestamp_seconds":1789593669,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac184d88"} 
[2026-09-17 02:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 02:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135902208001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135902208001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:54:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:54:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135902208001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":187458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:54:11] local.INFO: GPS data processed {"connection_id":187458,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:54:11] local.INFO: Acknowledgment sent {"connection_id":187458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:54:32] local.INFO: TCP Data received {"connection_id":187458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:54:32] local.INFO: Processing buffer {"connection_id":187458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac184d88012d34c3c006aa4458000c01172e..."} 
[2026-09-17 02:54:32] local.INFO: Packet analysis {"connection_id":187458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac18"} 
[2026-09-17 02:54:32] local.INFO: Extracted packet for processing {"connection_id":187458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac18"} 
[2026-09-17 02:54:32] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 02:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 02:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135902208001,"note":"Value kept but may cause issues"} 
[2026-09-17 02:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 02:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 02:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 02:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789593669000,"timestamp_ms":1789593669000,"timestamp_seconds":1789593669,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac184d88"} 
[2026-09-17 02:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 02:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 02:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 02:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 02:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 02:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 02:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 02:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 02:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 02:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 02:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 02:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 02:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135902208001,"66":25495,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 02:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 02:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 02:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135902208001,"description":"Unknown IO ID 0"} 
[2026-09-17 02:54:32] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 02:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 02:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 02:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 02:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135902208001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 02:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":187458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 02:54:32] local.INFO: GPS data processed {"connection_id":187458,"processed":1,"errors":0,"total":1} 
[2026-09-17 02:54:32] local.INFO: Acknowledgment sent {"connection_id":187458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 02:55:07] local.INFO: TCP Data received {"connection_id":184833,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:55:07] local.INFO: Processing buffer {"connection_id":184833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:55:07] local.INFO: IMEI packet received {"connection_id":184833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":184833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:55:49] local.INFO: TCP Data received {"connection_id":184833,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 02:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184833,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 02:55:49] local.INFO: Processing buffer {"connection_id":184833,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 02:55:49] local.INFO: IMEI packet received {"connection_id":184833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 02:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":184833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 02:56:09] local.INFO: TCP Data received {"connection_id":184716,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:56:09] local.INFO: Processing buffer {"connection_id":184716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 02:56:09] local.INFO: IMEI packet received {"connection_id":184716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 02:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":184716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:57:06] local.INFO: TCP Data received {"connection_id":187459,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:57:06] local.INFO: Processing buffer {"connection_id":187459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:57:06] local.INFO: IMEI packet received {"connection_id":187459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":187459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 02:57:56] local.INFO: TCP Data received {"connection_id":184718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:57:56] local.INFO: Processing buffer {"connection_id":184718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 02:57:56] local.INFO: IMEI packet received {"connection_id":184718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 02:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":184718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:01:14] local.INFO: TCP Data received {"connection_id":184721,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:01:14] local.INFO: Processing buffer {"connection_id":184721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:01:14] local.INFO: IMEI packet received {"connection_id":184721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":184721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:01:15] local.INFO: TCP Data received {"connection_id":184721,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac1ce550012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac1ce550012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:01:15] local.INFO: Processing buffer {"connection_id":184721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac1ce550012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:01:15] local.INFO: Packet analysis {"connection_id":184721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac1c"} 
[2026-09-17 03:01:15] local.INFO: Extracted packet for processing {"connection_id":184721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac1c"} 
[2026-09-17 03:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458135979264001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789593970000,"timestamp_ms":1789593970000,"timestamp_seconds":1789593970,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac1ce550"} 
[2026-09-17 03:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458135979264001,"66":25419,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 03:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458135979264001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:01:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 03:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458135979264001,"power":25419,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":184721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:01:15] local.INFO: GPS data processed {"connection_id":184721,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:01:15] local.INFO: Acknowledgment sent {"connection_id":184721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:01:59] local.INFO: TCP Data received {"connection_id":184723,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:01:59] local.INFO: Processing buffer {"connection_id":184723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:01:59] local.INFO: IMEI packet received {"connection_id":184723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":184723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:02:04] local.INFO: TCP Data received {"connection_id":184723,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:02:04] local.INFO: Processing buffer {"connection_id":184723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:02:04] local.INFO: IMEI packet received {"connection_id":184723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":184723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:02:05] local.INFO: TCP Data received {"connection_id":184723,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:02:05] local.INFO: Processing buffer {"connection_id":184723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:02:05] local.INFO: Packet analysis {"connection_id":184723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:02:05] local.INFO: Extracted packet for processing {"connection_id":184723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:02:05] 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-09-17 03:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":184723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:02:05] local.INFO: GPS data processed {"connection_id":184723,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:02:05] local.INFO: Acknowledgment sent {"connection_id":184723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:02:36] local.INFO: TCP Data received {"connection_id":184723,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:02:36] local.INFO: Processing buffer {"connection_id":184723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:02:36] local.INFO: Packet analysis {"connection_id":184723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:02:36] local.INFO: Extracted packet for processing {"connection_id":184723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:02:36] 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-09-17 03:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":184723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:02:36] local.INFO: GPS data processed {"connection_id":184723,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:02:36] local.INFO: Acknowledgment sent {"connection_id":184723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:03:00] local.INFO: TCP Data received {"connection_id":186147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:03:00] local.INFO: Processing buffer {"connection_id":186147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:03:00] local.INFO: IMEI packet received {"connection_id":186147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":186147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:03:04] local.INFO: TCP Data received {"connection_id":186147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:03:04] local.INFO: Processing buffer {"connection_id":186147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:03:04] local.INFO: IMEI packet received {"connection_id":186147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":186147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:03:06] local.INFO: TCP Data received {"connection_id":186147,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:03:06] local.INFO: Processing buffer {"connection_id":186147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:03:06] local.INFO: Packet analysis {"connection_id":186147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:03:06] local.INFO: Extracted packet for processing {"connection_id":186147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:03:06] 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-09-17 03:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":186147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:03:06] local.INFO: GPS data processed {"connection_id":186147,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:03:06] local.INFO: Acknowledgment sent {"connection_id":186147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:03:21] local.INFO: TCP Data received {"connection_id":187462,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:03:21] local.INFO: Processing buffer {"connection_id":187462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:03:21] local.INFO: IMEI packet received {"connection_id":187462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":187462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:03:38] local.INFO: TCP Data received {"connection_id":186147,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:03:38] local.INFO: Processing buffer {"connection_id":186147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:03:38] local.INFO: Packet analysis {"connection_id":186147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:03:38] local.INFO: Extracted packet for processing {"connection_id":186147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:03:38] 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-09-17 03:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":186147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:03:38] local.INFO: GPS data processed {"connection_id":186147,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:03:38] local.INFO: Acknowledgment sent {"connection_id":186147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:03:51] local.INFO: TCP Data received {"connection_id":184837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:03:51] local.INFO: Processing buffer {"connection_id":184837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:03:51] local.INFO: IMEI packet received {"connection_id":184837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":184837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:03:59] local.INFO: TCP Data received {"connection_id":187463,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:03:59] local.INFO: Processing buffer {"connection_id":187463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:03:59] local.INFO: IMEI packet received {"connection_id":187463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":187463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:04:04] local.INFO: TCP Data received {"connection_id":187463,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:04:04] local.INFO: Processing buffer {"connection_id":187463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:04:04] local.INFO: IMEI packet received {"connection_id":187463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":187463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:04:05] local.INFO: TCP Data received {"connection_id":187463,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:04:05] local.INFO: Processing buffer {"connection_id":187463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:04:05] local.INFO: Packet analysis {"connection_id":187463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:04:05] local.INFO: Extracted packet for processing {"connection_id":187463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:04:05] 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-09-17 03:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:04:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":187463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:04:05] local.INFO: GPS data processed {"connection_id":187463,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:04:05] local.INFO: Acknowledgment sent {"connection_id":187463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:04:36] local.INFO: TCP Data received {"connection_id":187463,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:04:36] local.INFO: Processing buffer {"connection_id":187463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:04:36] local.INFO: Packet analysis {"connection_id":187463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:04:36] local.INFO: Extracted packet for processing {"connection_id":187463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:04:36] 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-09-17 03:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":187463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:04:36] local.INFO: GPS data processed {"connection_id":187463,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:04:36] local.INFO: Acknowledgment sent {"connection_id":187463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:04:59] local.INFO: TCP Data received {"connection_id":184724,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:04:59] local.INFO: Processing buffer {"connection_id":184724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:04:59] local.INFO: IMEI packet received {"connection_id":184724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":184724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:05:04] local.INFO: TCP Data received {"connection_id":184724,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:05:04] local.INFO: Processing buffer {"connection_id":184724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:05:04] local.INFO: IMEI packet received {"connection_id":184724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":184724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:05:05] local.INFO: TCP Data received {"connection_id":184724,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:05:05] local.INFO: Processing buffer {"connection_id":184724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:05:05] local.INFO: Packet analysis {"connection_id":184724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:05:05] local.INFO: Extracted packet for processing {"connection_id":184724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:05:05] 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-09-17 03:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:05:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":184724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:05:05] local.INFO: GPS data processed {"connection_id":184724,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:05:05] local.INFO: Acknowledgment sent {"connection_id":184724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:05:37] local.INFO: TCP Data received {"connection_id":184724,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:05:37] local.INFO: Processing buffer {"connection_id":184724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:05:37] local.INFO: Packet analysis {"connection_id":184724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:05:37] local.INFO: Extracted packet for processing {"connection_id":184724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:05:37] 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-09-17 03:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":184724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:05:37] local.INFO: GPS data processed {"connection_id":184724,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:05:37] local.INFO: Acknowledgment sent {"connection_id":184724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:05:59] local.INFO: TCP Data received {"connection_id":184839,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:05:59] local.INFO: Processing buffer {"connection_id":184839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:05:59] local.INFO: IMEI packet received {"connection_id":184839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":184839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:06:04] local.INFO: TCP Data received {"connection_id":184839,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:06:04] local.INFO: Processing buffer {"connection_id":184839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:06:04] local.INFO: IMEI packet received {"connection_id":184839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":184839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:06:05] local.INFO: TCP Data received {"connection_id":184839,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:06:05] local.INFO: Processing buffer {"connection_id":184839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:06:05] local.INFO: Packet analysis {"connection_id":184839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:06:05] local.INFO: Extracted packet for processing {"connection_id":184839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:06:05] 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-09-17 03:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:06:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":184839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:06:05] local.INFO: GPS data processed {"connection_id":184839,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:06:05] local.INFO: Acknowledgment sent {"connection_id":184839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:06:37] local.INFO: TCP Data received {"connection_id":184839,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:06:37] local.INFO: Processing buffer {"connection_id":184839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac217d18012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:06:37] local.INFO: Packet analysis {"connection_id":184839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:06:37] local.INFO: Extracted packet for processing {"connection_id":184839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac21"} 
[2026-09-17 03:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136056320001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789594271000,"timestamp_ms":1789594271000,"timestamp_seconds":1789594271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac217d18"} 
[2026-09-17 03:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 03:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:06:37] 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-09-17 03:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136056320001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136056320001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136056320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":184839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:06:37] local.INFO: GPS data processed {"connection_id":184839,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:06:37] local.INFO: Acknowledgment sent {"connection_id":184839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:07:04] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:07:04] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:07:04] local.INFO: IMEI packet received {"connection_id":186149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":186149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:07:09] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:07:09] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:07:09] local.INFO: IMEI packet received {"connection_id":186149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":186149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:07:10] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:07:10] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:07:10] local.INFO: Packet analysis {"connection_id":186149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:07:10] local.INFO: Extracted packet for processing {"connection_id":186149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":186149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:07:10] local.INFO: GPS data processed {"connection_id":186149,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:07:10] local.INFO: Acknowledgment sent {"connection_id":186149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:07:15] local.INFO: TCP Data received {"connection_id":186149,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:07:15] local.INFO: Processing buffer {"connection_id":186149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:07:15] local.INFO: Packet analysis {"connection_id":186149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:07:15] local.INFO: Extracted packet for processing {"connection_id":186149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":186149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:07:15] local.INFO: GPS data processed {"connection_id":186149,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:07:15] local.INFO: Acknowledgment sent {"connection_id":186149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:07:59] local.INFO: TCP Data received {"connection_id":184842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:07:59] local.INFO: Processing buffer {"connection_id":184842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:07:59] local.INFO: IMEI packet received {"connection_id":184842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":184842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:08:04] local.INFO: TCP Data received {"connection_id":184842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:08:04] local.INFO: Processing buffer {"connection_id":184842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:08:04] local.INFO: IMEI packet received {"connection_id":184842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":184842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:08:05] local.INFO: TCP Data received {"connection_id":184842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:08:05] local.INFO: Processing buffer {"connection_id":184842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:08:05] local.INFO: Packet analysis {"connection_id":184842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:08:05] local.INFO: Extracted packet for processing {"connection_id":184842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:08:05] 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-09-17 03:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:08:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":184842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:08:05] local.INFO: GPS data processed {"connection_id":184842,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:08:05] local.INFO: Acknowledgment sent {"connection_id":184842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:08:37] local.INFO: TCP Data received {"connection_id":184842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:08:37] local.INFO: Processing buffer {"connection_id":184842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:08:37] local.INFO: Packet analysis {"connection_id":184842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:08:37] local.INFO: Extracted packet for processing {"connection_id":184842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:08:37] 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-09-17 03:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":184842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:08:37] local.INFO: GPS data processed {"connection_id":184842,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:08:37] local.INFO: Acknowledgment sent {"connection_id":184842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:08:59] local.INFO: TCP Data received {"connection_id":187464,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:08:59] local.INFO: Processing buffer {"connection_id":187464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:08:59] local.INFO: IMEI packet received {"connection_id":187464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":187464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:09:04] local.INFO: TCP Data received {"connection_id":187464,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:09:04] local.INFO: Processing buffer {"connection_id":187464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:09:04] local.INFO: IMEI packet received {"connection_id":187464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":187464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:09:07] local.INFO: TCP Data received {"connection_id":187464,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:09:07] local.INFO: Processing buffer {"connection_id":187464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:09:07] local.INFO: Packet analysis {"connection_id":187464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:09:07] local.INFO: Extracted packet for processing {"connection_id":187464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:09:07] 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-09-17 03:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:09:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":187464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:09:07] local.INFO: GPS data processed {"connection_id":187464,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:09:07] local.INFO: Acknowledgment sent {"connection_id":187464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:09:16] local.INFO: TCP Data received {"connection_id":184725,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:09:16] local.INFO: Processing buffer {"connection_id":184725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:09:16] local.INFO: IMEI packet received {"connection_id":184725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":184725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:09:38] local.INFO: TCP Data received {"connection_id":187464,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:09:38] local.INFO: Processing buffer {"connection_id":187464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:09:38] local.INFO: Packet analysis {"connection_id":187464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:09:38] local.INFO: Extracted packet for processing {"connection_id":187464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:09:38] 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-09-17 03:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":187464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:09:38] local.INFO: GPS data processed {"connection_id":187464,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:09:38] local.INFO: Acknowledgment sent {"connection_id":187464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:09:51] local.INFO: TCP Data received {"connection_id":186150,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:09:51] local.INFO: Processing buffer {"connection_id":186150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:09:51] local.INFO: IMEI packet received {"connection_id":186150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":186150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:10:04] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:10:04] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:10:04] local.INFO: IMEI packet received {"connection_id":186151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":186151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:10:09] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:10:09] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:10:09] local.INFO: IMEI packet received {"connection_id":186151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":186151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:10:10] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:10:10] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:10:10] local.INFO: Packet analysis {"connection_id":186151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:10:10] local.INFO: Extracted packet for processing {"connection_id":186151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:10: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-09-17 03:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:10: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-09-17 03:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:10: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-09-17 03:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":186151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:10:10] local.INFO: GPS data processed {"connection_id":186151,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:10:10] local.INFO: Acknowledgment sent {"connection_id":186151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:10:14] local.INFO: TCP Data received {"connection_id":186151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:10:15] local.INFO: Processing buffer {"connection_id":186151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:10:15] local.INFO: Packet analysis {"connection_id":186151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:10:15] local.INFO: Extracted packet for processing {"connection_id":186151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:10: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-09-17 03:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":186151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:10:15] local.INFO: GPS data processed {"connection_id":186151,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:10:15] local.INFO: Acknowledgment sent {"connection_id":186151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:10:59] local.INFO: TCP Data received {"connection_id":184727,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:10:59] local.INFO: Processing buffer {"connection_id":184727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:10:59] local.INFO: IMEI packet received {"connection_id":184727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":184727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:11:04] local.INFO: TCP Data received {"connection_id":184727,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:11:04] local.INFO: Processing buffer {"connection_id":184727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:11:04] local.INFO: IMEI packet received {"connection_id":184727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":184727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:11:06] local.INFO: TCP Data received {"connection_id":184727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:11:06] local.INFO: Processing buffer {"connection_id":184727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:11:06] local.INFO: Packet analysis {"connection_id":184727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:11:06] local.INFO: Extracted packet for processing {"connection_id":184727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:11:06] 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-09-17 03:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":184727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:11:06] local.INFO: GPS data processed {"connection_id":184727,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:11:06] local.INFO: Acknowledgment sent {"connection_id":184727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:11:37] local.INFO: TCP Data received {"connection_id":184727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:11:37] local.INFO: Processing buffer {"connection_id":184727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2614e0012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:11:37] local.INFO: Packet analysis {"connection_id":184727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:11:37] local.INFO: Extracted packet for processing {"connection_id":184727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac26"} 
[2026-09-17 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136133376001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789594572000,"timestamp_ms":1789594572000,"timestamp_seconds":1789594572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2614e0"} 
[2026-09-17 03:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:11:37] 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-09-17 03:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136133376001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136133376001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136133376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":184727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:11:37] local.INFO: GPS data processed {"connection_id":184727,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:11:37] local.INFO: Acknowledgment sent {"connection_id":184727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:11:59] local.INFO: TCP Data received {"connection_id":187465,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:11:59] local.INFO: Processing buffer {"connection_id":187465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:11:59] local.INFO: IMEI packet received {"connection_id":187465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":187465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:12:04] local.INFO: TCP Data received {"connection_id":187465,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:12:04] local.INFO: Processing buffer {"connection_id":187465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:12:04] local.INFO: IMEI packet received {"connection_id":187465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":187465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:12:05] local.INFO: TCP Data received {"connection_id":187465,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:12:05] local.INFO: Processing buffer {"connection_id":187465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:12:05] local.INFO: Packet analysis {"connection_id":187465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:12:05] local.INFO: Extracted packet for processing {"connection_id":187465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:12:05] 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-09-17 03:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":187465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:12:05] local.INFO: GPS data processed {"connection_id":187465,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:12:05] local.INFO: Acknowledgment sent {"connection_id":187465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:12:37] local.INFO: TCP Data received {"connection_id":187465,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:12:37] local.INFO: Processing buffer {"connection_id":187465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:12:37] local.INFO: Packet analysis {"connection_id":187465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:12:37] local.INFO: Extracted packet for processing {"connection_id":187465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:12:37] 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-09-17 03:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":187465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:12:37] local.INFO: GPS data processed {"connection_id":187465,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:12:37] local.INFO: Acknowledgment sent {"connection_id":187465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:12:59] local.INFO: TCP Data received {"connection_id":184729,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:12:59] local.INFO: Processing buffer {"connection_id":184729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:12:59] local.INFO: IMEI packet received {"connection_id":184729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":184729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:13:04] local.INFO: TCP Data received {"connection_id":184729,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:13:04] local.INFO: Processing buffer {"connection_id":184729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:13:04] local.INFO: IMEI packet received {"connection_id":184729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":184729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:13:05] local.INFO: TCP Data received {"connection_id":184729,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:13:05] local.INFO: Processing buffer {"connection_id":184729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:13:05] local.INFO: Packet analysis {"connection_id":184729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:13:05] local.INFO: Extracted packet for processing {"connection_id":184729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:13:05] 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-09-17 03:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":184729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:13:05] local.INFO: GPS data processed {"connection_id":184729,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:13:05] local.INFO: Acknowledgment sent {"connection_id":184729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:13:37] local.INFO: TCP Data received {"connection_id":184729,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:13:37] local.INFO: Processing buffer {"connection_id":184729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:13:37] local.INFO: Packet analysis {"connection_id":184729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:13:37] local.INFO: Extracted packet for processing {"connection_id":184729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:13:37] 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-09-17 03:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":184729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:13:37] local.INFO: GPS data processed {"connection_id":184729,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:13:37] local.INFO: Acknowledgment sent {"connection_id":184729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:13:59] local.INFO: TCP Data received {"connection_id":187467,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:13:59] local.INFO: Processing buffer {"connection_id":187467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:13:59] local.INFO: IMEI packet received {"connection_id":187467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":187467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:14:04] local.INFO: TCP Data received {"connection_id":187467,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:14:04] local.INFO: Processing buffer {"connection_id":187467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:14:04] local.INFO: IMEI packet received {"connection_id":187467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":187467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:14:05] local.INFO: TCP Data received {"connection_id":187467,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:14:05] local.INFO: Processing buffer {"connection_id":187467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:14:05] local.INFO: Packet analysis {"connection_id":187467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:14:05] local.INFO: Extracted packet for processing {"connection_id":187467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:14:05] 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-09-17 03:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":187467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:14:05] local.INFO: GPS data processed {"connection_id":187467,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:14:05] local.INFO: Acknowledgment sent {"connection_id":187467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:14:37] local.INFO: TCP Data received {"connection_id":187467,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:14:37] local.INFO: Processing buffer {"connection_id":187467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:14:37] local.INFO: Packet analysis {"connection_id":187467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:14:37] local.INFO: Extracted packet for processing {"connection_id":187467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:14:37] 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-09-17 03:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":187467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:14:37] local.INFO: GPS data processed {"connection_id":187467,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:14:37] local.INFO: Acknowledgment sent {"connection_id":187467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:14:59] local.INFO: TCP Data received {"connection_id":186153,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:14:59] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:14:59] local.INFO: IMEI packet received {"connection_id":186153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":186153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:15:04] local.INFO: TCP Data received {"connection_id":186153,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:15:04] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:15:04] local.INFO: IMEI packet received {"connection_id":186153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":186153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:15:06] local.INFO: TCP Data received {"connection_id":186153,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:15:06] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:15:06] local.INFO: Packet analysis {"connection_id":186153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:15:06] local.INFO: Extracted packet for processing {"connection_id":186153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:15:06] 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-09-17 03:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":186153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:15:06] local.INFO: GPS data processed {"connection_id":186153,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:15:06] local.INFO: Acknowledgment sent {"connection_id":186153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:15:16] local.INFO: TCP Data received {"connection_id":186152,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:15:16] local.INFO: Processing buffer {"connection_id":186152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:15:16] local.INFO: IMEI packet received {"connection_id":186152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":186152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:15:37] local.INFO: TCP Data received {"connection_id":186153,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:15:37] local.INFO: Processing buffer {"connection_id":186153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:15:37] local.INFO: Packet analysis {"connection_id":186153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:15:37] local.INFO: Extracted packet for processing {"connection_id":186153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:15:37] 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-09-17 03:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":186153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:15:37] local.INFO: GPS data processed {"connection_id":186153,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:15:37] local.INFO: Acknowledgment sent {"connection_id":186153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:15:56] local.INFO: TCP Data received {"connection_id":184844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:15:56] local.INFO: Processing buffer {"connection_id":184844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:15:56] local.INFO: IMEI packet received {"connection_id":184844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":184844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:16:04] local.INFO: TCP Data received {"connection_id":184730,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:16:04] local.INFO: Processing buffer {"connection_id":184730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:16:04] local.INFO: IMEI packet received {"connection_id":184730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":184730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:16:09] local.INFO: TCP Data received {"connection_id":184730,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:16:09] local.INFO: Processing buffer {"connection_id":184730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:16:09] local.INFO: IMEI packet received {"connection_id":184730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":184730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:16:10] local.INFO: TCP Data received {"connection_id":184730,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:16:10] local.INFO: Processing buffer {"connection_id":184730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:16:10] local.INFO: Packet analysis {"connection_id":184730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:16:10] local.INFO: Extracted packet for processing {"connection_id":184730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:16: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-09-17 03:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:16: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-09-17 03:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:16:10] 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-09-17 03:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":184730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:16:10] local.INFO: GPS data processed {"connection_id":184730,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:16:10] local.INFO: Acknowledgment sent {"connection_id":184730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:16:14] local.INFO: TCP Data received {"connection_id":184730,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:16:14] local.INFO: Processing buffer {"connection_id":184730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2aaca8012d34c3c006aa4458000c011732..."} 
[2026-09-17 03:16:14] local.INFO: Packet analysis {"connection_id":184730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:16:14] local.INFO: Extracted packet for processing {"connection_id":184730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2a"} 
[2026-09-17 03:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136210432001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789594873000,"timestamp_ms":1789594873000,"timestamp_seconds":1789594873,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2aaca8"} 
[2026-09-17 03:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:16: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-09-17 03:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136210432001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136210432001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:16:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136210432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":184730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:16:14] local.INFO: GPS data processed {"connection_id":184730,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:16:14] local.INFO: Acknowledgment sent {"connection_id":184730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:16:59] local.INFO: TCP Data received {"connection_id":186155,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:16:59] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:16:59] local.INFO: IMEI packet received {"connection_id":186155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":186155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:17:04] local.INFO: TCP Data received {"connection_id":186155,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:17:04] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:17:04] local.INFO: IMEI packet received {"connection_id":186155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":186155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:17:05] local.INFO: TCP Data received {"connection_id":186155,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:17:05] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:17:05] local.INFO: Packet analysis {"connection_id":186155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:17:05] local.INFO: Extracted packet for processing {"connection_id":186155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:17:05] 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-09-17 03:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:17:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":186155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:17:05] local.INFO: GPS data processed {"connection_id":186155,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:17:05] local.INFO: Acknowledgment sent {"connection_id":186155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:17:37] local.INFO: TCP Data received {"connection_id":186155,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:17:37] local.INFO: Processing buffer {"connection_id":186155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:17:37] local.INFO: Packet analysis {"connection_id":186155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:17:37] local.INFO: Extracted packet for processing {"connection_id":186155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:17:37] 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-09-17 03:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":186155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:17:37] local.INFO: GPS data processed {"connection_id":186155,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:17:37] local.INFO: Acknowledgment sent {"connection_id":186155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:17:59] local.INFO: TCP Data received {"connection_id":184846,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:17:59] local.INFO: Processing buffer {"connection_id":184846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:17:59] local.INFO: IMEI packet received {"connection_id":184846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":184846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:18:04] local.INFO: TCP Data received {"connection_id":184846,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:18:04] local.INFO: Processing buffer {"connection_id":184846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:18:04] local.INFO: IMEI packet received {"connection_id":184846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":184846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:18:05] local.INFO: TCP Data received {"connection_id":184846,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:18:05] local.INFO: Processing buffer {"connection_id":184846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:18:05] local.INFO: Packet analysis {"connection_id":184846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:18:05] local.INFO: Extracted packet for processing {"connection_id":184846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:18:05] 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-09-17 03:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":184846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:18:05] local.INFO: GPS data processed {"connection_id":184846,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:18:05] local.INFO: Acknowledgment sent {"connection_id":184846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:18:36] local.INFO: TCP Data received {"connection_id":184846,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:18:36] local.INFO: Processing buffer {"connection_id":184846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:18:36] local.INFO: Packet analysis {"connection_id":184846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:18:36] local.INFO: Extracted packet for processing {"connection_id":184846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:18:36] 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-09-17 03:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":184846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:18:36] local.INFO: GPS data processed {"connection_id":184846,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:18:36] local.INFO: Acknowledgment sent {"connection_id":184846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:18:59] local.INFO: TCP Data received {"connection_id":186156,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:18:59] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:18:59] local.INFO: IMEI packet received {"connection_id":186156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":186156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:19:04] local.INFO: TCP Data received {"connection_id":186156,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:19:04] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:19:04] local.INFO: IMEI packet received {"connection_id":186156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":186156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:19:06] local.INFO: TCP Data received {"connection_id":186156,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:19:06] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:19:06] local.INFO: Packet analysis {"connection_id":186156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:19:06] local.INFO: Extracted packet for processing {"connection_id":186156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:19:06] 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-09-17 03:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":186156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:19:06] local.INFO: GPS data processed {"connection_id":186156,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:19:06] local.INFO: Acknowledgment sent {"connection_id":186156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:19:38] local.INFO: TCP Data received {"connection_id":186156,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:19:38] local.INFO: Processing buffer {"connection_id":186156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:19:38] local.INFO: Packet analysis {"connection_id":186156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:19:38] local.INFO: Extracted packet for processing {"connection_id":186156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:19:38] 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-09-17 03:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":186156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:19:38] local.INFO: GPS data processed {"connection_id":186156,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:19:38] local.INFO: Acknowledgment sent {"connection_id":186156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:20:04] local.INFO: TCP Data received {"connection_id":184847,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:20:04] local.INFO: Processing buffer {"connection_id":184847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:20:04] local.INFO: IMEI packet received {"connection_id":184847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":184847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:20:09] local.INFO: TCP Data received {"connection_id":184847,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:20:09] local.INFO: Processing buffer {"connection_id":184847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:20:09] local.INFO: IMEI packet received {"connection_id":184847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":184847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:20:10] local.INFO: TCP Data received {"connection_id":184847,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:20:10] local.INFO: Processing buffer {"connection_id":184847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:20:10] local.INFO: Packet analysis {"connection_id":184847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:20:10] local.INFO: Extracted packet for processing {"connection_id":184847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:20:10] 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-09-17 03:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":184847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:20:10] local.INFO: GPS data processed {"connection_id":184847,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:20:10] local.INFO: Acknowledgment sent {"connection_id":184847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:20:15] local.INFO: TCP Data received {"connection_id":184847,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:20:15] local.INFO: Processing buffer {"connection_id":184847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:20:15] local.INFO: Packet analysis {"connection_id":184847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:20:15] local.INFO: Extracted packet for processing {"connection_id":184847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:20:15] 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-09-17 03:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":184847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:20:15] local.INFO: GPS data processed {"connection_id":184847,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:20:15] local.INFO: Acknowledgment sent {"connection_id":184847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:20:59] local.INFO: TCP Data received {"connection_id":184848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:20:59] local.INFO: Processing buffer {"connection_id":184848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:20:59] local.INFO: IMEI packet received {"connection_id":184848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":184848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:21:04] local.INFO: TCP Data received {"connection_id":184848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:21:04] local.INFO: Processing buffer {"connection_id":184848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:21:04] local.INFO: IMEI packet received {"connection_id":184848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":184848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:21:06] local.INFO: TCP Data received {"connection_id":184848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:21:06] local.INFO: Processing buffer {"connection_id":184848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:21:06] local.INFO: Packet analysis {"connection_id":184848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:21:06] local.INFO: Extracted packet for processing {"connection_id":184848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:21:06] 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-09-17 03:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":184848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:21:06] local.INFO: GPS data processed {"connection_id":184848,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:21:06] local.INFO: Acknowledgment sent {"connection_id":184848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:21:11] local.INFO: TCP Data received {"connection_id":184732,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:21:11] local.INFO: Processing buffer {"connection_id":184732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:21:11] local.INFO: IMEI packet received {"connection_id":184732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":184732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:21:38] local.INFO: TCP Data received {"connection_id":184848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:21:38] local.INFO: Processing buffer {"connection_id":184848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac2f4470012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:21:38] local.INFO: Packet analysis {"connection_id":184848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:21:38] local.INFO: Extracted packet for processing {"connection_id":184848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac2f"} 
[2026-09-17 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136287488001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789595174000,"timestamp_ms":1789595174000,"timestamp_seconds":1789595174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac2f4470"} 
[2026-09-17 03:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:21:38] 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-09-17 03:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136287488001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136287488001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136287488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":184848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:21:38] local.INFO: GPS data processed {"connection_id":184848,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:21:38] local.INFO: Acknowledgment sent {"connection_id":184848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:21:51] local.INFO: TCP Data received {"connection_id":184733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:21:51] local.INFO: Processing buffer {"connection_id":184733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:21:51] local.INFO: IMEI packet received {"connection_id":184733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":184733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:21:59] local.INFO: TCP Data received {"connection_id":187469,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:21:59] local.INFO: Processing buffer {"connection_id":187469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:21:59] local.INFO: IMEI packet received {"connection_id":187469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":187469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:22:04] local.INFO: TCP Data received {"connection_id":187469,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:22:04] local.INFO: Processing buffer {"connection_id":187469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:22:04] local.INFO: IMEI packet received {"connection_id":187469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":187469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:22:06] local.INFO: TCP Data received {"connection_id":187469,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:22:06] local.INFO: Processing buffer {"connection_id":187469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:22:06] local.INFO: Packet analysis {"connection_id":187469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:22:06] local.INFO: Extracted packet for processing {"connection_id":187469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:22:06] 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-09-17 03:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":187469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:22:07] local.INFO: GPS data processed {"connection_id":187469,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:22:07] local.INFO: Acknowledgment sent {"connection_id":187469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:22:38] local.INFO: TCP Data received {"connection_id":187469,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:22:38] local.INFO: Processing buffer {"connection_id":187469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:22:38] local.INFO: Packet analysis {"connection_id":187469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:22:38] local.INFO: Extracted packet for processing {"connection_id":187469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:22:38] 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-09-17 03:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":187469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:22:38] local.INFO: GPS data processed {"connection_id":187469,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:22:38] local.INFO: Acknowledgment sent {"connection_id":187469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:22:59] local.INFO: TCP Data received {"connection_id":184849,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:22:59] local.INFO: Processing buffer {"connection_id":184849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:22:59] local.INFO: IMEI packet received {"connection_id":184849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":184849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:23:04] local.INFO: TCP Data received {"connection_id":184849,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:23:04] local.INFO: Processing buffer {"connection_id":184849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:23:04] local.INFO: IMEI packet received {"connection_id":184849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":184849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:23:05] local.INFO: TCP Data received {"connection_id":184849,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:23:05] local.INFO: Processing buffer {"connection_id":184849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:23:05] local.INFO: Packet analysis {"connection_id":184849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:23:05] local.INFO: Extracted packet for processing {"connection_id":184849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:23:05] 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-09-17 03:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":184849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:23:05] local.INFO: GPS data processed {"connection_id":184849,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:23:05] local.INFO: Acknowledgment sent {"connection_id":184849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:23:36] local.INFO: TCP Data received {"connection_id":184849,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:23:36] local.INFO: Processing buffer {"connection_id":184849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:23:36] local.INFO: Packet analysis {"connection_id":184849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:23:36] local.INFO: Extracted packet for processing {"connection_id":184849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:23:36] 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-09-17 03:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":184849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:23:36] local.INFO: GPS data processed {"connection_id":184849,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:23:36] local.INFO: Acknowledgment sent {"connection_id":184849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:24:04] local.INFO: TCP Data received {"connection_id":187470,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:24:04] local.INFO: Processing buffer {"connection_id":187470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:24:04] local.INFO: IMEI packet received {"connection_id":187470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":187470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:24:09] local.INFO: TCP Data received {"connection_id":187470,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:24:09] local.INFO: Processing buffer {"connection_id":187470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:24:09] local.INFO: IMEI packet received {"connection_id":187470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":187470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:24:10] local.INFO: TCP Data received {"connection_id":187470,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:24:10] local.INFO: Processing buffer {"connection_id":187470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:24:10] local.INFO: Packet analysis {"connection_id":187470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:24:10] local.INFO: Extracted packet for processing {"connection_id":187470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:24: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-09-17 03:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":187470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:24:10] local.INFO: GPS data processed {"connection_id":187470,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:24:10] local.INFO: Acknowledgment sent {"connection_id":187470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:24:15] local.INFO: TCP Data received {"connection_id":187470,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:24:15] local.INFO: Processing buffer {"connection_id":187470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:24:15] local.INFO: Packet analysis {"connection_id":187470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:24:15] local.INFO: Extracted packet for processing {"connection_id":187470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:24: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-09-17 03:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:24:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:24:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":187470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:24:15] local.INFO: GPS data processed {"connection_id":187470,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:24:15] local.INFO: Acknowledgment sent {"connection_id":187470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:24:59] local.INFO: TCP Data received {"connection_id":184735,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:24:59] local.INFO: Processing buffer {"connection_id":184735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:24:59] local.INFO: IMEI packet received {"connection_id":184735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":184735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:25:05] local.INFO: TCP Data received {"connection_id":184735,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:25:05] local.INFO: Processing buffer {"connection_id":184735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:25:05] local.INFO: IMEI packet received {"connection_id":184735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":184735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:25:07] local.INFO: TCP Data received {"connection_id":184735,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:25:07] local.INFO: Processing buffer {"connection_id":184735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:25:07] local.INFO: Packet analysis {"connection_id":184735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:25:07] local.INFO: Extracted packet for processing {"connection_id":184735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:25:07] 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-09-17 03:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":184735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:25:07] local.INFO: GPS data processed {"connection_id":184735,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:25:07] local.INFO: Acknowledgment sent {"connection_id":184735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:25:39] local.INFO: TCP Data received {"connection_id":184735,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:25:39] local.INFO: Processing buffer {"connection_id":184735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:25:39] local.INFO: Packet analysis {"connection_id":184735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:25:39] local.INFO: Extracted packet for processing {"connection_id":184735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":184735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":184735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":184735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:25: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-09-17 03:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":184735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:25:39] local.INFO: GPS data processed {"connection_id":184735,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:25:39] local.INFO: Acknowledgment sent {"connection_id":184735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:25:59] local.INFO: TCP Data received {"connection_id":186158,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:25:59] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:25:59] local.INFO: IMEI packet received {"connection_id":186158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":186158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:26:04] local.INFO: TCP Data received {"connection_id":186158,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:26:04] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:26:04] local.INFO: IMEI packet received {"connection_id":186158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":186158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:26:05] local.INFO: TCP Data received {"connection_id":186158,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:26:05] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:26:05] local.INFO: Packet analysis {"connection_id":186158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:26:05] local.INFO: Extracted packet for processing {"connection_id":186158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:26:05] 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-09-17 03:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":186158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:26:05] local.INFO: GPS data processed {"connection_id":186158,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:26:05] local.INFO: Acknowledgment sent {"connection_id":186158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:26:36] local.INFO: TCP Data received {"connection_id":186158,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:26:36] local.INFO: Processing buffer {"connection_id":186158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac33dc38012d34c3c006aa4458000c011731..."} 
[2026-09-17 03:26:36] local.INFO: Packet analysis {"connection_id":186158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:26:36] local.INFO: Extracted packet for processing {"connection_id":186158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac33"} 
[2026-09-17 03:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136364544001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789595475000,"timestamp_ms":1789595475000,"timestamp_seconds":1789595475,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac33dc38"} 
[2026-09-17 03:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:26:36] 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-09-17 03:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136364544001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136364544001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136364544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":186158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:26:36] local.INFO: GPS data processed {"connection_id":186158,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:26:36] local.INFO: Acknowledgment sent {"connection_id":186158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:26:59] local.INFO: TCP Data received {"connection_id":184852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:26:59] local.INFO: Processing buffer {"connection_id":184852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:26:59] local.INFO: IMEI packet received {"connection_id":184852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":184852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:27:04] local.INFO: TCP Data received {"connection_id":184852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:27:04] local.INFO: Processing buffer {"connection_id":184852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:27:04] local.INFO: IMEI packet received {"connection_id":184852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":184852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:27:06] local.INFO: TCP Data received {"connection_id":184852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:27:06] local.INFO: Processing buffer {"connection_id":184852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:27:06] local.INFO: Packet analysis {"connection_id":184852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:27:06] local.INFO: Extracted packet for processing {"connection_id":184852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":184852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:27:07] local.INFO: GPS data processed {"connection_id":184852,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:27:07] local.INFO: Acknowledgment sent {"connection_id":184852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:27:21] local.INFO: TCP Data received {"connection_id":184851,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:27:21] local.INFO: Processing buffer {"connection_id":184851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:27:21] local.INFO: IMEI packet received {"connection_id":184851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":184851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:27:38] local.INFO: TCP Data received {"connection_id":184852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:27:38] local.INFO: Processing buffer {"connection_id":184852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:27:38] local.INFO: Packet analysis {"connection_id":184852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:27:38] local.INFO: Extracted packet for processing {"connection_id":184852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":184852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:27:38] local.INFO: GPS data processed {"connection_id":184852,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:27:38] local.INFO: Acknowledgment sent {"connection_id":184852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:27:52] local.INFO: TCP Data received {"connection_id":184736,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:27:52] local.INFO: Processing buffer {"connection_id":184736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:27:52] local.INFO: IMEI packet received {"connection_id":184736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":184736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:27:59] local.INFO: TCP Data received {"connection_id":184737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:27:59] local.INFO: Processing buffer {"connection_id":184737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:27:59] local.INFO: IMEI packet received {"connection_id":184737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":184737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:28:04] local.INFO: TCP Data received {"connection_id":184737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:28:04] local.INFO: Processing buffer {"connection_id":184737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:28:04] local.INFO: IMEI packet received {"connection_id":184737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":184737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:28:05] local.INFO: TCP Data received {"connection_id":184737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:28:05] local.INFO: Processing buffer {"connection_id":184737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:28:05] local.INFO: Packet analysis {"connection_id":184737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:28:05] local.INFO: Extracted packet for processing {"connection_id":184737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:28:05] 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-09-17 03:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:28:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":184737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:28:05] local.INFO: GPS data processed {"connection_id":184737,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:28:05] local.INFO: Acknowledgment sent {"connection_id":184737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:28:37] local.INFO: TCP Data received {"connection_id":184737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:28:37] local.INFO: Processing buffer {"connection_id":184737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:28:37] local.INFO: Packet analysis {"connection_id":184737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:28:37] local.INFO: Extracted packet for processing {"connection_id":184737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:28:37] 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-09-17 03:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":184737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:28:37] local.INFO: GPS data processed {"connection_id":184737,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:28:37] local.INFO: Acknowledgment sent {"connection_id":184737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:29:04] local.INFO: TCP Data received {"connection_id":186160,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:29:04] local.INFO: Processing buffer {"connection_id":186160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:29:04] local.INFO: IMEI packet received {"connection_id":186160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":186160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:29:09] local.INFO: TCP Data received {"connection_id":186160,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:29:09] local.INFO: Processing buffer {"connection_id":186160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:29:09] local.INFO: IMEI packet received {"connection_id":186160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":186160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:29:10] local.INFO: TCP Data received {"connection_id":186160,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:29:10] local.INFO: Processing buffer {"connection_id":186160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:29:10] local.INFO: Packet analysis {"connection_id":186160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:29:10] local.INFO: Extracted packet for processing {"connection_id":186160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:29:10] 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-09-17 03:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":186160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:29:10] local.INFO: GPS data processed {"connection_id":186160,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:29:10] local.INFO: Acknowledgment sent {"connection_id":186160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:29:41] local.INFO: TCP Data received {"connection_id":186160,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:29:41] local.INFO: Processing buffer {"connection_id":186160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:29:41] local.INFO: Packet analysis {"connection_id":186160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:29:41] local.INFO: Extracted packet for processing {"connection_id":186160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03: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-09-17 03:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03: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-09-17 03:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:29: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-09-17 03:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":186160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:29:42] local.INFO: GPS data processed {"connection_id":186160,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:29:42] local.INFO: Acknowledgment sent {"connection_id":186160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:29:59] local.INFO: TCP Data received {"connection_id":184853,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:29:59] local.INFO: Processing buffer {"connection_id":184853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:29:59] local.INFO: IMEI packet received {"connection_id":184853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":184853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:30:04] local.INFO: TCP Data received {"connection_id":184853,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:30:04] local.INFO: Processing buffer {"connection_id":184853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:30:04] local.INFO: IMEI packet received {"connection_id":184853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":184853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:30:06] local.INFO: TCP Data received {"connection_id":184853,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:30:06] local.INFO: Processing buffer {"connection_id":184853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:30:06] local.INFO: Packet analysis {"connection_id":184853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:30:06] local.INFO: Extracted packet for processing {"connection_id":184853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:30:06] 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-09-17 03:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":184853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:30:06] local.INFO: GPS data processed {"connection_id":184853,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:30:06] local.INFO: Acknowledgment sent {"connection_id":184853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:30:38] local.INFO: TCP Data received {"connection_id":184853,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:30:38] local.INFO: Processing buffer {"connection_id":184853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:30:38] local.INFO: Packet analysis {"connection_id":184853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:30:38] local.INFO: Extracted packet for processing {"connection_id":184853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:30:38] 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-09-17 03:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":184853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:30:38] local.INFO: GPS data processed {"connection_id":184853,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:30:38] local.INFO: Acknowledgment sent {"connection_id":184853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:30:59] local.INFO: TCP Data received {"connection_id":184738,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:30:59] local.INFO: Processing buffer {"connection_id":184738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:30:59] local.INFO: IMEI packet received {"connection_id":184738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":184738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:31:04] local.INFO: TCP Data received {"connection_id":184738,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:31:04] local.INFO: Processing buffer {"connection_id":184738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:31:04] local.INFO: IMEI packet received {"connection_id":184738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":184738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:31:05] local.INFO: TCP Data received {"connection_id":184738,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:31:05] local.INFO: Processing buffer {"connection_id":184738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:31:05] local.INFO: Packet analysis {"connection_id":184738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:31:05] local.INFO: Extracted packet for processing {"connection_id":184738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:31:05] 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-09-17 03:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":184738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:31:05] local.INFO: GPS data processed {"connection_id":184738,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:31:05] local.INFO: Acknowledgment sent {"connection_id":184738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:31:37] local.INFO: TCP Data received {"connection_id":184738,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:31:37] local.INFO: Processing buffer {"connection_id":184738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac387400012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:31:37] local.INFO: Packet analysis {"connection_id":184738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:31:37] local.INFO: Extracted packet for processing {"connection_id":184738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac38"} 
[2026-09-17 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136441600001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789595776000,"timestamp_ms":1789595776000,"timestamp_seconds":1789595776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac387400"} 
[2026-09-17 03:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:31:37] 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-09-17 03:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136441600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136441600001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136441600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":184738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:31:37] local.INFO: GPS data processed {"connection_id":184738,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:31:37] local.INFO: Acknowledgment sent {"connection_id":184738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:31:59] local.INFO: TCP Data received {"connection_id":187474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:31:59] local.INFO: Processing buffer {"connection_id":187474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:31:59] local.INFO: IMEI packet received {"connection_id":187474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":187474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:32:04] local.INFO: TCP Data received {"connection_id":187474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:32:04] local.INFO: Processing buffer {"connection_id":187474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:32:04] local.INFO: IMEI packet received {"connection_id":187474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":187474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:32:06] local.INFO: TCP Data received {"connection_id":187474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:32:06] local.INFO: Processing buffer {"connection_id":187474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:32:06] local.INFO: Packet analysis {"connection_id":187474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:32:06] local.INFO: Extracted packet for processing {"connection_id":187474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":187474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:32:06] local.INFO: GPS data processed {"connection_id":187474,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:32:06] local.INFO: Acknowledgment sent {"connection_id":187474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:32:37] local.INFO: TCP Data received {"connection_id":187474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:32:37] local.INFO: Processing buffer {"connection_id":187474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:32:37] local.INFO: Packet analysis {"connection_id":187474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:32:37] local.INFO: Extracted packet for processing {"connection_id":187474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":187474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:32:37] local.INFO: GPS data processed {"connection_id":187474,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:32:37] local.INFO: Acknowledgment sent {"connection_id":187474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:33:04] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:33:04] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:33:04] local.INFO: IMEI packet received {"connection_id":186162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":186162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:33:09] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:33:09] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:33:09] local.INFO: IMEI packet received {"connection_id":186162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":186162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:33:10] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:33:10] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:33:10] local.INFO: Packet analysis {"connection_id":186162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:33:10] local.INFO: Extracted packet for processing {"connection_id":186162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:33:10] 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-09-17 03:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":186162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:33:10] local.INFO: GPS data processed {"connection_id":186162,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:33:10] local.INFO: Acknowledgment sent {"connection_id":186162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:33:15] local.INFO: TCP Data received {"connection_id":186162,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:33:15] local.INFO: Processing buffer {"connection_id":186162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:33:15] local.INFO: Packet analysis {"connection_id":186162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:33:15] local.INFO: Extracted packet for processing {"connection_id":186162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:33:15] 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-09-17 03:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":186162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:33:15] local.INFO: GPS data processed {"connection_id":186162,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:33:15] local.INFO: Acknowledgment sent {"connection_id":186162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:33:21] local.INFO: TCP Data received {"connection_id":184854,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:33:21] local.INFO: Processing buffer {"connection_id":184854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:33:21] local.INFO: IMEI packet received {"connection_id":184854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":184854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:33:51] local.INFO: TCP Data received {"connection_id":187475,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:33:51] local.INFO: Processing buffer {"connection_id":187475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:33:51] local.INFO: IMEI packet received {"connection_id":187475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":187475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:33:59] local.INFO: TCP Data received {"connection_id":184739,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:33:59] local.INFO: Processing buffer {"connection_id":184739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:33:59] local.INFO: IMEI packet received {"connection_id":184739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":184739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:34:04] local.INFO: TCP Data received {"connection_id":184739,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:34:04] local.INFO: Processing buffer {"connection_id":184739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:34:04] local.INFO: IMEI packet received {"connection_id":184739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":184739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:34:06] local.INFO: TCP Data received {"connection_id":184739,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:34:06] local.INFO: Processing buffer {"connection_id":184739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:34:06] local.INFO: Packet analysis {"connection_id":184739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:34:06] local.INFO: Extracted packet for processing {"connection_id":184739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:34:06] 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-09-17 03:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":184739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:34:06] local.INFO: GPS data processed {"connection_id":184739,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:34:06] local.INFO: Acknowledgment sent {"connection_id":184739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:34:37] local.INFO: TCP Data received {"connection_id":184739,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:34:37] local.INFO: Processing buffer {"connection_id":184739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:34:37] local.INFO: Packet analysis {"connection_id":184739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:34:37] local.INFO: Extracted packet for processing {"connection_id":184739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:34:37] 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-09-17 03:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":184739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:34:37] local.INFO: GPS data processed {"connection_id":184739,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:34:37] local.INFO: Acknowledgment sent {"connection_id":184739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:34:59] local.INFO: TCP Data received {"connection_id":184855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:34:59] local.INFO: Processing buffer {"connection_id":184855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:34:59] local.INFO: IMEI packet received {"connection_id":184855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":184855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:35:04] local.INFO: TCP Data received {"connection_id":184855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:35:04] local.INFO: Processing buffer {"connection_id":184855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:35:04] local.INFO: IMEI packet received {"connection_id":184855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":184855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:35:06] local.INFO: TCP Data received {"connection_id":184855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:35:06] local.INFO: Processing buffer {"connection_id":184855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:35:06] local.INFO: Packet analysis {"connection_id":184855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:35:06] local.INFO: Extracted packet for processing {"connection_id":184855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:35:06] 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-09-17 03:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":184855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:35:06] local.INFO: GPS data processed {"connection_id":184855,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:35:06] local.INFO: Acknowledgment sent {"connection_id":184855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:35:38] local.INFO: TCP Data received {"connection_id":184855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:35:38] local.INFO: Processing buffer {"connection_id":184855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:35:38] local.INFO: Packet analysis {"connection_id":184855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:35:38] local.INFO: Extracted packet for processing {"connection_id":184855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:35:38] 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-09-17 03:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":184855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:35:38] local.INFO: GPS data processed {"connection_id":184855,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:35:38] local.INFO: Acknowledgment sent {"connection_id":184855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:35:59] local.INFO: TCP Data received {"connection_id":187476,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:35:59] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:35:59] local.INFO: IMEI packet received {"connection_id":187476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":187476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:36:04] local.INFO: TCP Data received {"connection_id":187476,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:36:04] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:36:04] local.INFO: IMEI packet received {"connection_id":187476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":187476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:36:05] local.INFO: TCP Data received {"connection_id":187476,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:36:05] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:36:05] local.INFO: Packet analysis {"connection_id":187476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:36:05] local.INFO: Extracted packet for processing {"connection_id":187476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:36:05] 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-09-17 03:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:36:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":187476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:36:05] local.INFO: GPS data processed {"connection_id":187476,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:36:05] local.INFO: Acknowledgment sent {"connection_id":187476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:36:36] local.INFO: TCP Data received {"connection_id":187476,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:36:36] local.INFO: Processing buffer {"connection_id":187476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac3d0bc8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:36:36] local.INFO: Packet analysis {"connection_id":187476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:36:36] local.INFO: Extracted packet for processing {"connection_id":187476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac3d"} 
[2026-09-17 03:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136518656001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789596077000,"timestamp_ms":1789596077000,"timestamp_seconds":1789596077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac3d0bc8"} 
[2026-09-17 03:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:36:36] 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-09-17 03:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136518656001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136518656001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136518656001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":187476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:36:37] local.INFO: GPS data processed {"connection_id":187476,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:36:37] local.INFO: Acknowledgment sent {"connection_id":187476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:36:59] local.INFO: TCP Data received {"connection_id":184742,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:36:59] local.INFO: Processing buffer {"connection_id":184742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:36:59] local.INFO: IMEI packet received {"connection_id":184742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":184742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:37:04] local.INFO: TCP Data received {"connection_id":184742,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:37:04] local.INFO: Processing buffer {"connection_id":184742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:37:04] local.INFO: IMEI packet received {"connection_id":184742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":184742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:37:06] local.INFO: TCP Data received {"connection_id":184742,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:37:06] local.INFO: Processing buffer {"connection_id":184742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:37:06] local.INFO: Packet analysis {"connection_id":184742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:37:06] local.INFO: Extracted packet for processing {"connection_id":184742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:37:06] 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-09-17 03:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":184742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:37:06] local.INFO: GPS data processed {"connection_id":184742,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:37:06] local.INFO: Acknowledgment sent {"connection_id":184742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:37:37] local.INFO: TCP Data received {"connection_id":184742,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:37:37] local.INFO: Processing buffer {"connection_id":184742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:37:37] local.INFO: Packet analysis {"connection_id":184742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:37:37] local.INFO: Extracted packet for processing {"connection_id":184742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:37:37] 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-09-17 03:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":184742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:37:37] local.INFO: GPS data processed {"connection_id":184742,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:37:37] local.INFO: Acknowledgment sent {"connection_id":184742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:37:59] local.INFO: TCP Data received {"connection_id":184743,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:37:59] local.INFO: Processing buffer {"connection_id":184743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:37:59] local.INFO: IMEI packet received {"connection_id":184743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":184743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:38:04] local.INFO: TCP Data received {"connection_id":184743,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:38:04] local.INFO: Processing buffer {"connection_id":184743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:38:04] local.INFO: IMEI packet received {"connection_id":184743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":184743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:38:05] local.INFO: TCP Data received {"connection_id":184743,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:38:05] local.INFO: Processing buffer {"connection_id":184743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:38:05] local.INFO: Packet analysis {"connection_id":184743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:38:05] local.INFO: Extracted packet for processing {"connection_id":184743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":184743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:38:05] local.INFO: GPS data processed {"connection_id":184743,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:38:05] local.INFO: Acknowledgment sent {"connection_id":184743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:38:37] local.INFO: TCP Data received {"connection_id":184743,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:38:37] local.INFO: Processing buffer {"connection_id":184743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:38:37] local.INFO: Packet analysis {"connection_id":184743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:38:37] local.INFO: Extracted packet for processing {"connection_id":184743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":184743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:38:37] local.INFO: GPS data processed {"connection_id":184743,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:38:37] local.INFO: Acknowledgment sent {"connection_id":184743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:38:59] local.INFO: TCP Data received {"connection_id":187477,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:38:59] local.INFO: Processing buffer {"connection_id":187477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:38:59] local.INFO: IMEI packet received {"connection_id":187477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":187477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:39:04] local.INFO: TCP Data received {"connection_id":187477,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:39:04] local.INFO: Processing buffer {"connection_id":187477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:39:04] local.INFO: IMEI packet received {"connection_id":187477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":187477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:39:05] local.INFO: TCP Data received {"connection_id":187477,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:39:05] local.INFO: Processing buffer {"connection_id":187477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:39:05] local.INFO: Packet analysis {"connection_id":187477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:39:05] local.INFO: Extracted packet for processing {"connection_id":187477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:39:05] 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-09-17 03:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:39:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":187477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:39:05] local.INFO: GPS data processed {"connection_id":187477,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:39:05] local.INFO: Acknowledgment sent {"connection_id":187477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:39:16] local.INFO: TCP Data received {"connection_id":184744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:39:16] local.INFO: Processing buffer {"connection_id":184744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:39:16] local.INFO: IMEI packet received {"connection_id":184744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":184744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:39:38] local.INFO: TCP Data received {"connection_id":187477,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:39:38] local.INFO: Processing buffer {"connection_id":187477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:39:38] local.INFO: Packet analysis {"connection_id":187477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:39:38] local.INFO: Extracted packet for processing {"connection_id":187477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:39:38] 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-09-17 03:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":187477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:39:38] local.INFO: GPS data processed {"connection_id":187477,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:39:38] local.INFO: Acknowledgment sent {"connection_id":187477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:39:56] local.INFO: TCP Data received {"connection_id":187478,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:39:56] local.INFO: Processing buffer {"connection_id":187478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:39:56] local.INFO: IMEI packet received {"connection_id":187478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":187478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:40:00] local.INFO: TCP Data received {"connection_id":187479,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:40:00] local.INFO: Processing buffer {"connection_id":187479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:40:00] local.INFO: IMEI packet received {"connection_id":187479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":187479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:40:04] local.INFO: TCP Data received {"connection_id":187479,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:40:04] local.INFO: Processing buffer {"connection_id":187479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:40:04] local.INFO: IMEI packet received {"connection_id":187479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":187479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:40:05] local.INFO: TCP Data received {"connection_id":187479,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:40:05] local.INFO: Processing buffer {"connection_id":187479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:40:05] local.INFO: Packet analysis {"connection_id":187479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:40:05] local.INFO: Extracted packet for processing {"connection_id":187479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:40:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":187479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:40:05] local.INFO: GPS data processed {"connection_id":187479,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:40:05] local.INFO: Acknowledgment sent {"connection_id":187479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:40:37] local.INFO: TCP Data received {"connection_id":187479,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:40:37] local.INFO: Processing buffer {"connection_id":187479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:40:37] local.INFO: Packet analysis {"connection_id":187479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:40:37] local.INFO: Extracted packet for processing {"connection_id":187479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":187479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:40:37] local.INFO: GPS data processed {"connection_id":187479,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:40:37] local.INFO: Acknowledgment sent {"connection_id":187479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:40:59] local.INFO: TCP Data received {"connection_id":186165,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:40:59] local.INFO: Processing buffer {"connection_id":186165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:40:59] local.INFO: IMEI packet received {"connection_id":186165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":186165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:41:04] local.INFO: TCP Data received {"connection_id":186165,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:41:04] local.INFO: Processing buffer {"connection_id":186165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:41:04] local.INFO: IMEI packet received {"connection_id":186165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":186165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:41:05] local.INFO: TCP Data received {"connection_id":186165,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:41:05] local.INFO: Processing buffer {"connection_id":186165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:41:05] local.INFO: Packet analysis {"connection_id":186165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:41:05] local.INFO: Extracted packet for processing {"connection_id":186165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:41:05] 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-09-17 03:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":186165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:41:05] local.INFO: GPS data processed {"connection_id":186165,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:41:05] local.INFO: Acknowledgment sent {"connection_id":186165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:41:37] local.INFO: TCP Data received {"connection_id":186165,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:41:37] local.INFO: Processing buffer {"connection_id":186165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac41a390012d34c3c006aa4458000c011730..."} 
[2026-09-17 03:41:37] local.INFO: Packet analysis {"connection_id":186165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:41:37] local.INFO: Extracted packet for processing {"connection_id":186165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac41"} 
[2026-09-17 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136595712001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596378000,"timestamp_ms":1789596378000,"timestamp_seconds":1789596378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac41a390"} 
[2026-09-17 03:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:41:37] 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-09-17 03:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136595712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136595712001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136595712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":186165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:41:37] local.INFO: GPS data processed {"connection_id":186165,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:41:37] local.INFO: Acknowledgment sent {"connection_id":186165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:41:59] local.INFO: TCP Data received {"connection_id":184745,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:41:59] local.INFO: Processing buffer {"connection_id":184745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:41:59] local.INFO: IMEI packet received {"connection_id":184745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":184745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:42:04] local.INFO: TCP Data received {"connection_id":184745,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:42:04] local.INFO: Processing buffer {"connection_id":184745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:42:04] local.INFO: IMEI packet received {"connection_id":184745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":184745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:42:05] local.INFO: TCP Data received {"connection_id":184745,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:42:05] local.INFO: Processing buffer {"connection_id":184745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:42:05] local.INFO: Packet analysis {"connection_id":184745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:42:05] local.INFO: Extracted packet for processing {"connection_id":184745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:42:05] 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-09-17 03:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":184745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:42:05] local.INFO: GPS data processed {"connection_id":184745,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:42:05] local.INFO: Acknowledgment sent {"connection_id":184745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:42:37] local.INFO: TCP Data received {"connection_id":184745,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:42:37] local.INFO: Processing buffer {"connection_id":184745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:42:37] local.INFO: Packet analysis {"connection_id":184745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:42:37] local.INFO: Extracted packet for processing {"connection_id":184745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:42:37] 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-09-17 03:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":184745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:42:37] local.INFO: GPS data processed {"connection_id":184745,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:42:37] local.INFO: Acknowledgment sent {"connection_id":184745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:42:59] local.INFO: TCP Data received {"connection_id":187481,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:42:59] local.INFO: Processing buffer {"connection_id":187481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:42:59] local.INFO: IMEI packet received {"connection_id":187481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":187481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:43:04] local.INFO: TCP Data received {"connection_id":187481,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:43:04] local.INFO: Processing buffer {"connection_id":187481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:43:04] local.INFO: IMEI packet received {"connection_id":187481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":187481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:43:05] local.INFO: TCP Data received {"connection_id":187481,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:43:05] local.INFO: Processing buffer {"connection_id":187481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:43:05] local.INFO: Packet analysis {"connection_id":187481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:43:05] local.INFO: Extracted packet for processing {"connection_id":187481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:43:06] 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-09-17 03:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":187481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:43:06] local.INFO: GPS data processed {"connection_id":187481,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:43:06] local.INFO: Acknowledgment sent {"connection_id":187481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:43:37] local.INFO: TCP Data received {"connection_id":187481,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:43:37] local.INFO: Processing buffer {"connection_id":187481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:43:37] local.INFO: Packet analysis {"connection_id":187481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:43:37] local.INFO: Extracted packet for processing {"connection_id":187481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:43:37] 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-09-17 03:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":187481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:43:37] local.INFO: GPS data processed {"connection_id":187481,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:43:37] local.INFO: Acknowledgment sent {"connection_id":187481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:43:59] local.INFO: TCP Data received {"connection_id":187483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:43:59] local.INFO: Processing buffer {"connection_id":187483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:43:59] local.INFO: IMEI packet received {"connection_id":187483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":187483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:44:04] local.INFO: TCP Data received {"connection_id":187483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:44:04] local.INFO: Processing buffer {"connection_id":187483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:44:04] local.INFO: IMEI packet received {"connection_id":187483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":187483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:44:05] local.INFO: TCP Data received {"connection_id":187483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:44:05] local.INFO: Processing buffer {"connection_id":187483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:44:05] local.INFO: Packet analysis {"connection_id":187483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:44:05] local.INFO: Extracted packet for processing {"connection_id":187483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:44:05] 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-09-17 03:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:44:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":187483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:44:05] local.INFO: GPS data processed {"connection_id":187483,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:44:05] local.INFO: Acknowledgment sent {"connection_id":187483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:44:37] local.INFO: TCP Data received {"connection_id":187483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:44:37] local.INFO: Processing buffer {"connection_id":187483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:44:37] local.INFO: Packet analysis {"connection_id":187483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:44:37] local.INFO: Extracted packet for processing {"connection_id":187483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:44:37] 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-09-17 03:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":187483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:44:37] local.INFO: GPS data processed {"connection_id":187483,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:44:37] local.INFO: Acknowledgment sent {"connection_id":187483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:44:59] local.INFO: TCP Data received {"connection_id":184747,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:44:59] local.INFO: Processing buffer {"connection_id":184747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:44:59] local.INFO: IMEI packet received {"connection_id":184747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":184747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:45:04] local.INFO: TCP Data received {"connection_id":184747,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:45:04] local.INFO: Processing buffer {"connection_id":184747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:45:04] local.INFO: IMEI packet received {"connection_id":184747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":184747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:45:05] local.INFO: TCP Data received {"connection_id":184747,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:45:05] local.INFO: Processing buffer {"connection_id":184747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:45:05] local.INFO: Packet analysis {"connection_id":184747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:45:05] local.INFO: Extracted packet for processing {"connection_id":184747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:45:05] 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-09-17 03:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":184747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:45:05] local.INFO: GPS data processed {"connection_id":184747,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:45:05] local.INFO: Acknowledgment sent {"connection_id":184747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:45:21] local.INFO: TCP Data received {"connection_id":184857,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:45:21] local.INFO: Processing buffer {"connection_id":184857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:45:21] local.INFO: IMEI packet received {"connection_id":184857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":184857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:45:36] local.INFO: TCP Data received {"connection_id":184747,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:45:36] local.INFO: Processing buffer {"connection_id":184747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:45:36] local.INFO: Packet analysis {"connection_id":184747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:45:36] local.INFO: Extracted packet for processing {"connection_id":184747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:45:36] 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-09-17 03:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":184747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:45:36] local.INFO: GPS data processed {"connection_id":184747,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:45:36] local.INFO: Acknowledgment sent {"connection_id":184747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:45:51] local.INFO: TCP Data received {"connection_id":184748,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:45:51] local.INFO: Processing buffer {"connection_id":184748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:45:51] local.INFO: IMEI packet received {"connection_id":184748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":184748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:45:59] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:45:59] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:45:59] local.INFO: IMEI packet received {"connection_id":186166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":186166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:46:04] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:46:04] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:46:04] local.INFO: IMEI packet received {"connection_id":186166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":186166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:46:05] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:46:05] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:46:05] local.INFO: Packet analysis {"connection_id":186166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:46:05] local.INFO: Extracted packet for processing {"connection_id":186166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:46:05] 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-09-17 03:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:46:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":186166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:46:05] local.INFO: GPS data processed {"connection_id":186166,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:46:05] local.INFO: Acknowledgment sent {"connection_id":186166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:46:36] local.INFO: TCP Data received {"connection_id":186166,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:46:36] local.INFO: Processing buffer {"connection_id":186166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac463b58012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:46:36] local.INFO: Packet analysis {"connection_id":186166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:46:36] local.INFO: Extracted packet for processing {"connection_id":186166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac46"} 
[2026-09-17 03:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136672768001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789596679000,"timestamp_ms":1789596679000,"timestamp_seconds":1789596679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac463b58"} 
[2026-09-17 03:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 03:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:46:36] 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-09-17 03:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136672768001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136672768001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136672768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":186166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:46:36] local.INFO: GPS data processed {"connection_id":186166,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:46:36] local.INFO: Acknowledgment sent {"connection_id":186166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:46:59] local.INFO: TCP Data received {"connection_id":186168,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:46:59] local.INFO: Processing buffer {"connection_id":186168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:46:59] local.INFO: IMEI packet received {"connection_id":186168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":186168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:47:04] local.INFO: TCP Data received {"connection_id":186168,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:47:04] local.INFO: Processing buffer {"connection_id":186168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:47:04] local.INFO: IMEI packet received {"connection_id":186168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":186168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:47:05] local.INFO: TCP Data received {"connection_id":186168,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:47:05] local.INFO: Processing buffer {"connection_id":186168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:47:05] local.INFO: Packet analysis {"connection_id":186168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:47:05] local.INFO: Extracted packet for processing {"connection_id":186168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:47:05] 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-09-17 03:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":186168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:47:05] local.INFO: GPS data processed {"connection_id":186168,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:47:05] local.INFO: Acknowledgment sent {"connection_id":186168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:47:37] local.INFO: TCP Data received {"connection_id":186168,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:47:37] local.INFO: Processing buffer {"connection_id":186168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:47:37] local.INFO: Packet analysis {"connection_id":186168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:47:37] local.INFO: Extracted packet for processing {"connection_id":186168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:47:37] 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-09-17 03:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":186168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:47:37] local.INFO: GPS data processed {"connection_id":186168,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:47:37] local.INFO: Acknowledgment sent {"connection_id":186168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:47:59] local.INFO: TCP Data received {"connection_id":187484,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:47:59] local.INFO: Processing buffer {"connection_id":187484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:47:59] local.INFO: IMEI packet received {"connection_id":187484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":187484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:48:04] local.INFO: TCP Data received {"connection_id":187484,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:48:04] local.INFO: Processing buffer {"connection_id":187484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:48:04] local.INFO: IMEI packet received {"connection_id":187484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":187484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:48:05] local.INFO: TCP Data received {"connection_id":187484,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:48:05] local.INFO: Processing buffer {"connection_id":187484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:48:05] local.INFO: Packet analysis {"connection_id":187484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:48:05] local.INFO: Extracted packet for processing {"connection_id":187484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:48:05] 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-09-17 03:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":187484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:48:05] local.INFO: GPS data processed {"connection_id":187484,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:48:05] local.INFO: Acknowledgment sent {"connection_id":187484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:48:37] local.INFO: TCP Data received {"connection_id":187484,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:48:37] local.INFO: Processing buffer {"connection_id":187484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:48:37] local.INFO: Packet analysis {"connection_id":187484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:48:37] local.INFO: Extracted packet for processing {"connection_id":187484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:48:37] 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-09-17 03:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":187484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:48:37] local.INFO: GPS data processed {"connection_id":187484,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:48:37] local.INFO: Acknowledgment sent {"connection_id":187484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:48:59] local.INFO: TCP Data received {"connection_id":186170,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:48:59] local.INFO: Processing buffer {"connection_id":186170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:48:59] local.INFO: IMEI packet received {"connection_id":186170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":186170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:49:04] local.INFO: TCP Data received {"connection_id":186170,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:49:04] local.INFO: Processing buffer {"connection_id":186170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:49:04] local.INFO: IMEI packet received {"connection_id":186170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":186170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:49:05] local.INFO: TCP Data received {"connection_id":186170,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:49:05] local.INFO: Processing buffer {"connection_id":186170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:49:05] local.INFO: Packet analysis {"connection_id":186170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:49:05] local.INFO: Extracted packet for processing {"connection_id":186170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:49:05] 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-09-17 03:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":186170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:49:05] local.INFO: GPS data processed {"connection_id":186170,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:49:05] local.INFO: Acknowledgment sent {"connection_id":186170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:49:36] local.INFO: TCP Data received {"connection_id":186170,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:49:36] local.INFO: Processing buffer {"connection_id":186170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:49:36] local.INFO: Packet analysis {"connection_id":186170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:49:36] local.INFO: Extracted packet for processing {"connection_id":186170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:49:36] 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-09-17 03:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":186170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:49:36] local.INFO: GPS data processed {"connection_id":186170,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:49:36] local.INFO: Acknowledgment sent {"connection_id":186170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:49:59] local.INFO: TCP Data received {"connection_id":187486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:49:59] local.INFO: Processing buffer {"connection_id":187486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:49:59] local.INFO: IMEI packet received {"connection_id":187486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":187486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:50:04] local.INFO: TCP Data received {"connection_id":187486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:50:04] local.INFO: Processing buffer {"connection_id":187486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:50:04] local.INFO: IMEI packet received {"connection_id":187486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":187486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:50:05] local.INFO: TCP Data received {"connection_id":187486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:50:05] local.INFO: Processing buffer {"connection_id":187486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:50:05] local.INFO: Packet analysis {"connection_id":187486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:50:05] local.INFO: Extracted packet for processing {"connection_id":187486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:50:05] 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-09-17 03:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":187486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:50:05] local.INFO: GPS data processed {"connection_id":187486,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:50:05] local.INFO: Acknowledgment sent {"connection_id":187486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:50:36] local.INFO: TCP Data received {"connection_id":187486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:50:36] local.INFO: Processing buffer {"connection_id":187486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:50:36] local.INFO: Packet analysis {"connection_id":187486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:50:36] local.INFO: Extracted packet for processing {"connection_id":187486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:50:36] 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-09-17 03:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":187486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:50:36] local.INFO: GPS data processed {"connection_id":187486,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:50:36] local.INFO: Acknowledgment sent {"connection_id":187486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:50:59] local.INFO: TCP Data received {"connection_id":184749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:50:59] local.INFO: Processing buffer {"connection_id":184749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:50:59] local.INFO: IMEI packet received {"connection_id":184749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":184749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:51:04] local.INFO: TCP Data received {"connection_id":184749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:51:04] local.INFO: Processing buffer {"connection_id":184749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:51:04] local.INFO: IMEI packet received {"connection_id":184749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":184749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:51:05] local.INFO: TCP Data received {"connection_id":184749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:51:05] local.INFO: Processing buffer {"connection_id":184749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:51:05] local.INFO: Packet analysis {"connection_id":184749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:51:05] local.INFO: Extracted packet for processing {"connection_id":184749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:51:05] 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-09-17 03:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":184749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:51:05] local.INFO: GPS data processed {"connection_id":184749,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:51:05] local.INFO: Acknowledgment sent {"connection_id":184749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:51:21] local.INFO: TCP Data received {"connection_id":186171,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:51:21] local.INFO: Processing buffer {"connection_id":186171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:51:21] local.INFO: IMEI packet received {"connection_id":186171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":186171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:51:36] local.INFO: TCP Data received {"connection_id":184749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:51:36] local.INFO: Processing buffer {"connection_id":184749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4ad320012d34c3c006aa4458000c01172d..."} 
[2026-09-17 03:51:36] local.INFO: Packet analysis {"connection_id":184749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:51:36] local.INFO: Extracted packet for processing {"connection_id":184749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4a"} 
[2026-09-17 03:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136749824001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789596980000,"timestamp_ms":1789596980000,"timestamp_seconds":1789596980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4ad320"} 
[2026-09-17 03:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 03:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:51:36] 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-09-17 03:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136749824001,"66":25223,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136749824001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136749824001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":184749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:51:36] local.INFO: GPS data processed {"connection_id":184749,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:51:36] local.INFO: Acknowledgment sent {"connection_id":184749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:51:51] local.INFO: TCP Data received {"connection_id":184750,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:51:51] local.INFO: Processing buffer {"connection_id":184750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:51:51] local.INFO: IMEI packet received {"connection_id":184750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":184750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:51:59] local.INFO: TCP Data received {"connection_id":184751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:51:59] local.INFO: Processing buffer {"connection_id":184751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:51:59] local.INFO: IMEI packet received {"connection_id":184751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":184751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:51:59] local.INFO: TCP Data received {"connection_id":184751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:51:59] local.INFO: Processing buffer {"connection_id":184751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:51:59] local.INFO: IMEI packet received {"connection_id":184751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":184751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:52:04] local.INFO: TCP Data received {"connection_id":184751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:52:04] local.INFO: Processing buffer {"connection_id":184751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:52:04] local.INFO: IMEI packet received {"connection_id":184751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":184751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:52:05] local.INFO: TCP Data received {"connection_id":184751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:52:05] local.INFO: Processing buffer {"connection_id":184751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:52:05] local.INFO: Packet analysis {"connection_id":184751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:52:05] local.INFO: Extracted packet for processing {"connection_id":184751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":184751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:52:05] local.INFO: GPS data processed {"connection_id":184751,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:52:05] local.INFO: Acknowledgment sent {"connection_id":184751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:52:37] local.INFO: TCP Data received {"connection_id":184751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:52:37] local.INFO: Processing buffer {"connection_id":184751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:52:37] local.INFO: Packet analysis {"connection_id":184751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:52:37] local.INFO: Extracted packet for processing {"connection_id":184751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:52:37] 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-09-17 03:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":184751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:52:37] local.INFO: GPS data processed {"connection_id":184751,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:52:37] local.INFO: Acknowledgment sent {"connection_id":184751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:52:59] local.INFO: TCP Data received {"connection_id":184859,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:52:59] local.INFO: Processing buffer {"connection_id":184859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:52:59] local.INFO: IMEI packet received {"connection_id":184859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":184859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:53:04] local.INFO: TCP Data received {"connection_id":184859,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:53:04] local.INFO: Processing buffer {"connection_id":184859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:53:04] local.INFO: IMEI packet received {"connection_id":184859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":184859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:53:05] local.INFO: TCP Data received {"connection_id":184859,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:53:05] local.INFO: Processing buffer {"connection_id":184859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:53:05] local.INFO: Packet analysis {"connection_id":184859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:53:05] local.INFO: Extracted packet for processing {"connection_id":184859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:53:05] 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-09-17 03:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":184859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:53:05] local.INFO: GPS data processed {"connection_id":184859,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:53:05] local.INFO: Acknowledgment sent {"connection_id":184859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:53:37] local.INFO: TCP Data received {"connection_id":184859,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:53:37] local.INFO: Processing buffer {"connection_id":184859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:53:37] local.INFO: Packet analysis {"connection_id":184859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:53:37] local.INFO: Extracted packet for processing {"connection_id":184859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:53:37] 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-09-17 03:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:53:37] 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-09-17 03:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":184859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:53:37] local.INFO: GPS data processed {"connection_id":184859,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:53:37] local.INFO: Acknowledgment sent {"connection_id":184859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:53:59] local.INFO: TCP Data received {"connection_id":184753,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:53:59] local.INFO: Processing buffer {"connection_id":184753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:53:59] local.INFO: IMEI packet received {"connection_id":184753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":184753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:54:04] local.INFO: TCP Data received {"connection_id":184753,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:54:04] local.INFO: Processing buffer {"connection_id":184753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:54:04] local.INFO: IMEI packet received {"connection_id":184753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":184753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:54:05] local.INFO: TCP Data received {"connection_id":184753,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:54:05] local.INFO: Processing buffer {"connection_id":184753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:54:05] local.INFO: Packet analysis {"connection_id":184753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:54:05] local.INFO: Extracted packet for processing {"connection_id":184753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:54:05] 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-09-17 03:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:54:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":184753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:54:05] local.INFO: GPS data processed {"connection_id":184753,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:54:05] local.INFO: Acknowledgment sent {"connection_id":184753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:54:36] local.INFO: TCP Data received {"connection_id":184753,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:54:36] local.INFO: Processing buffer {"connection_id":184753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:54:36] local.INFO: Packet analysis {"connection_id":184753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:54:36] local.INFO: Extracted packet for processing {"connection_id":184753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:54:36] 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-09-17 03:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:54:36] 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-09-17 03:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":184753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:54:36] local.INFO: GPS data processed {"connection_id":184753,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:54:36] local.INFO: Acknowledgment sent {"connection_id":184753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:54:59] local.INFO: TCP Data received {"connection_id":186172,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:54:59] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:54:59] local.INFO: IMEI packet received {"connection_id":186172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":186172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:55:04] local.INFO: TCP Data received {"connection_id":186172,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:55:04] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:55:04] local.INFO: IMEI packet received {"connection_id":186172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":186172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:55:05] local.INFO: TCP Data received {"connection_id":186172,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:55:05] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:55:05] local.INFO: Packet analysis {"connection_id":186172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:55:05] local.INFO: Extracted packet for processing {"connection_id":186172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:55:05] 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-09-17 03:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":186172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:55:05] local.INFO: GPS data processed {"connection_id":186172,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:55:05] local.INFO: Acknowledgment sent {"connection_id":186172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:55:37] local.INFO: TCP Data received {"connection_id":186172,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:55:37] local.INFO: Processing buffer {"connection_id":186172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:55:37] local.INFO: Packet analysis {"connection_id":186172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:55:37] local.INFO: Extracted packet for processing {"connection_id":186172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:55:37] 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-09-17 03:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:55:37] 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-09-17 03:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":186172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:55:37] local.INFO: GPS data processed {"connection_id":186172,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:55:37] local.INFO: Acknowledgment sent {"connection_id":186172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:56:04] local.INFO: TCP Data received {"connection_id":184756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:56:04] local.INFO: Processing buffer {"connection_id":184756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:56:04] local.INFO: IMEI packet received {"connection_id":184756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":184756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:56:09] local.INFO: TCP Data received {"connection_id":184756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:56:09] local.INFO: Processing buffer {"connection_id":184756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:56:09] local.INFO: IMEI packet received {"connection_id":184756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":184756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:56:10] local.INFO: TCP Data received {"connection_id":184756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:56:10] local.INFO: Processing buffer {"connection_id":184756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:56:10] local.INFO: Packet analysis {"connection_id":184756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:56:10] local.INFO: Extracted packet for processing {"connection_id":184756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:56: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-09-17 03:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:56:10] 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-09-17 03:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":184756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:56:10] local.INFO: GPS data processed {"connection_id":184756,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:56:10] local.INFO: Acknowledgment sent {"connection_id":184756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:56:14] local.INFO: TCP Data received {"connection_id":184756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:56:14] local.INFO: Processing buffer {"connection_id":184756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac4f6ae8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 03:56:14] local.INFO: Packet analysis {"connection_id":184756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:56:14] local.INFO: Extracted packet for processing {"connection_id":184756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac4f"} 
[2026-09-17 03:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03: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-09-17 03:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136826880001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789597281000,"timestamp_ms":1789597281000,"timestamp_seconds":1789597281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac4f6ae8"} 
[2026-09-17 03:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03: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":135,"data_length":795,"current_offset":136} 
[2026-09-17 03:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03: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-09-17 03:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:56: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-09-17 03:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136826880001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136826880001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:56:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136826880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":184756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:56:14] local.INFO: GPS data processed {"connection_id":184756,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:56:14] local.INFO: Acknowledgment sent {"connection_id":184756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:56:59] local.INFO: TCP Data received {"connection_id":184860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:56:59] local.INFO: Processing buffer {"connection_id":184860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:56:59] local.INFO: IMEI packet received {"connection_id":184860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":184860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:57:00] local.INFO: TCP Data received {"connection_id":184860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:57:00] local.INFO: Processing buffer {"connection_id":184860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:57:00] local.INFO: IMEI packet received {"connection_id":184860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":184860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:57:01] local.INFO: TCP Data received {"connection_id":184860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:57:01] local.INFO: Processing buffer {"connection_id":184860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:57:01] local.INFO: Packet analysis {"connection_id":184860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:57:01] local.INFO: Extracted packet for processing {"connection_id":184860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 03:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":184860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":184860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":184860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:57:01] 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-09-17 03:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:57:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:57:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":184860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:57:01] local.INFO: GPS data processed {"connection_id":184860,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:57:01] local.INFO: Acknowledgment sent {"connection_id":184860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:57:06] local.INFO: TCP Data received {"connection_id":186173,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:57:06] local.INFO: Processing buffer {"connection_id":186173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:57:06] local.INFO: IMEI packet received {"connection_id":186173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":186173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:57:33] local.INFO: TCP Data received {"connection_id":184860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:57:33] local.INFO: Processing buffer {"connection_id":184860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:57:33] local.INFO: Packet analysis {"connection_id":184860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:57:33] local.INFO: Extracted packet for processing {"connection_id":184860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:57:33] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 03:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":184860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":184860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":184860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:57:33] 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-09-17 03:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:57:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:57:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":184860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:57:33] local.INFO: GPS data processed {"connection_id":184860,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:57:33] local.INFO: Acknowledgment sent {"connection_id":184860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:57:56] local.INFO: TCP Data received {"connection_id":186174,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:57:56] local.INFO: Processing buffer {"connection_id":186174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 03:57:56] local.INFO: IMEI packet received {"connection_id":186174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 03:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":186174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:58:00] local.INFO: TCP Data received {"connection_id":187488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:58:00] local.INFO: Processing buffer {"connection_id":187488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:58:00] local.INFO: IMEI packet received {"connection_id":187488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":187488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:58:04] local.INFO: TCP Data received {"connection_id":187488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:58:04] local.INFO: Processing buffer {"connection_id":187488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:58:04] local.INFO: IMEI packet received {"connection_id":187488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":187488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:58:05] local.INFO: TCP Data received {"connection_id":187488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:58:05] local.INFO: Processing buffer {"connection_id":187488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:58:05] local.INFO: Packet analysis {"connection_id":187488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:58:05] local.INFO: Extracted packet for processing {"connection_id":187488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 03:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:58:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":187488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:58:05] local.INFO: GPS data processed {"connection_id":187488,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:58:05] local.INFO: Acknowledgment sent {"connection_id":187488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:58:37] local.INFO: TCP Data received {"connection_id":187488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:58:37] local.INFO: Processing buffer {"connection_id":187488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:58:37] local.INFO: Packet analysis {"connection_id":187488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:58:37] local.INFO: Extracted packet for processing {"connection_id":187488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 03:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 03:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":187488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:58:37] local.INFO: GPS data processed {"connection_id":187488,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:58:37] local.INFO: Acknowledgment sent {"connection_id":187488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:58:59] local.INFO: TCP Data received {"connection_id":184861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:58:59] local.INFO: Processing buffer {"connection_id":184861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:58:59] local.INFO: IMEI packet received {"connection_id":184861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":184861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 03:59:04] local.INFO: TCP Data received {"connection_id":184861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:59:04] local.INFO: Processing buffer {"connection_id":184861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:59:04] local.INFO: IMEI packet received {"connection_id":184861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 03:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":184861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 03:59:05] local.INFO: TCP Data received {"connection_id":184861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:59:05] local.INFO: Processing buffer {"connection_id":184861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:59:05] local.INFO: Packet analysis {"connection_id":184861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:59:05] local.INFO: Extracted packet for processing {"connection_id":184861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 03:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:59:05] 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-09-17 03:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":184861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:59:05] local.INFO: GPS data processed {"connection_id":184861,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:59:05] local.INFO: Acknowledgment sent {"connection_id":184861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:59:36] local.INFO: TCP Data received {"connection_id":184861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:59:36] local.INFO: Processing buffer {"connection_id":184861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 03:59:36] local.INFO: Packet analysis {"connection_id":184861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:59:36] local.INFO: Extracted packet for processing {"connection_id":184861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 03:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 03:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 03:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 03:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 03:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 03:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 03:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 03:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 03:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 03:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 03:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 03:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 03:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 03:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 03:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 03:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 03:59:36] 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-09-17 03:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 03:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 03:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 03:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 03:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 03:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 03:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 03:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 03:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 03:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 03:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 03:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":184861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 03:59:36] local.INFO: GPS data processed {"connection_id":184861,"processed":1,"errors":0,"total":1} 
[2026-09-17 03:59:36] local.INFO: Acknowledgment sent {"connection_id":184861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 03:59:59] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:59:59] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 03:59:59] local.INFO: IMEI packet received {"connection_id":184863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 03:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":184863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:00:04] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:00:04] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:00:04] local.INFO: IMEI packet received {"connection_id":184863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":184863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:00:05] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:00:05] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:00:05] local.INFO: Packet analysis {"connection_id":184863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 04:00:05] local.INFO: Extracted packet for processing {"connection_id":184863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 04:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 04:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:00:05] 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-09-17 04:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":184863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:00:05] local.INFO: GPS data processed {"connection_id":184863,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:00:05] local.INFO: Acknowledgment sent {"connection_id":184863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:00:37] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:00:37] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:00:37] local.INFO: Packet analysis {"connection_id":184863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 04:00:37] local.INFO: Extracted packet for processing {"connection_id":184863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 04:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 04:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:00:37] 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-09-17 04:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":184863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:00:37] local.INFO: GPS data processed {"connection_id":184863,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:00:37] local.INFO: Acknowledgment sent {"connection_id":184863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:01:04] local.INFO: TCP Data received {"connection_id":186177,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:01:04] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:01:04] local.INFO: IMEI packet received {"connection_id":186177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":186177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:01:09] local.INFO: TCP Data received {"connection_id":186177,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:01:09] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:01:09] local.INFO: IMEI packet received {"connection_id":186177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":186177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:01:10] local.INFO: TCP Data received {"connection_id":186177,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:01:10] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:01:10] local.INFO: Packet analysis {"connection_id":186177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 04:01:10] local.INFO: Extracted packet for processing {"connection_id":186177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 04:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 04:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":186177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:01:10] local.INFO: GPS data processed {"connection_id":186177,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:01:10] local.INFO: Acknowledgment sent {"connection_id":186177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:01:15] local.INFO: TCP Data received {"connection_id":186177,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:01:15] local.INFO: Processing buffer {"connection_id":186177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5402b0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:01:15] local.INFO: Packet analysis {"connection_id":186177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 04:01:15] local.INFO: Extracted packet for processing {"connection_id":186177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac54"} 
[2026-09-17 04:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789597582000,"timestamp_ms":1789597582000,"timestamp_seconds":1789597582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5402b0"} 
[2026-09-17 04:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136903936001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136903936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":186177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:01:15] local.INFO: GPS data processed {"connection_id":186177,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:01:15] local.INFO: Acknowledgment sent {"connection_id":186177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:01:59] local.INFO: TCP Data received {"connection_id":184866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:01:59] local.INFO: Processing buffer {"connection_id":184866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:01:59] local.INFO: IMEI packet received {"connection_id":184866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":184866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:02:01] local.INFO: TCP Data received {"connection_id":184866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:02:01] local.INFO: Processing buffer {"connection_id":184866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:02:01] local.INFO: IMEI packet received {"connection_id":184866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":184866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:02:02] local.INFO: TCP Data received {"connection_id":184866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:02:02] local.INFO: Processing buffer {"connection_id":184866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:02:02] local.INFO: Packet analysis {"connection_id":184866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:02:02] local.INFO: Extracted packet for processing {"connection_id":184866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:02:02] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":184866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":184866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":184866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:02:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:02:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":184866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:02:02] local.INFO: GPS data processed {"connection_id":184866,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:02:02] local.INFO: Acknowledgment sent {"connection_id":184866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:02:33] local.INFO: TCP Data received {"connection_id":184866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:02:33] local.INFO: Processing buffer {"connection_id":184866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:02:33] local.INFO: Packet analysis {"connection_id":184866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:02:33] local.INFO: Extracted packet for processing {"connection_id":184866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:02:33] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":184866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":184866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":184866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:02:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:02:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":184866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:02:33] local.INFO: GPS data processed {"connection_id":184866,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:02:33] local.INFO: Acknowledgment sent {"connection_id":184866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:02:59] local.INFO: TCP Data received {"connection_id":187489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:02:59] local.INFO: Processing buffer {"connection_id":187489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:02:59] local.INFO: IMEI packet received {"connection_id":187489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":187489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:03:04] local.INFO: TCP Data received {"connection_id":187489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:03:04] local.INFO: Processing buffer {"connection_id":187489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:03:04] local.INFO: IMEI packet received {"connection_id":187489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":187489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:03:05] local.INFO: TCP Data received {"connection_id":187489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:03:05] local.INFO: Processing buffer {"connection_id":187489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:03:05] local.INFO: Packet analysis {"connection_id":187489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:03:05] local.INFO: Extracted packet for processing {"connection_id":187489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:03:05] 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-09-17 04:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:03:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":187489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:03:05] local.INFO: GPS data processed {"connection_id":187489,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:03:05] local.INFO: Acknowledgment sent {"connection_id":187489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:03:26] local.INFO: TCP Data received {"connection_id":186178,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:03:26] local.INFO: Processing buffer {"connection_id":186178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:03:26] local.INFO: IMEI packet received {"connection_id":186178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":186178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:03:37] local.INFO: TCP Data received {"connection_id":187489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:03:37] local.INFO: Processing buffer {"connection_id":187489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:03:37] local.INFO: Packet analysis {"connection_id":187489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:03:37] local.INFO: Extracted packet for processing {"connection_id":187489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:03:37] 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-09-17 04:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":187489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:03:37] local.INFO: GPS data processed {"connection_id":187489,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:03:37] local.INFO: Acknowledgment sent {"connection_id":187489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:03:51] local.INFO: TCP Data received {"connection_id":184867,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:03:51] local.INFO: Processing buffer {"connection_id":184867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:03:51] local.INFO: IMEI packet received {"connection_id":184867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":184867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:03:59] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:03:59] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:03:59] local.INFO: IMEI packet received {"connection_id":186179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":186179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:04:04] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:04:04] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:04:04] local.INFO: IMEI packet received {"connection_id":186179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":186179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:04:05] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:04:05] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:04:05] local.INFO: Packet analysis {"connection_id":186179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:04:05] local.INFO: Extracted packet for processing {"connection_id":186179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:04:05] 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-09-17 04:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:04:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":186179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:04:05] local.INFO: GPS data processed {"connection_id":186179,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:04:05] local.INFO: Acknowledgment sent {"connection_id":186179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:04:36] local.INFO: TCP Data received {"connection_id":186179,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:04:36] local.INFO: Processing buffer {"connection_id":186179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:04:36] local.INFO: Packet analysis {"connection_id":186179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:04:36] local.INFO: Extracted packet for processing {"connection_id":186179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:04:36] 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-09-17 04:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":186179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:04:36] local.INFO: GPS data processed {"connection_id":186179,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:04:36] local.INFO: Acknowledgment sent {"connection_id":186179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:05:04] local.INFO: TCP Data received {"connection_id":184757,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:05:04] local.INFO: Processing buffer {"connection_id":184757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:05:04] local.INFO: IMEI packet received {"connection_id":184757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":184757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:05:09] local.INFO: TCP Data received {"connection_id":184757,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:05:09] local.INFO: Processing buffer {"connection_id":184757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:05:09] local.INFO: IMEI packet received {"connection_id":184757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":184757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:05:10] local.INFO: TCP Data received {"connection_id":184757,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:05:10] local.INFO: Processing buffer {"connection_id":184757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:05:10] local.INFO: Packet analysis {"connection_id":184757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:05:10] local.INFO: Extracted packet for processing {"connection_id":184757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:05:10] 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-09-17 04:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":184757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:05:10] local.INFO: GPS data processed {"connection_id":184757,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:05:10] local.INFO: Acknowledgment sent {"connection_id":184757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:05:14] local.INFO: TCP Data received {"connection_id":184757,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:05:14] local.INFO: Processing buffer {"connection_id":184757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:05:14] local.INFO: Packet analysis {"connection_id":184757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:05:14] local.INFO: Extracted packet for processing {"connection_id":184757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:05: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-09-17 04:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:05: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-09-17 04:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:05: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-09-17 04:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:05:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":184757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:05:14] local.INFO: GPS data processed {"connection_id":184757,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:05:14] local.INFO: Acknowledgment sent {"connection_id":184757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:06:03] local.INFO: TCP Data received {"connection_id":186181,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:06:03] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:06:03] local.INFO: IMEI packet received {"connection_id":186181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":186181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:06:04] local.INFO: TCP Data received {"connection_id":186181,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:06:04] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:06:04] local.INFO: IMEI packet received {"connection_id":186181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":186181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:06:04] local.INFO: TCP Data received {"connection_id":186181,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:06:04] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:06:04] local.INFO: Packet analysis {"connection_id":186181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:06:04] local.INFO: Extracted packet for processing {"connection_id":186181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:06:04] 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-09-17 04:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":186181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:06:04] local.INFO: GPS data processed {"connection_id":186181,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:06:04] local.INFO: Acknowledgment sent {"connection_id":186181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:06:09] local.INFO: TCP Data received {"connection_id":186181,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:06:09] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:06:09] local.INFO: Packet analysis {"connection_id":186181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:06:09] local.INFO: Extracted packet for processing {"connection_id":186181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04: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-09-17 04:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04: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-09-17 04:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04: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-09-17 04:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":186181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:06:09] local.INFO: GPS data processed {"connection_id":186181,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:06:09] local.INFO: Acknowledgment sent {"connection_id":186181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:06:41] local.INFO: TCP Data received {"connection_id":186181,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:06:41] local.INFO: Processing buffer {"connection_id":186181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac589a78012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:06:41] local.INFO: Packet analysis {"connection_id":186181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:06:41] local.INFO: Extracted packet for processing {"connection_id":186181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac58"} 
[2026-09-17 04:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458136980992001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789597883000,"timestamp_ms":1789597883000,"timestamp_seconds":1789597883,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac589a78"} 
[2026-09-17 04:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:06: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-09-17 04:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458136980992001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458136980992001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458136980992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":186181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:06:41] local.INFO: GPS data processed {"connection_id":186181,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:06:41] local.INFO: Acknowledgment sent {"connection_id":186181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:06:59] local.INFO: TCP Data received {"connection_id":184759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:06:59] local.INFO: Processing buffer {"connection_id":184759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:06:59] local.INFO: IMEI packet received {"connection_id":184759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":184759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:07:02] local.INFO: TCP Data received {"connection_id":184759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:07:02] local.INFO: Processing buffer {"connection_id":184759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:07:02] local.INFO: IMEI packet received {"connection_id":184759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":184759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:07:03] local.INFO: TCP Data received {"connection_id":184759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:07:03] local.INFO: Processing buffer {"connection_id":184759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:07:03] local.INFO: Packet analysis {"connection_id":184759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:07:03] local.INFO: Extracted packet for processing {"connection_id":184759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":184759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":184759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":184759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:07:03] 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-09-17 04:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":184759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:07:03] local.INFO: GPS data processed {"connection_id":184759,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:07:03] local.INFO: Acknowledgment sent {"connection_id":184759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:07:34] local.INFO: TCP Data received {"connection_id":184759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:07:34] local.INFO: Processing buffer {"connection_id":184759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:07:34] local.INFO: Packet analysis {"connection_id":184759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:07:34] local.INFO: Extracted packet for processing {"connection_id":184759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":184759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":184759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":184759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:07:34] 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-09-17 04:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:07:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":184759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:07:34] local.INFO: GPS data processed {"connection_id":184759,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:07:34] local.INFO: Acknowledgment sent {"connection_id":184759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:07:59] local.INFO: TCP Data received {"connection_id":184760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:07:59] local.INFO: Processing buffer {"connection_id":184760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:07:59] local.INFO: IMEI packet received {"connection_id":184760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":184760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:08:04] local.INFO: TCP Data received {"connection_id":184760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:08:04] local.INFO: Processing buffer {"connection_id":184760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:08:04] local.INFO: IMEI packet received {"connection_id":184760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":184760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:08:06] local.INFO: TCP Data received {"connection_id":184760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:08:06] local.INFO: Processing buffer {"connection_id":184760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:08:06] local.INFO: Packet analysis {"connection_id":184760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:08:06] local.INFO: Extracted packet for processing {"connection_id":184760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:08:06] 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-09-17 04:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":184760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:08:06] local.INFO: GPS data processed {"connection_id":184760,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:08:06] local.INFO: Acknowledgment sent {"connection_id":184760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:08:41] local.INFO: TCP Data received {"connection_id":184760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:08:41] local.INFO: Processing buffer {"connection_id":184760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:08:41] local.INFO: Packet analysis {"connection_id":184760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:08:41] local.INFO: Extracted packet for processing {"connection_id":184760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":184760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":184760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":184760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:08: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-09-17 04:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":184760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:08:41] local.INFO: GPS data processed {"connection_id":184760,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:08:41] local.INFO: Acknowledgment sent {"connection_id":184760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:09:04] local.INFO: TCP Data received {"connection_id":184869,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:09:04] local.INFO: Processing buffer {"connection_id":184869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:09:04] local.INFO: IMEI packet received {"connection_id":184869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":184869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:09:10] local.INFO: TCP Data received {"connection_id":184869,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:09:10] local.INFO: Processing buffer {"connection_id":184869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:09:10] local.INFO: IMEI packet received {"connection_id":184869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":184869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:09:11] local.INFO: TCP Data received {"connection_id":184869,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:09:11] local.INFO: Processing buffer {"connection_id":184869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:09:11] local.INFO: Packet analysis {"connection_id":184869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:09:11] local.INFO: Extracted packet for processing {"connection_id":184869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:09: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-09-17 04:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:09:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:09:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":184869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:09:11] local.INFO: GPS data processed {"connection_id":184869,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:09:11] local.INFO: Acknowledgment sent {"connection_id":184869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:09:15] local.INFO: TCP Data received {"connection_id":184869,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:09:15] local.INFO: Processing buffer {"connection_id":184869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:09:15] local.INFO: Packet analysis {"connection_id":184869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:09:15] local.INFO: Extracted packet for processing {"connection_id":184869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:09:15] 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-09-17 04:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":184869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:09:15] local.INFO: GPS data processed {"connection_id":184869,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:09:15] local.INFO: Acknowledgment sent {"connection_id":184869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:09:21] local.INFO: TCP Data received {"connection_id":187491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:09:21] local.INFO: Processing buffer {"connection_id":187491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:09:21] local.INFO: IMEI packet received {"connection_id":187491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":187491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:09:51] local.INFO: TCP Data received {"connection_id":186182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:09:51] local.INFO: Processing buffer {"connection_id":186182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:09:51] local.INFO: IMEI packet received {"connection_id":186182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":186182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:10:00] local.INFO: TCP Data received {"connection_id":184870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:10:00] local.INFO: Processing buffer {"connection_id":184870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:10:00] local.INFO: IMEI packet received {"connection_id":184870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":184870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:10:04] local.INFO: TCP Data received {"connection_id":184870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:10:04] local.INFO: Processing buffer {"connection_id":184870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:10:04] local.INFO: IMEI packet received {"connection_id":184870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":184870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:10:05] local.INFO: TCP Data received {"connection_id":184870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:10:05] local.INFO: Processing buffer {"connection_id":184870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:10:05] local.INFO: Packet analysis {"connection_id":184870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:10:05] local.INFO: Extracted packet for processing {"connection_id":184870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:10:05] 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-09-17 04:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":184870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:10:05] local.INFO: GPS data processed {"connection_id":184870,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:10:05] local.INFO: Acknowledgment sent {"connection_id":184870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:10:36] local.INFO: TCP Data received {"connection_id":184870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:10:36] local.INFO: Processing buffer {"connection_id":184870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:10:36] local.INFO: Packet analysis {"connection_id":184870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:10:36] local.INFO: Extracted packet for processing {"connection_id":184870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:10:36] 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-09-17 04:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":184870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:10:36] local.INFO: GPS data processed {"connection_id":184870,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:10:36] local.INFO: Acknowledgment sent {"connection_id":184870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:10:59] local.INFO: TCP Data received {"connection_id":187492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:10:59] local.INFO: Processing buffer {"connection_id":187492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:10:59] local.INFO: IMEI packet received {"connection_id":187492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":187492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:11:04] local.INFO: TCP Data received {"connection_id":187492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:11:04] local.INFO: Processing buffer {"connection_id":187492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:11:04] local.INFO: IMEI packet received {"connection_id":187492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":187492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:11:05] local.INFO: TCP Data received {"connection_id":187492,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:11:05] local.INFO: Processing buffer {"connection_id":187492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:11:05] local.INFO: Packet analysis {"connection_id":187492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:11:05] local.INFO: Extracted packet for processing {"connection_id":187492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:11:05] 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-09-17 04:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":187492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:11:05] local.INFO: GPS data processed {"connection_id":187492,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:11:05] local.INFO: Acknowledgment sent {"connection_id":187492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:11:37] local.INFO: TCP Data received {"connection_id":187492,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:11:37] local.INFO: Processing buffer {"connection_id":187492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac5d3240012d34c3c006aa4458000c011730..."} 
[2026-09-17 04:11:37] local.INFO: Packet analysis {"connection_id":187492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:11:37] local.INFO: Extracted packet for processing {"connection_id":187492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac5d"} 
[2026-09-17 04:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137058048001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789598184000,"timestamp_ms":1789598184000,"timestamp_seconds":1789598184,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac5d3240"} 
[2026-09-17 04:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:11:37] 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-09-17 04:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137058048001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137058048001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137058048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":187492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:11:37] local.INFO: GPS data processed {"connection_id":187492,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:11:37] local.INFO: Acknowledgment sent {"connection_id":187492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:11:59] local.INFO: TCP Data received {"connection_id":187493,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:11:59] local.INFO: Processing buffer {"connection_id":187493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:11:59] local.INFO: IMEI packet received {"connection_id":187493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":187493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:12:03] local.INFO: TCP Data received {"connection_id":187493,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:12:03] local.INFO: Processing buffer {"connection_id":187493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:12:03] local.INFO: IMEI packet received {"connection_id":187493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":187493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:12:04] local.INFO: TCP Data received {"connection_id":187493,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:12:04] local.INFO: Processing buffer {"connection_id":187493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:12:04] local.INFO: Packet analysis {"connection_id":187493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:12:04] local.INFO: Extracted packet for processing {"connection_id":187493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":187493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:12:04] local.INFO: GPS data processed {"connection_id":187493,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:12:04] local.INFO: Acknowledgment sent {"connection_id":187493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:12:35] local.INFO: TCP Data received {"connection_id":187493,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:12:35] local.INFO: Processing buffer {"connection_id":187493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:12:35] local.INFO: Packet analysis {"connection_id":187493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:12:35] local.INFO: Extracted packet for processing {"connection_id":187493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":187493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:12:35] local.INFO: GPS data processed {"connection_id":187493,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:12:35] local.INFO: Acknowledgment sent {"connection_id":187493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:12:59] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:12:59] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:12:59] local.INFO: IMEI packet received {"connection_id":186183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":186183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:13:04] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:13:04] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:13:04] local.INFO: IMEI packet received {"connection_id":186183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":186183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:13:05] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:13:05] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:13:05] local.INFO: Packet analysis {"connection_id":186183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:13:05] local.INFO: Extracted packet for processing {"connection_id":186183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:13:05] 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-09-17 04:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":186183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:13:05] local.INFO: GPS data processed {"connection_id":186183,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:13:05] local.INFO: Acknowledgment sent {"connection_id":186183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:13:36] local.INFO: TCP Data received {"connection_id":186183,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:13:36] local.INFO: Processing buffer {"connection_id":186183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:13:36] local.INFO: Packet analysis {"connection_id":186183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:13:36] local.INFO: Extracted packet for processing {"connection_id":186183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:13:36] 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-09-17 04:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":186183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:13:36] local.INFO: GPS data processed {"connection_id":186183,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:13:36] local.INFO: Acknowledgment sent {"connection_id":186183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:13:59] local.INFO: TCP Data received {"connection_id":187494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:13:59] local.INFO: Processing buffer {"connection_id":187494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:13:59] local.INFO: IMEI packet received {"connection_id":187494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":187494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:14:04] local.INFO: TCP Data received {"connection_id":187494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:14:04] local.INFO: Processing buffer {"connection_id":187494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:14:04] local.INFO: IMEI packet received {"connection_id":187494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":187494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:14:05] local.INFO: TCP Data received {"connection_id":187494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:14:05] local.INFO: Processing buffer {"connection_id":187494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:14:05] local.INFO: Packet analysis {"connection_id":187494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:14:05] local.INFO: Extracted packet for processing {"connection_id":187494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:14:05] 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-09-17 04:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":187494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:14:05] local.INFO: GPS data processed {"connection_id":187494,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:14:05] local.INFO: Acknowledgment sent {"connection_id":187494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:14:36] local.INFO: TCP Data received {"connection_id":187494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:14:36] local.INFO: Processing buffer {"connection_id":187494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:14:36] local.INFO: Packet analysis {"connection_id":187494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:14:36] local.INFO: Extracted packet for processing {"connection_id":187494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:14:36] 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-09-17 04:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":187494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:14:36] local.INFO: GPS data processed {"connection_id":187494,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:14:36] local.INFO: Acknowledgment sent {"connection_id":187494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:14:59] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:14:59] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:14:59] local.INFO: IMEI packet received {"connection_id":186184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":186184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:15:04] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:15:04] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:15:04] local.INFO: IMEI packet received {"connection_id":186184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":186184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:15:05] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:15:05] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:15:05] local.INFO: Packet analysis {"connection_id":186184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:15:05] local.INFO: Extracted packet for processing {"connection_id":186184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:15:05] 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-09-17 04:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":186184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:15:05] local.INFO: GPS data processed {"connection_id":186184,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:15:05] local.INFO: Acknowledgment sent {"connection_id":186184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:15:09] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:15:09] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:15:09] local.INFO: Packet analysis {"connection_id":186184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:15:09] local.INFO: Extracted packet for processing {"connection_id":186184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 04:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 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-09-17 04:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 04:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:15: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-09-17 04:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":186184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:15:09] local.INFO: GPS data processed {"connection_id":186184,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:15:09] local.INFO: Acknowledgment sent {"connection_id":186184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:15:16] local.INFO: TCP Data received {"connection_id":184872,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:15:16] local.INFO: Processing buffer {"connection_id":184872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:15:16] local.INFO: IMEI packet received {"connection_id":184872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":184872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:15:41] local.INFO: TCP Data received {"connection_id":186184,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:15:41] local.INFO: Processing buffer {"connection_id":186184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:15:41] local.INFO: Packet analysis {"connection_id":186184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:15:41] local.INFO: Extracted packet for processing {"connection_id":186184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:15:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:15: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-09-17 04:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:15:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:15:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":186184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:15:41] local.INFO: GPS data processed {"connection_id":186184,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:15:41] local.INFO: Acknowledgment sent {"connection_id":186184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:15:51] local.INFO: TCP Data received {"connection_id":187495,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:15:51] local.INFO: Processing buffer {"connection_id":187495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:15:51] local.INFO: IMEI packet received {"connection_id":187495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":187495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:15:59] local.INFO: TCP Data received {"connection_id":184764,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:15:59] local.INFO: Processing buffer {"connection_id":184764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:15:59] local.INFO: IMEI packet received {"connection_id":184764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":184764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:16:04] local.INFO: TCP Data received {"connection_id":184764,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:16:04] local.INFO: Processing buffer {"connection_id":184764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:16:04] local.INFO: IMEI packet received {"connection_id":184764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":184764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:16:05] local.INFO: TCP Data received {"connection_id":184764,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:16:05] local.INFO: Processing buffer {"connection_id":184764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:16:05] local.INFO: Packet analysis {"connection_id":184764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:16:05] local.INFO: Extracted packet for processing {"connection_id":184764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:16:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":184764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:16:05] local.INFO: GPS data processed {"connection_id":184764,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:16:05] local.INFO: Acknowledgment sent {"connection_id":184764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:16:36] local.INFO: TCP Data received {"connection_id":184764,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:16:36] local.INFO: Processing buffer {"connection_id":184764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac61ca08012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:16:36] local.INFO: Packet analysis {"connection_id":184764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:16:36] local.INFO: Extracted packet for processing {"connection_id":184764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac61"} 
[2026-09-17 04:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137135104001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789598485000,"timestamp_ms":1789598485000,"timestamp_seconds":1789598485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac61ca08"} 
[2026-09-17 04:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 04:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137135104001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137135104001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137135104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":184764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:16:36] local.INFO: GPS data processed {"connection_id":184764,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:16:36] local.INFO: Acknowledgment sent {"connection_id":184764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:16:59] local.INFO: TCP Data received {"connection_id":184874,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:16:59] local.INFO: Processing buffer {"connection_id":184874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:16:59] local.INFO: IMEI packet received {"connection_id":184874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":184874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:17:04] local.INFO: TCP Data received {"connection_id":184874,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:17:04] local.INFO: Processing buffer {"connection_id":184874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:17:04] local.INFO: IMEI packet received {"connection_id":184874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":184874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:17:05] local.INFO: TCP Data received {"connection_id":184874,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:17:05] local.INFO: Processing buffer {"connection_id":184874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:17:05] local.INFO: Packet analysis {"connection_id":184874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:17:05] local.INFO: Extracted packet for processing {"connection_id":184874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:17:05] 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-09-17 04:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:17:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":184874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:17:05] local.INFO: GPS data processed {"connection_id":184874,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:17:05] local.INFO: Acknowledgment sent {"connection_id":184874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:17:36] local.INFO: TCP Data received {"connection_id":184874,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:17:36] local.INFO: Processing buffer {"connection_id":184874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:17:36] local.INFO: Packet analysis {"connection_id":184874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:17:36] local.INFO: Extracted packet for processing {"connection_id":184874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:17:36] 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-09-17 04:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":184874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:17:36] local.INFO: GPS data processed {"connection_id":184874,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:17:36] local.INFO: Acknowledgment sent {"connection_id":184874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:17:59] local.INFO: TCP Data received {"connection_id":187497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:17:59] local.INFO: Processing buffer {"connection_id":187497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:17:59] local.INFO: IMEI packet received {"connection_id":187497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":187497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:18:04] local.INFO: TCP Data received {"connection_id":187497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:18:04] local.INFO: Processing buffer {"connection_id":187497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:18:04] local.INFO: IMEI packet received {"connection_id":187497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":187497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:18:05] local.INFO: TCP Data received {"connection_id":187497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:18:05] local.INFO: Processing buffer {"connection_id":187497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:18:05] local.INFO: Packet analysis {"connection_id":187497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:18:05] local.INFO: Extracted packet for processing {"connection_id":187497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:18:05] 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-09-17 04:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":187497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:18:05] local.INFO: GPS data processed {"connection_id":187497,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:18:05] local.INFO: Acknowledgment sent {"connection_id":187497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:18:37] local.INFO: TCP Data received {"connection_id":187497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:18:37] local.INFO: Processing buffer {"connection_id":187497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:18:37] local.INFO: Packet analysis {"connection_id":187497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:18:37] local.INFO: Extracted packet for processing {"connection_id":187497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:18:37] 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-09-17 04:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":187497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:18:37] local.INFO: GPS data processed {"connection_id":187497,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:18:37] local.INFO: Acknowledgment sent {"connection_id":187497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:18:59] local.INFO: TCP Data received {"connection_id":184875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:18:59] local.INFO: Processing buffer {"connection_id":184875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:18:59] local.INFO: IMEI packet received {"connection_id":184875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":184875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:19:04] local.INFO: TCP Data received {"connection_id":184875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:19:04] local.INFO: Processing buffer {"connection_id":184875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:19:04] local.INFO: IMEI packet received {"connection_id":184875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":184875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:19:05] local.INFO: TCP Data received {"connection_id":184875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:19:05] local.INFO: Processing buffer {"connection_id":184875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:19:05] local.INFO: Packet analysis {"connection_id":184875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:19:05] local.INFO: Extracted packet for processing {"connection_id":184875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:19:05] 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-09-17 04:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":184875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:19:05] local.INFO: GPS data processed {"connection_id":184875,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:19:05] local.INFO: Acknowledgment sent {"connection_id":184875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:19:36] local.INFO: TCP Data received {"connection_id":184875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:19:36] local.INFO: Processing buffer {"connection_id":184875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:19:36] local.INFO: Packet analysis {"connection_id":184875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:19:36] local.INFO: Extracted packet for processing {"connection_id":184875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:19:36] 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-09-17 04:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":184875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:19:36] local.INFO: GPS data processed {"connection_id":184875,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:19:36] local.INFO: Acknowledgment sent {"connection_id":184875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:19:59] local.INFO: TCP Data received {"connection_id":184765,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:19:59] local.INFO: Processing buffer {"connection_id":184765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:19:59] local.INFO: IMEI packet received {"connection_id":184765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":184765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:20:04] local.INFO: TCP Data received {"connection_id":184765,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:20:04] local.INFO: Processing buffer {"connection_id":184765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:20:04] local.INFO: IMEI packet received {"connection_id":184765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":184765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:20:05] local.INFO: TCP Data received {"connection_id":184765,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:20:05] local.INFO: Processing buffer {"connection_id":184765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:20:05] local.INFO: Packet analysis {"connection_id":184765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:20:05] local.INFO: Extracted packet for processing {"connection_id":184765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:20:05] 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-09-17 04:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":184765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:20:05] local.INFO: GPS data processed {"connection_id":184765,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:20:05] local.INFO: Acknowledgment sent {"connection_id":184765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:20:37] local.INFO: TCP Data received {"connection_id":184765,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:20:37] local.INFO: Processing buffer {"connection_id":184765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:20:37] local.INFO: Packet analysis {"connection_id":184765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:20:37] local.INFO: Extracted packet for processing {"connection_id":184765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:20:37] 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-09-17 04:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":184765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:20:37] local.INFO: GPS data processed {"connection_id":184765,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:20:37] local.INFO: Acknowledgment sent {"connection_id":184765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:20:59] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:20:59] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:20:59] local.INFO: IMEI packet received {"connection_id":186187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":186187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:21:04] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:21:04] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:21:04] local.INFO: IMEI packet received {"connection_id":186187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":186187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:21:05] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:21:05] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:21:05] local.INFO: Packet analysis {"connection_id":186187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:21:05] local.INFO: Extracted packet for processing {"connection_id":186187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":186187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:21:05] local.INFO: GPS data processed {"connection_id":186187,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:21:05] local.INFO: Acknowledgment sent {"connection_id":186187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:21:16] local.INFO: TCP Data received {"connection_id":184766,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:21:16] local.INFO: Processing buffer {"connection_id":184766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:21:16] local.INFO: IMEI packet received {"connection_id":184766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":184766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:21:36] local.INFO: TCP Data received {"connection_id":186187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:21:36] local.INFO: Processing buffer {"connection_id":186187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:21:36] local.INFO: Packet analysis {"connection_id":186187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:21:36] local.INFO: Extracted packet for processing {"connection_id":186187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":186187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:21:36] local.INFO: GPS data processed {"connection_id":186187,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:21:36] local.INFO: Acknowledgment sent {"connection_id":186187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:21:56] local.INFO: TCP Data received {"connection_id":184876,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:21:56] local.INFO: Processing buffer {"connection_id":184876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:21:56] local.INFO: IMEI packet received {"connection_id":184876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":184876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:21:59] local.INFO: TCP Data received {"connection_id":184767,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:21:59] local.INFO: Processing buffer {"connection_id":184767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:21:59] local.INFO: IMEI packet received {"connection_id":184767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":184767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:22:04] local.INFO: TCP Data received {"connection_id":184767,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:22:04] local.INFO: Processing buffer {"connection_id":184767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:22:04] local.INFO: IMEI packet received {"connection_id":184767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":184767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:22:05] local.INFO: TCP Data received {"connection_id":184767,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:22:05] local.INFO: Processing buffer {"connection_id":184767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6661d0012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:22:05] local.INFO: Packet analysis {"connection_id":184767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:22:05] local.INFO: Extracted packet for processing {"connection_id":184767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac66"} 
[2026-09-17 04:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137212160001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789598786000,"timestamp_ms":1789598786000,"timestamp_seconds":1789598786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6661d0"} 
[2026-09-17 04:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 04:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:22:05] 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-09-17 04:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137212160001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137212160001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137212160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":184767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:22:05] local.INFO: GPS data processed {"connection_id":184767,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:22:05] local.INFO: Acknowledgment sent {"connection_id":184767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:22:36] local.INFO: TCP Data received {"connection_id":184767,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:22:36] local.INFO: Processing buffer {"connection_id":184767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:22:36] local.INFO: Packet analysis {"connection_id":184767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:22:36] local.INFO: Extracted packet for processing {"connection_id":184767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137289216001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789599087000,"timestamp_ms":1789599087000,"timestamp_seconds":1789599087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6af998"} 
[2026-09-17 04:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 04:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:22:36] 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-09-17 04:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137289216001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137289216001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137289216001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":184767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:22:36] local.INFO: GPS data processed {"connection_id":184767,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:22:36] local.INFO: Acknowledgment sent {"connection_id":184767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:22:59] local.INFO: TCP Data received {"connection_id":184768,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:22:59] local.INFO: Processing buffer {"connection_id":184768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:22:59] local.INFO: IMEI packet received {"connection_id":184768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":184768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:23:04] local.INFO: TCP Data received {"connection_id":184768,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:23:04] local.INFO: Processing buffer {"connection_id":184768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:23:04] local.INFO: IMEI packet received {"connection_id":184768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":184768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:23:05] local.INFO: TCP Data received {"connection_id":184768,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:23:05] local.INFO: Processing buffer {"connection_id":184768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:23:05] local.INFO: Packet analysis {"connection_id":184768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:23:05] local.INFO: Extracted packet for processing {"connection_id":184768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137289216001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599087000,"timestamp_ms":1789599087000,"timestamp_seconds":1789599087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6af998"} 
[2026-09-17 04:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 04:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:23:05] 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-09-17 04:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137289216001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137289216001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137289216001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":184768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:23:05] local.INFO: GPS data processed {"connection_id":184768,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:23:05] local.INFO: Acknowledgment sent {"connection_id":184768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:23:37] local.INFO: TCP Data received {"connection_id":184768,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:23:37] local.INFO: Processing buffer {"connection_id":184768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:23:37] local.INFO: Packet analysis {"connection_id":184768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:23:37] local.INFO: Extracted packet for processing {"connection_id":184768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137289216001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789599087000,"timestamp_ms":1789599087000,"timestamp_seconds":1789599087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6af998"} 
[2026-09-17 04:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 04:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:23:37] 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-09-17 04:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137289216001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137289216001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137289216001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":184768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:23:37] local.INFO: GPS data processed {"connection_id":184768,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:23:37] local.INFO: Acknowledgment sent {"connection_id":184768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:23:59] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:23:59] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:23:59] local.INFO: IMEI packet received {"connection_id":186188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":186188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:24:04] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:24:04] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:24:04] local.INFO: IMEI packet received {"connection_id":186188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":186188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:24:05] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:24:05] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:24:05] local.INFO: Packet analysis {"connection_id":186188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:24:05] local.INFO: Extracted packet for processing {"connection_id":186188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137289216001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599087000,"timestamp_ms":1789599087000,"timestamp_seconds":1789599087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6af998"} 
[2026-09-17 04:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 04:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:24:05] 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-09-17 04:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137289216001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137289216001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:24:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137289216001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":186188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:24:05] local.INFO: GPS data processed {"connection_id":186188,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:24:05] local.INFO: Acknowledgment sent {"connection_id":186188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:24:37] local.INFO: TCP Data received {"connection_id":186188,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:24:37] local.INFO: Processing buffer {"connection_id":186188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:24:37] local.INFO: Packet analysis {"connection_id":186188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:24:37] local.INFO: Extracted packet for processing {"connection_id":186188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137289216001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789599087000,"timestamp_ms":1789599087000,"timestamp_seconds":1789599087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6af998"} 
[2026-09-17 04:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 04:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:24:37] 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-09-17 04:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137289216001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137289216001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137289216001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":186188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:24:37] local.INFO: GPS data processed {"connection_id":186188,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:24:37] local.INFO: Acknowledgment sent {"connection_id":186188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:24:59] local.INFO: TCP Data received {"connection_id":187499,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:24:59] local.INFO: Processing buffer {"connection_id":187499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:24:59] local.INFO: IMEI packet received {"connection_id":187499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":187499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:25:04] local.INFO: TCP Data received {"connection_id":187499,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:25:04] local.INFO: Processing buffer {"connection_id":187499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:25:04] local.INFO: IMEI packet received {"connection_id":187499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":187499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:25:05] local.INFO: TCP Data received {"connection_id":187499,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:25:05] local.INFO: Processing buffer {"connection_id":187499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:25:05] local.INFO: Packet analysis {"connection_id":187499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:25:05] local.INFO: Extracted packet for processing {"connection_id":187499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137289216001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599087000,"timestamp_ms":1789599087000,"timestamp_seconds":1789599087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6af998"} 
[2026-09-17 04:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 04:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137289216001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137289216001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137289216001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":187499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:25:05] local.INFO: GPS data processed {"connection_id":187499,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:25:05] local.INFO: Acknowledgment sent {"connection_id":187499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:25:36] local.INFO: TCP Data received {"connection_id":187499,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:25:36] local.INFO: Processing buffer {"connection_id":187499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:25:36] local.INFO: Packet analysis {"connection_id":187499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:25:36] local.INFO: Extracted packet for processing {"connection_id":187499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137289216001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789599087000,"timestamp_ms":1789599087000,"timestamp_seconds":1789599087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6af998"} 
[2026-09-17 04:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 04:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137289216001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137289216001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137289216001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":187499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:25:36] local.INFO: GPS data processed {"connection_id":187499,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:25:36] local.INFO: Acknowledgment sent {"connection_id":187499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:25:59] local.INFO: TCP Data received {"connection_id":184771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:25:59] local.INFO: Processing buffer {"connection_id":184771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:25:59] local.INFO: IMEI packet received {"connection_id":184771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":184771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:26:04] local.INFO: TCP Data received {"connection_id":184771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:26:04] local.INFO: Processing buffer {"connection_id":184771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:26:04] local.INFO: IMEI packet received {"connection_id":184771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":184771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:26:05] local.INFO: TCP Data received {"connection_id":184771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:26:05] local.INFO: Processing buffer {"connection_id":184771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:26:05] local.INFO: Packet analysis {"connection_id":184771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:26:05] local.INFO: Extracted packet for processing {"connection_id":184771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137289216001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599087000,"timestamp_ms":1789599087000,"timestamp_seconds":1789599087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6af998"} 
[2026-09-17 04:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 04:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137289216001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137289216001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137289216001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":184771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:26:05] local.INFO: GPS data processed {"connection_id":184771,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:26:05] local.INFO: Acknowledgment sent {"connection_id":184771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:26:37] local.INFO: TCP Data received {"connection_id":184771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:26:37] local.INFO: Processing buffer {"connection_id":184771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6af998012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:26:37] local.INFO: Packet analysis {"connection_id":184771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:26:37] local.INFO: Extracted packet for processing {"connection_id":184771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6a"} 
[2026-09-17 04:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137289216001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789599087000,"timestamp_ms":1789599087000,"timestamp_seconds":1789599087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6af998"} 
[2026-09-17 04:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 04:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137289216001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137289216001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137289216001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":184771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:26:37] local.INFO: GPS data processed {"connection_id":184771,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:26:37] local.INFO: Acknowledgment sent {"connection_id":184771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:27:04] local.INFO: TCP Data received {"connection_id":184878,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:27:04] local.INFO: Processing buffer {"connection_id":184878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:27:04] local.INFO: IMEI packet received {"connection_id":184878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":184878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:27:06] local.INFO: TCP Data received {"connection_id":184878,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:27:06] local.INFO: Processing buffer {"connection_id":184878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:27:06] local.INFO: IMEI packet received {"connection_id":184878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":184878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:27:06] local.INFO: TCP Data received {"connection_id":184878,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:27:06] local.INFO: Processing buffer {"connection_id":184878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:27:06] local.INFO: Packet analysis {"connection_id":184878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:27:06] local.INFO: Extracted packet for processing {"connection_id":184878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:27:06] 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-09-17 04:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":184878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:27:06] local.INFO: GPS data processed {"connection_id":184878,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:27:06] local.INFO: Acknowledgment sent {"connection_id":184878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:27:09] local.INFO: TCP Data received {"connection_id":184878,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:27:09] local.INFO: Processing buffer {"connection_id":184878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:27:09] local.INFO: Packet analysis {"connection_id":184878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:27:09] local.INFO: Extracted packet for processing {"connection_id":184878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04: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-09-17 04:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04: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-09-17 04:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04: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-09-17 04:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":184878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:27:09] local.INFO: GPS data processed {"connection_id":184878,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:27:09] local.INFO: Acknowledgment sent {"connection_id":184878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:27:26] local.INFO: TCP Data received {"connection_id":186189,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:27:26] local.INFO: Processing buffer {"connection_id":186189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:27:26] local.INFO: IMEI packet received {"connection_id":186189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":186189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:27:41] local.INFO: TCP Data received {"connection_id":184878,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:27:41] local.INFO: Processing buffer {"connection_id":184878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:27:41] local.INFO: Packet analysis {"connection_id":184878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:27:41] local.INFO: Extracted packet for processing {"connection_id":184878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":184878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:27: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-09-17 04:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:27:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":184878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:27:41] local.INFO: GPS data processed {"connection_id":184878,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:27:41] local.INFO: Acknowledgment sent {"connection_id":184878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:27:51] local.INFO: TCP Data received {"connection_id":186190,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:27:51] local.INFO: Processing buffer {"connection_id":186190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:27:51] local.INFO: IMEI packet received {"connection_id":186190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":186190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:27:59] local.INFO: TCP Data received {"connection_id":186191,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:27:59] local.INFO: Processing buffer {"connection_id":186191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:27:59] local.INFO: IMEI packet received {"connection_id":186191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":186191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:28:04] local.INFO: TCP Data received {"connection_id":186191,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:28:04] local.INFO: Processing buffer {"connection_id":186191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:28:04] local.INFO: IMEI packet received {"connection_id":186191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":186191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:28:05] local.INFO: TCP Data received {"connection_id":186191,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:28:05] local.INFO: Processing buffer {"connection_id":186191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:28:05] local.INFO: Packet analysis {"connection_id":186191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:28:05] local.INFO: Extracted packet for processing {"connection_id":186191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:28:05] 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-09-17 04:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:28:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":186191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:28:05] local.INFO: GPS data processed {"connection_id":186191,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:28:05] local.INFO: Acknowledgment sent {"connection_id":186191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:28:37] local.INFO: TCP Data received {"connection_id":186191,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:28:37] local.INFO: Processing buffer {"connection_id":186191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:28:37] local.INFO: Packet analysis {"connection_id":186191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:28:37] local.INFO: Extracted packet for processing {"connection_id":186191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:28:37] 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-09-17 04:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":186191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:28:37] local.INFO: GPS data processed {"connection_id":186191,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:28:37] local.INFO: Acknowledgment sent {"connection_id":186191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:28:59] local.INFO: TCP Data received {"connection_id":186192,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:28:59] local.INFO: Processing buffer {"connection_id":186192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:28:59] local.INFO: IMEI packet received {"connection_id":186192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":186192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:29:04] local.INFO: TCP Data received {"connection_id":186192,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:29:04] local.INFO: Processing buffer {"connection_id":186192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:29:04] local.INFO: IMEI packet received {"connection_id":186192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":186192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:29:05] local.INFO: TCP Data received {"connection_id":186192,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:29:05] local.INFO: Processing buffer {"connection_id":186192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:29:05] local.INFO: Packet analysis {"connection_id":186192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:29:05] local.INFO: Extracted packet for processing {"connection_id":186192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:29:05] 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-09-17 04:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":186192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:29:05] local.INFO: GPS data processed {"connection_id":186192,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:29:05] local.INFO: Acknowledgment sent {"connection_id":186192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:29:36] local.INFO: TCP Data received {"connection_id":186192,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:29:36] local.INFO: Processing buffer {"connection_id":186192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:29:36] local.INFO: Packet analysis {"connection_id":186192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:29:36] local.INFO: Extracted packet for processing {"connection_id":186192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:29:36] 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-09-17 04:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":186192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:29:36] local.INFO: GPS data processed {"connection_id":186192,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:29:36] local.INFO: Acknowledgment sent {"connection_id":186192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:29:59] local.INFO: TCP Data received {"connection_id":184880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:29:59] local.INFO: Processing buffer {"connection_id":184880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:29:59] local.INFO: IMEI packet received {"connection_id":184880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":184880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:30:04] local.INFO: TCP Data received {"connection_id":184880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:30:04] local.INFO: Processing buffer {"connection_id":184880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:30:04] local.INFO: IMEI packet received {"connection_id":184880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":184880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:30:05] local.INFO: TCP Data received {"connection_id":184880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:30:05] local.INFO: Processing buffer {"connection_id":184880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:30:05] local.INFO: Packet analysis {"connection_id":184880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:30:05] local.INFO: Extracted packet for processing {"connection_id":184880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:30:05] 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-09-17 04:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":184880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:30:05] local.INFO: GPS data processed {"connection_id":184880,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:30:05] local.INFO: Acknowledgment sent {"connection_id":184880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:30:37] local.INFO: TCP Data received {"connection_id":184880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:30:37] local.INFO: Processing buffer {"connection_id":184880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:30:37] local.INFO: Packet analysis {"connection_id":184880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:30:37] local.INFO: Extracted packet for processing {"connection_id":184880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:30:37] 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-09-17 04:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":184880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:30:37] local.INFO: GPS data processed {"connection_id":184880,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:30:37] local.INFO: Acknowledgment sent {"connection_id":184880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:31:04] local.INFO: TCP Data received {"connection_id":187501,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:31:04] local.INFO: Processing buffer {"connection_id":187501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:31:04] local.INFO: IMEI packet received {"connection_id":187501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":187501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:31:09] local.INFO: TCP Data received {"connection_id":187501,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:31:09] local.INFO: Processing buffer {"connection_id":187501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:31:09] local.INFO: IMEI packet received {"connection_id":187501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":187501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:31:10] local.INFO: TCP Data received {"connection_id":187501,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:31:10] local.INFO: Processing buffer {"connection_id":187501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:31:10] local.INFO: Packet analysis {"connection_id":187501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:31:10] local.INFO: Extracted packet for processing {"connection_id":187501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04: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-09-17 04:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04: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-09-17 04:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:31: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-09-17 04:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:31:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":187501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:31:10] local.INFO: GPS data processed {"connection_id":187501,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:31:10] local.INFO: Acknowledgment sent {"connection_id":187501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:31:41] local.INFO: TCP Data received {"connection_id":187501,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:31:41] local.INFO: Processing buffer {"connection_id":187501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:31:41] local.INFO: Packet analysis {"connection_id":187501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:31:41] local.INFO: Extracted packet for processing {"connection_id":187501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04: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-09-17 04:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04: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-09-17 04:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:31: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-09-17 04:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:31:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":187501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:31:41] local.INFO: GPS data processed {"connection_id":187501,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:31:41] local.INFO: Acknowledgment sent {"connection_id":187501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:31:59] local.INFO: TCP Data received {"connection_id":184882,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:31:59] local.INFO: Processing buffer {"connection_id":184882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:31:59] local.INFO: IMEI packet received {"connection_id":184882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":184882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:32:04] local.INFO: TCP Data received {"connection_id":184882,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:32:04] local.INFO: Processing buffer {"connection_id":184882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:32:04] local.INFO: IMEI packet received {"connection_id":184882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":184882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:32:05] local.INFO: TCP Data received {"connection_id":184882,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:32:05] local.INFO: Processing buffer {"connection_id":184882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac6f9160012d34c3c006aa4458000c01172f..."} 
[2026-09-17 04:32:05] local.INFO: Packet analysis {"connection_id":184882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:32:05] local.INFO: Extracted packet for processing {"connection_id":184882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac6f"} 
[2026-09-17 04:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137366272001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599388000,"timestamp_ms":1789599388000,"timestamp_seconds":1789599388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac6f9160"} 
[2026-09-17 04:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:32:05] 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-09-17 04:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137366272001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137366272001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137366272001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":184882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:32:05] local.INFO: GPS data processed {"connection_id":184882,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:32:05] local.INFO: Acknowledgment sent {"connection_id":184882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:32:37] local.INFO: TCP Data received {"connection_id":184882,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:32:37] local.INFO: Processing buffer {"connection_id":184882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:32:37] local.INFO: Packet analysis {"connection_id":184882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:32:37] local.INFO: Extracted packet for processing {"connection_id":184882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:32:37] 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-09-17 04:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":184882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:32:37] local.INFO: GPS data processed {"connection_id":184882,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:32:37] local.INFO: Acknowledgment sent {"connection_id":184882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:32:59] local.INFO: TCP Data received {"connection_id":187503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:32:59] local.INFO: Processing buffer {"connection_id":187503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:32:59] local.INFO: IMEI packet received {"connection_id":187503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":187503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:33:04] local.INFO: TCP Data received {"connection_id":187503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:33:04] local.INFO: Processing buffer {"connection_id":187503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:33:04] local.INFO: IMEI packet received {"connection_id":187503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":187503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:33:05] local.INFO: TCP Data received {"connection_id":187503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:33:05] local.INFO: Processing buffer {"connection_id":187503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:33:05] local.INFO: Packet analysis {"connection_id":187503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:33:05] local.INFO: Extracted packet for processing {"connection_id":187503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:33:05] 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-09-17 04:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:33:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":187503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:33:05] local.INFO: GPS data processed {"connection_id":187503,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:33:05] local.INFO: Acknowledgment sent {"connection_id":187503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:33:16] local.INFO: TCP Data received {"connection_id":187502,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:33:16] local.INFO: Processing buffer {"connection_id":187502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:33:16] local.INFO: IMEI packet received {"connection_id":187502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":187502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:33:36] local.INFO: TCP Data received {"connection_id":187503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:33:36] local.INFO: Processing buffer {"connection_id":187503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:33:36] local.INFO: Packet analysis {"connection_id":187503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:33:36] local.INFO: Extracted packet for processing {"connection_id":187503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:33:36] 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-09-17 04:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":187503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:33:36] local.INFO: GPS data processed {"connection_id":187503,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:33:36] local.INFO: Acknowledgment sent {"connection_id":187503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:33:51] local.INFO: TCP Data received {"connection_id":184773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:33:51] local.INFO: Processing buffer {"connection_id":184773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:33:51] local.INFO: IMEI packet received {"connection_id":184773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":184773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:34:04] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:34:04] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:34:04] local.INFO: IMEI packet received {"connection_id":184883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":184883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:34:09] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:34:09] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:34:09] local.INFO: IMEI packet received {"connection_id":184883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":184883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:34:10] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:34:10] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:34:10] local.INFO: Packet analysis {"connection_id":184883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:34:10] local.INFO: Extracted packet for processing {"connection_id":184883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04: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-09-17 04:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04: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-09-17 04:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:34:10] 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-09-17 04:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":184883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:34:10] local.INFO: GPS data processed {"connection_id":184883,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:34:10] local.INFO: Acknowledgment sent {"connection_id":184883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:34:15] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:34:15] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:34:15] local.INFO: Packet analysis {"connection_id":184883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:34:15] local.INFO: Extracted packet for processing {"connection_id":184883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:34:15] 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-09-17 04:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":184883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:34:15] local.INFO: GPS data processed {"connection_id":184883,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:34:15] local.INFO: Acknowledgment sent {"connection_id":184883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:34:59] local.INFO: TCP Data received {"connection_id":186193,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:34:59] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:34:59] local.INFO: IMEI packet received {"connection_id":186193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":186193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:35:04] local.INFO: TCP Data received {"connection_id":186193,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:35:04] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:35:04] local.INFO: IMEI packet received {"connection_id":186193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":186193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:35:05] local.INFO: TCP Data received {"connection_id":186193,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:35:05] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:35:05] local.INFO: Packet analysis {"connection_id":186193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:35:05] local.INFO: Extracted packet for processing {"connection_id":186193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:35:05] 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-09-17 04:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":186193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:35:05] local.INFO: GPS data processed {"connection_id":186193,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:35:05] local.INFO: Acknowledgment sent {"connection_id":186193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:35:37] local.INFO: TCP Data received {"connection_id":186193,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:35:37] local.INFO: Processing buffer {"connection_id":186193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:35:37] local.INFO: Packet analysis {"connection_id":186193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:35:37] local.INFO: Extracted packet for processing {"connection_id":186193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:35:37] 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-09-17 04:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":186193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:35:37] local.INFO: GPS data processed {"connection_id":186193,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:35:37] local.INFO: Acknowledgment sent {"connection_id":186193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:35:59] local.INFO: TCP Data received {"connection_id":184775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:35:59] local.INFO: Processing buffer {"connection_id":184775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:35:59] local.INFO: IMEI packet received {"connection_id":184775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":184775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:36:05] local.INFO: TCP Data received {"connection_id":184775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:36:05] local.INFO: Processing buffer {"connection_id":184775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:36:05] local.INFO: IMEI packet received {"connection_id":184775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":184775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:36:06] local.INFO: TCP Data received {"connection_id":184775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:36:06] local.INFO: Processing buffer {"connection_id":184775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:36:06] local.INFO: Packet analysis {"connection_id":184775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:36:06] local.INFO: Extracted packet for processing {"connection_id":184775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":184775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:36:06] local.INFO: GPS data processed {"connection_id":184775,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:36:06] local.INFO: Acknowledgment sent {"connection_id":184775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:36:37] local.INFO: TCP Data received {"connection_id":184775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:36:37] local.INFO: Processing buffer {"connection_id":184775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:36:37] local.INFO: Packet analysis {"connection_id":184775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:36:37] local.INFO: Extracted packet for processing {"connection_id":184775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":184775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:36:37] local.INFO: GPS data processed {"connection_id":184775,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:36:37] local.INFO: Acknowledgment sent {"connection_id":184775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:36:59] local.INFO: TCP Data received {"connection_id":184884,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:36:59] local.INFO: Processing buffer {"connection_id":184884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:36:59] local.INFO: IMEI packet received {"connection_id":184884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":184884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:37:04] local.INFO: TCP Data received {"connection_id":184884,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:37:04] local.INFO: Processing buffer {"connection_id":184884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:37:04] local.INFO: IMEI packet received {"connection_id":184884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":184884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:37:05] local.INFO: TCP Data received {"connection_id":184884,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:37:05] local.INFO: Processing buffer {"connection_id":184884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac742928012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:37:05] local.INFO: Packet analysis {"connection_id":184884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:37:05] local.INFO: Extracted packet for processing {"connection_id":184884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac74"} 
[2026-09-17 04:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137443328001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599689000,"timestamp_ms":1789599689000,"timestamp_seconds":1789599689,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac742928"} 
[2026-09-17 04:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 04:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:37:05] 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-09-17 04:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137443328001,"66":25375,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137443328001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137443328001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":184884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:37:05] local.INFO: GPS data processed {"connection_id":184884,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:37:05] local.INFO: Acknowledgment sent {"connection_id":184884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:37:36] local.INFO: TCP Data received {"connection_id":184884,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:37:36] local.INFO: Processing buffer {"connection_id":184884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:37:36] local.INFO: Packet analysis {"connection_id":184884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:37:36] local.INFO: Extracted packet for processing {"connection_id":184884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:37:36] 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-09-17 04:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":184884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:37:36] local.INFO: GPS data processed {"connection_id":184884,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:37:36] local.INFO: Acknowledgment sent {"connection_id":184884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:37:59] local.INFO: TCP Data received {"connection_id":184777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:37:59] local.INFO: Processing buffer {"connection_id":184777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:37:59] local.INFO: IMEI packet received {"connection_id":184777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":184777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:38:04] local.INFO: TCP Data received {"connection_id":184777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:38:04] local.INFO: Processing buffer {"connection_id":184777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:38:04] local.INFO: IMEI packet received {"connection_id":184777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":184777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:38:05] local.INFO: TCP Data received {"connection_id":184777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:38:05] local.INFO: Processing buffer {"connection_id":184777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:38:05] local.INFO: Packet analysis {"connection_id":184777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:38:05] local.INFO: Extracted packet for processing {"connection_id":184777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:38:05] 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-09-17 04:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":184777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:38:05] local.INFO: GPS data processed {"connection_id":184777,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:38:05] local.INFO: Acknowledgment sent {"connection_id":184777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:38:36] local.INFO: TCP Data received {"connection_id":184777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:38:36] local.INFO: Processing buffer {"connection_id":184777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:38:36] local.INFO: Packet analysis {"connection_id":184777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:38:36] local.INFO: Extracted packet for processing {"connection_id":184777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:38:36] 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-09-17 04:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":184777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:38:36] local.INFO: GPS data processed {"connection_id":184777,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:38:36] local.INFO: Acknowledgment sent {"connection_id":184777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:39:04] local.INFO: TCP Data received {"connection_id":186195,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:39:04] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:39:04] local.INFO: IMEI packet received {"connection_id":186195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":186195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:39:09] local.INFO: TCP Data received {"connection_id":186195,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:39:09] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:39:09] local.INFO: IMEI packet received {"connection_id":186195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:39:10] local.INFO: TCP Data received {"connection_id":186195,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:39:10] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:39:10] local.INFO: Packet analysis {"connection_id":186195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:39:10] local.INFO: Extracted packet for processing {"connection_id":186195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:39: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-09-17 04:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:39: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-09-17 04:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":186195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:39:10] local.INFO: GPS data processed {"connection_id":186195,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:39:10] local.INFO: Acknowledgment sent {"connection_id":186195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:39:14] local.INFO: TCP Data received {"connection_id":186195,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:39:14] local.INFO: Processing buffer {"connection_id":186195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:39:14] local.INFO: Packet analysis {"connection_id":186195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:39:14] local.INFO: Extracted packet for processing {"connection_id":186195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:39: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-09-17 04:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:39: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-09-17 04:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:39:14] 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-09-17 04:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:39:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":186195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:39:14] local.INFO: GPS data processed {"connection_id":186195,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:39:14] local.INFO: Acknowledgment sent {"connection_id":186195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:39:21] local.INFO: TCP Data received {"connection_id":184885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:39:21] local.INFO: Processing buffer {"connection_id":184885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:39:21] local.INFO: IMEI packet received {"connection_id":184885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":184885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:39:51] local.INFO: TCP Data received {"connection_id":187505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:39:51] local.INFO: Processing buffer {"connection_id":187505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:39:51] local.INFO: IMEI packet received {"connection_id":187505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":187505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:39:59] local.INFO: TCP Data received {"connection_id":187506,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:39:59] local.INFO: Processing buffer {"connection_id":187506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:39:59] local.INFO: IMEI packet received {"connection_id":187506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":187506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:40:04] local.INFO: TCP Data received {"connection_id":187506,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:40:04] local.INFO: Processing buffer {"connection_id":187506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:40:04] local.INFO: IMEI packet received {"connection_id":187506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":187506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:40:05] local.INFO: TCP Data received {"connection_id":187506,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:40:05] local.INFO: Processing buffer {"connection_id":187506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:40:05] local.INFO: Packet analysis {"connection_id":187506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:40:05] local.INFO: Extracted packet for processing {"connection_id":187506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:40:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":187506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:40:05] local.INFO: GPS data processed {"connection_id":187506,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:40:05] local.INFO: Acknowledgment sent {"connection_id":187506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:40:36] local.INFO: TCP Data received {"connection_id":187506,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:40:36] local.INFO: Processing buffer {"connection_id":187506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:40:36] local.INFO: Packet analysis {"connection_id":187506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:40:36] local.INFO: Extracted packet for processing {"connection_id":187506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":187506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:40:36] local.INFO: GPS data processed {"connection_id":187506,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:40:36] local.INFO: Acknowledgment sent {"connection_id":187506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:40:59] local.INFO: TCP Data received {"connection_id":184886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:40:59] local.INFO: Processing buffer {"connection_id":184886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:40:59] local.INFO: IMEI packet received {"connection_id":184886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":184886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:41:04] local.INFO: TCP Data received {"connection_id":184886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:41:04] local.INFO: Processing buffer {"connection_id":184886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:41:04] local.INFO: IMEI packet received {"connection_id":184886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":184886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:41:05] local.INFO: TCP Data received {"connection_id":184886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:41:05] local.INFO: Processing buffer {"connection_id":184886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:41:05] local.INFO: Packet analysis {"connection_id":184886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:41:05] local.INFO: Extracted packet for processing {"connection_id":184886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:41:05] 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-09-17 04:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":184886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:41:05] local.INFO: GPS data processed {"connection_id":184886,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:41:05] local.INFO: Acknowledgment sent {"connection_id":184886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:41:37] local.INFO: TCP Data received {"connection_id":184886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:41:37] local.INFO: Processing buffer {"connection_id":184886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:41:37] local.INFO: Packet analysis {"connection_id":184886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:41:37] local.INFO: Extracted packet for processing {"connection_id":184886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:41:37] 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-09-17 04:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":184886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:41:37] local.INFO: GPS data processed {"connection_id":184886,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:41:37] local.INFO: Acknowledgment sent {"connection_id":184886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:41:59] local.INFO: TCP Data received {"connection_id":184778,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:41:59] local.INFO: Processing buffer {"connection_id":184778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:41:59] local.INFO: IMEI packet received {"connection_id":184778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":184778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:42:04] local.INFO: TCP Data received {"connection_id":184778,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:42:04] local.INFO: Processing buffer {"connection_id":184778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:42:04] local.INFO: IMEI packet received {"connection_id":184778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":184778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:42:05] local.INFO: TCP Data received {"connection_id":184778,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:42:05] local.INFO: Processing buffer {"connection_id":184778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac78c0f0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:42:05] local.INFO: Packet analysis {"connection_id":184778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:42:05] local.INFO: Extracted packet for processing {"connection_id":184778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac78"} 
[2026-09-17 04:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789599990000,"timestamp_ms":1789599990000,"timestamp_seconds":1789599990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac78c0f0"} 
[2026-09-17 04:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 04:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:42:05] 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-09-17 04:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137520384001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137520384001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":184778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:42:05] local.INFO: GPS data processed {"connection_id":184778,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:42:05] local.INFO: Acknowledgment sent {"connection_id":184778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:42:36] local.INFO: TCP Data received {"connection_id":184778,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:42:36] local.INFO: Processing buffer {"connection_id":184778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:42:36] local.INFO: Packet analysis {"connection_id":184778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:42:36] local.INFO: Extracted packet for processing {"connection_id":184778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 04:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:42:36] 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-09-17 04:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":184778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:42:36] local.INFO: GPS data processed {"connection_id":184778,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:42:36] local.INFO: Acknowledgment sent {"connection_id":184778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:43:04] local.INFO: TCP Data received {"connection_id":187508,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:43:04] local.INFO: Processing buffer {"connection_id":187508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:43:04] local.INFO: IMEI packet received {"connection_id":187508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":187508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:43:09] local.INFO: TCP Data received {"connection_id":187508,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:43:09] local.INFO: Processing buffer {"connection_id":187508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:43:09] local.INFO: IMEI packet received {"connection_id":187508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":187508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:43:10] local.INFO: TCP Data received {"connection_id":187508,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:43:10] local.INFO: Processing buffer {"connection_id":187508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:43:10] local.INFO: Packet analysis {"connection_id":187508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:43:10] local.INFO: Extracted packet for processing {"connection_id":187508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 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-09-17 04:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 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-09-17 04:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 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-09-17 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-09-17 04:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:43:10] 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-09-17 04:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":187508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:43:11] local.INFO: GPS data processed {"connection_id":187508,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:43:11] local.INFO: Acknowledgment sent {"connection_id":187508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:43:14] local.INFO: TCP Data received {"connection_id":187508,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:43:14] local.INFO: Processing buffer {"connection_id":187508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:43:14] local.INFO: Packet analysis {"connection_id":187508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:43:14] local.INFO: Extracted packet for processing {"connection_id":187508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04: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-09-17 04:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 04:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04: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-09-17 04:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:43: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-09-17 04:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":187508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:43:14] local.INFO: GPS data processed {"connection_id":187508,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:43:14] local.INFO: Acknowledgment sent {"connection_id":187508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:43:59] local.INFO: TCP Data received {"connection_id":187509,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:43:59] local.INFO: Processing buffer {"connection_id":187509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:43:59] local.INFO: IMEI packet received {"connection_id":187509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":187509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:44:04] local.INFO: TCP Data received {"connection_id":187509,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:44:04] local.INFO: Processing buffer {"connection_id":187509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:44:04] local.INFO: IMEI packet received {"connection_id":187509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":187509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:44:05] local.INFO: TCP Data received {"connection_id":187509,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:44:05] local.INFO: Processing buffer {"connection_id":187509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:44:05] local.INFO: Packet analysis {"connection_id":187509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:44:05] local.INFO: Extracted packet for processing {"connection_id":187509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 04:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:44:05] 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-09-17 04:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:44:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":187509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:44:05] local.INFO: GPS data processed {"connection_id":187509,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:44:05] local.INFO: Acknowledgment sent {"connection_id":187509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:44:36] local.INFO: TCP Data received {"connection_id":187509,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:44:36] local.INFO: Processing buffer {"connection_id":187509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:44:36] local.INFO: Packet analysis {"connection_id":187509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:44:36] local.INFO: Extracted packet for processing {"connection_id":187509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 04:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:44:36] 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-09-17 04:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":187509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:44:36] local.INFO: GPS data processed {"connection_id":187509,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:44:36] local.INFO: Acknowledgment sent {"connection_id":187509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:44:59] local.INFO: TCP Data received {"connection_id":186198,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:44:59] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:44:59] local.INFO: IMEI packet received {"connection_id":186198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":186198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:45:04] local.INFO: TCP Data received {"connection_id":186198,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:45:04] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:45:04] local.INFO: IMEI packet received {"connection_id":186198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":186198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:45:05] local.INFO: TCP Data received {"connection_id":186198,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:45:05] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:45:05] local.INFO: Packet analysis {"connection_id":186198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:45:05] local.INFO: Extracted packet for processing {"connection_id":186198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 04:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:45:05] 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-09-17 04:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":186198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:45:05] local.INFO: GPS data processed {"connection_id":186198,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:45:05] local.INFO: Acknowledgment sent {"connection_id":186198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:45:16] local.INFO: TCP Data received {"connection_id":186197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:45:16] local.INFO: Processing buffer {"connection_id":186197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:45:16] local.INFO: IMEI packet received {"connection_id":186197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":186197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:45:37] local.INFO: TCP Data received {"connection_id":186198,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:45:37] local.INFO: Processing buffer {"connection_id":186198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:45:37] local.INFO: Packet analysis {"connection_id":186198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:45:37] local.INFO: Extracted packet for processing {"connection_id":186198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 04:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:45:37] 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-09-17 04:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":186198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:45:37] local.INFO: GPS data processed {"connection_id":186198,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:45:37] local.INFO: Acknowledgment sent {"connection_id":186198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:45:51] local.INFO: TCP Data received {"connection_id":187510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:45:51] local.INFO: Processing buffer {"connection_id":187510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:45:51] local.INFO: IMEI packet received {"connection_id":187510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":187510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:45:59] local.INFO: TCP Data received {"connection_id":184779,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:45:59] local.INFO: Processing buffer {"connection_id":184779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:45:59] local.INFO: IMEI packet received {"connection_id":184779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":184779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:46:04] local.INFO: TCP Data received {"connection_id":184779,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:46:04] local.INFO: Processing buffer {"connection_id":184779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:46:04] local.INFO: IMEI packet received {"connection_id":184779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":184779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:46:05] local.INFO: TCP Data received {"connection_id":184779,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:46:05] local.INFO: Processing buffer {"connection_id":184779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:46:05] local.INFO: Packet analysis {"connection_id":184779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:46:05] local.INFO: Extracted packet for processing {"connection_id":184779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 04:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:46:05] 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-09-17 04:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:46:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":184779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:46:05] local.INFO: GPS data processed {"connection_id":184779,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:46:05] local.INFO: Acknowledgment sent {"connection_id":184779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:46:36] local.INFO: TCP Data received {"connection_id":184779,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:46:36] local.INFO: Processing buffer {"connection_id":184779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:46:36] local.INFO: Packet analysis {"connection_id":184779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:46:36] local.INFO: Extracted packet for processing {"connection_id":184779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 04:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:46:36] 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-09-17 04:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":184779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:46:37] local.INFO: GPS data processed {"connection_id":184779,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:46:37] local.INFO: Acknowledgment sent {"connection_id":184779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:46:59] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:46:59] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:46:59] local.INFO: IMEI packet received {"connection_id":186199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":186199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:47:04] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:47:04] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:47:04] local.INFO: IMEI packet received {"connection_id":186199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":186199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:47:05] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:47:05] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac7d58b8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:47:05] local.INFO: Packet analysis {"connection_id":186199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:47:05] local.INFO: Extracted packet for processing {"connection_id":186199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac7d"} 
[2026-09-17 04:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137597440001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600291000,"timestamp_ms":1789600291000,"timestamp_seconds":1789600291,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac7d58b8"} 
[2026-09-17 04:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 04:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:47:05] 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-09-17 04:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137597440001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137597440001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137597440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":186199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:47:05] local.INFO: GPS data processed {"connection_id":186199,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:47:05] local.INFO: Acknowledgment sent {"connection_id":186199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:47:36] local.INFO: TCP Data received {"connection_id":186199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:47:36] local.INFO: Processing buffer {"connection_id":186199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:47:36] local.INFO: Packet analysis {"connection_id":186199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:47:36] local.INFO: Extracted packet for processing {"connection_id":186199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:47:36] 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-09-17 04:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":186199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:47:36] local.INFO: GPS data processed {"connection_id":186199,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:47:36] local.INFO: Acknowledgment sent {"connection_id":186199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:47:59] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:47:59] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:47:59] local.INFO: IMEI packet received {"connection_id":186200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":186200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:48:04] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:48:04] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:48:04] local.INFO: IMEI packet received {"connection_id":186200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":186200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:48:05] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:48:05] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:48:05] local.INFO: Packet analysis {"connection_id":186200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:48:05] local.INFO: Extracted packet for processing {"connection_id":186200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:48:05] 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-09-17 04:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":186200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:48:05] local.INFO: GPS data processed {"connection_id":186200,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:48:05] local.INFO: Acknowledgment sent {"connection_id":186200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:48:37] local.INFO: TCP Data received {"connection_id":186200,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:48:37] local.INFO: Processing buffer {"connection_id":186200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:48:37] local.INFO: Packet analysis {"connection_id":186200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:48:37] local.INFO: Extracted packet for processing {"connection_id":186200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:48:37] 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-09-17 04:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":186200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:48:37] local.INFO: GPS data processed {"connection_id":186200,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:48:37] local.INFO: Acknowledgment sent {"connection_id":186200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:49:00] local.INFO: TCP Data received {"connection_id":186201,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:49:00] local.INFO: Processing buffer {"connection_id":186201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:49:00] local.INFO: IMEI packet received {"connection_id":186201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":186201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:49:04] local.INFO: TCP Data received {"connection_id":186201,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:49:04] local.INFO: Processing buffer {"connection_id":186201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:49:04] local.INFO: IMEI packet received {"connection_id":186201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":186201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:49:05] local.INFO: TCP Data received {"connection_id":186201,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:49:05] local.INFO: Processing buffer {"connection_id":186201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:49:05] local.INFO: Packet analysis {"connection_id":186201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:49:05] local.INFO: Extracted packet for processing {"connection_id":186201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:49:05] 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-09-17 04:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":186201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:49:05] local.INFO: GPS data processed {"connection_id":186201,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:49:05] local.INFO: Acknowledgment sent {"connection_id":186201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:49:37] local.INFO: TCP Data received {"connection_id":186201,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:49:37] local.INFO: Processing buffer {"connection_id":186201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:49:37] local.INFO: Packet analysis {"connection_id":186201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:49:37] local.INFO: Extracted packet for processing {"connection_id":186201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:49:37] 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-09-17 04:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":186201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:49:37] local.INFO: GPS data processed {"connection_id":186201,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:49:37] local.INFO: Acknowledgment sent {"connection_id":186201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:49:59] local.INFO: TCP Data received {"connection_id":184780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:49:59] local.INFO: Processing buffer {"connection_id":184780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:49:59] local.INFO: IMEI packet received {"connection_id":184780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":184780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:50:04] local.INFO: TCP Data received {"connection_id":184780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:50:04] local.INFO: Processing buffer {"connection_id":184780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:50:04] local.INFO: IMEI packet received {"connection_id":184780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":184780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:50:05] local.INFO: TCP Data received {"connection_id":184780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:50:05] local.INFO: Processing buffer {"connection_id":184780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:50:05] local.INFO: Packet analysis {"connection_id":184780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:50:05] local.INFO: Extracted packet for processing {"connection_id":184780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:50:05] 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-09-17 04:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":184780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:50:05] local.INFO: GPS data processed {"connection_id":184780,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:50:05] local.INFO: Acknowledgment sent {"connection_id":184780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:50:37] local.INFO: TCP Data received {"connection_id":184780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:50:37] local.INFO: Processing buffer {"connection_id":184780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:50:37] local.INFO: Packet analysis {"connection_id":184780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:50:37] local.INFO: Extracted packet for processing {"connection_id":184780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:50:37] 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-09-17 04:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":184780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:50:37] local.INFO: GPS data processed {"connection_id":184780,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:50:37] local.INFO: Acknowledgment sent {"connection_id":184780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:50:59] local.INFO: TCP Data received {"connection_id":187514,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:50:59] local.INFO: Processing buffer {"connection_id":187514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:50:59] local.INFO: IMEI packet received {"connection_id":187514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":187514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:51:04] local.INFO: TCP Data received {"connection_id":187514,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:51:04] local.INFO: Processing buffer {"connection_id":187514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:51:04] local.INFO: IMEI packet received {"connection_id":187514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":187514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:51:05] local.INFO: TCP Data received {"connection_id":187514,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:51:05] local.INFO: Processing buffer {"connection_id":187514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:51:05] local.INFO: Packet analysis {"connection_id":187514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:51:05] local.INFO: Extracted packet for processing {"connection_id":187514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:51:05] 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-09-17 04:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":187514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:51:05] local.INFO: GPS data processed {"connection_id":187514,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:51:05] local.INFO: Acknowledgment sent {"connection_id":187514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:51:11] local.INFO: TCP Data received {"connection_id":184890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:51:11] local.INFO: Processing buffer {"connection_id":184890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:51:11] local.INFO: IMEI packet received {"connection_id":184890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":184890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:51:37] local.INFO: TCP Data received {"connection_id":187514,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:51:37] local.INFO: Processing buffer {"connection_id":187514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:51:37] local.INFO: Packet analysis {"connection_id":187514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:51:37] local.INFO: Extracted packet for processing {"connection_id":187514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:51:37] 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-09-17 04:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":187514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:51:37] local.INFO: GPS data processed {"connection_id":187514,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:51:37] local.INFO: Acknowledgment sent {"connection_id":187514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:51:51] local.INFO: TCP Data received {"connection_id":184891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:51:51] local.INFO: Processing buffer {"connection_id":184891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:51:51] local.INFO: IMEI packet received {"connection_id":184891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":184891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:51:59] local.INFO: TCP Data received {"connection_id":186202,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:51:59] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:51:59] local.INFO: IMEI packet received {"connection_id":186202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":186202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:52:04] local.INFO: TCP Data received {"connection_id":186202,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:52:04] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:52:04] local.INFO: IMEI packet received {"connection_id":186202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":186202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:52:05] local.INFO: TCP Data received {"connection_id":186202,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:52:05] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac81f080012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:52:05] local.INFO: Packet analysis {"connection_id":186202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:52:05] local.INFO: Extracted packet for processing {"connection_id":186202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac81"} 
[2026-09-17 04:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137674496001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600592000,"timestamp_ms":1789600592000,"timestamp_seconds":1789600592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac81f080"} 
[2026-09-17 04:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 04:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137674496001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137674496001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137674496001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":186202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:52:05] local.INFO: GPS data processed {"connection_id":186202,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:52:05] local.INFO: Acknowledgment sent {"connection_id":186202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:52:36] local.INFO: TCP Data received {"connection_id":186202,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:52:36] local.INFO: Processing buffer {"connection_id":186202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:52:36] local.INFO: Packet analysis {"connection_id":186202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:52:36] local.INFO: Extracted packet for processing {"connection_id":186202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":186202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:52:36] local.INFO: GPS data processed {"connection_id":186202,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:52:36] local.INFO: Acknowledgment sent {"connection_id":186202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:52:59] local.INFO: TCP Data received {"connection_id":184782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:52:59] local.INFO: Processing buffer {"connection_id":184782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:52:59] local.INFO: IMEI packet received {"connection_id":184782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":184782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:53:04] local.INFO: TCP Data received {"connection_id":184782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:53:04] local.INFO: Processing buffer {"connection_id":184782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:53:04] local.INFO: IMEI packet received {"connection_id":184782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":184782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:53:05] local.INFO: TCP Data received {"connection_id":184782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:53:05] local.INFO: Processing buffer {"connection_id":184782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:53:05] local.INFO: Packet analysis {"connection_id":184782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:53:05] local.INFO: Extracted packet for processing {"connection_id":184782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":184782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:53:05] local.INFO: GPS data processed {"connection_id":184782,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:53:05] local.INFO: Acknowledgment sent {"connection_id":184782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:53:36] local.INFO: TCP Data received {"connection_id":184782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:53:36] local.INFO: Processing buffer {"connection_id":184782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:53:36] local.INFO: Packet analysis {"connection_id":184782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:53:36] local.INFO: Extracted packet for processing {"connection_id":184782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":184782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:53:36] local.INFO: GPS data processed {"connection_id":184782,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:53:36] local.INFO: Acknowledgment sent {"connection_id":184782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:53:59] local.INFO: TCP Data received {"connection_id":187516,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:53:59] local.INFO: Processing buffer {"connection_id":187516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:53:59] local.INFO: IMEI packet received {"connection_id":187516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":187516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:54:04] local.INFO: TCP Data received {"connection_id":187516,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:54:04] local.INFO: Processing buffer {"connection_id":187516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:54:04] local.INFO: IMEI packet received {"connection_id":187516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":187516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:54:05] local.INFO: TCP Data received {"connection_id":187516,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:54:05] local.INFO: Processing buffer {"connection_id":187516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:54:05] local.INFO: Packet analysis {"connection_id":187516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:54:05] local.INFO: Extracted packet for processing {"connection_id":187516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:54:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":187516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:54:05] local.INFO: GPS data processed {"connection_id":187516,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:54:05] local.INFO: Acknowledgment sent {"connection_id":187516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:54:38] local.INFO: TCP Data received {"connection_id":187516,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:54:38] local.INFO: Processing buffer {"connection_id":187516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:54:38] local.INFO: Packet analysis {"connection_id":187516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:54:38] local.INFO: Extracted packet for processing {"connection_id":187516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":187516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:54:38] local.INFO: GPS data processed {"connection_id":187516,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:54:38] local.INFO: Acknowledgment sent {"connection_id":187516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:54:59] local.INFO: TCP Data received {"connection_id":184892,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:54:59] local.INFO: Processing buffer {"connection_id":184892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:54:59] local.INFO: IMEI packet received {"connection_id":184892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":184892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:55:04] local.INFO: TCP Data received {"connection_id":184892,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:55:04] local.INFO: Processing buffer {"connection_id":184892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:55:04] local.INFO: IMEI packet received {"connection_id":184892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":184892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:55:05] local.INFO: TCP Data received {"connection_id":184892,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:55:05] local.INFO: Processing buffer {"connection_id":184892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:55:05] local.INFO: Packet analysis {"connection_id":184892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:55:05] local.INFO: Extracted packet for processing {"connection_id":184892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:55:05] 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-09-17 04:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":184892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:55:05] local.INFO: GPS data processed {"connection_id":184892,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:55:05] local.INFO: Acknowledgment sent {"connection_id":184892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:55:36] local.INFO: TCP Data received {"connection_id":184892,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:55:36] local.INFO: Processing buffer {"connection_id":184892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:55:36] local.INFO: Packet analysis {"connection_id":184892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:55:36] local.INFO: Extracted packet for processing {"connection_id":184892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:55:36] 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-09-17 04:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":184892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:55:36] local.INFO: GPS data processed {"connection_id":184892,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:55:36] local.INFO: Acknowledgment sent {"connection_id":184892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:55:59] local.INFO: TCP Data received {"connection_id":184785,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:55:59] local.INFO: Processing buffer {"connection_id":184785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:55:59] local.INFO: IMEI packet received {"connection_id":184785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":184785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:56:04] local.INFO: TCP Data received {"connection_id":184785,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:56:04] local.INFO: Processing buffer {"connection_id":184785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:56:04] local.INFO: IMEI packet received {"connection_id":184785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":184785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:56:05] local.INFO: TCP Data received {"connection_id":184785,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:56:05] local.INFO: Processing buffer {"connection_id":184785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:56:05] local.INFO: Packet analysis {"connection_id":184785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:56:05] local.INFO: Extracted packet for processing {"connection_id":184785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":184785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:56:05] local.INFO: GPS data processed {"connection_id":184785,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:56:05] local.INFO: Acknowledgment sent {"connection_id":184785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:56:36] local.INFO: TCP Data received {"connection_id":184785,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:56:36] local.INFO: Processing buffer {"connection_id":184785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:56:36] local.INFO: Packet analysis {"connection_id":184785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:56:36] local.INFO: Extracted packet for processing {"connection_id":184785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 04:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":184785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:56:36] local.INFO: GPS data processed {"connection_id":184785,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:56:36] local.INFO: Acknowledgment sent {"connection_id":184785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:56:59] local.INFO: TCP Data received {"connection_id":184894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:56:59] local.INFO: Processing buffer {"connection_id":184894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:56:59] local.INFO: IMEI packet received {"connection_id":184894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":184894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:57:04] local.INFO: TCP Data received {"connection_id":184894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:57:04] local.INFO: Processing buffer {"connection_id":184894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:57:04] local.INFO: IMEI packet received {"connection_id":184894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":184894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:57:05] local.INFO: TCP Data received {"connection_id":184894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:57:05] local.INFO: Processing buffer {"connection_id":184894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac868848012d34c3c006aa4458000c01172e..."} 
[2026-09-17 04:57:05] local.INFO: Packet analysis {"connection_id":184894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:57:05] local.INFO: Extracted packet for processing {"connection_id":184894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac86"} 
[2026-09-17 04:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137751552001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789600893000,"timestamp_ms":1789600893000,"timestamp_seconds":1789600893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac868848"} 
[2026-09-17 04:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:57:05] 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-09-17 04:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137751552001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137751552001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137751552001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":184894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:57:05] local.INFO: GPS data processed {"connection_id":184894,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:57:05] local.INFO: Acknowledgment sent {"connection_id":184894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:57:11] local.INFO: TCP Data received {"connection_id":184893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:57:11] local.INFO: Processing buffer {"connection_id":184893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:57:11] local.INFO: IMEI packet received {"connection_id":184893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":184893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:57:36] local.INFO: TCP Data received {"connection_id":184894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:57:36] local.INFO: Processing buffer {"connection_id":184894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:57:36] local.INFO: Packet analysis {"connection_id":184894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:57:36] local.INFO: Extracted packet for processing {"connection_id":184894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 04:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:57:36] 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-09-17 04:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":184894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:57:36] local.INFO: GPS data processed {"connection_id":184894,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:57:36] local.INFO: Acknowledgment sent {"connection_id":184894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:57:51] local.INFO: TCP Data received {"connection_id":187517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:57:51] local.INFO: Processing buffer {"connection_id":187517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 04:57:51] local.INFO: IMEI packet received {"connection_id":187517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 04:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":187517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:57:59] local.INFO: TCP Data received {"connection_id":187518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:57:59] local.INFO: Processing buffer {"connection_id":187518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:57:59] local.INFO: IMEI packet received {"connection_id":187518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":187518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:58:04] local.INFO: TCP Data received {"connection_id":187518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:58:04] local.INFO: Processing buffer {"connection_id":187518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:58:04] local.INFO: IMEI packet received {"connection_id":187518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":187518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:58:05] local.INFO: TCP Data received {"connection_id":187518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:58:05] local.INFO: Processing buffer {"connection_id":187518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:58:05] local.INFO: Packet analysis {"connection_id":187518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:58:05] local.INFO: Extracted packet for processing {"connection_id":187518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 04:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:58:05] 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-09-17 04:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:58:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":187518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:58:05] local.INFO: GPS data processed {"connection_id":187518,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:58:05] local.INFO: Acknowledgment sent {"connection_id":187518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:58:36] local.INFO: TCP Data received {"connection_id":187518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:58:36] local.INFO: Processing buffer {"connection_id":187518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:58:36] local.INFO: Packet analysis {"connection_id":187518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:58:36] local.INFO: Extracted packet for processing {"connection_id":187518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 04:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:58:36] 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-09-17 04:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":187518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:58:36] local.INFO: GPS data processed {"connection_id":187518,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:58:36] local.INFO: Acknowledgment sent {"connection_id":187518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:58:59] local.INFO: TCP Data received {"connection_id":184895,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:58:59] local.INFO: Processing buffer {"connection_id":184895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:58:59] local.INFO: IMEI packet received {"connection_id":184895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":184895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 04:59:04] local.INFO: TCP Data received {"connection_id":184895,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:59:04] local.INFO: Processing buffer {"connection_id":184895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:59:04] local.INFO: IMEI packet received {"connection_id":184895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 04:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":184895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 04:59:05] local.INFO: TCP Data received {"connection_id":184895,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:59:05] local.INFO: Processing buffer {"connection_id":184895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:59:05] local.INFO: Packet analysis {"connection_id":184895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:59:05] local.INFO: Extracted packet for processing {"connection_id":184895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 04:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:59:05] 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-09-17 04:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":184895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:59:05] local.INFO: GPS data processed {"connection_id":184895,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:59:05] local.INFO: Acknowledgment sent {"connection_id":184895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:59:36] local.INFO: TCP Data received {"connection_id":184895,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:59:36] local.INFO: Processing buffer {"connection_id":184895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 04:59:36] local.INFO: Packet analysis {"connection_id":184895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:59:36] local.INFO: Extracted packet for processing {"connection_id":184895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 04:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 04:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 04:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 04:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 04:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 04:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 04:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 04:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 04:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 04:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 04:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 04:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 04:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 04:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 04:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 04:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 04:59:36] 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-09-17 04:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 04:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 04:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 04:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 04:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 04:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 04:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 04:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 04:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 04:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 04:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 04:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":184895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 04:59:36] local.INFO: GPS data processed {"connection_id":184895,"processed":1,"errors":0,"total":1} 
[2026-09-17 04:59:36] local.INFO: Acknowledgment sent {"connection_id":184895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 04:59:59] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:59:59] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 04:59:59] local.INFO: IMEI packet received {"connection_id":186203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 04:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":186203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:00:04] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:00:04] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:00:04] local.INFO: IMEI packet received {"connection_id":186203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":186203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:00:05] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:00:05] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:00:05] local.INFO: Packet analysis {"connection_id":186203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:00:05] local.INFO: Extracted packet for processing {"connection_id":186203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 05:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:00:05] 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-09-17 05:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":186203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:00:05] local.INFO: GPS data processed {"connection_id":186203,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:00:05] local.INFO: Acknowledgment sent {"connection_id":186203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:00:36] local.INFO: TCP Data received {"connection_id":186203,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:00:36] local.INFO: Processing buffer {"connection_id":186203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:00:36] local.INFO: Packet analysis {"connection_id":186203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:00:36] local.INFO: Extracted packet for processing {"connection_id":186203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 05:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:00:36] 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-09-17 05:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":186203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:00:37] local.INFO: GPS data processed {"connection_id":186203,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:00:37] local.INFO: Acknowledgment sent {"connection_id":186203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:00:59] local.INFO: TCP Data received {"connection_id":184787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:00:59] local.INFO: Processing buffer {"connection_id":184787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:00:59] local.INFO: IMEI packet received {"connection_id":184787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":184787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:01:04] local.INFO: TCP Data received {"connection_id":184787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:01:04] local.INFO: Processing buffer {"connection_id":184787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:01:04] local.INFO: IMEI packet received {"connection_id":184787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":184787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:01:06] local.INFO: TCP Data received {"connection_id":184787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:01:06] local.INFO: Processing buffer {"connection_id":184787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:01:06] local.INFO: Packet analysis {"connection_id":184787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:01:06] local.INFO: Extracted packet for processing {"connection_id":184787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 05:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:01:06] 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-09-17 05:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":184787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:01:06] local.INFO: GPS data processed {"connection_id":184787,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:01:06] local.INFO: Acknowledgment sent {"connection_id":184787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:01:37] local.INFO: TCP Data received {"connection_id":184787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:01:37] local.INFO: Processing buffer {"connection_id":184787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:01:37] local.INFO: Packet analysis {"connection_id":184787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:01:37] local.INFO: Extracted packet for processing {"connection_id":184787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 05:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:01:37] 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-09-17 05:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":184787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:01:37] local.INFO: GPS data processed {"connection_id":184787,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:01:37] local.INFO: Acknowledgment sent {"connection_id":184787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:02:04] local.INFO: TCP Data received {"connection_id":184788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:02:04] local.INFO: Processing buffer {"connection_id":184788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:02:04] local.INFO: IMEI packet received {"connection_id":184788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":184788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:02:10] local.INFO: TCP Data received {"connection_id":184788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:02:10] local.INFO: Processing buffer {"connection_id":184788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:02:10] local.INFO: IMEI packet received {"connection_id":184788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":184788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:02:11] local.INFO: TCP Data received {"connection_id":184788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:02:11] local.INFO: Processing buffer {"connection_id":184788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8b2010012d34c3c006aa4458000c01172d..."} 
[2026-09-17 05:02:11] local.INFO: Packet analysis {"connection_id":184788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:02:11] local.INFO: Extracted packet for processing {"connection_id":184788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8b"} 
[2026-09-17 05:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137828608001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789601194000,"timestamp_ms":1789601194000,"timestamp_seconds":1789601194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8b2010"} 
[2026-09-17 05:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:02: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-09-17 05:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137828608001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137828608001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:02:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:02:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137828608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":184788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:02:11] local.INFO: GPS data processed {"connection_id":184788,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:02:11] local.INFO: Acknowledgment sent {"connection_id":184788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:02:13] local.INFO: TCP Data received {"connection_id":184788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:02:13] local.INFO: Processing buffer {"connection_id":184788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:02:13] local.INFO: Packet analysis {"connection_id":184788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:02:13] local.INFO: Extracted packet for processing {"connection_id":184788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:02: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-09-17 05:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:02:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:02:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":184788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:02:13] local.INFO: GPS data processed {"connection_id":184788,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:02:13] local.INFO: Acknowledgment sent {"connection_id":184788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:03:00] local.INFO: TCP Data received {"connection_id":187522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:03:00] local.INFO: Processing buffer {"connection_id":187522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:03:00] local.INFO: IMEI packet received {"connection_id":187522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":187522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:03:04] local.INFO: TCP Data received {"connection_id":187522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:03:04] local.INFO: Processing buffer {"connection_id":187522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:03:04] local.INFO: IMEI packet received {"connection_id":187522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":187522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:03:05] local.INFO: TCP Data received {"connection_id":187522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:03:05] local.INFO: Processing buffer {"connection_id":187522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:03:05] local.INFO: Packet analysis {"connection_id":187522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:03:05] local.INFO: Extracted packet for processing {"connection_id":187522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:03:05] 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-09-17 05:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:03:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":187522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:03:05] local.INFO: GPS data processed {"connection_id":187522,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:03:05] local.INFO: Acknowledgment sent {"connection_id":187522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:03:11] local.INFO: TCP Data received {"connection_id":187521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:03:11] local.INFO: Processing buffer {"connection_id":187521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:03:11] local.INFO: IMEI packet received {"connection_id":187521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":187521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:03:36] local.INFO: TCP Data received {"connection_id":187522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:03:36] local.INFO: Processing buffer {"connection_id":187522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:03:36] local.INFO: Packet analysis {"connection_id":187522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:03:36] local.INFO: Extracted packet for processing {"connection_id":187522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:03:36] 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-09-17 05:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":187522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:03:36] local.INFO: GPS data processed {"connection_id":187522,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:03:36] local.INFO: Acknowledgment sent {"connection_id":187522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:03:51] local.INFO: TCP Data received {"connection_id":186205,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:03:51] local.INFO: Processing buffer {"connection_id":186205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:03:51] local.INFO: IMEI packet received {"connection_id":186205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":186205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:03:58] local.INFO: TCP Data received {"connection_id":184896,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:03:58] local.INFO: Processing buffer {"connection_id":184896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:03:58] local.INFO: IMEI packet received {"connection_id":184896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":184896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:04:04] local.INFO: TCP Data received {"connection_id":184896,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:04:04] local.INFO: Processing buffer {"connection_id":184896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:04:04] local.INFO: IMEI packet received {"connection_id":184896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":184896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:04:05] local.INFO: TCP Data received {"connection_id":184896,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:04:05] local.INFO: Processing buffer {"connection_id":184896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:04:05] local.INFO: Packet analysis {"connection_id":184896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:04:05] local.INFO: Extracted packet for processing {"connection_id":184896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:04:05] 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-09-17 05:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:04:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":184896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:04:05] local.INFO: GPS data processed {"connection_id":184896,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:04:05] local.INFO: Acknowledgment sent {"connection_id":184896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:04:37] local.INFO: TCP Data received {"connection_id":184896,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:04:37] local.INFO: Processing buffer {"connection_id":184896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:04:37] local.INFO: Packet analysis {"connection_id":184896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:04:37] local.INFO: Extracted packet for processing {"connection_id":184896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:04:37] 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-09-17 05:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":184896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:04:37] local.INFO: GPS data processed {"connection_id":184896,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:04:37] local.INFO: Acknowledgment sent {"connection_id":184896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:04:59] local.INFO: TCP Data received {"connection_id":187524,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:04:59] local.INFO: Processing buffer {"connection_id":187524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:04:59] local.INFO: IMEI packet received {"connection_id":187524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":187524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:05:04] local.INFO: TCP Data received {"connection_id":187524,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:05:04] local.INFO: Processing buffer {"connection_id":187524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:05:04] local.INFO: IMEI packet received {"connection_id":187524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":187524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:05:05] local.INFO: TCP Data received {"connection_id":187524,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:05:05] local.INFO: Processing buffer {"connection_id":187524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:05:05] local.INFO: Packet analysis {"connection_id":187524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:05:05] local.INFO: Extracted packet for processing {"connection_id":187524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:05:05] 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-09-17 05:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:05:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":187524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:05:05] local.INFO: GPS data processed {"connection_id":187524,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:05:05] local.INFO: Acknowledgment sent {"connection_id":187524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:05:37] local.INFO: TCP Data received {"connection_id":187524,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:05:37] local.INFO: Processing buffer {"connection_id":187524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:05:37] local.INFO: Packet analysis {"connection_id":187524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:05:37] local.INFO: Extracted packet for processing {"connection_id":187524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:05:37] 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-09-17 05:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":187524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:05:37] local.INFO: GPS data processed {"connection_id":187524,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:05:37] local.INFO: Acknowledgment sent {"connection_id":187524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:05:59] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:05:59] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:05:59] local.INFO: IMEI packet received {"connection_id":186207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":186207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:06:04] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:06:04] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:06:04] local.INFO: IMEI packet received {"connection_id":186207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":186207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:06:05] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:06:05] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:06:05] local.INFO: Packet analysis {"connection_id":186207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:06:05] local.INFO: Extracted packet for processing {"connection_id":186207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:06:05] 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-09-17 05:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:06:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":186207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:06:05] local.INFO: GPS data processed {"connection_id":186207,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:06:05] local.INFO: Acknowledgment sent {"connection_id":186207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:06:36] local.INFO: TCP Data received {"connection_id":186207,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:06:36] local.INFO: Processing buffer {"connection_id":186207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:06:36] local.INFO: Packet analysis {"connection_id":186207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:06:36] local.INFO: Extracted packet for processing {"connection_id":186207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:06:36] 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-09-17 05:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":186207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:06:36] local.INFO: GPS data processed {"connection_id":186207,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:06:36] local.INFO: Acknowledgment sent {"connection_id":186207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:07:04] local.INFO: TCP Data received {"connection_id":184897,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:07:04] local.INFO: Processing buffer {"connection_id":184897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:07:04] local.INFO: IMEI packet received {"connection_id":184897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":184897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:07:09] local.INFO: TCP Data received {"connection_id":184897,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:07:09] local.INFO: Processing buffer {"connection_id":184897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:07:09] local.INFO: IMEI packet received {"connection_id":184897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":184897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:07:10] local.INFO: TCP Data received {"connection_id":184897,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:07:10] local.INFO: Processing buffer {"connection_id":184897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:07:10] local.INFO: Packet analysis {"connection_id":184897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:07:10] local.INFO: Extracted packet for processing {"connection_id":184897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:07: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-09-17 05:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":184897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:07:10] local.INFO: GPS data processed {"connection_id":184897,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:07:10] local.INFO: Acknowledgment sent {"connection_id":184897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:07:16] local.INFO: TCP Data received {"connection_id":184897,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:07:16] local.INFO: Processing buffer {"connection_id":184897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac8fb7d8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:07:16] local.INFO: Packet analysis {"connection_id":184897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:07:16] local.INFO: Extracted packet for processing {"connection_id":184897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac8f"} 
[2026-09-17 05:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137905664001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789601495000,"timestamp_ms":1789601495000,"timestamp_seconds":1789601495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac8fb7d8"} 
[2026-09-17 05:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:07: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-09-17 05:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137905664001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137905664001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137905664001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":184897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:07:16] local.INFO: GPS data processed {"connection_id":184897,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:07:16] local.INFO: Acknowledgment sent {"connection_id":184897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:07:59] local.INFO: TCP Data received {"connection_id":184898,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:07:59] local.INFO: Processing buffer {"connection_id":184898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:07:59] local.INFO: IMEI packet received {"connection_id":184898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":184898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:08:04] local.INFO: TCP Data received {"connection_id":184898,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:08:04] local.INFO: Processing buffer {"connection_id":184898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:08:04] local.INFO: IMEI packet received {"connection_id":184898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":184898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:08:05] local.INFO: TCP Data received {"connection_id":184898,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:08:05] local.INFO: Processing buffer {"connection_id":184898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:08:05] local.INFO: Packet analysis {"connection_id":184898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:08:05] local.INFO: Extracted packet for processing {"connection_id":184898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137982720001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601796000,"timestamp_ms":1789601796000,"timestamp_seconds":1789601796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac944fa0"} 
[2026-09-17 05:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:08:05] 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-09-17 05:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137982720001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137982720001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:08:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137982720001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":184898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:08:05] local.INFO: GPS data processed {"connection_id":184898,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:08:05] local.INFO: Acknowledgment sent {"connection_id":184898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:08:36] local.INFO: TCP Data received {"connection_id":184898,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:08:36] local.INFO: Processing buffer {"connection_id":184898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:08:36] local.INFO: Packet analysis {"connection_id":184898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:08:36] local.INFO: Extracted packet for processing {"connection_id":184898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137982720001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789601796000,"timestamp_ms":1789601796000,"timestamp_seconds":1789601796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac944fa0"} 
[2026-09-17 05:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:08:36] 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-09-17 05:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137982720001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137982720001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137982720001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":184898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:08:36] local.INFO: GPS data processed {"connection_id":184898,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:08:36] local.INFO: Acknowledgment sent {"connection_id":184898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:08:59] local.INFO: TCP Data received {"connection_id":184790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:08:59] local.INFO: Processing buffer {"connection_id":184790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:08:59] local.INFO: IMEI packet received {"connection_id":184790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":184790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:09:04] local.INFO: TCP Data received {"connection_id":184790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:09:04] local.INFO: Processing buffer {"connection_id":184790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:09:04] local.INFO: IMEI packet received {"connection_id":184790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":184790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:09:05] local.INFO: TCP Data received {"connection_id":184790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:09:05] local.INFO: Processing buffer {"connection_id":184790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:09:05] local.INFO: Packet analysis {"connection_id":184790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:09:05] local.INFO: Extracted packet for processing {"connection_id":184790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137982720001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601796000,"timestamp_ms":1789601796000,"timestamp_seconds":1789601796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac944fa0"} 
[2026-09-17 05:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:09:05] 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-09-17 05:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137982720001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137982720001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:09:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137982720001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":184790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:09:05] local.INFO: GPS data processed {"connection_id":184790,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:09:05] local.INFO: Acknowledgment sent {"connection_id":184790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:09:16] local.INFO: TCP Data received {"connection_id":186209,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:09:16] local.INFO: Processing buffer {"connection_id":186209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:09:16] local.INFO: IMEI packet received {"connection_id":186209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":186209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:09:36] local.INFO: TCP Data received {"connection_id":184790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:09:36] local.INFO: Processing buffer {"connection_id":184790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:09:36] local.INFO: Packet analysis {"connection_id":184790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:09:36] local.INFO: Extracted packet for processing {"connection_id":184790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137982720001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789601796000,"timestamp_ms":1789601796000,"timestamp_seconds":1789601796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac944fa0"} 
[2026-09-17 05:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:09:36] 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-09-17 05:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137982720001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137982720001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137982720001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":184790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:09:36] local.INFO: GPS data processed {"connection_id":184790,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:09:36] local.INFO: Acknowledgment sent {"connection_id":184790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:09:56] local.INFO: TCP Data received {"connection_id":187525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:09:56] local.INFO: Processing buffer {"connection_id":187525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:09:56] local.INFO: IMEI packet received {"connection_id":187525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":187525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:09:59] local.INFO: TCP Data received {"connection_id":184791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:09:59] local.INFO: Processing buffer {"connection_id":184791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:09:59] local.INFO: IMEI packet received {"connection_id":184791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":184791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:10:04] local.INFO: TCP Data received {"connection_id":184791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:10:04] local.INFO: Processing buffer {"connection_id":184791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:10:04] local.INFO: IMEI packet received {"connection_id":184791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":184791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:10:05] local.INFO: TCP Data received {"connection_id":184791,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:10:05] local.INFO: Processing buffer {"connection_id":184791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:10:05] local.INFO: Packet analysis {"connection_id":184791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:10:05] local.INFO: Extracted packet for processing {"connection_id":184791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137982720001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601796000,"timestamp_ms":1789601796000,"timestamp_seconds":1789601796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac944fa0"} 
[2026-09-17 05:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:10:05] 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-09-17 05:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137982720001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137982720001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137982720001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":184791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:10:05] local.INFO: GPS data processed {"connection_id":184791,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:10:05] local.INFO: Acknowledgment sent {"connection_id":184791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:10:36] local.INFO: TCP Data received {"connection_id":184791,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:10:36] local.INFO: Processing buffer {"connection_id":184791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:10:36] local.INFO: Packet analysis {"connection_id":184791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:10:36] local.INFO: Extracted packet for processing {"connection_id":184791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137982720001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789601796000,"timestamp_ms":1789601796000,"timestamp_seconds":1789601796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac944fa0"} 
[2026-09-17 05:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:10:36] 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-09-17 05:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137982720001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137982720001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137982720001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":184791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:10:36] local.INFO: GPS data processed {"connection_id":184791,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:10:36] local.INFO: Acknowledgment sent {"connection_id":184791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:11:04] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:11:04] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:11:04] local.INFO: IMEI packet received {"connection_id":184900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":184900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:11:09] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:11:09] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:11:09] local.INFO: IMEI packet received {"connection_id":184900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":184900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:11:10] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:11:10] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:11:10] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:11:10] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137982720001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789601796000,"timestamp_ms":1789601796000,"timestamp_seconds":1789601796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac944fa0"} 
[2026-09-17 05:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:11: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-09-17 05:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137982720001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137982720001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137982720001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:11:10] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:11:10] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:11:15] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:11:15] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:11:15] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:11:15] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137982720001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789601796000,"timestamp_ms":1789601796000,"timestamp_seconds":1789601796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac944fa0"} 
[2026-09-17 05:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:11:15] 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-09-17 05:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137982720001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137982720001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137982720001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:11:15] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:11:15] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:11:59] local.INFO: TCP Data received {"connection_id":184793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:11:59] local.INFO: Processing buffer {"connection_id":184793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:11:59] local.INFO: IMEI packet received {"connection_id":184793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":184793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:12:04] local.INFO: TCP Data received {"connection_id":184793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:12:04] local.INFO: Processing buffer {"connection_id":184793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:12:04] local.INFO: IMEI packet received {"connection_id":184793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":184793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:12:05] local.INFO: TCP Data received {"connection_id":184793,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:12:05] local.INFO: Processing buffer {"connection_id":184793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac944fa0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:12:05] local.INFO: Packet analysis {"connection_id":184793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:12:05] local.INFO: Extracted packet for processing {"connection_id":184793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac94"} 
[2026-09-17 05:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458137982720001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789601796000,"timestamp_ms":1789601796000,"timestamp_seconds":1789601796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac944fa0"} 
[2026-09-17 05:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:12:05] 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-09-17 05:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458137982720001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458137982720001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458137982720001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":184793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:12:05] local.INFO: GPS data processed {"connection_id":184793,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:12:05] local.INFO: Acknowledgment sent {"connection_id":184793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:12:36] local.INFO: TCP Data received {"connection_id":184793,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:12:36] local.INFO: Processing buffer {"connection_id":184793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:12:36] local.INFO: Packet analysis {"connection_id":184793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:12:36] local.INFO: Extracted packet for processing {"connection_id":184793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:12:36] 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-09-17 05:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":184793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:12:36] local.INFO: GPS data processed {"connection_id":184793,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:12:36] local.INFO: Acknowledgment sent {"connection_id":184793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:12:58] local.INFO: TCP Data received {"connection_id":184794,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:12:58] local.INFO: Processing buffer {"connection_id":184794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:12:58] local.INFO: IMEI packet received {"connection_id":184794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":184794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:13:04] local.INFO: TCP Data received {"connection_id":184794,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:13:04] local.INFO: Processing buffer {"connection_id":184794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:13:04] local.INFO: IMEI packet received {"connection_id":184794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":184794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:13:05] local.INFO: TCP Data received {"connection_id":184794,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:13:05] local.INFO: Processing buffer {"connection_id":184794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:13:05] local.INFO: Packet analysis {"connection_id":184794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:13:05] local.INFO: Extracted packet for processing {"connection_id":184794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:13:05] 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-09-17 05:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":184794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:13:05] local.INFO: GPS data processed {"connection_id":184794,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:13:05] local.INFO: Acknowledgment sent {"connection_id":184794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:13:36] local.INFO: TCP Data received {"connection_id":184794,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:13:36] local.INFO: Processing buffer {"connection_id":184794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:13:36] local.INFO: Packet analysis {"connection_id":184794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:13:36] local.INFO: Extracted packet for processing {"connection_id":184794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:13:36] 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-09-17 05:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":184794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:13:36] local.INFO: GPS data processed {"connection_id":184794,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:13:36] local.INFO: Acknowledgment sent {"connection_id":184794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:13:59] local.INFO: TCP Data received {"connection_id":184901,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:13:59] local.INFO: Processing buffer {"connection_id":184901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:13:59] local.INFO: IMEI packet received {"connection_id":184901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":184901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:14:04] local.INFO: TCP Data received {"connection_id":184901,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:14:04] local.INFO: Processing buffer {"connection_id":184901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:14:04] local.INFO: IMEI packet received {"connection_id":184901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":184901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:14:05] local.INFO: TCP Data received {"connection_id":184901,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:14:05] local.INFO: Processing buffer {"connection_id":184901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:14:05] local.INFO: Packet analysis {"connection_id":184901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:14:05] local.INFO: Extracted packet for processing {"connection_id":184901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":184901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:14:05] local.INFO: GPS data processed {"connection_id":184901,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:14:05] local.INFO: Acknowledgment sent {"connection_id":184901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:14:36] local.INFO: TCP Data received {"connection_id":184901,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:14:36] local.INFO: Processing buffer {"connection_id":184901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:14:36] local.INFO: Packet analysis {"connection_id":184901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:14:36] local.INFO: Extracted packet for processing {"connection_id":184901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":184901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:14:36] local.INFO: GPS data processed {"connection_id":184901,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:14:36] local.INFO: Acknowledgment sent {"connection_id":184901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:14:59] local.INFO: TCP Data received {"connection_id":184796,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:14:59] local.INFO: Processing buffer {"connection_id":184796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:14:59] local.INFO: IMEI packet received {"connection_id":184796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":184796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:15:04] local.INFO: TCP Data received {"connection_id":184796,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:15:04] local.INFO: Processing buffer {"connection_id":184796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:15:04] local.INFO: IMEI packet received {"connection_id":184796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":184796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:15:05] local.INFO: TCP Data received {"connection_id":184796,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:15:05] local.INFO: Processing buffer {"connection_id":184796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:15:05] local.INFO: Packet analysis {"connection_id":184796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:15:05] local.INFO: Extracted packet for processing {"connection_id":184796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:15:05] 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-09-17 05:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":184796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:15:05] local.INFO: GPS data processed {"connection_id":184796,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:15:05] local.INFO: Acknowledgment sent {"connection_id":184796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:15:26] local.INFO: TCP Data received {"connection_id":184795,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:15:26] local.INFO: Processing buffer {"connection_id":184795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:15:26] local.INFO: IMEI packet received {"connection_id":184795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":184795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:15:36] local.INFO: TCP Data received {"connection_id":184796,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:15:36] local.INFO: Processing buffer {"connection_id":184796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:15:36] local.INFO: Packet analysis {"connection_id":184796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:15:36] local.INFO: Extracted packet for processing {"connection_id":184796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:15:36] 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-09-17 05:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":184796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:15:36] local.INFO: GPS data processed {"connection_id":184796,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:15:36] local.INFO: Acknowledgment sent {"connection_id":184796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:15:51] local.INFO: TCP Data received {"connection_id":187528,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:15:51] local.INFO: Processing buffer {"connection_id":187528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:15:51] local.INFO: IMEI packet received {"connection_id":187528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":187528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:16:04] local.INFO: TCP Data received {"connection_id":187529,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:16:04] local.INFO: Processing buffer {"connection_id":187529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:16:04] local.INFO: IMEI packet received {"connection_id":187529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":187529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:16:09] local.INFO: TCP Data received {"connection_id":187529,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:16:09] local.INFO: Processing buffer {"connection_id":187529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:16:09] local.INFO: IMEI packet received {"connection_id":187529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":187529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:16:10] local.INFO: TCP Data received {"connection_id":187529,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:16:10] local.INFO: Processing buffer {"connection_id":187529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:16:10] local.INFO: Packet analysis {"connection_id":187529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:16:10] local.INFO: Extracted packet for processing {"connection_id":187529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:16: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-09-17 05:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:16: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-09-17 05:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:16:10] 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-09-17 05:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":187529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:16:10] local.INFO: GPS data processed {"connection_id":187529,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:16:10] local.INFO: Acknowledgment sent {"connection_id":187529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:16:14] local.INFO: TCP Data received {"connection_id":187529,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:16:14] local.INFO: Processing buffer {"connection_id":187529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:16:14] local.INFO: Packet analysis {"connection_id":187529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:16:14] local.INFO: Extracted packet for processing {"connection_id":187529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:16: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-09-17 05:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:16:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":187529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:16:14] local.INFO: GPS data processed {"connection_id":187529,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:16:14] local.INFO: Acknowledgment sent {"connection_id":187529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:16:59] local.INFO: TCP Data received {"connection_id":186210,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:16:59] local.INFO: Processing buffer {"connection_id":186210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:16:59] local.INFO: IMEI packet received {"connection_id":186210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":186210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:17:04] local.INFO: TCP Data received {"connection_id":186210,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:17:04] local.INFO: Processing buffer {"connection_id":186210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:17:04] local.INFO: IMEI packet received {"connection_id":186210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":186210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:17:05] local.INFO: TCP Data received {"connection_id":186210,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:17:05] local.INFO: Processing buffer {"connection_id":186210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac98e768012d34c3c006aa4458000c01172e..."} 
[2026-09-17 05:17:05] local.INFO: Packet analysis {"connection_id":186210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:17:05] local.INFO: Extracted packet for processing {"connection_id":186210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac98"} 
[2026-09-17 05:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138059776001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602097000,"timestamp_ms":1789602097000,"timestamp_seconds":1789602097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac98e768"} 
[2026-09-17 05:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:17:05] 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-09-17 05:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138059776001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138059776001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:17:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138059776001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":186210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:17:05] local.INFO: GPS data processed {"connection_id":186210,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:17:05] local.INFO: Acknowledgment sent {"connection_id":186210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:17:36] local.INFO: TCP Data received {"connection_id":186210,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:17:36] local.INFO: Processing buffer {"connection_id":186210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:17:36] local.INFO: Packet analysis {"connection_id":186210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:17:36] local.INFO: Extracted packet for processing {"connection_id":186210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:17:36] 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-09-17 05:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":186210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:17:36] local.INFO: GPS data processed {"connection_id":186210,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:17:36] local.INFO: Acknowledgment sent {"connection_id":186210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:17:59] local.INFO: TCP Data received {"connection_id":187531,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:17:59] local.INFO: Processing buffer {"connection_id":187531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:17:59] local.INFO: IMEI packet received {"connection_id":187531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":187531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:18:04] local.INFO: TCP Data received {"connection_id":187531,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:18:04] local.INFO: Processing buffer {"connection_id":187531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:18:04] local.INFO: IMEI packet received {"connection_id":187531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":187531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:18:05] local.INFO: TCP Data received {"connection_id":187531,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:18:05] local.INFO: Processing buffer {"connection_id":187531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:18:05] local.INFO: Packet analysis {"connection_id":187531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:18:05] local.INFO: Extracted packet for processing {"connection_id":187531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:18:05] 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-09-17 05:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":187531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:18:05] local.INFO: GPS data processed {"connection_id":187531,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:18:05] local.INFO: Acknowledgment sent {"connection_id":187531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:18:37] local.INFO: TCP Data received {"connection_id":187531,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:18:37] local.INFO: Processing buffer {"connection_id":187531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:18:37] local.INFO: Packet analysis {"connection_id":187531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:18:37] local.INFO: Extracted packet for processing {"connection_id":187531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:18:37] 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-09-17 05:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":187531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:18:37] local.INFO: GPS data processed {"connection_id":187531,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:18:37] local.INFO: Acknowledgment sent {"connection_id":187531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:18:59] local.INFO: TCP Data received {"connection_id":186211,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:18:59] local.INFO: Processing buffer {"connection_id":186211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:18:59] local.INFO: IMEI packet received {"connection_id":186211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":186211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:19:04] local.INFO: TCP Data received {"connection_id":186211,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:19:04] local.INFO: Processing buffer {"connection_id":186211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:19:04] local.INFO: IMEI packet received {"connection_id":186211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":186211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:19:05] local.INFO: TCP Data received {"connection_id":186211,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:19:05] local.INFO: Processing buffer {"connection_id":186211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:19:05] local.INFO: Packet analysis {"connection_id":186211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:19:05] local.INFO: Extracted packet for processing {"connection_id":186211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:19:05] 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-09-17 05:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":186211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:19:05] local.INFO: GPS data processed {"connection_id":186211,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:19:05] local.INFO: Acknowledgment sent {"connection_id":186211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:19:37] local.INFO: TCP Data received {"connection_id":186211,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:19:37] local.INFO: Processing buffer {"connection_id":186211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:19:37] local.INFO: Packet analysis {"connection_id":186211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:19:37] local.INFO: Extracted packet for processing {"connection_id":186211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:19:37] 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-09-17 05:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":186211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:19:37] local.INFO: GPS data processed {"connection_id":186211,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:19:37] local.INFO: Acknowledgment sent {"connection_id":186211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:20:04] local.INFO: TCP Data received {"connection_id":184903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:20:04] local.INFO: Processing buffer {"connection_id":184903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:20:04] local.INFO: IMEI packet received {"connection_id":184903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":184903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:20:09] local.INFO: TCP Data received {"connection_id":184903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:20:09] local.INFO: Processing buffer {"connection_id":184903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:20:09] local.INFO: IMEI packet received {"connection_id":184903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":184903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:20:10] local.INFO: TCP Data received {"connection_id":184903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:20:10] local.INFO: Processing buffer {"connection_id":184903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:20:10] local.INFO: Packet analysis {"connection_id":184903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:20:10] local.INFO: Extracted packet for processing {"connection_id":184903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:20: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-09-17 05:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":184903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:20:10] local.INFO: GPS data processed {"connection_id":184903,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:20:10] local.INFO: Acknowledgment sent {"connection_id":184903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:20:14] local.INFO: TCP Data received {"connection_id":184903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:20:14] local.INFO: Processing buffer {"connection_id":184903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:20:14] local.INFO: Packet analysis {"connection_id":184903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:20:14] local.INFO: Extracted packet for processing {"connection_id":184903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05: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-09-17 05:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05: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-09-17 05:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:20:14] 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-09-17 05:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":184903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:20:14] local.INFO: GPS data processed {"connection_id":184903,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:20:14] local.INFO: Acknowledgment sent {"connection_id":184903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:20:59] local.INFO: TCP Data received {"connection_id":184799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:20:59] local.INFO: Processing buffer {"connection_id":184799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:20:59] local.INFO: IMEI packet received {"connection_id":184799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":184799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:21:04] local.INFO: TCP Data received {"connection_id":184799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:21:04] local.INFO: Processing buffer {"connection_id":184799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:21:04] local.INFO: IMEI packet received {"connection_id":184799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":184799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:21:05] local.INFO: TCP Data received {"connection_id":184799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:21:05] local.INFO: Processing buffer {"connection_id":184799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:21:05] local.INFO: Packet analysis {"connection_id":184799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:21:05] local.INFO: Extracted packet for processing {"connection_id":184799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:21:05] 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-09-17 05:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":184799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:21:05] local.INFO: GPS data processed {"connection_id":184799,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:21:05] local.INFO: Acknowledgment sent {"connection_id":184799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:21:16] local.INFO: TCP Data received {"connection_id":184904,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:21:16] local.INFO: Processing buffer {"connection_id":184904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:21:16] local.INFO: IMEI packet received {"connection_id":184904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":184904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:21:37] local.INFO: TCP Data received {"connection_id":184799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:21:37] local.INFO: Processing buffer {"connection_id":184799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:21:37] local.INFO: Packet analysis {"connection_id":184799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:21:37] local.INFO: Extracted packet for processing {"connection_id":184799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:21:37] 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-09-17 05:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":184799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:21:37] local.INFO: GPS data processed {"connection_id":184799,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:21:37] local.INFO: Acknowledgment sent {"connection_id":184799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:21:51] local.INFO: TCP Data received {"connection_id":184800,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:21:51] local.INFO: Processing buffer {"connection_id":184800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:21:51] local.INFO: IMEI packet received {"connection_id":184800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":184800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:21:59] local.INFO: TCP Data received {"connection_id":187532,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:21:59] local.INFO: Processing buffer {"connection_id":187532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:21:59] local.INFO: IMEI packet received {"connection_id":187532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":187532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:22:04] local.INFO: TCP Data received {"connection_id":187532,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:22:04] local.INFO: Processing buffer {"connection_id":187532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:22:04] local.INFO: IMEI packet received {"connection_id":187532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":187532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:22:05] local.INFO: TCP Data received {"connection_id":187532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:22:05] local.INFO: Processing buffer {"connection_id":187532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ac9d7f30012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:22:05] local.INFO: Packet analysis {"connection_id":187532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:22:05] local.INFO: Extracted packet for processing {"connection_id":187532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ac9d"} 
[2026-09-17 05:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138136832001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602398000,"timestamp_ms":1789602398000,"timestamp_seconds":1789602398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ac9d7f30"} 
[2026-09-17 05:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138136832001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138136832001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138136832001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":187532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:22:05] local.INFO: GPS data processed {"connection_id":187532,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:22:05] local.INFO: Acknowledgment sent {"connection_id":187532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:22:36] local.INFO: TCP Data received {"connection_id":187532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:22:36] local.INFO: Processing buffer {"connection_id":187532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:22:36] local.INFO: Packet analysis {"connection_id":187532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:22:36] local.INFO: Extracted packet for processing {"connection_id":187532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":187532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:22:36] local.INFO: GPS data processed {"connection_id":187532,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:22:36] local.INFO: Acknowledgment sent {"connection_id":187532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:22:59] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:22:59] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:22:59] local.INFO: IMEI packet received {"connection_id":186212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":186212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:23:04] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:23:04] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:23:04] local.INFO: IMEI packet received {"connection_id":186212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":186212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:23:05] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:23:05] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:23:05] local.INFO: Packet analysis {"connection_id":186212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:23:05] local.INFO: Extracted packet for processing {"connection_id":186212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:23:05] 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-09-17 05:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":186212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:23:05] local.INFO: GPS data processed {"connection_id":186212,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:23:05] local.INFO: Acknowledgment sent {"connection_id":186212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:23:36] local.INFO: TCP Data received {"connection_id":186212,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:23:36] local.INFO: Processing buffer {"connection_id":186212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:23:36] local.INFO: Packet analysis {"connection_id":186212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:23:36] local.INFO: Extracted packet for processing {"connection_id":186212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:23:36] 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-09-17 05:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":186212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:23:36] local.INFO: GPS data processed {"connection_id":186212,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:23:36] local.INFO: Acknowledgment sent {"connection_id":186212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:23:59] local.INFO: TCP Data received {"connection_id":184803,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:23:59] local.INFO: Processing buffer {"connection_id":184803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:23:59] local.INFO: IMEI packet received {"connection_id":184803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":184803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:24:04] local.INFO: TCP Data received {"connection_id":184803,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:24:04] local.INFO: Processing buffer {"connection_id":184803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:24:04] local.INFO: IMEI packet received {"connection_id":184803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":184803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:24:05] local.INFO: TCP Data received {"connection_id":184803,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:24:05] local.INFO: Processing buffer {"connection_id":184803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:24:05] local.INFO: Packet analysis {"connection_id":184803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:24:05] local.INFO: Extracted packet for processing {"connection_id":184803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:24:05] 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-09-17 05:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:24:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":184803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:24:05] local.INFO: GPS data processed {"connection_id":184803,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:24:05] local.INFO: Acknowledgment sent {"connection_id":184803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:24:36] local.INFO: TCP Data received {"connection_id":184803,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:24:36] local.INFO: Processing buffer {"connection_id":184803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:24:36] local.INFO: Packet analysis {"connection_id":184803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:24:36] local.INFO: Extracted packet for processing {"connection_id":184803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:24:36] 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-09-17 05:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":184803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:24:36] local.INFO: GPS data processed {"connection_id":184803,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:24:36] local.INFO: Acknowledgment sent {"connection_id":184803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:25:04] local.INFO: TCP Data received {"connection_id":187533,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:25:04] local.INFO: Processing buffer {"connection_id":187533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:25:04] local.INFO: IMEI packet received {"connection_id":187533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":187533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:25:09] local.INFO: TCP Data received {"connection_id":187533,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:25:09] local.INFO: Processing buffer {"connection_id":187533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:25:09] local.INFO: IMEI packet received {"connection_id":187533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":187533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:25:10] local.INFO: TCP Data received {"connection_id":187533,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:25:10] local.INFO: Processing buffer {"connection_id":187533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:25:10] local.INFO: Packet analysis {"connection_id":187533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:25:10] local.INFO: Extracted packet for processing {"connection_id":187533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:25:10] 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-09-17 05:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":187533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:25:10] local.INFO: GPS data processed {"connection_id":187533,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:25:10] local.INFO: Acknowledgment sent {"connection_id":187533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:25:16] local.INFO: TCP Data received {"connection_id":187533,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:25:16] local.INFO: Processing buffer {"connection_id":187533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:25:16] local.INFO: Packet analysis {"connection_id":187533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:25:16] local.INFO: Extracted packet for processing {"connection_id":187533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05: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-09-17 05:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05: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-09-17 05:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:25:16] 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-09-17 05:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":187533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:25:16] local.INFO: GPS data processed {"connection_id":187533,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:25:16] local.INFO: Acknowledgment sent {"connection_id":187533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:25:59] local.INFO: TCP Data received {"connection_id":184905,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:25:59] local.INFO: Processing buffer {"connection_id":184905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:25:59] local.INFO: IMEI packet received {"connection_id":184905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":184905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:26:04] local.INFO: TCP Data received {"connection_id":184905,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:26:04] local.INFO: Processing buffer {"connection_id":184905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:26:04] local.INFO: IMEI packet received {"connection_id":184905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":184905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:26:05] local.INFO: TCP Data received {"connection_id":184905,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:26:05] local.INFO: Processing buffer {"connection_id":184905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:26:05] local.INFO: Packet analysis {"connection_id":184905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:26:05] local.INFO: Extracted packet for processing {"connection_id":184905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:26:05] 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-09-17 05:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":184905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:26:05] local.INFO: GPS data processed {"connection_id":184905,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:26:05] local.INFO: Acknowledgment sent {"connection_id":184905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:26:36] local.INFO: TCP Data received {"connection_id":184905,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:26:36] local.INFO: Processing buffer {"connection_id":184905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:26:36] local.INFO: Packet analysis {"connection_id":184905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:26:36] local.INFO: Extracted packet for processing {"connection_id":184905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:26:36] 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-09-17 05:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":184905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:26:36] local.INFO: GPS data processed {"connection_id":184905,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:26:36] local.INFO: Acknowledgment sent {"connection_id":184905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:26:59] local.INFO: TCP Data received {"connection_id":186215,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:26:59] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:26:59] local.INFO: IMEI packet received {"connection_id":186215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":186215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:27:04] local.INFO: TCP Data received {"connection_id":186215,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:27:04] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:27:04] local.INFO: IMEI packet received {"connection_id":186215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":186215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:27:05] local.INFO: TCP Data received {"connection_id":186215,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:27:05] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca216f8012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:27:05] local.INFO: Packet analysis {"connection_id":186215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:27:05] local.INFO: Extracted packet for processing {"connection_id":186215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca2"} 
[2026-09-17 05:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138213888001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789602699000,"timestamp_ms":1789602699000,"timestamp_seconds":1789602699,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca216f8"} 
[2026-09-17 05:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:27:05] 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-09-17 05:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138213888001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138213888001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138213888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":186215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:27:05] local.INFO: GPS data processed {"connection_id":186215,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:27:05] local.INFO: Acknowledgment sent {"connection_id":186215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:27:21] local.INFO: TCP Data received {"connection_id":186214,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:27:21] local.INFO: Processing buffer {"connection_id":186214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:27:21] local.INFO: IMEI packet received {"connection_id":186214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":186214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:27:36] local.INFO: TCP Data received {"connection_id":186215,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:27:36] local.INFO: Processing buffer {"connection_id":186215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:27:36] local.INFO: Packet analysis {"connection_id":186215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:27:36] local.INFO: Extracted packet for processing {"connection_id":186215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:27:36] 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-09-17 05:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":186215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:27:36] local.INFO: GPS data processed {"connection_id":186215,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:27:36] local.INFO: Acknowledgment sent {"connection_id":186215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:27:51] local.INFO: TCP Data received {"connection_id":187534,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:27:51] local.INFO: Processing buffer {"connection_id":187534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:27:51] local.INFO: IMEI packet received {"connection_id":187534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":187534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:27:58] local.INFO: TCP Data received {"connection_id":187535,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:27:58] local.INFO: Processing buffer {"connection_id":187535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:27:58] local.INFO: IMEI packet received {"connection_id":187535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":187535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:28:04] local.INFO: TCP Data received {"connection_id":187535,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:28:04] local.INFO: Processing buffer {"connection_id":187535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:28:04] local.INFO: IMEI packet received {"connection_id":187535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":187535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:28:05] local.INFO: TCP Data received {"connection_id":187535,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:28:05] local.INFO: Processing buffer {"connection_id":187535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:28:05] local.INFO: Packet analysis {"connection_id":187535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:28:05] local.INFO: Extracted packet for processing {"connection_id":187535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:28:05] 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-09-17 05:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:28:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":187535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:28:05] local.INFO: GPS data processed {"connection_id":187535,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:28:05] local.INFO: Acknowledgment sent {"connection_id":187535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:28:36] local.INFO: TCP Data received {"connection_id":187535,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:28:36] local.INFO: Processing buffer {"connection_id":187535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:28:36] local.INFO: Packet analysis {"connection_id":187535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:28:36] local.INFO: Extracted packet for processing {"connection_id":187535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:28:36] 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-09-17 05:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:28:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":187535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:28:36] local.INFO: GPS data processed {"connection_id":187535,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:28:36] local.INFO: Acknowledgment sent {"connection_id":187535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:28:58] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:28:58] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:28:58] local.INFO: IMEI packet received {"connection_id":186217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":186217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:29:04] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:29:04] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:29:04] local.INFO: IMEI packet received {"connection_id":186217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":186217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:29:05] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:29:05] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:29:05] local.INFO: Packet analysis {"connection_id":186217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:29:05] local.INFO: Extracted packet for processing {"connection_id":186217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:29:05] 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-09-17 05:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":186217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:29:05] local.INFO: GPS data processed {"connection_id":186217,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:29:05] local.INFO: Acknowledgment sent {"connection_id":186217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:29:36] local.INFO: TCP Data received {"connection_id":186217,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:29:36] local.INFO: Processing buffer {"connection_id":186217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:29:36] local.INFO: Packet analysis {"connection_id":186217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:29:36] local.INFO: Extracted packet for processing {"connection_id":186217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:29:36] 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-09-17 05:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":186217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:29:36] local.INFO: GPS data processed {"connection_id":186217,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:29:36] local.INFO: Acknowledgment sent {"connection_id":186217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:30:04] local.INFO: TCP Data received {"connection_id":184806,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:30:04] local.INFO: Processing buffer {"connection_id":184806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:30:04] local.INFO: IMEI packet received {"connection_id":184806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":184806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:30:09] local.INFO: TCP Data received {"connection_id":184806,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:30:09] local.INFO: Processing buffer {"connection_id":184806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:30:09] local.INFO: IMEI packet received {"connection_id":184806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":184806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:30:10] local.INFO: TCP Data received {"connection_id":184806,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:30:10] local.INFO: Processing buffer {"connection_id":184806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:30:10] local.INFO: Packet analysis {"connection_id":184806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:30:10] local.INFO: Extracted packet for processing {"connection_id":184806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:30: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-09-17 05:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":184806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:30:10] local.INFO: GPS data processed {"connection_id":184806,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:30:10] local.INFO: Acknowledgment sent {"connection_id":184806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:30:14] local.INFO: TCP Data received {"connection_id":184806,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:30:14] local.INFO: Processing buffer {"connection_id":184806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:30:14] local.INFO: Packet analysis {"connection_id":184806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:30:14] local.INFO: Extracted packet for processing {"connection_id":184806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:30:14] 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-09-17 05:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:30:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":184806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:30:14] local.INFO: GPS data processed {"connection_id":184806,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:30:14] local.INFO: Acknowledgment sent {"connection_id":184806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:30:59] local.INFO: TCP Data received {"connection_id":187537,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:30:59] local.INFO: Processing buffer {"connection_id":187537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:30:59] local.INFO: IMEI packet received {"connection_id":187537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":187537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:31:04] local.INFO: TCP Data received {"connection_id":187537,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:31:04] local.INFO: Processing buffer {"connection_id":187537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:31:04] local.INFO: IMEI packet received {"connection_id":187537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":187537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:31:05] local.INFO: TCP Data received {"connection_id":187537,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:31:05] local.INFO: Processing buffer {"connection_id":187537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:31:05] local.INFO: Packet analysis {"connection_id":187537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:31:05] local.INFO: Extracted packet for processing {"connection_id":187537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:31:05] 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-09-17 05:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":187537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:31:05] local.INFO: GPS data processed {"connection_id":187537,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:31:05] local.INFO: Acknowledgment sent {"connection_id":187537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:31:36] local.INFO: TCP Data received {"connection_id":187537,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:31:36] local.INFO: Processing buffer {"connection_id":187537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:31:36] local.INFO: Packet analysis {"connection_id":187537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:31:36] local.INFO: Extracted packet for processing {"connection_id":187537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:31:36] 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-09-17 05:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":187537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:31:36] local.INFO: GPS data processed {"connection_id":187537,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:31:36] local.INFO: Acknowledgment sent {"connection_id":187537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:31:59] local.INFO: TCP Data received {"connection_id":184907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:31:59] local.INFO: Processing buffer {"connection_id":184907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:31:59] local.INFO: IMEI packet received {"connection_id":184907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":184907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:32:04] local.INFO: TCP Data received {"connection_id":184907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:32:04] local.INFO: Processing buffer {"connection_id":184907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:32:04] local.INFO: IMEI packet received {"connection_id":184907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":184907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:32:05] local.INFO: TCP Data received {"connection_id":184907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:32:05] local.INFO: Processing buffer {"connection_id":184907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aca6aec0012d34c3c006aa4458000c011732..."} 
[2026-09-17 05:32:05] local.INFO: Packet analysis {"connection_id":184907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:32:05] local.INFO: Extracted packet for processing {"connection_id":184907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aca6"} 
[2026-09-17 05:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138290944001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603000000,"timestamp_ms":1789603000000,"timestamp_seconds":1789603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0aca6aec0"} 
[2026-09-17 05:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:32:05] 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-09-17 05:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138290944001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138290944001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138290944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":184907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:32:05] local.INFO: GPS data processed {"connection_id":184907,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:32:05] local.INFO: Acknowledgment sent {"connection_id":184907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:32:36] local.INFO: TCP Data received {"connection_id":184907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:32:36] local.INFO: Processing buffer {"connection_id":184907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:32:36] local.INFO: Packet analysis {"connection_id":184907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:32:36] local.INFO: Extracted packet for processing {"connection_id":184907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:32:36] 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-09-17 05:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":184907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:32:36] local.INFO: GPS data processed {"connection_id":184907,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:32:36] local.INFO: Acknowledgment sent {"connection_id":184907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:33:04] local.INFO: TCP Data received {"connection_id":184807,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:33:04] local.INFO: Processing buffer {"connection_id":184807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:33:04] local.INFO: IMEI packet received {"connection_id":184807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":184807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:33:09] local.INFO: TCP Data received {"connection_id":184807,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:33:09] local.INFO: Processing buffer {"connection_id":184807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:33:09] local.INFO: IMEI packet received {"connection_id":184807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":184807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:33:10] local.INFO: TCP Data received {"connection_id":184807,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:33:10] local.INFO: Processing buffer {"connection_id":184807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:33:10] local.INFO: Packet analysis {"connection_id":184807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:33:10] local.INFO: Extracted packet for processing {"connection_id":184807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:33:10] 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-09-17 05:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":184807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:33:10] local.INFO: GPS data processed {"connection_id":184807,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:33:10] local.INFO: Acknowledgment sent {"connection_id":184807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:33:14] local.INFO: TCP Data received {"connection_id":184807,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:33:14] local.INFO: Processing buffer {"connection_id":184807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:33:14] local.INFO: Packet analysis {"connection_id":184807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:33:14] local.INFO: Extracted packet for processing {"connection_id":184807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:33: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-09-17 05:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":184807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:33:14] local.INFO: GPS data processed {"connection_id":184807,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:33:14] local.INFO: Acknowledgment sent {"connection_id":184807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:33:21] local.INFO: TCP Data received {"connection_id":187538,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:33:21] local.INFO: Processing buffer {"connection_id":187538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:33:21] local.INFO: IMEI packet received {"connection_id":187538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":187538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:33:51] local.INFO: TCP Data received {"connection_id":186218,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:33:51] local.INFO: Processing buffer {"connection_id":186218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:33:51] local.INFO: IMEI packet received {"connection_id":186218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":186218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:33:59] local.INFO: TCP Data received {"connection_id":184908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:33:59] local.INFO: Processing buffer {"connection_id":184908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:33:59] local.INFO: IMEI packet received {"connection_id":184908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":184908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:34:04] local.INFO: TCP Data received {"connection_id":184908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:34:04] local.INFO: Processing buffer {"connection_id":184908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:34:04] local.INFO: IMEI packet received {"connection_id":184908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":184908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:34:05] local.INFO: TCP Data received {"connection_id":184908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:34:05] local.INFO: Processing buffer {"connection_id":184908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:34:05] local.INFO: Packet analysis {"connection_id":184908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:34:05] local.INFO: Extracted packet for processing {"connection_id":184908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:34:05] 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-09-17 05:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:34:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":184908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:34:05] local.INFO: GPS data processed {"connection_id":184908,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:34:05] local.INFO: Acknowledgment sent {"connection_id":184908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:34:36] local.INFO: TCP Data received {"connection_id":184908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:34:36] local.INFO: Processing buffer {"connection_id":184908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:34:36] local.INFO: Packet analysis {"connection_id":184908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:34:36] local.INFO: Extracted packet for processing {"connection_id":184908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:34:36] 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-09-17 05:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":184908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:34:36] local.INFO: GPS data processed {"connection_id":184908,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:34:36] local.INFO: Acknowledgment sent {"connection_id":184908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:34:59] local.INFO: TCP Data received {"connection_id":184808,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:34:59] local.INFO: Processing buffer {"connection_id":184808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:34:59] local.INFO: IMEI packet received {"connection_id":184808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":184808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:35:04] local.INFO: TCP Data received {"connection_id":184808,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:35:04] local.INFO: Processing buffer {"connection_id":184808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:35:04] local.INFO: IMEI packet received {"connection_id":184808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":184808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:35:05] local.INFO: TCP Data received {"connection_id":184808,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:35:05] local.INFO: Processing buffer {"connection_id":184808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:35:05] local.INFO: Packet analysis {"connection_id":184808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:35:05] local.INFO: Extracted packet for processing {"connection_id":184808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":184808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:35:05] local.INFO: GPS data processed {"connection_id":184808,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:35:05] local.INFO: Acknowledgment sent {"connection_id":184808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:35:36] local.INFO: TCP Data received {"connection_id":184808,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:35:36] local.INFO: Processing buffer {"connection_id":184808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:35:36] local.INFO: Packet analysis {"connection_id":184808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:35:36] local.INFO: Extracted packet for processing {"connection_id":184808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":184808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:35:36] local.INFO: GPS data processed {"connection_id":184808,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:35:36] local.INFO: Acknowledgment sent {"connection_id":184808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:35:59] local.INFO: TCP Data received {"connection_id":184809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:35:59] local.INFO: Processing buffer {"connection_id":184809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:35:59] local.INFO: IMEI packet received {"connection_id":184809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":184809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:36:04] local.INFO: TCP Data received {"connection_id":184809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:36:04] local.INFO: Processing buffer {"connection_id":184809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:36:04] local.INFO: IMEI packet received {"connection_id":184809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":184809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:36:05] local.INFO: TCP Data received {"connection_id":184809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:36:05] local.INFO: Processing buffer {"connection_id":184809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:36:05] local.INFO: Packet analysis {"connection_id":184809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:36:05] local.INFO: Extracted packet for processing {"connection_id":184809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:36:05] 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-09-17 05:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:36:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":184809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:36:05] local.INFO: GPS data processed {"connection_id":184809,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:36:05] local.INFO: Acknowledgment sent {"connection_id":184809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:36:37] local.INFO: TCP Data received {"connection_id":184809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:36:37] local.INFO: Processing buffer {"connection_id":184809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:36:37] local.INFO: Packet analysis {"connection_id":184809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:36:37] local.INFO: Extracted packet for processing {"connection_id":184809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:36:37] 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-09-17 05:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":184809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:36:37] local.INFO: GPS data processed {"connection_id":184809,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:36:37] local.INFO: Acknowledgment sent {"connection_id":184809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:36:58] local.INFO: TCP Data received {"connection_id":184910,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:36:58] local.INFO: Processing buffer {"connection_id":184910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:36:58] local.INFO: IMEI packet received {"connection_id":184910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":184910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:37:04] local.INFO: TCP Data received {"connection_id":184910,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:37:04] local.INFO: Processing buffer {"connection_id":184910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:37:04] local.INFO: IMEI packet received {"connection_id":184910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":184910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:37:05] local.INFO: TCP Data received {"connection_id":184910,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:37:05] local.INFO: Processing buffer {"connection_id":184910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acab4688012d34c3c006aa4458000c011730..."} 
[2026-09-17 05:37:05] local.INFO: Packet analysis {"connection_id":184910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:37:05] local.INFO: Extracted packet for processing {"connection_id":184910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acab"} 
[2026-09-17 05:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138368000001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603301000,"timestamp_ms":1789603301000,"timestamp_seconds":1789603301,"priority":1,"record_length":96,"hex_timestamp":"000001a0acab4688"} 
[2026-09-17 05:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:37:05] 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-09-17 05:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138368000001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138368000001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138368000001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":184910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:37:05] local.INFO: GPS data processed {"connection_id":184910,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:37:05] local.INFO: Acknowledgment sent {"connection_id":184910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:37:36] local.INFO: TCP Data received {"connection_id":184910,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:37:36] local.INFO: Processing buffer {"connection_id":184910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:37:36] local.INFO: Packet analysis {"connection_id":184910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:37:36] local.INFO: Extracted packet for processing {"connection_id":184910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:37:36] 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-09-17 05:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":184910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:37:36] local.INFO: GPS data processed {"connection_id":184910,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:37:36] local.INFO: Acknowledgment sent {"connection_id":184910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:38:04] local.INFO: TCP Data received {"connection_id":184912,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:38:04] local.INFO: Processing buffer {"connection_id":184912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:38:04] local.INFO: IMEI packet received {"connection_id":184912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":184912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:38:09] local.INFO: TCP Data received {"connection_id":184912,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:38:09] local.INFO: Processing buffer {"connection_id":184912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:38:09] local.INFO: IMEI packet received {"connection_id":184912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":184912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:38:10] local.INFO: TCP Data received {"connection_id":184912,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:38:10] local.INFO: Processing buffer {"connection_id":184912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:38:10] local.INFO: Packet analysis {"connection_id":184912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:38:10] local.INFO: Extracted packet for processing {"connection_id":184912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:38:10] 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-09-17 05:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":184912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:38:10] local.INFO: GPS data processed {"connection_id":184912,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:38:10] local.INFO: Acknowledgment sent {"connection_id":184912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:38:14] local.INFO: TCP Data received {"connection_id":184912,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:38:14] local.INFO: Processing buffer {"connection_id":184912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:38:14] local.INFO: Packet analysis {"connection_id":184912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:38:14] local.INFO: Extracted packet for processing {"connection_id":184912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05: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-09-17 05:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05: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-09-17 05:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:38: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-09-17 05:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:38:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":184912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:38:14] local.INFO: GPS data processed {"connection_id":184912,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:38:14] local.INFO: Acknowledgment sent {"connection_id":184912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:38:59] local.INFO: TCP Data received {"connection_id":184810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:38:59] local.INFO: Processing buffer {"connection_id":184810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:38:59] local.INFO: IMEI packet received {"connection_id":184810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":184810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:39:04] local.INFO: TCP Data received {"connection_id":184810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:39:04] local.INFO: Processing buffer {"connection_id":184810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:39:04] local.INFO: IMEI packet received {"connection_id":184810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":184810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:39:05] local.INFO: TCP Data received {"connection_id":184810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:39:05] local.INFO: Processing buffer {"connection_id":184810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:39:05] local.INFO: Packet analysis {"connection_id":184810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:39:05] local.INFO: Extracted packet for processing {"connection_id":184810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:39:05] 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-09-17 05:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:39:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":184810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:39:05] local.INFO: GPS data processed {"connection_id":184810,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:39:05] local.INFO: Acknowledgment sent {"connection_id":184810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:39:16] local.INFO: TCP Data received {"connection_id":187539,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:39:16] local.INFO: Processing buffer {"connection_id":187539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:39:16] local.INFO: IMEI packet received {"connection_id":187539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":187539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:39:37] local.INFO: TCP Data received {"connection_id":184810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:39:37] local.INFO: Processing buffer {"connection_id":184810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:39:37] local.INFO: Packet analysis {"connection_id":184810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:39:37] local.INFO: Extracted packet for processing {"connection_id":184810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:39:37] 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-09-17 05:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":184810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:39:37] local.INFO: GPS data processed {"connection_id":184810,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:39:37] local.INFO: Acknowledgment sent {"connection_id":184810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:39:51] local.INFO: TCP Data received {"connection_id":184913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:39:51] local.INFO: Processing buffer {"connection_id":184913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:39:51] local.INFO: IMEI packet received {"connection_id":184913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":184913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:39:59] local.INFO: TCP Data received {"connection_id":187540,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:39:59] local.INFO: Processing buffer {"connection_id":187540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:39:59] local.INFO: IMEI packet received {"connection_id":187540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":187540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:40:04] local.INFO: TCP Data received {"connection_id":187540,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:40:04] local.INFO: Processing buffer {"connection_id":187540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:40:04] local.INFO: IMEI packet received {"connection_id":187540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":187540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:40:06] local.INFO: TCP Data received {"connection_id":187540,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:40:06] local.INFO: Processing buffer {"connection_id":187540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:40:06] local.INFO: Packet analysis {"connection_id":187540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:40:06] local.INFO: Extracted packet for processing {"connection_id":187540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":187540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:40:06] local.INFO: GPS data processed {"connection_id":187540,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:40:06] local.INFO: Acknowledgment sent {"connection_id":187540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:40:37] local.INFO: TCP Data received {"connection_id":187540,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:40:37] local.INFO: Processing buffer {"connection_id":187540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:40:37] local.INFO: Packet analysis {"connection_id":187540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:40:37] local.INFO: Extracted packet for processing {"connection_id":187540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":187540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:40:37] local.INFO: GPS data processed {"connection_id":187540,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:40:37] local.INFO: Acknowledgment sent {"connection_id":187540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:40:59] local.INFO: TCP Data received {"connection_id":184812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:40:59] local.INFO: Processing buffer {"connection_id":184812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:40:59] local.INFO: IMEI packet received {"connection_id":184812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":184812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:41:04] local.INFO: TCP Data received {"connection_id":184812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:41:04] local.INFO: Processing buffer {"connection_id":184812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:41:04] local.INFO: IMEI packet received {"connection_id":184812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":184812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:41:04] local.INFO: TCP Data received {"connection_id":184812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:41:04] local.INFO: Processing buffer {"connection_id":184812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:41:04] local.INFO: Packet analysis {"connection_id":184812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:41:04] local.INFO: Extracted packet for processing {"connection_id":184812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":184812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:41:04] local.INFO: GPS data processed {"connection_id":184812,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:41:04] local.INFO: Acknowledgment sent {"connection_id":184812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:41:36] local.INFO: TCP Data received {"connection_id":184812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:41:36] local.INFO: Processing buffer {"connection_id":184812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:41:36] local.INFO: Packet analysis {"connection_id":184812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:41:36] local.INFO: Extracted packet for processing {"connection_id":184812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":184812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:41:36] local.INFO: GPS data processed {"connection_id":184812,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:41:36] local.INFO: Acknowledgment sent {"connection_id":184812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:41:58] local.INFO: TCP Data received {"connection_id":186221,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:41:58] local.INFO: Processing buffer {"connection_id":186221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:41:58] local.INFO: IMEI packet received {"connection_id":186221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":186221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:42:04] local.INFO: TCP Data received {"connection_id":186221,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:42:04] local.INFO: Processing buffer {"connection_id":186221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:42:04] local.INFO: IMEI packet received {"connection_id":186221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":186221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:42:05] local.INFO: TCP Data received {"connection_id":186221,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:42:05] local.INFO: Processing buffer {"connection_id":186221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acafde50012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:42:05] local.INFO: Packet analysis {"connection_id":186221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:42:05] local.INFO: Extracted packet for processing {"connection_id":186221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acaf"} 
[2026-09-17 05:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138445056001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603602000,"timestamp_ms":1789603602000,"timestamp_seconds":1789603602,"priority":1,"record_length":96,"hex_timestamp":"000001a0acafde50"} 
[2026-09-17 05:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:42:05] 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-09-17 05:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138445056001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138445056001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138445056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":186221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:42:05] local.INFO: GPS data processed {"connection_id":186221,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:42:05] local.INFO: Acknowledgment sent {"connection_id":186221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:42:36] local.INFO: TCP Data received {"connection_id":186221,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:42:36] local.INFO: Processing buffer {"connection_id":186221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:42:36] local.INFO: Packet analysis {"connection_id":186221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:42:36] local.INFO: Extracted packet for processing {"connection_id":186221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:42:36] 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-09-17 05:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":186221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:42:36] local.INFO: GPS data processed {"connection_id":186221,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:42:36] local.INFO: Acknowledgment sent {"connection_id":186221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:43:04] local.INFO: TCP Data received {"connection_id":184914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:43:04] local.INFO: Processing buffer {"connection_id":184914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:43:04] local.INFO: IMEI packet received {"connection_id":184914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":184914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:43:09] local.INFO: TCP Data received {"connection_id":184914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:43:09] local.INFO: Processing buffer {"connection_id":184914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:43:09] local.INFO: IMEI packet received {"connection_id":184914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":184914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:43:10] local.INFO: TCP Data received {"connection_id":184914,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:43:10] local.INFO: Processing buffer {"connection_id":184914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:43:10] local.INFO: Packet analysis {"connection_id":184914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:43:10] local.INFO: Extracted packet for processing {"connection_id":184914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05: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-09-17 05:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05: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-09-17 05:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:43: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-09-17 05:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":184914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:43:10] local.INFO: GPS data processed {"connection_id":184914,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:43:10] local.INFO: Acknowledgment sent {"connection_id":184914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:43:15] local.INFO: TCP Data received {"connection_id":184914,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:43:15] local.INFO: Processing buffer {"connection_id":184914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:43:15] local.INFO: Packet analysis {"connection_id":184914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:43:15] local.INFO: Extracted packet for processing {"connection_id":184914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:43:15] 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-09-17 05:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":184914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:43:15] local.INFO: GPS data processed {"connection_id":184914,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:43:15] local.INFO: Acknowledgment sent {"connection_id":184914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:43:59] local.INFO: TCP Data received {"connection_id":186222,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:43:59] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:43:59] local.INFO: IMEI packet received {"connection_id":186222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":186222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:44:04] local.INFO: TCP Data received {"connection_id":186222,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:44:04] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:44:04] local.INFO: IMEI packet received {"connection_id":186222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":186222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:44:05] local.INFO: TCP Data received {"connection_id":186222,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:44:05] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:44:05] local.INFO: Packet analysis {"connection_id":186222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:44:05] local.INFO: Extracted packet for processing {"connection_id":186222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:44:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":186222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:44:05] local.INFO: GPS data processed {"connection_id":186222,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:44:05] local.INFO: Acknowledgment sent {"connection_id":186222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:44:09] local.INFO: TCP Data received {"connection_id":186222,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:44:09] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:44:09] local.INFO: Packet analysis {"connection_id":186222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:44:09] local.INFO: Extracted packet for processing {"connection_id":186222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05: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-09-17 05:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05: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-09-17 05:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":186222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:44:09] local.INFO: GPS data processed {"connection_id":186222,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:44:09] local.INFO: Acknowledgment sent {"connection_id":186222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:44:41] local.INFO: TCP Data received {"connection_id":186222,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:44:41] local.INFO: Processing buffer {"connection_id":186222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:44:41] local.INFO: Packet analysis {"connection_id":186222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:44:41] local.INFO: Extracted packet for processing {"connection_id":186222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:44:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":186222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:44:41] local.INFO: GPS data processed {"connection_id":186222,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:44:41] local.INFO: Acknowledgment sent {"connection_id":186222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:44:59] local.INFO: TCP Data received {"connection_id":184815,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:44:59] local.INFO: Processing buffer {"connection_id":184815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:44:59] local.INFO: IMEI packet received {"connection_id":184815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":184815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:45:04] local.INFO: TCP Data received {"connection_id":184815,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:45:04] local.INFO: Processing buffer {"connection_id":184815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:45:04] local.INFO: IMEI packet received {"connection_id":184815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":184815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:45:05] local.INFO: TCP Data received {"connection_id":184815,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:45:05] local.INFO: Processing buffer {"connection_id":184815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:45:05] local.INFO: Packet analysis {"connection_id":184815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:45:05] local.INFO: Extracted packet for processing {"connection_id":184815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:45:05] 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-09-17 05:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":184815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:45:05] local.INFO: GPS data processed {"connection_id":184815,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:45:05] local.INFO: Acknowledgment sent {"connection_id":184815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:45:21] local.INFO: TCP Data received {"connection_id":187541,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:45:21] local.INFO: Processing buffer {"connection_id":187541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:45:21] local.INFO: IMEI packet received {"connection_id":187541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":187541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:45:37] local.INFO: TCP Data received {"connection_id":184815,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:45:37] local.INFO: Processing buffer {"connection_id":184815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:45:37] local.INFO: Packet analysis {"connection_id":184815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:45:37] local.INFO: Extracted packet for processing {"connection_id":184815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:45:37] 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-09-17 05:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":184815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:45:37] local.INFO: GPS data processed {"connection_id":184815,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:45:37] local.INFO: Acknowledgment sent {"connection_id":184815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:45:51] local.INFO: TCP Data received {"connection_id":184916,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:45:51] local.INFO: Processing buffer {"connection_id":184916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:45:51] local.INFO: IMEI packet received {"connection_id":184916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":184916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:45:59] local.INFO: TCP Data received {"connection_id":187542,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:45:59] local.INFO: Processing buffer {"connection_id":187542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:45:59] local.INFO: IMEI packet received {"connection_id":187542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":187542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:46:04] local.INFO: TCP Data received {"connection_id":187542,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:46:04] local.INFO: Processing buffer {"connection_id":187542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:46:04] local.INFO: IMEI packet received {"connection_id":187542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":187542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:46:05] local.INFO: TCP Data received {"connection_id":187542,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:46:05] local.INFO: Processing buffer {"connection_id":187542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:46:05] local.INFO: Packet analysis {"connection_id":187542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:46:05] local.INFO: Extracted packet for processing {"connection_id":187542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:46:05] 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-09-17 05:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:46:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":187542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:46:05] local.INFO: GPS data processed {"connection_id":187542,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:46:05] local.INFO: Acknowledgment sent {"connection_id":187542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:46:36] local.INFO: TCP Data received {"connection_id":187542,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:46:36] local.INFO: Processing buffer {"connection_id":187542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:46:36] local.INFO: Packet analysis {"connection_id":187542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:46:36] local.INFO: Extracted packet for processing {"connection_id":187542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:46:36] 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-09-17 05:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":187542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:46:36] local.INFO: GPS data processed {"connection_id":187542,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:46:36] local.INFO: Acknowledgment sent {"connection_id":187542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:46:58] local.INFO: TCP Data received {"connection_id":186223,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:46:58] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:46:58] local.INFO: IMEI packet received {"connection_id":186223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":186223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:47:04] local.INFO: TCP Data received {"connection_id":186223,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:47:04] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:47:04] local.INFO: IMEI packet received {"connection_id":186223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":186223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:47:05] local.INFO: TCP Data received {"connection_id":186223,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:47:05] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb47618012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:47:05] local.INFO: Packet analysis {"connection_id":186223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:47:05] local.INFO: Extracted packet for processing {"connection_id":186223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb4"} 
[2026-09-17 05:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138522112001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789603903000,"timestamp_ms":1789603903000,"timestamp_seconds":1789603903,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb47618"} 
[2026-09-17 05:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:47:05] 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-09-17 05:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138522112001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138522112001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138522112001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":186223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:47:05] local.INFO: GPS data processed {"connection_id":186223,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:47:05] local.INFO: Acknowledgment sent {"connection_id":186223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:47:38] local.INFO: TCP Data received {"connection_id":186223,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:47:38] local.INFO: Processing buffer {"connection_id":186223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:47:38] local.INFO: Packet analysis {"connection_id":186223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:47:38] local.INFO: Extracted packet for processing {"connection_id":186223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:47:38] 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-09-17 05:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":186223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:47:38] local.INFO: GPS data processed {"connection_id":186223,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:47:38] local.INFO: Acknowledgment sent {"connection_id":186223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:47:59] local.INFO: TCP Data received {"connection_id":184818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:47:59] local.INFO: Processing buffer {"connection_id":184818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:47:59] local.INFO: IMEI packet received {"connection_id":184818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":184818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:48:04] local.INFO: TCP Data received {"connection_id":184818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:48:04] local.INFO: Processing buffer {"connection_id":184818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:48:04] local.INFO: IMEI packet received {"connection_id":184818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":184818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:48:05] local.INFO: TCP Data received {"connection_id":184818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:48:05] local.INFO: Processing buffer {"connection_id":184818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:48:05] local.INFO: Packet analysis {"connection_id":184818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:48:05] local.INFO: Extracted packet for processing {"connection_id":184818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:48:05] 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-09-17 05:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":184818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:48:05] local.INFO: GPS data processed {"connection_id":184818,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:48:05] local.INFO: Acknowledgment sent {"connection_id":184818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:48:38] local.INFO: TCP Data received {"connection_id":184818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:48:38] local.INFO: Processing buffer {"connection_id":184818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:48:38] local.INFO: Packet analysis {"connection_id":184818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:48:38] local.INFO: Extracted packet for processing {"connection_id":184818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:48:38] 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-09-17 05:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":184818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:48:38] local.INFO: GPS data processed {"connection_id":184818,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:48:38] local.INFO: Acknowledgment sent {"connection_id":184818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:48:59] local.INFO: TCP Data received {"connection_id":184819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:48:59] local.INFO: Processing buffer {"connection_id":184819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:48:59] local.INFO: IMEI packet received {"connection_id":184819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":184819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:49:04] local.INFO: TCP Data received {"connection_id":184819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:49:04] local.INFO: Processing buffer {"connection_id":184819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:49:04] local.INFO: IMEI packet received {"connection_id":184819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":184819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:49:05] local.INFO: TCP Data received {"connection_id":184819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:49:05] local.INFO: Processing buffer {"connection_id":184819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:49:05] local.INFO: Packet analysis {"connection_id":184819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:49:05] local.INFO: Extracted packet for processing {"connection_id":184819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:49:05] 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-09-17 05:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":184819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:49:05] local.INFO: GPS data processed {"connection_id":184819,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:49:05] local.INFO: Acknowledgment sent {"connection_id":184819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:49:36] local.INFO: TCP Data received {"connection_id":184819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:49:36] local.INFO: Processing buffer {"connection_id":184819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:49:36] local.INFO: Packet analysis {"connection_id":184819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:49:36] local.INFO: Extracted packet for processing {"connection_id":184819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:49:36] 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-09-17 05:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":184819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:49:36] local.INFO: GPS data processed {"connection_id":184819,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:49:36] local.INFO: Acknowledgment sent {"connection_id":184819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:49:58] local.INFO: TCP Data received {"connection_id":187545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:49:58] local.INFO: Processing buffer {"connection_id":187545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:49:58] local.INFO: IMEI packet received {"connection_id":187545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":187545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:50:04] local.INFO: TCP Data received {"connection_id":187545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:50:04] local.INFO: Processing buffer {"connection_id":187545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:50:04] local.INFO: IMEI packet received {"connection_id":187545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":187545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:50:05] local.INFO: TCP Data received {"connection_id":187545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:50:05] local.INFO: Processing buffer {"connection_id":187545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:50:05] local.INFO: Packet analysis {"connection_id":187545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:50:05] local.INFO: Extracted packet for processing {"connection_id":187545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:50:05] 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-09-17 05:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":187545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:50:05] local.INFO: GPS data processed {"connection_id":187545,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:50:05] local.INFO: Acknowledgment sent {"connection_id":187545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:50:36] local.INFO: TCP Data received {"connection_id":187545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:50:36] local.INFO: Processing buffer {"connection_id":187545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:50:36] local.INFO: Packet analysis {"connection_id":187545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:50:36] local.INFO: Extracted packet for processing {"connection_id":187545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:50:36] 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-09-17 05:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":187545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:50:36] local.INFO: GPS data processed {"connection_id":187545,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:50:36] local.INFO: Acknowledgment sent {"connection_id":187545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:50:58] local.INFO: TCP Data received {"connection_id":184820,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:50:58] local.INFO: Processing buffer {"connection_id":184820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:50:58] local.INFO: IMEI packet received {"connection_id":184820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":184820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:51:04] local.INFO: TCP Data received {"connection_id":184820,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:51:04] local.INFO: Processing buffer {"connection_id":184820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:51:04] local.INFO: IMEI packet received {"connection_id":184820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":184820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:51:05] local.INFO: TCP Data received {"connection_id":184820,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:51:05] local.INFO: Processing buffer {"connection_id":184820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:51:05] local.INFO: Packet analysis {"connection_id":184820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:51:05] local.INFO: Extracted packet for processing {"connection_id":184820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:51:05] 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-09-17 05:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":184820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:51:05] local.INFO: GPS data processed {"connection_id":184820,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:51:05] local.INFO: Acknowledgment sent {"connection_id":184820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:51:16] local.INFO: TCP Data received {"connection_id":187546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:51:16] local.INFO: Processing buffer {"connection_id":187546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:51:16] local.INFO: IMEI packet received {"connection_id":187546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":187546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:51:37] local.INFO: TCP Data received {"connection_id":184820,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:51:37] local.INFO: Processing buffer {"connection_id":184820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:51:37] local.INFO: Packet analysis {"connection_id":184820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:51:37] local.INFO: Extracted packet for processing {"connection_id":184820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:51:37] 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-09-17 05:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":184820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:51:37] local.INFO: GPS data processed {"connection_id":184820,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:51:37] local.INFO: Acknowledgment sent {"connection_id":184820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:51:56] local.INFO: TCP Data received {"connection_id":186224,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:51:56] local.INFO: Processing buffer {"connection_id":186224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:51:56] local.INFO: IMEI packet received {"connection_id":186224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":186224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:51:58] local.INFO: TCP Data received {"connection_id":184917,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:51:58] local.INFO: Processing buffer {"connection_id":184917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:51:58] local.INFO: IMEI packet received {"connection_id":184917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":184917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:52:04] local.INFO: TCP Data received {"connection_id":184917,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:52:04] local.INFO: Processing buffer {"connection_id":184917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:52:04] local.INFO: IMEI packet received {"connection_id":184917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":184917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:52:05] local.INFO: TCP Data received {"connection_id":184917,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:52:05] local.INFO: Processing buffer {"connection_id":184917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acb90de0012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:52:05] local.INFO: Packet analysis {"connection_id":184917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:52:05] local.INFO: Extracted packet for processing {"connection_id":184917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acb9"} 
[2026-09-17 05:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138599168001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604204000,"timestamp_ms":1789604204000,"timestamp_seconds":1789604204,"priority":1,"record_length":96,"hex_timestamp":"000001a0acb90de0"} 
[2026-09-17 05:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 05:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138599168001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138599168001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138599168001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":184917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:52:05] local.INFO: GPS data processed {"connection_id":184917,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:52:05] local.INFO: Acknowledgment sent {"connection_id":184917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:52:36] local.INFO: TCP Data received {"connection_id":184917,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:52:36] local.INFO: Processing buffer {"connection_id":184917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:52:36] local.INFO: Packet analysis {"connection_id":184917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:52:36] local.INFO: Extracted packet for processing {"connection_id":184917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":184917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:52:36] local.INFO: GPS data processed {"connection_id":184917,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:52:36] local.INFO: Acknowledgment sent {"connection_id":184917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:52:59] local.INFO: TCP Data received {"connection_id":184821,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:52:59] local.INFO: Processing buffer {"connection_id":184821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:52:59] local.INFO: IMEI packet received {"connection_id":184821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":184821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:53:04] local.INFO: TCP Data received {"connection_id":184821,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:53:04] local.INFO: Processing buffer {"connection_id":184821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:53:04] local.INFO: IMEI packet received {"connection_id":184821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":184821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:53:05] local.INFO: TCP Data received {"connection_id":184821,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:53:05] local.INFO: Processing buffer {"connection_id":184821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:53:05] local.INFO: Packet analysis {"connection_id":184821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:53:05] local.INFO: Extracted packet for processing {"connection_id":184821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:53:05] 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-09-17 05:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":184821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:53:05] local.INFO: GPS data processed {"connection_id":184821,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:53:05] local.INFO: Acknowledgment sent {"connection_id":184821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:53:36] local.INFO: TCP Data received {"connection_id":184821,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:53:36] local.INFO: Processing buffer {"connection_id":184821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:53:36] local.INFO: Packet analysis {"connection_id":184821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:53:36] local.INFO: Extracted packet for processing {"connection_id":184821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:53:36] 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-09-17 05:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":184821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:53:36] local.INFO: GPS data processed {"connection_id":184821,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:53:36] local.INFO: Acknowledgment sent {"connection_id":184821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:53:58] local.INFO: TCP Data received {"connection_id":184918,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:53:58] local.INFO: Processing buffer {"connection_id":184918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:53:58] local.INFO: IMEI packet received {"connection_id":184918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":184918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:54:04] local.INFO: TCP Data received {"connection_id":184918,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:54:04] local.INFO: Processing buffer {"connection_id":184918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:54:04] local.INFO: IMEI packet received {"connection_id":184918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":184918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:54:05] local.INFO: TCP Data received {"connection_id":184918,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:54:05] local.INFO: Processing buffer {"connection_id":184918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:54:05] local.INFO: Packet analysis {"connection_id":184918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:54:05] local.INFO: Extracted packet for processing {"connection_id":184918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:54:05] 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-09-17 05:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:54:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":184918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:54:05] local.INFO: GPS data processed {"connection_id":184918,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:54:05] local.INFO: Acknowledgment sent {"connection_id":184918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:54:37] local.INFO: TCP Data received {"connection_id":184918,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:54:37] local.INFO: Processing buffer {"connection_id":184918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:54:37] local.INFO: Packet analysis {"connection_id":184918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:54:37] local.INFO: Extracted packet for processing {"connection_id":184918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:54:37] 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-09-17 05:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":184918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:54:37] local.INFO: GPS data processed {"connection_id":184918,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:54:37] local.INFO: Acknowledgment sent {"connection_id":184918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:54:58] local.INFO: TCP Data received {"connection_id":184919,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:54:58] local.INFO: Processing buffer {"connection_id":184919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:54:58] local.INFO: IMEI packet received {"connection_id":184919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":184919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:55:04] local.INFO: TCP Data received {"connection_id":184919,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:55:04] local.INFO: Processing buffer {"connection_id":184919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:55:04] local.INFO: IMEI packet received {"connection_id":184919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":184919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:55:05] local.INFO: TCP Data received {"connection_id":184919,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:55:05] local.INFO: Processing buffer {"connection_id":184919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:55:05] local.INFO: Packet analysis {"connection_id":184919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:55:05] local.INFO: Extracted packet for processing {"connection_id":184919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:55:05] 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-09-17 05:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":184919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:55:05] local.INFO: GPS data processed {"connection_id":184919,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:55:05] local.INFO: Acknowledgment sent {"connection_id":184919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:55:37] local.INFO: TCP Data received {"connection_id":184919,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:55:37] local.INFO: Processing buffer {"connection_id":184919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:55:37] local.INFO: Packet analysis {"connection_id":184919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:55:37] local.INFO: Extracted packet for processing {"connection_id":184919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:55:37] 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-09-17 05:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":184919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:55:37] local.INFO: GPS data processed {"connection_id":184919,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:55:37] local.INFO: Acknowledgment sent {"connection_id":184919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:55:58] local.INFO: TCP Data received {"connection_id":184921,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:55:58] local.INFO: Processing buffer {"connection_id":184921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:55:58] local.INFO: IMEI packet received {"connection_id":184921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":184921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:56:04] local.INFO: TCP Data received {"connection_id":184921,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:56:04] local.INFO: Processing buffer {"connection_id":184921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:56:04] local.INFO: IMEI packet received {"connection_id":184921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":184921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:56:05] local.INFO: TCP Data received {"connection_id":184921,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:56:05] local.INFO: Processing buffer {"connection_id":184921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:56:05] local.INFO: Packet analysis {"connection_id":184921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:56:05] local.INFO: Extracted packet for processing {"connection_id":184921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":184921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:56:05] local.INFO: GPS data processed {"connection_id":184921,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:56:05] local.INFO: Acknowledgment sent {"connection_id":184921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:56:36] local.INFO: TCP Data received {"connection_id":184921,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:56:36] local.INFO: Processing buffer {"connection_id":184921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:56:36] local.INFO: Packet analysis {"connection_id":184921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:56:36] local.INFO: Extracted packet for processing {"connection_id":184921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 05:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":184921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:56:36] local.INFO: GPS data processed {"connection_id":184921,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:56:36] local.INFO: Acknowledgment sent {"connection_id":184921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:57:04] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:57:04] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:57:04] local.INFO: IMEI packet received {"connection_id":186227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":186227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:57:09] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:57:09] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:57:09] local.INFO: IMEI packet received {"connection_id":186227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":186227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:57:11] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:57:11] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:57:11] local.INFO: Packet analysis {"connection_id":186227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:57:11] local.INFO: Extracted packet for processing {"connection_id":186227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:57:11] 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-09-17 05:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:57:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":186227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:57:11] local.INFO: GPS data processed {"connection_id":186227,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:57:11] local.INFO: Acknowledgment sent {"connection_id":186227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:57:14] local.INFO: TCP Data received {"connection_id":186227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:57:14] local.INFO: Processing buffer {"connection_id":186227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acbda5a8012d34c3c006aa4458000c01172f..."} 
[2026-09-17 05:57:14] local.INFO: Packet analysis {"connection_id":186227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:57:14] local.INFO: Extracted packet for processing {"connection_id":186227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acbd"} 
[2026-09-17 05:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:57: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-09-17 05:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138676224001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789604505000,"timestamp_ms":1789604505000,"timestamp_seconds":1789604505,"priority":1,"record_length":96,"hex_timestamp":"000001a0acbda5a8"} 
[2026-09-17 05:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 05:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:57: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-09-17 05:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:57:14] 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-09-17 05:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138676224001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138676224001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:57:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138676224001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":186227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:57:14] local.INFO: GPS data processed {"connection_id":186227,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:57:14] local.INFO: Acknowledgment sent {"connection_id":186227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:57:16] local.INFO: TCP Data received {"connection_id":187547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:57:16] local.INFO: Processing buffer {"connection_id":187547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:57:16] local.INFO: IMEI packet received {"connection_id":187547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":187547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:57:53] local.INFO: TCP Data received {"connection_id":184922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:57:53] local.INFO: Processing buffer {"connection_id":184922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 05:57:53] local.INFO: IMEI packet received {"connection_id":184922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 05:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":184922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:57:59] local.INFO: TCP Data received {"connection_id":184923,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:57:59] local.INFO: Processing buffer {"connection_id":184923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:57:59] local.INFO: IMEI packet received {"connection_id":184923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":184923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:58:04] local.INFO: TCP Data received {"connection_id":184923,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:58:04] local.INFO: Processing buffer {"connection_id":184923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:58:04] local.INFO: IMEI packet received {"connection_id":184923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":184923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:58:05] local.INFO: TCP Data received {"connection_id":184923,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:58:05] local.INFO: Processing buffer {"connection_id":184923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:58:05] local.INFO: Packet analysis {"connection_id":184923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 05:58:05] local.INFO: Extracted packet for processing {"connection_id":184923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 05:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138753280001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604806000,"timestamp_ms":1789604806000,"timestamp_seconds":1789604806,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc23d70"} 
[2026-09-17 05:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:58:05] 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-09-17 05:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138753280001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138753280001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:58:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138753280001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":184923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:58:05] local.INFO: GPS data processed {"connection_id":184923,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:58:05] local.INFO: Acknowledgment sent {"connection_id":184923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:58:37] local.INFO: TCP Data received {"connection_id":184923,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:58:37] local.INFO: Processing buffer {"connection_id":184923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:58:37] local.INFO: Packet analysis {"connection_id":184923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 05:58:37] local.INFO: Extracted packet for processing {"connection_id":184923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138753280001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789604806000,"timestamp_ms":1789604806000,"timestamp_seconds":1789604806,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc23d70"} 
[2026-09-17 05:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:58:37] 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-09-17 05:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138753280001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138753280001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138753280001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":184923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:58:37] local.INFO: GPS data processed {"connection_id":184923,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:58:37] local.INFO: Acknowledgment sent {"connection_id":184923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:58:58] local.INFO: TCP Data received {"connection_id":187549,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:58:58] local.INFO: Processing buffer {"connection_id":187549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:58:58] local.INFO: IMEI packet received {"connection_id":187549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 05:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":187549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 05:59:05] local.INFO: TCP Data received {"connection_id":187549,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:59:05] local.INFO: Processing buffer {"connection_id":187549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 05:59:05] local.INFO: IMEI packet received {"connection_id":187549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":187549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 05:59:07] local.INFO: TCP Data received {"connection_id":187549,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:59:07] local.INFO: Processing buffer {"connection_id":187549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:59:07] local.INFO: Packet analysis {"connection_id":187549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 05:59:07] local.INFO: Extracted packet for processing {"connection_id":187549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 05:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 05:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138753280001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789604806000,"timestamp_ms":1789604806000,"timestamp_seconds":1789604806,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc23d70"} 
[2026-09-17 05:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 05:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:59:07] 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-09-17 05:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138753280001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138753280001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138753280001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":187549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:59:07] local.INFO: GPS data processed {"connection_id":187549,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:59:07] local.INFO: Acknowledgment sent {"connection_id":187549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 05:59:41] local.INFO: TCP Data received {"connection_id":187549,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:59:41] local.INFO: Processing buffer {"connection_id":187549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 05:59:41] local.INFO: Packet analysis {"connection_id":187549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 05:59:41] local.INFO: Extracted packet for processing {"connection_id":187549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 05:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 05: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-09-17 05:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138753280001,"note":"Value kept but may cause issues"} 
[2026-09-17 05:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 05:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 05:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 05:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789604806000,"timestamp_ms":1789604806000,"timestamp_seconds":1789604806,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc23d70"} 
[2026-09-17 05:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 05:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 05:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 05:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 05: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-09-17 05:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 05:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 05:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 05:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 05:59: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-09-17 05:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 05:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 05:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138753280001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 05:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 05:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 05:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138753280001,"description":"Unknown IO ID 0"} 
[2026-09-17 05:59:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 05:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 05:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 05:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 05:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138753280001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 05:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":187549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 05:59:41] local.INFO: GPS data processed {"connection_id":187549,"processed":1,"errors":0,"total":1} 
[2026-09-17 05:59:41] local.INFO: Acknowledgment sent {"connection_id":187549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:00:04] local.INFO: TCP Data received {"connection_id":187551,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:00:04] local.INFO: Processing buffer {"connection_id":187551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:00:04] local.INFO: IMEI packet received {"connection_id":187551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":187551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:00:09] local.INFO: TCP Data received {"connection_id":187551,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:00:09] local.INFO: Processing buffer {"connection_id":187551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:00:09] local.INFO: IMEI packet received {"connection_id":187551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":187551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:00:10] local.INFO: TCP Data received {"connection_id":187551,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:00:10] local.INFO: Processing buffer {"connection_id":187551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:00:10] local.INFO: Packet analysis {"connection_id":187551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:00:10] local.INFO: Extracted packet for processing {"connection_id":187551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:00: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-09-17 06:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138753280001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789604806000,"timestamp_ms":1789604806000,"timestamp_seconds":1789604806,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc23d70"} 
[2026-09-17 06:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:00: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-09-17 06:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:00:10] 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-09-17 06:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138753280001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138753280001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138753280001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":187551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:00:10] local.INFO: GPS data processed {"connection_id":187551,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:00:10] local.INFO: Acknowledgment sent {"connection_id":187551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:00:14] local.INFO: TCP Data received {"connection_id":187551,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:00:14] local.INFO: Processing buffer {"connection_id":187551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:00:14] local.INFO: Packet analysis {"connection_id":187551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:00:14] local.INFO: Extracted packet for processing {"connection_id":187551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06: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-09-17 06:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138753280001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789604806000,"timestamp_ms":1789604806000,"timestamp_seconds":1789604806,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc23d70"} 
[2026-09-17 06:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06: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-09-17 06:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:00: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-09-17 06:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138753280001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138753280001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:00:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138753280001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":187551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:00:14] local.INFO: GPS data processed {"connection_id":187551,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:00:14] local.INFO: Acknowledgment sent {"connection_id":187551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:00:58] local.INFO: TCP Data received {"connection_id":184925,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:00:58] local.INFO: Processing buffer {"connection_id":184925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:00:58] local.INFO: IMEI packet received {"connection_id":184925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":184925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:01:04] local.INFO: TCP Data received {"connection_id":184925,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:01:04] local.INFO: Processing buffer {"connection_id":184925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:01:04] local.INFO: IMEI packet received {"connection_id":184925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":184925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:01:05] local.INFO: TCP Data received {"connection_id":184925,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:01:05] local.INFO: Processing buffer {"connection_id":184925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:01:05] local.INFO: Packet analysis {"connection_id":184925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:01:05] local.INFO: Extracted packet for processing {"connection_id":184925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138753280001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789604806000,"timestamp_ms":1789604806000,"timestamp_seconds":1789604806,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc23d70"} 
[2026-09-17 06:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:01:05] 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-09-17 06:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138753280001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138753280001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138753280001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":184925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:01:05] local.INFO: GPS data processed {"connection_id":184925,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:01:05] local.INFO: Acknowledgment sent {"connection_id":184925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:01:39] local.INFO: TCP Data received {"connection_id":184925,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:01:39] local.INFO: Processing buffer {"connection_id":184925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:01:39] local.INFO: Packet analysis {"connection_id":184925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:01:39] local.INFO: Extracted packet for processing {"connection_id":184925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138753280001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789604806000,"timestamp_ms":1789604806000,"timestamp_seconds":1789604806,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc23d70"} 
[2026-09-17 06:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":184925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":184925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":184925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:01: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-09-17 06:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138753280001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138753280001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138753280001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":184925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:01:39] local.INFO: GPS data processed {"connection_id":184925,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:01:39] local.INFO: Acknowledgment sent {"connection_id":184925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:01:59] local.INFO: TCP Data received {"connection_id":184824,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:01:59] local.INFO: Processing buffer {"connection_id":184824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:01:59] local.INFO: IMEI packet received {"connection_id":184824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":184824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:02:04] local.INFO: TCP Data received {"connection_id":184824,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:02:04] local.INFO: Processing buffer {"connection_id":184824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:02:04] local.INFO: IMEI packet received {"connection_id":184824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":184824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:02:07] local.INFO: TCP Data received {"connection_id":184824,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:02:07] local.INFO: Processing buffer {"connection_id":184824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc23d70012d34c3c006aa4458000c011731..."} 
[2026-09-17 06:02:07] local.INFO: Packet analysis {"connection_id":184824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:02:07] local.INFO: Extracted packet for processing {"connection_id":184824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc2"} 
[2026-09-17 06:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138753280001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789604806000,"timestamp_ms":1789604806000,"timestamp_seconds":1789604806,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc23d70"} 
[2026-09-17 06:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:02:07] 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-09-17 06:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138753280001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138753280001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138753280001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":184824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:02:07] local.INFO: GPS data processed {"connection_id":184824,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:02:07] local.INFO: Acknowledgment sent {"connection_id":184824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:02:42] local.INFO: TCP Data received {"connection_id":184824,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acc6d538012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acc6d538012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:02:42] local.INFO: Processing buffer {"connection_id":184824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acc6d538012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:02:42] local.INFO: Packet analysis {"connection_id":184824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acc6"} 
[2026-09-17 06:02:42] local.INFO: Extracted packet for processing {"connection_id":184824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acc6"} 
[2026-09-17 06:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138830336001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789605107000,"timestamp_ms":1789605107000,"timestamp_seconds":1789605107,"priority":1,"record_length":96,"hex_timestamp":"000001a0acc6d538"} 
[2026-09-17 06:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":184824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":184824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":184824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:02:42] 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-09-17 06:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138830336001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138830336001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:02:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138830336001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":184824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:02:42] local.INFO: GPS data processed {"connection_id":184824,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:02:42] local.INFO: Acknowledgment sent {"connection_id":184824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:02:59] local.INFO: TCP Data received {"connection_id":187553,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:02:59] local.INFO: Processing buffer {"connection_id":187553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:02:59] local.INFO: IMEI packet received {"connection_id":187553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":187553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:03:10] local.INFO: TCP Data received {"connection_id":187553,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:03:10] local.INFO: Processing buffer {"connection_id":187553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:03:10] local.INFO: IMEI packet received {"connection_id":187553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":187553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:03:21] local.INFO: TCP Data received {"connection_id":187552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:03:21] local.INFO: Processing buffer {"connection_id":187552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:03:21] local.INFO: IMEI packet received {"connection_id":187552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":187552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:03:36] local.INFO: TCP Data received {"connection_id":187553,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:03:36] local.INFO: Processing buffer {"connection_id":187553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:03:36] local.INFO: IMEI packet received {"connection_id":187553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":187553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:03:51] local.INFO: TCP Data received {"connection_id":184825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:03:51] local.INFO: Processing buffer {"connection_id":184825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:03:51] local.INFO: IMEI packet received {"connection_id":184825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":184825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:04:15] local.INFO: TCP Data received {"connection_id":184926,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:04:15] local.INFO: Processing buffer {"connection_id":184926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:04:15] local.INFO: IMEI packet received {"connection_id":184926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":184926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:09:16] local.INFO: TCP Data received {"connection_id":184828,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:09:16] local.INFO: Processing buffer {"connection_id":184828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:09:16] local.INFO: IMEI packet received {"connection_id":184828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":184828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:09:18] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:09:18] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:09:18] local.INFO: IMEI packet received {"connection_id":186231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":186231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:09:29] local.INFO: TCP Data received {"connection_id":186231,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0accb6d00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0accb6d00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:09:30] local.INFO: Processing buffer {"connection_id":186231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0accb6d00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:09:30] local.INFO: Packet analysis {"connection_id":186231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0accb"} 
[2026-09-17 06:09:30] local.INFO: Extracted packet for processing {"connection_id":186231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0accb"} 
[2026-09-17 06:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138907392001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789605408000,"timestamp_ms":1789605408000,"timestamp_seconds":1789605408,"priority":1,"record_length":96,"hex_timestamp":"000001a0accb6d00"} 
[2026-09-17 06:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:09:30] 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-09-17 06:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138907392001,"66":25375,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138907392001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:09:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:09:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138907392001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":186231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:09:30] local.INFO: GPS data processed {"connection_id":186231,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:09:30] local.INFO: Acknowledgment sent {"connection_id":186231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:09:51] local.INFO: TCP Data received {"connection_id":184829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:09:51] local.INFO: Processing buffer {"connection_id":184829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:09:51] local.INFO: IMEI packet received {"connection_id":184829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":184829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:12:13] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:12:13] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:12:13] local.INFO: IMEI packet received {"connection_id":186232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":186232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:12:19] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:12:19] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:12:19] local.INFO: IMEI packet received {"connection_id":186232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":186232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:12:20] local.INFO: TCP Data received {"connection_id":186232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0accb6d00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0accb6d00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:12:20] local.INFO: Processing buffer {"connection_id":186232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0accb6d00012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:12:20] local.INFO: Packet analysis {"connection_id":186232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0accb"} 
[2026-09-17 06:12:20] local.INFO: Extracted packet for processing {"connection_id":186232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0accb"} 
[2026-09-17 06:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138907392001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789605408000,"timestamp_ms":1789605408000,"timestamp_seconds":1789605408,"priority":1,"record_length":96,"hex_timestamp":"000001a0accb6d00"} 
[2026-09-17 06:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:12:20] 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-09-17 06:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138907392001,"66":25375,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138907392001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:12:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138907392001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":186232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:12:20] local.INFO: GPS data processed {"connection_id":186232,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:12:20] local.INFO: Acknowledgment sent {"connection_id":186232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:13:04] local.INFO: TCP Data received {"connection_id":187559,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:13:04] local.INFO: Processing buffer {"connection_id":187559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:13:04] local.INFO: IMEI packet received {"connection_id":187559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":187559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:13:09] local.INFO: TCP Data received {"connection_id":187559,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:13:09] local.INFO: Processing buffer {"connection_id":187559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:13:09] local.INFO: IMEI packet received {"connection_id":187559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":187559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:13:09] local.INFO: TCP Data received {"connection_id":187559,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:13:09] local.INFO: Processing buffer {"connection_id":187559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:13:09] local.INFO: Packet analysis {"connection_id":187559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:13:09] local.INFO: Extracted packet for processing {"connection_id":187559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06: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-09-17 06:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06: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-09-17 06:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06: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-09-17 06:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":187559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:13:10] local.INFO: GPS data processed {"connection_id":187559,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:13:10] local.INFO: Acknowledgment sent {"connection_id":187559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:13:14] local.INFO: TCP Data received {"connection_id":187559,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:13:14] local.INFO: Processing buffer {"connection_id":187559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:13:14] local.INFO: Packet analysis {"connection_id":187559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:13:14] local.INFO: Extracted packet for processing {"connection_id":187559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:13: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-09-17 06:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:13: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-09-17 06:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:13: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-09-17 06:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":187559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:13:14] local.INFO: GPS data processed {"connection_id":187559,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:13:14] local.INFO: Acknowledgment sent {"connection_id":187559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:13:59] local.INFO: TCP Data received {"connection_id":184931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:13:59] local.INFO: Processing buffer {"connection_id":184931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:13:59] local.INFO: IMEI packet received {"connection_id":184931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":184931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:14:04] local.INFO: TCP Data received {"connection_id":184931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:14:04] local.INFO: Processing buffer {"connection_id":184931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:14:04] local.INFO: IMEI packet received {"connection_id":184931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":184931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:14:05] local.INFO: TCP Data received {"connection_id":184931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:14:05] local.INFO: Processing buffer {"connection_id":184931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:14:05] local.INFO: Packet analysis {"connection_id":184931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:14:05] local.INFO: Extracted packet for processing {"connection_id":184931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:14:05] 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-09-17 06:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":184931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:14:05] local.INFO: GPS data processed {"connection_id":184931,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:14:05] local.INFO: Acknowledgment sent {"connection_id":184931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:14:37] local.INFO: TCP Data received {"connection_id":184931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:14:37] local.INFO: Processing buffer {"connection_id":184931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:14:37] local.INFO: Packet analysis {"connection_id":184931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:14:37] local.INFO: Extracted packet for processing {"connection_id":184931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:14:37] 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-09-17 06:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":184931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:14:37] local.INFO: GPS data processed {"connection_id":184931,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:14:37] local.INFO: Acknowledgment sent {"connection_id":184931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:14:59] local.INFO: TCP Data received {"connection_id":184830,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:14:59] local.INFO: Processing buffer {"connection_id":184830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:14:59] local.INFO: IMEI packet received {"connection_id":184830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":184830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:15:04] local.INFO: TCP Data received {"connection_id":184830,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:15:04] local.INFO: Processing buffer {"connection_id":184830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:15:04] local.INFO: IMEI packet received {"connection_id":184830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":184830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:15:05] local.INFO: TCP Data received {"connection_id":184830,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:15:05] local.INFO: Processing buffer {"connection_id":184830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:15:05] local.INFO: Packet analysis {"connection_id":184830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:15:05] local.INFO: Extracted packet for processing {"connection_id":184830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":184830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:15:05] local.INFO: GPS data processed {"connection_id":184830,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:15:05] local.INFO: Acknowledgment sent {"connection_id":184830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:15:06] local.INFO: TCP Data received {"connection_id":184932,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:15:06] local.INFO: Processing buffer {"connection_id":184932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:15:06] local.INFO: IMEI packet received {"connection_id":184932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":184932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:15:36] local.INFO: TCP Data received {"connection_id":184830,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:15:36] local.INFO: Processing buffer {"connection_id":184830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:15:36] local.INFO: Packet analysis {"connection_id":184830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:15:36] local.INFO: Extracted packet for processing {"connection_id":184830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":184830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:15:36] local.INFO: GPS data processed {"connection_id":184830,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:15:36] local.INFO: Acknowledgment sent {"connection_id":184830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:15:56] local.INFO: TCP Data received {"connection_id":186233,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:15:56] local.INFO: Processing buffer {"connection_id":186233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:15:56] local.INFO: IMEI packet received {"connection_id":186233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":186233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:15:58] local.INFO: TCP Data received {"connection_id":187560,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:15:58] local.INFO: Processing buffer {"connection_id":187560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:15:58] local.INFO: IMEI packet received {"connection_id":187560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":187560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:16:04] local.INFO: TCP Data received {"connection_id":187560,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:16:04] local.INFO: Processing buffer {"connection_id":187560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:16:04] local.INFO: IMEI packet received {"connection_id":187560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":187560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:16:05] local.INFO: TCP Data received {"connection_id":187560,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:16:05] local.INFO: Processing buffer {"connection_id":187560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:16:05] local.INFO: Packet analysis {"connection_id":187560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:16:05] local.INFO: Extracted packet for processing {"connection_id":187560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:16:05] 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-09-17 06:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:16:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":187560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:16:05] local.INFO: GPS data processed {"connection_id":187560,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:16:05] local.INFO: Acknowledgment sent {"connection_id":187560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:16:36] local.INFO: TCP Data received {"connection_id":187560,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:16:36] local.INFO: Processing buffer {"connection_id":187560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:16:36] local.INFO: Packet analysis {"connection_id":187560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:16:36] local.INFO: Extracted packet for processing {"connection_id":187560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:16:36] 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-09-17 06:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":187560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:16:36] local.INFO: GPS data processed {"connection_id":187560,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:16:36] local.INFO: Acknowledgment sent {"connection_id":187560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:17:04] local.INFO: TCP Data received {"connection_id":184933,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:17:04] local.INFO: Processing buffer {"connection_id":184933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:17:04] local.INFO: IMEI packet received {"connection_id":184933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":184933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:17:09] local.INFO: TCP Data received {"connection_id":184933,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:17:09] local.INFO: Processing buffer {"connection_id":184933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:17:09] local.INFO: IMEI packet received {"connection_id":184933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":184933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:17:20] local.INFO: TCP Data received {"connection_id":184933,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:17:20] local.INFO: Processing buffer {"connection_id":184933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:17:20] local.INFO: Packet analysis {"connection_id":184933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:17:20] local.INFO: Extracted packet for processing {"connection_id":184933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":184933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":184933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":184933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:17:20] 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-09-17 06:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":184933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:17:20] local.INFO: GPS data processed {"connection_id":184933,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:17:20] local.INFO: Acknowledgment sent {"connection_id":184933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:17:21] local.INFO: TCP Data received {"connection_id":184933,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:17:21] local.INFO: Processing buffer {"connection_id":184933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd004c8012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:17:21] local.INFO: Packet analysis {"connection_id":184933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:17:21] local.INFO: Extracted packet for processing {"connection_id":184933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd0"} 
[2026-09-17 06:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458138984448001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789605709000,"timestamp_ms":1789605709000,"timestamp_seconds":1789605709,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd004c8"} 
[2026-09-17 06:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 06:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":184933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":184933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":184933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:17:21] 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-09-17 06:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458138984448001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 06:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458138984448001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 06:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458138984448001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":184933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:17:21] local.INFO: GPS data processed {"connection_id":184933,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:17:21] local.INFO: Acknowledgment sent {"connection_id":184933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:18:19] local.INFO: TCP Data received {"connection_id":184832,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:18:19] local.INFO: Processing buffer {"connection_id":184832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:18:19] local.INFO: IMEI packet received {"connection_id":184832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":184832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:18:24] local.INFO: TCP Data received {"connection_id":184832,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:18:24] local.INFO: Processing buffer {"connection_id":184832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:18:24] local.INFO: IMEI packet received {"connection_id":184832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":184832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:18:34] local.INFO: TCP Data received {"connection_id":184832,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:18:34] local.INFO: Processing buffer {"connection_id":184832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:18:34] local.INFO: Packet analysis {"connection_id":184832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd4"} 
[2026-09-17 06:18:34] local.INFO: Extracted packet for processing {"connection_id":184832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd4"} 
[2026-09-17 06:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139061504001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789606010000,"timestamp_ms":1789606010000,"timestamp_seconds":1789606010,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd49c90"} 
[2026-09-17 06:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":184832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":184832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":184832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:18:34] 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-09-17 06:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139061504001,"66":25397,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139061504001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:18:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139061504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":184832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:18:34] local.INFO: GPS data processed {"connection_id":184832,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:18:34] local.INFO: Acknowledgment sent {"connection_id":184832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:18:37] local.INFO: TCP Data received {"connection_id":184832,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:18:37] local.INFO: Processing buffer {"connection_id":184832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:18:37] local.INFO: Packet analysis {"connection_id":184832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd4"} 
[2026-09-17 06:18:37] local.INFO: Extracted packet for processing {"connection_id":184832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd4"} 
[2026-09-17 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139061504001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789606010000,"timestamp_ms":1789606010000,"timestamp_seconds":1789606010,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd49c90"} 
[2026-09-17 06:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:18:37] 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-09-17 06:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139061504001,"66":25397,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139061504001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:18:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139061504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":184832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:18:37] local.INFO: GPS data processed {"connection_id":184832,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:18:37] local.INFO: Acknowledgment sent {"connection_id":184832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:19:10] local.INFO: TCP Data received {"connection_id":187561,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:19:10] local.INFO: Processing buffer {"connection_id":187561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:19:10] local.INFO: IMEI packet received {"connection_id":187561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":187561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:19:15] local.INFO: TCP Data received {"connection_id":187561,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:19:15] local.INFO: Processing buffer {"connection_id":187561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:19:15] local.INFO: IMEI packet received {"connection_id":187561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":187561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:19:30] local.INFO: TCP Data received {"connection_id":187561,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:19:30] local.INFO: Processing buffer {"connection_id":187561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:19:30] local.INFO: Packet analysis {"connection_id":187561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd4"} 
[2026-09-17 06:19:30] local.INFO: Extracted packet for processing {"connection_id":187561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd4"} 
[2026-09-17 06:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139061504001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789606010000,"timestamp_ms":1789606010000,"timestamp_seconds":1789606010,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd49c90"} 
[2026-09-17 06:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:19:30] 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-09-17 06:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139061504001,"66":25397,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139061504001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:19:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:19:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139061504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":187561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:19:30] local.INFO: GPS data processed {"connection_id":187561,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:19:30] local.INFO: Acknowledgment sent {"connection_id":187561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:19:59] local.INFO: TCP Data received {"connection_id":184833,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:19:59] local.INFO: Processing buffer {"connection_id":184833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:19:59] local.INFO: IMEI packet received {"connection_id":184833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":184833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:20:13] local.INFO: TCP Data received {"connection_id":184833,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:20:13] local.INFO: Processing buffer {"connection_id":184833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:20:13] local.INFO: IMEI packet received {"connection_id":184833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":184833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:20:16] local.INFO: TCP Data received {"connection_id":184833,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:20:16] local.INFO: Processing buffer {"connection_id":184833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd49c90012d34c3c006aa4458000c01172e..."} 
[2026-09-17 06:20:16] local.INFO: Packet analysis {"connection_id":184833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd4"} 
[2026-09-17 06:20:16] local.INFO: Extracted packet for processing {"connection_id":184833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd4"} 
[2026-09-17 06:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139061504001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789606010000,"timestamp_ms":1789606010000,"timestamp_seconds":1789606010,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd49c90"} 
[2026-09-17 06:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:20:16] 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-09-17 06:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139061504001,"66":25397,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139061504001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:20:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139061504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":184833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:20:16] local.INFO: GPS data processed {"connection_id":184833,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:20:16] local.INFO: Acknowledgment sent {"connection_id":184833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:21:16] local.INFO: TCP Data received {"connection_id":187562,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:21:16] local.INFO: Processing buffer {"connection_id":187562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:21:16] local.INFO: IMEI packet received {"connection_id":187562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":187562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:21:17] local.INFO: TCP Data received {"connection_id":187562,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 06:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187562,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 06:21:17] local.INFO: Processing buffer {"connection_id":187562,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 06:21:17] local.INFO: IMEI packet received {"connection_id":187562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":187562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:21:19] local.INFO: TCP Data received {"connection_id":187562,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:21:19] local.INFO: Processing buffer {"connection_id":187562,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 06:21:19] local.INFO: IMEI packet received {"connection_id":187562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":187562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:21:21] local.INFO: TCP Data received {"connection_id":186236,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:21:21] local.INFO: Processing buffer {"connection_id":186236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:21:21] local.INFO: IMEI packet received {"connection_id":186236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":186236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:21:51] local.INFO: TCP Data received {"connection_id":184834,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:21:51] local.INFO: Processing buffer {"connection_id":184834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:21:51] local.INFO: IMEI packet received {"connection_id":184834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":184834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:26:24] local.INFO: TCP Data received {"connection_id":184940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:26:24] local.INFO: Processing buffer {"connection_id":184940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:26:24] local.INFO: IMEI packet received {"connection_id":184940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":184940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:26:26] local.INFO: TCP Data received {"connection_id":184940,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd93458012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd93458012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:26:26] local.INFO: Processing buffer {"connection_id":184940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd93458012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:26:26] local.INFO: Packet analysis {"connection_id":184940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd9"} 
[2026-09-17 06:26:26] local.INFO: Extracted packet for processing {"connection_id":184940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd9"} 
[2026-09-17 06:26:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139138560001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789606311000,"timestamp_ms":1789606311000,"timestamp_seconds":1789606311,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd93458"} 
[2026-09-17 06:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 06:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":184940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":184940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":184940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:26:26] 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-09-17 06:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139138560001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139138560001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:26:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:26:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139138560001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":184940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:26:26] local.INFO: GPS data processed {"connection_id":184940,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:26:26] local.INFO: Acknowledgment sent {"connection_id":184940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:27:08] local.INFO: TCP Data received {"connection_id":186241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:27:08] local.INFO: Processing buffer {"connection_id":186241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:27:08] local.INFO: IMEI packet received {"connection_id":186241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":186241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:27:16] local.INFO: TCP Data received {"connection_id":187564,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:27:16] local.INFO: Processing buffer {"connection_id":187564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:27:16] local.INFO: IMEI packet received {"connection_id":187564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":187564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:27:19] local.INFO: TCP Data received {"connection_id":186241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:27:19] local.INFO: Processing buffer {"connection_id":186241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:27:19] local.INFO: IMEI packet received {"connection_id":186241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":186241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:27:21] local.INFO: TCP Data received {"connection_id":186241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acd93458012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acd93458012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:27:21] local.INFO: Processing buffer {"connection_id":186241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acd93458012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:27:21] local.INFO: Packet analysis {"connection_id":186241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acd9"} 
[2026-09-17 06:27:21] local.INFO: Extracted packet for processing {"connection_id":186241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acd9"} 
[2026-09-17 06:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139138560001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789606311000,"timestamp_ms":1789606311000,"timestamp_seconds":1789606311,"priority":1,"record_length":96,"hex_timestamp":"000001a0acd93458"} 
[2026-09-17 06:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 06:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:27:21] 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-09-17 06:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139138560001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139138560001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:27:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139138560001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":186241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:27:21] local.INFO: GPS data processed {"connection_id":186241,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:27:21] local.INFO: Acknowledgment sent {"connection_id":186241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:27:51] local.INFO: TCP Data received {"connection_id":187565,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:27:51] local.INFO: Processing buffer {"connection_id":187565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:27:51] local.INFO: IMEI packet received {"connection_id":187565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":187565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:28:15] local.INFO: TCP Data received {"connection_id":184835,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:28:15] local.INFO: Processing buffer {"connection_id":184835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:28:15] local.INFO: IMEI packet received {"connection_id":184835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":184835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:28:19] local.INFO: TCP Data received {"connection_id":184835,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:28:19] local.INFO: Processing buffer {"connection_id":184835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:28:19] local.INFO: IMEI packet received {"connection_id":184835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":184835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:28:20] local.INFO: TCP Data received {"connection_id":184835,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:28:20] local.INFO: Processing buffer {"connection_id":184835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:28:20] local.INFO: Packet analysis {"connection_id":184835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:28:20] local.INFO: Extracted packet for processing {"connection_id":184835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":184835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":184835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":184835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:28:20] 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-09-17 06:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:28:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":184835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:28:20] local.INFO: GPS data processed {"connection_id":184835,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:28:20] local.INFO: Acknowledgment sent {"connection_id":184835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:28:27] local.INFO: TCP Data received {"connection_id":184835,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:28:27] local.INFO: Processing buffer {"connection_id":184835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:28:27] local.INFO: Packet analysis {"connection_id":184835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:28:27] local.INFO: Extracted packet for processing {"connection_id":184835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:28:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":184835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":184835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":184835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:28:27] 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-09-17 06:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:28:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:28:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":184835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:28:27] local.INFO: GPS data processed {"connection_id":184835,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:28:27] local.INFO: Acknowledgment sent {"connection_id":184835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:28:51] local.INFO: TCP Data received {"connection_id":186242,"ip":"85.217.149.30","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-17 06:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186242,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-17 06:28:51] local.INFO: Processing buffer {"connection_id":186242,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-17 06:28:59] local.INFO: TCP Data received {"connection_id":187566,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:28:59] local.INFO: Processing buffer {"connection_id":187566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:28:59] local.INFO: IMEI packet received {"connection_id":187566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":187566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:29:04] local.INFO: TCP Data received {"connection_id":187566,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:29:04] local.INFO: Processing buffer {"connection_id":187566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:29:04] local.INFO: IMEI packet received {"connection_id":187566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":187566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:29:06] local.INFO: TCP Data received {"connection_id":187566,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:29:06] local.INFO: Processing buffer {"connection_id":187566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:29:06] local.INFO: Packet analysis {"connection_id":187566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:29:06] local.INFO: Extracted packet for processing {"connection_id":187566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:29:06] 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-09-17 06:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:29:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":187566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:29:06] local.INFO: GPS data processed {"connection_id":187566,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:29:06] local.INFO: Acknowledgment sent {"connection_id":187566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:29:10] local.INFO: TCP Data received {"connection_id":187566,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:29:10] local.INFO: Processing buffer {"connection_id":187566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:29:10] local.INFO: Packet analysis {"connection_id":187566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:29:10] local.INFO: Extracted packet for processing {"connection_id":187566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:29: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-09-17 06:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:29:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":187566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:29:10] local.INFO: GPS data processed {"connection_id":187566,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:29:10] local.INFO: Acknowledgment sent {"connection_id":187566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:29:43] local.INFO: TCP Data received {"connection_id":187566,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:29:43] local.INFO: Processing buffer {"connection_id":187566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:29:43] local.INFO: Packet analysis {"connection_id":187566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:29:43] local.INFO: Extracted packet for processing {"connection_id":187566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:29: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-09-17 06:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:29:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":187566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:29:43] local.INFO: GPS data processed {"connection_id":187566,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:29:43] local.INFO: Acknowledgment sent {"connection_id":187566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:30:07] local.INFO: TCP Data received {"connection_id":184837,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:30:07] local.INFO: Processing buffer {"connection_id":184837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:30:07] local.INFO: IMEI packet received {"connection_id":184837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":184837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:30:09] local.INFO: TCP Data received {"connection_id":184837,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:30:09] local.INFO: Processing buffer {"connection_id":184837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:30:09] local.INFO: IMEI packet received {"connection_id":184837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":184837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:30:13] local.INFO: TCP Data received {"connection_id":184837,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:30:13] local.INFO: Processing buffer {"connection_id":184837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:30:13] local.INFO: Packet analysis {"connection_id":184837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:30:13] local.INFO: Extracted packet for processing {"connection_id":184837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:30: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-09-17 06:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:30:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:30:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":184837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:30:13] local.INFO: GPS data processed {"connection_id":184837,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:30:13] local.INFO: Acknowledgment sent {"connection_id":184837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:30:18] local.INFO: TCP Data received {"connection_id":184837,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:30:18] local.INFO: Processing buffer {"connection_id":184837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:30:18] local.INFO: Packet analysis {"connection_id":184837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:30:18] local.INFO: Extracted packet for processing {"connection_id":184837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":184837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":184837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":184837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:30: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-09-17 06:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:30:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":184837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:30:18] local.INFO: GPS data processed {"connection_id":184837,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:30:18] local.INFO: Acknowledgment sent {"connection_id":184837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:30:59] local.INFO: TCP Data received {"connection_id":187568,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:30:59] local.INFO: Processing buffer {"connection_id":187568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:30:59] local.INFO: IMEI packet received {"connection_id":187568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":187568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:31:04] local.INFO: TCP Data received {"connection_id":187568,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:31:04] local.INFO: Processing buffer {"connection_id":187568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:31:04] local.INFO: IMEI packet received {"connection_id":187568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":187568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:31:06] local.INFO: TCP Data received {"connection_id":187568,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:31:06] local.INFO: Processing buffer {"connection_id":187568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:31:06] local.INFO: Packet analysis {"connection_id":187568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:31:06] local.INFO: Extracted packet for processing {"connection_id":187568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:31:06] 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-09-17 06:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:31:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":187568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:31:06] local.INFO: GPS data processed {"connection_id":187568,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:31:06] local.INFO: Acknowledgment sent {"connection_id":187568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:31:38] local.INFO: TCP Data received {"connection_id":187568,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:31:38] local.INFO: Processing buffer {"connection_id":187568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:31:38] local.INFO: Packet analysis {"connection_id":187568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:31:38] local.INFO: Extracted packet for processing {"connection_id":187568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:31:38] 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-09-17 06:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:31:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":187568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:31:38] local.INFO: GPS data processed {"connection_id":187568,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:31:38] local.INFO: Acknowledgment sent {"connection_id":187568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:31:58] local.INFO: TCP Data received {"connection_id":184941,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:31:58] local.INFO: Processing buffer {"connection_id":184941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:31:58] local.INFO: IMEI packet received {"connection_id":184941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":184941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:32:06] local.INFO: TCP Data received {"connection_id":184941,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:32:06] local.INFO: Processing buffer {"connection_id":184941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:32:06] local.INFO: IMEI packet received {"connection_id":184941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":184941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:32:07] local.INFO: TCP Data received {"connection_id":184941,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:32:07] local.INFO: Processing buffer {"connection_id":184941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acddcc20012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:32:07] local.INFO: Packet analysis {"connection_id":184941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:32:07] local.INFO: Extracted packet for processing {"connection_id":184941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acdd"} 
[2026-09-17 06:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139215616001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789606612000,"timestamp_ms":1789606612000,"timestamp_seconds":1789606612,"priority":1,"record_length":96,"hex_timestamp":"000001a0acddcc20"} 
[2026-09-17 06:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139215616001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139215616001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:32:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139215616001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":184941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:32:07] local.INFO: GPS data processed {"connection_id":184941,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:32:07] local.INFO: Acknowledgment sent {"connection_id":184941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:32:51] local.INFO: TCP Data received {"connection_id":184941,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:32:51] local.INFO: Processing buffer {"connection_id":184941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:32:51] local.INFO: Packet analysis {"connection_id":184941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ace2"} 
[2026-09-17 06:32:51] local.INFO: Extracted packet for processing {"connection_id":184941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ace2"} 
[2026-09-17 06:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139292672001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789606912000,"timestamp_ms":1789606912000,"timestamp_seconds":1789606912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ace26000"} 
[2026-09-17 06:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":184941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":184941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":184941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139292672001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139292672001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:32:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139292672001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":184941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:32:51] local.INFO: GPS data processed {"connection_id":184941,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:32:51] local.INFO: Acknowledgment sent {"connection_id":184941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:33:16] local.INFO: TCP Data received {"connection_id":186244,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:33:16] local.INFO: Processing buffer {"connection_id":186244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:33:16] local.INFO: IMEI packet received {"connection_id":186244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":186244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:33:32] local.INFO: TCP Data received {"connection_id":187570,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:33:32] local.INFO: Processing buffer {"connection_id":187570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:33:32] local.INFO: IMEI packet received {"connection_id":187570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":187570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:33:44] local.INFO: TCP Data received {"connection_id":187570,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:33:44] local.INFO: Processing buffer {"connection_id":187570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:33:44] local.INFO: IMEI packet received {"connection_id":187570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":187570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:33:56] local.INFO: TCP Data received {"connection_id":184942,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:33:56] local.INFO: Processing buffer {"connection_id":184942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:33:56] local.INFO: IMEI packet received {"connection_id":184942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":184942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:34:08] local.INFO: TCP Data received {"connection_id":187571,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:34:08] local.INFO: Processing buffer {"connection_id":187571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:34:08] local.INFO: IMEI packet received {"connection_id":187571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":187571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:34:16] local.INFO: TCP Data received {"connection_id":187571,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:34:16] local.INFO: Processing buffer {"connection_id":187571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:34:16] local.INFO: IMEI packet received {"connection_id":187571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":187571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:34:17] local.INFO: TCP Data received {"connection_id":187571,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:34:17] local.INFO: Processing buffer {"connection_id":187571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:34:17] local.INFO: Packet analysis {"connection_id":187571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ace2"} 
[2026-09-17 06:34:17] local.INFO: Extracted packet for processing {"connection_id":187571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ace2"} 
[2026-09-17 06:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139292672001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789606912000,"timestamp_ms":1789606912000,"timestamp_seconds":1789606912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ace26000"} 
[2026-09-17 06:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139292672001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139292672001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:34:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139292672001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":187571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:34:17] local.INFO: GPS data processed {"connection_id":187571,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:34:17] local.INFO: Acknowledgment sent {"connection_id":187571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:35:07] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:35:07] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:35:07] local.INFO: IMEI packet received {"connection_id":187572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":187572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:35:10] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:35:10] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:35:10] local.INFO: IMEI packet received {"connection_id":187572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":187572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:35:11] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:35:11] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:35:11] local.INFO: Packet analysis {"connection_id":187572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ace2"} 
[2026-09-17 06:35:11] local.INFO: Extracted packet for processing {"connection_id":187572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ace2"} 
[2026-09-17 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139292672001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789606912000,"timestamp_ms":1789606912000,"timestamp_seconds":1789606912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ace26000"} 
[2026-09-17 06:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139292672001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139292672001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:35:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:35:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139292672001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":187572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:35:11] local.INFO: GPS data processed {"connection_id":187572,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:35:11] local.INFO: Acknowledgment sent {"connection_id":187572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:35:14] local.INFO: TCP Data received {"connection_id":187572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:35:14] local.INFO: Processing buffer {"connection_id":187572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ace26000012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:35:14] local.INFO: Packet analysis {"connection_id":187572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ace2"} 
[2026-09-17 06:35:14] local.INFO: Extracted packet for processing {"connection_id":187572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ace2"} 
[2026-09-17 06:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139292672001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789606912000,"timestamp_ms":1789606912000,"timestamp_seconds":1789606912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ace26000"} 
[2026-09-17 06:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139292672001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139292672001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:35:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139292672001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":187572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:35:14] local.INFO: GPS data processed {"connection_id":187572,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:35:14] local.INFO: Acknowledgment sent {"connection_id":187572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:36:13] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:36:13] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:36:13] local.INFO: IMEI packet received {"connection_id":186245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":186245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:36:19] local.INFO: TCP Data received {"connection_id":186245,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:36:19] local.INFO: Processing buffer {"connection_id":186245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:36:19] local.INFO: IMEI packet received {"connection_id":186245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":186245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:37:09] local.INFO: TCP Data received {"connection_id":187573,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:37:09] local.INFO: Processing buffer {"connection_id":187573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:37:09] local.INFO: IMEI packet received {"connection_id":187573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":187573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:37:21] local.INFO: TCP Data received {"connection_id":187573,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:37:21] local.INFO: Processing buffer {"connection_id":187573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:37:21] local.INFO: IMEI packet received {"connection_id":187573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":187573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:39:11] local.INFO: TCP Data received {"connection_id":187574,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:39:11] local.INFO: Processing buffer {"connection_id":187574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:39:11] local.INFO: IMEI packet received {"connection_id":187574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":187574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:39:51] local.INFO: TCP Data received {"connection_id":186247,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:39:51] local.INFO: Processing buffer {"connection_id":186247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:39:51] local.INFO: IMEI packet received {"connection_id":186247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":186247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:42:45] local.INFO: TCP Data received {"connection_id":184844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:42:45] local.INFO: Processing buffer {"connection_id":184844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:42:45] local.INFO: IMEI packet received {"connection_id":184844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":184844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:43:06] local.INFO: TCP Data received {"connection_id":187576,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:43:06] local.INFO: Processing buffer {"connection_id":187576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:43:06] local.INFO: IMEI packet received {"connection_id":187576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":187576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:43:08] local.INFO: TCP Data received {"connection_id":187576,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:43:08] local.INFO: Processing buffer {"connection_id":187576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:43:08] local.INFO: IMEI packet received {"connection_id":187576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":187576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:43:09] local.INFO: TCP Data received {"connection_id":187576,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ace6f7c8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ace6f7c8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:43:09] local.INFO: Processing buffer {"connection_id":187576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ace6f7c8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:43:09] local.INFO: Packet analysis {"connection_id":187576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ace6"} 
[2026-09-17 06:43:09] local.INFO: Extracted packet for processing {"connection_id":187576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ace6"} 
[2026-09-17 06:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06: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-09-17 06:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139369472001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789607213000,"timestamp_ms":1789607213000,"timestamp_seconds":1789607213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ace6f7c8"} 
[2026-09-17 06:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 06:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06: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-09-17 06:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:43: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-09-17 06:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139369472001,"66":25451,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139369472001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:43:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139369472001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":187576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:43:09] local.INFO: GPS data processed {"connection_id":187576,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:43:09] local.INFO: Acknowledgment sent {"connection_id":187576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:43:17] local.INFO: TCP Data received {"connection_id":187576,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:43:17] local.INFO: Processing buffer {"connection_id":187576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:43:17] local.INFO: Packet analysis {"connection_id":187576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:43:17] local.INFO: Extracted packet for processing {"connection_id":187576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139446528001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789607514000,"timestamp_ms":1789607514000,"timestamp_seconds":1789607514,"priority":1,"record_length":96,"hex_timestamp":"000001a0aceb8f90"} 
[2026-09-17 06:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:43:17] 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-09-17 06:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139446528001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139446528001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:43:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139446528001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":187576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:43:17] local.INFO: GPS data processed {"connection_id":187576,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:43:17] local.INFO: Acknowledgment sent {"connection_id":187576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:44:07] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:44:07] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:44:07] local.INFO: IMEI packet received {"connection_id":186248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":186248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:44:09] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:44:09] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:44:09] local.INFO: IMEI packet received {"connection_id":186248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":186248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:44:14] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:44:14] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:44:14] local.INFO: IMEI packet received {"connection_id":186248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":186248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:44:15] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:44:15] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:44:15] local.INFO: Packet analysis {"connection_id":186248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:44:15] local.INFO: Extracted packet for processing {"connection_id":186248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139446528001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789607514000,"timestamp_ms":1789607514000,"timestamp_seconds":1789607514,"priority":1,"record_length":96,"hex_timestamp":"000001a0aceb8f90"} 
[2026-09-17 06:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:44:15] 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-09-17 06:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139446528001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139446528001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:44:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139446528001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":186248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:44:15] local.INFO: GPS data processed {"connection_id":186248,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:44:15] local.INFO: Acknowledgment sent {"connection_id":186248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:44:22] local.INFO: TCP Data received {"connection_id":186248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:44:22] local.INFO: Processing buffer {"connection_id":186248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:44:22] local.INFO: Packet analysis {"connection_id":186248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:44:22] local.INFO: Extracted packet for processing {"connection_id":186248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139446528001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789607514000,"timestamp_ms":1789607514000,"timestamp_seconds":1789607514,"priority":1,"record_length":96,"hex_timestamp":"000001a0aceb8f90"} 
[2026-09-17 06:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:44:22] 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-09-17 06:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139446528001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139446528001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:44:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:44:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139446528001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":186248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:44:22] local.INFO: GPS data processed {"connection_id":186248,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:44:22] local.INFO: Acknowledgment sent {"connection_id":186248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:44:32] local.INFO: TCP Data received {"connection_id":184946,"ip":"85.217.149.36","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-17 06:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184946,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-17 06:44:32] local.INFO: Processing buffer {"connection_id":184946,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-17 06:45:21] local.INFO: TCP Data received {"connection_id":184845,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:45:21] local.INFO: Processing buffer {"connection_id":184845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:45:21] local.INFO: IMEI packet received {"connection_id":184845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":184845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:45:51] local.INFO: TCP Data received {"connection_id":184947,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:45:51] local.INFO: Processing buffer {"connection_id":184947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:45:51] local.INFO: IMEI packet received {"connection_id":184947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":184947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:46:10] local.INFO: TCP Data received {"connection_id":184846,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:46:10] local.INFO: Processing buffer {"connection_id":184846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:46:10] local.INFO: IMEI packet received {"connection_id":184846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":184846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:46:24] local.INFO: TCP Data received {"connection_id":184846,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:46:24] local.INFO: Processing buffer {"connection_id":184846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:46:24] local.INFO: IMEI packet received {"connection_id":184846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":184846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:46:34] local.INFO: TCP Data received {"connection_id":184846,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:46:34] local.INFO: Processing buffer {"connection_id":184846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:46:34] local.INFO: Packet analysis {"connection_id":184846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:46:34] local.INFO: Extracted packet for processing {"connection_id":184846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139446528001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789607514000,"timestamp_ms":1789607514000,"timestamp_seconds":1789607514,"priority":1,"record_length":96,"hex_timestamp":"000001a0aceb8f90"} 
[2026-09-17 06:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":184846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":184846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":184846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:46:34] 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-09-17 06:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139446528001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139446528001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:46:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139446528001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":184846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:46:34] local.INFO: GPS data processed {"connection_id":184846,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:46:34] local.INFO: Acknowledgment sent {"connection_id":184846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:46:45] local.INFO: TCP Data received {"connection_id":184846,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:46:45] local.INFO: Processing buffer {"connection_id":184846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:46:45] local.INFO: Packet analysis {"connection_id":184846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:46:45] local.INFO: Extracted packet for processing {"connection_id":184846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139446528001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789607514000,"timestamp_ms":1789607514000,"timestamp_seconds":1789607514,"priority":1,"record_length":96,"hex_timestamp":"000001a0aceb8f90"} 
[2026-09-17 06:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":184846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":184846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":184846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:46: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-09-17 06:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139446528001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139446528001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:46:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139446528001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":184846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:46:45] local.INFO: GPS data processed {"connection_id":184846,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:46:45] local.INFO: Acknowledgment sent {"connection_id":184846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:46:58] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:46:58] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:46:58] local.INFO: IMEI packet received {"connection_id":186249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":186249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:47:03] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:47:03] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:47:03] local.INFO: IMEI packet received {"connection_id":186249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":186249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:47:14] local.INFO: TCP Data received {"connection_id":186249,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:47:14] local.INFO: Processing buffer {"connection_id":186249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aceb8f90012d34c3c006aa4458000c01172b..."} 
[2026-09-17 06:47:14] local.INFO: Packet analysis {"connection_id":186249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:47:14] local.INFO: Extracted packet for processing {"connection_id":186249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aceb"} 
[2026-09-17 06:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139446528001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789607514000,"timestamp_ms":1789607514000,"timestamp_seconds":1789607514,"priority":1,"record_length":96,"hex_timestamp":"000001a0aceb8f90"} 
[2026-09-17 06:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 06:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:47: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-09-17 06:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139446528001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139446528001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:47:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139446528001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":186249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:47:14] local.INFO: GPS data processed {"connection_id":186249,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:47:14] local.INFO: Acknowledgment sent {"connection_id":186249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:47:46] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:47:46] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:47:46] local.INFO: IMEI packet received {"connection_id":187578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 06:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":187578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:47:47] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:47:47] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:47:47] local.INFO: IMEI packet received {"connection_id":187578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 06:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":187578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:47:54] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:47:54] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:47:54] local.INFO: IMEI packet received {"connection_id":187578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 06:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":187578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:47:55] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf0fe30012d7e358005d34d30000400000a..."} 
[2026-09-17 06:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf0fe30012d7e358005d34d30000400000a..."} 
[2026-09-17 06:47:55] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf0fe30012d7e358005d34d30000400000a..."} 
[2026-09-17 06:47:55] local.INFO: Packet analysis {"connection_id":187578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:47:55] local.INFO: Extracted packet for processing {"connection_id":187578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97733936,"longitude_deg":76.3245952,"latitude_deg":9.7733936,"altitude":4,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34d30","is_valid_coordinates":true} 
[2026-09-17 06:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139613184001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133918725261754368,"note":"Value kept but may cause issues"} 
[2026-09-17 06:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750424576,"note":"Value kept but may cause issues"} 
[2026-09-17 06:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789607870000,"timestamp_ms":1789607870000,"timestamp_seconds":1789607870,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf0fe30"} 
[2026-09-17 06:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":512,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 06:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139613184001,"66":13678,"109":206,"85":15104,"24":0,"16":133918725261754368,"45":9094949103750424576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139613184001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:47:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133918725261754368,"km_value":133918725261754.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750424576,"description":"Unknown IO ID 45"} 
[2026-09-17 06:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139613184001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750424576}} 
[2026-09-17 06:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":187578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:47:55] local.INFO: GPS data processed {"connection_id":187578,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:47:55] local.INFO: Acknowledgment sent {"connection_id":187578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:48:08] local.INFO: TCP Data received {"connection_id":184949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:48:08] local.INFO: Processing buffer {"connection_id":184949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:48:08] local.INFO: IMEI packet received {"connection_id":184949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":184949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:48:14] local.INFO: TCP Data received {"connection_id":184949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:48:14] local.INFO: Processing buffer {"connection_id":184949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:48:14] local.INFO: IMEI packet received {"connection_id":184949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":184949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:48:16] local.INFO: TCP Data received {"connection_id":184949,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:48:16] local.INFO: Processing buffer {"connection_id":184949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:48:16] local.INFO: Packet analysis {"connection_id":184949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:48:16] local.INFO: Extracted packet for processing {"connection_id":184949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139523584001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789607815000,"timestamp_ms":1789607815000,"timestamp_seconds":1789607815,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf02758"} 
[2026-09-17 06:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:48:16] 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-09-17 06:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139523584001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139523584001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:48:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139523584001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":184949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:48:16] local.INFO: GPS data processed {"connection_id":184949,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:48:16] local.INFO: Acknowledgment sent {"connection_id":184949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:48:26] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf15038012d7e35c005d34cc80000000010..."} 
[2026-09-17 06:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf15038012d7e35c005d34cc80000000010..."} 
[2026-09-17 06:48:26] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf15038012d7e35c005d34cc80000000010..."} 
[2026-09-17 06:48:26] local.INFO: Packet analysis {"connection_id":187578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf1"} 
[2026-09-17 06:48:26] local.INFO: Extracted packet for processing {"connection_id":187578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf1"} 
[2026-09-17 06:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733832,"longitude_deg":76.3246016,"latitude_deg":9.7733832,"altitude":0,"angle":0,"satellites":16,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-17 06:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139614720001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133918742441623552,"note":"Value kept but may cause issues"} 
[2026-09-17 06:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052827648,"note":"Value kept but may cause issues"} 
[2026-09-17 06:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789607891000,"timestamp_ms":1789607891000,"timestamp_seconds":1789607891,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf15038"} 
[2026-09-17 06:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 06:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139614720001,"66":13820,"109":206,"85":15104,"24":0,"16":133918742441623552,"45":9094315785052827648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139614720001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:48:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133918742441623552,"km_value":133918742441623.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052827648,"description":"Unknown IO ID 45"} 
[2026-09-17 06:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139614720001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052827648}} 
[2026-09-17 06:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":187578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:48:26] local.INFO: GPS data processed {"connection_id":187578,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:48:26] local.INFO: Acknowledgment sent {"connection_id":187578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:48:57] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf1a240012d7e350005d34cd00000000010..."} 
[2026-09-17 06:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf1a240012d7e350005d34cd00000000010..."} 
[2026-09-17 06:48:57] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf1a240012d7e350005d34cd00000000010..."} 
[2026-09-17 06:48:57] local.INFO: Packet analysis {"connection_id":187578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf1"} 
[2026-09-17 06:48:57] local.INFO: Extracted packet for processing {"connection_id":187578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf1"} 
[2026-09-17 06:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733840,"longitude_deg":76.3245824,"latitude_deg":9.773384,"altitude":0,"angle":0,"satellites":16,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-09-17 06:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139620096001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133918759621492736,"note":"Value kept but may cause issues"} 
[2026-09-17 06:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796978688,"note":"Value kept but may cause issues"} 
[2026-09-17 06:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789607912000,"timestamp_ms":1789607912000,"timestamp_seconds":1789607912,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf1a240"} 
[2026-09-17 06:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-17 06:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139620096001,"66":13906,"109":206,"85":15104,"24":0,"16":133918759621492736,"45":9094386153796978688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139620096001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:48:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133918759621492736,"km_value":133918759621492.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796978688,"description":"Unknown IO ID 45"} 
[2026-09-17 06:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139620096001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796978688}} 
[2026-09-17 06:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":187578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:48:57] local.INFO: GPS data processed {"connection_id":187578,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:48:57] local.INFO: Acknowledgment sent {"connection_id":187578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:49:28] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf1f448012d7e350005d34cc00000000012..."} 
[2026-09-17 06:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf1f448012d7e350005d34cc00000000012..."} 
[2026-09-17 06:49:28] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf1f448012d7e350005d34cc00000000012..."} 
[2026-09-17 06:49:28] local.INFO: Packet analysis {"connection_id":187578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf1"} 
[2026-09-17 06:49:28] local.INFO: Extracted packet for processing {"connection_id":187578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf1"} 
[2026-09-17 06:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733824,"longitude_deg":76.3245824,"latitude_deg":9.7733824,"altitude":0,"angle":0,"satellites":18,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-09-17 06:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139625472001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133918759621492736,"note":"Value kept but may cause issues"} 
[2026-09-17 06:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564447744,"note":"Value kept but may cause issues"} 
[2026-09-17 06:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789607933000,"timestamp_ms":1789607933000,"timestamp_seconds":1789607933,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf1f448"} 
[2026-09-17 06:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-17 06:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139625472001,"66":13722,"109":206,"85":15104,"24":0,"16":133918759621492736,"45":9094175047564447744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139625472001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:49:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133918759621492736,"km_value":133918759621492.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564447744,"description":"Unknown IO ID 45"} 
[2026-09-17 06:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139625472001,"power":13722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564447744}} 
[2026-09-17 06:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":187578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:49:28] local.INFO: GPS data processed {"connection_id":187578,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:49:28] local.INFO: Acknowledgment sent {"connection_id":187578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:49:41] local.INFO: TCP Data received {"connection_id":184950,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:49:41] local.INFO: Processing buffer {"connection_id":184950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:49:41] local.INFO: IMEI packet received {"connection_id":184950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":184950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:49:59] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf24650012d7e350005d34cc80000000013..."} 
[2026-09-17 06:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf24650012d7e350005d34cc80000000013..."} 
[2026-09-17 06:49:59] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf24650012d7e350005d34cc80000000013..."} 
[2026-09-17 06:49:59] local.INFO: Packet analysis {"connection_id":187578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf2"} 
[2026-09-17 06:49:59] local.INFO: Extracted packet for processing {"connection_id":187578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf2"} 
[2026-09-17 06:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":0,"angle":0,"satellites":19,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-17 06:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139630848001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133918763916460032,"note":"Value kept but may cause issues"} 
[2026-09-17 06:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564443648,"note":"Value kept but may cause issues"} 
[2026-09-17 06:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789607954000,"timestamp_ms":1789607954000,"timestamp_seconds":1789607954,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf24650"} 
[2026-09-17 06:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 06:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139630848001,"66":13820,"109":206,"85":15104,"24":0,"16":133918763916460032,"45":9094175047564443648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139630848001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:49:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133918763916460032,"km_value":133918763916460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564443648,"description":"Unknown IO ID 45"} 
[2026-09-17 06:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139630848001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564443648}} 
[2026-09-17 06:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":187578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:49:59] local.INFO: GPS data processed {"connection_id":187578,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:49:59] local.INFO: Acknowledgment sent {"connection_id":187578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:50:05] local.INFO: TCP Data received {"connection_id":184849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:50:05] local.INFO: Processing buffer {"connection_id":184849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:50:05] local.INFO: IMEI packet received {"connection_id":184849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":184849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:50:08] local.INFO: TCP Data received {"connection_id":184849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:50:08] local.INFO: Processing buffer {"connection_id":184849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:50:08] local.INFO: IMEI packet received {"connection_id":184849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":184849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:50:09] local.INFO: TCP Data received {"connection_id":184849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:50:09] local.INFO: Processing buffer {"connection_id":184849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:50:09] local.INFO: Packet analysis {"connection_id":184849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:50:09] local.INFO: Extracted packet for processing {"connection_id":184849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06: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-09-17 06:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139523584001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789607815000,"timestamp_ms":1789607815000,"timestamp_seconds":1789607815,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf02758"} 
[2026-09-17 06:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06: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-09-17 06:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:50: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-09-17 06:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139523584001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139523584001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:50:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139523584001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":184849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:50:09] local.INFO: GPS data processed {"connection_id":184849,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:50:09] local.INFO: Acknowledgment sent {"connection_id":184849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:50:14] local.INFO: TCP Data received {"connection_id":184849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:50:14] local.INFO: Processing buffer {"connection_id":184849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:50:14] local.INFO: Packet analysis {"connection_id":184849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:50:14] local.INFO: Extracted packet for processing {"connection_id":184849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139523584001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789607815000,"timestamp_ms":1789607815000,"timestamp_seconds":1789607815,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf02758"} 
[2026-09-17 06:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:50: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-09-17 06:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139523584001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139523584001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:50:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139523584001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":184849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:50:14] local.INFO: GPS data processed {"connection_id":184849,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:50:14] local.INFO: Acknowledgment sent {"connection_id":184849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:50:30] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf29858012d7e350005d34cc00000000013..."} 
[2026-09-17 06:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf29858012d7e350005d34cc00000000013..."} 
[2026-09-17 06:50:30] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf29858012d7e350005d34cc00000000013..."} 
[2026-09-17 06:50:30] local.INFO: Packet analysis {"connection_id":187578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf2"} 
[2026-09-17 06:50:30] local.INFO: Extracted packet for processing {"connection_id":187578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf2"} 
[2026-09-17 06:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733824,"longitude_deg":76.3245824,"latitude_deg":9.7733824,"altitude":0,"angle":0,"satellites":19,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-09-17 06:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139636224001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133918768211427328,"note":"Value kept but may cause issues"} 
[2026-09-17 06:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-17 06:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789607975000,"timestamp_ms":1789607975000,"timestamp_seconds":1789607975,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf29858"} 
[2026-09-17 06:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-17 06:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139636224001,"66":13656,"109":206,"85":15104,"24":0,"16":133918768211427328,"45":9094175047564445696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139636224001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:50:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133918768211427328,"km_value":133918768211427.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-17 06:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139636224001,"power":13656,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-17 06:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":187578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:50:30] local.INFO: GPS data processed {"connection_id":187578,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:50:30] local.INFO: Acknowledgment sent {"connection_id":187578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:51:00] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf2ea60012d7e34c005d34ce80000000016..."} 
[2026-09-17 06:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf2ea60012d7e34c005d34ce80000000016..."} 
[2026-09-17 06:51:00] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf2ea60012d7e34c005d34ce80000000016..."} 
[2026-09-17 06:51:00] local.INFO: Packet analysis {"connection_id":187578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf2"} 
[2026-09-17 06:51:00] local.INFO: Extracted packet for processing {"connection_id":187578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf2"} 
[2026-09-17 06:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733864,"longitude_deg":76.324576,"latitude_deg":9.7733864,"altitude":0,"angle":0,"satellites":22,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34ce8","is_valid_coordinates":true} 
[2026-09-17 06:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139641600001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133918772506394624,"note":"Value kept but may cause issues"} 
[2026-09-17 06:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564443648,"note":"Value kept but may cause issues"} 
[2026-09-17 06:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789607996000,"timestamp_ms":1789607996000,"timestamp_seconds":1789607996,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf2ea60"} 
[2026-09-17 06:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-17 06:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139641600001,"66":13798,"109":206,"85":15104,"24":0,"16":133918772506394624,"45":9094175047564443648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139641600001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:51:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133918772506394624,"km_value":133918772506394.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564443648,"description":"Unknown IO ID 45"} 
[2026-09-17 06:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139641600001,"power":13798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564443648}} 
[2026-09-17 06:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":187578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:51:00] local.INFO: GPS data processed {"connection_id":187578,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:51:00] local.INFO: Acknowledgment sent {"connection_id":187578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:51:21] local.INFO: TCP Data received {"connection_id":184850,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:51:21] local.INFO: Processing buffer {"connection_id":184850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:51:21] local.INFO: IMEI packet received {"connection_id":184850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":184850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:51:31] local.INFO: TCP Data received {"connection_id":187578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf33c68012d7e34c005d34d100000000019..."} 
[2026-09-17 06:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf33c68012d7e34c005d34d100000000019..."} 
[2026-09-17 06:51:31] local.INFO: Processing buffer {"connection_id":187578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf33c68012d7e34c005d34d100000000019..."} 
[2026-09-17 06:51:31] local.INFO: Packet analysis {"connection_id":187578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf3"} 
[2026-09-17 06:51:31] local.INFO: Extracted packet for processing {"connection_id":187578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf3"} 
[2026-09-17 06:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733904,"longitude_deg":76.324576,"latitude_deg":9.7733904,"altitude":0,"angle":0,"satellites":25,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d10","is_valid_coordinates":true} 
[2026-09-17 06:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139646976001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133918776801361920,"note":"Value kept but may cause issues"} 
[2026-09-17 06:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820276224,"note":"Value kept but may cause issues"} 
[2026-09-17 06:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789608017000,"timestamp_ms":1789608017000,"timestamp_seconds":1789608017,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf33c68"} 
[2026-09-17 06:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-17 06:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139646976001,"66":13830,"109":206,"85":15104,"24":0,"16":133918776801361920,"45":9094104678820276224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139646976001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:51:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133918776801361920,"km_value":133918776801361.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820276224,"description":"Unknown IO ID 45"} 
[2026-09-17 06:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139646976001,"power":13830,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820276224}} 
[2026-09-17 06:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":187578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:51:31] local.INFO: GPS data processed {"connection_id":187578,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:51:31] local.INFO: Acknowledgment sent {"connection_id":187578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:51:39] local.INFO: TCP Data received {"connection_id":186250,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:51:39] local.INFO: Processing buffer {"connection_id":186250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:51:39] local.INFO: IMEI packet received {"connection_id":186250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":186250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:51:43] local.INFO: TCP Data received {"connection_id":186250,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:51:43] local.INFO: Processing buffer {"connection_id":186250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:51:43] local.INFO: IMEI packet received {"connection_id":186250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":186250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:51:51] local.INFO: TCP Data received {"connection_id":184851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:51:51] local.INFO: Processing buffer {"connection_id":184851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:51:51] local.INFO: IMEI packet received {"connection_id":184851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":184851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:52:03] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:52:03] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:52:03] local.INFO: IMEI packet received {"connection_id":187579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":187579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:52:07] local.INFO: TCP Data received {"connection_id":184952,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:07] local.INFO: Processing buffer {"connection_id":184952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:07] local.INFO: IMEI packet received {"connection_id":184952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 06:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":184952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:52:08] local.INFO: TCP Data received {"connection_id":184952,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:08] local.INFO: Processing buffer {"connection_id":184952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:08] local.INFO: IMEI packet received {"connection_id":184952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 06:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":184952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:52:08] local.INFO: TCP Data received {"connection_id":184952,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:08] local.INFO: Processing buffer {"connection_id":184952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:08] local.INFO: IMEI packet received {"connection_id":184952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 06:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":184952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:52:09] local.INFO: TCP Data received {"connection_id":184952,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:09] local.INFO: Processing buffer {"connection_id":184952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:52:09] local.INFO: IMEI packet received {"connection_id":184952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 06:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":184952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:52:09] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:52:09] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:52:09] local.INFO: IMEI packet received {"connection_id":187579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":187579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:52:12] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:52:12] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf02758012d34c3c006aa4458000c01172d..."} 
[2026-09-17 06:52:12] local.INFO: Packet analysis {"connection_id":187579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:52:12] local.INFO: Extracted packet for processing {"connection_id":187579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf0"} 
[2026-09-17 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139523584001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789607815000,"timestamp_ms":1789607815000,"timestamp_seconds":1789607815,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf02758"} 
[2026-09-17 06:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:52:12] 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-09-17 06:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139523584001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139523584001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:52:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:52:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139523584001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":187579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:52:12] local.INFO: GPS data processed {"connection_id":187579,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:52:12] local.INFO: Acknowledgment sent {"connection_id":187579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:53:02] local.INFO: TCP Data received {"connection_id":187579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:53:02] local.INFO: Processing buffer {"connection_id":187579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:53:02] local.INFO: Packet analysis {"connection_id":187579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:53:02] local.INFO: Extracted packet for processing {"connection_id":187579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139600640001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789608116000,"timestamp_ms":1789608116000,"timestamp_seconds":1789608116,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf4bf20"} 
[2026-09-17 06:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":187579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":187579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:53:02] 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-09-17 06:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139600640001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139600640001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:53:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139600640001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":187579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:53:02] local.INFO: GPS data processed {"connection_id":187579,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:53:02] local.INFO: Acknowledgment sent {"connection_id":187579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:53:23] local.INFO: TCP Data received {"connection_id":186252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:53:23] local.INFO: Processing buffer {"connection_id":186252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:53:23] local.INFO: IMEI packet received {"connection_id":186252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":186252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:53:30] local.INFO: TCP Data received {"connection_id":186252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:53:30] local.INFO: Processing buffer {"connection_id":186252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:53:30] local.INFO: IMEI packet received {"connection_id":186252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":186252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:53:31] local.INFO: TCP Data received {"connection_id":186252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:53:31] local.INFO: Processing buffer {"connection_id":186252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:53:31] local.INFO: Packet analysis {"connection_id":186252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:53:31] local.INFO: Extracted packet for processing {"connection_id":186252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139600640001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789608116000,"timestamp_ms":1789608116000,"timestamp_seconds":1789608116,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf4bf20"} 
[2026-09-17 06:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:53:31] 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-09-17 06:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139600640001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139600640001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:53:31] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139600640001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":186252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:53:31] local.INFO: GPS data processed {"connection_id":186252,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:53:31] local.INFO: Acknowledgment sent {"connection_id":186252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:54:13] local.INFO: TCP Data received {"connection_id":184953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:13] local.INFO: Processing buffer {"connection_id":184953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:13] local.INFO: IMEI packet received {"connection_id":184953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":184953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:54:14] local.INFO: TCP Data received {"connection_id":184953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:14] local.INFO: Processing buffer {"connection_id":184953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:14] local.INFO: IMEI packet received {"connection_id":184953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":184953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:54:18] local.INFO: TCP Data received {"connection_id":184953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:18] local.INFO: Processing buffer {"connection_id":184953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:18] local.INFO: IMEI packet received {"connection_id":184953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":184953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:54:24] local.INFO: TCP Data received {"connection_id":184953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:24] local.INFO: Processing buffer {"connection_id":184953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:24] local.INFO: IMEI packet received {"connection_id":184953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":184953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:54:49] local.INFO: TCP Data received {"connection_id":184953,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:54:49] local.INFO: Processing buffer {"connection_id":184953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:54:49] local.INFO: Packet analysis {"connection_id":184953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:54:49] local.INFO: Extracted packet for processing {"connection_id":184953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139600640001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789608116000,"timestamp_ms":1789608116000,"timestamp_seconds":1789608116,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf4bf20"} 
[2026-09-17 06:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":184953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":184953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":184953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:54:49] 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-09-17 06:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139600640001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139600640001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:54:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139600640001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":184953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:54:49] local.INFO: GPS data processed {"connection_id":184953,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:54:49] local.INFO: Acknowledgment sent {"connection_id":184953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:54:59] local.INFO: TCP Data received {"connection_id":186254,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:59] local.INFO: Processing buffer {"connection_id":186254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:54:59] local.INFO: IMEI packet received {"connection_id":186254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":186254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:55:03] local.INFO: TCP Data received {"connection_id":186254,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:55:03] local.INFO: Processing buffer {"connection_id":186254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:55:03] local.INFO: IMEI packet received {"connection_id":186254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":186254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:55:04] local.INFO: TCP Data received {"connection_id":186254,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:55:04] local.INFO: Processing buffer {"connection_id":186254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:55:04] local.INFO: Packet analysis {"connection_id":186254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:55:04] local.INFO: Extracted packet for processing {"connection_id":186254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139600640001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789608116000,"timestamp_ms":1789608116000,"timestamp_seconds":1789608116,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf4bf20"} 
[2026-09-17 06:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:55:04] 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-09-17 06:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139600640001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139600640001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:55:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139600640001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":186254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:55:04] local.INFO: GPS data processed {"connection_id":186254,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:55:04] local.INFO: Acknowledgment sent {"connection_id":186254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:55:37] local.INFO: TCP Data received {"connection_id":186254,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:55:37] local.INFO: Processing buffer {"connection_id":186254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:55:37] local.INFO: Packet analysis {"connection_id":186254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:55:37] local.INFO: Extracted packet for processing {"connection_id":186254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139600640001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789608116000,"timestamp_ms":1789608116000,"timestamp_seconds":1789608116,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf4bf20"} 
[2026-09-17 06:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:55:37] 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-09-17 06:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139600640001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139600640001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:55:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139600640001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":186254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:55:37] local.INFO: GPS data processed {"connection_id":186254,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:55:37] local.INFO: Acknowledgment sent {"connection_id":186254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:55:59] local.INFO: TCP Data received {"connection_id":184852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:55:59] local.INFO: Processing buffer {"connection_id":184852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:55:59] local.INFO: IMEI packet received {"connection_id":184852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":184852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:56:04] local.INFO: TCP Data received {"connection_id":184852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:56:04] local.INFO: Processing buffer {"connection_id":184852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:56:04] local.INFO: IMEI packet received {"connection_id":184852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":184852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:56:05] local.INFO: TCP Data received {"connection_id":184852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:56:05] local.INFO: Processing buffer {"connection_id":184852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:56:05] local.INFO: Packet analysis {"connection_id":184852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:56:05] local.INFO: Extracted packet for processing {"connection_id":184852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139600640001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789608116000,"timestamp_ms":1789608116000,"timestamp_seconds":1789608116,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf4bf20"} 
[2026-09-17 06:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:56:05] 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-09-17 06:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139600640001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139600640001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:56:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139600640001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":184852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:56:05] local.INFO: GPS data processed {"connection_id":184852,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:56:05] local.INFO: Acknowledgment sent {"connection_id":184852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:56:39] local.INFO: TCP Data received {"connection_id":184852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:56:39] local.INFO: Processing buffer {"connection_id":184852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:56:39] local.INFO: Packet analysis {"connection_id":184852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:56:39] local.INFO: Extracted packet for processing {"connection_id":184852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139600640001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789608116000,"timestamp_ms":1789608116000,"timestamp_seconds":1789608116,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf4bf20"} 
[2026-09-17 06:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":184852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":184852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":184852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06: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-09-17 06:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139600640001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139600640001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:56:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139600640001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":184852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:56:39] local.INFO: GPS data processed {"connection_id":184852,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:56:39] local.INFO: Acknowledgment sent {"connection_id":184852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:56:59] local.INFO: TCP Data received {"connection_id":187582,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:56:59] local.INFO: Processing buffer {"connection_id":187582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:56:59] local.INFO: IMEI packet received {"connection_id":187582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":187582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:57:04] local.INFO: TCP Data received {"connection_id":187582,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:57:04] local.INFO: Processing buffer {"connection_id":187582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:57:04] local.INFO: IMEI packet received {"connection_id":187582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":187582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:57:04] local.INFO: TCP Data received {"connection_id":187582,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:57:04] local.INFO: Processing buffer {"connection_id":187582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:57:04] local.INFO: Packet analysis {"connection_id":187582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:57:04] local.INFO: Extracted packet for processing {"connection_id":187582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139600640001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789608116000,"timestamp_ms":1789608116000,"timestamp_seconds":1789608116,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf4bf20"} 
[2026-09-17 06:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139600640001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139600640001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:57:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139600640001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":187582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:57:04] local.INFO: GPS data processed {"connection_id":187582,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:57:04] local.INFO: Acknowledgment sent {"connection_id":187582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:57:16] local.INFO: TCP Data received {"connection_id":187581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:57:16] local.INFO: Processing buffer {"connection_id":187581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:57:16] local.INFO: IMEI packet received {"connection_id":187581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":187581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:57:16] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:57:16] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:57:16] local.INFO: IMEI packet received {"connection_id":186256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 06:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":186256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:57:17] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:57:17] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:57:17] local.INFO: IMEI packet received {"connection_id":186256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 06:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":186256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:57:18] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf831f0012d7e638005d31be0000900b024..."} 
[2026-09-17 06:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf831f0012d7e638005d31be0000900b024..."} 
[2026-09-17 06:57:18] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf831f0012d7e638005d31be0000900b024..."} 
[2026-09-17 06:57:18] local.INFO: Packet analysis {"connection_id":186256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf8"} 
[2026-09-17 06:57:18] local.INFO: Extracted packet for processing {"connection_id":186256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf8"} 
[2026-09-17 06:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763257728,"raw_latitude":97721312,"longitude_deg":76.3257728,"latitude_deg":9.7721312,"altitude":9,"angle":176,"satellites":36,"speed":32,"hex_longitude":"2d7e6380","hex_latitude":"05d31be0","is_valid_coordinates":true} 
[2026-09-17 06:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139732736001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133920224205340672,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106559946538928128,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789608342000,"timestamp_ms":1789608342000,"timestamp_seconds":1789608342,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf831f0"} 
[2026-09-17 06:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 06:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139732736001,"66":13059,"109":206,"85":15104,"24":32,"16":133920224205340672,"45":9106559946538928128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139732736001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:57:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133920224205340672,"km_value":133920224205340.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106559946538928128,"description":"Unknown IO ID 45"} 
[2026-09-17 06:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139732736001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9106559946538928128}} 
[2026-09-17 06:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":186256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:57:18] local.INFO: GPS data processed {"connection_id":186256,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:57:18] local.INFO: Acknowledgment sent {"connection_id":186256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:57:18] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf864b8012d7e664005d304e00005009a24..."} 
[2026-09-17 06:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf864b8012d7e664005d304e00005009a24..."} 
[2026-09-17 06:57:18] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf864b8012d7e664005d304e00005009a24..."} 
[2026-09-17 06:57:18] local.INFO: Packet analysis {"connection_id":186256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf8"} 
[2026-09-17 06:57:18] local.INFO: Extracted packet for processing {"connection_id":186256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf8"} 
[2026-09-17 06:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763258432,"raw_latitude":97715424,"longitude_deg":76.3258432,"latitude_deg":9.7715424,"altitude":5,"angle":154,"satellites":36,"speed":5,"hex_longitude":"2d7e6640","hex_latitude":"05d304e0","is_valid_coordinates":true} 
[2026-09-17 06:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139735552001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133920511968149504,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107263633978286080,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789608355000,"timestamp_ms":1789608355000,"timestamp_seconds":1789608355,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf864b8"} 
[2026-09-17 06:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113134925,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399438,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2901914864,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4158902273,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3339517952,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545808896,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,199,160,6,45,64,9,35,10,66,243,192,77,36,235,1,240,227,172,211,4,113,205,15,220,88,96,239,52,2,219,5,8,14],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-17 06:57:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648712015008759808,"timestamp_seconds":648712015008759.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 06:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139735552001,"66":13102,"109":206,"85":15104,"24":5,"16":133920511968149504,"45":9107263633978286080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139735552001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:57:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133920511968149504,"km_value":133920511968149.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107263633978286080,"description":"Unknown IO ID 45"} 
[2026-09-17 06:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139735552001,"power":13102,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9107263633978286080}} 
[2026-09-17 06:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":186256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:57:18] local.INFO: GPS data processed {"connection_id":186256,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:57:18] local.INFO: Acknowledgment sent {"connection_id":186256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:57:38] local.INFO: TCP Data received {"connection_id":187582,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:57:38] local.INFO: Processing buffer {"connection_id":187582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf4bf20012d34c3c006aa4458000c01172a..."} 
[2026-09-17 06:57:38] local.INFO: Packet analysis {"connection_id":187582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:57:38] local.INFO: Extracted packet for processing {"connection_id":187582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf4"} 
[2026-09-17 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139600640001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789608116000,"timestamp_ms":1789608116000,"timestamp_seconds":1789608116,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf4bf20"} 
[2026-09-17 06:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 06:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139600640001,"66":25473,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139600640001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:57:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139600640001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":187582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:57:38] local.INFO: GPS data processed {"connection_id":187582,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:57:38] local.INFO: Acknowledgment sent {"connection_id":187582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:57:49] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf868a0012d7e668005d304700005007924..."} 
[2026-09-17 06:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf868a0012d7e668005d304700005007924..."} 
[2026-09-17 06:57:49] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf868a0012d7e668005d304700005007924..."} 
[2026-09-17 06:57:49] local.INFO: Packet analysis {"connection_id":186256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf8"} 
[2026-09-17 06:57:49] local.INFO: Extracted packet for processing {"connection_id":186256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf8"} 
[2026-09-17 06:57:49] local.INFO: GPS Element Parsed {"raw_longitude":763258496,"raw_latitude":97715312,"longitude_deg":76.3258496,"latitude_deg":9.7715312,"altitude":5,"angle":121,"satellites":36,"speed":7,"hex_longitude":"2d7e6680","hex_latitude":"05d30470","is_valid_coordinates":true} 
[2026-09-17 06:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139738880001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133920520558084096,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108037690162733056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789608356000,"timestamp_ms":1789608356000,"timestamp_seconds":1789608356,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf868a0"} 
[2026-09-17 06:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 06:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139738880001,"66":13222,"109":206,"85":15104,"24":7,"16":133920520558084096,"45":9108037690162733056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 06:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139738880001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:57:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 06:57:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133920520558084096,"km_value":133920520558084.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108037690162733056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139738880001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9108037690162733056}} 
[2026-09-17 06:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":186256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:57:49] local.INFO: GPS data processed {"connection_id":186256,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:57:49] local.INFO: Acknowledgment sent {"connection_id":186256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:57:51] local.INFO: TCP Data received {"connection_id":187583,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:57:51] local.INFO: Processing buffer {"connection_id":187583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 06:57:51] local.INFO: IMEI packet received {"connection_id":187583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 06:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":187583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:58:13] local.INFO: TCP Data received {"connection_id":184954,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:58:13] local.INFO: Processing buffer {"connection_id":184954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:58:13] local.INFO: IMEI packet received {"connection_id":184954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":184954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:58:19] local.INFO: TCP Data received {"connection_id":184954,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:58:19] local.INFO: Processing buffer {"connection_id":184954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:58:19] local.INFO: IMEI packet received {"connection_id":184954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":184954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:58:20] local.INFO: TCP Data received {"connection_id":184954,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acf956e8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acf956e8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:58:20] local.INFO: Processing buffer {"connection_id":184954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acf956e8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 06:58:20] local.INFO: Packet analysis {"connection_id":184954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acf9"} 
[2026-09-17 06:58:20] local.INFO: Extracted packet for processing {"connection_id":184954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acf9"} 
[2026-09-17 06:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 06:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139677696001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 06:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 06:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789608417000,"timestamp_ms":1789608417000,"timestamp_seconds":1789608417,"priority":1,"record_length":96,"hex_timestamp":"000001a0acf956e8"} 
[2026-09-17 06:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 06:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 06:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":184954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":184954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":184954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 06:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 06:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 06:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139677696001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 06:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 06:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 06:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139677696001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:58:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 06:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 06:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 06:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139677696001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 06:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":184954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:58:20] local.INFO: GPS data processed {"connection_id":184954,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:58:20] local.INFO: Acknowledgment sent {"connection_id":184954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:58:21] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfa31a8012d7f0bc005d333780002001e26..."} 
[2026-09-17 06:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfa31a8012d7f0bc005d333780002001e26..."} 
[2026-09-17 06:58:21] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfa31a8012d7f0bc005d333780002001e26..."} 
[2026-09-17 06:58:21] local.INFO: Packet analysis {"connection_id":186256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfa"} 
[2026-09-17 06:58:21] local.INFO: Extracted packet for processing {"connection_id":186256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfa"} 
[2026-09-17 06:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763300800,"raw_latitude":97727352,"longitude_deg":76.33008,"latitude_deg":9.7727352,"altitude":2,"angle":30,"satellites":38,"speed":10,"hex_longitude":"2d7f0bc0","hex_latitude":"05d33378","is_valid_coordinates":true} 
[2026-09-17 06:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139768832001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133922668041732096,"note":"Value kept but may cause issues"} 
[2026-09-17 06:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154410692578807808,"note":"Value kept but may cause issues"} 
[2026-09-17 06:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789608473000,"timestamp_ms":1789608473000,"timestamp_seconds":1789608473,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfa31a8"} 
[2026-09-17 06:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-17 06:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139768832001,"66":13352,"167":206,"85":15104,"24":10,"16":133922668041732096,"45":9154410692578807808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-17 06:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139768832001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:58:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 06:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133922668041732096,"km_value":133922668041732.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154410692578807808,"description":"Unknown IO ID 45"} 
[2026-09-17 06:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139768832001,"power":13352,"unknown_167":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9154410692578807808}} 
[2026-09-17 06:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":186256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:58:21] local.INFO: GPS data processed {"connection_id":186256,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:58:21] local.INFO: Acknowledgment sent {"connection_id":186256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:58:53] local.INFO: TCP Data received {"connection_id":186256,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfa50e8012d7f154005d341300004002a26..."} 
[2026-09-17 06:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfa50e8012d7f154005d341300004002a26..."} 
[2026-09-17 06:58:53] local.INFO: Processing buffer {"connection_id":186256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfa50e8012d7f154005d341300004002a26..."} 
[2026-09-17 06:58:53] local.INFO: Packet analysis {"connection_id":186256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfa"} 
[2026-09-17 06:58:53] local.INFO: Extracted packet for processing {"connection_id":186256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfa"} 
[2026-09-17 06:58:53] local.INFO: GPS Element Parsed {"raw_longitude":763303232,"raw_latitude":97730864,"longitude_deg":76.3303232,"latitude_deg":9.7730864,"altitude":4,"angle":42,"satellites":38,"speed":29,"hex_longitude":"2d7f1540","hex_latitude":"05d34130","is_valid_coordinates":true} 
[2026-09-17 06:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139769088001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133922874200162304,"note":"Value kept but may cause issues"} 
[2026-09-17 06:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154621798811400192,"note":"Value kept but may cause issues"} 
[2026-09-17 06:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789608481000,"timestamp_ms":1789608481000,"timestamp_seconds":1789608481,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfa50e8"} 
[2026-09-17 06:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-17 06:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139769088001,"66":13493,"167":206,"85":15104,"24":29,"16":133922874200162304,"45":9154621798811400192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-17 06:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139769088001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:58:53] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 06:58:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133922874200162304,"km_value":133922874200162.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154621798811400192,"description":"Unknown IO ID 45"} 
[2026-09-17 06:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139769088001,"power":13493,"unknown_167":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9154621798811400192}} 
[2026-09-17 06:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":186256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:58:53] local.INFO: GPS data processed {"connection_id":186256,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:58:53] local.INFO: Acknowledgment sent {"connection_id":186256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:59:05] local.INFO: TCP Data received {"connection_id":184955,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:05] local.INFO: Processing buffer {"connection_id":184955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:05] local.INFO: IMEI packet received {"connection_id":184955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 06:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":184955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:59:07] local.INFO: TCP Data received {"connection_id":187585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:59:07] local.INFO: Processing buffer {"connection_id":187585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:59:07] local.INFO: IMEI packet received {"connection_id":187585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 06:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":187585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 06:59:12] local.INFO: TCP Data received {"connection_id":187585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:59:12] local.INFO: Processing buffer {"connection_id":187585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 06:59:12] local.INFO: IMEI packet received {"connection_id":187585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 06:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":187585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:59:13] local.INFO: TCP Data received {"connection_id":187585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfa77f8012d7f290005d35cf80004001d26..."} 
[2026-09-17 06:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfa77f8012d7f290005d35cf80004001d26..."} 
[2026-09-17 06:59:13] local.INFO: Processing buffer {"connection_id":187585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfa77f8012d7f290005d35cf80004001d26..."} 
[2026-09-17 06:59:13] local.INFO: Packet analysis {"connection_id":187585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfa"} 
[2026-09-17 06:59:13] local.INFO: Extracted packet for processing {"connection_id":187585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfa"} 
[2026-09-17 06:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763308288,"raw_latitude":97737976,"longitude_deg":76.3308288,"latitude_deg":9.7737976,"altitude":4,"angle":29,"satellites":38,"speed":39,"hex_longitude":"2d7f2900","hex_latitude":"05d35cf8","is_valid_coordinates":true} 
[2026-09-17 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139771136001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133923295106957312,"note":"Value kept but may cause issues"} 
[2026-09-17 06:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157295811091050496,"note":"Value kept but may cause issues"} 
[2026-09-17 06:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789608491000,"timestamp_ms":1789608491000,"timestamp_seconds":1789608491,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfa77f8"} 
[2026-09-17 06:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 06:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139771136001,"66":12765,"167":206,"85":15104,"24":39,"16":133923295106957312,"45":9157295811091050496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-17 06:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139771136001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:59:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 06:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133923295106957312,"km_value":133923295106957.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157295811091050496,"description":"Unknown IO ID 45"} 
[2026-09-17 06:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139771136001,"power":12765,"unknown_167":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9157295811091050496}} 
[2026-09-17 06:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":187585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:59:13] local.INFO: GPS data processed {"connection_id":187585,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:59:13] local.INFO: Acknowledgment sent {"connection_id":187585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 06:59:16] local.INFO: TCP Data received {"connection_id":184955,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:16] local.INFO: Processing buffer {"connection_id":184955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:16] local.INFO: IMEI packet received {"connection_id":184955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":184955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:59:17] local.INFO: TCP Data received {"connection_id":184955,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:17] local.INFO: Processing buffer {"connection_id":184955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:17] local.INFO: IMEI packet received {"connection_id":184955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":184955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:59:18] local.INFO: TCP Data received {"connection_id":184955,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:18] local.INFO: Processing buffer {"connection_id":184955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 06:59:18] local.INFO: IMEI packet received {"connection_id":184955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 06:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":184955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 06:59:44] local.INFO: TCP Data received {"connection_id":187585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfa9738012d7f390005d376f00004002926..."} 
[2026-09-17 06:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfa9738012d7f390005d376f00004002926..."} 
[2026-09-17 06:59:44] local.INFO: Processing buffer {"connection_id":187585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfa9738012d7f390005d376f00004002926..."} 
[2026-09-17 06:59:44] local.INFO: Packet analysis {"connection_id":187585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfa"} 
[2026-09-17 06:59:44] local.INFO: Extracted packet for processing {"connection_id":187585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfa"} 
[2026-09-17 06:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763312384,"raw_latitude":97744624,"longitude_deg":76.3312384,"latitude_deg":9.7744624,"altitude":4,"angle":41,"satellites":38,"speed":35,"hex_longitude":"2d7f3900","hex_latitude":"05d376f0","is_valid_coordinates":true} 
[2026-09-17 06:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 06:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139773696001,"note":"Value kept but may cause issues"} 
[2026-09-17 06:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133923673064079360,"note":"Value kept but may cause issues"} 
[2026-09-17 06:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162854941882906624,"note":"Value kept but may cause issues"} 
[2026-09-17 06:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 06:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789608499000,"timestamp_ms":1789608499000,"timestamp_seconds":1789608499,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfa9738"} 
[2026-09-17 06:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 06:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 06:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 06:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 06:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 06:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 06:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 06:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 06:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 06:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 06:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 06:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 06:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139773696001,"66":12917,"167":206,"85":15104,"24":35,"16":133923673064079360,"45":9162854941882906624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-17 06:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 06:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 06:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139773696001,"description":"Unknown IO ID 0"} 
[2026-09-17 06:59:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 06:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 06:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133923673064079360,"km_value":133923673064079.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 06:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162854941882906624,"description":"Unknown IO ID 45"} 
[2026-09-17 06:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139773696001,"power":12917,"unknown_167":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9162854941882906624}} 
[2026-09-17 06:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":187585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 06:59:44] local.INFO: GPS data processed {"connection_id":187585,"processed":1,"errors":0,"total":1} 
[2026-09-17 06:59:44] local.INFO: Acknowledgment sent {"connection_id":187585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:00:07] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:00:07] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:00:07] local.INFO: IMEI packet received {"connection_id":186258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":186258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:00:12] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:00:12] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:00:12] local.INFO: IMEI packet received {"connection_id":186258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":186258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:00:13] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfbe728012d803dc005d38f000008009a26..."} 
[2026-09-17 07:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfbe728012d803dc005d38f000008009a26..."} 
[2026-09-17 07:00:13] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfbe728012d803dc005d38f000008009a26..."} 
[2026-09-17 07:00:13] local.INFO: Packet analysis {"connection_id":186258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfb"} 
[2026-09-17 07:00:13] local.INFO: Extracted packet for processing {"connection_id":186258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfb"} 
[2026-09-17 07:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763379136,"raw_latitude":97750784,"longitude_deg":76.3379136,"latitude_deg":9.7750784,"altitude":8,"angle":154,"satellites":38,"speed":28,"hex_longitude":"2d803dc0","hex_latitude":"05d38f00","is_valid_coordinates":true} 
[2026-09-17 07:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139797504001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133927027433537536,"note":"Value kept but may cause issues"} 
[2026-09-17 07:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206272406995214336,"note":"Value kept but may cause issues"} 
[2026-09-17 07:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789608585000,"timestamp_ms":1789608585000,"timestamp_seconds":1789608585,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfbe728"} 
[2026-09-17 07:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-17 07:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139797504001,"66":13646,"109":206,"85":15104,"24":28,"16":133927027433537536,"45":-9206272406995214336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-17 07:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139797504001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:00:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 07:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133927027433537536,"km_value":133927027433537.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206272406995214336,"description":"Unknown IO ID 45"} 
[2026-09-17 07:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139797504001,"power":13646,"unknown_109":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9206272406995214336}} 
[2026-09-17 07:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":186258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:00:13] local.INFO: GPS data processed {"connection_id":186258,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:00:13] local.INFO: Acknowledgment sent {"connection_id":186258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:00:44] local.INFO: TCP Data received {"connection_id":186258,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfbf2e0012d80418005d387280008008e25..."} 
[2026-09-17 07:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfbf2e0012d80418005d387280008008e25..."} 
[2026-09-17 07:00:44] local.INFO: Processing buffer {"connection_id":186258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfbf2e0012d80418005d387280008008e25..."} 
[2026-09-17 07:00:44] local.INFO: Packet analysis {"connection_id":186258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfb"} 
[2026-09-17 07:00:44] local.INFO: Extracted packet for processing {"connection_id":186258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfb"} 
[2026-09-17 07:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763380096,"raw_latitude":97748776,"longitude_deg":76.3380096,"latitude_deg":9.7748776,"altitude":8,"angle":142,"satellites":37,"speed":30,"hex_longitude":"2d804180","hex_latitude":"05d38728","is_valid_coordinates":true} 
[2026-09-17 07:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139797760001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133927134807719936,"note":"Value kept but may cause issues"} 
[2026-09-17 07:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205990932018692096,"note":"Value kept but may cause issues"} 
[2026-09-17 07:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789608588000,"timestamp_ms":1789608588000,"timestamp_seconds":1789608588,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfbf2e0"} 
[2026-09-17 07:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-17 07:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139797760001,"66":13493,"167":206,"85":15104,"24":30,"16":133927134807719936,"45":-9205990932018692096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-17 07:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139797760001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:00:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 07:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133927134807719936,"km_value":133927134807719.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205990932018692096,"description":"Unknown IO ID 45"} 
[2026-09-17 07:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139797760001,"power":13493,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9205990932018692096}} 
[2026-09-17 07:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":186258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:00:44] local.INFO: GPS data processed {"connection_id":186258,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:00:44] local.INFO: Acknowledgment sent {"connection_id":186258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:01:09] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:01:09] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:01:09] local.INFO: IMEI packet received {"connection_id":186259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":186259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:01:12] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:01:12] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:01:12] local.INFO: IMEI packet received {"connection_id":186259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":186259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:01:15] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:01:15] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:01:15] local.INFO: IMEI packet received {"connection_id":186259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":186259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:01:15] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfcba18012d80ac8005d35f98000800b425..."} 
[2026-09-17 07:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfcba18012d80ac8005d35f98000800b425..."} 
[2026-09-17 07:01:15] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfcba18012d80ac8005d35f98000800b425..."} 
[2026-09-17 07:01:15] local.INFO: Packet analysis {"connection_id":186259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfc"} 
[2026-09-17 07:01:15] local.INFO: Extracted packet for processing {"connection_id":186259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfc"} 
[2026-09-17 07:01:15] local.INFO: GPS Element Parsed {"raw_longitude":763407488,"raw_latitude":97738648,"longitude_deg":76.3407488,"latitude_deg":9.7738648,"altitude":8,"angle":180,"satellites":37,"speed":26,"hex_longitude":"2d80ac80","hex_latitude":"05d35f98","is_valid_coordinates":true} 
[2026-09-17 07:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139810048001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133928719650652160,"note":"Value kept but may cause issues"} 
[2026-09-17 07:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174184259652696064,"note":"Value kept but may cause issues"} 
[2026-09-17 07:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789608639000,"timestamp_ms":1789608639000,"timestamp_seconds":1789608639,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfcba18"} 
[2026-09-17 07:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 07:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139810048001,"66":13493,"167":206,"85":15104,"24":26,"16":133928719650652160,"45":-9174184259652696064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-17 07:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139810048001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:01:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 07:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133928719650652160,"km_value":133928719650652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174184259652696064,"description":"Unknown IO ID 45"} 
[2026-09-17 07:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139810048001,"power":13493,"unknown_167":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9174184259652696064}} 
[2026-09-17 07:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":186259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:01:16] local.INFO: GPS data processed {"connection_id":186259,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:01:16] local.INFO: Acknowledgment sent {"connection_id":186259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:01:16] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfce8f8012d80ab8005d33a30000600b325..."} 
[2026-09-17 07:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfce8f8012d80ab8005d33a30000600b325..."} 
[2026-09-17 07:01:16] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfce8f8012d80ab8005d33a30000600b325..."} 
[2026-09-17 07:01:16] local.INFO: Packet analysis {"connection_id":186259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfc"} 
[2026-09-17 07:01:16] local.INFO: Extracted packet for processing {"connection_id":186259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfc"} 
[2026-09-17 07:01:16] local.INFO: GPS Element Parsed {"raw_longitude":763407232,"raw_latitude":97729072,"longitude_deg":76.3407232,"latitude_deg":9.7729072,"altitude":6,"angle":179,"satellites":37,"speed":32,"hex_longitude":"2d80ab80","hex_latitude":"05d33a30","is_valid_coordinates":true} 
[2026-09-17 07:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139811584001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133929187802087424,"note":"Value kept but may cause issues"} 
[2026-09-17 07:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174817578351093760,"note":"Value kept but may cause issues"} 
[2026-09-17 07:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789608651000,"timestamp_ms":1789608651000,"timestamp_seconds":1789608651,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfce8f8"} 
[2026-09-17 07:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 07:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139811584001,"66":13276,"207":206,"85":15104,"24":32,"16":133929187802087424,"45":-9174817578351093760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 07:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139811584001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:01:16] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 07:01:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133929187802087424,"km_value":133929187802087.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174817578351093760,"description":"Unknown IO ID 45"} 
[2026-09-17 07:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139811584001,"power":13276,"unknown_207":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9174817578351093760}} 
[2026-09-17 07:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":186259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:01:16] local.INFO: GPS data processed {"connection_id":186259,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:01:16] local.INFO: Acknowledgment sent {"connection_id":186259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:01:47] local.INFO: TCP Data received {"connection_id":186259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfd0450012d80aa8005d32590000500c125..."} 
[2026-09-17 07:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfd0450012d80aa8005d32590000500c125..."} 
[2026-09-17 07:01:47] local.INFO: Processing buffer {"connection_id":186259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfd0450012d80aa8005d32590000500c125..."} 
[2026-09-17 07:01:47] local.INFO: Packet analysis {"connection_id":186259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:01:47] local.INFO: Extracted packet for processing {"connection_id":186259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763406976,"raw_latitude":97723792,"longitude_deg":76.3406976,"latitude_deg":9.7723792,"altitude":5,"angle":193,"satellites":37,"speed":28,"hex_longitude":"2d80aa80","hex_latitude":"05d32590","is_valid_coordinates":true} 
[2026-09-17 07:01: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-09-17 07:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139814656001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133929445500125184,"note":"Value kept but may cause issues"} 
[2026-09-17 07:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175099053330255872,"note":"Value kept but may cause issues"} 
[2026-09-17 07:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789608658000,"timestamp_ms":1789608658000,"timestamp_seconds":1789608658,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfd0450"} 
[2026-09-17 07:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 07:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:01: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-09-17 07:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139814656001,"66":13091,"207":206,"85":15104,"24":28,"16":133929445500125184,"45":-9175099053330255872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 07:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139814656001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:01:47] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 07:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133929445500125184,"km_value":133929445500125.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175099053330255872,"description":"Unknown IO ID 45"} 
[2026-09-17 07:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139814656001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9175099053330255872}} 
[2026-09-17 07:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":186259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:01:47] local.INFO: GPS data processed {"connection_id":186259,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:01:47] local.INFO: Acknowledgment sent {"connection_id":186259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:02:03] local.INFO: TCP Data received {"connection_id":184854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:02:03] local.INFO: Processing buffer {"connection_id":184854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:02:03] local.INFO: IMEI packet received {"connection_id":184854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":184854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:02:07] local.INFO: TCP Data received {"connection_id":184854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:02:07] local.INFO: Processing buffer {"connection_id":184854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:02:07] local.INFO: IMEI packet received {"connection_id":184854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":184854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:02:12] local.INFO: TCP Data received {"connection_id":184854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:02:12] local.INFO: Processing buffer {"connection_id":184854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:02:12] local.INFO: IMEI packet received {"connection_id":184854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":184854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:02:13] local.INFO: TCP Data received {"connection_id":184854,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfd8920012d80c94005d2f0d0000500a825..."} 
[2026-09-17 07:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfd8920012d80c94005d2f0d0000500a825..."} 
[2026-09-17 07:02:13] local.INFO: Processing buffer {"connection_id":184854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfd8920012d80c94005d2f0d0000500a825..."} 
[2026-09-17 07:02:13] local.INFO: Packet analysis {"connection_id":184854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:02:13] local.INFO: Extracted packet for processing {"connection_id":184854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763414848,"raw_latitude":97710288,"longitude_deg":76.3414848,"latitude_deg":9.7710288,"altitude":5,"angle":168,"satellites":37,"speed":21,"hex_longitude":"2d80c940","hex_latitude":"05d2f0d0","is_valid_coordinates":true} 
[2026-09-17 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139824896001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133930446227505152,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166865910266148864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789608692000,"timestamp_ms":1789608692000,"timestamp_seconds":1789608692,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfd8920"} 
[2026-09-17 07:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 07:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139824896001,"66":13319,"208":206,"85":15104,"24":21,"16":133930446227505152,"45":-9166865910266148864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 07:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139824896001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:02:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 07:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133930446227505152,"km_value":133930446227505.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166865910266148864,"description":"Unknown IO ID 45"} 
[2026-09-17 07:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139824896001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9166865910266148864}} 
[2026-09-17 07:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":184854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:02:13] local.INFO: GPS data processed {"connection_id":184854,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:02:13] local.INFO: Acknowledgment sent {"connection_id":184854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:02:43] local.INFO: TCP Data received {"connection_id":184854,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfdc3b8012d80ccc005d2ce58000500b325..."} 
[2026-09-17 07:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfdc3b8012d80ccc005d2ce58000500b325..."} 
[2026-09-17 07:02:43] local.INFO: Processing buffer {"connection_id":184854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfdc3b8012d80ccc005d2ce58000500b325..."} 
[2026-09-17 07:02:43] local.INFO: Packet analysis {"connection_id":184854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:02:43] local.INFO: Extracted packet for processing {"connection_id":184854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763415744,"raw_latitude":97701464,"longitude_deg":76.3415744,"latitude_deg":9.7701464,"altitude":5,"angle":179,"satellites":37,"speed":23,"hex_longitude":"2d80ccc0","hex_latitude":"05d2ce58","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139825152001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133930880019202048,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166725172777922560,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789608707000,"timestamp_ms":1789608707000,"timestamp_seconds":1789608707,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfdc3b8"} 
[2026-09-17 07:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2902280864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2160181253,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3539564544,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13465552,"corrected_to":0} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4252342273,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-414331148529621504,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2281778560,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221607161,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827447,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3500867584,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.WARNING: Large IO value detected {"io_id":253,"raw_value":5095824273313349637,"note":"Value kept but may cause issues"} 
[2026-09-17 07:02:43] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,208,85,24,241,157,16,209,160,133,45,192,242,5,38,10,66,129,128,244,6,125,1,240,203,227,172,210,4,113,205,21,78,171,56,36,239,52,2,219,3,18,181,253],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":203,"original":13465552,"validated":0},{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-09-17 07:02:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360472847058272256,"timestamp_seconds":360472847058272.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 07:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":184854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":184854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":184854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139825152001,"66":13678,"208":206,"85":15104,"24":23,"16":133930880019202048,"45":-9166725172777922560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 07:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139825152001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:02:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 07:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133930880019202048,"km_value":133930880019202.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166725172777922560,"description":"Unknown IO ID 45"} 
[2026-09-17 07:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139825152001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9166725172777922560}} 
[2026-09-17 07:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":184854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:02:44] local.INFO: GPS data processed {"connection_id":184854,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:02:44] local.INFO: Acknowledgment sent {"connection_id":184854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:03:04] local.INFO: TCP Data received {"connection_id":184959,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:04] local.INFO: Processing buffer {"connection_id":184959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:04] local.INFO: IMEI packet received {"connection_id":184959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":184959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:03:05] local.INFO: TCP Data received {"connection_id":184959,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:05] local.INFO: Processing buffer {"connection_id":184959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:05] local.INFO: IMEI packet received {"connection_id":184959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":184959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:03:06] local.INFO: TCP Data received {"connection_id":184959,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:06] local.INFO: Processing buffer {"connection_id":184959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:06] local.INFO: IMEI packet received {"connection_id":184959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":184959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:03:07] local.INFO: TCP Data received {"connection_id":184959,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:07] local.INFO: Processing buffer {"connection_id":184959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:03:07] local.INFO: IMEI packet received {"connection_id":184959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":184959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:03:16] local.INFO: TCP Data received {"connection_id":184958,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:03:16] local.INFO: Processing buffer {"connection_id":184958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:03:16] local.INFO: IMEI packet received {"connection_id":184958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":184958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:03:51] local.INFO: TCP Data received {"connection_id":186261,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:03:51] local.INFO: Processing buffer {"connection_id":186261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:03:51] local.INFO: IMEI packet received {"connection_id":186261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":186261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:04:24] local.INFO: TCP Data received {"connection_id":184960,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:04:24] local.INFO: Processing buffer {"connection_id":184960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:04:24] local.INFO: IMEI packet received {"connection_id":184960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":184960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:04:25] local.INFO: TCP Data received {"connection_id":184960,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:04:25] local.INFO: Processing buffer {"connection_id":184960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:04:25] local.INFO: Packet analysis {"connection_id":184960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:04:25] local.INFO: Extracted packet for processing {"connection_id":184960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139754752001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789608718000,"timestamp_ms":1789608718000,"timestamp_seconds":1789608718,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfdeeb0"} 
[2026-09-17 07:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":184960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":184960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":184960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:04:25] 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-09-17 07:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139754752001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139754752001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:04:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139754752001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":184960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:04:25] local.INFO: GPS data processed {"connection_id":184960,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:04:25] local.INFO: Acknowledgment sent {"connection_id":184960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:04:59] local.INFO: TCP Data received {"connection_id":184962,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:04:59] local.INFO: Processing buffer {"connection_id":184962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:04:59] local.INFO: IMEI packet received {"connection_id":184962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":184962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:05:04] local.INFO: TCP Data received {"connection_id":184962,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:05:04] local.INFO: Processing buffer {"connection_id":184962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:05:04] local.INFO: IMEI packet received {"connection_id":184962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":184962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:05:05] local.INFO: TCP Data received {"connection_id":184962,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:05:05] local.INFO: Processing buffer {"connection_id":184962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:05:05] local.INFO: Packet analysis {"connection_id":184962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:05:05] local.INFO: Extracted packet for processing {"connection_id":184962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139754752001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789608718000,"timestamp_ms":1789608718000,"timestamp_seconds":1789608718,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfdeeb0"} 
[2026-09-17 07:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:05:05] 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-09-17 07:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139754752001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139754752001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:05:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139754752001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":184962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:05:05] local.INFO: GPS data processed {"connection_id":184962,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:05:05] local.INFO: Acknowledgment sent {"connection_id":184962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:05:36] local.INFO: TCP Data received {"connection_id":184962,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:05:36] local.INFO: Processing buffer {"connection_id":184962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:05:36] local.INFO: Packet analysis {"connection_id":184962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:05:36] local.INFO: Extracted packet for processing {"connection_id":184962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139754752001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789608718000,"timestamp_ms":1789608718000,"timestamp_seconds":1789608718,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfdeeb0"} 
[2026-09-17 07:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:05:36] 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-09-17 07:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139754752001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139754752001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:05:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139754752001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":184962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:05:36] local.INFO: GPS data processed {"connection_id":184962,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:05:36] local.INFO: Acknowledgment sent {"connection_id":184962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:05:59] local.INFO: TCP Data received {"connection_id":186263,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:05:59] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:05:59] local.INFO: IMEI packet received {"connection_id":186263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":186263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:06:05] local.INFO: TCP Data received {"connection_id":186263,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:06:05] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:06:05] local.INFO: IMEI packet received {"connection_id":186263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":186263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:06:06] local.INFO: TCP Data received {"connection_id":186263,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:06:06] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:06:06] local.INFO: Packet analysis {"connection_id":186263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:06:06] local.INFO: Extracted packet for processing {"connection_id":186263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139754752001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789608718000,"timestamp_ms":1789608718000,"timestamp_seconds":1789608718,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfdeeb0"} 
[2026-09-17 07:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139754752001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139754752001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:06:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139754752001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":186263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:06:06] local.INFO: GPS data processed {"connection_id":186263,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:06:06] local.INFO: Acknowledgment sent {"connection_id":186263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:06:39] local.INFO: TCP Data received {"connection_id":186263,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:06:39] local.INFO: Processing buffer {"connection_id":186263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:06:39] local.INFO: Packet analysis {"connection_id":186263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:06:39] local.INFO: Extracted packet for processing {"connection_id":186263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139754752001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789608718000,"timestamp_ms":1789608718000,"timestamp_seconds":1789608718,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfdeeb0"} 
[2026-09-17 07:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139754752001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139754752001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:06:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139754752001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":186263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:06:39] local.INFO: GPS data processed {"connection_id":186263,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:06:39] local.INFO: Acknowledgment sent {"connection_id":186263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:06:58] local.INFO: TCP Data received {"connection_id":187588,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:06:58] local.INFO: Processing buffer {"connection_id":187588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:06:58] local.INFO: IMEI packet received {"connection_id":187588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":187588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:07:04] local.INFO: TCP Data received {"connection_id":187588,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:07:04] local.INFO: Processing buffer {"connection_id":187588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:07:04] local.INFO: IMEI packet received {"connection_id":187588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":187588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:07:05] local.INFO: TCP Data received {"connection_id":187588,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:07:05] local.INFO: Processing buffer {"connection_id":187588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:07:05] local.INFO: Packet analysis {"connection_id":187588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:07:05] local.INFO: Extracted packet for processing {"connection_id":187588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139754752001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789608718000,"timestamp_ms":1789608718000,"timestamp_seconds":1789608718,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfdeeb0"} 
[2026-09-17 07:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:07:05] 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-09-17 07:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139754752001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139754752001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:07:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139754752001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":187588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:07:05] local.INFO: GPS data processed {"connection_id":187588,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:07:05] local.INFO: Acknowledgment sent {"connection_id":187588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:07:37] local.INFO: TCP Data received {"connection_id":187588,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:07:37] local.INFO: Processing buffer {"connection_id":187588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0acfdeeb0012d34c3c006aa4458000c01172e..."} 
[2026-09-17 07:07:37] local.INFO: Packet analysis {"connection_id":187588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:07:37] local.INFO: Extracted packet for processing {"connection_id":187588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0acfd"} 
[2026-09-17 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139754752001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789608718000,"timestamp_ms":1789608718000,"timestamp_seconds":1789608718,"priority":1,"record_length":96,"hex_timestamp":"000001a0acfdeeb0"} 
[2026-09-17 07:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:07:37] 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-09-17 07:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139754752001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139754752001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:07:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139754752001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":187588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:07:37] local.INFO: GPS data processed {"connection_id":187588,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:07:37] local.INFO: Acknowledgment sent {"connection_id":187588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:08:08] local.INFO: TCP Data received {"connection_id":184856,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:08:08] local.INFO: Processing buffer {"connection_id":184856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:08:08] local.INFO: IMEI packet received {"connection_id":184856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":184856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:08:09] local.INFO: TCP Data received {"connection_id":184855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:08:09] local.INFO: Processing buffer {"connection_id":184855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:08:09] local.INFO: IMEI packet received {"connection_id":184855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":184855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:08:10] local.INFO: TCP Data received {"connection_id":184855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad02d0b0012d8294c005d16b18000d001c23..."} 
[2026-09-17 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad02d0b0012d8294c005d16b18000d001c23..."} 
[2026-09-17 07:08:10] local.INFO: Processing buffer {"connection_id":184855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad02d0b0012d8294c005d16b18000d001c23..."} 
[2026-09-17 07:08:10] local.INFO: Packet analysis {"connection_id":184855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:08:10] local.INFO: Extracted packet for processing {"connection_id":184855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97610520,"longitude_deg":76.353248,"latitude_deg":9.761052,"altitude":13,"angle":28,"satellites":35,"speed":7,"hex_longitude":"2d8294c0","hex_latitude":"05d16b18","is_valid_coordinates":true} 
[2026-09-17 07:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139913472001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133940363306991616,"note":"Value kept but may cause issues"} 
[2026-09-17 07:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037457789749125120,"note":"Value kept but may cause issues"} 
[2026-09-17 07:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789609038000,"timestamp_ms":1789609038000,"timestamp_seconds":1789609038,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad02d0b0"} 
[2026-09-17 07:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 07:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139913472001,"66":13472,"64":206,"85":15104,"24":7,"16":133940363306991616,"45":-9037457789749125120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-17 07:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139913472001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:08:10] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-17 07:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133940363306991616,"km_value":133940363306991.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037457789749125120,"description":"Unknown IO ID 45"} 
[2026-09-17 07:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139913472001,"power":13472,"unknown_64":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9037457789749125120}} 
[2026-09-17 07:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":184855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:08:10] local.INFO: GPS data processed {"connection_id":184855,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:08:10] local.INFO: Acknowledgment sent {"connection_id":184855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:08:14] local.INFO: TCP Data received {"connection_id":184856,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:08:14] local.INFO: Processing buffer {"connection_id":184856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:08:14] local.INFO: IMEI packet received {"connection_id":184856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":184856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:08:15] local.INFO: TCP Data received {"connection_id":184856,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:08:15] local.INFO: Processing buffer {"connection_id":184856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:08:15] local.INFO: Packet analysis {"connection_id":184856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:08:15] local.INFO: Extracted packet for processing {"connection_id":184856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139831808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789609019000,"timestamp_ms":1789609019000,"timestamp_seconds":1789609019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad028678"} 
[2026-09-17 07:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:08: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-09-17 07:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139831808001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139831808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:08:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139831808001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":184856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:08:15] local.INFO: GPS data processed {"connection_id":184856,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:08:15] local.INFO: Acknowledgment sent {"connection_id":184856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:08:41] local.INFO: TCP Data received {"connection_id":184855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad02d880012d82954005d16cc8000d000523..."} 
[2026-09-17 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad02d880012d82954005d16cc8000d000523..."} 
[2026-09-17 07:08:41] local.INFO: Processing buffer {"connection_id":184855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad02d880012d82954005d16cc8000d000523..."} 
[2026-09-17 07:08:41] local.INFO: Packet analysis {"connection_id":184855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:08:41] local.INFO: Extracted packet for processing {"connection_id":184855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97610952,"longitude_deg":76.3532608,"latitude_deg":9.7610952,"altitude":13,"angle":5,"satellites":35,"speed":10,"hex_longitude":"2d829540","hex_latitude":"05d16cc8","is_valid_coordinates":true} 
[2026-09-17 07:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139913728001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133940384781828096,"note":"Value kept but may cause issues"} 
[2026-09-17 07:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387421004916736,"note":"Value kept but may cause issues"} 
[2026-09-17 07:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789609040000,"timestamp_ms":1789609040000,"timestamp_seconds":1789609040,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad02d880"} 
[2026-09-17 07:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 07:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":184855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":184855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":184855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139913728001,"66":13472,"64":206,"85":15104,"24":10,"16":133940384781828096,"45":-9037387421004916736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-17 07:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139913728001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:08:41] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-17 07:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133940384781828096,"km_value":133940384781828.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387421004916736,"description":"Unknown IO ID 45"} 
[2026-09-17 07:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139913728001,"power":13472,"unknown_64":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9037387421004916736}} 
[2026-09-17 07:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":184855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:08:41] local.INFO: GPS data processed {"connection_id":184855,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:08:41] local.INFO: Acknowledgment sent {"connection_id":184855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:09:13] local.INFO: TCP Data received {"connection_id":184968,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:09:13] local.INFO: Processing buffer {"connection_id":184968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:09:13] local.INFO: IMEI packet received {"connection_id":184968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":184968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:09:16] local.INFO: TCP Data received {"connection_id":186265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:09:16] local.INFO: Processing buffer {"connection_id":186265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:09:16] local.INFO: IMEI packet received {"connection_id":186265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":186265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:09:19] local.INFO: TCP Data received {"connection_id":184968,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:09:19] local.INFO: Processing buffer {"connection_id":184968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:09:19] local.INFO: IMEI packet received {"connection_id":184968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":184968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:09:21] local.INFO: TCP Data received {"connection_id":184968,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:09:21] local.INFO: Processing buffer {"connection_id":184968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:09:21] local.INFO: Packet analysis {"connection_id":184968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:09:21] local.INFO: Extracted packet for processing {"connection_id":184968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139831808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789609019000,"timestamp_ms":1789609019000,"timestamp_seconds":1789609019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad028678"} 
[2026-09-17 07:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":184968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":184968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":184968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139831808001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139831808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:09:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139831808001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":184968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:09:21] local.INFO: GPS data processed {"connection_id":184968,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:09:21] local.INFO: Acknowledgment sent {"connection_id":184968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:09:23] local.INFO: TCP Data received {"connection_id":184968,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:09:23] local.INFO: Processing buffer {"connection_id":184968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:09:23] local.INFO: Packet analysis {"connection_id":184968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:09:23] local.INFO: Extracted packet for processing {"connection_id":184968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139831808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789609019000,"timestamp_ms":1789609019000,"timestamp_seconds":1789609019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad028678"} 
[2026-09-17 07:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":184968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":184968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":184968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139831808001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139831808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:09:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139831808001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":184968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:09:23] local.INFO: GPS data processed {"connection_id":184968,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:09:23] local.INFO: Acknowledgment sent {"connection_id":184968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:09:50] local.INFO: TCP Data received {"connection_id":184857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:09:51] local.INFO: Processing buffer {"connection_id":184857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:09:51] local.INFO: IMEI packet received {"connection_id":184857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":184857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:09:59] local.INFO: TCP Data received {"connection_id":186266,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:09:59] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:09:59] local.INFO: IMEI packet received {"connection_id":186266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":186266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:10:06] local.INFO: TCP Data received {"connection_id":186266,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:10:06] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:10:06] local.INFO: IMEI packet received {"connection_id":186266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":186266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:10:08] local.INFO: TCP Data received {"connection_id":186266,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:10:08] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:10:08] local.INFO: IMEI packet received {"connection_id":186266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":186266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:10:09] local.INFO: TCP Data received {"connection_id":186266,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:10:09] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:10:09] local.INFO: Packet analysis {"connection_id":186266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:10:09] local.INFO: Extracted packet for processing {"connection_id":186266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139831808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789609019000,"timestamp_ms":1789609019000,"timestamp_seconds":1789609019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad028678"} 
[2026-09-17 07:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:10: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-09-17 07:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139831808001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139831808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:10:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139831808001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":186266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:10:09] local.INFO: GPS data processed {"connection_id":186266,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:10:09] local.INFO: Acknowledgment sent {"connection_id":186266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:10:41] local.INFO: TCP Data received {"connection_id":186266,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:10:41] local.INFO: Processing buffer {"connection_id":186266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:10:41] local.INFO: Packet analysis {"connection_id":186266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:10:41] local.INFO: Extracted packet for processing {"connection_id":186266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139831808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789609019000,"timestamp_ms":1789609019000,"timestamp_seconds":1789609019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad028678"} 
[2026-09-17 07:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:10:41] 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-09-17 07:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139831808001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139831808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:10:41] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139831808001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":186266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:10:41] local.INFO: GPS data processed {"connection_id":186266,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:10:41] local.INFO: Acknowledgment sent {"connection_id":186266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:10:58] local.INFO: TCP Data received {"connection_id":184969,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:10:58] local.INFO: Processing buffer {"connection_id":184969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:10:58] local.INFO: IMEI packet received {"connection_id":184969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":184969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:11:04] local.INFO: TCP Data received {"connection_id":184969,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:11:04] local.INFO: Processing buffer {"connection_id":184969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:11:04] local.INFO: IMEI packet received {"connection_id":184969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":184969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:11:05] local.INFO: TCP Data received {"connection_id":184969,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:11:05] local.INFO: Processing buffer {"connection_id":184969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:11:05] local.INFO: Packet analysis {"connection_id":184969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:11:05] local.INFO: Extracted packet for processing {"connection_id":184969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139831808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789609019000,"timestamp_ms":1789609019000,"timestamp_seconds":1789609019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad028678"} 
[2026-09-17 07:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139831808001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139831808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:11:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139831808001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":184969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:11:05] local.INFO: GPS data processed {"connection_id":184969,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:11:05] local.INFO: Acknowledgment sent {"connection_id":184969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:11:36] local.INFO: TCP Data received {"connection_id":184969,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:11:36] local.INFO: Processing buffer {"connection_id":184969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:11:36] local.INFO: Packet analysis {"connection_id":184969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:11:36] local.INFO: Extracted packet for processing {"connection_id":184969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139831808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789609019000,"timestamp_ms":1789609019000,"timestamp_seconds":1789609019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad028678"} 
[2026-09-17 07:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139831808001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139831808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:11:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139831808001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":184969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:11:36] local.INFO: GPS data processed {"connection_id":184969,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:11:36] local.INFO: Acknowledgment sent {"connection_id":184969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:12:04] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:12:04] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:12:04] local.INFO: IMEI packet received {"connection_id":186267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":186267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:12:12] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:12:12] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:12:12] local.INFO: IMEI packet received {"connection_id":186267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":186267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:12:13] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:12:13] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:12:13] local.INFO: Packet analysis {"connection_id":186267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:12:13] local.INFO: Extracted packet for processing {"connection_id":186267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139831808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789609019000,"timestamp_ms":1789609019000,"timestamp_seconds":1789609019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad028678"} 
[2026-09-17 07:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:12:13] 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-09-17 07:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139831808001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139831808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:12:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139831808001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":186267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:12:13] local.INFO: GPS data processed {"connection_id":186267,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:12:13] local.INFO: Acknowledgment sent {"connection_id":186267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:12:14] local.INFO: TCP Data received {"connection_id":186267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:12:14] local.INFO: Processing buffer {"connection_id":186267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad028678012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:12:14] local.INFO: Packet analysis {"connection_id":186267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:12:14] local.INFO: Extracted packet for processing {"connection_id":186267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad02"} 
[2026-09-17 07:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139831808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789609019000,"timestamp_ms":1789609019000,"timestamp_seconds":1789609019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad028678"} 
[2026-09-17 07:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:12: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-09-17 07:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139831808001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139831808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:12:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139831808001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":186267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:12:14] local.INFO: GPS data processed {"connection_id":186267,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:12:14] local.INFO: Acknowledgment sent {"connection_id":186267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:12:58] local.INFO: TCP Data received {"connection_id":187591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:12:58] local.INFO: Processing buffer {"connection_id":187591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:12:58] local.INFO: IMEI packet received {"connection_id":187591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":187591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:13:11] local.INFO: TCP Data received {"connection_id":187591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:13:11] local.INFO: Processing buffer {"connection_id":187591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:13:11] local.INFO: IMEI packet received {"connection_id":187591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":187591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:13:12] local.INFO: TCP Data received {"connection_id":187591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:13:12] local.INFO: Processing buffer {"connection_id":187591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:13:12] local.INFO: Packet analysis {"connection_id":187591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:13:12] local.INFO: Extracted packet for processing {"connection_id":187591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139908864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789609320000,"timestamp_ms":1789609320000,"timestamp_seconds":1789609320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad071e40"} 
[2026-09-17 07:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:13:12] 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-09-17 07:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139908864001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139908864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:13:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:13:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139908864001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":187591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:13:12] local.INFO: GPS data processed {"connection_id":187591,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:13:12] local.INFO: Acknowledgment sent {"connection_id":187591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:13:44] local.INFO: TCP Data received {"connection_id":187591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:13:44] local.INFO: Processing buffer {"connection_id":187591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:13:44] local.INFO: Packet analysis {"connection_id":187591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:13:44] local.INFO: Extracted packet for processing {"connection_id":187591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139908864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789609320000,"timestamp_ms":1789609320000,"timestamp_seconds":1789609320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad071e40"} 
[2026-09-17 07:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:13:44] 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-09-17 07:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139908864001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139908864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:13:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139908864001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":187591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:13:45] local.INFO: GPS data processed {"connection_id":187591,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:13:45] local.INFO: Acknowledgment sent {"connection_id":187591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:13:58] local.INFO: TCP Data received {"connection_id":184859,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:13:58] local.INFO: Processing buffer {"connection_id":184859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:13:58] local.INFO: IMEI packet received {"connection_id":184859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":184859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:14:07] local.INFO: TCP Data received {"connection_id":184859,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:14:07] local.INFO: Processing buffer {"connection_id":184859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:14:07] local.INFO: IMEI packet received {"connection_id":184859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":184859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:14:08] local.INFO: TCP Data received {"connection_id":184859,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:14:08] local.INFO: Processing buffer {"connection_id":184859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:14:08] local.INFO: Packet analysis {"connection_id":184859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:14:08] local.INFO: Extracted packet for processing {"connection_id":184859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139908864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789609320000,"timestamp_ms":1789609320000,"timestamp_seconds":1789609320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad071e40"} 
[2026-09-17 07:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":184859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":184859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":184859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:14: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-09-17 07:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139908864001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139908864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:14:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139908864001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":184859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:14:08] local.INFO: GPS data processed {"connection_id":184859,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:14:08] local.INFO: Acknowledgment sent {"connection_id":184859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:14:40] local.INFO: TCP Data received {"connection_id":184859,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:14:40] local.INFO: Processing buffer {"connection_id":184859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:14:40] local.INFO: Packet analysis {"connection_id":184859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:14:40] local.INFO: Extracted packet for processing {"connection_id":184859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:14:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139908864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789609320000,"timestamp_ms":1789609320000,"timestamp_seconds":1789609320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad071e40"} 
[2026-09-17 07:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":184859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":184859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":184859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07: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-09-17 07:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139908864001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139908864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:14:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:14:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139908864001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":184859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:14:40] local.INFO: GPS data processed {"connection_id":184859,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:14:40] local.INFO: Acknowledgment sent {"connection_id":184859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:15:03] local.INFO: TCP Data received {"connection_id":184971,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:15:03] local.INFO: Processing buffer {"connection_id":184971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:15:03] local.INFO: IMEI packet received {"connection_id":184971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":184971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:15:09] local.INFO: TCP Data received {"connection_id":184971,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:15:09] local.INFO: Processing buffer {"connection_id":184971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:15:09] local.INFO: IMEI packet received {"connection_id":184971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":184971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:15:09] local.INFO: TCP Data received {"connection_id":184971,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:15:09] local.INFO: Processing buffer {"connection_id":184971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:15:09] local.INFO: Packet analysis {"connection_id":184971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:15:09] local.INFO: Extracted packet for processing {"connection_id":184971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139908864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789609320000,"timestamp_ms":1789609320000,"timestamp_seconds":1789609320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad071e40"} 
[2026-09-17 07:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:15: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-09-17 07:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139908864001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139908864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:15:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139908864001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":184971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:15:09] local.INFO: GPS data processed {"connection_id":184971,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:15:09] local.INFO: Acknowledgment sent {"connection_id":184971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:15:11] local.INFO: TCP Data received {"connection_id":186268,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:15:11] local.INFO: Processing buffer {"connection_id":186268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:15:11] local.INFO: IMEI packet received {"connection_id":186268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":186268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:15:42] local.INFO: TCP Data received {"connection_id":184971,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:15:42] local.INFO: Processing buffer {"connection_id":184971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:15:42] local.INFO: Packet analysis {"connection_id":184971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:15:42] local.INFO: Extracted packet for processing {"connection_id":184971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139908864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789609320000,"timestamp_ms":1789609320000,"timestamp_seconds":1789609320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad071e40"} 
[2026-09-17 07:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":184971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":184971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":184971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:15:42] 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-09-17 07:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139908864001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139908864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:15:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139908864001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":184971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:15:42] local.INFO: GPS data processed {"connection_id":184971,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:15:42] local.INFO: Acknowledgment sent {"connection_id":184971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:15:51] local.INFO: TCP Data received {"connection_id":184860,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:15:51] local.INFO: Processing buffer {"connection_id":184860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:15:51] local.INFO: IMEI packet received {"connection_id":184860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":184860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:16:18] local.INFO: TCP Data received {"connection_id":184861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:16:18] local.INFO: Processing buffer {"connection_id":184861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:16:18] local.INFO: IMEI packet received {"connection_id":184861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":184861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:16:23] local.INFO: TCP Data received {"connection_id":184861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:16:23] local.INFO: Processing buffer {"connection_id":184861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:16:23] local.INFO: IMEI packet received {"connection_id":184861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":184861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:16:24] local.INFO: TCP Data received {"connection_id":184861,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:16:24] local.INFO: Processing buffer {"connection_id":184861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:16:24] local.INFO: Packet analysis {"connection_id":184861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:16:24] local.INFO: Extracted packet for processing {"connection_id":184861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139908864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789609320000,"timestamp_ms":1789609320000,"timestamp_seconds":1789609320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad071e40"} 
[2026-09-17 07:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":184861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":184861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":184861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:16:24] 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-09-17 07:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139908864001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139908864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:16:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139908864001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":184861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:16:24] local.INFO: GPS data processed {"connection_id":184861,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:16:24] local.INFO: Acknowledgment sent {"connection_id":184861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:16:58] local.INFO: TCP Data received {"connection_id":186269,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:16:58] local.INFO: Processing buffer {"connection_id":186269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:16:58] local.INFO: IMEI packet received {"connection_id":186269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":186269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:17:04] local.INFO: TCP Data received {"connection_id":186269,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:17:04] local.INFO: Processing buffer {"connection_id":186269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:17:04] local.INFO: IMEI packet received {"connection_id":186269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":186269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:17:04] local.INFO: TCP Data received {"connection_id":186269,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:17:04] local.INFO: Processing buffer {"connection_id":186269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:17:04] local.INFO: Packet analysis {"connection_id":186269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:17:04] local.INFO: Extracted packet for processing {"connection_id":186269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139908864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789609320000,"timestamp_ms":1789609320000,"timestamp_seconds":1789609320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad071e40"} 
[2026-09-17 07:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:17:04] 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-09-17 07:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139908864001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139908864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:17:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139908864001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":186269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:17:04] local.INFO: GPS data processed {"connection_id":186269,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:17:04] local.INFO: Acknowledgment sent {"connection_id":186269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:17:40] local.INFO: TCP Data received {"connection_id":186269,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:17:40] local.INFO: Processing buffer {"connection_id":186269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad071e40012d34c3c006aa4458000c01172d..."} 
[2026-09-17 07:17:40] local.INFO: Packet analysis {"connection_id":186269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:17:40] local.INFO: Extracted packet for processing {"connection_id":186269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139908864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789609320000,"timestamp_ms":1789609320000,"timestamp_seconds":1789609320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad071e40"} 
[2026-09-17 07:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:17: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-09-17 07:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139908864001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139908864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:17:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139908864001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":186269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:17:40] local.INFO: GPS data processed {"connection_id":186269,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:17:40] local.INFO: Acknowledgment sent {"connection_id":186269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:17:59] local.INFO: TCP Data received {"connection_id":184975,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:17:59] local.INFO: Processing buffer {"connection_id":184975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:17:59] local.INFO: IMEI packet received {"connection_id":184975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":184975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:18:04] local.INFO: TCP Data received {"connection_id":184975,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:18:04] local.INFO: Processing buffer {"connection_id":184975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:18:04] local.INFO: IMEI packet received {"connection_id":184975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":184975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:18:11] local.INFO: TCP Data received {"connection_id":184975,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:18:11] local.INFO: Processing buffer {"connection_id":184975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:18:11] local.INFO: Packet analysis {"connection_id":184975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:18:11] local.INFO: Extracted packet for processing {"connection_id":184975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:18:11] 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-09-17 07:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:18:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":184975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:18:11] local.INFO: GPS data processed {"connection_id":184975,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:18:11] local.INFO: Acknowledgment sent {"connection_id":184975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:18:32] local.INFO: TCP Data received {"connection_id":187592,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:18:32] local.INFO: Processing buffer {"connection_id":187592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:18:32] local.INFO: IMEI packet received {"connection_id":187592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":187592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:18:36] local.INFO: TCP Data received {"connection_id":187592,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:18:36] local.INFO: Processing buffer {"connection_id":187592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:18:36] local.INFO: IMEI packet received {"connection_id":187592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":187592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:18:36] local.INFO: TCP Data received {"connection_id":187592,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0ceaa0012d81c14005d4bea80006002226..."} 
[2026-09-17 07:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0ceaa0012d81c14005d4bea80006002226..."} 
[2026-09-17 07:18:36] local.INFO: Processing buffer {"connection_id":187592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0ceaa0012d81c14005d4bea80006002226..."} 
[2026-09-17 07:18:36] local.INFO: Packet analysis {"connection_id":187592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0c"} 
[2026-09-17 07:18:36] local.INFO: Extracted packet for processing {"connection_id":187592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0c"} 
[2026-09-17 07:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763478336,"raw_latitude":97828520,"longitude_deg":76.3478336,"latitude_deg":9.782852,"altitude":6,"angle":34,"satellites":38,"speed":24,"hex_longitude":"2d81c140","hex_latitude":"05d4bea8","is_valid_coordinates":true} 
[2026-09-17 07:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140082688001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133953913928810496,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097834172197937152,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789609700000,"timestamp_ms":1789609700000,"timestamp_seconds":1789609700,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0ceaa0"} 
[2026-09-17 07:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-17 07:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140082688001,"66":13439,"166":206,"85":15104,"24":24,"16":133953913928810496,"45":-9097834172197937152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-17 07:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140082688001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:18:36] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-17 07:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133953913928810496,"km_value":133953913928810.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097834172197937152,"description":"Unknown IO ID 45"} 
[2026-09-17 07:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140082688001,"power":13439,"unknown_166":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9097834172197937152}} 
[2026-09-17 07:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":187592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:18:36] local.INFO: GPS data processed {"connection_id":187592,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:18:36] local.INFO: Acknowledgment sent {"connection_id":187592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:18:37] local.INFO: TCP Data received {"connection_id":187592,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0cee88012d81c20005d4c0c00006001425..."} 
[2026-09-17 07:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0cee88012d81c20005d4c0c00006001425..."} 
[2026-09-17 07:18:37] local.INFO: Processing buffer {"connection_id":187592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0cee88012d81c20005d4c0c00006001425..."} 
[2026-09-17 07:18:37] local.INFO: Packet analysis {"connection_id":187592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0c"} 
[2026-09-17 07:18:37] local.INFO: Extracted packet for processing {"connection_id":187592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0c"} 
[2026-09-17 07:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763478528,"raw_latitude":97829056,"longitude_deg":76.3478528,"latitude_deg":9.7829056,"altitude":6,"angle":20,"satellites":37,"speed":24,"hex_longitude":"2d81c200","hex_latitude":"05d4c0c0","is_valid_coordinates":true} 
[2026-09-17 07:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140083200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133953943993581568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096919378523412480,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789609701000,"timestamp_ms":1789609701000,"timestamp_seconds":1789609701,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0cee88"} 
[2026-09-17 07:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-17 07:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140083200001,"66":12917,"166":206,"85":15104,"24":24,"16":133953943993581568,"45":-9096919378523412480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-17 07:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140083200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:18:37] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-17 07:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133953943993581568,"km_value":133953943993581.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096919378523412480,"description":"Unknown IO ID 45"} 
[2026-09-17 07:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140083200001,"power":12917,"unknown_166":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9096919378523412480}} 
[2026-09-17 07:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":187592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:18:37] local.INFO: GPS data processed {"connection_id":187592,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:18:37] local.INFO: Acknowledgment sent {"connection_id":187592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:18:44] local.INFO: TCP Data received {"connection_id":184975,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:18:44] local.INFO: Processing buffer {"connection_id":184975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:18:44] local.INFO: Packet analysis {"connection_id":184975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:18:44] local.INFO: Extracted packet for processing {"connection_id":184975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:18:44] 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-09-17 07:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:18:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":184975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:18:44] local.INFO: GPS data processed {"connection_id":184975,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:18:44] local.INFO: Acknowledgment sent {"connection_id":184975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:18:58] local.INFO: TCP Data received {"connection_id":184976,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:18:58] local.INFO: Processing buffer {"connection_id":184976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:18:58] local.INFO: IMEI packet received {"connection_id":184976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":184976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:19:04] local.INFO: TCP Data received {"connection_id":184976,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:19:04] local.INFO: Processing buffer {"connection_id":184976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:19:04] local.INFO: IMEI packet received {"connection_id":184976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":184976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:19:04] local.INFO: TCP Data received {"connection_id":184976,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:19:05] local.INFO: Processing buffer {"connection_id":184976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:19:05] local.INFO: Packet analysis {"connection_id":184976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:19:05] local.INFO: Extracted packet for processing {"connection_id":184976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:19:05] 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-09-17 07:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:19:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":184976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:19:05] local.INFO: GPS data processed {"connection_id":184976,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:19:05] local.INFO: Acknowledgment sent {"connection_id":184976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:19:08] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:19:08] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:19:08] local.INFO: IMEI packet received {"connection_id":184863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":184863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:19:14] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 07:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 07:19:14] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 07:19:14] local.INFO: IMEI packet received {"connection_id":184863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":184863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:19:15] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0cf270012d81c24005d4c3980006000426..."} 
[2026-09-17 07:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0cf270012d81c24005d4c3980006000426..."} 
[2026-09-17 07:19:15] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 07:19:15] local.INFO: IMEI packet received {"connection_id":184863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":184863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:19:16] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0cfa40012d81c18005d4ca000006016126..."} 
[2026-09-17 07:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0cfa40012d81c18005d4ca000006016126..."} 
[2026-09-17 07:19:16] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0ad..."} 
[2026-09-17 07:19:16] local.INFO: IMEI packet received {"connection_id":184863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":184863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:19:17] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0d2150012d81bb4005d4ed300004015d27..."} 
[2026-09-17 07:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0d2150012d81bb4005d4ed300004015d27..."} 
[2026-09-17 07:19:17] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0ad0cf270012d81c24005d4c3980006000426..."} 
[2026-09-17 07:19:17] local.INFO: Packet analysis {"connection_id":184863,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0ad0c"} 
[2026-09-17 07:19:17] local.INFO: Extracted packet for processing {"connection_id":184863,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ad0c"} 
[2026-09-17 07:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763478592,"raw_latitude":97829784,"longitude_deg":76.3478592,"latitude_deg":9.7829784,"altitude":6,"angle":4,"satellites":38,"speed":28,"hex_longitude":"2d81c240","hex_latitude":"05d4c398","is_valid_coordinates":true} 
[2026-09-17 07:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140083456001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133953978353319936,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096708272290742272,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789609702000,"timestamp_ms":1789609702000,"timestamp_seconds":1789609702,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0cf270"} 
[2026-09-17 07:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 07:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":184863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":184863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":184863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140083456001,"66":13417,"166":206,"85":15104,"24":28,"16":133953978353319936,"45":-9096708272290742272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140083456001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133953978353319936,"km_value":133953978353319.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096708272290742272,"description":"Unknown IO ID 45"} 
[2026-09-17 07:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140083456001,"power":13417,"unknown_166":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9096708272290742272}} 
[2026-09-17 07:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":184863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:19:17] local.INFO: GPS data processed {"connection_id":184863,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:19:17] local.INFO: Acknowledgment sent {"connection_id":184863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:19:17] local.INFO: Packet analysis {"connection_id":184863,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ad0c"} 
[2026-09-17 07:19:17] local.INFO: Extracted packet for processing {"connection_id":184863,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0c"} 
[2026-09-17 07:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763478400,"raw_latitude":97831424,"longitude_deg":76.34784,"latitude_deg":9.7831424,"altitude":6,"angle":353,"satellites":38,"speed":33,"hex_longitude":"2d81c180","hex_latitude":"05d4ca00","is_valid_coordinates":true} 
[2026-09-17 07:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140083712001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133954059957698560,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096637903546378240,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789609704000,"timestamp_ms":1789609704000,"timestamp_seconds":1789609704,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0cfa40"} 
[2026-09-17 07:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-17 07:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":184863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":184863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":184863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140083712001,"66":13417,"166":206,"85":15104,"24":33,"16":133954059957698560,"45":-9096637903546378240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140083712001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133954059957698560,"km_value":133954059957698.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096637903546378240,"description":"Unknown IO ID 45"} 
[2026-09-17 07:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140083712001,"power":13417,"unknown_166":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9096637903546378240}} 
[2026-09-17 07:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":184863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:19:17] local.INFO: GPS data processed {"connection_id":184863,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:19:17] local.INFO: Acknowledgment sent {"connection_id":184863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:19:17] local.INFO: Packet analysis {"connection_id":184863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0d"} 
[2026-09-17 07:19:17] local.INFO: Extracted packet for processing {"connection_id":184863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0d"} 
[2026-09-17 07:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763476800,"raw_latitude":97840432,"longitude_deg":76.34768,"latitude_deg":9.7840432,"altitude":4,"angle":349,"satellites":39,"speed":40,"hex_longitude":"2d81bb40","hex_latitude":"05d4ed30","is_valid_coordinates":true} 
[2026-09-17 07:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140084224001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133954502339330048,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096849009778491392,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789609714000,"timestamp_ms":1789609714000,"timestamp_seconds":1789609714,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0d2150"} 
[2026-09-17 07:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-17 07:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":184863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":184863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":184863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140084224001,"66":12385,"166":206,"85":15104,"24":40,"16":133954502339330048,"45":-9096849009778491392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-17 07:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140084224001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133954502339330048,"km_value":133954502339330.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096849009778491392,"description":"Unknown IO ID 45"} 
[2026-09-17 07:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140084224001,"power":12385,"unknown_166":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9096849009778491392}} 
[2026-09-17 07:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":184863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:19:17] local.INFO: GPS data processed {"connection_id":184863,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:19:17] local.INFO: Acknowledgment sent {"connection_id":184863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:19:22] local.INFO: TCP Data received {"connection_id":184863,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0d4478012d81b50005d50fe80003016027..."} 
[2026-09-17 07:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0d4478012d81b50005d50fe80003016027..."} 
[2026-09-17 07:19:22] local.INFO: Processing buffer {"connection_id":184863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0d4478012d81b50005d50fe80003016027..."} 
[2026-09-17 07:19:22] local.INFO: Packet analysis {"connection_id":184863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0d"} 
[2026-09-17 07:19:22] local.INFO: Extracted packet for processing {"connection_id":184863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0d"} 
[2026-09-17 07:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763475200,"raw_latitude":97849320,"longitude_deg":76.34752,"latitude_deg":9.784932,"altitude":3,"angle":352,"satellites":39,"speed":38,"hex_longitude":"2d81b500","hex_latitude":"05d50fe8","is_valid_coordinates":true} 
[2026-09-17 07:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140086784001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133954940425994240,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098608228380626944,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789609723000,"timestamp_ms":1789609723000,"timestamp_seconds":1789609723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0d4478"} 
[2026-09-17 07:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":184863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":184863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":184863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140086784001,"66":13243,"166":206,"85":15104,"24":38,"16":133954940425994240,"45":-9098608228380626944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-17 07:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140086784001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:19:22] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-17 07:19:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133954940425994240,"km_value":133954940425994.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098608228380626944,"description":"Unknown IO ID 45"} 
[2026-09-17 07:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140086784001,"power":13243,"unknown_166":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9098608228380626944}} 
[2026-09-17 07:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":184863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:19:22] local.INFO: GPS data processed {"connection_id":184863,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:19:22] local.INFO: Acknowledgment sent {"connection_id":184863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:19:36] local.INFO: TCP Data received {"connection_id":184976,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:19:36] local.INFO: Processing buffer {"connection_id":184976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:19:36] local.INFO: Packet analysis {"connection_id":184976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:19:36] local.INFO: Extracted packet for processing {"connection_id":184976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:19:36] 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-09-17 07:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:19:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":184976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:19:36] local.INFO: GPS data processed {"connection_id":184976,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:19:36] local.INFO: Acknowledgment sent {"connection_id":184976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:20:04] local.INFO: TCP Data received {"connection_id":184864,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:20:04] local.INFO: Processing buffer {"connection_id":184864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:20:04] local.INFO: IMEI packet received {"connection_id":184864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":184864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:20:07] local.INFO: TCP Data received {"connection_id":186270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:20:07] local.INFO: Processing buffer {"connection_id":186270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:20:07] local.INFO: IMEI packet received {"connection_id":186270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":186270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:20:08] local.INFO: TCP Data received {"connection_id":184864,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:20:08] local.INFO: Processing buffer {"connection_id":184864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:20:08] local.INFO: IMEI packet received {"connection_id":184864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":184864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:20:09] local.INFO: TCP Data received {"connection_id":184864,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:20:09] local.INFO: Processing buffer {"connection_id":184864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:20:09] local.INFO: Packet analysis {"connection_id":184864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:20:09] local.INFO: Extracted packet for processing {"connection_id":184864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:20: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-09-17 07:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:20:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":184864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:20:09] local.INFO: GPS data processed {"connection_id":184864,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:20:09] local.INFO: Acknowledgment sent {"connection_id":184864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:20:12] local.INFO: TCP Data received {"connection_id":186270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:20:12] local.INFO: Processing buffer {"connection_id":186270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:20:12] local.INFO: IMEI packet received {"connection_id":186270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":186270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:20:12] local.INFO: TCP Data received {"connection_id":186270,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0d6b88012d81b1c005d532700001016527..."} 
[2026-09-17 07:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0d6b88012d81b1c005d532700001016527..."} 
[2026-09-17 07:20:12] local.INFO: Processing buffer {"connection_id":186270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0d6b88012d81b1c005d532700001016527..."} 
[2026-09-17 07:20:12] local.INFO: Packet analysis {"connection_id":186270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0d"} 
[2026-09-17 07:20:12] local.INFO: Extracted packet for processing {"connection_id":186270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0d"} 
[2026-09-17 07:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763474368,"raw_latitude":97858160,"longitude_deg":76.3474368,"latitude_deg":9.785816,"altitude":1,"angle":357,"satellites":39,"speed":32,"hex_longitude":"2d81b1c0","hex_latitude":"05d53270","is_valid_coordinates":true} 
[2026-09-17 07:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140089088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133955369922723840,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100367446982793216,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789609733000,"timestamp_ms":1789609733000,"timestamp_seconds":1789609733,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0d6b88"} 
[2026-09-17 07:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 07:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140089088001,"66":13450,"166":206,"85":15104,"24":32,"16":133955369922723840,"45":-9100367446982793216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-17 07:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140089088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:20:12] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-17 07:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133955369922723840,"km_value":133955369922723.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100367446982793216,"description":"Unknown IO ID 45"} 
[2026-09-17 07:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140089088001,"power":13450,"unknown_166":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9100367446982793216}} 
[2026-09-17 07:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":186270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:20:13] local.INFO: GPS data processed {"connection_id":186270,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:20:13] local.INFO: Acknowledgment sent {"connection_id":186270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:20:16] local.INFO: TCP Data received {"connection_id":184864,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:20:16] local.INFO: Processing buffer {"connection_id":184864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:20:16] local.INFO: Packet analysis {"connection_id":184864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:20:16] local.INFO: Extracted packet for processing {"connection_id":184864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:20: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-09-17 07:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:20:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":184864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:20:16] local.INFO: GPS data processed {"connection_id":184864,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:20:16] local.INFO: Acknowledgment sent {"connection_id":184864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:20:44] local.INFO: TCP Data received {"connection_id":186270,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0ee670012d81b80005d5c6a00003002229..."} 
[2026-09-17 07:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0ee670012d81b80005d5c6a00003002229..."} 
[2026-09-17 07:20:44] local.INFO: Processing buffer {"connection_id":186270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0ee670012d81b80005d5c6a00003002229..."} 
[2026-09-17 07:20:44] local.INFO: Packet analysis {"connection_id":186270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0e"} 
[2026-09-17 07:20:44] local.INFO: Extracted packet for processing {"connection_id":186270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0e"} 
[2026-09-17 07:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763475968,"raw_latitude":97896096,"longitude_deg":76.3475968,"latitude_deg":9.7896096,"altitude":3,"angle":34,"satellites":41,"speed":11,"hex_longitude":"2d81b800","hex_latitude":"05d5c6a0","is_valid_coordinates":true} 
[2026-09-17 07:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140116224001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133957246823432192,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099734128273276928,"note":"Value kept but may cause issues"} 
[2026-09-17 07:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789609830000,"timestamp_ms":1789609830000,"timestamp_seconds":1789609830,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0ee670"} 
[2026-09-17 07:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-17 07:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140116224001,"66":12961,"157":206,"85":15104,"24":11,"16":133957246823432192,"45":-9099734128273276928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-17 07:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140116224001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:20:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-17 07:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133957246823432192,"km_value":133957246823432.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099734128273276928,"description":"Unknown IO ID 45"} 
[2026-09-17 07:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140116224001,"power":12961,"unknown_157":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9099734128273276928}} 
[2026-09-17 07:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":186270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:20:44] local.INFO: GPS data processed {"connection_id":186270,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:20:44] local.INFO: Acknowledgment sent {"connection_id":186270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:21:00] local.INFO: TCP Data received {"connection_id":184977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:21:00] local.INFO: Processing buffer {"connection_id":184977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:21:00] local.INFO: IMEI packet received {"connection_id":184977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":184977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:21:03] local.INFO: TCP Data received {"connection_id":184977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:21:03] local.INFO: Processing buffer {"connection_id":184977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:21:03] local.INFO: IMEI packet received {"connection_id":184977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":184977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:21:04] local.INFO: TCP Data received {"connection_id":184977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:21:04] local.INFO: Processing buffer {"connection_id":184977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:21:04] local.INFO: Packet analysis {"connection_id":184977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:21:04] local.INFO: Extracted packet for processing {"connection_id":184977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:21:04] 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-09-17 07:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:21:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":184977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:21:04] local.INFO: GPS data processed {"connection_id":184977,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:21:04] local.INFO: Acknowledgment sent {"connection_id":184977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:21:09] local.INFO: TCP Data received {"connection_id":184977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:21:09] local.INFO: Processing buffer {"connection_id":184977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:21:09] local.INFO: Packet analysis {"connection_id":184977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:21:09] local.INFO: Extracted packet for processing {"connection_id":184977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:21: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-09-17 07:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:21:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":184977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:21:09] local.INFO: GPS data processed {"connection_id":184977,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:21:09] local.INFO: Acknowledgment sent {"connection_id":184977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:21:10] local.INFO: TCP Data received {"connection_id":184978,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:21:10] local.INFO: Processing buffer {"connection_id":184978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:21:10] local.INFO: IMEI packet received {"connection_id":184978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":184978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:21:10] local.INFO: TCP Data received {"connection_id":184978,"ip":"42.109.136.6","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184978,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 07:21:10] local.INFO: Processing buffer {"connection_id":184978,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 07:21:10] local.INFO: IMEI packet received {"connection_id":184978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":184978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:21:21] local.INFO: TCP Data received {"connection_id":184865,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:21:21] local.INFO: Processing buffer {"connection_id":184865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:21:21] local.INFO: IMEI packet received {"connection_id":184865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":184865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:21:43] local.INFO: TCP Data received {"connection_id":184977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:21:43] local.INFO: Processing buffer {"connection_id":184977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:21:43] local.INFO: Packet analysis {"connection_id":184977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:21:43] local.INFO: Extracted packet for processing {"connection_id":184977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":184977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:21:43] 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-09-17 07:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:21:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":184977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:21:43] local.INFO: GPS data processed {"connection_id":184977,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:21:43] local.INFO: Acknowledgment sent {"connection_id":184977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:21:51] local.INFO: TCP Data received {"connection_id":187594,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:21:51] local.INFO: Processing buffer {"connection_id":187594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:21:51] local.INFO: IMEI packet received {"connection_id":187594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":187594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:21:58] local.INFO: TCP Data received {"connection_id":184979,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:21:58] local.INFO: Processing buffer {"connection_id":184979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:21:58] local.INFO: IMEI packet received {"connection_id":184979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":184979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:22:05] local.INFO: TCP Data received {"connection_id":184979,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:22:05] local.INFO: Processing buffer {"connection_id":184979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:22:05] local.INFO: IMEI packet received {"connection_id":184979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":184979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:22:06] local.INFO: TCP Data received {"connection_id":184979,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:22:06] local.INFO: Processing buffer {"connection_id":184979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:22:06] local.INFO: Packet analysis {"connection_id":184979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:22:06] local.INFO: Extracted packet for processing {"connection_id":184979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":184979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":184979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":184979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:22:06] 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-09-17 07:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:22:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":184979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:22:06] local.INFO: GPS data processed {"connection_id":184979,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:22:06] local.INFO: Acknowledgment sent {"connection_id":184979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:22:38] local.INFO: TCP Data received {"connection_id":184979,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:22:38] local.INFO: Processing buffer {"connection_id":184979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad0bb608012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:22:38] local.INFO: Packet analysis {"connection_id":184979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:22:38] local.INFO: Extracted packet for processing {"connection_id":184979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad0b"} 
[2026-09-17 07:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139985920001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789609621000,"timestamp_ms":1789609621000,"timestamp_seconds":1789609621,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad0bb608"} 
[2026-09-17 07:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:22:38] 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-09-17 07:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139985920001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139985920001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:22:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139985920001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":184979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:22:38] local.INFO: GPS data processed {"connection_id":184979,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:22:38] local.INFO: Acknowledgment sent {"connection_id":184979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:23:04] local.INFO: TCP Data received {"connection_id":184866,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:23:04] local.INFO: Processing buffer {"connection_id":184866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:23:04] local.INFO: IMEI packet received {"connection_id":184866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":184866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:23:09] local.INFO: TCP Data received {"connection_id":184866,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:23:09] local.INFO: Processing buffer {"connection_id":184866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:23:09] local.INFO: IMEI packet received {"connection_id":184866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":184866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:23:09] local.INFO: TCP Data received {"connection_id":184866,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:23:09] local.INFO: Processing buffer {"connection_id":184866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:23:09] local.INFO: Packet analysis {"connection_id":184866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:23:09] local.INFO: Extracted packet for processing {"connection_id":184866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:23: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-09-17 07:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:23:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":184866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:23:09] local.INFO: GPS data processed {"connection_id":184866,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:23:09] local.INFO: Acknowledgment sent {"connection_id":184866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:23:14] local.INFO: TCP Data received {"connection_id":184866,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:23:14] local.INFO: Processing buffer {"connection_id":184866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:23:14] local.INFO: Packet analysis {"connection_id":184866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:23:14] local.INFO: Extracted packet for processing {"connection_id":184866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:23: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-09-17 07:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:23:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":184866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:23:14] local.INFO: GPS data processed {"connection_id":184866,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:23:14] local.INFO: Acknowledgment sent {"connection_id":184866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:23:59] local.INFO: TCP Data received {"connection_id":187597,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:23:59] local.INFO: Processing buffer {"connection_id":187597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:23:59] local.INFO: IMEI packet received {"connection_id":187597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":187597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:24:04] local.INFO: TCP Data received {"connection_id":187597,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:24:05] local.INFO: Processing buffer {"connection_id":187597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:24:05] local.INFO: IMEI packet received {"connection_id":187597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":187597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:24:06] local.INFO: TCP Data received {"connection_id":187597,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:24:06] local.INFO: Processing buffer {"connection_id":187597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:24:06] local.INFO: Packet analysis {"connection_id":187597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:24:06] local.INFO: Extracted packet for processing {"connection_id":187597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:24:06] 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-09-17 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:24:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":187597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:24:06] local.INFO: GPS data processed {"connection_id":187597,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:24:06] local.INFO: Acknowledgment sent {"connection_id":187597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:24:38] local.INFO: TCP Data received {"connection_id":187597,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:24:38] local.INFO: Processing buffer {"connection_id":187597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:24:38] local.INFO: Packet analysis {"connection_id":187597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:24:38] local.INFO: Extracted packet for processing {"connection_id":187597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:24:38] 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-09-17 07:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:24:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":187597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:24:38] local.INFO: GPS data processed {"connection_id":187597,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:24:38] local.INFO: Acknowledgment sent {"connection_id":187597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:24:58] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:24:58] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:24:58] local.INFO: IMEI packet received {"connection_id":186273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":186273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:25:04] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:25:04] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:25:04] local.INFO: IMEI packet received {"connection_id":186273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":186273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:25:04] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:25:04] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:25:04] local.INFO: Packet analysis {"connection_id":186273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:25:04] local.INFO: Extracted packet for processing {"connection_id":186273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:25:04] 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-09-17 07:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:25:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":186273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:25:05] local.INFO: GPS data processed {"connection_id":186273,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:25:05] local.INFO: Acknowledgment sent {"connection_id":186273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:25:36] local.INFO: TCP Data received {"connection_id":186273,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:25:36] local.INFO: Processing buffer {"connection_id":186273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:25:36] local.INFO: Packet analysis {"connection_id":186273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:25:36] local.INFO: Extracted packet for processing {"connection_id":186273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:25:36] 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-09-17 07:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:25:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":186273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:25:36] local.INFO: GPS data processed {"connection_id":186273,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:25:36] local.INFO: Acknowledgment sent {"connection_id":186273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:25:58] local.INFO: TCP Data received {"connection_id":184870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:25:58] local.INFO: Processing buffer {"connection_id":184870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:25:58] local.INFO: IMEI packet received {"connection_id":184870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":184870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:26:04] local.INFO: TCP Data received {"connection_id":184870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:26:04] local.INFO: Processing buffer {"connection_id":184870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:26:04] local.INFO: IMEI packet received {"connection_id":184870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":184870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:26:05] local.INFO: TCP Data received {"connection_id":184870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:26:05] local.INFO: Processing buffer {"connection_id":184870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:26:05] local.INFO: Packet analysis {"connection_id":184870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:26:05] local.INFO: Extracted packet for processing {"connection_id":184870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:26:05] 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-09-17 07:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:26:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":184870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:26:05] local.INFO: GPS data processed {"connection_id":184870,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:26:05] local.INFO: Acknowledgment sent {"connection_id":184870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:26:12] local.INFO: TCP Data received {"connection_id":184871,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:26:12] local.INFO: Processing buffer {"connection_id":184871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:26:12] local.INFO: IMEI packet received {"connection_id":184871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":184871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:26:12] local.INFO: TCP Data received {"connection_id":184871,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad118650012d82ccc005d673480004000926..."} 
[2026-09-17 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad118650012d82ccc005d673480004000926..."} 
[2026-09-17 07:26:12] local.INFO: Processing buffer {"connection_id":184871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad118650012d82ccc005d673480004000926..."} 
[2026-09-17 07:26:12] local.INFO: Packet analysis {"connection_id":184871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad11"} 
[2026-09-17 07:26:12] local.INFO: Extracted packet for processing {"connection_id":184871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad11"} 
[2026-09-17 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763546816,"raw_latitude":97940296,"longitude_deg":76.3546816,"latitude_deg":9.7940296,"altitude":4,"angle":9,"satellites":38,"speed":36,"hex_longitude":"2d82ccc0","hex_latitude":"05d67348","is_valid_coordinates":true} 
[2026-09-17 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140160512001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133962181740855296,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021624822224697344,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789610002000,"timestamp_ms":1789610002000,"timestamp_seconds":1789610002,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad118650"} 
[2026-09-17 07:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 07:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":184871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":184871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":184871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140160512001,"66":13015,"157":206,"85":15104,"24":36,"16":133962181740855296,"45":-9021624822224697344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-17 07:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140160512001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:26:12] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-17 07:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133962181740855296,"km_value":133962181740855.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021624822224697344,"description":"Unknown IO ID 45"} 
[2026-09-17 07:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140160512001,"power":13015,"unknown_157":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9021624822224697344}} 
[2026-09-17 07:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":184871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:26:12] local.INFO: GPS data processed {"connection_id":184871,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:26:12] local.INFO: Acknowledgment sent {"connection_id":184871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:26:36] local.INFO: TCP Data received {"connection_id":184870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:26:36] local.INFO: Processing buffer {"connection_id":184870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:26:36] local.INFO: Packet analysis {"connection_id":184870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:26:36] local.INFO: Extracted packet for processing {"connection_id":184870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:26:36] 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-09-17 07:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:26:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":184870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:26:36] local.INFO: GPS data processed {"connection_id":184870,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:26:36] local.INFO: Acknowledgment sent {"connection_id":184870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:26:43] local.INFO: TCP Data received {"connection_id":184871,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad142a18012d82cd0005d686b80005012127..."} 
[2026-09-17 07:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad142a18012d82cd0005d686b80005012127..."} 
[2026-09-17 07:26:43] local.INFO: Processing buffer {"connection_id":184871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad142a18012d82cd0005d686b80005012127..."} 
[2026-09-17 07:26:43] local.INFO: Packet analysis {"connection_id":184871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:26:43] local.INFO: Extracted packet for processing {"connection_id":184871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763546880,"raw_latitude":97945272,"longitude_deg":76.354688,"latitude_deg":9.7945272,"altitude":5,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d82cd00","hex_latitude":"05d686b8","is_valid_coordinates":true} 
[2026-09-17 07:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140199424001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133962448028827648,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021554453479245824,"note":"Value kept but may cause issues"} 
[2026-09-17 07:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789610175000,"timestamp_ms":1789610175000,"timestamp_seconds":1789610175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad142a18"} 
[2026-09-17 07:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 07:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":184871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":184871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":184871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140199424001,"66":12765,"156":206,"85":15104,"24":0,"16":133962448028827648,"45":-9021554453479245824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-17 07:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140199424001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:26:43] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 07:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133962448028827648,"km_value":133962448028827.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021554453479245824,"description":"Unknown IO ID 45"} 
[2026-09-17 07:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140199424001,"power":12765,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9021554453479245824}} 
[2026-09-17 07:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":184871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:26:43] local.INFO: GPS data processed {"connection_id":184871,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:26:43] local.INFO: Acknowledgment sent {"connection_id":184871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:26:58] local.INFO: TCP Data received {"connection_id":187599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:26:58] local.INFO: Processing buffer {"connection_id":187599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:26:58] local.INFO: IMEI packet received {"connection_id":187599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":187599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:27:04] local.INFO: TCP Data received {"connection_id":187599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:27:04] local.INFO: Processing buffer {"connection_id":187599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:27:04] local.INFO: IMEI packet received {"connection_id":187599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":187599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:27:04] local.INFO: TCP Data received {"connection_id":187599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:27:04] local.INFO: Processing buffer {"connection_id":187599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:27:04] local.INFO: Packet analysis {"connection_id":187599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:27:04] local.INFO: Extracted packet for processing {"connection_id":187599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:27:04] 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-09-17 07:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:27:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":187599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:27:05] local.INFO: GPS data processed {"connection_id":187599,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:27:05] local.INFO: Acknowledgment sent {"connection_id":187599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:27:07] local.INFO: TCP Data received {"connection_id":184872,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:27:07] local.INFO: Processing buffer {"connection_id":184872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:27:07] local.INFO: IMEI packet received {"connection_id":184872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":184872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:27:07] local.INFO: TCP Data received {"connection_id":184872,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:27:07] local.INFO: Processing buffer {"connection_id":184872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:27:07] local.INFO: IMEI packet received {"connection_id":184872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":184872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:27:12] local.INFO: TCP Data received {"connection_id":184872,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:27:12] local.INFO: Processing buffer {"connection_id":184872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:27:12] local.INFO: IMEI packet received {"connection_id":184872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":184872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:27:12] local.INFO: TCP Data received {"connection_id":184872,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1464b0012d82cc0005d687600005012c28..."} 
[2026-09-17 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1464b0012d82cc0005d687600005012c28..."} 
[2026-09-17 07:27:12] local.INFO: Processing buffer {"connection_id":184872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1464b0012d82cc0005d687600005012c28..."} 
[2026-09-17 07:27:12] local.INFO: Packet analysis {"connection_id":184872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:27:12] local.INFO: Extracted packet for processing {"connection_id":184872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763546624,"raw_latitude":97945440,"longitude_deg":76.3546624,"latitude_deg":9.794544,"altitude":5,"angle":300,"satellites":40,"speed":5,"hex_longitude":"2d82cc00","hex_latitude":"05d68760","is_valid_coordinates":true} 
[2026-09-17 07:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140204800001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133962465208696832,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021554453479245824,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789610190000,"timestamp_ms":1789610190000,"timestamp_seconds":1789610190,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1464b0"} 
[2026-09-17 07:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 07:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":184872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":184872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":184872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140204800001,"66":13091,"156":206,"85":15104,"24":5,"16":133962465208696832,"45":-9021554453479245824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-17 07:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140204800001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:27:12] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 07:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133962465208696832,"km_value":133962465208696.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021554453479245824,"description":"Unknown IO ID 45"} 
[2026-09-17 07:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140204800001,"power":13091,"unknown_156":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9021554453479245824}} 
[2026-09-17 07:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":184872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:27:12] local.INFO: GPS data processed {"connection_id":184872,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:27:12] local.INFO: Acknowledgment sent {"connection_id":184872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:27:21] local.INFO: TCP Data received {"connection_id":187598,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:27:21] local.INFO: Processing buffer {"connection_id":187598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:27:21] local.INFO: IMEI packet received {"connection_id":187598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":187598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:27:36] local.INFO: TCP Data received {"connection_id":187599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:27:36] local.INFO: Processing buffer {"connection_id":187599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad104dd0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:27:36] local.INFO: Packet analysis {"connection_id":187599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:27:36] local.INFO: Extracted packet for processing {"connection_id":187599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad10"} 
[2026-09-17 07:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140062976001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789609922000,"timestamp_ms":1789609922000,"timestamp_seconds":1789609922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad104dd0"} 
[2026-09-17 07:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:27:36] 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-09-17 07:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140062976001,"66":25430,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 07:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140062976001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:27:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 07:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140062976001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":187599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:27:36] local.INFO: GPS data processed {"connection_id":187599,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:27:36] local.INFO: Acknowledgment sent {"connection_id":187599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:27:43] local.INFO: TCP Data received {"connection_id":184872,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad148bc0012d82c08005d68eb8000601382b..."} 
[2026-09-17 07:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad148bc0012d82c08005d68eb8000601382b..."} 
[2026-09-17 07:27:43] local.INFO: Processing buffer {"connection_id":184872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad148bc0012d82c08005d68eb8000601382b..."} 
[2026-09-17 07:27:43] local.INFO: Packet analysis {"connection_id":184872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:27:43] local.INFO: Extracted packet for processing {"connection_id":184872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:27:43] local.INFO: GPS Element Parsed {"raw_longitude":763543680,"raw_latitude":97947320,"longitude_deg":76.354368,"latitude_deg":9.794732,"altitude":6,"angle":312,"satellites":43,"speed":17,"hex_longitude":"2d82c080","hex_latitude":"05d68eb8","is_valid_coordinates":true} 
[2026-09-17 07:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140208640001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133962632712421376,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021835928455913472,"note":"Value kept but may cause issues"} 
[2026-09-17 07:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789610200000,"timestamp_ms":1789610200000,"timestamp_seconds":1789610200,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad148bc0"} 
[2026-09-17 07:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 07:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":184872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":184872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":184872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140208640001,"66":13243,"156":206,"85":15104,"24":17,"16":133962632712421376,"45":-9021835928455913472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-17 07:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140208640001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:27:43] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 07:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133962632712421376,"km_value":133962632712421.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021835928455913472,"description":"Unknown IO ID 45"} 
[2026-09-17 07:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140208640001,"power":13243,"unknown_156":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9021835928455913472}} 
[2026-09-17 07:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":184872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:27:44] local.INFO: GPS data processed {"connection_id":184872,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:27:44] local.INFO: Acknowledgment sent {"connection_id":184872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:27:50] local.INFO: TCP Data received {"connection_id":184980,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:27:50] local.INFO: Processing buffer {"connection_id":184980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:27:50] local.INFO: IMEI packet received {"connection_id":184980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":184980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:28:04] local.INFO: TCP Data received {"connection_id":186275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:28:04] local.INFO: Processing buffer {"connection_id":186275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:28:04] local.INFO: IMEI packet received {"connection_id":186275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":186275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:28:07] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:28:07] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:28:07] local.INFO: IMEI packet received {"connection_id":186276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":186276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:28:09] local.INFO: TCP Data received {"connection_id":186275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:28:09] local.INFO: Processing buffer {"connection_id":186275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:28:09] local.INFO: IMEI packet received {"connection_id":186275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":186275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:28:10] local.INFO: TCP Data received {"connection_id":186275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:28:10] local.INFO: Processing buffer {"connection_id":186275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:28:10] local.INFO: Packet analysis {"connection_id":186275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:28:10] local.INFO: Extracted packet for processing {"connection_id":186275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:28: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-09-17 07:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":186275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:28:10] local.INFO: GPS data processed {"connection_id":186275,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:28:10] local.INFO: Acknowledgment sent {"connection_id":186275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:28:12] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:28:12] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:28:12] local.INFO: IMEI packet received {"connection_id":186276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":186276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:28:13] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad149f48012d82bbc005d69478000701442b..."} 
[2026-09-17 07:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad149f48012d82bbc005d69478000701442b..."} 
[2026-09-17 07:28:13] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad149f48012d82bbc005d69478000701442b..."} 
[2026-09-17 07:28:13] local.INFO: Packet analysis {"connection_id":186276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:28:13] local.INFO: Extracted packet for processing {"connection_id":186276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763542464,"raw_latitude":97948792,"longitude_deg":76.3542464,"latitude_deg":9.7948792,"altitude":7,"angle":324,"satellites":43,"speed":11,"hex_longitude":"2d82bbc0","hex_latitude":"05d69478","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140211200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133962722906734592,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025072890687604736,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789610205000,"timestamp_ms":1789610205000,"timestamp_seconds":1789610205,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad149f48"} 
[2026-09-17 07:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 07:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140211200001,"66":13363,"156":206,"85":15104,"24":11,"16":133962722906734592,"45":-9025072890687604736},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-17 07:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140211200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:28:13] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 07:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133962722906734592,"km_value":133962722906734.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025072890687604736,"description":"Unknown IO ID 45"} 
[2026-09-17 07:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140211200001,"power":13363,"unknown_156":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9025072890687604736}} 
[2026-09-17 07:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":186276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:28:13] local.INFO: GPS data processed {"connection_id":186276,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:28:13] local.INFO: Acknowledgment sent {"connection_id":186276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:28:42] local.INFO: TCP Data received {"connection_id":186275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:28:42] local.INFO: Processing buffer {"connection_id":186275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:28:42] local.INFO: Packet analysis {"connection_id":186275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:28:42] local.INFO: Extracted packet for processing {"connection_id":186275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:28:42] 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-09-17 07:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":186275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:28:42] local.INFO: GPS data processed {"connection_id":186275,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:28:42] local.INFO: Acknowledgment sent {"connection_id":186275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:28:44] local.INFO: TCP Data received {"connection_id":186276,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14d210012d82b94005d69970000701522a..."} 
[2026-09-17 07:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14d210012d82b94005d69970000701522a..."} 
[2026-09-17 07:28:44] local.INFO: Processing buffer {"connection_id":186276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14d210012d82b94005d69970000701522a..."} 
[2026-09-17 07:28:44] local.INFO: Packet analysis {"connection_id":186276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:28:44] local.INFO: Extracted packet for processing {"connection_id":186276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763541824,"raw_latitude":97950064,"longitude_deg":76.3541824,"latitude_deg":9.7950064,"altitude":7,"angle":338,"satellites":42,"speed":11,"hex_longitude":"2d82b940","hex_latitude":"05d69970","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140212480001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133962795921178624,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026409896826603520,"note":"Value kept but may cause issues"} 
[2026-09-17 07:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789610218000,"timestamp_ms":1789610218000,"timestamp_seconds":1789610218,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14d210"} 
[2026-09-17 07:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 07:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140212480001,"66":13646,"156":206,"85":15104,"24":11,"16":133962795921178624,"45":-9026409896826603520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-17 07:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140212480001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:28:44] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 07:28:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133962795921178624,"km_value":133962795921178.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026409896826603520,"description":"Unknown IO ID 45"} 
[2026-09-17 07:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140212480001,"power":13646,"unknown_156":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9026409896826603520}} 
[2026-09-17 07:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":186276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:28:44] local.INFO: GPS data processed {"connection_id":186276,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:28:44] local.INFO: Acknowledgment sent {"connection_id":186276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:28:59] local.INFO: TCP Data received {"connection_id":187601,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:28:59] local.INFO: Processing buffer {"connection_id":187601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:28:59] local.INFO: IMEI packet received {"connection_id":187601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":187601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:29:03] local.INFO: TCP Data received {"connection_id":187601,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:29:03] local.INFO: Processing buffer {"connection_id":187601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:29:03] local.INFO: IMEI packet received {"connection_id":187601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":187601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:29:04] local.INFO: TCP Data received {"connection_id":187601,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:29:04] local.INFO: Processing buffer {"connection_id":187601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:29:04] local.INFO: Packet analysis {"connection_id":187601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:29:04] local.INFO: Extracted packet for processing {"connection_id":187601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:29:04] 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-09-17 07:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":187601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:29:04] local.INFO: GPS data processed {"connection_id":187601,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:29:04] local.INFO: Acknowledgment sent {"connection_id":187601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:29:07] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:29:07] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:29:07] local.INFO: IMEI packet received {"connection_id":184981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":184981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:29:10] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:29:10] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:29:10] local.INFO: IMEI packet received {"connection_id":184981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":184981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:29:12] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:29:12] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:29:12] local.INFO: IMEI packet received {"connection_id":184981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":184981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:29:13] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e1b0012d82b7c005d69f200008015f2a..."} 
[2026-09-17 07:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e1b0012d82b7c005d69f200008015f2a..."} 
[2026-09-17 07:29:13] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e1b0012d82b7c005d69f200008015f2a..."} 
[2026-09-17 07:29:13] local.INFO: Packet analysis {"connection_id":184981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:29:13] local.INFO: Extracted packet for processing {"connection_id":184981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763541440,"raw_latitude":97951520,"longitude_deg":76.354144,"latitude_deg":9.795152,"altitude":8,"angle":351,"satellites":42,"speed":20,"hex_longitude":"2d82b7c0","hex_latitude":"05d69f20","is_valid_coordinates":true} 
[2026-09-17 07:29: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-09-17 07:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140215808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133962868935622656,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027113584268054528,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789610222000,"timestamp_ms":1789610222000,"timestamp_seconds":1789610222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e1b0"} 
[2026-09-17 07:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-17 07:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:29: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-09-17 07:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140215808001,"66":13428,"156":206,"85":15104,"24":20,"16":133962868935622656,"45":-9027113584268054528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-17 07:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140215808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:29:13] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 07:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133962868935622656,"km_value":133962868935622.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027113584268054528,"description":"Unknown IO ID 45"} 
[2026-09-17 07:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140215808001,"power":13428,"unknown_156":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9027113584268054528}} 
[2026-09-17 07:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":184981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:29:13] local.INFO: GPS data processed {"connection_id":184981,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:29:13] local.INFO: Acknowledgment sent {"connection_id":184981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:29:36] local.INFO: TCP Data received {"connection_id":187601,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:29:36] local.INFO: Processing buffer {"connection_id":187601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:29:36] local.INFO: Packet analysis {"connection_id":187601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:29:36] local.INFO: Extracted packet for processing {"connection_id":187601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:29:36] 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-09-17 07:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":187601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:29:36] local.INFO: GPS data processed {"connection_id":187601,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:29:36] local.INFO: Acknowledgment sent {"connection_id":187601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:29:46] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad16f108012d829e8005d80948000801662b..."} 
[2026-09-17 07:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad16f108012d829e8005d80948000801662b..."} 
[2026-09-17 07:29:46] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad16f108012d829e8005d80948000801662b..."} 
[2026-09-17 07:29:46] local.INFO: Packet analysis {"connection_id":184981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad16"} 
[2026-09-17 07:29:46] local.INFO: Extracted packet for processing {"connection_id":184981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad16"} 
[2026-09-17 07:29:46] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":98044232,"longitude_deg":76.3534976,"latitude_deg":9.8044232,"altitude":8,"angle":358,"satellites":43,"speed":43,"hex_longitude":"2d829e80","hex_latitude":"05d80948","is_valid_coordinates":true} 
[2026-09-17 07:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140249088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133967395831152640,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034009721175795712,"note":"Value kept but may cause issues"} 
[2026-09-17 07:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789610357000,"timestamp_ms":1789610357000,"timestamp_seconds":1789610357,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad16f108"} 
[2026-09-17 07:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 07:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140249088001,"66":13450,"155":206,"85":15104,"24":43,"16":133967395831152640,"45":-9034009721175795712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-17 07:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140249088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:29:46] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 07:29:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133967395831152640,"km_value":133967395831152.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034009721175795712,"description":"Unknown IO ID 45"} 
[2026-09-17 07:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140249088001,"power":13450,"unknown_155":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9034009721175795712}} 
[2026-09-17 07:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":184981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:29:46] local.INFO: GPS data processed {"connection_id":184981,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:29:46] local.INFO: Acknowledgment sent {"connection_id":184981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:29:58] local.INFO: TCP Data received {"connection_id":187603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:29:58] local.INFO: Processing buffer {"connection_id":187603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:29:58] local.INFO: IMEI packet received {"connection_id":187603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":187603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:30:04] local.INFO: TCP Data received {"connection_id":187603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:30:04] local.INFO: Processing buffer {"connection_id":187603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:30:04] local.INFO: IMEI packet received {"connection_id":187603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":187603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:30:05] local.INFO: TCP Data received {"connection_id":187603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:30:05] local.INFO: Processing buffer {"connection_id":187603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:30:05] local.INFO: Packet analysis {"connection_id":187603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:30:05] local.INFO: Extracted packet for processing {"connection_id":187603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:30:05] 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-09-17 07:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":187603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:30:05] local.INFO: GPS data processed {"connection_id":187603,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:30:05] local.INFO: Acknowledgment sent {"connection_id":187603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:30:06] local.INFO: TCP Data received {"connection_id":184982,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:30:06] local.INFO: Processing buffer {"connection_id":184982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:30:06] local.INFO: IMEI packet received {"connection_id":184982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":184982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:30:07] local.INFO: TCP Data received {"connection_id":184982,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:30:07] local.INFO: Processing buffer {"connection_id":184982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:30:07] local.INFO: IMEI packet received {"connection_id":184982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":184982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:30:12] local.INFO: TCP Data received {"connection_id":184982,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:30:12] local.INFO: Processing buffer {"connection_id":184982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:30:12] local.INFO: IMEI packet received {"connection_id":184982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":184982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:30:13] local.INFO: TCP Data received {"connection_id":184982,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad171430012d829d8005d82dd80007016729..."} 
[2026-09-17 07:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad171430012d829d8005d82dd80007016729..."} 
[2026-09-17 07:30:13] local.INFO: Processing buffer {"connection_id":184982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad171430012d829d8005d82dd80007016729..."} 
[2026-09-17 07:30:13] local.INFO: Packet analysis {"connection_id":184982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:30:13] local.INFO: Extracted packet for processing {"connection_id":184982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763534720,"raw_latitude":98053592,"longitude_deg":76.353472,"latitude_deg":9.8053592,"altitude":7,"angle":359,"satellites":41,"speed":42,"hex_longitude":"2d829d80","hex_latitude":"05d82dd8","is_valid_coordinates":true} 
[2026-09-17 07:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140251392001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133967846802718720,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039870957568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789610366000,"timestamp_ms":1789610366000,"timestamp_seconds":1789610366,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad171430"} 
[2026-09-17 07:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 07:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140251392001,"66":13493,"155":206,"85":15104,"24":42,"16":133967846802718720,"45":-9034643039870957568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-17 07:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140251392001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:30:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 07:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133967846802718720,"km_value":133967846802718.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039870957568,"description":"Unknown IO ID 45"} 
[2026-09-17 07:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140251392001,"power":13493,"unknown_155":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9034643039870957568}} 
[2026-09-17 07:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":184982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:30:13] local.INFO: GPS data processed {"connection_id":184982,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:30:13] local.INFO: Acknowledgment sent {"connection_id":184982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:30:37] local.INFO: TCP Data received {"connection_id":187603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:30:37] local.INFO: Processing buffer {"connection_id":187603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:30:37] local.INFO: Packet analysis {"connection_id":187603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:30:37] local.INFO: Extracted packet for processing {"connection_id":187603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:30:37] 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-09-17 07:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":187603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:30:37] local.INFO: GPS data processed {"connection_id":187603,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:30:37] local.INFO: Acknowledgment sent {"connection_id":187603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:30:44] local.INFO: TCP Data received {"connection_id":184982,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad173758012d829ac005d851780008015f29..."} 
[2026-09-17 07:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad173758012d829ac005d851780008015f29..."} 
[2026-09-17 07:30:44] local.INFO: Processing buffer {"connection_id":184982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad173758012d829ac005d851780008015f29..."} 
[2026-09-17 07:30:44] local.INFO: Packet analysis {"connection_id":184982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:30:44] local.INFO: Extracted packet for processing {"connection_id":184982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763534016,"raw_latitude":98062712,"longitude_deg":76.3534016,"latitude_deg":9.8062712,"altitude":8,"angle":351,"satellites":41,"speed":36,"hex_longitude":"2d829ac0","hex_latitude":"05d85178","is_valid_coordinates":true} 
[2026-09-17 07:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140253696001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133968293479317504,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034924514845272064,"note":"Value kept but may cause issues"} 
[2026-09-17 07:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789610375000,"timestamp_ms":1789610375000,"timestamp_seconds":1789610375,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad173758"} 
[2026-09-17 07:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 07:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140253696001,"66":13254,"155":206,"85":15104,"24":36,"16":133968293479317504,"45":-9034924514845272064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-17 07:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140253696001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:30:44] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 07:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133968293479317504,"km_value":133968293479317.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034924514845272064,"description":"Unknown IO ID 45"} 
[2026-09-17 07:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140253696001,"power":13254,"unknown_155":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9034924514845272064}} 
[2026-09-17 07:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":184982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:30:44] local.INFO: GPS data processed {"connection_id":184982,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:30:44] local.INFO: Acknowledgment sent {"connection_id":184982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:30:58] local.INFO: TCP Data received {"connection_id":184983,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:30:58] local.INFO: Processing buffer {"connection_id":184983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:30:58] local.INFO: IMEI packet received {"connection_id":184983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":184983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:31:04] local.INFO: TCP Data received {"connection_id":184983,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:31:04] local.INFO: Processing buffer {"connection_id":184983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:31:04] local.INFO: IMEI packet received {"connection_id":184983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":184983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:31:05] local.INFO: TCP Data received {"connection_id":184983,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:31:05] local.INFO: Processing buffer {"connection_id":184983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:31:05] local.INFO: Packet analysis {"connection_id":184983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:31:05] local.INFO: Extracted packet for processing {"connection_id":184983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:31:05] 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-09-17 07:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":184983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:31:05] local.INFO: GPS data processed {"connection_id":184983,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:31:05] local.INFO: Acknowledgment sent {"connection_id":184983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:31:07] local.INFO: TCP Data received {"connection_id":184873,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:31:07] local.INFO: Processing buffer {"connection_id":184873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:31:07] local.INFO: IMEI packet received {"connection_id":184873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":184873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:31:11] local.INFO: TCP Data received {"connection_id":184873,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:31:11] local.INFO: Processing buffer {"connection_id":184873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:31:11] local.INFO: IMEI packet received {"connection_id":184873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":184873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:31:12] local.INFO: TCP Data received {"connection_id":184873,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:31:12] local.INFO: Processing buffer {"connection_id":184873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:31:12] local.INFO: IMEI packet received {"connection_id":184873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":184873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:31:12] local.INFO: TCP Data received {"connection_id":184873,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad178578012d82978005d863f00006015c2b..."} 
[2026-09-17 07:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad178578012d82978005d863f00006015c2b..."} 
[2026-09-17 07:31:12] local.INFO: Processing buffer {"connection_id":184873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad178578012d82978005d863f00006015c2b..."} 
[2026-09-17 07:31:12] local.INFO: Packet analysis {"connection_id":184873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:31:12] local.INFO: Extracted packet for processing {"connection_id":184873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":98067440,"longitude_deg":76.3533184,"latitude_deg":9.806744,"altitude":6,"angle":348,"satellites":43,"speed":11,"hex_longitude":"2d829780","hex_latitude":"05d863f0","is_valid_coordinates":true} 
[2026-09-17 07:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140256000001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133968525407551488,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035698571028891648,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789610395000,"timestamp_ms":1789610395000,"timestamp_seconds":1789610395,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad178578"} 
[2026-09-17 07:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 07:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":184873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":184873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":184873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140256000001,"66":13493,"47":206,"85":15104,"24":11,"16":133968525407551488,"45":-9035698571028891648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-17 07:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140256000001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:31:12] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-17 07:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133968525407551488,"km_value":133968525407551.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035698571028891648,"description":"Unknown IO ID 45"} 
[2026-09-17 07:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140256000001,"power":13493,"unknown_47":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9035698571028891648}} 
[2026-09-17 07:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":184873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:31:12] local.INFO: GPS data processed {"connection_id":184873,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:31:12] local.INFO: Acknowledgment sent {"connection_id":184873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:31:36] local.INFO: TCP Data received {"connection_id":184983,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:31:36] local.INFO: Processing buffer {"connection_id":184983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:31:36] local.INFO: Packet analysis {"connection_id":184983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:31:36] local.INFO: Extracted packet for processing {"connection_id":184983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:31:36] 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-09-17 07:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":184983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:31:36] local.INFO: GPS data processed {"connection_id":184983,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:31:36] local.INFO: Acknowledgment sent {"connection_id":184983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:31:43] local.INFO: TCP Data received {"connection_id":184873,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad17a8a0012d8292c005d87390000601502b..."} 
[2026-09-17 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad17a8a0012d8292c005d87390000601502b..."} 
[2026-09-17 07:31:43] local.INFO: Processing buffer {"connection_id":184873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad17a8a0012d8292c005d87390000601502b..."} 
[2026-09-17 07:31:43] local.INFO: Packet analysis {"connection_id":184873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:31:43] local.INFO: Extracted packet for processing {"connection_id":184873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763531968,"raw_latitude":98071440,"longitude_deg":76.3531968,"latitude_deg":9.807144,"altitude":6,"angle":336,"satellites":43,"speed":21,"hex_longitude":"2d8292c0","hex_latitude":"05d87390","is_valid_coordinates":true} 
[2026-09-17 07:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140261120001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133968731565981696,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364701990912,"note":"Value kept but may cause issues"} 
[2026-09-17 07:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789610404000,"timestamp_ms":1789610404000,"timestamp_seconds":1789610404,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad17a8a0"} 
[2026-09-17 07:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 07:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":184873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":184873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":184873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140261120001,"66":13319,"47":206,"85":15104,"24":21,"16":133968731565981696,"45":-9036613364701990912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-17 07:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140261120001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:31:43] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-17 07:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133968731565981696,"km_value":133968731565981.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364701990912,"description":"Unknown IO ID 45"} 
[2026-09-17 07:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140261120001,"power":13319,"unknown_47":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9036613364701990912}} 
[2026-09-17 07:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":184873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:31:44] local.INFO: GPS data processed {"connection_id":184873,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:31:44] local.INFO: Acknowledgment sent {"connection_id":184873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:31:58] local.INFO: TCP Data received {"connection_id":187604,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:31:58] local.INFO: Processing buffer {"connection_id":187604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:31:58] local.INFO: IMEI packet received {"connection_id":187604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":187604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:32:03] local.INFO: TCP Data received {"connection_id":187604,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:32:03] local.INFO: Processing buffer {"connection_id":187604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:32:03] local.INFO: IMEI packet received {"connection_id":187604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":187604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:32:05] local.INFO: TCP Data received {"connection_id":187604,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:32:05] local.INFO: Processing buffer {"connection_id":187604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:32:05] local.INFO: Packet analysis {"connection_id":187604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:32:05] local.INFO: Extracted packet for processing {"connection_id":187604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:32:05] 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-09-17 07:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":187604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:32:05] local.INFO: GPS data processed {"connection_id":187604,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:32:05] local.INFO: Acknowledgment sent {"connection_id":187604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:32:12] local.INFO: TCP Data received {"connection_id":186278,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:32:12] local.INFO: Processing buffer {"connection_id":186278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:32:12] local.INFO: IMEI packet received {"connection_id":186278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":186278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:32:16] local.INFO: TCP Data received {"connection_id":186278,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:32:16] local.INFO: Processing buffer {"connection_id":186278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:32:16] local.INFO: IMEI packet received {"connection_id":186278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":186278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:32:16] local.INFO: TCP Data received {"connection_id":186278,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad17d780012d82864005d893680006015f2b..."} 
[2026-09-17 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad17d780012d82864005d893680006015f2b..."} 
[2026-09-17 07:32:16] local.INFO: Processing buffer {"connection_id":186278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad17d780012d82864005d893680006015f2b..."} 
[2026-09-17 07:32:16] local.INFO: Packet analysis {"connection_id":186278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:32:16] local.INFO: Extracted packet for processing {"connection_id":186278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763528768,"raw_latitude":98079592,"longitude_deg":76.3528768,"latitude_deg":9.8079592,"altitude":6,"angle":351,"satellites":43,"speed":37,"hex_longitude":"2d828640","hex_latitude":"05d89368","is_valid_coordinates":true} 
[2026-09-17 07:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140263424001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133969156767744000,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037950370840342528,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789610416000,"timestamp_ms":1789610416000,"timestamp_seconds":1789610416,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad17d780"} 
[2026-09-17 07:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2903939864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3758173570,"corrected_to":0} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4063690752,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3619565568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57885554889348411,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":22,"raw_value":7235034096347643909,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-7365637156181431040,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:16] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,47,85,24,241,157,16,243,160,133,45,128,99,6,43,10,66,55,192,81,8,41,155,20,1,240,181,227,173,216,4,113,205,239,52,2,219,5,7,28,138,22,215],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3758173570,"validated":0}]} 
[2026-09-17 07:32:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432715184819470336,"timestamp_seconds":432715184819470.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 07:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140263424001,"66":13222,"47":206,"85":15104,"24":37,"16":133969156767744000,"45":-9037950370840342528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-17 07:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140263424001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:32:16] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-17 07:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133969156767744000,"km_value":133969156767744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037950370840342528,"description":"Unknown IO ID 45"} 
[2026-09-17 07:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140263424001,"power":13222,"unknown_47":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9037950370840342528}} 
[2026-09-17 07:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":186278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:32:16] local.INFO: GPS data processed {"connection_id":186278,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:32:16] local.INFO: Acknowledgment sent {"connection_id":186278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:32:17] local.INFO: TCP Data received {"connection_id":186278,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad17eef0012d82858005d8ab58000700012b..."} 
[2026-09-17 07:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad17eef0012d82858005d8ab58000700012b..."} 
[2026-09-17 07:32:17] local.INFO: Processing buffer {"connection_id":186278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad17eef0012d82858005d8ab58000700012b..."} 
[2026-09-17 07:32:17] local.INFO: Packet analysis {"connection_id":186278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:32:17] local.INFO: Extracted packet for processing {"connection_id":186278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad17"} 
[2026-09-17 07:32:17] local.INFO: GPS Element Parsed {"raw_longitude":763528576,"raw_latitude":98085720,"longitude_deg":76.3528576,"latitude_deg":9.808572,"altitude":7,"angle":1,"satellites":43,"speed":42,"hex_longitude":"2d828580","hex_latitude":"05d8ab58","is_valid_coordinates":true} 
[2026-09-17 07:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140266496001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133969453120487424,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041468808047138816,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789610422000,"timestamp_ms":1789610422000,"timestamp_seconds":1789610422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad17eef0"} 
[2026-09-17 07:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 07:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:32: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-09-17 07:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140266496001,"66":13341,"47":206,"85":15104,"24":42,"16":133969453120487424,"45":-9041468808047138816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-17 07:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140266496001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:32:17] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-17 07:32:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133969453120487424,"km_value":133969453120487.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041468808047138816,"description":"Unknown IO ID 45"} 
[2026-09-17 07:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140266496001,"power":13341,"unknown_47":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9041468808047138816}} 
[2026-09-17 07:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":186278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:32:17] local.INFO: GPS data processed {"connection_id":186278,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:32:17] local.INFO: Acknowledgment sent {"connection_id":186278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:32:36] local.INFO: TCP Data received {"connection_id":187604,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:32:36] local.INFO: Processing buffer {"connection_id":187604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad14e598012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:32:36] local.INFO: Packet analysis {"connection_id":187604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:32:36] local.INFO: Extracted packet for processing {"connection_id":187604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad14"} 
[2026-09-17 07:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140140032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789610223000,"timestamp_ms":1789610223000,"timestamp_seconds":1789610223,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad14e598"} 
[2026-09-17 07:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 07:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:32:36] 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-09-17 07:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140140032001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140140032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140140032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":187604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:32:36] local.INFO: GPS data processed {"connection_id":187604,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:32:36] local.INFO: Acknowledgment sent {"connection_id":187604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:32:48] local.INFO: TCP Data received {"connection_id":186278,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad19bbe0012d82430005d9f1f8000301662b..."} 
[2026-09-17 07:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad19bbe0012d82430005d9f1f8000301662b..."} 
[2026-09-17 07:32:48] local.INFO: Processing buffer {"connection_id":186278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad19bbe0012d82430005d9f1f8000301662b..."} 
[2026-09-17 07:32:48] local.INFO: Packet analysis {"connection_id":186278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:32:48] local.INFO: Extracted packet for processing {"connection_id":186278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:32:48] local.INFO: GPS Element Parsed {"raw_longitude":763511552,"raw_latitude":98169336,"longitude_deg":76.3511552,"latitude_deg":9.8169336,"altitude":3,"angle":358,"satellites":43,"speed":12,"hex_longitude":"2d824300","hex_latitude":"05d9f1f8","is_valid_coordinates":true} 
[2026-09-17 07:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140296704001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133973619238764544,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060257262719842304,"note":"Value kept but may cause issues"} 
[2026-09-17 07:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789610540000,"timestamp_ms":1789610540000,"timestamp_seconds":1789610540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad19bbe0"} 
[2026-09-17 07:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 07:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140296704001,"66":13406,"69":206,"85":15104,"24":12,"16":133973619238764544,"45":-9060257262719842304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-17 07:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140296704001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:32:48] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-17 07:32:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133973619238764544,"km_value":133973619238764.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060257262719842304,"description":"Unknown IO ID 45"} 
[2026-09-17 07:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140296704001,"power":13406,"unknown_69":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9060257262719842304}} 
[2026-09-17 07:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":186278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:32:48] local.INFO: GPS data processed {"connection_id":186278,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:32:48] local.INFO: Acknowledgment sent {"connection_id":186278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:33:04] local.INFO: TCP Data received {"connection_id":184985,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:33:04] local.INFO: Processing buffer {"connection_id":184985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:33:04] local.INFO: IMEI packet received {"connection_id":184985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":184985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:33:04] local.INFO: TCP Data received {"connection_id":184986,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:33:04] local.INFO: Processing buffer {"connection_id":184986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:33:04] local.INFO: IMEI packet received {"connection_id":184986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":184986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:33:06] local.INFO: TCP Data received {"connection_id":187605,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:33:06] local.INFO: Processing buffer {"connection_id":187605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:33:06] local.INFO: IMEI packet received {"connection_id":187605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":187605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:33:07] local.INFO: TCP Data received {"connection_id":184986,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:33:07] local.INFO: Processing buffer {"connection_id":184986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:33:07] local.INFO: IMEI packet received {"connection_id":184986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":184986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:33:08] local.INFO: TCP Data received {"connection_id":184986,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:33:08] local.INFO: Processing buffer {"connection_id":184986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:33:08] local.INFO: IMEI packet received {"connection_id":184986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":184986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:33:08] local.INFO: TCP Data received {"connection_id":184986,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad19f290012d823d8005da15880004015d28..."} 
[2026-09-17 07:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad19f290012d823d8005da15880004015d28..."} 
[2026-09-17 07:33:08] local.INFO: Processing buffer {"connection_id":184986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad19f290012d823d8005da15880004015d28..."} 
[2026-09-17 07:33:08] local.INFO: Packet analysis {"connection_id":184986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:33:08] local.INFO: Extracted packet for processing {"connection_id":184986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763510144,"raw_latitude":98178440,"longitude_deg":76.3510144,"latitude_deg":9.817844,"altitude":4,"angle":349,"satellites":40,"speed":36,"hex_longitude":"2d823d80","hex_latitude":"05da1588","is_valid_coordinates":true} 
[2026-09-17 07:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140298240001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133974070210330624,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060398000207955968,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789610554000,"timestamp_ms":1789610554000,"timestamp_seconds":1789610554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad19f290"} 
[2026-09-17 07:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 07:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":184986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":184986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":184986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140298240001,"66":13352,"69":206,"85":15104,"24":36,"16":133974070210330624,"45":-9060398000207955968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-17 07:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140298240001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:33:08] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-17 07:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133974070210330624,"km_value":133974070210330.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060398000207955968,"description":"Unknown IO ID 45"} 
[2026-09-17 07:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140298240001,"power":13352,"unknown_69":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9060398000207955968}} 
[2026-09-17 07:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":184986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:33:09] local.INFO: GPS data processed {"connection_id":184986,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:33:09] local.INFO: Acknowledgment sent {"connection_id":184986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:33:09] local.INFO: TCP Data received {"connection_id":184985,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:33:09] local.INFO: Processing buffer {"connection_id":184985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:33:09] local.INFO: IMEI packet received {"connection_id":184985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":184985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:33:09] local.INFO: TCP Data received {"connection_id":184985,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:33:09] local.INFO: Processing buffer {"connection_id":184985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:33:09] local.INFO: Packet analysis {"connection_id":184985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:33:09] local.INFO: Extracted packet for processing {"connection_id":184985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:33: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-09-17 07:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":184985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:33:09] local.INFO: GPS data processed {"connection_id":184985,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:33:09] local.INFO: Acknowledgment sent {"connection_id":184985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:33:39] local.INFO: TCP Data received {"connection_id":184986,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1ad138012d81ca0005da76a0000400f929..."} 
[2026-09-17 07:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1ad138012d81ca0005da76a0000400f929..."} 
[2026-09-17 07:33:39] local.INFO: Processing buffer {"connection_id":184986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1ad138012d81ca0005da76a0000400f929..."} 
[2026-09-17 07:33:39] local.INFO: Packet analysis {"connection_id":184986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1a"} 
[2026-09-17 07:33:39] local.INFO: Extracted packet for processing {"connection_id":184986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1a"} 
[2026-09-17 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763480576,"raw_latitude":98203296,"longitude_deg":76.3480576,"latitude_deg":9.8203296,"altitude":4,"angle":249,"satellites":41,"speed":39,"hex_longitude":"2d81ca00","hex_latitude":"05da76a0","is_valid_coordinates":true} 
[2026-09-17 07:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140314112001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133976677255479296,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9084464110707165184,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789610611000,"timestamp_ms":1789610611000,"timestamp_seconds":1789610611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1ad138"} 
[2026-09-17 07:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-17 07:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":184986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":184986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":184986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140314112001,"66":13178,"71":206,"85":15104,"24":39,"16":133976677255479296,"45":-9084464110707165184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-17 07:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140314112001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:33:39] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-17 07:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133976677255479296,"km_value":133976677255479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9084464110707165184,"description":"Unknown IO ID 45"} 
[2026-09-17 07:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140314112001,"power":13178,"unknown_71":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9084464110707165184}} 
[2026-09-17 07:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":184986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:33:39] local.INFO: GPS data processed {"connection_id":184986,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:33:39] local.INFO: Acknowledgment sent {"connection_id":184986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:33:41] local.INFO: TCP Data received {"connection_id":184985,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:33:41] local.INFO: Processing buffer {"connection_id":184985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:33:41] local.INFO: Packet analysis {"connection_id":184985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:33:41] local.INFO: Extracted packet for processing {"connection_id":184985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":184985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":184985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":184985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:33: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-09-17 07:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":184985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:33:41] local.INFO: GPS data processed {"connection_id":184985,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:33:41] local.INFO: Acknowledgment sent {"connection_id":184985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:33:51] local.INFO: TCP Data received {"connection_id":184987,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:33:51] local.INFO: Processing buffer {"connection_id":184987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:33:51] local.INFO: IMEI packet received {"connection_id":184987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":184987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:33:59] local.INFO: TCP Data received {"connection_id":184988,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:33:59] local.INFO: Processing buffer {"connection_id":184988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:33:59] local.INFO: IMEI packet received {"connection_id":184988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":184988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:34:04] local.INFO: TCP Data received {"connection_id":184988,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:34:04] local.INFO: Processing buffer {"connection_id":184988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:34:04] local.INFO: IMEI packet received {"connection_id":184988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":184988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:34:04] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:04] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:04] local.INFO: IMEI packet received {"connection_id":186279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":186279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:34:05] local.INFO: TCP Data received {"connection_id":184988,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:34:05] local.INFO: Processing buffer {"connection_id":184988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:34:05] local.INFO: Packet analysis {"connection_id":184988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:34:05] local.INFO: Extracted packet for processing {"connection_id":184988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:34:05] 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-09-17 07:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:34:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":184988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:34:05] local.INFO: GPS data processed {"connection_id":184988,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:34:05] local.INFO: Acknowledgment sent {"connection_id":184988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:34:06] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:06] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:06] local.INFO: IMEI packet received {"connection_id":186279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":186279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:34:07] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:07] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:07] local.INFO: IMEI packet received {"connection_id":186279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":186279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:34:10] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:10] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:34:10] local.INFO: IMEI packet received {"connection_id":186279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":186279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:34:11] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1ae0d8012d81bc8005da72600004010628..."} 
[2026-09-17 07:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1ae0d8012d81bc8005da72600004010628..."} 
[2026-09-17 07:34:11] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1ae0d8012d81bc8005da72600004010628..."} 
[2026-09-17 07:34:11] local.INFO: Packet analysis {"connection_id":186279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1a"} 
[2026-09-17 07:34:11] local.INFO: Extracted packet for processing {"connection_id":186279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1a"} 
[2026-09-17 07:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763477120,"raw_latitude":98202208,"longitude_deg":76.347712,"latitude_deg":9.8202208,"altitude":4,"angle":262,"satellites":40,"speed":34,"hex_longitude":"2d81bc80","hex_latitude":"05da7260","is_valid_coordinates":true} 
[2026-09-17 07:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140316416001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133976853349138432,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094456472381251584,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789610615000,"timestamp_ms":1789610615000,"timestamp_seconds":1789610615,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1ae0d8"} 
[2026-09-17 07:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 07:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140316416001,"66":13493,"71":206,"85":15104,"24":34,"16":133976853349138432,"45":-9094456472381251584},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-17 07:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140316416001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:34:11] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-17 07:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133976853349138432,"km_value":133976853349138.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094456472381251584,"description":"Unknown IO ID 45"} 
[2026-09-17 07:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140316416001,"power":13493,"unknown_71":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9094456472381251584}} 
[2026-09-17 07:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":186279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:34:11] local.INFO: GPS data processed {"connection_id":186279,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:34:11] local.INFO: Acknowledgment sent {"connection_id":186279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:34:36] local.INFO: TCP Data received {"connection_id":184988,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:34:36] local.INFO: Processing buffer {"connection_id":184988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:34:36] local.INFO: Packet analysis {"connection_id":184988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:34:36] local.INFO: Extracted packet for processing {"connection_id":184988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:34:36] 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-09-17 07:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":184988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:34:36] local.INFO: GPS data processed {"connection_id":184988,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:34:36] local.INFO: Acknowledgment sent {"connection_id":184988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:34:42] local.INFO: TCP Data received {"connection_id":186279,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1bc368012d81414005daf7a00005013128..."} 
[2026-09-17 07:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1bc368012d81414005daf7a00005013128..."} 
[2026-09-17 07:34:42] local.INFO: Processing buffer {"connection_id":186279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1bc368012d81414005daf7a00005013128..."} 
[2026-09-17 07:34:42] local.INFO: Packet analysis {"connection_id":186279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1b"} 
[2026-09-17 07:34:42] local.INFO: Extracted packet for processing {"connection_id":186279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1b"} 
[2026-09-17 07:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763445568,"raw_latitude":98236320,"longitude_deg":76.3445568,"latitude_deg":9.823632,"altitude":5,"angle":305,"satellites":40,"speed":32,"hex_longitude":"2d814140","hex_latitude":"05daf7a0","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140332032001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133979447509385216,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9132174119252164608,"note":"Value kept but may cause issues"} 
[2026-09-17 07:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789610673000,"timestamp_ms":1789610673000,"timestamp_seconds":1789610673,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1bc368"} 
[2026-09-17 07:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 07:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140332032001,"66":13254,"71":206,"85":15104,"24":32,"16":133979447509385216,"45":-9132174119252164608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-17 07:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140332032001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:34:42] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-17 07:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133979447509385216,"km_value":133979447509385.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9132174119252164608,"description":"Unknown IO ID 45"} 
[2026-09-17 07:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140332032001,"power":13254,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9132174119252164608}} 
[2026-09-17 07:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":186279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:34:42] local.INFO: GPS data processed {"connection_id":186279,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:34:42] local.INFO: Acknowledgment sent {"connection_id":186279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:34:58] local.INFO: TCP Data received {"connection_id":184989,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:34:58] local.INFO: Processing buffer {"connection_id":184989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:34:58] local.INFO: IMEI packet received {"connection_id":184989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":184989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:35:04] local.INFO: TCP Data received {"connection_id":184989,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:35:04] local.INFO: Processing buffer {"connection_id":184989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:35:04] local.INFO: IMEI packet received {"connection_id":184989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":184989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:35:05] local.INFO: TCP Data received {"connection_id":184989,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:35:05] local.INFO: Processing buffer {"connection_id":184989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:35:05] local.INFO: Packet analysis {"connection_id":184989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:35:05] local.INFO: Extracted packet for processing {"connection_id":184989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:35:05] 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-09-17 07:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":184989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:35:05] local.INFO: GPS data processed {"connection_id":184989,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:35:05] local.INFO: Acknowledgment sent {"connection_id":184989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:35:06] local.INFO: TCP Data received {"connection_id":186280,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:35:06] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:35:06] local.INFO: IMEI packet received {"connection_id":186280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":186280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:35:07] local.INFO: TCP Data received {"connection_id":186280,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:35:07] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:35:07] local.INFO: IMEI packet received {"connection_id":186280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":186280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:35:10] local.INFO: TCP Data received {"connection_id":186280,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:35:10] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:35:10] local.INFO: IMEI packet received {"connection_id":186280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":186280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:35:11] local.INFO: TCP Data received {"connection_id":186280,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1bcf20012d8139c005dafd480004013f2a..."} 
[2026-09-17 07:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1bcf20012d8139c005dafd480004013f2a..."} 
[2026-09-17 07:35:11] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1bcf20012d8139c005dafd480004013f2a..."} 
[2026-09-17 07:35:11] local.INFO: Packet analysis {"connection_id":186280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1b"} 
[2026-09-17 07:35:11] local.INFO: Extracted packet for processing {"connection_id":186280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1b"} 
[2026-09-17 07:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763443648,"raw_latitude":98237768,"longitude_deg":76.3443648,"latitude_deg":9.8237768,"altitude":4,"angle":319,"satellites":42,"speed":30,"hex_longitude":"2d8139c0","hex_latitude":"05dafd48","is_valid_coordinates":true} 
[2026-09-17 07:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140332288001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133979563473502208,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9132948175437979648,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789610676000,"timestamp_ms":1789610676000,"timestamp_seconds":1789610676,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1bcf20"} 
[2026-09-17 07:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 07:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140332288001,"66":13341,"71":206,"85":15104,"24":30,"16":133979563473502208,"45":-9132948175437979648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-17 07:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140332288001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:35:11] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-17 07:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133979563473502208,"km_value":133979563473502.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9132948175437979648,"description":"Unknown IO ID 45"} 
[2026-09-17 07:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140332288001,"power":13341,"unknown_71":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9132948175437979648}} 
[2026-09-17 07:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":186280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:35:11] local.INFO: GPS data processed {"connection_id":186280,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:35:11] local.INFO: Acknowledgment sent {"connection_id":186280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:35:37] local.INFO: TCP Data received {"connection_id":184989,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:35:37] local.INFO: Processing buffer {"connection_id":184989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:35:37] local.INFO: Packet analysis {"connection_id":184989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:35:37] local.INFO: Extracted packet for processing {"connection_id":184989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:35:37] 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-09-17 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":184989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:35:37] local.INFO: GPS data processed {"connection_id":184989,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:35:37] local.INFO: Acknowledgment sent {"connection_id":184989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:35:41] local.INFO: TCP Data received {"connection_id":186280,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1bd6f0012d81370005db02b0000401542a..."} 
[2026-09-17 07:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1bd6f0012d81370005db02b0000401542a..."} 
[2026-09-17 07:35:41] local.INFO: Processing buffer {"connection_id":186280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1bd6f0012d81370005db02b0000401542a..."} 
[2026-09-17 07:35:41] local.INFO: Packet analysis {"connection_id":186280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1b"} 
[2026-09-17 07:35:41] local.INFO: Extracted packet for processing {"connection_id":186280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1b"} 
[2026-09-17 07:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763442944,"raw_latitude":98239152,"longitude_deg":76.3442944,"latitude_deg":9.8239152,"altitude":4,"angle":340,"satellites":42,"speed":32,"hex_longitude":"2d813700","hex_latitude":"05db02b0","is_valid_coordinates":true} 
[2026-09-17 07:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140333056001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133979640782913536,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135059237762938880,"note":"Value kept but may cause issues"} 
[2026-09-17 07:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789610678000,"timestamp_ms":1789610678000,"timestamp_seconds":1789610678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1bd6f0"} 
[2026-09-17 07:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 07:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140333056001,"66":13341,"71":206,"85":15104,"24":32,"16":133979640782913536,"45":-9135059237762938880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-17 07:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140333056001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:35:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-17 07:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133979640782913536,"km_value":133979640782913.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135059237762938880,"description":"Unknown IO ID 45"} 
[2026-09-17 07:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140333056001,"power":13341,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9135059237762938880}} 
[2026-09-17 07:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":186280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:35:42] local.INFO: GPS data processed {"connection_id":186280,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:35:42] local.INFO: Acknowledgment sent {"connection_id":186280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:35:58] local.INFO: TCP Data received {"connection_id":187606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:35:58] local.INFO: Processing buffer {"connection_id":187606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:35:58] local.INFO: IMEI packet received {"connection_id":187606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":187606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:36:04] local.INFO: TCP Data received {"connection_id":187606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:36:04] local.INFO: Processing buffer {"connection_id":187606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:36:04] local.INFO: IMEI packet received {"connection_id":187606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":187606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:36:05] local.INFO: TCP Data received {"connection_id":187606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:36:05] local.INFO: Processing buffer {"connection_id":187606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:36:05] local.INFO: Packet analysis {"connection_id":187606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:36:05] local.INFO: Extracted packet for processing {"connection_id":187606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:36:05] 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-09-17 07:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:36:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":187606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:36:05] local.INFO: GPS data processed {"connection_id":187606,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:36:05] local.INFO: Acknowledgment sent {"connection_id":187606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:36:07] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:36:07] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:36:07] local.INFO: IMEI packet received {"connection_id":186282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":186282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:36:07] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:36:07] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:36:07] local.INFO: IMEI packet received {"connection_id":186282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":186282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:36:11] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:36:11] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:36:11] local.INFO: IMEI packet received {"connection_id":186282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":186282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:36:12] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1bf630012d812f4005db1b68000401492b..."} 
[2026-09-17 07:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1bf630012d812f4005db1b68000401492b..."} 
[2026-09-17 07:36:12] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1bf630012d812f4005db1b68000401492b..."} 
[2026-09-17 07:36:12] local.INFO: Packet analysis {"connection_id":186282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1b"} 
[2026-09-17 07:36:12] local.INFO: Extracted packet for processing {"connection_id":186282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1b"} 
[2026-09-17 07:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763440960,"raw_latitude":98245480,"longitude_deg":76.344096,"latitude_deg":9.824548,"altitude":4,"angle":329,"satellites":43,"speed":33,"hex_longitude":"2d812f40","hex_latitude":"05db1b68","is_valid_coordinates":true} 
[2026-09-17 07:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140333568001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133979962905460736,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135833293948538880,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789610686000,"timestamp_ms":1789610686000,"timestamp_seconds":1789610686,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1bf630"} 
[2026-09-17 07:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 07:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140333568001,"66":12993,"153":206,"85":15104,"24":33,"16":133979962905460736,"45":-9135833293948538880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-09-17 07:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140333568001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:36:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 07:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133979962905460736,"km_value":133979962905460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135833293948538880,"description":"Unknown IO ID 45"} 
[2026-09-17 07:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140333568001,"power":12993,"unknown_153":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9135833293948538880}} 
[2026-09-17 07:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":186282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:36:12] local.INFO: GPS data processed {"connection_id":186282,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:36:12] local.INFO: Acknowledgment sent {"connection_id":186282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:36:37] local.INFO: TCP Data received {"connection_id":187606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:36:37] local.INFO: Processing buffer {"connection_id":187606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:36:37] local.INFO: Packet analysis {"connection_id":187606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:36:37] local.INFO: Extracted packet for processing {"connection_id":187606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:36:37] 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-09-17 07:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":187606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:36:37] local.INFO: GPS data processed {"connection_id":187606,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:36:37] local.INFO: Acknowledgment sent {"connection_id":187606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:36:43] local.INFO: TCP Data received {"connection_id":186282,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1d4df0012d8084c005dc65200006015129..."} 
[2026-09-17 07:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1d4df0012d8084c005dc65200006015129..."} 
[2026-09-17 07:36:43] local.INFO: Processing buffer {"connection_id":186282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1d4df0012d8084c005dc65200006015129..."} 
[2026-09-17 07:36:43] local.INFO: Packet analysis {"connection_id":186282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1d"} 
[2026-09-17 07:36:43] local.INFO: Extracted packet for processing {"connection_id":186282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1d"} 
[2026-09-17 07:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763397312,"raw_latitude":98329888,"longitude_deg":76.3397312,"latitude_deg":9.8329888,"altitude":6,"angle":337,"satellites":41,"speed":46,"hex_longitude":"2d8084c0","hex_latitude":"05dc6520","is_valid_coordinates":true} 
[2026-09-17 07:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140356864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133984575700336640,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182980352525629440,"note":"Value kept but may cause issues"} 
[2026-09-17 07:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789610774000,"timestamp_ms":1789610774000,"timestamp_seconds":1789610774,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1d4df0"} 
[2026-09-17 07:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 07:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140356864001,"66":13363,"251":206,"85":15104,"24":46,"16":133984575700336640,"45":-9182980352525629440},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-17 07:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140356864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:36:43] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 07:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133984575700336640,"km_value":133984575700336.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182980352525629440,"description":"Unknown IO ID 45"} 
[2026-09-17 07:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140356864001,"power":13363,"unknown_251":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9182980352525629440}} 
[2026-09-17 07:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":186282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:36:43] local.INFO: GPS data processed {"connection_id":186282,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:36:43] local.INFO: Acknowledgment sent {"connection_id":186282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:36:58] local.INFO: TCP Data received {"connection_id":184991,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:36:58] local.INFO: Processing buffer {"connection_id":184991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:36:58] local.INFO: IMEI packet received {"connection_id":184991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":184991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:37:04] local.INFO: TCP Data received {"connection_id":184991,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:37:04] local.INFO: Processing buffer {"connection_id":184991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:37:04] local.INFO: IMEI packet received {"connection_id":184991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":184991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:37:05] local.INFO: TCP Data received {"connection_id":184991,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:37:05] local.INFO: Processing buffer {"connection_id":184991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:37:05] local.INFO: Packet analysis {"connection_id":184991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:37:05] local.INFO: Extracted packet for processing {"connection_id":184991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:37:05] 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-09-17 07:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":184991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:37:05] local.INFO: GPS data processed {"connection_id":184991,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:37:05] local.INFO: Acknowledgment sent {"connection_id":184991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:37:07] local.INFO: TCP Data received {"connection_id":184876,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:37:07] local.INFO: Processing buffer {"connection_id":184876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:37:07] local.INFO: IMEI packet received {"connection_id":184876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":184876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:37:12] local.INFO: TCP Data received {"connection_id":184876,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:37:12] local.INFO: Processing buffer {"connection_id":184876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:37:12] local.INFO: IMEI packet received {"connection_id":184876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":184876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:37:12] local.INFO: TCP Data received {"connection_id":184876,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1d6d30012d80788005dc8660000501522a..."} 
[2026-09-17 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1d6d30012d80788005dc8660000501522a..."} 
[2026-09-17 07:37:12] local.INFO: Processing buffer {"connection_id":184876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1d6d30012d80788005dc8660000501522a..."} 
[2026-09-17 07:37:12] local.INFO: Packet analysis {"connection_id":184876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1d"} 
[2026-09-17 07:37:12] local.INFO: Extracted packet for processing {"connection_id":184876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1d"} 
[2026-09-17 07:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763394176,"raw_latitude":98338400,"longitude_deg":76.3394176,"latitude_deg":9.83384,"altitude":5,"angle":338,"satellites":42,"speed":43,"hex_longitude":"2d807880","hex_latitude":"05dc8660","is_valid_coordinates":true} 
[2026-09-17 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140358144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133985018081968128,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186006208523984896,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789610782000,"timestamp_ms":1789610782000,"timestamp_seconds":1789610782,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1d6d30"} 
[2026-09-17 07:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 07:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":184876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":184876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":184876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140358144001,"66":13135,"251":206,"85":15104,"24":43,"16":133985018081968128,"45":-9186006208523984896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-17 07:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140358144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:37:12] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 07:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133985018081968128,"km_value":133985018081968.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186006208523984896,"description":"Unknown IO ID 45"} 
[2026-09-17 07:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140358144001,"power":13135,"unknown_251":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9186006208523984896}} 
[2026-09-17 07:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":184876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:37:12] local.INFO: GPS data processed {"connection_id":184876,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:37:12] local.INFO: Acknowledgment sent {"connection_id":184876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:37:36] local.INFO: TCP Data received {"connection_id":184991,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:37:36] local.INFO: Processing buffer {"connection_id":184991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad197d60012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:37:36] local.INFO: Packet analysis {"connection_id":184991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:37:36] local.INFO: Extracted packet for processing {"connection_id":184991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad19"} 
[2026-09-17 07:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140217088001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789610524000,"timestamp_ms":1789610524000,"timestamp_seconds":1789610524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad197d60"} 
[2026-09-17 07:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:37:36] 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-09-17 07:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140217088001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140217088001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140217088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":184991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:37:36] local.INFO: GPS data processed {"connection_id":184991,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:37:36] local.INFO: Acknowledgment sent {"connection_id":184991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:37:43] local.INFO: TCP Data received {"connection_id":184876,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e99f8012d7fa44005dc7d680006011228..."} 
[2026-09-17 07:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e99f8012d7fa44005dc7d680006011228..."} 
[2026-09-17 07:37:43] local.INFO: Processing buffer {"connection_id":184876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e99f8012d7fa44005dc7d680006011228..."} 
[2026-09-17 07:37:43] local.INFO: Packet analysis {"connection_id":184876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:37:43] local.INFO: Extracted packet for processing {"connection_id":184876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":98336104,"longitude_deg":76.333984,"latitude_deg":9.8336104,"altitude":6,"angle":274,"satellites":40,"speed":32,"hex_longitude":"2d7fa440","hex_latitude":"05dc7d68","is_valid_coordinates":true} 
[2026-09-17 07:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140379392001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133987942954696704,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376320264245248,"note":"Value kept but may cause issues"} 
[2026-09-17 07:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789610859000,"timestamp_ms":1789610859000,"timestamp_seconds":1789610859,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e99f8"} 
[2026-09-17 07:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 07:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":184876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":184876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":184876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140379392001,"66":13276,"251":206,"85":15104,"24":32,"16":133987942954696704,"45":9199376320264245248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-17 07:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140379392001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:37:43] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 07:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133987942954696704,"km_value":133987942954696.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376320264245248,"description":"Unknown IO ID 45"} 
[2026-09-17 07:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140379392001,"power":13276,"unknown_251":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9199376320264245248}} 
[2026-09-17 07:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":184876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:37:43] local.INFO: GPS data processed {"connection_id":184876,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:37:43] local.INFO: Acknowledgment sent {"connection_id":184876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:38:04] local.INFO: TCP Data received {"connection_id":184877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:38:04] local.INFO: Processing buffer {"connection_id":184877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:38:04] local.INFO: IMEI packet received {"connection_id":184877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":184877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:38:09] local.INFO: TCP Data received {"connection_id":184877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:38:09] local.INFO: Processing buffer {"connection_id":184877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:38:09] local.INFO: IMEI packet received {"connection_id":184877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":184877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:38:10] local.INFO: TCP Data received {"connection_id":184877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:38:10] local.INFO: Processing buffer {"connection_id":184877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:38:10] local.INFO: Packet analysis {"connection_id":184877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:38:10] local.INFO: Extracted packet for processing {"connection_id":184877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:38: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-09-17 07:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":184877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:38:10] local.INFO: GPS data processed {"connection_id":184877,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:38:10] local.INFO: Acknowledgment sent {"connection_id":184877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:38:41] local.INFO: TCP Data received {"connection_id":184877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:38:41] local.INFO: Processing buffer {"connection_id":184877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:38:41] local.INFO: Packet analysis {"connection_id":184877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:38:41] local.INFO: Extracted packet for processing {"connection_id":184877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":184877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":184877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":184877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:38: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-09-17 07:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":184877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:38:41] local.INFO: GPS data processed {"connection_id":184877,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:38:41] local.INFO: Acknowledgment sent {"connection_id":184877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:38:42] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:38:42] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:38:42] local.INFO: IMEI packet received {"connection_id":186283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":186283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:38:47] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:38:47] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:38:47] local.INFO: IMEI packet received {"connection_id":186283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":186283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:38:48] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:38:48] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:38:48] local.INFO: IMEI packet received {"connection_id":186283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":186283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:38:50] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1f1ec8012d7f6c4005dcfa080005014b28..."} 
[2026-09-17 07:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1f1ec8012d7f6c4005dcfa080005014b28..."} 
[2026-09-17 07:38:50] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1f1ec8012d7f6c4005dcfa080005014b28..."} 
[2026-09-17 07:38:50] local.INFO: Packet analysis {"connection_id":186283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1f"} 
[2026-09-17 07:38:50] local.INFO: Extracted packet for processing {"connection_id":186283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1f"} 
[2026-09-17 07:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763325504,"raw_latitude":98368008,"longitude_deg":76.3325504,"latitude_deg":9.8368008,"altitude":5,"angle":331,"satellites":40,"speed":46,"hex_longitude":"2d7f6c40","hex_latitude":"05dcfa08","is_valid_coordinates":true} 
[2026-09-17 07:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140386560001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133989682416451584,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184809990225346560,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789610893000,"timestamp_ms":1789610893000,"timestamp_seconds":1789610893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1f1ec8"} 
[2026-09-17 07:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 07:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140386560001,"66":13374,"251":206,"85":15104,"24":46,"16":133989682416451584,"45":9184809990225346560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-17 07:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140386560001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:38:50] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 07:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133989682416451584,"km_value":133989682416451.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184809990225346560,"description":"Unknown IO ID 45"} 
[2026-09-17 07:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140386560001,"power":13374,"unknown_251":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9184809990225346560}} 
[2026-09-17 07:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":186283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:38:50] local.INFO: GPS data processed {"connection_id":186283,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:38:50] local.INFO: Acknowledgment sent {"connection_id":186283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:38:51] local.INFO: TCP Data received {"connection_id":186283,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1f1ec8012d7f6c4005dcfa080005014b28..."} 
[2026-09-17 07:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1f1ec8012d7f6c4005dcfa080005014b28..."} 
[2026-09-17 07:38:51] local.INFO: Processing buffer {"connection_id":186283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1f1ec8012d7f6c4005dcfa080005014b28..."} 
[2026-09-17 07:38:51] local.INFO: Packet analysis {"connection_id":186283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1f"} 
[2026-09-17 07:38:51] local.INFO: Extracted packet for processing {"connection_id":186283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1f"} 
[2026-09-17 07:38:51] local.INFO: GPS Element Parsed {"raw_longitude":763325504,"raw_latitude":98368008,"longitude_deg":76.3325504,"latitude_deg":9.8368008,"altitude":5,"angle":331,"satellites":40,"speed":46,"hex_longitude":"2d7f6c40","hex_latitude":"05dcfa08","is_valid_coordinates":true} 
[2026-09-17 07:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140388608001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133989682416451584,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181784134227986432,"note":"Value kept but may cause issues"} 
[2026-09-17 07:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789610893000,"timestamp_ms":1789610893000,"timestamp_seconds":1789610893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1f1ec8"} 
[2026-09-17 07:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 07:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140388608001,"66":13374,"251":206,"85":15104,"24":46,"16":133989682416451584,"45":9181784134227986432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-17 07:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140388608001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:38:51] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 07:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133989682416451584,"km_value":133989682416451.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181784134227986432,"description":"Unknown IO ID 45"} 
[2026-09-17 07:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140388608001,"power":13374,"unknown_251":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9181784134227986432}} 
[2026-09-17 07:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":186283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:38:51] local.INFO: GPS data processed {"connection_id":186283,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:38:51] local.INFO: Acknowledgment sent {"connection_id":186283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:39:00] local.INFO: TCP Data received {"connection_id":184878,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:39:00] local.INFO: Processing buffer {"connection_id":184878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:39:00] local.INFO: IMEI packet received {"connection_id":184878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":184878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:39:04] local.INFO: TCP Data received {"connection_id":184878,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:39:04] local.INFO: Processing buffer {"connection_id":184878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:39:04] local.INFO: IMEI packet received {"connection_id":184878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":184878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:39:05] local.INFO: TCP Data received {"connection_id":184878,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:39:05] local.INFO: Processing buffer {"connection_id":184878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:39:05] local.INFO: Packet analysis {"connection_id":184878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:39:05] local.INFO: Extracted packet for processing {"connection_id":184878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:39:05] 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-09-17 07:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:39:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":184878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:39:05] local.INFO: GPS data processed {"connection_id":184878,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:39:05] local.INFO: Acknowledgment sent {"connection_id":184878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:39:06] local.INFO: TCP Data received {"connection_id":187608,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:39:06] local.INFO: Processing buffer {"connection_id":187608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:39:06] local.INFO: IMEI packet received {"connection_id":187608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":187608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:39:12] local.INFO: TCP Data received {"connection_id":187609,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:39:12] local.INFO: Processing buffer {"connection_id":187609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:39:12] local.INFO: IMEI packet received {"connection_id":187609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":187609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:39:12] local.INFO: TCP Data received {"connection_id":187609,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:39:12] local.INFO: Processing buffer {"connection_id":187609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:39:12] local.INFO: IMEI packet received {"connection_id":187609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":187609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:39:17] local.INFO: TCP Data received {"connection_id":187609,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:39:17] local.INFO: Processing buffer {"connection_id":187609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:39:17] local.INFO: IMEI packet received {"connection_id":187609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":187609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:39:28] local.INFO: TCP Data received {"connection_id":187609,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1f3e08012d7f574005dd16b8000601452a..."} 
[2026-09-17 07:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1f3e08012d7f574005dd16b8000601452a..."} 
[2026-09-17 07:39:28] local.INFO: Processing buffer {"connection_id":187609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1f3e08012d7f574005dd16b8000601452a..."} 
[2026-09-17 07:39:28] local.INFO: Packet analysis {"connection_id":187609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1f"} 
[2026-09-17 07:39:28] local.INFO: Extracted packet for processing {"connection_id":187609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1f"} 
[2026-09-17 07:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763320128,"raw_latitude":98375352,"longitude_deg":76.3320128,"latitude_deg":9.8375352,"altitude":6,"angle":325,"satellites":42,"speed":41,"hex_longitude":"2d7f5740","hex_latitude":"05dd16b8","is_valid_coordinates":true} 
[2026-09-17 07:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140388608001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133990120503115776,"note":"Value kept but may cause issues"} 
[2026-09-17 07:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181784134227986432,"note":"Value kept but may cause issues"} 
[2026-09-17 07:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789610901000,"timestamp_ms":1789610901000,"timestamp_seconds":1789610901,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1f3e08"} 
[2026-09-17 07:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 07:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140388608001,"66":13091,"205":206,"85":15104,"24":41,"16":133990120503115776,"45":9181784134227986432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-17 07:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140388608001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133990120503115776,"km_value":133990120503115.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181784134227986432,"description":"Unknown IO ID 45"} 
[2026-09-17 07:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140388608001,"power":13091,"cell_id":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9181784134227986432}} 
[2026-09-17 07:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":187609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:39:28] local.INFO: GPS data processed {"connection_id":187609,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:39:28] local.INFO: Acknowledgment sent {"connection_id":187609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:39:37] local.INFO: TCP Data received {"connection_id":184878,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:39:37] local.INFO: Processing buffer {"connection_id":184878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:39:37] local.INFO: Packet analysis {"connection_id":184878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:39:37] local.INFO: Extracted packet for processing {"connection_id":184878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:39:37] 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-09-17 07:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":184878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:39:37] local.INFO: GPS data processed {"connection_id":184878,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:39:37] local.INFO: Acknowledgment sent {"connection_id":184878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:39:52] local.INFO: TCP Data received {"connection_id":184992,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:39:52] local.INFO: Processing buffer {"connection_id":184992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:39:52] local.INFO: IMEI packet received {"connection_id":184992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":184992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:39:58] local.INFO: TCP Data received {"connection_id":187610,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:39:58] local.INFO: Processing buffer {"connection_id":187610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:39:58] local.INFO: IMEI packet received {"connection_id":187610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":187610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:40:04] local.INFO: TCP Data received {"connection_id":187610,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:40:04] local.INFO: Processing buffer {"connection_id":187610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:40:04] local.INFO: IMEI packet received {"connection_id":187610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":187610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:40:05] local.INFO: TCP Data received {"connection_id":187610,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:40:05] local.INFO: Processing buffer {"connection_id":187610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:40:05] local.INFO: Packet analysis {"connection_id":187610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:40:05] local.INFO: Extracted packet for processing {"connection_id":187610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:40:05] 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-09-17 07:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:40:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":187610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:40:05] local.INFO: GPS data processed {"connection_id":187610,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:40:05] local.INFO: Acknowledgment sent {"connection_id":187610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:40:07] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:40:07] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:40:07] local.INFO: IMEI packet received {"connection_id":186284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":186284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:40:10] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:40:10] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:40:10] local.INFO: IMEI packet received {"connection_id":186284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":186284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:40:12] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:40:12] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:40:12] local.INFO: IMEI packet received {"connection_id":186284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":186284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:40:13] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad202c50012d7f19c005dde760000501512b..."} 
[2026-09-17 07:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad202c50012d7f19c005dde760000501512b..."} 
[2026-09-17 07:40:13] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad202c50012d7f19c005dde760000501512b..."} 
[2026-09-17 07:40:13] local.INFO: Packet analysis {"connection_id":186284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad20"} 
[2026-09-17 07:40:13] local.INFO: Extracted packet for processing {"connection_id":186284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad20"} 
[2026-09-17 07:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763304384,"raw_latitude":98428768,"longitude_deg":76.3304384,"latitude_deg":9.8428768,"altitude":5,"angle":337,"satellites":43,"speed":40,"hex_longitude":"2d7f19c0","hex_latitude":"05dde760","is_valid_coordinates":true} 
[2026-09-17 07:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140404480001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133992860692250624,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162925310802354176,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789610962000,"timestamp_ms":1789610962000,"timestamp_seconds":1789610962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad202c50"} 
[2026-09-17 07:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2904527864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":221,"raw_value":5350276378813868032,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3715000320,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57719339654993211,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.WARNING: Large IO value detected {"io_id":31,"raw_value":8128998622324408325,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:13] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,111,85,24,241,157,16,9,160,253,45,192,189,4,40,10,66,222,161,42,8,198,64,1,240,3,227,173,221,113,205,11,171,60,239,50,2,220,5,39,51,31],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[]} 
[2026-09-17 07:40:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360645491859980288,"timestamp_seconds":360645491859980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 07:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140404480001,"66":13352,"111":206,"85":15104,"24":40,"16":133992860692250624,"45":9162925310802354176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-17 07:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140404480001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:40:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-17 07:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133992860692250624,"km_value":133992860692250.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162925310802354176,"description":"Unknown IO ID 45"} 
[2026-09-17 07:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140404480001,"power":13352,"unknown_111":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9162925310802354176}} 
[2026-09-17 07:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":186284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:40:13] local.INFO: GPS data processed {"connection_id":186284,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:40:13] local.INFO: Acknowledgment sent {"connection_id":186284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:40:37] local.INFO: TCP Data received {"connection_id":187610,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:40:37] local.INFO: Processing buffer {"connection_id":187610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:40:37] local.INFO: Packet analysis {"connection_id":187610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:40:37] local.INFO: Extracted packet for processing {"connection_id":187610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:40:37] 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-09-17 07:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":187610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:40:37] local.INFO: GPS data processed {"connection_id":187610,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:40:37] local.INFO: Acknowledgment sent {"connection_id":187610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:40:44] local.INFO: TCP Data received {"connection_id":186284,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad207a70012d7f0f0005de00c80006015429..."} 
[2026-09-17 07:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad207a70012d7f0f0005de00c80006015429..."} 
[2026-09-17 07:40:44] local.INFO: Processing buffer {"connection_id":186284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad207a70012d7f0f0005de00c80006015429..."} 
[2026-09-17 07:40:44] local.INFO: Packet analysis {"connection_id":186284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad20"} 
[2026-09-17 07:40:44] local.INFO: Extracted packet for processing {"connection_id":186284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad20"} 
[2026-09-17 07:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763301632,"raw_latitude":98435272,"longitude_deg":76.3301632,"latitude_deg":9.8435272,"altitude":6,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d7f0f00","hex_latitude":"05de00c8","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140406272001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133993204289634304,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158562448664911872,"note":"Value kept but may cause issues"} 
[2026-09-17 07:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789610982000,"timestamp_ms":1789610982000,"timestamp_seconds":1789610982,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad207a70"} 
[2026-09-17 07:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-17 07:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140406272001,"66":13504,"101":206,"85":15104,"24":0,"16":133993204289634304,"45":9158562448664911872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-09-17 07:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140406272001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:40:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 07:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133993204289634304,"km_value":133993204289634.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158562448664911872,"description":"Unknown IO ID 45"} 
[2026-09-17 07:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140406272001,"power":13504,"unknown_101":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9158562448664911872}} 
[2026-09-17 07:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":186284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:40:44] local.INFO: GPS data processed {"connection_id":186284,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:40:44] local.INFO: Acknowledgment sent {"connection_id":186284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:40:58] local.INFO: TCP Data received {"connection_id":187612,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:40:58] local.INFO: Processing buffer {"connection_id":187612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:40:58] local.INFO: IMEI packet received {"connection_id":187612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":187612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:41:04] local.INFO: TCP Data received {"connection_id":187612,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:41:04] local.INFO: Processing buffer {"connection_id":187612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:41:04] local.INFO: IMEI packet received {"connection_id":187612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":187612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:41:04] local.INFO: TCP Data received {"connection_id":187612,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:41:04] local.INFO: Processing buffer {"connection_id":187612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:41:04] local.INFO: Packet analysis {"connection_id":187612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:41:04] local.INFO: Extracted packet for processing {"connection_id":187612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:41:04] 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-09-17 07:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":187612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:41:04] local.INFO: GPS data processed {"connection_id":187612,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:41:04] local.INFO: Acknowledgment sent {"connection_id":187612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:41:07] local.INFO: TCP Data received {"connection_id":184993,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:41:07] local.INFO: Processing buffer {"connection_id":184993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:41:07] local.INFO: IMEI packet received {"connection_id":184993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":184993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:41:12] local.INFO: TCP Data received {"connection_id":184993,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:41:12] local.INFO: Processing buffer {"connection_id":184993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:41:12] local.INFO: IMEI packet received {"connection_id":184993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":184993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:41:13] local.INFO: TCP Data received {"connection_id":184993,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad20bcd8012d7f014005de2210000801542a..."} 
[2026-09-17 07:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad20bcd8012d7f014005de2210000801542a..."} 
[2026-09-17 07:41:13] local.INFO: Processing buffer {"connection_id":184993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad20bcd8012d7f014005de2210000801542a..."} 
[2026-09-17 07:41:13] local.INFO: Packet analysis {"connection_id":184993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad20"} 
[2026-09-17 07:41:13] local.INFO: Extracted packet for processing {"connection_id":184993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad20"} 
[2026-09-17 07:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763298112,"raw_latitude":98443792,"longitude_deg":76.3298112,"latitude_deg":9.8443792,"altitude":8,"angle":340,"satellites":42,"speed":36,"hex_longitude":"2d7f0140","hex_latitude":"05de2210","is_valid_coordinates":true} 
[2026-09-17 07:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140411392001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133993655261200384,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155536592666937344,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789610999000,"timestamp_ms":1789610999000,"timestamp_seconds":1789610999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad20bcd8"} 
[2026-09-17 07:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-17 07:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140411392001,"66":13341,"101":206,"85":15104,"24":36,"16":133993655261200384,"45":9155536592666937344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-09-17 07:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140411392001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:41:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 07:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133993655261200384,"km_value":133993655261200.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155536592666937344,"description":"Unknown IO ID 45"} 
[2026-09-17 07:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140411392001,"power":13341,"unknown_101":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9155536592666937344}} 
[2026-09-17 07:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":184993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:41:13] local.INFO: GPS data processed {"connection_id":184993,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:41:13] local.INFO: Acknowledgment sent {"connection_id":184993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:41:36] local.INFO: TCP Data received {"connection_id":187612,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:41:36] local.INFO: Processing buffer {"connection_id":187612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:41:36] local.INFO: Packet analysis {"connection_id":187612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:41:36] local.INFO: Extracted packet for processing {"connection_id":187612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:41:36] 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-09-17 07:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":187612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:41:36] local.INFO: GPS data processed {"connection_id":187612,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:41:36] local.INFO: Acknowledgment sent {"connection_id":187612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:41:45] local.INFO: TCP Data received {"connection_id":184993,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad20e000012d7ef58005de46b0000901572b..."} 
[2026-09-17 07:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad20e000012d7ef58005de46b0000901572b..."} 
[2026-09-17 07:41:45] local.INFO: Processing buffer {"connection_id":184993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad20e000012d7ef58005de46b0000901572b..."} 
[2026-09-17 07:41:45] local.INFO: Packet analysis {"connection_id":184993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad20"} 
[2026-09-17 07:41:45] local.INFO: Extracted packet for processing {"connection_id":184993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad20"} 
[2026-09-17 07:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763295104,"raw_latitude":98453168,"longitude_deg":76.3295104,"latitude_deg":9.8453168,"altitude":9,"angle":343,"satellites":43,"speed":46,"hex_longitude":"2d7ef580","hex_latitude":"05de46b0","is_valid_coordinates":true} 
[2026-09-17 07:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140415744001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133994132002570240,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151666311739346944,"note":"Value kept but may cause issues"} 
[2026-09-17 07:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789611008000,"timestamp_ms":1789611008000,"timestamp_seconds":1789611008,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad20e000"} 
[2026-09-17 07:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 07:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":184993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":184993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":184993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140415744001,"66":13472,"101":206,"85":15104,"24":46,"16":133994132002570240,"45":9151666311739346944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-09-17 07:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140415744001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:41:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 07:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133994132002570240,"km_value":133994132002570.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151666311739346944,"description":"Unknown IO ID 45"} 
[2026-09-17 07:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140415744001,"power":13472,"unknown_101":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9151666311739346944}} 
[2026-09-17 07:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":184993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:41:45] local.INFO: GPS data processed {"connection_id":184993,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:41:45] local.INFO: Acknowledgment sent {"connection_id":184993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:41:58] local.INFO: TCP Data received {"connection_id":184880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:41:58] local.INFO: Processing buffer {"connection_id":184880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:41:58] local.INFO: IMEI packet received {"connection_id":184880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":184880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:42:04] local.INFO: TCP Data received {"connection_id":184880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:42:04] local.INFO: Processing buffer {"connection_id":184880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:42:04] local.INFO: IMEI packet received {"connection_id":184880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":184880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:42:04] local.INFO: TCP Data received {"connection_id":184880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:42:04] local.INFO: Processing buffer {"connection_id":184880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:42:04] local.INFO: Packet analysis {"connection_id":184880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:42:04] local.INFO: Extracted packet for processing {"connection_id":184880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:42:04] 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-09-17 07:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":184880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:42:04] local.INFO: GPS data processed {"connection_id":184880,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:42:04] local.INFO: Acknowledgment sent {"connection_id":184880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:42:12] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:42:12] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:42:12] local.INFO: IMEI packet received {"connection_id":186286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":186286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:42:13] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:42:13] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:42:13] local.INFO: IMEI packet received {"connection_id":186286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":186286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:42:16] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:42:16] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:42:16] local.INFO: IMEI packet received {"connection_id":186286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":186286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:42:17] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.6","data_length":1340,"data_hex":"000000000000030f8e0a000001a0ad222ff0012d7e8d0005df5428000a01592c..."} 
[2026-09-17 07:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0ad222ff0012d7e8d0005df5428000a01592c..."} 
[2026-09-17 07:42:17] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0ad222ff0012d7e8d0005df5428000a01592c..."} 
[2026-09-17 07:42:17] local.INFO: Packet analysis {"connection_id":186286,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:42:17] local.INFO: Extracted packet for processing {"connection_id":186286,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:42:17] local.INFO: GPS Element Parsed {"raw_longitude":763268352,"raw_latitude":98522152,"longitude_deg":76.3268352,"latitude_deg":9.8522152,"altitude":10,"angle":345,"satellites":44,"speed":46,"hex_longitude":"2d7e8d00","hex_latitude":"05df5428","is_valid_coordinates":true} 
[2026-09-17 07:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140438272001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133997778429804544,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122041070458863616,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789611094000,"timestamp_ms":1789611094000,"timestamp_seconds":1789611094,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad222ff0"} 
[2026-09-17 07:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 07:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140438272001,"66":13374,"206":206,"85":15104,"24":46,"16":133997778429804544,"45":9122041070458863616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-17 07:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140438272001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:42:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 07:42:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133997778429804544,"km_value":133997778429804.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122041070458863616,"description":"Unknown IO ID 45"} 
[2026-09-17 07:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140438272001,"power":13374,"unknown_206":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9122041070458863616}} 
[2026-09-17 07:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":186286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:42:17] local.INFO: GPS data processed {"connection_id":186286,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:42:17] local.INFO: Acknowledgment sent {"connection_id":186286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:42:17] local.INFO: Packet analysis {"connection_id":186286,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:42:17] local.INFO: Incomplete packet, waiting for more data {"connection_id":186286,"needed":795,"available":545} 
[2026-09-17 07:42:18] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.6","data_length":250,"data_hex":"e3001001dc0ced00000000000001a0ad216ca0012d7ecf4005ded6f00008015f..."} 
[2026-09-17 07:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":250,"packet_hex":"e3001001dc0ced00000000000001a0ad216ca0012d7ecf4005ded6f00008015f..."} 
[2026-09-17 07:42:18] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad225318012d7e820005df76f0000b015629..."} 
[2026-09-17 07:42:18] local.INFO: Packet analysis {"connection_id":186286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:42:18] local.INFO: Extracted packet for processing {"connection_id":186286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763265536,"raw_latitude":98531056,"longitude_deg":76.3265536,"latitude_deg":9.8531056,"altitude":11,"angle":342,"satellites":41,"speed":34,"hex_longitude":"2d7e8200","hex_latitude":"05df76f0","is_valid_coordinates":true} 
[2026-09-17 07:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140440064001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133998233696337920,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118944845716793344,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789611103000,"timestamp_ms":1789611103000,"timestamp_seconds":1789611103,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad225318"} 
[2026-09-17 07:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 07:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140440064001,"66":13298,"206":206,"85":15104,"24":34,"16":133998233696337920,"45":9118944845716793344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-17 07:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140440064001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:42:18] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 07:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133998233696337920,"km_value":133998233696337.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118944845716793344,"description":"Unknown IO ID 45"} 
[2026-09-17 07:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140440064001,"power":13298,"unknown_206":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9118944845716793344}} 
[2026-09-17 07:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":186286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:42:18] local.INFO: GPS data processed {"connection_id":186286,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:42:18] local.INFO: Acknowledgment sent {"connection_id":186286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:42:22] local.INFO: TCP Data received {"connection_id":186286,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad227a28012d7e75c005df9908000b01562b..."} 
[2026-09-17 07:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad227a28012d7e75c005df9908000b01562b..."} 
[2026-09-17 07:42:22] local.INFO: Processing buffer {"connection_id":186286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad227a28012d7e75c005df9908000b01562b..."} 
[2026-09-17 07:42:22] local.INFO: Packet analysis {"connection_id":186286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:42:22] local.INFO: Extracted packet for processing {"connection_id":186286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763262400,"raw_latitude":98539784,"longitude_deg":76.32624,"latitude_deg":9.8539784,"altitude":11,"angle":342,"satellites":43,"speed":37,"hex_longitude":"2d7e75c0","hex_latitude":"05df9908","is_valid_coordinates":true} 
[2026-09-17 07:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140442368001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133998680372936704,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115848620975255552,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789611113000,"timestamp_ms":1789611113000,"timestamp_seconds":1789611113,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad227a28"} 
[2026-09-17 07:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-17 07:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140442368001,"66":13450,"207":206,"85":15104,"24":37,"16":133998680372936704,"45":9115848620975255552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 07:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140442368001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:42:22] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 07:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133998680372936704,"km_value":133998680372936.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115848620975255552,"description":"Unknown IO ID 45"} 
[2026-09-17 07:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140442368001,"power":13450,"unknown_207":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9115848620975255552}} 
[2026-09-17 07:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":186286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:42:22] local.INFO: GPS data processed {"connection_id":186286,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:42:22] local.INFO: Acknowledgment sent {"connection_id":186286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:42:36] local.INFO: TCP Data received {"connection_id":184880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:42:36] local.INFO: Processing buffer {"connection_id":184880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad1e1528012d34c3c006aa4458000c011728..."} 
[2026-09-17 07:42:36] local.INFO: Packet analysis {"connection_id":184880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:42:36] local.INFO: Extracted packet for processing {"connection_id":184880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad1e"} 
[2026-09-17 07:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140294144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789610825000,"timestamp_ms":1789610825000,"timestamp_seconds":1789610825,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad1e1528"} 
[2026-09-17 07:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 07:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:42:36] 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-09-17 07:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140294144001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140294144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140294144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":184880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:42:36] local.INFO: GPS data processed {"connection_id":184880,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:42:36] local.INFO: Acknowledgment sent {"connection_id":184880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:43:04] local.INFO: TCP Data received {"connection_id":187613,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:43:04] local.INFO: Processing buffer {"connection_id":187613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:43:04] local.INFO: IMEI packet received {"connection_id":187613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":187613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:43:05] local.INFO: TCP Data received {"connection_id":184881,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:43:05] local.INFO: Processing buffer {"connection_id":184881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:43:05] local.INFO: IMEI packet received {"connection_id":184881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":184881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:43:07] local.INFO: TCP Data received {"connection_id":184881,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:43:07] local.INFO: Processing buffer {"connection_id":184881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:43:07] local.INFO: IMEI packet received {"connection_id":184881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":184881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:43:09] local.INFO: TCP Data received {"connection_id":187613,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:43:09] local.INFO: Processing buffer {"connection_id":187613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:43:09] local.INFO: IMEI packet received {"connection_id":187613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":187613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:43:10] local.INFO: TCP Data received {"connection_id":187613,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:43:10] local.INFO: Processing buffer {"connection_id":187613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:43:10] local.INFO: Packet analysis {"connection_id":187613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:43:10] local.INFO: Extracted packet for processing {"connection_id":187613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":187613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:43:10] local.INFO: GPS data processed {"connection_id":187613,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:43:10] local.INFO: Acknowledgment sent {"connection_id":187613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:43:12] local.INFO: TCP Data received {"connection_id":184881,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:43:12] local.INFO: Processing buffer {"connection_id":184881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:43:12] local.INFO: IMEI packet received {"connection_id":184881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":184881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:43:13] local.INFO: TCP Data received {"connection_id":184881,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22a138012d7e6c0005dfbb380009015d2b..."} 
[2026-09-17 07:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22a138012d7e6c0005dfbb380009015d2b..."} 
[2026-09-17 07:43:13] local.INFO: Processing buffer {"connection_id":184881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22a138012d7e6c0005dfbb380009015d2b..."} 
[2026-09-17 07:43:13] local.INFO: Packet analysis {"connection_id":184881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:43:13] local.INFO: Extracted packet for processing {"connection_id":184881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763259904,"raw_latitude":98548536,"longitude_deg":76.3259904,"latitude_deg":9.8548536,"altitude":9,"angle":349,"satellites":43,"speed":33,"hex_longitude":"2d7e6c00","hex_latitude":"05dfbb38","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140444928001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133999122754568192,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112400552512784384,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789611123000,"timestamp_ms":1789611123000,"timestamp_seconds":1789611123,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22a138"} 
[2026-09-17 07:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 07:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140444928001,"66":13319,"207":206,"85":15104,"24":33,"16":133999122754568192,"45":9112400552512784384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 07:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140444928001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:43:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 07:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133999122754568192,"km_value":133999122754568.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112400552512784384,"description":"Unknown IO ID 45"} 
[2026-09-17 07:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140444928001,"power":13319,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9112400552512784384}} 
[2026-09-17 07:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":184881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:43:13] local.INFO: GPS data processed {"connection_id":184881,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:43:13] local.INFO: Acknowledgment sent {"connection_id":184881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:43:14] local.INFO: TCP Data received {"connection_id":187613,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:43:14] local.INFO: Processing buffer {"connection_id":187613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:43:14] local.INFO: Packet analysis {"connection_id":187613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:43:14] local.INFO: Extracted packet for processing {"connection_id":187613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":187613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:43:14] local.INFO: GPS data processed {"connection_id":187613,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:43:14] local.INFO: Acknowledgment sent {"connection_id":187613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:43:44] local.INFO: TCP Data received {"connection_id":184881,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad241450012d7e12c005e0c3c00005014b25..."} 
[2026-09-17 07:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad241450012d7e12c005e0c3c00005014b25..."} 
[2026-09-17 07:43:44] local.INFO: Processing buffer {"connection_id":184881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad241450012d7e12c005e0c3c00005014b25..."} 
[2026-09-17 07:43:44] local.INFO: Packet analysis {"connection_id":184881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad24"} 
[2026-09-17 07:43:44] local.INFO: Extracted packet for processing {"connection_id":184881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad24"} 
[2026-09-17 07:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":98616256,"longitude_deg":76.3237056,"latitude_deg":9.8616256,"altitude":5,"angle":331,"satellites":37,"speed":37,"hex_longitude":"2d7e12c0","hex_latitude":"05e0c3c0","is_valid_coordinates":true} 
[2026-09-17 07:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140470016001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134002691872391168,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091008454301284352,"note":"Value kept but may cause issues"} 
[2026-09-17 07:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789611218000,"timestamp_ms":1789611218000,"timestamp_seconds":1789611218,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad241450"} 
[2026-09-17 07:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 07:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140470016001,"66":13319,"104":206,"85":15104,"24":37,"16":134002691872391168,"45":9091008454301284352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-17 07:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140470016001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:43:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-17 07:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134002691872391168,"km_value":134002691872391.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091008454301284352,"description":"Unknown IO ID 45"} 
[2026-09-17 07:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140470016001,"power":13319,"unknown_104":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9091008454301284352}} 
[2026-09-17 07:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":184881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:43:44] local.INFO: GPS data processed {"connection_id":184881,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:43:44] local.INFO: Acknowledgment sent {"connection_id":184881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:43:58] local.INFO: TCP Data received {"connection_id":187615,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:43:58] local.INFO: Processing buffer {"connection_id":187615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:43:58] local.INFO: IMEI packet received {"connection_id":187615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":187615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:44:03] local.INFO: TCP Data received {"connection_id":187615,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:44:03] local.INFO: Processing buffer {"connection_id":187615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:44:03] local.INFO: IMEI packet received {"connection_id":187615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":187615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:44:05] local.INFO: TCP Data received {"connection_id":187615,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:44:05] local.INFO: Processing buffer {"connection_id":187615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:44:05] local.INFO: Packet analysis {"connection_id":187615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:44:05] local.INFO: Extracted packet for processing {"connection_id":187615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:44:05] 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-09-17 07:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:44:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":187615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:44:05] local.INFO: GPS data processed {"connection_id":187615,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:44:05] local.INFO: Acknowledgment sent {"connection_id":187615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:44:05] local.INFO: TCP Data received {"connection_id":184994,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:05] local.INFO: Processing buffer {"connection_id":184994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:05] local.INFO: IMEI packet received {"connection_id":184994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":184994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:44:07] local.INFO: TCP Data received {"connection_id":184994,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:07] local.INFO: Processing buffer {"connection_id":184994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:07] local.INFO: IMEI packet received {"connection_id":184994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":184994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:44:07] local.INFO: TCP Data received {"connection_id":184994,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:07] local.INFO: Processing buffer {"connection_id":184994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:07] local.INFO: IMEI packet received {"connection_id":184994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":184994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:44:12] local.INFO: TCP Data received {"connection_id":184994,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:12] local.INFO: Processing buffer {"connection_id":184994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:44:12] local.INFO: IMEI packet received {"connection_id":184994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":184994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:44:13] local.INFO: TCP Data received {"connection_id":184994,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad241c20012d7e108005e0cae80006015d25..."} 
[2026-09-17 07:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad241c20012d7e108005e0cae80006015d25..."} 
[2026-09-17 07:44:13] local.INFO: Processing buffer {"connection_id":184994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad241c20012d7e108005e0cae80006015d25..."} 
[2026-09-17 07:44:13] local.INFO: Packet analysis {"connection_id":184994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad24"} 
[2026-09-17 07:44:13] local.INFO: Extracted packet for processing {"connection_id":184994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad24"} 
[2026-09-17 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763236480,"raw_latitude":98618088,"longitude_deg":76.323648,"latitude_deg":9.8618088,"altitude":6,"angle":349,"satellites":37,"speed":38,"hex_longitude":"2d7e1080","hex_latitude":"05e0cae8","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140471808001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134002782066704384,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534529838006272,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789611220000,"timestamp_ms":1789611220000,"timestamp_seconds":1789611220,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad241c20"} 
[2026-09-17 07:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2904772864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3763879936,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":224,"raw_value":6147413521425574400,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483210958,"corrected_to":0} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57799573939049787,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.WARNING: Large IO value detected {"io_id":35,"raw_value":5273716458554146821,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,104,85,24,241,157,16,18,160,248,45,192,179,6,42,10,66,128,173,5,43,221,64,1,240,237,227,224,4,113,205,9,139,59,239,51,2,220,13,122,35],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1483210958,"validated":0}]} 
[2026-09-17 07:44:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360652067454648320,"timestamp_seconds":360652067454648.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 07:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140471808001,"66":13341,"104":206,"85":15104,"24":38,"16":134002782066704384,"45":9084534529838006272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-17 07:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140471808001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:44:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-17 07:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134002782066704384,"km_value":134002782066704.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534529838006272,"description":"Unknown IO ID 45"} 
[2026-09-17 07:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140471808001,"power":13341,"unknown_104":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9084534529838006272}} 
[2026-09-17 07:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":184994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:44:13] local.INFO: GPS data processed {"connection_id":184994,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:44:13] local.INFO: Acknowledgment sent {"connection_id":184994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:44:38] local.INFO: TCP Data received {"connection_id":187615,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:44:38] local.INFO: Processing buffer {"connection_id":187615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:44:38] local.INFO: Packet analysis {"connection_id":187615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:44:38] local.INFO: Extracted packet for processing {"connection_id":187615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:44:38] 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-09-17 07:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":187615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:44:38] local.INFO: GPS data processed {"connection_id":187615,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:44:38] local.INFO: Acknowledgment sent {"connection_id":187615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:44:45] local.INFO: TCP Data received {"connection_id":184994,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad242008012d7e108005e0ced80005000126..."} 
[2026-09-17 07:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad242008012d7e108005e0ced80005000126..."} 
[2026-09-17 07:44:45] local.INFO: Processing buffer {"connection_id":184994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad242008012d7e108005e0ced80005000126..."} 
[2026-09-17 07:44:45] local.INFO: Packet analysis {"connection_id":184994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad24"} 
[2026-09-17 07:44:45] local.INFO: Extracted packet for processing {"connection_id":184994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad24"} 
[2026-09-17 07:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763236480,"raw_latitude":98619096,"longitude_deg":76.323648,"latitude_deg":9.8619096,"altitude":5,"angle":1,"satellites":38,"speed":40,"hex_longitude":"2d7e1080","hex_latitude":"05e0ced8","is_valid_coordinates":true} 
[2026-09-17 07:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140472320001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134002833606311936,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083901211140876288,"note":"Value kept but may cause issues"} 
[2026-09-17 07:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789611221000,"timestamp_ms":1789611221000,"timestamp_seconds":1789611221,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad242008"} 
[2026-09-17 07:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 07:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":184994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":184994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":184994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140472320001,"66":13178,"104":206,"85":15104,"24":40,"16":134002833606311936,"45":9083901211140876288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-17 07:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140472320001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:44:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-17 07:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134002833606311936,"km_value":134002833606311.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083901211140876288,"description":"Unknown IO ID 45"} 
[2026-09-17 07:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140472320001,"power":13178,"unknown_104":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9083901211140876288}} 
[2026-09-17 07:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":184994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:44:45] local.INFO: GPS data processed {"connection_id":184994,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:44:45] local.INFO: Acknowledgment sent {"connection_id":184994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:44:58] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:44:58] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:44:58] local.INFO: IMEI packet received {"connection_id":186288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":186288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:45:04] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:45:04] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:45:04] local.INFO: IMEI packet received {"connection_id":186288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":186288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:45:05] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:45:05] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:45:05] local.INFO: Packet analysis {"connection_id":186288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:45:05] local.INFO: Extracted packet for processing {"connection_id":186288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:45:05] 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-09-17 07:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":186288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:45:05] local.INFO: GPS data processed {"connection_id":186288,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:45:05] local.INFO: Acknowledgment sent {"connection_id":186288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:45:07] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:45:07] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:45:07] local.INFO: IMEI packet received {"connection_id":186289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":186289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:45:11] local.INFO: TCP Data received {"connection_id":184882,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:45:11] local.INFO: Processing buffer {"connection_id":184882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:45:11] local.INFO: IMEI packet received {"connection_id":184882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":184882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:45:12] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:45:12] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:45:12] local.INFO: IMEI packet received {"connection_id":186289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":186289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:45:13] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad251238012d7e298005e1c4900004000c29..."} 
[2026-09-17 07:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad251238012d7e298005e1c4900004000c29..."} 
[2026-09-17 07:45:13] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad251238012d7e298005e1c4900004000c29..."} 
[2026-09-17 07:45:13] local.INFO: Packet analysis {"connection_id":186289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad25"} 
[2026-09-17 07:45:13] local.INFO: Extracted packet for processing {"connection_id":186289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad25"} 
[2026-09-17 07:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763242880,"raw_latitude":98682000,"longitude_deg":76.324288,"latitude_deg":9.8682,"altitude":4,"angle":12,"satellites":41,"speed":31,"hex_longitude":"2d7e2980","hex_latitude":"05e1c490","is_valid_coordinates":true} 
[2026-09-17 07:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140486912001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134005981817339904,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087912229574119424,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789611283000,"timestamp_ms":1789611283000,"timestamp_seconds":1789611283,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad251238"} 
[2026-09-17 07:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 07:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140486912001,"66":13178,"105":206,"85":15104,"24":31,"16":134005981817339904,"45":9087912229574119424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-17 07:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140486912001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:45:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 07:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134005981817339904,"km_value":134005981817339.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087912229574119424,"description":"Unknown IO ID 45"} 
[2026-09-17 07:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140486912001,"power":13178,"unknown_105":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9087912229574119424}} 
[2026-09-17 07:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":186289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:45:13] local.INFO: GPS data processed {"connection_id":186289,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:45:13] local.INFO: Acknowledgment sent {"connection_id":186289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:45:37] local.INFO: TCP Data received {"connection_id":186288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:45:37] local.INFO: Processing buffer {"connection_id":186288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:45:37] local.INFO: Packet analysis {"connection_id":186288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:45:37] local.INFO: Extracted packet for processing {"connection_id":186288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:45:37] 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-09-17 07:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":186288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:45:37] local.INFO: GPS data processed {"connection_id":186288,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:45:37] local.INFO: Acknowledgment sent {"connection_id":186288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:45:44] local.INFO: TCP Data received {"connection_id":186289,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2521d8012d7e2a0005e1ce500003000127..."} 
[2026-09-17 07:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2521d8012d7e2a0005e1ce500003000127..."} 
[2026-09-17 07:45:44] local.INFO: Processing buffer {"connection_id":186289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2521d8012d7e2a0005e1ce500003000127..."} 
[2026-09-17 07:45:44] local.INFO: Packet analysis {"connection_id":186289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad25"} 
[2026-09-17 07:45:44] local.INFO: Extracted packet for processing {"connection_id":186289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad25"} 
[2026-09-17 07:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763243008,"raw_latitude":98684496,"longitude_deg":76.3243008,"latitude_deg":9.8684496,"altitude":3,"angle":1,"satellites":39,"speed":23,"hex_longitude":"2d7e2a00","hex_latitude":"05e1ce50","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140488448001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134006102076424192,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090938085575004160,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789611287000,"timestamp_ms":1789611287000,"timestamp_seconds":1789611287,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2521d8"} 
[2026-09-17 07:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 07:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140488448001,"66":13091,"198":206,"85":15104,"24":23,"16":134006102076424192,"45":9090938085575004160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-17 07:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140488448001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:45:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 07:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134006102076424192,"km_value":134006102076424.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090938085575004160,"description":"Unknown IO ID 45"} 
[2026-09-17 07:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140488448001,"power":13091,"unknown_198":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9090938085575004160}} 
[2026-09-17 07:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":186289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:45:44] local.INFO: GPS data processed {"connection_id":186289,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:45:44] local.INFO: Acknowledgment sent {"connection_id":186289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:45:50] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:45:50] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:45:50] local.INFO: IMEI packet received {"connection_id":184995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":184995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:45:56] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:45:56] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:45:56] local.INFO: IMEI packet received {"connection_id":184995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 07:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":184995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:45:57] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad079370012d7f9e0005afe278000d00a02f..."} 
[2026-09-17 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad079370012d7f9e0005afe278000d00a02f..."} 
[2026-09-17 07:45:57] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad079370012d7f9e0005afe278000d00a02f..."} 
[2026-09-17 07:45:57] local.INFO: Packet analysis {"connection_id":184995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:45:57] local.INFO: Extracted packet for processing {"connection_id":184995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad07"} 
[2026-09-17 07:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":95412856,"longitude_deg":76.333824,"latitude_deg":9.5412856,"altitude":13,"angle":160,"satellites":47,"speed":0,"hex_longitude":"2d7f9e00","hex_latitude":"05afe278","is_valid_coordinates":true} 
[2026-09-17 07:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458139916544001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4457046476849152,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513562822656,"note":"Value kept but may cause issues"} 
[2026-09-17 07:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789609350000,"timestamp_ms":1789609350000,"timestamp_seconds":1789609350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad079370"} 
[2026-09-17 07:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-17 07:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":184995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":184995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 07:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":184995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 07:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-17 07:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-17 07:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458139916544001,"66":24810,"250":206,"85":12544,"24":0,"16":4457046476849152,"45":9195787513562822656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-17 07:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-17 07:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-17 07:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458139916544001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:45:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-17 07:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-17 07:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4457046476849152,"km_value":4457046476849.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513562822656,"description":"Unknown IO ID 45"} 
[2026-09-17 07:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458139916544001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195787513562822656}} 
[2026-09-17 07:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":184995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:45:57] local.INFO: GPS data processed {"connection_id":184995,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:45:57] local.INFO: Acknowledgment sent {"connection_id":184995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:45:58] local.INFO: TCP Data received {"connection_id":187616,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:45:58] local.INFO: Processing buffer {"connection_id":187616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:45:58] local.INFO: IMEI packet received {"connection_id":187616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":187616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:46:03] local.INFO: TCP Data received {"connection_id":187616,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:46:03] local.INFO: Processing buffer {"connection_id":187616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:46:03] local.INFO: IMEI packet received {"connection_id":187616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":187616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:46:04] local.INFO: TCP Data received {"connection_id":187616,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:46:04] local.INFO: Processing buffer {"connection_id":187616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:46:04] local.INFO: Packet analysis {"connection_id":187616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:46:04] local.INFO: Extracted packet for processing {"connection_id":187616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:46:04] 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-09-17 07:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":187616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:46:04] local.INFO: GPS data processed {"connection_id":187616,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:46:04] local.INFO: Acknowledgment sent {"connection_id":187616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:46:07] local.INFO: TCP Data received {"connection_id":187617,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:46:07] local.INFO: Processing buffer {"connection_id":187617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:46:07] local.INFO: IMEI packet received {"connection_id":187617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":187617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:46:07] local.INFO: TCP Data received {"connection_id":187617,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:46:07] local.INFO: Processing buffer {"connection_id":187617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:46:07] local.INFO: IMEI packet received {"connection_id":187617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":187617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:46:10] local.INFO: TCP Data received {"connection_id":187617,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:46:10] local.INFO: Processing buffer {"connection_id":187617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:46:10] local.INFO: IMEI packet received {"connection_id":187617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":187617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:46:11] local.INFO: TCP Data received {"connection_id":187617,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2550b8012d7e2c8005e1f1180003016627..."} 
[2026-09-17 07:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2550b8012d7e2c8005e1f1180003016627..."} 
[2026-09-17 07:46:11] local.INFO: Processing buffer {"connection_id":187617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2550b8012d7e2c8005e1f1180003016627..."} 
[2026-09-17 07:46:11] local.INFO: Packet analysis {"connection_id":187617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad25"} 
[2026-09-17 07:46:11] local.INFO: Extracted packet for processing {"connection_id":187617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad25"} 
[2026-09-17 07:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763243648,"raw_latitude":98693400,"longitude_deg":76.3243648,"latitude_deg":9.86934,"altitude":3,"angle":358,"satellites":39,"speed":34,"hex_longitude":"2d7e2c80","hex_latitude":"05e1f118","is_valid_coordinates":true} 
[2026-09-17 07:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140489472001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134006535868121088,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091078823063998464,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789611299000,"timestamp_ms":1789611299000,"timestamp_seconds":1789611299,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2550b8"} 
[2026-09-17 07:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 07:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140489472001,"66":12982,"198":206,"85":15104,"24":34,"16":134006535868121088,"45":9091078823063998464},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-17 07:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140489472001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:46:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 07:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134006535868121088,"km_value":134006535868121.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091078823063998464,"description":"Unknown IO ID 45"} 
[2026-09-17 07:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140489472001,"power":12982,"unknown_198":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9091078823063998464}} 
[2026-09-17 07:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":187617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:46:11] local.INFO: GPS data processed {"connection_id":187617,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:46:11] local.INFO: Acknowledgment sent {"connection_id":187617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:46:36] local.INFO: TCP Data received {"connection_id":187616,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:46:36] local.INFO: Processing buffer {"connection_id":187616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:46:36] local.INFO: Packet analysis {"connection_id":187616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:46:36] local.INFO: Extracted packet for processing {"connection_id":187616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:46:36] 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-09-17 07:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":187616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:46:36] local.INFO: GPS data processed {"connection_id":187616,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:46:36] local.INFO: Acknowledgment sent {"connection_id":187616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:46:41] local.INFO: TCP Data received {"connection_id":184996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:46:41] local.INFO: Processing buffer {"connection_id":184996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:46:41] local.INFO: IMEI packet received {"connection_id":184996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":184996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:46:42] local.INFO: TCP Data received {"connection_id":187617,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad265e40012d7dbc0005e1fb700009011228..."} 
[2026-09-17 07:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad265e40012d7dbc0005e1fb700009011228..."} 
[2026-09-17 07:46:42] local.INFO: Processing buffer {"connection_id":187617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad265e40012d7dbc0005e1fb700009011228..."} 
[2026-09-17 07:46:42] local.INFO: Packet analysis {"connection_id":187617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad26"} 
[2026-09-17 07:46:42] local.INFO: Extracted packet for processing {"connection_id":187617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad26"} 
[2026-09-17 07:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763214848,"raw_latitude":98696048,"longitude_deg":76.3214848,"latitude_deg":9.8696048,"altitude":9,"angle":274,"satellites":40,"speed":34,"hex_longitude":"2d7dbc00","hex_latitude":"05e1fb70","is_valid_coordinates":true} 
[2026-09-17 07:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140509440001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134008271034908672,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063142431628460032,"note":"Value kept but may cause issues"} 
[2026-09-17 07:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789611368000,"timestamp_ms":1789611368000,"timestamp_seconds":1789611368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad265e40"} 
[2026-09-17 07:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 07:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140509440001,"66":13200,"198":206,"85":15104,"24":34,"16":134008271034908672,"45":9063142431628460032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-17 07:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140509440001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:46:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 07:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134008271034908672,"km_value":134008271034908.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063142431628460032,"description":"Unknown IO ID 45"} 
[2026-09-17 07:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140509440001,"power":13200,"unknown_198":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9063142431628460032}} 
[2026-09-17 07:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":187617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:46:42] local.INFO: GPS data processed {"connection_id":187617,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:46:42] local.INFO: Acknowledgment sent {"connection_id":187617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:47:04] local.INFO: TCP Data received {"connection_id":187618,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:47:04] local.INFO: Processing buffer {"connection_id":187618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:47:04] local.INFO: IMEI packet received {"connection_id":187618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":187618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:47:07] local.INFO: TCP Data received {"connection_id":187619,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:47:07] local.INFO: Processing buffer {"connection_id":187619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:47:07] local.INFO: IMEI packet received {"connection_id":187619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":187619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:47:08] local.INFO: TCP Data received {"connection_id":187618,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:47:08] local.INFO: Processing buffer {"connection_id":187618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:47:08] local.INFO: IMEI packet received {"connection_id":187618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":187618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:47:09] local.INFO: TCP Data received {"connection_id":187619,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:47:09] local.INFO: Processing buffer {"connection_id":187619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:47:09] local.INFO: IMEI packet received {"connection_id":187619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":187619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:47:09] local.INFO: TCP Data received {"connection_id":187618,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:47:09] local.INFO: Processing buffer {"connection_id":187618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:47:09] local.INFO: Packet analysis {"connection_id":187618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:47:09] local.INFO: Extracted packet for processing {"connection_id":187618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:47: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-09-17 07:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":187618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:47:09] local.INFO: GPS data processed {"connection_id":187618,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:47:09] local.INFO: Acknowledgment sent {"connection_id":187618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:47:12] local.INFO: TCP Data received {"connection_id":187619,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:47:12] local.INFO: Processing buffer {"connection_id":187619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:47:12] local.INFO: IMEI packet received {"connection_id":187619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":187619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:47:13] local.INFO: TCP Data received {"connection_id":187619,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad269108012d7d980005e1ff48000b011128..."} 
[2026-09-17 07:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad269108012d7d980005e1ff48000b011128..."} 
[2026-09-17 07:47:13] local.INFO: Processing buffer {"connection_id":187619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad269108012d7d980005e1ff48000b011128..."} 
[2026-09-17 07:47:13] local.INFO: Packet analysis {"connection_id":187619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad26"} 
[2026-09-17 07:47:13] local.INFO: Extracted packet for processing {"connection_id":187619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad26"} 
[2026-09-17 07:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763205632,"raw_latitude":98697032,"longitude_deg":76.3205632,"latitude_deg":9.8697032,"altitude":11,"angle":273,"satellites":40,"speed":21,"hex_longitude":"2d7d9800","hex_latitude":"05e1ff48","is_valid_coordinates":true} 
[2026-09-17 07:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140510208001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134008717711507456,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060116575628783616,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789611381000,"timestamp_ms":1789611381000,"timestamp_seconds":1789611381,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad269108"} 
[2026-09-17 07:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-17 07:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140510208001,"66":13341,"198":206,"85":15104,"24":21,"16":134008717711507456,"45":9060116575628783616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-17 07:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140510208001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:47:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 07:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134008717711507456,"km_value":134008717711507.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060116575628783616,"description":"Unknown IO ID 45"} 
[2026-09-17 07:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140510208001,"power":13341,"unknown_198":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9060116575628783616}} 
[2026-09-17 07:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":187619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:47:13] local.INFO: GPS data processed {"connection_id":187619,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:47:13] local.INFO: Acknowledgment sent {"connection_id":187619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:47:14] local.INFO: TCP Data received {"connection_id":187618,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:47:14] local.INFO: Processing buffer {"connection_id":187618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad22acf0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:47:14] local.INFO: Packet analysis {"connection_id":187618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:47:14] local.INFO: Extracted packet for processing {"connection_id":187618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad22"} 
[2026-09-17 07:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140371200001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789611126000,"timestamp_ms":1789611126000,"timestamp_seconds":1789611126,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad22acf0"} 
[2026-09-17 07:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:47: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-09-17 07:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140371200001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140371200001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140371200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":187618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:47:14] local.INFO: GPS data processed {"connection_id":187618,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:47:14] local.INFO: Acknowledgment sent {"connection_id":187618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:47:44] local.INFO: TCP Data received {"connection_id":187619,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad26c3d0012d7d744005e20260000b01122b..."} 
[2026-09-17 07:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad26c3d0012d7d744005e20260000b01122b..."} 
[2026-09-17 07:47:44] local.INFO: Processing buffer {"connection_id":187619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad26c3d0012d7d744005e20260000b01122b..."} 
[2026-09-17 07:47:44] local.INFO: Packet analysis {"connection_id":187619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad26"} 
[2026-09-17 07:47:44] local.INFO: Extracted packet for processing {"connection_id":187619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad26"} 
[2026-09-17 07:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763196480,"raw_latitude":98697824,"longitude_deg":76.319648,"latitude_deg":9.8697824,"altitude":11,"angle":274,"satellites":43,"speed":29,"hex_longitude":"2d7d7440","hex_latitude":"05e20260","is_valid_coordinates":true} 
[2026-09-17 07:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140513536001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134009155798171648,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049983476467451904,"note":"Value kept but may cause issues"} 
[2026-09-17 07:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789611394000,"timestamp_ms":1789611394000,"timestamp_seconds":1789611394,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad26c3d0"} 
[2026-09-17 07:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 07:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140513536001,"66":12809,"198":206,"85":15104,"24":29,"16":134009155798171648,"45":9049983476467451904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-17 07:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140513536001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:47:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 07:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134009155798171648,"km_value":134009155798171.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049983476467451904,"description":"Unknown IO ID 45"} 
[2026-09-17 07:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140513536001,"power":12809,"unknown_198":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9049983476467451904}} 
[2026-09-17 07:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":187619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:47:44] local.INFO: GPS data processed {"connection_id":187619,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:47:44] local.INFO: Acknowledgment sent {"connection_id":187619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:47:59] local.INFO: TCP Data received {"connection_id":184997,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:47:59] local.INFO: Processing buffer {"connection_id":184997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:47:59] local.INFO: IMEI packet received {"connection_id":184997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":184997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:48:04] local.INFO: TCP Data received {"connection_id":184997,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:48:04] local.INFO: Processing buffer {"connection_id":184997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:48:04] local.INFO: IMEI packet received {"connection_id":184997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":184997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:48:05] local.INFO: TCP Data received {"connection_id":184997,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:48:05] local.INFO: Processing buffer {"connection_id":184997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:48:05] local.INFO: Packet analysis {"connection_id":184997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:48:05] local.INFO: Extracted packet for processing {"connection_id":184997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:48:05] 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-09-17 07:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":184997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:48:05] local.INFO: GPS data processed {"connection_id":184997,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:48:05] local.INFO: Acknowledgment sent {"connection_id":184997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:48:07] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:07] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:07] local.INFO: IMEI packet received {"connection_id":184883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":184883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:48:07] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:07] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:07] local.INFO: IMEI packet received {"connection_id":184883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":184883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:48:08] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:08] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:08] local.INFO: IMEI packet received {"connection_id":184883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":184883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:48:12] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:12] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:48:12] local.INFO: IMEI packet received {"connection_id":184883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":184883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:48:12] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad26f698012d7d4f8005e20580000d01122d..."} 
[2026-09-17 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad26f698012d7d4f8005e20580000d01122d..."} 
[2026-09-17 07:48:12] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad26f698012d7d4f8005e20580000d01122d..."} 
[2026-09-17 07:48:12] local.INFO: Packet analysis {"connection_id":184883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad26"} 
[2026-09-17 07:48:12] local.INFO: Extracted packet for processing {"connection_id":184883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad26"} 
[2026-09-17 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763187072,"raw_latitude":98698624,"longitude_deg":76.3187072,"latitude_deg":9.8698624,"altitude":13,"angle":274,"satellites":45,"speed":27,"hex_longitude":"2d7d4f80","hex_latitude":"05e20580","is_valid_coordinates":true} 
[2026-09-17 07:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140516864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134009606769737728,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9039920746050248704,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789611407000,"timestamp_ms":1789611407000,"timestamp_seconds":1789611407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad26f698"} 
[2026-09-17 07:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2904948864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2731732246221163584,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1606811854,"corrected_to":0} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3221611024,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422303,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2157118668310243287,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639650792754773,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:12] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,85,24,241,157,16,160,145,45,255,11,40,10,66,94,251,9,23,82,192,1,240,35,227,173,226,4,113,205,36,12,249,144,41,239,51,2,220,5,52,59],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1606811854,"validated":0}]} 
[2026-09-17 07:48:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792934985288712192,"timestamp_seconds":792934985288712.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 07:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":184883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":184883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":184883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140516864001,"66":12515,"43":206,"85":15104,"24":27,"16":134009606769737728,"45":9039920746050248704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 07:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140516864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:48:12] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 07:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134009606769737728,"km_value":134009606769737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9039920746050248704,"description":"Unknown IO ID 45"} 
[2026-09-17 07:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140516864001,"power":12515,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9039920746050248704}} 
[2026-09-17 07:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":184883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:48:13] local.INFO: GPS data processed {"connection_id":184883,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:48:13] local.INFO: Acknowledgment sent {"connection_id":184883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:48:36] local.INFO: TCP Data received {"connection_id":184997,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:48:36] local.INFO: Processing buffer {"connection_id":184997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:48:36] local.INFO: Packet analysis {"connection_id":184997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:48:36] local.INFO: Extracted packet for processing {"connection_id":184997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:48:36] 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-09-17 07:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:48:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:48:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":184997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:48:36] local.INFO: GPS data processed {"connection_id":184997,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:48:36] local.INFO: Acknowledgment sent {"connection_id":184997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:48:44] local.INFO: TCP Data received {"connection_id":184883,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2894a8012d7c37c005e1de08000500f126..."} 
[2026-09-17 07:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2894a8012d7c37c005e1de08000500f126..."} 
[2026-09-17 07:48:44] local.INFO: Processing buffer {"connection_id":184883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2894a8012d7c37c005e1de08000500f126..."} 
[2026-09-17 07:48:44] local.INFO: Packet analysis {"connection_id":184883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:48:44] local.INFO: Extracted packet for processing {"connection_id":184883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763115456,"raw_latitude":98688520,"longitude_deg":76.3115456,"latitude_deg":9.868852,"altitude":5,"angle":241,"satellites":38,"speed":21,"hex_longitude":"2d7c37c0","hex_latitude":"05e1de08","is_valid_coordinates":true} 
[2026-09-17 07:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140546816001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134013382045990912,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951748709593434112,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789611513000,"timestamp_ms":1789611513000,"timestamp_seconds":1789611513,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2894a8"} 
[2026-09-17 07:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2905088864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792750592,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1272266924813593088,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":94,"raw_value":2147869199,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153998,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2267563707252998149,"note":"Value kept but may cause issues"} 
[2026-09-17 07:48:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,43,85,24,241,157,16,28,160,129,45,230,5,36,10,66,117,64,235,39,82,128,1,240,215,227,173,226,4,113,205,20,94,41,239,50,2,220,7,21,40],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-09-17 07:48:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360531121174544384,"timestamp_seconds":360531121174544.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 07:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140546816001,"66":13037,"43":206,"85":15104,"24":21,"16":134013382045990912,"45":8951748709593434112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 07:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140546816001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:48:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 07:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134013382045990912,"km_value":134013382045990.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951748709593434112,"description":"Unknown IO ID 45"} 
[2026-09-17 07:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140546816001,"power":13037,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8951748709593434112}} 
[2026-09-17 07:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":184883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:48:44] local.INFO: GPS data processed {"connection_id":184883,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:48:44] local.INFO: Acknowledgment sent {"connection_id":184883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:48:58] local.INFO: TCP Data received {"connection_id":187620,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:48:58] local.INFO: Processing buffer {"connection_id":187620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:48:58] local.INFO: IMEI packet received {"connection_id":187620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":187620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:49:03] local.INFO: TCP Data received {"connection_id":187620,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:49:03] local.INFO: Processing buffer {"connection_id":187620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:49:03] local.INFO: IMEI packet received {"connection_id":187620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":187620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:49:05] local.INFO: TCP Data received {"connection_id":187620,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:49:05] local.INFO: Processing buffer {"connection_id":187620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:49:05] local.INFO: Packet analysis {"connection_id":187620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:49:05] local.INFO: Extracted packet for processing {"connection_id":187620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:49:05] 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-09-17 07:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":187620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:49:05] local.INFO: GPS data processed {"connection_id":187620,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:49:05] local.INFO: Acknowledgment sent {"connection_id":187620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:49:07] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:49:07] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:49:07] local.INFO: IMEI packet received {"connection_id":186291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":186291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:49:12] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:49:12] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:49:12] local.INFO: IMEI packet received {"connection_id":186291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":186291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:49:13] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad289c78012d7c344005e1dcb00006010327..."} 
[2026-09-17 07:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad289c78012d7c344005e1dcb00006010327..."} 
[2026-09-17 07:49:13] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad289c78012d7c344005e1dcb00006010327..."} 
[2026-09-17 07:49:13] local.INFO: Packet analysis {"connection_id":186291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:49:13] local.INFO: Extracted packet for processing {"connection_id":186291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":98688176,"longitude_deg":76.311456,"latitude_deg":9.8688176,"altitude":6,"angle":259,"satellites":39,"speed":19,"hex_longitude":"2d7c3440","hex_latitude":"05e1dcb0","is_valid_coordinates":true} 
[2026-09-17 07:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140547328001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134013429290631168,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950833915918944256,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789611515000,"timestamp_ms":1789611515000,"timestamp_seconds":1789611515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad289c78"} 
[2026-09-17 07:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 07:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140547328001,"66":12906,"43":206,"85":15104,"24":19,"16":134013429290631168,"45":8950833915918944256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 07:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140547328001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:49:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 07:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134013429290631168,"km_value":134013429290631.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950833915918944256,"description":"Unknown IO ID 45"} 
[2026-09-17 07:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140547328001,"power":12906,"unknown_43":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8950833915918944256}} 
[2026-09-17 07:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":186291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:49:13] local.INFO: GPS data processed {"connection_id":186291,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:49:13] local.INFO: Acknowledgment sent {"connection_id":186291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:49:36] local.INFO: TCP Data received {"connection_id":187620,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:49:36] local.INFO: Processing buffer {"connection_id":187620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:49:36] local.INFO: Packet analysis {"connection_id":187620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:49:36] local.INFO: Extracted packet for processing {"connection_id":187620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:49:36] 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-09-17 07:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":187620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:49:36] local.INFO: GPS data processed {"connection_id":187620,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:49:36] local.INFO: Acknowledgment sent {"connection_id":187620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:49:44] local.INFO: TCP Data received {"connection_id":186291,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad28a448012d7c300005e1dc900006011327..."} 
[2026-09-17 07:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad28a448012d7c300005e1dc900006011327..."} 
[2026-09-17 07:49:44] local.INFO: Processing buffer {"connection_id":186291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad28a448012d7c300005e1dc900006011327..."} 
[2026-09-17 07:49:44] local.INFO: Packet analysis {"connection_id":186291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:49:44] local.INFO: Extracted packet for processing {"connection_id":186291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763113472,"raw_latitude":98688144,"longitude_deg":76.3113472,"latitude_deg":9.8688144,"altitude":6,"angle":275,"satellites":39,"speed":22,"hex_longitude":"2d7c3000","hex_latitude":"05e1dc90","is_valid_coordinates":true} 
[2026-09-17 07:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140547840001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134013480830238720,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753500368896,"note":"Value kept but may cause issues"} 
[2026-09-17 07:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789611517000,"timestamp_ms":1789611517000,"timestamp_seconds":1789611517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad28a448"} 
[2026-09-17 07:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 07:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140547840001,"66":13363,"43":206,"85":15104,"24":22,"16":134013480830238720,"45":8949848753500368896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 07:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140547840001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:49:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 07:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134013480830238720,"km_value":134013480830238.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753500368896,"description":"Unknown IO ID 45"} 
[2026-09-17 07:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140547840001,"power":13363,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8949848753500368896}} 
[2026-09-17 07:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":186291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:49:44] local.INFO: GPS data processed {"connection_id":186291,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:49:44] local.INFO: Acknowledgment sent {"connection_id":186291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:49:58] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:49:58] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:49:58] local.INFO: IMEI packet received {"connection_id":186292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":186292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:50:03] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:50:03] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:50:03] local.INFO: IMEI packet received {"connection_id":186292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":186292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:50:06] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:50:06] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:50:06] local.INFO: Packet analysis {"connection_id":186292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:50:06] local.INFO: Extracted packet for processing {"connection_id":186292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:50:06] 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-09-17 07:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":186292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:50:06] local.INFO: GPS data processed {"connection_id":186292,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:50:06] local.INFO: Acknowledgment sent {"connection_id":186292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:50:12] local.INFO: TCP Data received {"connection_id":184999,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:50:12] local.INFO: Processing buffer {"connection_id":184999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:50:12] local.INFO: IMEI packet received {"connection_id":184999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":184999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:50:17] local.INFO: TCP Data received {"connection_id":184999,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:50:17] local.INFO: Processing buffer {"connection_id":184999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:50:17] local.INFO: IMEI packet received {"connection_id":184999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":184999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:50:18] local.INFO: TCP Data received {"connection_id":184999,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad28bfa0012d7c1e4005e1dd300008010828..."} 
[2026-09-17 07:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad28bfa0012d7c1e4005e1dd300008010828..."} 
[2026-09-17 07:50:18] local.INFO: Processing buffer {"connection_id":184999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad28bfa0012d7c1e4005e1dd300008010828..."} 
[2026-09-17 07:50:18] local.INFO: Packet analysis {"connection_id":184999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:50:18] local.INFO: Extracted packet for processing {"connection_id":184999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763108928,"raw_latitude":98688304,"longitude_deg":76.3108928,"latitude_deg":9.8688304,"altitude":8,"angle":264,"satellites":40,"speed":28,"hex_longitude":"2d7c1e40","hex_latitude":"05e1dd30","is_valid_coordinates":true} 
[2026-09-17 07:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140548352001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134013699873570816,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948652484849340416,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789611524000,"timestamp_ms":1789611524000,"timestamp_seconds":1789611524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad28bfa0"} 
[2026-09-17 07:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 07:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":184999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":184999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":184999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140548352001,"66":13178,"43":206,"85":15104,"24":28,"16":134013699873570816,"45":8948652484849340416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 07:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140548352001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:50:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 07:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134013699873570816,"km_value":134013699873570.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948652484849340416,"description":"Unknown IO ID 45"} 
[2026-09-17 07:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140548352001,"power":13178,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8948652484849340416}} 
[2026-09-17 07:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":184999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:50:18] local.INFO: GPS data processed {"connection_id":184999,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:50:18] local.INFO: Acknowledgment sent {"connection_id":184999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:50:22] local.INFO: TCP Data received {"connection_id":184999,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad28f268012d7bfb0005e1d8200009010827..."} 
[2026-09-17 07:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad28f268012d7bfb0005e1d8200009010827..."} 
[2026-09-17 07:50:22] local.INFO: Processing buffer {"connection_id":184999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad28f268012d7bfb0005e1d8200009010827..."} 
[2026-09-17 07:50:22] local.INFO: Packet analysis {"connection_id":184999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:50:22] local.INFO: Extracted packet for processing {"connection_id":184999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad28"} 
[2026-09-17 07:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763099904,"raw_latitude":98687008,"longitude_deg":76.3099904,"latitude_deg":9.8687008,"altitude":9,"angle":264,"satellites":39,"speed":21,"hex_longitude":"2d7bfb00","hex_latitude":"05e1d820","is_valid_coordinates":true} 
[2026-09-17 07:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140550144001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134014133665267712,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943656304012767232,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789611537000,"timestamp_ms":1789611537000,"timestamp_seconds":1789611537,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad28f268"} 
[2026-09-17 07:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 07:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":184999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":184999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":184999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140550144001,"66":13200,"43":206,"85":15104,"24":21,"16":134014133665267712,"45":8943656304012767232},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 07:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140550144001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:50:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 07:50:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134014133665267712,"km_value":134014133665267.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943656304012767232,"description":"Unknown IO ID 45"} 
[2026-09-17 07:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140550144001,"power":13200,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8943656304012767232}} 
[2026-09-17 07:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":184999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:50:22] local.INFO: GPS data processed {"connection_id":184999,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:50:22] local.INFO: Acknowledgment sent {"connection_id":184999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:50:37] local.INFO: TCP Data received {"connection_id":186292,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:50:37] local.INFO: Processing buffer {"connection_id":186292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:50:37] local.INFO: Packet analysis {"connection_id":186292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:50:37] local.INFO: Extracted packet for processing {"connection_id":186292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:50:37] 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-09-17 07:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":186292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:50:37] local.INFO: GPS data processed {"connection_id":186292,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:50:37] local.INFO: Acknowledgment sent {"connection_id":186292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:50:58] local.INFO: TCP Data received {"connection_id":184885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:50:58] local.INFO: Processing buffer {"connection_id":184885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:50:58] local.INFO: IMEI packet received {"connection_id":184885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":184885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:51:04] local.INFO: TCP Data received {"connection_id":184885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:51:04] local.INFO: Processing buffer {"connection_id":184885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:51:04] local.INFO: IMEI packet received {"connection_id":184885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":184885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:51:05] local.INFO: TCP Data received {"connection_id":184885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:51:05] local.INFO: Processing buffer {"connection_id":184885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:51:05] local.INFO: Packet analysis {"connection_id":184885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:51:05] local.INFO: Extracted packet for processing {"connection_id":184885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:51:05] 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-09-17 07:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":184885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:51:05] local.INFO: GPS data processed {"connection_id":184885,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:51:05] local.INFO: Acknowledgment sent {"connection_id":184885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:51:07] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:51:07] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:51:07] local.INFO: IMEI packet received {"connection_id":185000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":185000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:51:09] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:51:09] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:51:09] local.INFO: IMEI packet received {"connection_id":185000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":185000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:51:10] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2a9078012d7b420005e1aab8000a00cd28..."} 
[2026-09-17 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2a9078012d7b420005e1aab8000a00cd28..."} 
[2026-09-17 07:51:10] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2a9078012d7b420005e1aab8000a00cd28..."} 
[2026-09-17 07:51:10] local.INFO: Packet analysis {"connection_id":185000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2a"} 
[2026-09-17 07:51:10] local.INFO: Extracted packet for processing {"connection_id":185000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2a"} 
[2026-09-17 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763052544,"raw_latitude":98675384,"longitude_deg":76.3052544,"latitude_deg":9.8675384,"altitude":10,"angle":205,"satellites":40,"speed":11,"hex_longitude":"2d7b4200","hex_latitude":"05e1aab8","is_valid_coordinates":true} 
[2026-09-17 07:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140580352001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881802177877360640,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134016564616757248,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 07:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789611643000,"timestamp_ms":1789611643000,"timestamp_seconds":1789611643,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2a9078"} 
[2026-09-17 07:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 07:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140580352001,"66":13450,"45":8881802177877360640,"85":15104,"24":11,"16":134016564616757248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 07:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140580352001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881802177877360640,"description":"Unknown IO ID 45"} 
[2026-09-17 07:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134016564616757248,"km_value":134016564616757.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:51:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458140580352001,"power":13450,"unknown_45":8881802177877360640,"unknown_85":15104,"ignition":11,"odometer":null}} 
[2026-09-17 07:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":185000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:51:10] local.INFO: GPS data processed {"connection_id":185000,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:51:10] local.INFO: Acknowledgment sent {"connection_id":185000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:51:36] local.INFO: TCP Data received {"connection_id":184885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:51:36] local.INFO: Processing buffer {"connection_id":184885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:51:36] local.INFO: Packet analysis {"connection_id":184885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:51:36] local.INFO: Extracted packet for processing {"connection_id":184885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:51:36] 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-09-17 07:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":184885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:51:36] local.INFO: GPS data processed {"connection_id":184885,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:51:36] local.INFO: Acknowledgment sent {"connection_id":184885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:51:41] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2a9460012d7b414005e1a960000b00bd28..."} 
[2026-09-17 07:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2a9460012d7b414005e1a960000b00bd28..."} 
[2026-09-17 07:51:41] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2a9460012d7b414005e1a960000b00bd28..."} 
[2026-09-17 07:51:41] local.INFO: Packet analysis {"connection_id":185000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2a"} 
[2026-09-17 07:51:41] local.INFO: Extracted packet for processing {"connection_id":185000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2a"} 
[2026-09-17 07:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763052352,"raw_latitude":98675040,"longitude_deg":76.3052352,"latitude_deg":9.867504,"altitude":11,"angle":189,"satellites":40,"speed":14,"hex_longitude":"2d7b4140","hex_latitude":"05e1a960","is_valid_coordinates":true} 
[2026-09-17 07:51: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-09-17 07:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140580608001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881661440388937728,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134016581796626432,"note":"Value kept but may cause issues"} 
[2026-09-17 07:51:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 07:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789611644000,"timestamp_ms":1789611644000,"timestamp_seconds":1789611644,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2a9460"} 
[2026-09-17 07:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 07:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:51: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-09-17 07:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140580608001,"66":13450,"45":8881661440388937728,"85":15104,"24":14,"16":134016581796626432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 07:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140580608001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881661440388937728,"description":"Unknown IO ID 45"} 
[2026-09-17 07:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134016581796626432,"km_value":134016581796626.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:51:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458140580608001,"power":13450,"unknown_45":8881661440388937728,"unknown_85":15104,"ignition":14,"odometer":null}} 
[2026-09-17 07:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":185000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:51:41] local.INFO: GPS data processed {"connection_id":185000,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:51:41] local.INFO: Acknowledgment sent {"connection_id":185000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:52:01] local.INFO: TCP Data received {"connection_id":185001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:52:01] local.INFO: Processing buffer {"connection_id":185001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:52:01] local.INFO: IMEI packet received {"connection_id":185001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":185001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:52:03] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:52:03] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:52:03] local.INFO: IMEI packet received {"connection_id":186293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":186293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:52:07] local.INFO: TCP Data received {"connection_id":184886,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:52:07] local.INFO: Processing buffer {"connection_id":184886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:52:07] local.INFO: IMEI packet received {"connection_id":184886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":184886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:52:08] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:52:08] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:52:08] local.INFO: IMEI packet received {"connection_id":186293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":186293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:52:09] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:52:09] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:52:09] local.INFO: Packet analysis {"connection_id":186293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:52:09] local.INFO: Extracted packet for processing {"connection_id":186293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":186293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:52:09] local.INFO: GPS data processed {"connection_id":186293,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:52:09] local.INFO: Acknowledgment sent {"connection_id":186293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:52:12] local.INFO: TCP Data received {"connection_id":184886,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:52:12] local.INFO: Processing buffer {"connection_id":184886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:52:12] local.INFO: IMEI packet received {"connection_id":184886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":184886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:52:13] local.INFO: TCP Data received {"connection_id":184886,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2a9c30012d7b418005e1a538000b00b12a..."} 
[2026-09-17 07:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2a9c30012d7b418005e1a538000b00b12a..."} 
[2026-09-17 07:52:13] local.INFO: Processing buffer {"connection_id":184886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2a9c30012d7b418005e1a538000b00b12a..."} 
[2026-09-17 07:52:13] local.INFO: Packet analysis {"connection_id":184886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2a"} 
[2026-09-17 07:52:13] local.INFO: Extracted packet for processing {"connection_id":184886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2a"} 
[2026-09-17 07:52:13] local.INFO: GPS Element Parsed {"raw_longitude":763052416,"raw_latitude":98673976,"longitude_deg":76.3052416,"latitude_deg":9.8673976,"altitude":11,"angle":177,"satellites":42,"speed":22,"hex_longitude":"2d7b4180","hex_latitude":"05e1a538","is_valid_coordinates":true} 
[2026-09-17 07:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140580864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881450334156316672,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134016633336233984,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 07:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789611646000,"timestamp_ms":1789611646000,"timestamp_seconds":1789611646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2a9c30"} 
[2026-09-17 07:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 07:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":184886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":184886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":184886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140580864001,"66":13189,"45":8881450334156316672,"85":15104,"24":22,"16":134016633336233984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 07:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140580864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881450334156316672,"description":"Unknown IO ID 45"} 
[2026-09-17 07:52:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134016633336233984,"km_value":134016633336233.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:52:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458140580864001,"power":13189,"unknown_45":8881450334156316672,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-09-17 07:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":184886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:52:13] local.INFO: GPS data processed {"connection_id":184886,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:52:13] local.INFO: Acknowledgment sent {"connection_id":184886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:52:14] local.INFO: TCP Data received {"connection_id":186293,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:52:14] local.INFO: Processing buffer {"connection_id":186293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2744b8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:52:14] local.INFO: Packet analysis {"connection_id":186293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:52:14] local.INFO: Extracted packet for processing {"connection_id":186293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad27"} 
[2026-09-17 07:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789611427000,"timestamp_ms":1789611427000,"timestamp_seconds":1789611427,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2744b8"} 
[2026-09-17 07:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 07:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140448256001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140448256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":186293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:52:14] local.INFO: GPS data processed {"connection_id":186293,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:52:14] local.INFO: Acknowledgment sent {"connection_id":186293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:52:44] local.INFO: TCP Data received {"connection_id":184886,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2ac728012d7b45c005e17eb0000a00ab23..."} 
[2026-09-17 07:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2ac728012d7b45c005e17eb0000a00ab23..."} 
[2026-09-17 07:52:44] local.INFO: Processing buffer {"connection_id":184886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2ac728012d7b45c005e17eb0000a00ab23..."} 
[2026-09-17 07:52:44] local.INFO: Packet analysis {"connection_id":184886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2a"} 
[2026-09-17 07:52:44] local.INFO: Extracted packet for processing {"connection_id":184886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2a"} 
[2026-09-17 07:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763053504,"raw_latitude":98664112,"longitude_deg":76.3053504,"latitude_deg":9.8664112,"altitude":10,"angle":171,"satellites":35,"speed":44,"hex_longitude":"2d7b45c0","hex_latitude":"05e17eb0","is_valid_coordinates":true} 
[2026-09-17 07:52: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-09-17 07:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140581376001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881520702900221952,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134017114372571136,"note":"Value kept but may cause issues"} 
[2026-09-17 07:52:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 07:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789611657000,"timestamp_ms":1789611657000,"timestamp_seconds":1789611657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2ac728"} 
[2026-09-17 07:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 07:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:52: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-09-17 07:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140581376001,"66":13015,"45":8881520702900221952,"85":15104,"24":44,"16":134017114372571136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 07:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140581376001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881520702900221952,"description":"Unknown IO ID 45"} 
[2026-09-17 07:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134017114372571136,"km_value":134017114372571.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:52:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458140581376001,"power":13015,"unknown_45":8881520702900221952,"unknown_85":15104,"ignition":44,"odometer":null}} 
[2026-09-17 07:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":184886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:52:44] local.INFO: GPS data processed {"connection_id":184886,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:52:44] local.INFO: Acknowledgment sent {"connection_id":184886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:52:58] local.INFO: TCP Data received {"connection_id":184888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:52:58] local.INFO: Processing buffer {"connection_id":184888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:52:58] local.INFO: IMEI packet received {"connection_id":184888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":184888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:53:04] local.INFO: TCP Data received {"connection_id":184888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:53:04] local.INFO: Processing buffer {"connection_id":184888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:53:04] local.INFO: IMEI packet received {"connection_id":184888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":184888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:53:05] local.INFO: TCP Data received {"connection_id":184888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:53:05] local.INFO: Processing buffer {"connection_id":184888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:53:05] local.INFO: Packet analysis {"connection_id":184888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:53:05] local.INFO: Extracted packet for processing {"connection_id":184888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:53:05] 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-09-17 07:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":184888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:53:05] local.INFO: GPS data processed {"connection_id":184888,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:53:05] local.INFO: Acknowledgment sent {"connection_id":184888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:53:07] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:53:07] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:53:07] local.INFO: IMEI packet received {"connection_id":185002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":185002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:53:11] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:53:11] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:53:11] local.INFO: IMEI packet received {"connection_id":185002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":185002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:53:12] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:53:12] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:53:12] local.INFO: IMEI packet received {"connection_id":185002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":185002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:53:12] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2c49e0012d7b2c4005e231200000016220..."} 
[2026-09-17 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2c49e0012d7b2c4005e231200000016220..."} 
[2026-09-17 07:53:12] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2c49e0012d7b2c4005e231200000016220..."} 
[2026-09-17 07:53:12] local.INFO: Packet analysis {"connection_id":185002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:53:12] local.INFO: Extracted packet for processing {"connection_id":185002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763046976,"raw_latitude":98709792,"longitude_deg":76.3046976,"latitude_deg":9.8709792,"altitude":0,"angle":354,"satellites":32,"speed":24,"hex_longitude":"2d7b2c40","hex_latitude":"05e23120","is_valid_coordinates":true} 
[2026-09-17 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140605440001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876876365791404032,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134020258288631808,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 07:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789611756000,"timestamp_ms":1789611756000,"timestamp_seconds":1789611756,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2c49e0"} 
[2026-09-17 07:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-17 07:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140605440001,"66":13319,"45":8876876365791404032,"85":15104,"24":24,"16":134020258288631808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 07:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140605440001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876876365791404032,"description":"Unknown IO ID 45"} 
[2026-09-17 07:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134020258288631808,"km_value":134020258288631.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:53:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458140605440001,"power":13319,"unknown_45":8876876365791404032,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-09-17 07:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":185002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:53:12] local.INFO: GPS data processed {"connection_id":185002,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:53:12] local.INFO: Acknowledgment sent {"connection_id":185002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:53:18] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2c7ca8012d7b278005e253680002015f1d..."} 
[2026-09-17 07:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2c7ca8012d7b278005e253680002015f1d..."} 
[2026-09-17 07:53:18] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2c7ca8012d7b278005e253680002015f1d..."} 
[2026-09-17 07:53:18] local.INFO: Packet analysis {"connection_id":185002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:53:18] local.INFO: Extracted packet for processing {"connection_id":185002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:53:18] local.INFO: GPS Element Parsed {"raw_longitude":763045760,"raw_latitude":98718568,"longitude_deg":76.304576,"latitude_deg":9.8718568,"altitude":2,"angle":351,"satellites":29,"speed":27,"hex_longitude":"2d7b2780","hex_latitude":"05e25368","is_valid_coordinates":true} 
[2026-09-17 07:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140609536001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875539359654289408,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134020687785361408,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 07:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789611769000,"timestamp_ms":1789611769000,"timestamp_seconds":1789611769,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2c7ca8"} 
[2026-09-17 07:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2905282864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":225,"raw_value":6795931859199271168,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926158,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.WARNING: Large IO value detected {"io_id":43,"raw_value":1252001991262322693,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,45,85,24,241,157,16,34,160,11,14,32,10,66,185,64,242,26,33,146,1,240,29,227,173,225,4,113,205,36,72,63,128,239,52,2,220,5,17,43],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-09-17 07:53:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":389364556759040,"timestamp_seconds":389364556759.04,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 07:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140609536001,"66":13254,"45":8875539359654289408,"85":15104,"24":27,"16":134020687785361408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 07:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140609536001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875539359654289408,"description":"Unknown IO ID 45"} 
[2026-09-17 07:53:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134020687785361408,"km_value":134020687785361.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:53:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458140609536001,"power":13254,"unknown_45":8875539359654289408,"unknown_85":15104,"ignition":27,"odometer":null}} 
[2026-09-17 07:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":185002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:53:18] local.INFO: GPS data processed {"connection_id":185002,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:53:18] local.INFO: Acknowledgment sent {"connection_id":185002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:53:36] local.INFO: TCP Data received {"connection_id":184888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:53:36] local.INFO: Processing buffer {"connection_id":184888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:53:36] local.INFO: Packet analysis {"connection_id":184888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:53:36] local.INFO: Extracted packet for processing {"connection_id":184888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:53:36] 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-09-17 07:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":184888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:53:36] local.INFO: GPS data processed {"connection_id":184888,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:53:36] local.INFO: Acknowledgment sent {"connection_id":184888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:53:49] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2ca7a0012d7b238005e279080003015f1f..."} 
[2026-09-17 07:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2ca7a0012d7b238005e279080003015f1f..."} 
[2026-09-17 07:53:49] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2ca7a0012d7b238005e279080003015f1f..."} 
[2026-09-17 07:53:49] local.INFO: Packet analysis {"connection_id":185002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:53:49] local.INFO: Extracted packet for processing {"connection_id":185002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:53:49] local.INFO: GPS Element Parsed {"raw_longitude":763044736,"raw_latitude":98728200,"longitude_deg":76.3044736,"latitude_deg":9.87282,"altitude":3,"angle":351,"satellites":31,"speed":40,"hex_longitude":"2d7b2380","hex_latitude":"05e27908","is_valid_coordinates":true} 
[2026-09-17 07:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140612864001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874202353517160448,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134021160231763968,"note":"Value kept but may cause issues"} 
[2026-09-17 07:53:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 07:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789611780000,"timestamp_ms":1789611780000,"timestamp_seconds":1789611780,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2ca7a0"} 
[2026-09-17 07:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 07:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140612864001,"66":12809,"45":8874202353517160448,"85":15104,"24":40,"16":134021160231763968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 07:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140612864001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874202353517160448,"description":"Unknown IO ID 45"} 
[2026-09-17 07:53:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134021160231763968,"km_value":134021160231763.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:53:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458140612864001,"power":12809,"unknown_45":8874202353517160448,"unknown_85":15104,"ignition":40,"odometer":null}} 
[2026-09-17 07:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":185002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:53:49] local.INFO: GPS data processed {"connection_id":185002,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:53:49] local.INFO: Acknowledgment sent {"connection_id":185002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:53:58] local.INFO: TCP Data received {"connection_id":184889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:53:58] local.INFO: Processing buffer {"connection_id":184889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:53:58] local.INFO: IMEI packet received {"connection_id":184889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":184889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:54:04] local.INFO: TCP Data received {"connection_id":184889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:54:04] local.INFO: Processing buffer {"connection_id":184889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:54:04] local.INFO: IMEI packet received {"connection_id":184889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":184889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:54:05] local.INFO: TCP Data received {"connection_id":184889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:54:05] local.INFO: Processing buffer {"connection_id":184889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:54:05] local.INFO: Packet analysis {"connection_id":184889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:54:05] local.INFO: Extracted packet for processing {"connection_id":184889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:54:05] 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-09-17 07:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:54:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":184889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:54:05] local.INFO: GPS data processed {"connection_id":184889,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:54:05] local.INFO: Acknowledgment sent {"connection_id":184889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:54:09] local.INFO: TCP Data received {"connection_id":187622,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:54:09] local.INFO: Processing buffer {"connection_id":187622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:54:09] local.INFO: IMEI packet received {"connection_id":187622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":187622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:54:12] local.INFO: TCP Data received {"connection_id":187622,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:54:12] local.INFO: Processing buffer {"connection_id":187622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:54:12] local.INFO: IMEI packet received {"connection_id":187622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":187622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:54:17] local.INFO: TCP Data received {"connection_id":187622,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:54:17] local.INFO: Processing buffer {"connection_id":187622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:54:17] local.INFO: IMEI packet received {"connection_id":187622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":187622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:54:19] local.INFO: TCP Data received {"connection_id":187622,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2ccac8012d7b1e8005e29b500003015f1c..."} 
[2026-09-17 07:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2ccac8012d7b1e8005e29b500003015f1c..."} 
[2026-09-17 07:54:19] local.INFO: Processing buffer {"connection_id":187622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2ccac8012d7b1e8005e29b500003015f1c..."} 
[2026-09-17 07:54:19] local.INFO: Packet analysis {"connection_id":187622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:54:19] local.INFO: Extracted packet for processing {"connection_id":187622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:54:19] local.INFO: GPS Element Parsed {"raw_longitude":763043456,"raw_latitude":98736976,"longitude_deg":76.3043456,"latitude_deg":9.8736976,"altitude":3,"angle":351,"satellites":28,"speed":41,"hex_longitude":"2d7b1e80","hex_latitude":"05e29b50","is_valid_coordinates":true} 
[2026-09-17 07:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140615680001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873076453612783616,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134021589728493568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 07:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789611789000,"timestamp_ms":1789611789000,"timestamp_seconds":1789611789,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2ccac8"} 
[2026-09-17 07:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2594073385533178880,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2905304864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620266599312208299,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3118760339198131968,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4060610560,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2196208505717693916,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:19] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,45,85,24,241,157,16,35,160,124,128,83,2,29,10,66,73,64,49,32,34,11,1,240,123,227,173,225,4,113,205,17,146,55,28,239,52,220,5,36,59,42],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-09-17 07:54:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216558843841740800,"timestamp_seconds":216558843841740.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 07:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140615680001,"66":12939,"45":8873076453612783616,"85":15104,"24":41,"16":134021589728493568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 07:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140615680001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873076453612783616,"description":"Unknown IO ID 45"} 
[2026-09-17 07:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134021589728493568,"km_value":134021589728493.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:54:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458140615680001,"power":12939,"unknown_45":8873076453612783616,"unknown_85":15104,"ignition":41,"odometer":null}} 
[2026-09-17 07:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":187622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:54:20] local.INFO: GPS data processed {"connection_id":187622,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:54:20] local.INFO: Acknowledgment sent {"connection_id":187622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:54:22] local.INFO: TCP Data received {"connection_id":187622,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2cedf0012d7b18c005e2c0600003015f1f..."} 
[2026-09-17 07:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2cedf0012d7b18c005e2c0600003015f1f..."} 
[2026-09-17 07:54:22] local.INFO: Processing buffer {"connection_id":187622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2cedf0012d7b18c005e2c0600003015f1f..."} 
[2026-09-17 07:54:22] local.INFO: Packet analysis {"connection_id":187622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:54:22] local.INFO: Extracted packet for processing {"connection_id":187622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2c"} 
[2026-09-17 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763041984,"raw_latitude":98746464,"longitude_deg":76.3041984,"latitude_deg":9.8746464,"altitude":3,"angle":351,"satellites":31,"speed":40,"hex_longitude":"2d7b18c0","hex_latitude":"05e2c060","is_valid_coordinates":true} 
[2026-09-17 07:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140617984001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134022053584961536,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871669078731476992,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789611798000,"timestamp_ms":1789611798000,"timestamp_seconds":1789611798,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2cedf0"} 
[2026-09-17 07:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 07:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140617984001,"66":13091,"207":206,"85":15104,"24":40,"16":134022053584961536,"45":8871669078731476992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 07:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140617984001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:54:22] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 07:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134022053584961536,"km_value":134022053584961.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871669078731476992,"description":"Unknown IO ID 45"} 
[2026-09-17 07:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140617984001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8871669078731476992}} 
[2026-09-17 07:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":187622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:54:22] local.INFO: GPS data processed {"connection_id":187622,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:54:22] local.INFO: Acknowledgment sent {"connection_id":187622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:54:37] local.INFO: TCP Data received {"connection_id":184889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:54:37] local.INFO: Processing buffer {"connection_id":184889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:54:37] local.INFO: Packet analysis {"connection_id":184889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:54:37] local.INFO: Extracted packet for processing {"connection_id":184889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:54:37] 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-09-17 07:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":184889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:54:37] local.INFO: GPS data processed {"connection_id":184889,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:54:37] local.INFO: Acknowledgment sent {"connection_id":184889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:54:58] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:54:58] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:54:58] local.INFO: IMEI packet received {"connection_id":186295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":186295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:55:03] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:55:03] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:55:03] local.INFO: IMEI packet received {"connection_id":186296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":186296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:55:03] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:55:03] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:55:03] local.INFO: IMEI packet received {"connection_id":186295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":186295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:55:04] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:55:04] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:55:04] local.INFO: Packet analysis {"connection_id":186295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:55:04] local.INFO: Extracted packet for processing {"connection_id":186295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:55:04] 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-09-17 07:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":186295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:55:04] local.INFO: GPS data processed {"connection_id":186295,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:55:04] local.INFO: Acknowledgment sent {"connection_id":186295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:55:07] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:55:07] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:55:07] local.INFO: IMEI packet received {"connection_id":186296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":186296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:55:12] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:55:12] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:55:12] local.INFO: IMEI packet received {"connection_id":186296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":186296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:55:13] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2d1118012d7b130005e2e6400004015f1b..."} 
[2026-09-17 07:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2d1118012d7b130005e2e6400004015f1b..."} 
[2026-09-17 07:55:13] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2d1118012d7b130005e2e6400004015f1b..."} 
[2026-09-17 07:55:13] local.INFO: Packet analysis {"connection_id":186296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2d"} 
[2026-09-17 07:55:13] local.INFO: Extracted packet for processing {"connection_id":186296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2d"} 
[2026-09-17 07:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763040512,"raw_latitude":98756160,"longitude_deg":76.3040512,"latitude_deg":9.875616,"altitude":4,"angle":351,"satellites":27,"speed":46,"hex_longitude":"2d7b1300","hex_latitude":"05e2e640","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140620288001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134022530326331392,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870050597617819648,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789611807000,"timestamp_ms":1789611807000,"timestamp_seconds":1789611807,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2d1118"} 
[2026-09-17 07:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 07:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140620288001,"66":13276,"207":206,"85":15104,"24":46,"16":134022530326331392,"45":8870050597617819648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 07:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140620288001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:55:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 07:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134022530326331392,"km_value":134022530326331.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870050597617819648,"description":"Unknown IO ID 45"} 
[2026-09-17 07:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140620288001,"power":13276,"unknown_207":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8870050597617819648}} 
[2026-09-17 07:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":186296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:55:13] local.INFO: GPS data processed {"connection_id":186296,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:55:13] local.INFO: Acknowledgment sent {"connection_id":186296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:55:36] local.INFO: TCP Data received {"connection_id":186295,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:55:36] local.INFO: Processing buffer {"connection_id":186295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:55:36] local.INFO: Packet analysis {"connection_id":186295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:55:36] local.INFO: Extracted packet for processing {"connection_id":186295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:55:36] 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-09-17 07:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":186295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:55:36] local.INFO: GPS data processed {"connection_id":186295,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:55:36] local.INFO: Acknowledgment sent {"connection_id":186295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:55:45] local.INFO: TCP Data received {"connection_id":186296,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2d3058012d7b0e0005e308880003015c1b..."} 
[2026-09-17 07:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2d3058012d7b0e0005e308880003015c1b..."} 
[2026-09-17 07:55:45] local.INFO: Processing buffer {"connection_id":186296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2d3058012d7b0e0005e308880003015c1b..."} 
[2026-09-17 07:55:45] local.INFO: Packet analysis {"connection_id":186296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2d"} 
[2026-09-17 07:55:45] local.INFO: Extracted packet for processing {"connection_id":186296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2d"} 
[2026-09-17 07:55:45] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98764936,"longitude_deg":76.3039232,"latitude_deg":9.8764936,"altitude":3,"angle":348,"satellites":27,"speed":39,"hex_longitude":"2d7b0e00","hex_latitude":"05e30888","is_valid_coordinates":true} 
[2026-09-17 07:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140622592001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134022959823060992,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868432116504215552,"note":"Value kept but may cause issues"} 
[2026-09-17 07:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789611815000,"timestamp_ms":1789611815000,"timestamp_seconds":1789611815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2d3058"} 
[2026-09-17 07:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 07:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140622592001,"66":12939,"207":206,"85":15104,"24":39,"16":134022959823060992,"45":8868432116504215552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 07:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140622592001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:55:45] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 07:55:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134022959823060992,"km_value":134022959823060.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868432116504215552,"description":"Unknown IO ID 45"} 
[2026-09-17 07:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140622592001,"power":12939,"unknown_207":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8868432116504215552}} 
[2026-09-17 07:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":186296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:55:45] local.INFO: GPS data processed {"connection_id":186296,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:55:45] local.INFO: Acknowledgment sent {"connection_id":186296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:55:58] local.INFO: TCP Data received {"connection_id":185004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:55:58] local.INFO: Processing buffer {"connection_id":185004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:55:58] local.INFO: IMEI packet received {"connection_id":185004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":185004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:56:04] local.INFO: TCP Data received {"connection_id":185004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:56:04] local.INFO: Processing buffer {"connection_id":185004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:56:04] local.INFO: IMEI packet received {"connection_id":185004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":185004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:56:05] local.INFO: TCP Data received {"connection_id":185004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:56:05] local.INFO: Processing buffer {"connection_id":185004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:56:05] local.INFO: Packet analysis {"connection_id":185004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:56:05] local.INFO: Extracted packet for processing {"connection_id":185004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:56:05] 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-09-17 07:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":185004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:56:05] local.INFO: GPS data processed {"connection_id":185004,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:56:05] local.INFO: Acknowledgment sent {"connection_id":185004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:56:07] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:56:07] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:56:07] local.INFO: IMEI packet received {"connection_id":186298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":186298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:56:08] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:56:08] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:56:08] local.INFO: IMEI packet received {"connection_id":186298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":186298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:56:23] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:56:23] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:56:23] local.INFO: IMEI packet received {"connection_id":186298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":186298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:56:24] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.109.136.6","data_length":1340,"data_hex":"000000000000030f8e0a000001a0ad2f10d0012d7acc0005e41248000701442b..."} 
[2026-09-17 07:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0ad2f10d0012d7acc0005e41248000701442b..."} 
[2026-09-17 07:56:24] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0ad2f10d0012d7acc0005e41248000701442b..."} 
[2026-09-17 07:56:24] local.INFO: Packet analysis {"connection_id":186298,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a0ad2f"} 
[2026-09-17 07:56:24] local.INFO: Extracted packet for processing {"connection_id":186298,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0ad2f"} 
[2026-09-17 07:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763022336,"raw_latitude":98832968,"longitude_deg":76.3022336,"latitude_deg":9.8832968,"altitude":7,"angle":324,"satellites":43,"speed":33,"hex_longitude":"2d7acc00","hex_latitude":"05e41248","is_valid_coordinates":true} 
[2026-09-17 07:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140654848001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134026382911995904,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849995505548261376,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789611938000,"timestamp_ms":1789611938000,"timestamp_seconds":1789611938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2f10d0"} 
[2026-09-17 07:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 07:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140654848001,"66":12841,"208":206,"85":15104,"24":33,"16":134026382911995904,"45":8849995505548261376},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 07:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140654848001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:56:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 07:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134026382911995904,"km_value":134026382911995.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849995505548261376,"description":"Unknown IO ID 45"} 
[2026-09-17 07:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140654848001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8849995505548261376}} 
[2026-09-17 07:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":186298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:56:24] local.INFO: GPS data processed {"connection_id":186298,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:56:24] local.INFO: Acknowledgment sent {"connection_id":186298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:56:24] local.INFO: Packet analysis {"connection_id":186298,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0ad2f"} 
[2026-09-17 07:56:24] local.INFO: Incomplete packet, waiting for more data {"connection_id":186298,"needed":795,"available":545} 
[2026-09-17 07:56:25] local.INFO: TCP Data received {"connection_id":186298,"ip":"42.109.136.6","data_length":1045,"data_hex":"e3001001dc266f00000000000001a0ad2de408012d7afc4005e36b4000080157..."} 
[2026-09-17 07:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186298,"packet_length":1045,"packet_hex":"e3001001dc266f00000000000001a0ad2de408012d7afc4005e36b4000080157..."} 
[2026-09-17 07:56:25] local.INFO: Processing buffer {"connection_id":186298,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0ad2f33f8012d7ab28005e42b880004013928..."} 
[2026-09-17 07:56:25] local.INFO: Packet analysis {"connection_id":186298,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ad2f"} 
[2026-09-17 07:56:25] local.INFO: Extracted packet for processing {"connection_id":186298,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2f"} 
[2026-09-17 07:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763015808,"raw_latitude":98839432,"longitude_deg":76.3015808,"latitude_deg":9.8839432,"altitude":4,"angle":313,"satellites":40,"speed":44,"hex_longitude":"2d7ab280","hex_latitude":"05e42b88","is_valid_coordinates":true} 
[2026-09-17 07:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140656128001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134026825293627392,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848447393177421824,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789611947000,"timestamp_ms":1789611947000,"timestamp_seconds":1789611947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2f33f8"} 
[2026-09-17 07:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 07:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140656128001,"66":13243,"208":206,"85":15104,"24":44,"16":134026825293627392,"45":8848447393177421824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 07:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140656128001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:56:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 07:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134026825293627392,"km_value":134026825293627.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848447393177421824,"description":"Unknown IO ID 45"} 
[2026-09-17 07:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140656128001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8848447393177421824}} 
[2026-09-17 07:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":186298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:56:25] local.INFO: GPS data processed {"connection_id":186298,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:56:25] local.INFO: Acknowledgment sent {"connection_id":186298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:56:25] local.INFO: Packet analysis {"connection_id":186298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2f"} 
[2026-09-17 07:56:25] local.INFO: Extracted packet for processing {"connection_id":186298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2f"} 
[2026-09-17 07:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763015808,"raw_latitude":98839432,"longitude_deg":76.3015808,"latitude_deg":9.8839432,"altitude":4,"angle":313,"satellites":40,"speed":44,"hex_longitude":"2d7ab280","hex_latitude":"05e42b88","is_valid_coordinates":true} 
[2026-09-17 07:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140658432001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134026825293627392,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841269781272954880,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789611947000,"timestamp_ms":1789611947000,"timestamp_seconds":1789611947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2f33f8"} 
[2026-09-17 07:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 07:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140658432001,"66":13243,"208":206,"85":15104,"24":44,"16":134026825293627392,"45":8841269781272954880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 07:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140658432001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:56:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 07:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134026825293627392,"km_value":134026825293627.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841269781272954880,"description":"Unknown IO ID 45"} 
[2026-09-17 07:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140658432001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8841269781272954880}} 
[2026-09-17 07:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":186298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:56:25] local.INFO: GPS data processed {"connection_id":186298,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:56:25] local.INFO: Acknowledgment sent {"connection_id":186298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:56:36] local.INFO: TCP Data received {"connection_id":185004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:56:36] local.INFO: Processing buffer {"connection_id":185004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:56:36] local.INFO: Packet analysis {"connection_id":185004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:56:36] local.INFO: Extracted packet for processing {"connection_id":185004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:56:36] 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-09-17 07:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":185004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:56:36] local.INFO: GPS data processed {"connection_id":185004,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:56:36] local.INFO: Acknowledgment sent {"connection_id":185004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:56:58] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:56:58] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:56:58] local.INFO: IMEI packet received {"connection_id":186299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":186299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:57:03] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:57:03] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:57:03] local.INFO: IMEI packet received {"connection_id":186299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":186299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:57:05] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:57:05] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:57:05] local.INFO: Packet analysis {"connection_id":186299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:57:05] local.INFO: Extracted packet for processing {"connection_id":186299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:57:05] 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-09-17 07:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":186299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:57:05] local.INFO: GPS data processed {"connection_id":186299,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:57:05] local.INFO: Acknowledgment sent {"connection_id":186299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:57:07] local.INFO: TCP Data received {"connection_id":187624,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:57:07] local.INFO: Processing buffer {"connection_id":187624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:57:07] local.INFO: IMEI packet received {"connection_id":187624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":187624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:57:13] local.INFO: TCP Data received {"connection_id":187624,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:57:13] local.INFO: Processing buffer {"connection_id":187624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:57:13] local.INFO: IMEI packet received {"connection_id":187624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":187624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:57:14] local.INFO: TCP Data received {"connection_id":187624,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2f5720012d7a950005e444800002013627..."} 
[2026-09-17 07:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2f5720012d7a950005e444800002013627..."} 
[2026-09-17 07:57:14] local.INFO: Processing buffer {"connection_id":187624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2f5720012d7a950005e444800002013627..."} 
[2026-09-17 07:57:14] local.INFO: Packet analysis {"connection_id":187624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2f"} 
[2026-09-17 07:57:14] local.INFO: Extracted packet for processing {"connection_id":187624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2f"} 
[2026-09-17 07:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763008256,"raw_latitude":98845824,"longitude_deg":76.3008256,"latitude_deg":9.8845824,"altitude":2,"angle":310,"satellites":39,"speed":43,"hex_longitude":"2d7a9500","hex_latitude":"05e44480","is_valid_coordinates":true} 
[2026-09-17 07:57: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-09-17 07:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140658432001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134027302034997248,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841269781272954880,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789611956000,"timestamp_ms":1789611956000,"timestamp_seconds":1789611956,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2f5720"} 
[2026-09-17 07:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 07:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:57: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-09-17 07:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140658432001,"66":13222,"208":206,"85":15104,"24":43,"16":134027302034997248,"45":8841269781272954880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 07:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140658432001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:57:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 07:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 07:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134027302034997248,"km_value":134027302034997.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841269781272954880,"description":"Unknown IO ID 45"} 
[2026-09-17 07:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140658432001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8841269781272954880}} 
[2026-09-17 07:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":187624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:57:14] local.INFO: GPS data processed {"connection_id":187624,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:57:14] local.INFO: Acknowledgment sent {"connection_id":187624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:57:36] local.INFO: TCP Data received {"connection_id":186299,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:57:36] local.INFO: Processing buffer {"connection_id":186299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad2bdc80012d34c3c006aa4458000c01172c..."} 
[2026-09-17 07:57:36] local.INFO: Packet analysis {"connection_id":186299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:57:36] local.INFO: Extracted packet for processing {"connection_id":186299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad2b"} 
[2026-09-17 07:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140525312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789611728000,"timestamp_ms":1789611728000,"timestamp_seconds":1789611728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad2bdc80"} 
[2026-09-17 07:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 07:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:57:36] 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-09-17 07:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140525312001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140525312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140525312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":186299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:57:36] local.INFO: GPS data processed {"connection_id":186299,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:57:36] local.INFO: Acknowledgment sent {"connection_id":186299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:57:46] local.INFO: TCP Data received {"connection_id":187624,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad30ce20012d7a254005e468e0000c012d29..."} 
[2026-09-17 07:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad30ce20012d7a254005e468e0000c012d29..."} 
[2026-09-17 07:57:46] local.INFO: Processing buffer {"connection_id":187624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad30ce20012d7a254005e468e0000c012d29..."} 
[2026-09-17 07:57:46] local.INFO: Packet analysis {"connection_id":187624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:57:46] local.INFO: Extracted packet for processing {"connection_id":187624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:57:46] local.INFO: GPS Element Parsed {"raw_longitude":762979648,"raw_latitude":98855136,"longitude_deg":76.2979648,"latitude_deg":9.8855136,"altitude":12,"angle":301,"satellites":41,"speed":7,"hex_longitude":"2d7a2540","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-09-17 07:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140684800001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134028972777275392,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801792915793248256,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789612052000,"timestamp_ms":1789612052000,"timestamp_seconds":1789612052,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad30ce20"} 
[2026-09-17 07:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2905639864,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":228,"raw_value":6473924498720892928,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831037952,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":57822655093298992,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-8941895765308260347,"note":"Value kept but may cause issues"} 
[2026-09-17 07:57:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,42,160,167,45,192,93,9,43,10,66,163,92,8,159,128,1,240,79,227,173,228,4,113,205,151,50,168,239,2,220,5,7,19,52,48],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-17 07:57:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720922462636081152,"timestamp_seconds":720922462636081.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 07:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140684800001,"66":13222,"102":206,"87":12288,"24":7,"16":134028972777275392,"45":8801792915793248256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 07:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140684800001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:57:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 07:57:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 07:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134028972777275392,"km_value":134028972777275.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801792915793248256,"description":"Unknown IO ID 45"} 
[2026-09-17 07:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140684800001,"power":13222,"unknown_102":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8801792915793248256}} 
[2026-09-17 07:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":187624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:57:46] local.INFO: GPS data processed {"connection_id":187624,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:57:46] local.INFO: Acknowledgment sent {"connection_id":187624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:57:50] local.INFO: TCP Data received {"connection_id":184890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:57:50] local.INFO: Processing buffer {"connection_id":184890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 07:57:50] local.INFO: IMEI packet received {"connection_id":184890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 07:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":184890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:58:04] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:58:04] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:58:04] local.INFO: IMEI packet received {"connection_id":186300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":186300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:58:07] local.INFO: TCP Data received {"connection_id":185005,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:58:07] local.INFO: Processing buffer {"connection_id":185005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:58:07] local.INFO: IMEI packet received {"connection_id":185005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":185005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:58:08] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:58:08] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:58:08] local.INFO: IMEI packet received {"connection_id":186300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":186300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:58:09] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:58:09] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:58:09] local.INFO: Packet analysis {"connection_id":186300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:58:09] local.INFO: Extracted packet for processing {"connection_id":186300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 07:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:58: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-09-17 07:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":186300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:58:09] local.INFO: GPS data processed {"connection_id":186300,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:58:09] local.INFO: Acknowledgment sent {"connection_id":186300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:58:12] local.INFO: TCP Data received {"connection_id":185005,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:58:12] local.INFO: Processing buffer {"connection_id":185005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:58:12] local.INFO: IMEI packet received {"connection_id":185005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":185005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:58:13] local.INFO: TCP Data received {"connection_id":185005,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad30d208012d7a248005e46928000c011c29..."} 
[2026-09-17 07:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad30d208012d7a248005e46928000c011c29..."} 
[2026-09-17 07:58:13] local.INFO: Processing buffer {"connection_id":185005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad30d208012d7a248005e46928000c011c29..."} 
[2026-09-17 07:58:13] local.INFO: Packet analysis {"connection_id":185005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:58:13] local.INFO: Extracted packet for processing {"connection_id":185005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":762979456,"raw_latitude":98855208,"longitude_deg":76.2979456,"latitude_deg":9.8855208,"altitude":12,"angle":284,"satellites":41,"speed":9,"hex_longitude":"2d7a2480","hex_latitude":"05e46928","is_valid_coordinates":true} 
[2026-09-17 07:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140685312001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134028985662177280,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801511440816594944,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789612053000,"timestamp_ms":1789612053000,"timestamp_seconds":1789612053,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad30d208"} 
[2026-09-17 07:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 07:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140685312001,"66":12798,"102":206,"87":12288,"24":9,"16":134028985662177280,"45":8801511440816594944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 07:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140685312001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:58:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 07:58:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 07:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134028985662177280,"km_value":134028985662177.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801511440816594944,"description":"Unknown IO ID 45"} 
[2026-09-17 07:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140685312001,"power":12798,"unknown_102":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8801511440816594944}} 
[2026-09-17 07:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":185005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:58:13] local.INFO: GPS data processed {"connection_id":185005,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:58:13] local.INFO: Acknowledgment sent {"connection_id":185005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:58:14] local.INFO: TCP Data received {"connection_id":186300,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:58:14] local.INFO: Processing buffer {"connection_id":186300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:58:14] local.INFO: Packet analysis {"connection_id":186300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:58:14] local.INFO: Extracted packet for processing {"connection_id":186300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 07:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:58:14] 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-09-17 07:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:58:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":186300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:58:14] local.INFO: GPS data processed {"connection_id":186300,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:58:14] local.INFO: Acknowledgment sent {"connection_id":186300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:58:45] local.INFO: TCP Data received {"connection_id":185005,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad30d9d8012d7a228005e46928000c010929..."} 
[2026-09-17 07:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad30d9d8012d7a228005e46928000c010929..."} 
[2026-09-17 07:58:45] local.INFO: Processing buffer {"connection_id":185005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad30d9d8012d7a228005e46928000c010929..."} 
[2026-09-17 07:58:45] local.INFO: Packet analysis {"connection_id":185005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:58:45] local.INFO: Extracted packet for processing {"connection_id":185005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:58:45] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":98855208,"longitude_deg":76.2978944,"latitude_deg":9.8855208,"altitude":12,"angle":265,"satellites":41,"speed":8,"hex_longitude":"2d7a2280","hex_latitude":"05e46928","is_valid_coordinates":true} 
[2026-09-17 07:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140685568001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134029007137013760,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801300334584080384,"note":"Value kept but may cause issues"} 
[2026-09-17 07:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789612055000,"timestamp_ms":1789612055000,"timestamp_seconds":1789612055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad30d9d8"} 
[2026-09-17 07:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 07:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 07:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140685568001,"66":13091,"102":206,"87":12288,"24":8,"16":134029007137013760,"45":8801300334584080384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 07:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140685568001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:58:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 07:58:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 07:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134029007137013760,"km_value":134029007137013.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801300334584080384,"description":"Unknown IO ID 45"} 
[2026-09-17 07:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140685568001,"power":13091,"unknown_102":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8801300334584080384}} 
[2026-09-17 07:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":185005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:58:45] local.INFO: GPS data processed {"connection_id":185005,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:58:45] local.INFO: Acknowledgment sent {"connection_id":185005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:59:04] local.INFO: TCP Data received {"connection_id":185006,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:59:04] local.INFO: Processing buffer {"connection_id":185006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:59:04] local.INFO: IMEI packet received {"connection_id":185006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":185006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:59:08] local.INFO: TCP Data received {"connection_id":185006,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:59:08] local.INFO: Processing buffer {"connection_id":185006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:59:08] local.INFO: IMEI packet received {"connection_id":185006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 07:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":185006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:59:09] local.INFO: TCP Data received {"connection_id":185006,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:59:09] local.INFO: Processing buffer {"connection_id":185006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:59:09] local.INFO: Packet analysis {"connection_id":185006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:59:09] local.INFO: Extracted packet for processing {"connection_id":185006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07: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-09-17 07:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 07:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07: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-09-17 07:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:59: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-09-17 07:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":185006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:59:09] local.INFO: GPS data processed {"connection_id":185006,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:59:09] local.INFO: Acknowledgment sent {"connection_id":185006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:59:12] local.INFO: TCP Data received {"connection_id":187625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:59:12] local.INFO: Processing buffer {"connection_id":187625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:59:12] local.INFO: IMEI packet received {"connection_id":187625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 07:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":187625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 07:59:14] local.INFO: TCP Data received {"connection_id":185006,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:59:14] local.INFO: Processing buffer {"connection_id":185006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 07:59:14] local.INFO: Packet analysis {"connection_id":185006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:59:14] local.INFO: Extracted packet for processing {"connection_id":185006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 07:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 07:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 07:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 07:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 07:59:14] 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-09-17 07:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 07:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 07:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 07:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 07:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 07:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 07:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 07:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 07:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 07:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":185006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:59:14] local.INFO: GPS data processed {"connection_id":185006,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:59:14] local.INFO: Acknowledgment sent {"connection_id":185006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:59:17] local.INFO: TCP Data received {"connection_id":187625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:59:17] local.INFO: Processing buffer {"connection_id":187625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 07:59:17] local.INFO: IMEI packet received {"connection_id":187625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 07:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":187625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 07:59:18] local.INFO: TCP Data received {"connection_id":187625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad31e378012d7a12c005e46668000800592a..."} 
[2026-09-17 07:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad31e378012d7a12c005e46668000800592a..."} 
[2026-09-17 07:59:18] local.INFO: Processing buffer {"connection_id":187625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad31e378012d7a12c005e46668000800592a..."} 
[2026-09-17 07:59:18] local.INFO: Packet analysis {"connection_id":187625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 07:59:18] local.INFO: Extracted packet for processing {"connection_id":187625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 07:59:18] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":98854504,"longitude_deg":76.2974912,"latitude_deg":9.8854504,"altitude":8,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7a12c0","hex_latitude":"05e46668","is_valid_coordinates":true} 
[2026-09-17 07:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140703488001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134029728691519488,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153747286016,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789612123000,"timestamp_ms":1789612123000,"timestamp_seconds":1789612123,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad31e378"} 
[2026-09-17 07:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 07:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140703488001,"66":12917,"102":206,"87":12288,"24":0,"16":134029728691519488,"45":8796304153747286016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 07:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140703488001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:59:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 07:59:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 07:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134029728691519488,"km_value":134029728691519.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153747286016,"description":"Unknown IO ID 45"} 
[2026-09-17 07:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140703488001,"power":12917,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796304153747286016}} 
[2026-09-17 07:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":187625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:59:18] local.INFO: GPS data processed {"connection_id":187625,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:59:18] local.INFO: Acknowledgment sent {"connection_id":187625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:59:22] local.INFO: TCP Data received {"connection_id":187625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 07:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 07:59:22] local.INFO: Processing buffer {"connection_id":187625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 07:59:22] local.INFO: Packet analysis {"connection_id":187625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 07:59:22] local.INFO: Extracted packet for processing {"connection_id":187625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 07:59:22] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":98854512,"longitude_deg":76.2974912,"latitude_deg":9.8854512,"altitude":8,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7a12c0","hex_latitude":"05e46670","is_valid_coordinates":true} 
[2026-09-17 07:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 07:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140703488001,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134029728691519488,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153747286016,"note":"Value kept but may cause issues"} 
[2026-09-17 07:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 07:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789612125000,"timestamp_ms":1789612125000,"timestamp_seconds":1789612125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad31eb48"} 
[2026-09-17 07:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 07:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 07:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 07:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 07:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 07:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 07:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 07:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 07:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 07:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 07:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 07:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 07:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140703488001,"66":13091,"102":206,"87":12288,"24":0,"16":134029728691519488,"45":8796304153747286016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 07:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 07:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 07:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140703488001,"description":"Unknown IO ID 0"} 
[2026-09-17 07:59:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 07:59:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 07:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134029728691519488,"km_value":134029728691519.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 07:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153747286016,"description":"Unknown IO ID 45"} 
[2026-09-17 07:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140703488001,"power":13091,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796304153747286016}} 
[2026-09-17 07:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":187625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 07:59:22] local.INFO: GPS data processed {"connection_id":187625,"processed":1,"errors":0,"total":1} 
[2026-09-17 07:59:22] local.INFO: Acknowledgment sent {"connection_id":187625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 07:59:58] local.INFO: TCP Data received {"connection_id":187626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:59:58] local.INFO: Processing buffer {"connection_id":187626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 07:59:58] local.INFO: IMEI packet received {"connection_id":187626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 07:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":187626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:00:04] local.INFO: TCP Data received {"connection_id":187626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:00:04] local.INFO: Processing buffer {"connection_id":187626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:00:04] local.INFO: IMEI packet received {"connection_id":187626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":187626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:00:05] local.INFO: TCP Data received {"connection_id":187626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:00:05] local.INFO: Processing buffer {"connection_id":187626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:00:05] local.INFO: Packet analysis {"connection_id":187626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:00:05] local.INFO: Extracted packet for processing {"connection_id":187626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 08:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:00:05] 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-09-17 08:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":187626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:00:05] local.INFO: GPS data processed {"connection_id":187626,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:00:05] local.INFO: Acknowledgment sent {"connection_id":187626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:00:07] local.INFO: TCP Data received {"connection_id":184893,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:00:07] local.INFO: Processing buffer {"connection_id":184893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:00:07] local.INFO: IMEI packet received {"connection_id":184893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":184893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:00:12] local.INFO: TCP Data received {"connection_id":184893,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:00:12] local.INFO: Processing buffer {"connection_id":184893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:00:12] local.INFO: IMEI packet received {"connection_id":184893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":184893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:00:12] local.INFO: TCP Data received {"connection_id":184893,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:00:12] local.INFO: Processing buffer {"connection_id":184893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:00:12] local.INFO: Packet analysis {"connection_id":184893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:00:12] local.INFO: Extracted packet for processing {"connection_id":184893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:00:12] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":98854512,"longitude_deg":76.2974912,"latitude_deg":9.8854512,"altitude":8,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7a12c0","hex_latitude":"05e46670","is_valid_coordinates":true} 
[2026-09-17 08:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140704000001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134029728691519488,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153747288064,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789612125000,"timestamp_ms":1789612125000,"timestamp_seconds":1789612125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad31eb48"} 
[2026-09-17 08:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 08:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":184893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":184893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":184893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140704000001,"66":13091,"102":206,"87":12288,"24":0,"16":134029728691519488,"45":8796304153747288064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 08:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140704000001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:00:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 08:00:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 08:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134029728691519488,"km_value":134029728691519.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153747288064,"description":"Unknown IO ID 45"} 
[2026-09-17 08:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140704000001,"power":13091,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796304153747288064}} 
[2026-09-17 08:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":184893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:00:13] local.INFO: GPS data processed {"connection_id":184893,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:00:13] local.INFO: Acknowledgment sent {"connection_id":184893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:00:37] local.INFO: TCP Data received {"connection_id":187626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:00:37] local.INFO: Processing buffer {"connection_id":187626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:00:37] local.INFO: Packet analysis {"connection_id":187626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:00:37] local.INFO: Extracted packet for processing {"connection_id":187626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 08:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:00:37] 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-09-17 08:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":187626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:00:37] local.INFO: GPS data processed {"connection_id":187626,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:00:37] local.INFO: Acknowledgment sent {"connection_id":187626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:00:44] local.INFO: TCP Data received {"connection_id":184893,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:00:44] local.INFO: Processing buffer {"connection_id":184893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:00:44] local.INFO: Packet analysis {"connection_id":184893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:00:44] local.INFO: Extracted packet for processing {"connection_id":184893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:00:44] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":98854512,"longitude_deg":76.2974912,"latitude_deg":9.8854512,"altitude":8,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7a12c0","hex_latitude":"05e46670","is_valid_coordinates":true} 
[2026-09-17 08:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140704000001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134029728691519488,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153747288064,"note":"Value kept but may cause issues"} 
[2026-09-17 08:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789612125000,"timestamp_ms":1789612125000,"timestamp_seconds":1789612125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad31eb48"} 
[2026-09-17 08:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 08:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140704000001,"66":13091,"102":206,"87":12288,"24":0,"16":134029728691519488,"45":8796304153747288064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 08:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140704000001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:00:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 08:00:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 08:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134029728691519488,"km_value":134029728691519.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153747288064,"description":"Unknown IO ID 45"} 
[2026-09-17 08:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140704000001,"power":13091,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796304153747288064}} 
[2026-09-17 08:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":184893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:00:44] local.INFO: GPS data processed {"connection_id":184893,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:00:44] local.INFO: Acknowledgment sent {"connection_id":184893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:01:00] local.INFO: TCP Data received {"connection_id":185007,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:01:00] local.INFO: Processing buffer {"connection_id":185007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:01:00] local.INFO: IMEI packet received {"connection_id":185007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":185007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:01:04] local.INFO: TCP Data received {"connection_id":185007,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:01:04] local.INFO: Processing buffer {"connection_id":185007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:01:04] local.INFO: IMEI packet received {"connection_id":185007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":185007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:01:05] local.INFO: TCP Data received {"connection_id":185007,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:01:05] local.INFO: Processing buffer {"connection_id":185007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:01:05] local.INFO: Packet analysis {"connection_id":185007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:01:05] local.INFO: Extracted packet for processing {"connection_id":185007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 08:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":185007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:01:05] local.INFO: GPS data processed {"connection_id":185007,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:01:05] local.INFO: Acknowledgment sent {"connection_id":185007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:01:07] local.INFO: TCP Data received {"connection_id":185008,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:01:07] local.INFO: Processing buffer {"connection_id":185008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:01:07] local.INFO: IMEI packet received {"connection_id":185008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":185008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:01:09] local.INFO: TCP Data received {"connection_id":185007,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:01:09] local.INFO: Processing buffer {"connection_id":185007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:01:09] local.INFO: Packet analysis {"connection_id":185007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:01:09] local.INFO: Extracted packet for processing {"connection_id":185007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 08:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":185007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:01:09] local.INFO: GPS data processed {"connection_id":185007,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:01:09] local.INFO: Acknowledgment sent {"connection_id":185007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:01:12] local.INFO: TCP Data received {"connection_id":185008,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:01:12] local.INFO: Processing buffer {"connection_id":185008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:01:12] local.INFO: IMEI packet received {"connection_id":185008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":185008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:01:13] local.INFO: TCP Data received {"connection_id":185008,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:01:13] local.INFO: Processing buffer {"connection_id":185008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:01:13] local.INFO: Packet analysis {"connection_id":185008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:01:13] local.INFO: Extracted packet for processing {"connection_id":185008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:01:13] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":98854512,"longitude_deg":76.2974912,"latitude_deg":9.8854512,"altitude":8,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7a12c0","hex_latitude":"05e46670","is_valid_coordinates":true} 
[2026-09-17 08:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140704000001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134029728691519488,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153747288064,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789612125000,"timestamp_ms":1789612125000,"timestamp_seconds":1789612125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad31eb48"} 
[2026-09-17 08:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 08:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140704000001,"66":13091,"102":206,"87":12288,"24":0,"16":134029728691519488,"45":8796304153747288064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 08:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140704000001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:01:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 08:01:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 08:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134029728691519488,"km_value":134029728691519.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153747288064,"description":"Unknown IO ID 45"} 
[2026-09-17 08:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140704000001,"power":13091,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796304153747288064}} 
[2026-09-17 08:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":185008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:01:13] local.INFO: GPS data processed {"connection_id":185008,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:01:13] local.INFO: Acknowledgment sent {"connection_id":185008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:01:41] local.INFO: TCP Data received {"connection_id":185007,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:01:41] local.INFO: Processing buffer {"connection_id":185007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:01:41] local.INFO: Packet analysis {"connection_id":185007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:01:41] local.INFO: Extracted packet for processing {"connection_id":185007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 08:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":185007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:01:41] local.INFO: GPS data processed {"connection_id":185007,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:01:41] local.INFO: Acknowledgment sent {"connection_id":185007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:01:44] local.INFO: TCP Data received {"connection_id":185008,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:01:44] local.INFO: Processing buffer {"connection_id":185008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:01:44] local.INFO: Packet analysis {"connection_id":185008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:01:44] local.INFO: Extracted packet for processing {"connection_id":185008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:01:44] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":98854512,"longitude_deg":76.2974912,"latitude_deg":9.8854512,"altitude":8,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7a12c0","hex_latitude":"05e46670","is_valid_coordinates":true} 
[2026-09-17 08:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140704000001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134029728691519488,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153747288064,"note":"Value kept but may cause issues"} 
[2026-09-17 08:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789612125000,"timestamp_ms":1789612125000,"timestamp_seconds":1789612125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad31eb48"} 
[2026-09-17 08:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 08:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140704000001,"66":13091,"102":206,"87":12288,"24":0,"16":134029728691519488,"45":8796304153747288064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 08:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140704000001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:01:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 08:01:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 08:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134029728691519488,"km_value":134029728691519.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153747288064,"description":"Unknown IO ID 45"} 
[2026-09-17 08:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140704000001,"power":13091,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796304153747288064}} 
[2026-09-17 08:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":185008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:01:44] local.INFO: GPS data processed {"connection_id":185008,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:01:44] local.INFO: Acknowledgment sent {"connection_id":185008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:01:58] local.INFO: TCP Data received {"connection_id":187627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:01:58] local.INFO: Processing buffer {"connection_id":187627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:01:58] local.INFO: IMEI packet received {"connection_id":187627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":187627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:02:04] local.INFO: TCP Data received {"connection_id":187627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:02:04] local.INFO: Processing buffer {"connection_id":187627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:02:04] local.INFO: IMEI packet received {"connection_id":187627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":187627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:02:05] local.INFO: TCP Data received {"connection_id":187627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:02:05] local.INFO: Processing buffer {"connection_id":187627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:02:05] local.INFO: Packet analysis {"connection_id":187627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:02:05] local.INFO: Extracted packet for processing {"connection_id":187627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 08:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:02:05] 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-09-17 08:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":187627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:02:05] local.INFO: GPS data processed {"connection_id":187627,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:02:05] local.INFO: Acknowledgment sent {"connection_id":187627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:02:07] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:02:07] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:02:07] local.INFO: IMEI packet received {"connection_id":186301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":186301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:02:12] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:02:12] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:02:12] local.INFO: IMEI packet received {"connection_id":186301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":186301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:02:13] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:02:13] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:02:13] local.INFO: Packet analysis {"connection_id":186301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:02:13] local.INFO: Extracted packet for processing {"connection_id":186301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:02:13] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":98854512,"longitude_deg":76.2974912,"latitude_deg":9.8854512,"altitude":8,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7a12c0","hex_latitude":"05e46670","is_valid_coordinates":true} 
[2026-09-17 08:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140704000001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134029728691519488,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153747288064,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789612125000,"timestamp_ms":1789612125000,"timestamp_seconds":1789612125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad31eb48"} 
[2026-09-17 08:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 08:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140704000001,"66":13091,"102":206,"87":12288,"24":0,"16":134029728691519488,"45":8796304153747288064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 08:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140704000001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:02:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 08:02:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 08:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134029728691519488,"km_value":134029728691519.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153747288064,"description":"Unknown IO ID 45"} 
[2026-09-17 08:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140704000001,"power":13091,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796304153747288064}} 
[2026-09-17 08:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":186301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:02:13] local.INFO: GPS data processed {"connection_id":186301,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:02:13] local.INFO: Acknowledgment sent {"connection_id":186301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:02:37] local.INFO: TCP Data received {"connection_id":187627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:02:37] local.INFO: Processing buffer {"connection_id":187627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad307448012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:02:37] local.INFO: Packet analysis {"connection_id":187627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:02:37] local.INFO: Extracted packet for processing {"connection_id":187627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad30"} 
[2026-09-17 08:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140602368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789612029000,"timestamp_ms":1789612029000,"timestamp_seconds":1789612029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad307448"} 
[2026-09-17 08:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:02:37] 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-09-17 08:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140602368001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140602368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140602368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":187627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:02:37] local.INFO: GPS data processed {"connection_id":187627,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:02:37] local.INFO: Acknowledgment sent {"connection_id":187627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:02:44] local.INFO: TCP Data received {"connection_id":186301,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:02:44] local.INFO: Processing buffer {"connection_id":186301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad31eb48012d7a12c005e46670000800592a..."} 
[2026-09-17 08:02:44] local.INFO: Packet analysis {"connection_id":186301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:02:44] local.INFO: Extracted packet for processing {"connection_id":186301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad31"} 
[2026-09-17 08:02:44] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":98854512,"longitude_deg":76.2974912,"latitude_deg":9.8854512,"altitude":8,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7a12c0","hex_latitude":"05e46670","is_valid_coordinates":true} 
[2026-09-17 08:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140704000001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134029728691519488,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153747288064,"note":"Value kept but may cause issues"} 
[2026-09-17 08:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789612125000,"timestamp_ms":1789612125000,"timestamp_seconds":1789612125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad31eb48"} 
[2026-09-17 08:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 08:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140704000001,"66":13091,"102":206,"87":12288,"24":0,"16":134029728691519488,"45":8796304153747288064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 08:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140704000001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:02:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 08:02:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 08:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134029728691519488,"km_value":134029728691519.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153747288064,"description":"Unknown IO ID 45"} 
[2026-09-17 08:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140704000001,"power":13091,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796304153747288064}} 
[2026-09-17 08:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":186301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:02:44] local.INFO: GPS data processed {"connection_id":186301,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:02:44] local.INFO: Acknowledgment sent {"connection_id":186301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:02:58] local.INFO: TCP Data received {"connection_id":184896,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:02:58] local.INFO: Processing buffer {"connection_id":184896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:02:58] local.INFO: IMEI packet received {"connection_id":184896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":184896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:03:03] local.INFO: TCP Data received {"connection_id":184896,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:03:03] local.INFO: Processing buffer {"connection_id":184896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:03:03] local.INFO: IMEI packet received {"connection_id":184896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":184896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:03:05] local.INFO: TCP Data received {"connection_id":184896,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:03:05] local.INFO: Processing buffer {"connection_id":184896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:03:05] local.INFO: Packet analysis {"connection_id":184896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:03:05] local.INFO: Extracted packet for processing {"connection_id":184896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:03:05] 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-09-17 08:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:03:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":184896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:03:05] local.INFO: GPS data processed {"connection_id":184896,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:03:05] local.INFO: Acknowledgment sent {"connection_id":184896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:03:07] local.INFO: TCP Data received {"connection_id":184897,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:03:07] local.INFO: Processing buffer {"connection_id":184897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:03:07] local.INFO: IMEI packet received {"connection_id":184897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":184897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:03:12] local.INFO: TCP Data received {"connection_id":184897,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:03:12] local.INFO: Processing buffer {"connection_id":184897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:03:12] local.INFO: IMEI packet received {"connection_id":184897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":184897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:03:16] local.INFO: TCP Data received {"connection_id":187628,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:03:16] local.INFO: Processing buffer {"connection_id":187628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:03:16] local.INFO: IMEI packet received {"connection_id":187628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":187628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:03:36] local.INFO: TCP Data received {"connection_id":184896,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:03:36] local.INFO: Processing buffer {"connection_id":184896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:03:36] local.INFO: Packet analysis {"connection_id":184896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:03:36] local.INFO: Extracted packet for processing {"connection_id":184896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:03:36] 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-09-17 08:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":184896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:03:36] local.INFO: GPS data processed {"connection_id":184896,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:03:36] local.INFO: Acknowledgment sent {"connection_id":184896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:03:56] local.INFO: TCP Data received {"connection_id":186302,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:03:56] local.INFO: Processing buffer {"connection_id":186302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:03:56] local.INFO: IMEI packet received {"connection_id":186302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":186302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:03:58] local.INFO: TCP Data received {"connection_id":185009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:03:58] local.INFO: Processing buffer {"connection_id":185009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:03:58] local.INFO: IMEI packet received {"connection_id":185009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":185009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:04:03] local.INFO: TCP Data received {"connection_id":185009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:04:03] local.INFO: Processing buffer {"connection_id":185009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:04:03] local.INFO: IMEI packet received {"connection_id":185009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":185009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:04:05] local.INFO: TCP Data received {"connection_id":185009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:04:05] local.INFO: Processing buffer {"connection_id":185009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:04:05] local.INFO: Packet analysis {"connection_id":185009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:04:05] local.INFO: Extracted packet for processing {"connection_id":185009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:04:05] 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-09-17 08:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:04:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":185009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:04:05] local.INFO: GPS data processed {"connection_id":185009,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:04:05] local.INFO: Acknowledgment sent {"connection_id":185009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:04:36] local.INFO: TCP Data received {"connection_id":185009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:04:36] local.INFO: Processing buffer {"connection_id":185009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:04:36] local.INFO: Packet analysis {"connection_id":185009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:04:36] local.INFO: Extracted packet for processing {"connection_id":185009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:04:36] 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-09-17 08:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":185009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:04:36] local.INFO: GPS data processed {"connection_id":185009,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:04:36] local.INFO: Acknowledgment sent {"connection_id":185009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:05:04] local.INFO: TCP Data received {"connection_id":184899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:05:04] local.INFO: Processing buffer {"connection_id":184899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:05:04] local.INFO: IMEI packet received {"connection_id":184899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":184899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:05:08] local.INFO: TCP Data received {"connection_id":184899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:05:08] local.INFO: Processing buffer {"connection_id":184899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:05:08] local.INFO: IMEI packet received {"connection_id":184899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":184899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:05:10] local.INFO: TCP Data received {"connection_id":184899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:05:10] local.INFO: Processing buffer {"connection_id":184899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:05:10] local.INFO: Packet analysis {"connection_id":184899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:05:10] local.INFO: Extracted packet for processing {"connection_id":184899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":184899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:05:10] local.INFO: GPS data processed {"connection_id":184899,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:05:10] local.INFO: Acknowledgment sent {"connection_id":184899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:05:14] local.INFO: TCP Data received {"connection_id":184899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:05:14] local.INFO: Processing buffer {"connection_id":184899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:05:14] local.INFO: Packet analysis {"connection_id":184899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:05:14] local.INFO: Extracted packet for processing {"connection_id":184899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:05: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-09-17 08:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:05: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-09-17 08:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:05:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":184899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:05:14] local.INFO: GPS data processed {"connection_id":184899,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:05:14] local.INFO: Acknowledgment sent {"connection_id":184899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:05:58] local.INFO: TCP Data received {"connection_id":185010,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:05:58] local.INFO: Processing buffer {"connection_id":185010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:05:58] local.INFO: IMEI packet received {"connection_id":185010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":185010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:06:03] local.INFO: TCP Data received {"connection_id":185010,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:06:03] local.INFO: Processing buffer {"connection_id":185010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:06:03] local.INFO: IMEI packet received {"connection_id":185010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":185010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:06:05] local.INFO: TCP Data received {"connection_id":185010,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:06:05] local.INFO: Processing buffer {"connection_id":185010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:06:05] local.INFO: Packet analysis {"connection_id":185010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:06:05] local.INFO: Extracted packet for processing {"connection_id":185010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:06:05] 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-09-17 08:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:06:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":185010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:06:05] local.INFO: GPS data processed {"connection_id":185010,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:06:05] local.INFO: Acknowledgment sent {"connection_id":185010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:06:36] local.INFO: TCP Data received {"connection_id":185010,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:06:36] local.INFO: Processing buffer {"connection_id":185010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:06:36] local.INFO: Packet analysis {"connection_id":185010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:06:36] local.INFO: Extracted packet for processing {"connection_id":185010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:06:36] 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-09-17 08:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":185010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:06:36] local.INFO: GPS data processed {"connection_id":185010,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:06:36] local.INFO: Acknowledgment sent {"connection_id":185010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:06:59] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:06:59] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:06:59] local.INFO: IMEI packet received {"connection_id":186304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":186304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:07:03] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:07:03] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:07:03] local.INFO: IMEI packet received {"connection_id":186304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":186304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:07:04] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:07:04] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:07:04] local.INFO: Packet analysis {"connection_id":186304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:07:04] local.INFO: Extracted packet for processing {"connection_id":186304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:07:04] 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-09-17 08:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:07:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":186304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:07:04] local.INFO: GPS data processed {"connection_id":186304,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:07:04] local.INFO: Acknowledgment sent {"connection_id":186304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:07:07] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:07:07] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:07:07] local.INFO: IMEI packet received {"connection_id":184900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":184900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:07:08] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:07:09] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:07:09] local.INFO: IMEI packet received {"connection_id":184900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":184900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:07:13] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:07:13] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:07:13] local.INFO: IMEI packet received {"connection_id":184900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":184900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:07:14] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3903b0012d7a628005e46ac0000b007526..."} 
[2026-09-17 08:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3903b0012d7a628005e46ac0000b007526..."} 
[2026-09-17 08:07:14] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3903b0012d7a628005e46ac0000b007526..."} 
[2026-09-17 08:07:14] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:07:14] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:07:14] local.INFO: GPS Element Parsed {"raw_longitude":762995328,"raw_latitude":98855616,"longitude_deg":76.2995328,"latitude_deg":9.8855616,"altitude":11,"angle":117,"satellites":38,"speed":1,"hex_longitude":"2d7a6280","hex_latitude":"05e46ac0","is_valid_coordinates":true} 
[2026-09-17 08:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134030531850403840,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789612590000,"timestamp_ms":1789612590000,"timestamp_seconds":1789612590,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3903b0"} 
[2026-09-17 08:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 08:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:07: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-09-17 08:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12841,"102":206,"87":12288,"24":1,"16":134030531850403840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16]} 
[2026-09-17 08:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 08:07:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 08:07:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 08:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134030531850403840,"km_value":134030531850403.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:07:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12841,"unknown_102":206,"unknown_87":12288,"ignition":1,"odometer":null}} 
[2026-09-17 08:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:07:15] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:07:15] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:07:36] local.INFO: TCP Data received {"connection_id":186304,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:07:36] local.INFO: Processing buffer {"connection_id":186304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad350c10012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:07:36] local.INFO: Packet analysis {"connection_id":186304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:07:36] local.INFO: Extracted packet for processing {"connection_id":186304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad35"} 
[2026-09-17 08:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140679424001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612330000,"timestamp_ms":1789612330000,"timestamp_seconds":1789612330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad350c10"} 
[2026-09-17 08:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:07:36] 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-09-17 08:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140679424001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140679424001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140679424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":186304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:07:36] local.INFO: GPS data processed {"connection_id":186304,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:07:36] local.INFO: Acknowledgment sent {"connection_id":186304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:07:48] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad390798012d7a628005e46ab8000b006326..."} 
[2026-09-17 08:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad390798012d7a628005e46ab8000b006326..."} 
[2026-09-17 08:07:48] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad390798012d7a628005e46ab8000b006326..."} 
[2026-09-17 08:07:48] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:07:48] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:07:48] local.INFO: GPS Element Parsed {"raw_longitude":762995328,"raw_latitude":98855608,"longitude_deg":76.2995328,"latitude_deg":9.8855608,"altitude":11,"angle":99,"satellites":38,"speed":1,"hex_longitude":"2d7a6280","hex_latitude":"05e46ab8","is_valid_coordinates":true} 
[2026-09-17 08:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140823040001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134030531850403840,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818751783140245504,"note":"Value kept but may cause issues"} 
[2026-09-17 08:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789612591000,"timestamp_ms":1789612591000,"timestamp_seconds":1789612591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad390798"} 
[2026-09-17 08:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 08:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140823040001,"66":12667,"102":206,"87":12288,"24":1,"16":134030531850403840,"45":8818751783140245504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-17 08:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140823040001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:07:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 08:07:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 08:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134030531850403840,"km_value":134030531850403.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818751783140245504,"description":"Unknown IO ID 45"} 
[2026-09-17 08:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140823040001,"power":12667,"unknown_102":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8818751783140245504}} 
[2026-09-17 08:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:07:48] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:07:48] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:07:59] local.INFO: TCP Data received {"connection_id":184901,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:07:59] local.INFO: Processing buffer {"connection_id":184901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:07:59] local.INFO: IMEI packet received {"connection_id":184901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":184901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:08:03] local.INFO: TCP Data received {"connection_id":184901,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:08:03] local.INFO: Processing buffer {"connection_id":184901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:08:03] local.INFO: IMEI packet received {"connection_id":184901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":184901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:08:05] local.INFO: TCP Data received {"connection_id":184901,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:08:05] local.INFO: Processing buffer {"connection_id":184901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:08:05] local.INFO: Packet analysis {"connection_id":184901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:08:05] local.INFO: Extracted packet for processing {"connection_id":184901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:08:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":184901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:08:05] local.INFO: GPS data processed {"connection_id":184901,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:08:05] local.INFO: Acknowledgment sent {"connection_id":184901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:08:20] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3a1520012d7ad7c005e3e8f0000500aa2c..."} 
[2026-09-17 08:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3a1520012d7ad7c005e3e8f0000500aa2c..."} 
[2026-09-17 08:08:20] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3a1520012d7ad7c005e3e8f0000500aa2c..."} 
[2026-09-17 08:08:20] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3a"} 
[2026-09-17 08:08:20] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3a"} 
[2026-09-17 08:08:20] local.INFO: GPS Element Parsed {"raw_longitude":763025344,"raw_latitude":98822384,"longitude_deg":76.3025344,"latitude_deg":9.8822384,"altitude":5,"angle":170,"satellites":44,"speed":30,"hex_longitude":"2d7ad7c0","hex_latitude":"05e3e8f0","is_valid_coordinates":true} 
[2026-09-17 08:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140840960001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134032782413266944,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851754724151062528,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789612660000,"timestamp_ms":1789612660000,"timestamp_seconds":1789612660,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3a1520"} 
[2026-09-17 08:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 08:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140840960001,"66":13472,"95":206,"87":13824,"24":30,"16":134032782413266944,"45":8851754724151062528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 08:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140840960001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:08:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 08:08:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134032782413266944,"km_value":134032782413266.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851754724151062528,"description":"Unknown IO ID 45"} 
[2026-09-17 08:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140840960001,"power":13472,"unknown_95":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8851754724151062528}} 
[2026-09-17 08:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:08:20] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:08:20] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:08:36] local.INFO: TCP Data received {"connection_id":184901,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:08:36] local.INFO: Processing buffer {"connection_id":184901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:08:36] local.INFO: Packet analysis {"connection_id":184901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:08:36] local.INFO: Extracted packet for processing {"connection_id":184901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":184901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:08:36] local.INFO: GPS data processed {"connection_id":184901,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:08:36] local.INFO: Acknowledgment sent {"connection_id":184901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:08:51] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3a4400012d7ae10005e3c4d8000400a42d..."} 
[2026-09-17 08:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3a4400012d7ae10005e3c4d8000400a42d..."} 
[2026-09-17 08:08:51] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3a4400012d7ae10005e3c4d8000400a42d..."} 
[2026-09-17 08:08:51] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3a"} 
[2026-09-17 08:08:51] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3a"} 
[2026-09-17 08:08:51] local.INFO: GPS Element Parsed {"raw_longitude":763027712,"raw_latitude":98813144,"longitude_deg":76.3027712,"latitude_deg":9.8813144,"altitude":4,"angle":164,"satellites":45,"speed":32,"hex_longitude":"2d7ae100","hex_latitude":"05e3c4d8","is_valid_coordinates":true} 
[2026-09-17 08:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140840960001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134033241974767616,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851754724151062528,"note":"Value kept but may cause issues"} 
[2026-09-17 08:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789612672000,"timestamp_ms":1789612672000,"timestamp_seconds":1789612672,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3a4400"} 
[2026-09-17 08:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 08:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140840960001,"66":13461,"208":206,"85":15104,"24":32,"16":134033241974767616,"45":8851754724151062528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140840960001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:08:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134033241974767616,"km_value":134033241974767.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851754724151062528,"description":"Unknown IO ID 45"} 
[2026-09-17 08:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140840960001,"power":13461,"unknown_208":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8851754724151062528}} 
[2026-09-17 08:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:08:51] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:08:51] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:08:58] local.INFO: TCP Data received {"connection_id":187631,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:08:58] local.INFO: Processing buffer {"connection_id":187631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:08:58] local.INFO: IMEI packet received {"connection_id":187631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":187631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:09:03] local.INFO: TCP Data received {"connection_id":187631,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:09:03] local.INFO: Processing buffer {"connection_id":187631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:09:03] local.INFO: IMEI packet received {"connection_id":187631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":187631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:09:05] local.INFO: TCP Data received {"connection_id":187631,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:09:05] local.INFO: Processing buffer {"connection_id":187631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:09:05] local.INFO: Packet analysis {"connection_id":187631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:09:05] local.INFO: Extracted packet for processing {"connection_id":187631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:09:05] 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-09-17 08:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:09:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":187631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:09:05] local.INFO: GPS data processed {"connection_id":187631,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:09:05] local.INFO: Acknowledgment sent {"connection_id":187631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:09:22] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3a6ef8012d7aeb8005e3a3c8000400a22c..."} 
[2026-09-17 08:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3a6ef8012d7aeb8005e3a3c8000400a22c..."} 
[2026-09-17 08:09:22] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3a6ef8012d7aeb8005e3a3c8000400a22c..."} 
[2026-09-17 08:09:22] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3a"} 
[2026-09-17 08:09:22] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3a"} 
[2026-09-17 08:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98804680,"longitude_deg":76.30304,"latitude_deg":9.880468,"altitude":4,"angle":162,"satellites":44,"speed":28,"hex_longitude":"2d7aeb80","hex_latitude":"05e3a3c8","is_valid_coordinates":true} 
[2026-09-17 08:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140844032001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134033671471497216,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854358367683270656,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789612683000,"timestamp_ms":1789612683000,"timestamp_seconds":1789612683,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3a6ef8"} 
[2026-09-17 08:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-17 08:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140844032001,"66":13722,"208":206,"85":15104,"24":28,"16":134033671471497216,"45":8854358367683270656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140844032001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:09:22] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134033671471497216,"km_value":134033671471497.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854358367683270656,"description":"Unknown IO ID 45"} 
[2026-09-17 08:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140844032001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8854358367683270656}} 
[2026-09-17 08:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:09:22] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:09:22] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:09:26] local.INFO: TCP Data received {"connection_id":187630,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:09:26] local.INFO: Processing buffer {"connection_id":187630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:09:26] local.INFO: IMEI packet received {"connection_id":187630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":187630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:09:36] local.INFO: TCP Data received {"connection_id":187631,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:09:36] local.INFO: Processing buffer {"connection_id":187631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:09:36] local.INFO: Packet analysis {"connection_id":187631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:09:36] local.INFO: Extracted packet for processing {"connection_id":187631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:09:36] 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-09-17 08:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":187631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:09:36] local.INFO: GPS data processed {"connection_id":187631,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:09:36] local.INFO: Acknowledgment sent {"connection_id":187631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:09:51] local.INFO: TCP Data received {"connection_id":184902,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:09:51] local.INFO: Processing buffer {"connection_id":184902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:09:51] local.INFO: IMEI packet received {"connection_id":184902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":184902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:09:53] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3abd18012d7af4c005e38890000400a32b..."} 
[2026-09-17 08:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3abd18012d7af4c005e38890000400a32b..."} 
[2026-09-17 08:09:53] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3abd18012d7af4c005e38890000400a32b..."} 
[2026-09-17 08:09:53] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3a"} 
[2026-09-17 08:09:53] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3a"} 
[2026-09-17 08:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763032768,"raw_latitude":98797712,"longitude_deg":76.3032768,"latitude_deg":9.8797712,"altitude":4,"angle":163,"satellites":43,"speed":10,"hex_longitude":"2d7af4c0","hex_latitude":"05e38890","is_valid_coordinates":true} 
[2026-09-17 08:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140846848001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134034032248750080,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854936565760,"note":"Value kept but may cause issues"} 
[2026-09-17 08:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789612703000,"timestamp_ms":1789612703000,"timestamp_seconds":1789612703,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3abd18"} 
[2026-09-17 08:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 08:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140846848001,"66":13396,"208":206,"85":15104,"24":10,"16":134034032248750080,"45":8857313854936565760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140846848001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:09:53] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134034032248750080,"km_value":134034032248750.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854936565760,"description":"Unknown IO ID 45"} 
[2026-09-17 08:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140846848001,"power":13396,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8857313854936565760}} 
[2026-09-17 08:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:09:53] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:09:53] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:09:58] local.INFO: TCP Data received {"connection_id":184903,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:09:58] local.INFO: Processing buffer {"connection_id":184903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:09:58] local.INFO: IMEI packet received {"connection_id":184903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":184903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:10:04] local.INFO: TCP Data received {"connection_id":184903,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:10:04] local.INFO: Processing buffer {"connection_id":184903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:10:04] local.INFO: IMEI packet received {"connection_id":184903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":184903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:10:05] local.INFO: TCP Data received {"connection_id":184903,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:10:05] local.INFO: Processing buffer {"connection_id":184903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:10:05] local.INFO: Packet analysis {"connection_id":184903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:10:05] local.INFO: Extracted packet for processing {"connection_id":184903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:10:05] 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-09-17 08:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":184903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:10:05] local.INFO: GPS data processed {"connection_id":184903,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:10:05] local.INFO: Acknowledgment sent {"connection_id":184903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:10:27] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3b0b38012d7aff8005e36508000400a32b..."} 
[2026-09-17 08:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3b0b38012d7aff8005e36508000400a32b..."} 
[2026-09-17 08:10:27] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3b0b38012d7aff8005e36508000400a32b..."} 
[2026-09-17 08:10:27] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3b"} 
[2026-09-17 08:10:27] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3b"} 
[2026-09-17 08:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763035520,"raw_latitude":98788616,"longitude_deg":76.303552,"latitude_deg":9.8788616,"altitude":4,"angle":163,"satellites":43,"speed":28,"hex_longitude":"2d7aff80","hex_latitude":"05e36508","is_valid_coordinates":true} 
[2026-09-17 08:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140851968001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134034491810250752,"note":"Value kept but may cause issues"} 
[2026-09-17 08:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859917498469355520,"note":"Value kept but may cause issues"} 
[2026-09-17 08:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789612723000,"timestamp_ms":1789612723000,"timestamp_seconds":1789612723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3b0b38"} 
[2026-09-17 08:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-17 08:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140851968001,"66":13559,"208":206,"85":15104,"24":28,"16":134034491810250752,"45":8859917498469355520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140851968001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:10:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134034491810250752,"km_value":134034491810250.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859917498469355520,"description":"Unknown IO ID 45"} 
[2026-09-17 08:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140851968001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8859917498469355520}} 
[2026-09-17 08:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:10:27] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:10:27] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:10:36] local.INFO: TCP Data received {"connection_id":184903,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:10:36] local.INFO: Processing buffer {"connection_id":184903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:10:36] local.INFO: Packet analysis {"connection_id":184903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:10:36] local.INFO: Extracted packet for processing {"connection_id":184903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:10:36] 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-09-17 08:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":184903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:10:36] local.INFO: GPS data processed {"connection_id":184903,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:10:36] local.INFO: Acknowledgment sent {"connection_id":184903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:10:58] local.INFO: TCP Data received {"connection_id":185013,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:10:58] local.INFO: Processing buffer {"connection_id":185013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:10:58] local.INFO: IMEI packet received {"connection_id":185013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":185013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:11:00] local.INFO: TCP Data received {"connection_id":184900,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3b5958012d7b088005e34fb00005009a2c..."} 
[2026-09-17 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3b5958012d7b088005e34fb00005009a2c..."} 
[2026-09-17 08:11:00] local.INFO: Processing buffer {"connection_id":184900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3b5958012d7b088005e34fb00005009a2c..."} 
[2026-09-17 08:11:00] local.INFO: Packet analysis {"connection_id":184900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3b"} 
[2026-09-17 08:11:00] local.INFO: Extracted packet for processing {"connection_id":184900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3b"} 
[2026-09-17 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763037824,"raw_latitude":98783152,"longitude_deg":76.3037824,"latitude_deg":9.8783152,"altitude":5,"angle":154,"satellites":44,"speed":2,"hex_longitude":"2d7b0880","hex_latitude":"05e34fb0","is_valid_coordinates":true} 
[2026-09-17 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140857088001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134034783868026880,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862943354466666496,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789612743000,"timestamp_ms":1789612743000,"timestamp_seconds":1789612743,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3b5958"} 
[2026-09-17 08:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 08:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":184900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":184900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140857088001,"66":13472,"208":206,"85":15104,"24":2,"16":134034783868026880,"45":8862943354466666496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140857088001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:11:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134034783868026880,"km_value":134034783868026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862943354466666496,"description":"Unknown IO ID 45"} 
[2026-09-17 08:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140857088001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8862943354466666496}} 
[2026-09-17 08:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":184900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:11:00] local.INFO: GPS data processed {"connection_id":184900,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:11:00] local.INFO: Acknowledgment sent {"connection_id":184900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:11:04] local.INFO: TCP Data received {"connection_id":185013,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:11:04] local.INFO: Processing buffer {"connection_id":185013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:11:04] local.INFO: IMEI packet received {"connection_id":185013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":185013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:11:04] local.INFO: TCP Data received {"connection_id":185013,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:11:04] local.INFO: Processing buffer {"connection_id":185013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:11:04] local.INFO: Packet analysis {"connection_id":185013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:11:04] local.INFO: Extracted packet for processing {"connection_id":185013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:11:04] 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-09-17 08:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":185013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:11:04] local.INFO: GPS data processed {"connection_id":185013,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:11:04] local.INFO: Acknowledgment sent {"connection_id":185013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:11:37] local.INFO: TCP Data received {"connection_id":185013,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:11:37] local.INFO: Processing buffer {"connection_id":185013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:11:37] local.INFO: Packet analysis {"connection_id":185013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:11:37] local.INFO: Extracted packet for processing {"connection_id":185013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:11:37] 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-09-17 08:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":185013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:11:37] local.INFO: GPS data processed {"connection_id":185013,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:11:37] local.INFO: Acknowledgment sent {"connection_id":185013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:11:38] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:11:38] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:11:38] local.INFO: IMEI packet received {"connection_id":187632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":187632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:11:41] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:11:41] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:11:41] local.INFO: IMEI packet received {"connection_id":187632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":187632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:11:44] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:11:44] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:11:44] local.INFO: IMEI packet received {"connection_id":187632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":187632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:11:45] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3bab60012d7b098005e34c400004009a29..."} 
[2026-09-17 08:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3bab60012d7b098005e34c400004009a29..."} 
[2026-09-17 08:11:45] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3bab60012d7b098005e34c400004009a29..."} 
[2026-09-17 08:11:45] local.INFO: Packet analysis {"connection_id":187632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3b"} 
[2026-09-17 08:11:45] local.INFO: Extracted packet for processing {"connection_id":187632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3b"} 
[2026-09-17 08:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98782272,"longitude_deg":76.303808,"latitude_deg":9.8782272,"altitude":4,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d7b0980","hex_latitude":"05e34c40","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140862208001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134034831112667136,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629255663616,"note":"Value kept but may cause issues"} 
[2026-09-17 08:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789612764000,"timestamp_ms":1789612764000,"timestamp_seconds":1789612764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3bab60"} 
[2026-09-17 08:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 08:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140862208001,"66":13200,"208":206,"85":15104,"24":0,"16":134034831112667136,"45":8865476629255663616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140862208001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:11:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134034831112667136,"km_value":134034831112667.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629255663616,"description":"Unknown IO ID 45"} 
[2026-09-17 08:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140862208001,"power":13200,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865476629255663616}} 
[2026-09-17 08:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":187632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:11:45] local.INFO: GPS data processed {"connection_id":187632,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:11:45] local.INFO: Acknowledgment sent {"connection_id":187632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:11:58] local.INFO: TCP Data received {"connection_id":187634,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:11:58] local.INFO: Processing buffer {"connection_id":187634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:11:58] local.INFO: IMEI packet received {"connection_id":187634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":187634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:12:03] local.INFO: TCP Data received {"connection_id":187634,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:12:03] local.INFO: Processing buffer {"connection_id":187634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:12:03] local.INFO: IMEI packet received {"connection_id":187634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":187634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:12:04] local.INFO: TCP Data received {"connection_id":187634,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:12:04] local.INFO: Processing buffer {"connection_id":187634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:12:04] local.INFO: Packet analysis {"connection_id":187634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:12:04] local.INFO: Extracted packet for processing {"connection_id":187634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":187634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:12:04] local.INFO: GPS data processed {"connection_id":187634,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:12:04] local.INFO: Acknowledgment sent {"connection_id":187634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:12:16] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3bfd68012d7b098005e34c400004009a28..."} 
[2026-09-17 08:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3bfd68012d7b098005e34c400004009a28..."} 
[2026-09-17 08:12:16] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3bfd68012d7b098005e34c400004009a28..."} 
[2026-09-17 08:12:16] local.INFO: Packet analysis {"connection_id":187632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3b"} 
[2026-09-17 08:12:16] local.INFO: Extracted packet for processing {"connection_id":187632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3b"} 
[2026-09-17 08:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98782272,"longitude_deg":76.303808,"latitude_deg":9.8782272,"altitude":4,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d7b0980","hex_latitude":"05e34c40","is_valid_coordinates":true} 
[2026-09-17 08:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140867584001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134034831112667136,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104232148992,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789612785000,"timestamp_ms":1789612785000,"timestamp_seconds":1789612785,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3bfd68"} 
[2026-09-17 08:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-17 08:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140867584001,"66":13178,"208":206,"85":15104,"24":0,"16":134034831112667136,"45":8865758104232148992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140867584001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:12:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134034831112667136,"km_value":134034831112667.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104232148992,"description":"Unknown IO ID 45"} 
[2026-09-17 08:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140867584001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865758104232148992}} 
[2026-09-17 08:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":187632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:12:16] local.INFO: GPS data processed {"connection_id":187632,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:12:16] local.INFO: Acknowledgment sent {"connection_id":187632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:12:37] local.INFO: TCP Data received {"connection_id":187634,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:12:37] local.INFO: Processing buffer {"connection_id":187634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad39a3d8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:12:37] local.INFO: Packet analysis {"connection_id":187634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:12:37] local.INFO: Extracted packet for processing {"connection_id":187634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad39"} 
[2026-09-17 08:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140756480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789612631000,"timestamp_ms":1789612631000,"timestamp_seconds":1789612631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad39a3d8"} 
[2026-09-17 08:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140756480001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140756480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140756480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":187634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:12:37] local.INFO: GPS data processed {"connection_id":187634,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:12:37] local.INFO: Acknowledgment sent {"connection_id":187634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:12:47] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e56f8012d7b278005e2a440000300af28..."} 
[2026-09-17 08:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e56f8012d7b278005e2a440000300af28..."} 
[2026-09-17 08:12:47] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e56f8012d7b278005e2a440000300af28..."} 
[2026-09-17 08:12:47] local.INFO: Packet analysis {"connection_id":187632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:12:47] local.INFO: Extracted packet for processing {"connection_id":187632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763045760,"raw_latitude":98739264,"longitude_deg":76.304576,"latitude_deg":9.8739264,"altitude":3,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7b2780","hex_latitude":"05e2a440","is_valid_coordinates":true} 
[2026-09-17 08:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140907264001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134036982891282432,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503664189440,"note":"Value kept but may cause issues"} 
[2026-09-17 08:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789612939000,"timestamp_ms":1789612939000,"timestamp_seconds":1789612939,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e56f8"} 
[2026-09-17 08:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 08:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140907264001,"66":12765,"207":206,"85":15104,"24":0,"16":134036982891282432,"45":8872513503664189440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 08:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140907264001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:12:47] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 08:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134036982891282432,"km_value":134036982891282.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503664189440,"description":"Unknown IO ID 45"} 
[2026-09-17 08:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140907264001,"power":12765,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8872513503664189440}} 
[2026-09-17 08:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":187632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:12:47] local.INFO: GPS data processed {"connection_id":187632,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:12:47] local.INFO: Acknowledgment sent {"connection_id":187632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:12:58] local.INFO: TCP Data received {"connection_id":185014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:12:58] local.INFO: Processing buffer {"connection_id":185014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:12:58] local.INFO: IMEI packet received {"connection_id":185014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":185014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:13:03] local.INFO: TCP Data received {"connection_id":185014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:13:03] local.INFO: Processing buffer {"connection_id":185014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:13:03] local.INFO: IMEI packet received {"connection_id":185014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":185014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:13:04] local.INFO: TCP Data received {"connection_id":185014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:13:04] local.INFO: Processing buffer {"connection_id":185014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:13:04] local.INFO: Packet analysis {"connection_id":185014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:04] local.INFO: Extracted packet for processing {"connection_id":185014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:13:04] 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-09-17 08:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":185014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:13:04] local.INFO: GPS data processed {"connection_id":185014,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:13:04] local.INFO: Acknowledgment sent {"connection_id":185014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:13:18] local.INFO: TCP Data received {"connection_id":187632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3ea900012d7b288005e298b0000300b228..."} 
[2026-09-17 08:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3ea900012d7b288005e298b0000300b228..."} 
[2026-09-17 08:13:18] local.INFO: Processing buffer {"connection_id":187632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3ea900012d7b288005e298b0000300b228..."} 
[2026-09-17 08:13:18] local.INFO: Packet analysis {"connection_id":187632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:18] local.INFO: Extracted packet for processing {"connection_id":187632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763046016,"raw_latitude":98736304,"longitude_deg":76.3046016,"latitude_deg":9.8736304,"altitude":3,"angle":178,"satellites":40,"speed":19,"hex_longitude":"2d7b2880","hex_latitude":"05e298b0","is_valid_coordinates":true} 
[2026-09-17 08:13: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-09-17 08:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140912384001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134037128920170496,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874202353522458624,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789612960000,"timestamp_ms":1789612960000,"timestamp_seconds":1789612960,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3ea900"} 
[2026-09-17 08:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 08:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:13: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-09-17 08:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140912384001,"66":13450,"207":206,"85":15104,"24":19,"16":134037128920170496,"45":8874202353522458624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 08:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140912384001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:13:18] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 08:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134037128920170496,"km_value":134037128920170.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874202353522458624,"description":"Unknown IO ID 45"} 
[2026-09-17 08:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140912384001,"power":13450,"unknown_207":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8874202353522458624}} 
[2026-09-17 08:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":187632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:13:18] local.INFO: GPS data processed {"connection_id":187632,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:13:18] local.INFO: Acknowledgment sent {"connection_id":187632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:13:36] local.INFO: TCP Data received {"connection_id":185014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:13:36] local.INFO: Processing buffer {"connection_id":185014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:13:36] local.INFO: Packet analysis {"connection_id":185014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:36] local.INFO: Extracted packet for processing {"connection_id":185014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:13:36] 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-09-17 08:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":185014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:13:36] local.INFO: GPS data processed {"connection_id":185014,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:13:36] local.INFO: Acknowledgment sent {"connection_id":185014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:13:40] local.INFO: TCP Data received {"connection_id":185015,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:13:40] local.INFO: Processing buffer {"connection_id":185015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:13:40] local.INFO: IMEI packet received {"connection_id":185015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":185015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:13:44] local.INFO: TCP Data received {"connection_id":185015,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:13:44] local.INFO: Processing buffer {"connection_id":185015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:13:44] local.INFO: IMEI packet received {"connection_id":185015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":185015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:13:48] local.INFO: TCP Data received {"connection_id":185015,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:13:48] local.INFO: Processing buffer {"connection_id":185015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:13:48] local.INFO: IMEI packet received {"connection_id":185015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":185015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:13:49] local.INFO: TCP Data received {"connection_id":185015,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3eb8a0012d7b280005e291e8000200c327..."} 
[2026-09-17 08:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3eb8a0012d7b280005e291e8000200c327..."} 
[2026-09-17 08:13:49] local.INFO: Processing buffer {"connection_id":185015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3eb8a0012d7b280005e291e8000200c327..."} 
[2026-09-17 08:13:49] local.INFO: Packet analysis {"connection_id":185015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:49] local.INFO: Extracted packet for processing {"connection_id":185015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:49] local.INFO: GPS Element Parsed {"raw_longitude":763045888,"raw_latitude":98734568,"longitude_deg":76.3045888,"latitude_deg":9.8734568,"altitude":2,"angle":195,"satellites":39,"speed":13,"hex_longitude":"2d7b2800","hex_latitude":"05e291e8","is_valid_coordinates":true} 
[2026-09-17 08:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140917760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134037214819516416,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874483828498411520,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789612964000,"timestamp_ms":1789612964000,"timestamp_seconds":1789612964,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3eb8a0"} 
[2026-09-17 08:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 08:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140917760001,"66":12982,"207":206,"85":15104,"24":13,"16":134037214819516416,"45":8874483828498411520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 08:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140917760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:13:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 08:13:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134037214819516416,"km_value":134037214819516.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874483828498411520,"description":"Unknown IO ID 45"} 
[2026-09-17 08:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140917760001,"power":12982,"unknown_207":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8874483828498411520}} 
[2026-09-17 08:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":185015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:13:49] local.INFO: GPS data processed {"connection_id":185015,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:13:49] local.INFO: Acknowledgment sent {"connection_id":185015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:13:54] local.INFO: TCP Data received {"connection_id":185015,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3ec070012d7b270005e29010000200d726..."} 
[2026-09-17 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3ec070012d7b270005e29010000200d726..."} 
[2026-09-17 08:13:54] local.INFO: Processing buffer {"connection_id":185015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3ec070012d7b270005e29010000200d726..."} 
[2026-09-17 08:13:54] local.INFO: Packet analysis {"connection_id":185015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:54] local.INFO: Extracted packet for processing {"connection_id":185015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763045632,"raw_latitude":98734096,"longitude_deg":76.3045632,"latitude_deg":9.8734096,"altitude":2,"angle":215,"satellites":38,"speed":7,"hex_longitude":"2d7b2700","hex_latitude":"05e29010","is_valid_coordinates":true} 
[2026-09-17 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140918784001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134037240589320192,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874343091009611776,"note":"Value kept but may cause issues"} 
[2026-09-17 08:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789612966000,"timestamp_ms":1789612966000,"timestamp_seconds":1789612966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3ec070"} 
[2026-09-17 08:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-17 08:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140918784001,"66":12504,"207":206,"85":15104,"24":7,"16":134037240589320192,"45":8874343091009611776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 08:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140918784001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:13:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 08:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134037240589320192,"km_value":134037240589320.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874343091009611776,"description":"Unknown IO ID 45"} 
[2026-09-17 08:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140918784001,"power":12504,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8874343091009611776}} 
[2026-09-17 08:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":185015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:13:54] local.INFO: GPS data processed {"connection_id":185015,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:13:54] local.INFO: Acknowledgment sent {"connection_id":185015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:13:58] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:13:58] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:13:58] local.INFO: IMEI packet received {"connection_id":187635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":187635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:14:04] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:14:04] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:14:04] local.INFO: IMEI packet received {"connection_id":187635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":187635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:14:05] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:14:05] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:14:05] local.INFO: Packet analysis {"connection_id":187635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:14:05] local.INFO: Extracted packet for processing {"connection_id":187635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":187635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:14:05] local.INFO: GPS data processed {"connection_id":187635,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:14:05] local.INFO: Acknowledgment sent {"connection_id":187635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:14:36] local.INFO: TCP Data received {"connection_id":187635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:14:36] local.INFO: Processing buffer {"connection_id":187635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:14:36] local.INFO: Packet analysis {"connection_id":187635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:14:36] local.INFO: Extracted packet for processing {"connection_id":187635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":187635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:14:36] local.INFO: GPS data processed {"connection_id":187635,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:14:36] local.INFO: Acknowledgment sent {"connection_id":187635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:14:38] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:14:38] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:14:38] local.INFO: IMEI packet received {"connection_id":186305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":186305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:14:38] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:14:38] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:14:38] local.INFO: IMEI packet received {"connection_id":186305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":186305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:14:39] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:14:39] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:14:39] local.INFO: IMEI packet received {"connection_id":186305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":186305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:14:40] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad402000012d7b0c8005e2ffe00000003521..."} 
[2026-09-17 08:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad402000012d7b0c8005e2ffe00000003521..."} 
[2026-09-17 08:14:40] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad402000012d7b0c8005e2ffe00000003521..."} 
[2026-09-17 08:14:40] local.INFO: Packet analysis {"connection_id":186305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad40"} 
[2026-09-17 08:14:40] local.INFO: Extracted packet for processing {"connection_id":186305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad40"} 
[2026-09-17 08:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98762720,"longitude_deg":76.3038848,"latitude_deg":9.876272,"altitude":0,"angle":53,"satellites":33,"speed":0,"hex_longitude":"2d7b0c80","hex_latitude":"05e2ffe0","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140941312001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134038730942971904,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897901436928,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789613056000,"timestamp_ms":1789613056000,"timestamp_seconds":1789613056,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad402000"} 
[2026-09-17 08:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166838066527,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2906595864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399463,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":226,"raw_value":4161798144,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2147869400,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029983,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3803578368,"note":"Value kept but may cause issues"} 
[2026-09-17 08:14:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,51,160,45,192,253,32,10,66,207,225,33,194,64,1,240,199,227,173,226,4,113,205,65,22,40,239,48,2,220,5,39],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-17 08:14:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":17733920030720,"timestamp_seconds":17733920030.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140941312001,"66":13319,"208":206,"85":15104,"24":0,"16":134038730942971904,"45":8866672897901436928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140941312001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:14:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134038730942971904,"km_value":134038730942971.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897901436928,"description":"Unknown IO ID 45"} 
[2026-09-17 08:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140941312001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866672897901436928}} 
[2026-09-17 08:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":186305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:14:40] local.INFO: GPS data processed {"connection_id":186305,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:14:40] local.INFO: Acknowledgment sent {"connection_id":186305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:15:03] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:15:03] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:15:03] local.INFO: IMEI packet received {"connection_id":186306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":186306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:15:06] local.INFO: TCP Data received {"connection_id":184905,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:15:06] local.INFO: Processing buffer {"connection_id":184905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:15:06] local.INFO: IMEI packet received {"connection_id":184905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":184905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:15:08] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:15:08] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:15:08] local.INFO: IMEI packet received {"connection_id":186306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":186306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:15:09] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:15:09] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:15:09] local.INFO: Packet analysis {"connection_id":186306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:15:09] local.INFO: Extracted packet for processing {"connection_id":186306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:15: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-09-17 08:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":186306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:15:09] local.INFO: GPS data processed {"connection_id":186306,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:15:09] local.INFO: Acknowledgment sent {"connection_id":186306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:15:12] local.INFO: TCP Data received {"connection_id":186305,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4027d0012d7b0c8005e300b00000000822..."} 
[2026-09-17 08:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4027d0012d7b0c8005e300b00000000822..."} 
[2026-09-17 08:15:12] local.INFO: Processing buffer {"connection_id":186305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4027d0012d7b0c8005e300b00000000822..."} 
[2026-09-17 08:15:12] local.INFO: Packet analysis {"connection_id":186305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad40"} 
[2026-09-17 08:15:12] local.INFO: Extracted packet for processing {"connection_id":186305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad40"} 
[2026-09-17 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98762928,"longitude_deg":76.3038848,"latitude_deg":9.8762928,"altitude":0,"angle":8,"satellites":34,"speed":2,"hex_longitude":"2d7b0c80","hex_latitude":"05e300b0","is_valid_coordinates":true} 
[2026-09-17 08:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140942336001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134038739532906496,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529157275648,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789613058000,"timestamp_ms":1789613058000,"timestamp_seconds":1789613058,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4027d0"} 
[2026-09-17 08:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2906603864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-5332261941603785472,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3805816832,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":238,"raw_value":57807712902075707,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2456714891581194245,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:12] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,51,160,45,192,255,33,10,66,253,32,207,225,1,240,187,227,173,226,4,113,205,143,15,29,239,2,220,5,44,238,63],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-17 08:15:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":58415850192896,"timestamp_seconds":58415850192.896,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140942336001,"66":12950,"208":206,"85":15104,"24":2,"16":134038739532906496,"45":8866602529157275648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140942336001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:15:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134038739532906496,"km_value":134038739532906.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529157275648,"description":"Unknown IO ID 45"} 
[2026-09-17 08:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140942336001,"power":12950,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8866602529157275648}} 
[2026-09-17 08:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":186305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:15:12] local.INFO: GPS data processed {"connection_id":186305,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:15:12] local.INFO: Acknowledgment sent {"connection_id":186305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:15:14] local.INFO: TCP Data received {"connection_id":186306,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:15:14] local.INFO: Processing buffer {"connection_id":186306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:15:14] local.INFO: Packet analysis {"connection_id":186306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:15:14] local.INFO: Extracted packet for processing {"connection_id":186306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:15: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-09-17 08:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":186306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:15:14] local.INFO: GPS data processed {"connection_id":186306,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:15:14] local.INFO: Acknowledgment sent {"connection_id":186306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:15:28] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:15:28] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:15:28] local.INFO: IMEI packet received {"connection_id":186307,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":186307,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:15:32] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:15:32] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:15:32] local.INFO: IMEI packet received {"connection_id":186307,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":186307,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:15:34] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-17 08:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-17 08:15:34] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-17 08:15:34] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 08:15:34] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 08:15:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:15:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:15:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 08:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-17 08:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-17 08:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 08:15:34] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 08:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 08:15:34] local.ERROR: GPS data processing failed {"connection_id":186307,"error":"No valid data to process"} 
[2026-09-17 08:15:34] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 08:15:35] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:15:35] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:15:35] local.INFO: IMEI packet received {"connection_id":185017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":185017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:15:39] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:15:39] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:15:39] local.INFO: IMEI packet received {"connection_id":185017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":185017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:15:44] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:15:44] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:15:44] local.INFO: IMEI packet received {"connection_id":185017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":185017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:15:44] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad410678012d7b05c005e32ba8000001671f..."} 
[2026-09-17 08:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad410678012d7b05c005e32ba8000001671f..."} 
[2026-09-17 08:15:44] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad410678012d7b05c005e32ba8000001671f..."} 
[2026-09-17 08:15:44] local.INFO: Packet analysis {"connection_id":185017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:15:44] local.INFO: Extracted packet for processing {"connection_id":185017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98773928,"longitude_deg":76.303712,"latitude_deg":9.8773928,"altitude":0,"angle":359,"satellites":31,"speed":5,"hex_longitude":"2d7b05c0","hex_latitude":"05e32ba8","is_valid_coordinates":true} 
[2026-09-17 08:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140956416001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134039293583687680,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941811363840,"note":"Value kept but may cause issues"} 
[2026-09-17 08:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789613115000,"timestamp_ms":1789613115000,"timestamp_seconds":1789613115,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad410678"} 
[2026-09-17 08:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 08:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140956416001,"66":13015,"208":206,"85":15104,"24":5,"16":134039293583687680,"45":8864772941811363840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140956416001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:15:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134039293583687680,"km_value":134039293583687.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941811363840,"description":"Unknown IO ID 45"} 
[2026-09-17 08:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140956416001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8864772941811363840}} 
[2026-09-17 08:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":185017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:15:45] local.INFO: GPS data processed {"connection_id":185017,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:15:45] local.INFO: Acknowledgment sent {"connection_id":185017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:15:51] local.INFO: TCP Data received {"connection_id":187636,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:15:51] local.INFO: Processing buffer {"connection_id":187636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:15:51] local.INFO: IMEI packet received {"connection_id":187636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":187636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:15:59] local.INFO: TCP Data received {"connection_id":185018,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:15:59] local.INFO: Processing buffer {"connection_id":185018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:15:59] local.INFO: IMEI packet received {"connection_id":185018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":185018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:16:03] local.INFO: TCP Data received {"connection_id":185018,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:16:03] local.INFO: Processing buffer {"connection_id":185018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:16:03] local.INFO: IMEI packet received {"connection_id":185018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":185018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:16:04] local.INFO: TCP Data received {"connection_id":185018,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:16:04] local.INFO: Processing buffer {"connection_id":185018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:16:04] local.INFO: Packet analysis {"connection_id":185018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:16:04] local.INFO: Extracted packet for processing {"connection_id":185018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:16:04] 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-09-17 08:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":185018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:16:04] local.INFO: GPS data processed {"connection_id":185018,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:16:04] local.INFO: Acknowledgment sent {"connection_id":185018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:16:05] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-09-17 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-09-17 08:16:05] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-09-17 08:16:05] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 08:16:05] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 08:16:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:16:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":62000,"timestamp_seconds":62,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:16:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 08:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-17 08:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-17 08:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 08:16:05] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 08:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 08:16:05] local.ERROR: GPS data processing failed {"connection_id":186307,"error":"No valid data to process"} 
[2026-09-17 08:16:05] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 08:16:16] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad412d88012d7b04c005e32dc00000000b20..."} 
[2026-09-17 08:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad412d88012d7b04c005e32dc00000000b20..."} 
[2026-09-17 08:16:16] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad412d88012d7b04c005e32dc00000000b20..."} 
[2026-09-17 08:16:16] local.INFO: Packet analysis {"connection_id":185017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:16:16] local.INFO: Extracted packet for processing {"connection_id":185017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98774464,"longitude_deg":76.3036864,"latitude_deg":9.8774464,"altitude":0,"angle":11,"satellites":32,"speed":2,"hex_longitude":"2d7b04c0","hex_latitude":"05e32dc0","is_valid_coordinates":true} 
[2026-09-17 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140957440001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134039323648458752,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573067347968,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789613125000,"timestamp_ms":1789613125000,"timestamp_seconds":1789613125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad412d88"} 
[2026-09-17 08:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 08:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140957440001,"66":13526,"208":206,"85":15104,"24":2,"16":134039323648458752,"45":8864702573067347968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140957440001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:16:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134039323648458752,"km_value":134039323648458.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573067347968,"description":"Unknown IO ID 45"} 
[2026-09-17 08:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140957440001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8864702573067347968}} 
[2026-09-17 08:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":185017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:16:16] local.INFO: GPS data processed {"connection_id":185017,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:16:16] local.INFO: Acknowledgment sent {"connection_id":185017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:16:36] local.INFO: TCP Data received {"connection_id":185018,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:16:36] local.INFO: Processing buffer {"connection_id":185018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:16:36] local.INFO: Packet analysis {"connection_id":185018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:16:36] local.INFO: Extracted packet for processing {"connection_id":185018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:16:36] 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-09-17 08:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":185018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:16:36] local.INFO: GPS data processed {"connection_id":185018,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:16:36] local.INFO: Acknowledgment sent {"connection_id":185018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:16:36] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad419ae80100000000000000000000000000..."} 
[2026-09-17 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad419ae80100000000000000000000000000..."} 
[2026-09-17 08:16:36] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad419ae80100000000000000000000000000..."} 
[2026-09-17 08:16:36] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:16:36] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613153000,"timestamp_ms":1789613153000,"timestamp_seconds":1789613153,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad419ae8"} 
[2026-09-17 08:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 08:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:16:36] local.INFO: GPS data processed {"connection_id":186307,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:16:36] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:16:38] local.INFO: TCP Data received {"connection_id":184907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:16:38] local.INFO: Processing buffer {"connection_id":184907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:16:38] local.INFO: IMEI packet received {"connection_id":184907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":184907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:16:40] local.INFO: TCP Data received {"connection_id":184907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:16:40] local.INFO: Processing buffer {"connection_id":184907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:16:40] local.INFO: IMEI packet received {"connection_id":184907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":184907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:16:42] local.INFO: TCP Data received {"connection_id":184907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad414110012d7b048005e32ec00000016220..."} 
[2026-09-17 08:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad414110012d7b048005e32ec00000016220..."} 
[2026-09-17 08:16:42] local.INFO: Processing buffer {"connection_id":184907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad414110012d7b048005e32ec00000016220..."} 
[2026-09-17 08:16:42] local.INFO: Packet analysis {"connection_id":184907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:16:42] local.INFO: Extracted packet for processing {"connection_id":184907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98774720,"longitude_deg":76.30368,"latitude_deg":9.877472,"altitude":0,"angle":354,"satellites":32,"speed":3,"hex_longitude":"2d7b0480","hex_latitude":"05e32ec0","is_valid_coordinates":true} 
[2026-09-17 08:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134039340828327936,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098090774528,"note":"Value kept but may cause issues"} 
[2026-09-17 08:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789613130000,"timestamp_ms":1789613130000,"timestamp_seconds":1789613130,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad414110"} 
[2026-09-17 08:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 08:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":184907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":184907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":184907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140960000001,"66":13059,"208":206,"85":15104,"24":3,"16":134039340828327936,"45":8864421098090774528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:16:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134039340828327936,"km_value":134039340828327.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098090774528,"description":"Unknown IO ID 45"} 
[2026-09-17 08:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140960000001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8864421098090774528}} 
[2026-09-17 08:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":184907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:16:42] local.INFO: GPS data processed {"connection_id":184907,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:16:42] local.INFO: Acknowledgment sent {"connection_id":184907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:16:58] local.INFO: TCP Data received {"connection_id":185019,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:16:58] local.INFO: Processing buffer {"connection_id":185019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:16:58] local.INFO: IMEI packet received {"connection_id":185019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":185019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:17:03] local.INFO: TCP Data received {"connection_id":185019,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:17:03] local.INFO: Processing buffer {"connection_id":185019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:17:03] local.INFO: IMEI packet received {"connection_id":185019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":185019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:17:05] local.INFO: TCP Data received {"connection_id":185019,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:17:05] local.INFO: Processing buffer {"connection_id":185019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:17:05] local.INFO: Packet analysis {"connection_id":185019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:17:05] local.INFO: Extracted packet for processing {"connection_id":185019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:17:05] 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-09-17 08:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:17:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":185019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:17:05] local.INFO: GPS data processed {"connection_id":185019,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:17:05] local.INFO: Acknowledgment sent {"connection_id":185019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:17:08] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad41ecf00100000000000000000000000000..."} 
[2026-09-17 08:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad41ecf00100000000000000000000000000..."} 
[2026-09-17 08:17:08] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad41ecf00100000000000000000000000000..."} 
[2026-09-17 08:17:08] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:17:08] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:17:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789613174000,"timestamp_ms":1789613174000,"timestamp_seconds":1789613174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad41ecf0"} 
[2026-09-17 08:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-17 08:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:17:08] local.INFO: GPS data processed {"connection_id":186307,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:17:08] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:17:14] local.INFO: TCP Data received {"connection_id":184907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4150b0012d7b048005e331f0000000081e..."} 
[2026-09-17 08:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4150b0012d7b048005e331f0000000081e..."} 
[2026-09-17 08:17:14] local.INFO: Processing buffer {"connection_id":184907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4150b0012d7b048005e331f0000000081e..."} 
[2026-09-17 08:17:14] local.INFO: Packet analysis {"connection_id":184907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:17:14] local.INFO: Extracted packet for processing {"connection_id":184907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98775536,"longitude_deg":76.30368,"latitude_deg":9.8775536,"altitude":0,"angle":8,"satellites":30,"speed":7,"hex_longitude":"2d7b0480","hex_latitude":"05e331f0","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140961280001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134039379483033600,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729346662400,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789613134000,"timestamp_ms":1789613134000,"timestamp_seconds":1789613134,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4150b0"} 
[2026-09-17 08:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732191,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399430,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2906704864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":55297,"corrected_to":0} 
[2026-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3810729984,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:14] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,208,85,24,241,157,16,52,160,45,192,32,10,66,6,43,31,246,1,240,214,227,51,173,4,113,205,219,239,2,220,5],"length":486,"final_offset":616,"validated_count":32,"validation_warnings":[{"io_id":246,"original":55297,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-17 08:17:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":389364555382784,"timestamp_seconds":389364555382.784,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140961280001,"66":13450,"208":206,"85":15104,"24":7,"16":134039379483033600,"45":8864350729346662400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140961280001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:17:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134039379483033600,"km_value":134039379483033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729346662400,"description":"Unknown IO ID 45"} 
[2026-09-17 08:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140961280001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8864350729346662400}} 
[2026-09-17 08:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":184907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:17:14] local.INFO: GPS data processed {"connection_id":184907,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:17:14] local.INFO: Acknowledgment sent {"connection_id":184907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:17:36] local.INFO: TCP Data received {"connection_id":185019,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:17:36] local.INFO: Processing buffer {"connection_id":185019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad3e3ba0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 08:17:36] local.INFO: Packet analysis {"connection_id":185019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:17:36] local.INFO: Extracted packet for processing {"connection_id":185019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad3e"} 
[2026-09-17 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140833536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789612932000,"timestamp_ms":1789612932000,"timestamp_seconds":1789612932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad3e3ba0"} 
[2026-09-17 08:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:17:36] 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-09-17 08:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140833536001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140833536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140833536001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":185019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:17:36] local.INFO: GPS data processed {"connection_id":185019,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:17:36] local.INFO: Acknowledgment sent {"connection_id":185019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:17:38] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad423ef80100000000000000000000000000..."} 
[2026-09-17 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad423ef80100000000000000000000000000..."} 
[2026-09-17 08:17:38] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad423ef80100000000000000000000000000..."} 
[2026-09-17 08:17:38] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:17:38] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789613195000,"timestamp_ms":1789613195000,"timestamp_seconds":1789613195,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad423ef8"} 
[2026-09-17 08:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 08:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:17:38] local.INFO: GPS data processed {"connection_id":186307,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:17:38] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:17:39] local.INFO: TCP Data received {"connection_id":185020,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:17:39] local.INFO: Processing buffer {"connection_id":185020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:17:39] local.INFO: IMEI packet received {"connection_id":185020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":185020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:17:43] local.INFO: TCP Data received {"connection_id":185020,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:17:43] local.INFO: Processing buffer {"connection_id":185020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:17:43] local.INFO: IMEI packet received {"connection_id":185020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":185020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:17:44] local.INFO: TCP Data received {"connection_id":185020,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad417f90012d7b04c005e340700000016424..."} 
[2026-09-17 08:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad417f90012d7b04c005e340700000016424..."} 
[2026-09-17 08:17:44] local.INFO: Processing buffer {"connection_id":185020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad417f90012d7b04c005e340700000016424..."} 
[2026-09-17 08:17:44] local.INFO: Packet analysis {"connection_id":185020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:17:44] local.INFO: Extracted packet for processing {"connection_id":185020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad41"} 
[2026-09-17 08:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98779248,"longitude_deg":76.3036864,"latitude_deg":9.8779248,"altitude":0,"angle":356,"satellites":36,"speed":16,"hex_longitude":"2d7b04c0","hex_latitude":"05e34070","is_valid_coordinates":true} 
[2026-09-17 08:17: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-09-17 08:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140962304001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134039559871660032,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729346871296,"note":"Value kept but may cause issues"} 
[2026-09-17 08:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789613146000,"timestamp_ms":1789613146000,"timestamp_seconds":1789613146,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad417f90"} 
[2026-09-17 08:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 08:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:17: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-09-17 08:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140962304001,"66":13341,"208":206,"85":15104,"24":16,"16":134039559871660032,"45":8864350729346871296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140962304001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:17:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134039559871660032,"km_value":134039559871660.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729346871296,"description":"Unknown IO ID 45"} 
[2026-09-17 08:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140962304001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8864350729346871296}} 
[2026-09-17 08:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":185020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:17:44] local.INFO: GPS data processed {"connection_id":185020,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:17:44] local.INFO: Acknowledgment sent {"connection_id":185020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:17:58] local.INFO: TCP Data received {"connection_id":184910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:17:58] local.INFO: Processing buffer {"connection_id":184910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:17:58] local.INFO: IMEI packet received {"connection_id":184910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":184910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:18:04] local.INFO: TCP Data received {"connection_id":184910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:18:04] local.INFO: Processing buffer {"connection_id":184910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:18:04] local.INFO: IMEI packet received {"connection_id":184910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":184910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:18:05] local.INFO: TCP Data received {"connection_id":184910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:18:05] local.INFO: Processing buffer {"connection_id":184910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:18:05] local.INFO: Packet analysis {"connection_id":184910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:18:05] local.INFO: Extracted packet for processing {"connection_id":184910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:18:05] 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-09-17 08:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":184910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:18:05] local.INFO: GPS data processed {"connection_id":184910,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:18:05] local.INFO: Acknowledgment sent {"connection_id":184910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:18:10] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4291000100000000000000000000000000..."} 
[2026-09-17 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4291000100000000000000000000000000..."} 
[2026-09-17 08:18:10] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4291000100000000000000000000000000..."} 
[2026-09-17 08:18:10] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:18:10] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:18:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789613216000,"timestamp_ms":1789613216000,"timestamp_seconds":1789613216,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad429100"} 
[2026-09-17 08:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 08:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:18:10] local.INFO: GPS data processed {"connection_id":186307,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:18:10] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:18:20] local.INFO: TCP Data received {"connection_id":185020,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad438330012d7acdc005e410280005013e2b..."} 
[2026-09-17 08:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad438330012d7acdc005e410280005013e2b..."} 
[2026-09-17 08:18:20] local.INFO: Processing buffer {"connection_id":185020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad438330012d7acdc005e410280005013e2b..."} 
[2026-09-17 08:18:20] local.INFO: Packet analysis {"connection_id":185020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:18:20] local.INFO: Extracted packet for processing {"connection_id":185020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":98832424,"longitude_deg":76.3022784,"latitude_deg":9.8832424,"altitude":5,"angle":318,"satellites":43,"speed":9,"hex_longitude":"2d7acdc0","hex_latitude":"05e41028","is_valid_coordinates":true} 
[2026-09-17 08:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140998656001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134042244226220032,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449363105792,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789613278000,"timestamp_ms":1789613278000,"timestamp_seconds":1789613278,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad438330"} 
[2026-09-17 08:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":864691128622908416,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2906803864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2052357200398952663,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2576875527,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":173,"raw_value":4763629734351008960,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3087084922,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2147869591,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465439,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398593509084757,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:20] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,208,85,24,241,157,16,54,160,99,45,128,4,5,42,10,66,21,64,225,38,230,192,1,240,214,227,53,173,113,205,7,156,237,216,43,239,49,2,220,6,8,51,59,69],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-17 08:18:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360656491269455872,"timestamp_seconds":360656491269455.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140998656001,"66":12624,"208":206,"85":15104,"24":9,"16":134042244226220032,"45":8849221449363105792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140998656001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:18:20] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134042244226220032,"km_value":134042244226220.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449363105792,"description":"Unknown IO ID 45"} 
[2026-09-17 08:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140998656001,"power":12624,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8849221449363105792}} 
[2026-09-17 08:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":185020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:18:20] local.INFO: GPS data processed {"connection_id":185020,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:18:20] local.INFO: Acknowledgment sent {"connection_id":185020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:18:37] local.INFO: TCP Data received {"connection_id":184910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:18:37] local.INFO: Processing buffer {"connection_id":184910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:18:37] local.INFO: Packet analysis {"connection_id":184910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:18:37] local.INFO: Extracted packet for processing {"connection_id":184910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:18:37] 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-09-17 08:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":184910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:18:37] local.INFO: GPS data processed {"connection_id":184910,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:18:37] local.INFO: Acknowledgment sent {"connection_id":184910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:18:40] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:18:40] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:18:40] local.INFO: IMEI packet received {"connection_id":186308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":186308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:18:40] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:18:40] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:18:40] local.INFO: IMEI packet received {"connection_id":186308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":186308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:18:40] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42e3080100000000000000000000000000..."} 
[2026-09-17 08:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42e3080100000000000000000000000000..."} 
[2026-09-17 08:18:40] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42e3080100000000000000000000000000..."} 
[2026-09-17 08:18:40] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:18:40] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:18:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789613237000,"timestamp_ms":1789613237000,"timestamp_seconds":1789613237,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42e308"} 
[2026-09-17 08:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 08:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:18:40] local.INFO: GPS data processed {"connection_id":186307,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:18:40] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:18:48] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:18:48] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:18:48] local.INFO: IMEI packet received {"connection_id":186308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":186308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:18:51] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad439e88012d7acac005e410f8000501092d..."} 
[2026-09-17 08:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad439e88012d7acac005e410f8000501092d..."} 
[2026-09-17 08:18:51] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad439e88012d7acac005e410f8000501092d..."} 
[2026-09-17 08:18:51] local.INFO: Packet analysis {"connection_id":186308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:18:51] local.INFO: Extracted packet for processing {"connection_id":186308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98832632,"longitude_deg":76.3022016,"latitude_deg":9.8832632,"altitude":5,"angle":265,"satellites":45,"speed":6,"hex_longitude":"2d7acac0","hex_latitude":"05e410f8","is_valid_coordinates":true} 
[2026-09-17 08:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140999168001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134042282880925696,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386526208,"note":"Value kept but may cause issues"} 
[2026-09-17 08:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789613285000,"timestamp_ms":1789613285000,"timestamp_seconds":1789613285,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad439e88"} 
[2026-09-17 08:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 08:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140999168001,"66":13472,"208":206,"85":15104,"24":6,"16":134042282880925696,"45":8848939974386526208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140999168001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:18:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134042282880925696,"km_value":134042282880925.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386526208,"description":"Unknown IO ID 45"} 
[2026-09-17 08:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140999168001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8848939974386526208}} 
[2026-09-17 08:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":186308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:18:51] local.INFO: GPS data processed {"connection_id":186308,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:18:51] local.INFO: Acknowledgment sent {"connection_id":186308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:18:58] local.INFO: TCP Data received {"connection_id":185022,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:18:58] local.INFO: Processing buffer {"connection_id":185022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:18:58] local.INFO: IMEI packet received {"connection_id":185022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":185022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:19:03] local.INFO: TCP Data received {"connection_id":185022,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:19:03] local.INFO: Processing buffer {"connection_id":185022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:19:03] local.INFO: IMEI packet received {"connection_id":185022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":185022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:19:04] local.INFO: TCP Data received {"connection_id":185022,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:19:04] local.INFO: Processing buffer {"connection_id":185022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:19:04] local.INFO: Packet analysis {"connection_id":185022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:19:04] local.INFO: Extracted packet for processing {"connection_id":185022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:19:04] 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-09-17 08:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":185022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:19:04] local.INFO: GPS data processed {"connection_id":185022,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:19:04] local.INFO: Acknowledgment sent {"connection_id":185022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:19:22] local.INFO: TCP Data received {"connection_id":186308,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad43b210012d7ac64005e40fd8000500fa2b..."} 
[2026-09-17 08:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad43b210012d7ac64005e40fd8000500fa2b..."} 
[2026-09-17 08:19:22] local.INFO: Processing buffer {"connection_id":186308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad43b210012d7ac64005e40fd8000500fa2b..."} 
[2026-09-17 08:19:22] local.INFO: Packet analysis {"connection_id":186308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:19:22] local.INFO: Extracted packet for processing {"connection_id":186308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763020864,"raw_latitude":98832344,"longitude_deg":76.3020864,"latitude_deg":9.8832344,"altitude":5,"angle":250,"satellites":43,"speed":10,"hex_longitude":"2d7ac640","hex_latitude":"05e40fd8","is_valid_coordinates":true} 
[2026-09-17 08:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141000960001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134042338715500544,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848095549456447488,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789613290000,"timestamp_ms":1789613290000,"timestamp_seconds":1789613290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad43b210"} 
[2026-09-17 08:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 08:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141000960001,"66":13493,"208":206,"85":15104,"24":10,"16":134042338715500544,"45":8848095549456447488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141000960001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:19:22] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:19:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134042338715500544,"km_value":134042338715500.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848095549456447488,"description":"Unknown IO ID 45"} 
[2026-09-17 08:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141000960001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848095549456447488}} 
[2026-09-17 08:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":186308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:19:23] local.INFO: GPS data processed {"connection_id":186308,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:19:23] local.INFO: Acknowledgment sent {"connection_id":186308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:19:36] local.INFO: TCP Data received {"connection_id":185022,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:19:36] local.INFO: Processing buffer {"connection_id":185022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:19:36] local.INFO: Packet analysis {"connection_id":185022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:19:36] local.INFO: Extracted packet for processing {"connection_id":185022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:19:36] 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-09-17 08:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":185022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:19:36] local.INFO: GPS data processed {"connection_id":185022,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:19:36] local.INFO: Acknowledgment sent {"connection_id":185022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:19:38] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:19:38] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:19:38] local.INFO: IMEI packet received {"connection_id":187637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":187637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:19:42] local.INFO: TCP Data received {"connection_id":186307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4335100100000000000000000000000000..."} 
[2026-09-17 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4335100100000000000000000000000000..."} 
[2026-09-17 08:19:42] local.INFO: Processing buffer {"connection_id":186307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4335100100000000000000000000000000..."} 
[2026-09-17 08:19:42] local.INFO: Packet analysis {"connection_id":186307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:19:42] local.INFO: Extracted packet for processing {"connection_id":186307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789613258000,"timestamp_ms":1789613258000,"timestamp_seconds":1789613258,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad433510"} 
[2026-09-17 08:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 08:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186307,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":186307,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:19:42] local.INFO: GPS data processed {"connection_id":186307,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:19:42] local.INFO: Acknowledgment sent {"connection_id":186307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:19:44] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:19:44] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:19:44] local.INFO: IMEI packet received {"connection_id":187637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":187637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:19:44] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad43d150012d7ab80005e40d28000401072a..."} 
[2026-09-17 08:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad43d150012d7ab80005e40d28000401072a..."} 
[2026-09-17 08:19:44] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad43d150012d7ab80005e40d28000401072a..."} 
[2026-09-17 08:19:44] local.INFO: Packet analysis {"connection_id":187637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:19:44] local.INFO: Extracted packet for processing {"connection_id":187637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:19:44] local.INFO: GPS Element Parsed {"raw_longitude":763017216,"raw_latitude":98831656,"longitude_deg":76.3017216,"latitude_deg":9.8831656,"altitude":4,"angle":263,"satellites":42,"speed":23,"hex_longitude":"2d7ab800","hex_latitude":"05e40d28","is_valid_coordinates":true} 
[2026-09-17 08:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141002240001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134042519104126976,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846828912061175808,"note":"Value kept but may cause issues"} 
[2026-09-17 08:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789613298000,"timestamp_ms":1789613298000,"timestamp_seconds":1789613298,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad43d150"} 
[2026-09-17 08:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 08:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141002240001,"66":13254,"208":206,"85":15104,"24":23,"16":134042519104126976,"45":8846828912061175808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141002240001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:19:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:19:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134042519104126976,"km_value":134042519104126.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846828912061175808,"description":"Unknown IO ID 45"} 
[2026-09-17 08:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141002240001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8846828912061175808}} 
[2026-09-17 08:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":187637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:19:44] local.INFO: GPS data processed {"connection_id":187637,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:19:44] local.INFO: Acknowledgment sent {"connection_id":187637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:19:58] local.INFO: TCP Data received {"connection_id":186310,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:19:58] local.INFO: Processing buffer {"connection_id":186310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:19:58] local.INFO: IMEI packet received {"connection_id":186310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":186310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:20:03] local.INFO: TCP Data received {"connection_id":186310,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:20:03] local.INFO: Processing buffer {"connection_id":186310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:20:03] local.INFO: IMEI packet received {"connection_id":186310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":186310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:20:04] local.INFO: TCP Data received {"connection_id":186310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:20:04] local.INFO: Processing buffer {"connection_id":186310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:20:04] local.INFO: Packet analysis {"connection_id":186310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:20:04] local.INFO: Extracted packet for processing {"connection_id":186310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:20:04] 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-09-17 08:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":186310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:20:04] local.INFO: GPS data processed {"connection_id":186310,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:20:04] local.INFO: Acknowledgment sent {"connection_id":186310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:20:06] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:20:06] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:20:06] local.INFO: IMEI packet received {"connection_id":185023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":185023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:20:07] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:20:07] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:20:07] local.INFO: IMEI packet received {"connection_id":185023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":185023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:20:12] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:20:12] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:20:12] local.INFO: IMEI packet received {"connection_id":185023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":185023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:20:13] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4387180100000000000000000000000000..."} 
[2026-09-17 08:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4387180100000000000000000000000000..."} 
[2026-09-17 08:20:13] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4387180100000000000000000000000000..."} 
[2026-09-17 08:20:13] local.INFO: Packet analysis {"connection_id":185023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:20:13] local.INFO: Extracted packet for processing {"connection_id":185023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:20:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789613279000,"timestamp_ms":1789613279000,"timestamp_seconds":1789613279,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad438718"} 
[2026-09-17 08:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 08:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":185023,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:20:13] local.INFO: GPS data processed {"connection_id":185023,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:20:13] local.INFO: Acknowledgment sent {"connection_id":185023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:20:17] local.INFO: TCP Data received {"connection_id":187637,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad441f70012d7a9e0005e40aa00002011026..."} 
[2026-09-17 08:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad441f70012d7a9e0005e40aa00002011026..."} 
[2026-09-17 08:20:17] local.INFO: Processing buffer {"connection_id":187637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad441f70012d7a9e0005e40aa00002011026..."} 
[2026-09-17 08:20:17] local.INFO: Packet analysis {"connection_id":187637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad44"} 
[2026-09-17 08:20:17] local.INFO: Extracted packet for processing {"connection_id":187637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad44"} 
[2026-09-17 08:20:17] local.INFO: GPS Element Parsed {"raw_longitude":763010560,"raw_latitude":98831008,"longitude_deg":76.301056,"latitude_deg":9.8831008,"altitude":2,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d7a9e00","hex_latitude":"05e40aa0","is_valid_coordinates":true} 
[2026-09-17 08:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141004288001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134042854111576064,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842817893642872832,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789613318000,"timestamp_ms":1789613318000,"timestamp_seconds":1789613318,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad441f70"} 
[2026-09-17 08:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 08:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141004288001,"66":13319,"208":206,"85":15104,"24":0,"16":134042854111576064,"45":8842817893642872832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141004288001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:20:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134042854111576064,"km_value":134042854111576.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842817893642872832,"description":"Unknown IO ID 45"} 
[2026-09-17 08:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141004288001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8842817893642872832}} 
[2026-09-17 08:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":187637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:20:17] local.INFO: GPS data processed {"connection_id":187637,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:20:17] local.INFO: Acknowledgment sent {"connection_id":187637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:20:36] local.INFO: TCP Data received {"connection_id":186310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:20:36] local.INFO: Processing buffer {"connection_id":186310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:20:36] local.INFO: Packet analysis {"connection_id":186310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:20:36] local.INFO: Extracted packet for processing {"connection_id":186310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:20:36] 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-09-17 08:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":186310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:20:36] local.INFO: GPS data processed {"connection_id":186310,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:20:36] local.INFO: Acknowledgment sent {"connection_id":186310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:20:41] local.INFO: TCP Data received {"connection_id":184911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:41] local.INFO: Processing buffer {"connection_id":184911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:41] local.INFO: IMEI packet received {"connection_id":184911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":184911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:20:42] local.INFO: TCP Data received {"connection_id":184911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:42] local.INFO: Processing buffer {"connection_id":184911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:42] local.INFO: IMEI packet received {"connection_id":184911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":184911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:20:43] local.INFO: TCP Data received {"connection_id":184911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:43] local.INFO: Processing buffer {"connection_id":184911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:43] local.INFO: IMEI packet received {"connection_id":184911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":184911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:20:44] local.INFO: TCP Data received {"connection_id":184911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:44] local.INFO: Processing buffer {"connection_id":184911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:20:44] local.INFO: IMEI packet received {"connection_id":184911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":184911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:20:51] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad43d9200100000000000000000000000000..."} 
[2026-09-17 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad43d9200100000000000000000000000000..."} 
[2026-09-17 08:20:51] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad43d9200100000000000000000000000000..."} 
[2026-09-17 08:20:51] local.INFO: Packet analysis {"connection_id":185023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:20:51] local.INFO: Extracted packet for processing {"connection_id":185023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad43"} 
[2026-09-17 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:20:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789613300000,"timestamp_ms":1789613300000,"timestamp_seconds":1789613300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad43d920"} 
[2026-09-17 08:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":185023,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:20:51] local.INFO: GPS data processed {"connection_id":185023,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:20:51] local.INFO: Acknowledgment sent {"connection_id":185023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:20:58] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:20:58] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:20:58] local.INFO: IMEI packet received {"connection_id":186311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":186311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:21:03] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:21:03] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:21:03] local.INFO: IMEI packet received {"connection_id":186311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":186311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:21:05] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:21:05] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:21:05] local.INFO: Packet analysis {"connection_id":186311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:21:05] local.INFO: Extracted packet for processing {"connection_id":186311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:21:05] 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-09-17 08:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":186311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:21:05] local.INFO: GPS data processed {"connection_id":186311,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:21:05] local.INFO: Acknowledgment sent {"connection_id":186311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:21:20] local.INFO: TCP Data received {"connection_id":185024,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:21:20] local.INFO: Processing buffer {"connection_id":185024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:21:20] local.INFO: IMEI packet received {"connection_id":185024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":185024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:21:27] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad442b280100000000000000000000000000..."} 
[2026-09-17 08:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad442b280100000000000000000000000000..."} 
[2026-09-17 08:21:27] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad442b280100000000000000000000000000..."} 
[2026-09-17 08:21:27] local.INFO: Packet analysis {"connection_id":185023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad44"} 
[2026-09-17 08:21:27] local.INFO: Extracted packet for processing {"connection_id":185023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad44"} 
[2026-09-17 08:21:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:21:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789613321000,"timestamp_ms":1789613321000,"timestamp_seconds":1789613321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad442b28"} 
[2026-09-17 08:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":185023,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:21:27] local.INFO: GPS data processed {"connection_id":185023,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:21:27] local.INFO: Acknowledgment sent {"connection_id":185023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:21:36] local.INFO: TCP Data received {"connection_id":186311,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:21:36] local.INFO: Processing buffer {"connection_id":186311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:21:36] local.INFO: Packet analysis {"connection_id":186311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:21:36] local.INFO: Extracted packet for processing {"connection_id":186311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:21:36] 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-09-17 08:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":186311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:21:36] local.INFO: GPS data processed {"connection_id":186311,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:21:36] local.INFO: Acknowledgment sent {"connection_id":186311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:21:57] local.INFO: TCP Data received {"connection_id":187639,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:21:57] local.INFO: Processing buffer {"connection_id":187639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:21:57] local.INFO: IMEI packet received {"connection_id":187639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":187639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:21:58] local.INFO: TCP Data received {"connection_id":187640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:21:58] local.INFO: Processing buffer {"connection_id":187640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:21:58] local.INFO: IMEI packet received {"connection_id":187640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":187640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:21:59] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad447d300100000000000000000000000000..."} 
[2026-09-17 08:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad447d300100000000000000000000000000..."} 
[2026-09-17 08:21:59] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad447d300100000000000000000000000000..."} 
[2026-09-17 08:21:59] local.INFO: Packet analysis {"connection_id":185023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad44"} 
[2026-09-17 08:21:59] local.INFO: Extracted packet for processing {"connection_id":185023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad44"} 
[2026-09-17 08:21:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548323026010112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:21:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 08:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789613342000,"timestamp_ms":1789613342000,"timestamp_seconds":1789613342,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad447d30"} 
[2026-09-17 08:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 08:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":185023,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:21:59] local.INFO: GPS data processed {"connection_id":185023,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:21:59] local.INFO: Acknowledgment sent {"connection_id":185023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:22:03] local.INFO: TCP Data received {"connection_id":187640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:22:03] local.INFO: Processing buffer {"connection_id":187640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:22:03] local.INFO: IMEI packet received {"connection_id":187640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":187640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:22:04] local.INFO: TCP Data received {"connection_id":187640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:22:04] local.INFO: Processing buffer {"connection_id":187640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:22:04] local.INFO: Packet analysis {"connection_id":187640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:22:04] local.INFO: Extracted packet for processing {"connection_id":187640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:22:04] 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-09-17 08:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":187640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:22:04] local.INFO: GPS data processed {"connection_id":187640,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:22:04] local.INFO: Acknowledgment sent {"connection_id":187640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:22:30] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad478688012d0bbdc007029f680000005e08..."} 
[2026-09-17 08:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad478688012d0bbdc007029f680000005e08..."} 
[2026-09-17 08:22:30] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad478688012d0bbdc007029f680000005e08..."} 
[2026-09-17 08:22:30] local.INFO: Packet analysis {"connection_id":185023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:22:30] local.INFO: Extracted packet for processing {"connection_id":185023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:22:30] local.INFO: GPS Element Parsed {"raw_longitude":755744192,"raw_latitude":117612392,"longitude_deg":75.5744192,"latitude_deg":11.7612392,"altitude":0,"angle":94,"satellites":8,"speed":13,"hex_longitude":"2d0bbdc0","hex_latitude":"07029f68","is_valid_coordinates":true} 
[2026-09-17 08:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141066240001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548567839145984,"note":"Value kept but may cause issues"} 
[2026-09-17 08:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845621228891748352,"note":"Value kept but may cause issues"} 
[2026-09-17 08:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789613541000,"timestamp_ms":1789613541000,"timestamp_seconds":1789613541,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad478688"} 
[2026-09-17 08:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 08:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141066240001,"66":14515,"17":206,"94":11008,"24":13,"16":32548567839145984,"45":845621228891748352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 08:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141066240001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:22:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32548567839145984,"km_value":32548567839145.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":845621228891748352,"description":"Unknown IO ID 45"} 
[2026-09-17 08:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141066240001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":845621228891748352}} 
[2026-09-17 08:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":185023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854094,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:22:30] local.INFO: GPS data processed {"connection_id":185023,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:22:30] local.INFO: Acknowledgment sent {"connection_id":185023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:22:36] local.INFO: TCP Data received {"connection_id":187640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:22:36] local.INFO: Processing buffer {"connection_id":187640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad42d368012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:22:36] local.INFO: Packet analysis {"connection_id":187640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:22:36] local.INFO: Extracted packet for processing {"connection_id":187640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad42"} 
[2026-09-17 08:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140910592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613233000,"timestamp_ms":1789613233000,"timestamp_seconds":1789613233,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad42d368"} 
[2026-09-17 08:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:22:36] 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-09-17 08:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140910592001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140910592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140910592001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":187640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:22:36] local.INFO: GPS data processed {"connection_id":187640,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:22:36] local.INFO: Acknowledgment sent {"connection_id":187640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:22:58] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:22:58] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:22:58] local.INFO: IMEI packet received {"connection_id":186312,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":186312,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:22:58] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:22:58] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:22:58] local.INFO: IMEI packet received {"connection_id":186312,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":186312,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:22:58] local.INFO: TCP Data received {"connection_id":187642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:22:58] local.INFO: Processing buffer {"connection_id":187642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:22:58] local.INFO: IMEI packet received {"connection_id":187642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":187642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:23:01] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:23:01] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:23:01] local.INFO: IMEI packet received {"connection_id":186312,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":186312,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:23:02] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad478a70012d0bbf4007029fa80000004d08..."} 
[2026-09-17 08:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad478a70012d0bbf4007029fa80000004d08..."} 
[2026-09-17 08:23:02] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad478a70012d0bbf4007029fa80000004d08..."} 
[2026-09-17 08:23:02] local.INFO: Packet analysis {"connection_id":186312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:23:02] local.INFO: Extracted packet for processing {"connection_id":186312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":755744576,"raw_latitude":117612456,"longitude_deg":75.5744576,"latitude_deg":11.7612456,"altitude":0,"angle":77,"satellites":8,"speed":13,"hex_longitude":"2d0bbf40","hex_latitude":"07029fa8","is_valid_coordinates":true} 
[2026-09-17 08:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141066496001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32548585019015168,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846043441356826624,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789613542000,"timestamp_ms":1789613542000,"timestamp_seconds":1789613542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad478a70"} 
[2026-09-17 08:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 08:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141066496001,"66":14407,"17":206,"94":11008,"24":13,"16":32548585019015168,"45":846043441356826624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 08:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141066496001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:23:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32548585019015168,"km_value":32548585019015.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":846043441356826624,"description":"Unknown IO ID 45"} 
[2026-09-17 08:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141066496001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":846043441356826624}} 
[2026-09-17 08:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":186312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854096,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:23:02] local.INFO: GPS data processed {"connection_id":186312,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:23:02] local.INFO: Acknowledgment sent {"connection_id":186312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:23:03] local.INFO: TCP Data received {"connection_id":187642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:23:03] local.INFO: Processing buffer {"connection_id":187642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:23:03] local.INFO: IMEI packet received {"connection_id":187642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":187642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:23:04] local.INFO: TCP Data received {"connection_id":187642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:23:04] local.INFO: Processing buffer {"connection_id":187642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:23:04] local.INFO: Packet analysis {"connection_id":187642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:23:04] local.INFO: Extracted packet for processing {"connection_id":187642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:23:04] 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-09-17 08:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:23:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":187642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:23:04] local.INFO: GPS data processed {"connection_id":187642,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:23:04] local.INFO: Acknowledgment sent {"connection_id":187642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:23:33] local.INFO: TCP Data received {"connection_id":186312,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad485978012d0bf5c007029f980000005b08..."} 
[2026-09-17 08:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad485978012d0bf5c007029f980000005b08..."} 
[2026-09-17 08:23:33] local.INFO: Processing buffer {"connection_id":186312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad485978012d0bf5c007029f980000005b08..."} 
[2026-09-17 08:23:33] local.INFO: Packet analysis {"connection_id":186312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad48"} 
[2026-09-17 08:23:33] local.INFO: Extracted packet for processing {"connection_id":186312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad48"} 
[2026-09-17 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":755758528,"raw_latitude":117612440,"longitude_deg":75.5758528,"latitude_deg":11.761244,"altitude":0,"angle":91,"satellites":8,"speed":7,"hex_longitude":"2d0bf5c0","hex_latitude":"07029f98","is_valid_coordinates":true} 
[2026-09-17 08:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141078016001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32549263623847936,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859202396518164480,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789613595000,"timestamp_ms":1789613595000,"timestamp_seconds":1789613595,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad485978"} 
[2026-09-17 08:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141078016001,"66":14678,"37":206,"94":11008,"24":7,"16":32549263623847936,"45":859202396518164480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141078016001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:23:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:23:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32549263623847936,"km_value":32549263623847.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":859202396518164480,"description":"Unknown IO ID 45"} 
[2026-09-17 08:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141078016001,"power":14678,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":859202396518164480}} 
[2026-09-17 08:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":186312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854098,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:23:33] local.INFO: GPS data processed {"connection_id":186312,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:23:33] local.INFO: Acknowledgment sent {"connection_id":186312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:23:36] local.INFO: TCP Data received {"connection_id":187642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:23:36] local.INFO: Processing buffer {"connection_id":187642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:23:36] local.INFO: Packet analysis {"connection_id":187642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:23:36] local.INFO: Extracted packet for processing {"connection_id":187642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:23:36] 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-09-17 08:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":187642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:23:36] local.INFO: GPS data processed {"connection_id":187642,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:23:36] local.INFO: Acknowledgment sent {"connection_id":187642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:23:57] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:23:57] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:23:57] local.INFO: IMEI packet received {"connection_id":186314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":186314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:23:58] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:23:58] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:23:58] local.INFO: IMEI packet received {"connection_id":186314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":186314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:23:58] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:23:58] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:23:58] local.INFO: IMEI packet received {"connection_id":185026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":185026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:24:00] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:24:00] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:24:00] local.INFO: IMEI packet received {"connection_id":186314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":186314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:24:02] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:24:02] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:24:02] local.INFO: IMEI packet received {"connection_id":186314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":186314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:24:03] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad486148012d0bf7c00702a0300000004408..."} 
[2026-09-17 08:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad486148012d0bf7c00702a0300000004408..."} 
[2026-09-17 08:24:03] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad486148012d0bf7c00702a0300000004408..."} 
[2026-09-17 08:24:03] local.INFO: Packet analysis {"connection_id":186314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad48"} 
[2026-09-17 08:24:03] local.INFO: Extracted packet for processing {"connection_id":186314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad48"} 
[2026-09-17 08:24:03] local.INFO: GPS Element Parsed {"raw_longitude":755759040,"raw_latitude":117612592,"longitude_deg":75.575904,"latitude_deg":11.7612592,"altitude":0,"angle":68,"satellites":8,"speed":10,"hex_longitude":"2d0bf7c0","hex_latitude":"0702a030","is_valid_coordinates":true} 
[2026-09-17 08:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141080320001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32549293688619008,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861806040052635648,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789613597000,"timestamp_ms":1789613597000,"timestamp_seconds":1789613597,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad486148"} 
[2026-09-17 08:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 08:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141080320001,"66":14439,"37":206,"94":11008,"24":10,"16":32549293688619008,"45":861806040052635648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141080320001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:24:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:24:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32549293688619008,"km_value":32549293688619.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":861806040052635648,"description":"Unknown IO ID 45"} 
[2026-09-17 08:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141080320001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":861806040052635648}} 
[2026-09-17 08:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":186314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854100,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:24:03] local.INFO: GPS data processed {"connection_id":186314,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:24:03] local.INFO: Acknowledgment sent {"connection_id":186314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:24:03] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:24:03] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:24:03] local.INFO: IMEI packet received {"connection_id":185026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":185026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:24:04] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:24:04] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:24:04] local.INFO: Packet analysis {"connection_id":185026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:24:04] local.INFO: Extracted packet for processing {"connection_id":185026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:24:04] 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-09-17 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":185026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:24:04] local.INFO: GPS data processed {"connection_id":185026,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:24:04] local.INFO: Acknowledgment sent {"connection_id":185026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:24:34] local.INFO: TCP Data received {"connection_id":186314,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad486918012d0bf9800702a1380000003908..."} 
[2026-09-17 08:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad486918012d0bf9800702a1380000003908..."} 
[2026-09-17 08:24:34] local.INFO: Processing buffer {"connection_id":186314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad486918012d0bf9800702a1380000003908..."} 
[2026-09-17 08:24:34] local.INFO: Packet analysis {"connection_id":186314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad48"} 
[2026-09-17 08:24:34] local.INFO: Extracted packet for processing {"connection_id":186314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad48"} 
[2026-09-17 08:24:34] local.INFO: GPS Element Parsed {"raw_longitude":755759488,"raw_latitude":117612856,"longitude_deg":75.5759488,"latitude_deg":11.7612856,"altitude":0,"angle":57,"satellites":8,"speed":9,"hex_longitude":"2d0bf980","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-17 08:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141080832001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32549315163455488,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862368990006095872,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789613599000,"timestamp_ms":1789613599000,"timestamp_seconds":1789613599,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad486918"} 
[2026-09-17 08:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 08:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141080832001,"66":14439,"37":206,"94":11008,"24":9,"16":32549315163455488,"45":862368990006095872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141080832001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:24:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:24:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32549315163455488,"km_value":32549315163455.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":862368990006095872,"description":"Unknown IO ID 45"} 
[2026-09-17 08:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141080832001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":862368990006095872}} 
[2026-09-17 08:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":186314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854102,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:24:35] local.INFO: GPS data processed {"connection_id":186314,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:24:35] local.INFO: Acknowledgment sent {"connection_id":186314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:24:36] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:24:36] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:24:36] local.INFO: Packet analysis {"connection_id":185026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:24:36] local.INFO: Extracted packet for processing {"connection_id":185026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:24:36] 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-09-17 08:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":185026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:24:36] local.INFO: GPS data processed {"connection_id":185026,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:24:36] local.INFO: Acknowledgment sent {"connection_id":185026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:24:57] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:24:57] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:24:57] local.INFO: IMEI packet received {"connection_id":187643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":187643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:24:59] local.INFO: TCP Data received {"connection_id":186315,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:24:59] local.INFO: Processing buffer {"connection_id":186315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:24:59] local.INFO: IMEI packet received {"connection_id":186315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":186315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:25:00] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:25:00] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:25:00] local.INFO: IMEI packet received {"connection_id":187643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":187643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:25:02] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:25:02] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:25:02] local.INFO: IMEI packet received {"connection_id":187643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":187643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:25:03] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4991f8012d0c28400702a798000000670c..."} 
[2026-09-17 08:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4991f8012d0c28400702a798000000670c..."} 
[2026-09-17 08:25:03] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4991f8012d0c28400702a798000000670c..."} 
[2026-09-17 08:25:03] local.INFO: Packet analysis {"connection_id":187643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad49"} 
[2026-09-17 08:25:03] local.INFO: Extracted packet for processing {"connection_id":187643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad49"} 
[2026-09-17 08:25:03] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117614488,"longitude_deg":75.5771456,"latitude_deg":11.7614488,"altitude":0,"angle":103,"satellites":12,"speed":4,"hex_longitude":"2d0c2840","hex_latitude":"0702a798","is_valid_coordinates":true} 
[2026-09-17 08:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141100544001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32549946523648000,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875950157632868352,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789613675000,"timestamp_ms":1789613675000,"timestamp_seconds":1789613675,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4991f8"} 
[2026-09-17 08:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 08:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141100544001,"66":14537,"37":206,"94":11008,"24":4,"16":32549946523648000,"45":875950157632868352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141100544001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:25:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:25:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32549946523648000,"km_value":32549946523648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":875950157632868352,"description":"Unknown IO ID 45"} 
[2026-09-17 08:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141100544001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":875950157632868352}} 
[2026-09-17 08:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":187643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:25:03] local.INFO: GPS data processed {"connection_id":187643,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:25:03] local.INFO: Acknowledgment sent {"connection_id":187643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:25:03] local.INFO: TCP Data received {"connection_id":186315,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:25:03] local.INFO: Processing buffer {"connection_id":186315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:25:03] local.INFO: IMEI packet received {"connection_id":186315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":186315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:25:04] local.INFO: TCP Data received {"connection_id":186315,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:25:04] local.INFO: Processing buffer {"connection_id":186315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:25:04] local.INFO: Packet analysis {"connection_id":186315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:25:04] local.INFO: Extracted packet for processing {"connection_id":186315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:25:04] 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-09-17 08:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":186315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:25:04] local.INFO: GPS data processed {"connection_id":186315,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:25:04] local.INFO: Acknowledgment sent {"connection_id":186315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:25:34] local.INFO: TCP Data received {"connection_id":187643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4999c8012d0c29000702a7c0000000550c..."} 
[2026-09-17 08:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4999c8012d0c29000702a7c0000000550c..."} 
[2026-09-17 08:25:34] local.INFO: Processing buffer {"connection_id":187643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4999c8012d0c29000702a7c0000000550c..."} 
[2026-09-17 08:25:34] local.INFO: Packet analysis {"connection_id":187643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad49"} 
[2026-09-17 08:25:34] local.INFO: Extracted packet for processing {"connection_id":187643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad49"} 
[2026-09-17 08:25:34] local.INFO: GPS Element Parsed {"raw_longitude":755771648,"raw_latitude":117614528,"longitude_deg":75.5771648,"latitude_deg":11.7614528,"altitude":0,"angle":85,"satellites":12,"speed":2,"hex_longitude":"2d0c2900","hex_latitude":"0702a7c0","is_valid_coordinates":true} 
[2026-09-17 08:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141100800001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32549955113582592,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377048064,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789613677000,"timestamp_ms":1789613677000,"timestamp_seconds":1789613677,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4999c8"} 
[2026-09-17 08:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 08:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141100800001,"66":14450,"37":206,"94":11008,"24":2,"16":32549955113582592,"45":876020526377048064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141100800001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:25:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:25:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32549955113582592,"km_value":32549955113582.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377048064,"description":"Unknown IO ID 45"} 
[2026-09-17 08:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141100800001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":876020526377048064}} 
[2026-09-17 08:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":187643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854106,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:25:34] local.INFO: GPS data processed {"connection_id":187643,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:25:34] local.INFO: Acknowledgment sent {"connection_id":187643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:25:36] local.INFO: TCP Data received {"connection_id":186315,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:25:36] local.INFO: Processing buffer {"connection_id":186315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:25:36] local.INFO: Packet analysis {"connection_id":186315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:25:36] local.INFO: Extracted packet for processing {"connection_id":186315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:25:36] 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-09-17 08:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":186315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:25:36] local.INFO: GPS data processed {"connection_id":186315,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:25:36] local.INFO: Acknowledgment sent {"connection_id":186315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:25:49] local.INFO: TCP Data received {"connection_id":187644,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187644,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:25:49] local.INFO: Processing buffer {"connection_id":187644,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:25:49] local.INFO: IMEI packet received {"connection_id":187644,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":187644,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:25:50] local.INFO: TCP Data received {"connection_id":187644,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4a45a8012d7bda4005e482e0000e00212e..."} 
[2026-09-17 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4a45a8012d7bda4005e482e0000e00212e..."} 
[2026-09-17 08:25:50] local.INFO: Processing buffer {"connection_id":187644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4a45a8012d7bda4005e482e0000e00212e..."} 
[2026-09-17 08:25:50] local.INFO: Packet analysis {"connection_id":187644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4a"} 
[2026-09-17 08:25:50] local.INFO: Extracted packet for processing {"connection_id":187644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4a"} 
[2026-09-17 08:25:50] local.INFO: GPS Element Parsed {"raw_longitude":763091520,"raw_latitude":98861792,"longitude_deg":76.309152,"latitude_deg":9.8861792,"altitude":14,"angle":33,"satellites":46,"speed":53,"hex_longitude":"2d7bda40","hex_latitude":"05e482e0","is_valid_coordinates":true} 
[2026-09-17 08:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141110528001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134050537808068608,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918605031127836672,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789613721000,"timestamp_ms":1789613721000,"timestamp_seconds":1789613721,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4a45a8"} 
[2026-09-17 08:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2907269864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-5881701061804020992,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2147869640,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3820699648,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.WARNING: Large IO value detected {"io_id":73,"raw_value":6577508550628163589,"note":"Value kept but may cause issues"} 
[2026-09-17 08:25:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,61,160,3,45,67,12,43,10,66,224,192,36,60,1,240,116,227,173,4,113,205,46,126,95,41,239,52,2,220,5,11,35,7,73],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-17 08:25:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864727601320230912,"timestamp_seconds":864727601320230.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141110528001,"66":13450,"208":206,"85":15104,"24":53,"16":134050537808068608,"45":8918605031127836672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141110528001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:25:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134050537808068608,"km_value":134050537808068.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918605031127836672,"description":"Unknown IO ID 45"} 
[2026-09-17 08:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141110528001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8918605031127836672}} 
[2026-09-17 08:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":187644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:25:50] local.INFO: GPS data processed {"connection_id":187644,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:25:50] local.INFO: Acknowledgment sent {"connection_id":187644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:25:57] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:25:57] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:25:57] local.INFO: IMEI packet received {"connection_id":187646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":187646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:25:58] local.INFO: TCP Data received {"connection_id":187645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:25:58] local.INFO: Processing buffer {"connection_id":187645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:25:58] local.INFO: IMEI packet received {"connection_id":187645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":187645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:26:01] local.INFO: TCP Data received {"connection_id":185028,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 08:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185028,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 08:26:01] local.INFO: Processing buffer {"connection_id":185028,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 08:26:01] local.INFO: Packet analysis {"connection_id":185028,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 08:26:01] local.INFO: Extracted packet for processing {"connection_id":185028,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 08:26:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 08:26:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:01] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 08:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 08:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 08:26:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185028,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 08:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185028,"device_imei":null,"avl_records_count":1} 
[2026-09-17 08:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185028,"device_imei":null,"avl_records_count":1} 
[2026-09-17 08:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":185028,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:26:01] local.INFO: GPS data processed {"connection_id":185028,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:26:01] local.INFO: Acknowledgment sent {"connection_id":185028,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:26:02] local.INFO: TCP Data received {"connection_id":186316,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186316,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 08:26:02] local.INFO: Processing buffer {"connection_id":186316,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 08:26:02] local.INFO: Packet analysis {"connection_id":186316,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 08:26:02] local.INFO: Extracted packet for processing {"connection_id":186316,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 08:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 08:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:02] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 08:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 08:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 08:26:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186316,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 08:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186316,"device_imei":null,"avl_records_count":1} 
[2026-09-17 08:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186316,"device_imei":null,"avl_records_count":1} 
[2026-09-17 08:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":186316,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 08:26:02] local.INFO: GPS data processed {"connection_id":186316,"processed":0,"errors":0,"total":1} 
[2026-09-17 08:26:02] local.INFO: Acknowledgment sent {"connection_id":186316,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:26:02] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:26:02] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:26:02] local.INFO: IMEI packet received {"connection_id":187646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":187646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:26:03] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad49a198012d0c29400702a7c00000006f0c..."} 
[2026-09-17 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad49a198012d0c29400702a7c00000006f0c..."} 
[2026-09-17 08:26:03] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad49a198012d0c29400702a7c00000006f0c..."} 
[2026-09-17 08:26:03] local.INFO: Packet analysis {"connection_id":187646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad49"} 
[2026-09-17 08:26:03] local.INFO: Extracted packet for processing {"connection_id":187646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad49"} 
[2026-09-17 08:26:03] local.INFO: GPS Element Parsed {"raw_longitude":755771712,"raw_latitude":117614528,"longitude_deg":75.5771712,"latitude_deg":11.7614528,"altitude":0,"angle":111,"satellites":12,"speed":0,"hex_longitude":"2d0c2940","hex_latitude":"0702a7c0","is_valid_coordinates":true} 
[2026-09-17 08:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141101312001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32549959408549888,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876231632609591296,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789613679000,"timestamp_ms":1789613679000,"timestamp_seconds":1789613679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad49a198"} 
[2026-09-17 08:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141101312001,"66":14450,"37":206,"94":11008,"24":0,"16":32549959408549888,"45":876231632609591296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141101312001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:26:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:26:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32549959408549888,"km_value":32549959408549.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":876231632609591296,"description":"Unknown IO ID 45"} 
[2026-09-17 08:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141101312001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876231632609591296}} 
[2026-09-17 08:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":187646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854109,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:26:03] local.INFO: GPS data processed {"connection_id":187646,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:26:03] local.INFO: Acknowledgment sent {"connection_id":187646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:26:03] local.INFO: TCP Data received {"connection_id":187645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:26:03] local.INFO: Processing buffer {"connection_id":187645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:26:03] local.INFO: IMEI packet received {"connection_id":187645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":187645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:26:05] local.INFO: TCP Data received {"connection_id":187645,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:26:05] local.INFO: Processing buffer {"connection_id":187645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:26:05] local.INFO: Packet analysis {"connection_id":187645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:26:05] local.INFO: Extracted packet for processing {"connection_id":187645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":187645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:26:05] local.INFO: GPS data processed {"connection_id":187645,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:26:05] local.INFO: Acknowledgment sent {"connection_id":187645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:26:21] local.INFO: TCP Data received {"connection_id":187644,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4a6100012d7bee4005e4a1b0000c00202d..."} 
[2026-09-17 08:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4a6100012d7bee4005e4a1b0000c00202d..."} 
[2026-09-17 08:26:21] local.INFO: Processing buffer {"connection_id":187644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4a6100012d7bee4005e4a1b0000c00202d..."} 
[2026-09-17 08:26:21] local.INFO: Packet analysis {"connection_id":187644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4a"} 
[2026-09-17 08:26:21] local.INFO: Extracted packet for processing {"connection_id":187644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4a"} 
[2026-09-17 08:26:21] local.INFO: GPS Element Parsed {"raw_longitude":763096640,"raw_latitude":98869680,"longitude_deg":76.309664,"latitude_deg":9.886968,"altitude":12,"angle":32,"satellites":45,"speed":51,"hex_longitude":"2d7bee40","hex_latitude":"05e4a1b0","is_valid_coordinates":true} 
[2026-09-17 08:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141112576001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134050993074601984,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924516005640855552,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789613728000,"timestamp_ms":1789613728000,"timestamp_seconds":1789613728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4a6100"} 
[2026-09-17 08:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 08:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141112576001,"66":13135,"208":206,"85":15104,"24":51,"16":134050993074601984,"45":8924516005640855552},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 08:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141112576001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:26:21] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 08:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 08:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134050993074601984,"km_value":134050993074601.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924516005640855552,"description":"Unknown IO ID 45"} 
[2026-09-17 08:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141112576001,"power":13135,"unknown_208":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8924516005640855552}} 
[2026-09-17 08:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":187644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:26:21] local.INFO: GPS data processed {"connection_id":187644,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:26:21] local.INFO: Acknowledgment sent {"connection_id":187644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:26:34] local.INFO: TCP Data received {"connection_id":187646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad49efb8012d0c29800702a7d80000006f0c..."} 
[2026-09-17 08:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad49efb8012d0c29800702a7d80000006f0c..."} 
[2026-09-17 08:26:34] local.INFO: Processing buffer {"connection_id":187646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad49efb8012d0c29800702a7d80000006f0c..."} 
[2026-09-17 08:26:34] local.INFO: Packet analysis {"connection_id":187646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad49"} 
[2026-09-17 08:26:34] local.INFO: Extracted packet for processing {"connection_id":187646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad49"} 
[2026-09-17 08:26:34] local.INFO: GPS Element Parsed {"raw_longitude":755771776,"raw_latitude":117614552,"longitude_deg":75.5771776,"latitude_deg":11.7614552,"altitude":0,"angle":111,"satellites":12,"speed":0,"hex_longitude":"2d0c2980","hex_latitude":"0702a7d8","is_valid_coordinates":true} 
[2026-09-17 08:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141101824001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32549963703517184,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876302001353768960,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789613699000,"timestamp_ms":1789613699000,"timestamp_seconds":1789613699,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad49efb8"} 
[2026-09-17 08:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141101824001,"66":14515,"37":206,"94":11008,"24":0,"16":32549963703517184,"45":876302001353768960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141101824001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:26:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:26:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32549963703517184,"km_value":32549963703517.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":876302001353768960,"description":"Unknown IO ID 45"} 
[2026-09-17 08:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141101824001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876302001353768960}} 
[2026-09-17 08:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":187646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:26:34] local.INFO: GPS data processed {"connection_id":187646,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:26:34] local.INFO: Acknowledgment sent {"connection_id":187646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:26:36] local.INFO: TCP Data received {"connection_id":187645,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:26:36] local.INFO: Processing buffer {"connection_id":187645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:26:36] local.INFO: Packet analysis {"connection_id":187645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:26:36] local.INFO: Extracted packet for processing {"connection_id":187645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":187645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:26:36] local.INFO: GPS data processed {"connection_id":187645,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:26:36] local.INFO: Acknowledgment sent {"connection_id":187645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:26:41] local.INFO: TCP Data received {"connection_id":184915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:26:41] local.INFO: Processing buffer {"connection_id":184915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:26:41] local.INFO: IMEI packet received {"connection_id":184915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":184915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:26:43] local.INFO: TCP Data received {"connection_id":184915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:26:43] local.INFO: Processing buffer {"connection_id":184915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:26:43] local.INFO: IMEI packet received {"connection_id":184915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":184915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:26:47] local.INFO: TCP Data received {"connection_id":184915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:26:47] local.INFO: Processing buffer {"connection_id":184915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:26:47] local.INFO: IMEI packet received {"connection_id":184915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":184915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:26:48] local.INFO: TCP Data received {"connection_id":184915,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4a8040012d7c038005e4c228000900212e..."} 
[2026-09-17 08:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4a8040012d7c038005e4c228000900212e..."} 
[2026-09-17 08:26:48] local.INFO: Processing buffer {"connection_id":184915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4a8040012d7c038005e4c228000900212e..."} 
[2026-09-17 08:26:48] local.INFO: Packet analysis {"connection_id":184915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4a"} 
[2026-09-17 08:26:48] local.INFO: Extracted packet for processing {"connection_id":184915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4a"} 
[2026-09-17 08:26:48] local.INFO: GPS Element Parsed {"raw_longitude":763102080,"raw_latitude":98877992,"longitude_deg":76.310208,"latitude_deg":9.8877992,"altitude":9,"angle":33,"satellites":46,"speed":47,"hex_longitude":"2d7c0380","hex_latitude":"05e4c228","is_valid_coordinates":true} 
[2026-09-17 08:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141114368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134051474110939136,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930145505177088000,"note":"Value kept but may cause issues"} 
[2026-09-17 08:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789613736000,"timestamp_ms":1789613736000,"timestamp_seconds":1789613736,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4a8040"} 
[2026-09-17 08:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 08:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":184915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":184915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":184915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141114368001,"66":13319,"39":206,"87":13824,"24":47,"16":134051474110939136,"45":8930145505177088000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-17 08:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141114368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:26:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 08:26:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134051474110939136,"km_value":134051474110939.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930145505177088000,"description":"Unknown IO ID 45"} 
[2026-09-17 08:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141114368001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8930145505177088000}} 
[2026-09-17 08:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":184915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:26:48] local.INFO: GPS data processed {"connection_id":184915,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:26:48] local.INFO: Acknowledgment sent {"connection_id":184915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:26:57] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:26:57] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:26:57] local.INFO: IMEI packet received {"connection_id":186317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":186317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:26:58] local.INFO: TCP Data received {"connection_id":185030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:26:58] local.INFO: Processing buffer {"connection_id":185030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:26:58] local.INFO: IMEI packet received {"connection_id":185030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":185030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:26:59] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:26:59] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:26:59] local.INFO: IMEI packet received {"connection_id":186317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":186317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:27:00] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.109.136.5","data_length":93,"data_hex":"00000000000000518e01000001a0ad4a41c0012d0c29800702a7d80000006f11..."} 
[2026-09-17 08:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":93,"packet_hex":"00000000000000518e01000001a0ad4a41c0012d0c29800702a7d80000006f11..."} 
[2026-09-17 08:27:00] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0ad4a41c0012d0c29800702a7d80000006f11..."} 
[2026-09-17 08:27:00] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0ad4a"} 
[2026-09-17 08:27:00] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0ad4a"} 
[2026-09-17 08:27:00] local.INFO: GPS Element Parsed {"raw_longitude":755771776,"raw_latitude":117614552,"longitude_deg":75.5771776,"latitude_deg":11.7614552,"altitude":0,"angle":111,"satellites":17,"speed":0,"hex_longitude":"2d0c2980","hex_latitude":"0702a7d8","is_valid_coordinates":true} 
[2026-09-17 08:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-17 08:27:00] 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-09-17 08:27:00] 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-09-17 08:27:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:27:00] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 08:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 08:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-17 08:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-17 08:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 08:27:00] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 08:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 08:27:00] local.ERROR: GPS data processing failed {"connection_id":186317,"error":"No valid data to process"} 
[2026-09-17 08:27:00] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 08:27:03] local.INFO: TCP Data received {"connection_id":185030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:27:03] local.INFO: Processing buffer {"connection_id":185030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:27:03] local.INFO: IMEI packet received {"connection_id":185030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":185030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:27:05] local.INFO: TCP Data received {"connection_id":185030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:27:05] local.INFO: Processing buffer {"connection_id":185030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:27:05] local.INFO: Packet analysis {"connection_id":185030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:27:05] local.INFO: Extracted packet for processing {"connection_id":185030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:27:05] 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-09-17 08:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":185030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:27:05] local.INFO: GPS data processed {"connection_id":185030,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:27:05] local.INFO: Acknowledgment sent {"connection_id":185030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:27:16] local.INFO: TCP Data received {"connection_id":185029,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:27:16] local.INFO: Processing buffer {"connection_id":185029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:27:16] local.INFO: IMEI packet received {"connection_id":185029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":185029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:27:19] local.INFO: TCP Data received {"connection_id":184915,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4aab38012d7c180005e4dff0000400222d..."} 
[2026-09-17 08:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4aab38012d7c180005e4dff0000400222d..."} 
[2026-09-17 08:27:19] local.INFO: Processing buffer {"connection_id":184915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4aab38012d7c180005e4dff0000400222d..."} 
[2026-09-17 08:27:19] local.INFO: Packet analysis {"connection_id":184915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4a"} 
[2026-09-17 08:27:19] local.INFO: Extracted packet for processing {"connection_id":184915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4a"} 
[2026-09-17 08:27:19] local.INFO: GPS Element Parsed {"raw_longitude":763107328,"raw_latitude":98885616,"longitude_deg":76.3107328,"latitude_deg":9.8885616,"altitude":4,"angle":34,"satellites":45,"speed":22,"hex_longitude":"2d7c1800","hex_latitude":"05e4dff0","is_valid_coordinates":true} 
[2026-09-17 08:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141116416001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134051920787537920,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936126848434317312,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789613747000,"timestamp_ms":1789613747000,"timestamp_seconds":1789613747,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4aab38"} 
[2026-09-17 08:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2907291864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-1799188008182732032,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3221611556,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825651712,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.WARNING: Large IO value detected {"io_id":73,"raw_value":-6802685942286761979,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:19] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,39,87,24,241,157,16,63,160,97,45,64,161,12,10,66,208,85,62,69,130,14,46,38,1,240,7,227,61,173,228,4,113,205,40,224,156,43,239,52,2,220,5,48,116,73],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-17 08:27:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648554827796643840,"timestamp_seconds":648554827796643.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":184915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":184915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":184915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141116416001,"66":12798,"39":206,"87":13824,"24":22,"16":134051920787537920,"45":8936126848434317312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-17 08:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141116416001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:27:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 08:27:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134051920787537920,"km_value":134051920787537.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936126848434317312,"description":"Unknown IO ID 45"} 
[2026-09-17 08:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141116416001,"power":12798,"unknown_39":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8936126848434317312}} 
[2026-09-17 08:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":184915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:27:19] local.INFO: GPS data processed {"connection_id":184915,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:27:19] local.INFO: Acknowledgment sent {"connection_id":184915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:27:31] local.INFO: TCP Data received {"connection_id":186317,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c1680012d0c29c00702ab980000013d17..."} 
[2026-09-17 08:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c1680012d0c29c00702ab980000013d17..."} 
[2026-09-17 08:27:31] local.INFO: Processing buffer {"connection_id":186317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c1680012d0c29c00702ab980000013d17..."} 
[2026-09-17 08:27:31] local.INFO: Packet analysis {"connection_id":186317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:27:31] local.INFO: Extracted packet for processing {"connection_id":186317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:27:31] local.INFO: GPS Element Parsed {"raw_longitude":755771840,"raw_latitude":117615512,"longitude_deg":75.577184,"latitude_deg":11.7615512,"altitude":0,"angle":317,"satellites":23,"speed":9,"hex_longitude":"2d0c29c0","hex_latitude":"0702ab98","is_valid_coordinates":true} 
[2026-09-17 08:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141142784001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32550023833059328,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876653845074870272,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789613840000,"timestamp_ms":1789613840000,"timestamp_seconds":1789613840,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c1680"} 
[2026-09-17 08:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141142784001,"66":14450,"37":206,"94":11008,"24":9,"16":32550023833059328,"45":876653845074870272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141142784001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:27:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:27:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32550023833059328,"km_value":32550023833059.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":876653845074870272,"description":"Unknown IO ID 45"} 
[2026-09-17 08:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141142784001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":876653845074870272}} 
[2026-09-17 08:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":186317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854117,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:27:31] local.INFO: GPS data processed {"connection_id":186317,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:27:31] local.INFO: Acknowledgment sent {"connection_id":186317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:27:36] local.INFO: TCP Data received {"connection_id":185030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:27:36] local.INFO: Processing buffer {"connection_id":185030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad476b30012d34c3c006aa4458000c011729..."} 
[2026-09-17 08:27:36] local.INFO: Packet analysis {"connection_id":185030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:27:36] local.INFO: Extracted packet for processing {"connection_id":185030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad47"} 
[2026-09-17 08:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458140987648001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613534000,"timestamp_ms":1789613534000,"timestamp_seconds":1789613534,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad476b30"} 
[2026-09-17 08:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:27:36] 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-09-17 08:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458140987648001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458140987648001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458140987648001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":185030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:27:36] local.INFO: GPS data processed {"connection_id":185030,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:27:36] local.INFO: Acknowledgment sent {"connection_id":185030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:27:38] local.INFO: TCP Data received {"connection_id":184916,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:27:38] local.INFO: Processing buffer {"connection_id":184916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:27:38] local.INFO: IMEI packet received {"connection_id":184916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":184916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:27:45] local.INFO: TCP Data received {"connection_id":184916,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:27:45] local.INFO: Processing buffer {"connection_id":184916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:27:45] local.INFO: IMEI packet received {"connection_id":184916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":184916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:27:46] local.INFO: TCP Data received {"connection_id":184916,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c39a8012d7c090005e5c5100007014b25..."} 
[2026-09-17 08:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c39a8012d7c090005e5c5100007014b25..."} 
[2026-09-17 08:27:46] local.INFO: Processing buffer {"connection_id":184916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c39a8012d7c090005e5c5100007014b25..."} 
[2026-09-17 08:27:46] local.INFO: Packet analysis {"connection_id":184916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:27:46] local.INFO: Extracted packet for processing {"connection_id":184916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:27:46] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":98944272,"longitude_deg":76.3103488,"latitude_deg":9.8944272,"altitude":7,"angle":331,"satellites":37,"speed":42,"hex_longitude":"2d7c0900","hex_latitude":"05e5c510","is_valid_coordinates":true} 
[2026-09-17 08:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141142784001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134055026048892928,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942319297936756736,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789613849000,"timestamp_ms":1789613849000,"timestamp_seconds":1789613849,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c39a8"} 
[2026-09-17 08:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-17 08:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141142784001,"66":13461,"39":206,"87":13824,"24":42,"16":134055026048892928,"45":8942319297936756736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-17 08:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141142784001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:27:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 08:27:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134055026048892928,"km_value":134055026048892.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942319297936756736,"description":"Unknown IO ID 45"} 
[2026-09-17 08:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141142784001,"power":13461,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8942319297936756736}} 
[2026-09-17 08:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":184916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:27:46] local.INFO: GPS data processed {"connection_id":184916,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:27:46] local.INFO: Acknowledgment sent {"connection_id":184916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:27:47] local.INFO: TCP Data received {"connection_id":184916,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c4948012d7bff4005e5d2b00006013d28..."} 
[2026-09-17 08:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c4948012d7bff4005e5d2b00006013d28..."} 
[2026-09-17 08:27:47] local.INFO: Processing buffer {"connection_id":184916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c4948012d7bff4005e5d2b00006013d28..."} 
[2026-09-17 08:27:47] local.INFO: Packet analysis {"connection_id":184916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:27:47] local.INFO: Extracted packet for processing {"connection_id":184916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763100992,"raw_latitude":98947760,"longitude_deg":76.3100992,"latitude_deg":9.894776,"altitude":6,"angle":317,"satellites":40,"speed":42,"hex_longitude":"2d7bff40","hex_latitude":"05e5d2b0","is_valid_coordinates":true} 
[2026-09-17 08:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141145344001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134055232207323136,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960823193600,"note":"Value kept but may cause issues"} 
[2026-09-17 08:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789613853000,"timestamp_ms":1789613853000,"timestamp_seconds":1789613853,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c4948"} 
[2026-09-17 08:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-17 08:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":184916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":184916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":184916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141145344001,"66":13319,"39":206,"87":13824,"24":42,"16":134055232207323136,"45":8937674960823193600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-17 08:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141145344001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:27:47] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 08:27:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134055232207323136,"km_value":134055232207323.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960823193600,"description":"Unknown IO ID 45"} 
[2026-09-17 08:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141145344001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8937674960823193600}} 
[2026-09-17 08:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":184916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:27:47] local.INFO: GPS data processed {"connection_id":184916,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:27:47] local.INFO: Acknowledgment sent {"connection_id":184916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:27:51] local.INFO: TCP Data received {"connection_id":185031,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:27:51] local.INFO: Processing buffer {"connection_id":185031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:27:51] local.INFO: IMEI packet received {"connection_id":185031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":185031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:27:58] local.INFO: TCP Data received {"connection_id":184917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:27:58] local.INFO: Processing buffer {"connection_id":184917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:27:58] local.INFO: IMEI packet received {"connection_id":184917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":184917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:27:58] local.INFO: TCP Data received {"connection_id":184917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:27:58] local.INFO: Processing buffer {"connection_id":184917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:27:58] local.INFO: IMEI packet received {"connection_id":184917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":184917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:27:58] local.INFO: TCP Data received {"connection_id":187647,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:27:58] local.INFO: Processing buffer {"connection_id":187647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:27:58] local.INFO: IMEI packet received {"connection_id":187647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":187647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:28:02] local.INFO: TCP Data received {"connection_id":184917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:28:02] local.INFO: Processing buffer {"connection_id":184917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:28:02] local.INFO: IMEI packet received {"connection_id":184917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":184917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:28:03] local.INFO: TCP Data received {"connection_id":184917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c1e50012d0c28400702adc80000014917..."} 
[2026-09-17 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c1e50012d0c28400702adc80000014917..."} 
[2026-09-17 08:28:03] local.INFO: Processing buffer {"connection_id":184917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c1e50012d0c28400702adc80000014917..."} 
[2026-09-17 08:28:03] local.INFO: Packet analysis {"connection_id":184917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:03] local.INFO: Extracted packet for processing {"connection_id":184917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117616072,"longitude_deg":75.5771456,"latitude_deg":11.7616072,"altitude":0,"angle":329,"satellites":23,"speed":15,"hex_longitude":"2d0c2840","hex_latitude":"0702adc8","is_valid_coordinates":true} 
[2026-09-17 08:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141143040001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32550058192797696,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876442738842376192,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789613842000,"timestamp_ms":1789613842000,"timestamp_seconds":1789613842,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c1e50"} 
[2026-09-17 08:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":184917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":184917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":184917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141143040001,"66":14515,"37":206,"94":11008,"24":15,"16":32550058192797696,"45":876442738842376192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141143040001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:28:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:28:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32550058192797696,"km_value":32550058192797.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":876442738842376192,"description":"Unknown IO ID 45"} 
[2026-09-17 08:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141143040001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":876442738842376192}} 
[2026-09-17 08:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":184917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854121,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:28:03] local.INFO: GPS data processed {"connection_id":184917,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:28:03] local.INFO: Acknowledgment sent {"connection_id":184917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:28:03] local.INFO: TCP Data received {"connection_id":187647,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:28:03] local.INFO: Processing buffer {"connection_id":187647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:28:03] local.INFO: IMEI packet received {"connection_id":187647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":187647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:28:05] local.INFO: TCP Data received {"connection_id":187647,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:28:05] local.INFO: Processing buffer {"connection_id":187647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:28:05] local.INFO: Packet analysis {"connection_id":187647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:05] local.INFO: Extracted packet for processing {"connection_id":187647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:28:05] 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-09-17 08:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:28:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":187647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:28:05] local.INFO: GPS data processed {"connection_id":187647,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:28:05] local.INFO: Acknowledgment sent {"connection_id":187647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:28:18] local.INFO: TCP Data received {"connection_id":184916,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c6c70012d7be98005e5e6280006013128..."} 
[2026-09-17 08:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c6c70012d7be98005e5e6280006013128..."} 
[2026-09-17 08:28:18] local.INFO: Processing buffer {"connection_id":184916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c6c70012d7be98005e5e6280006013128..."} 
[2026-09-17 08:28:18] local.INFO: Packet analysis {"connection_id":184916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:18] local.INFO: Extracted packet for processing {"connection_id":184916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:18] local.INFO: GPS Element Parsed {"raw_longitude":763095424,"raw_latitude":98952744,"longitude_deg":76.3095424,"latitude_deg":9.8952744,"altitude":6,"angle":305,"satellites":40,"speed":26,"hex_longitude":"2d7be980","hex_latitude":"05e5e628","is_valid_coordinates":true} 
[2026-09-17 08:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141146368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134055592984576000,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934930579801157632,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789613862000,"timestamp_ms":1789613862000,"timestamp_seconds":1789613862,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c6c70"} 
[2026-09-17 08:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2907396864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3846662144,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2699907989516594432,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.WARNING: Large IO value detected {"io_id":75,"raw_value":1490692771529342981,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,39,87,24,241,157,16,66,160,57,45,197,7,37,10,18,128,164,5,38,65,204,1,240,29,227,173,229,4,113,205,122,50,41,239,2,220,3,22,35,75],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-17 08:28:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432694281215016960,"timestamp_seconds":432694281215016.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":184916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":184916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":184916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141146368001,"66":13178,"39":206,"87":13824,"24":26,"16":134055592984576000,"45":8934930579801157632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-17 08:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141146368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:28:18] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 08:28:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134055592984576000,"km_value":134055592984576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934930579801157632,"description":"Unknown IO ID 45"} 
[2026-09-17 08:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141146368001,"power":13178,"unknown_39":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8934930579801157632}} 
[2026-09-17 08:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":184916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:28:18] local.INFO: GPS data processed {"connection_id":184916,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:28:18] local.INFO: Acknowledgment sent {"connection_id":184916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:28:34] local.INFO: TCP Data received {"connection_id":184917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c2a08012d0c24c00702b5880000015617..."} 
[2026-09-17 08:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c2a08012d0c24c00702b5880000015617..."} 
[2026-09-17 08:28:34] local.INFO: Processing buffer {"connection_id":184917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c2a08012d0c24c00702b5880000015617..."} 
[2026-09-17 08:28:34] local.INFO: Packet analysis {"connection_id":184917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:34] local.INFO: Extracted packet for processing {"connection_id":184917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:34] local.INFO: GPS Element Parsed {"raw_longitude":755770560,"raw_latitude":117618056,"longitude_deg":75.577056,"latitude_deg":11.7618056,"altitude":0,"angle":342,"satellites":23,"speed":31,"hex_longitude":"2d0c24c0","hex_latitude":"0702b588","is_valid_coordinates":true} 
[2026-09-17 08:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141143552001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32550165566980096,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377453568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789613845000,"timestamp_ms":1789613845000,"timestamp_seconds":1789613845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c2a08"} 
[2026-09-17 08:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 08:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":184917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":184917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":184917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141143552001,"66":14439,"37":206,"94":11008,"24":31,"16":32550165566980096,"45":876020526377453568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 08:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141143552001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:28:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 08:28:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32550165566980096,"km_value":32550165566980.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377453568,"description":"Unknown IO ID 45"} 
[2026-09-17 08:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141143552001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":876020526377453568}} 
[2026-09-17 08:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":184917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854124,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:28:34] local.INFO: GPS data processed {"connection_id":184917,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:28:34] local.INFO: Acknowledgment sent {"connection_id":184917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:28:37] local.INFO: TCP Data received {"connection_id":187647,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:28:37] local.INFO: Processing buffer {"connection_id":187647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:28:37] local.INFO: Packet analysis {"connection_id":187647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:37] local.INFO: Extracted packet for processing {"connection_id":187647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:28:37] 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-09-17 08:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":187647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:28:37] local.INFO: GPS data processed {"connection_id":187647,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:28:37] local.INFO: Acknowledgment sent {"connection_id":187647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:28:38] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:28:38] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:28:38] local.INFO: IMEI packet received {"connection_id":187648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":187648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:28:44] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:28:44] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:28:44] local.INFO: IMEI packet received {"connection_id":187648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":187648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:28:44] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c7c10012d7be1c005e5ecb80006014026..."} 
[2026-09-17 08:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c7c10012d7be1c005e5ecb80006014026..."} 
[2026-09-17 08:28:44] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c7c10012d7be1c005e5ecb80006014026..."} 
[2026-09-17 08:28:44] local.INFO: Packet analysis {"connection_id":187648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:44] local.INFO: Extracted packet for processing {"connection_id":187648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763093440,"raw_latitude":98954424,"longitude_deg":76.309344,"latitude_deg":9.8954424,"altitude":6,"angle":320,"satellites":38,"speed":24,"hex_longitude":"2d7be1c0","hex_latitude":"05e5ecb8","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141148672001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134055717538627584,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928808499058976768,"note":"Value kept but may cause issues"} 
[2026-09-17 08:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789613866000,"timestamp_ms":1789613866000,"timestamp_seconds":1789613866,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c7c10"} 
[2026-09-17 08:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 08:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141148672001,"66":13319,"40":206,"87":13824,"24":24,"16":134055717538627584,"45":8928808499058976768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-17 08:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141148672001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:28:44] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-17 08:28:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134055717538627584,"km_value":134055717538627.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928808499058976768,"description":"Unknown IO ID 45"} 
[2026-09-17 08:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141148672001,"power":13319,"unknown_40":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8928808499058976768}} 
[2026-09-17 08:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":187648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:28:44] local.INFO: GPS data processed {"connection_id":187648,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:28:44] local.INFO: Acknowledgment sent {"connection_id":187648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:28:59] local.INFO: TCP Data received {"connection_id":184919,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:28:59] local.INFO: Processing buffer {"connection_id":184919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:28:59] local.INFO: IMEI packet received {"connection_id":184919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":184919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:28:59] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:28:59] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:28:59] local.INFO: IMEI packet received {"connection_id":186318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":186318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:29:00] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:29:00] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:29:00] local.INFO: IMEI packet received {"connection_id":186318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":186318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:29:02] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:29:02] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:29:02] local.INFO: IMEI packet received {"connection_id":186318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":186318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:29:03] local.INFO: TCP Data received {"connection_id":186318,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:29:03] local.INFO: Processing buffer {"connection_id":186318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:29:03] local.INFO: IMEI packet received {"connection_id":186318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":186318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:29:03] local.INFO: TCP Data received {"connection_id":184919,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:29:03] local.INFO: Processing buffer {"connection_id":184919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:29:03] local.INFO: IMEI packet received {"connection_id":184919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":184919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:29:05] local.INFO: TCP Data received {"connection_id":184919,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:29:05] local.INFO: Processing buffer {"connection_id":184919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:29:05] local.INFO: Packet analysis {"connection_id":184919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:29:05] local.INFO: Extracted packet for processing {"connection_id":184919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":184919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:29:05] local.INFO: GPS data processed {"connection_id":184919,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:29:05] local.INFO: Acknowledgment sent {"connection_id":184919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:29:16] local.INFO: TCP Data received {"connection_id":187648,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c8bb0012d7bdd0005e5f4900006014e26..."} 
[2026-09-17 08:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c8bb0012d7bdd0005e5f4900006014e26..."} 
[2026-09-17 08:29:16] local.INFO: Processing buffer {"connection_id":187648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c8bb0012d7bdd0005e5f4900006014e26..."} 
[2026-09-17 08:29:16] local.INFO: Packet analysis {"connection_id":187648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:29:16] local.INFO: Extracted packet for processing {"connection_id":187648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:29:16] local.INFO: GPS Element Parsed {"raw_longitude":763092224,"raw_latitude":98956432,"longitude_deg":76.3092224,"latitude_deg":9.8956432,"altitude":6,"angle":334,"satellites":38,"speed":22,"hex_longitude":"2d7bdd00","hex_latitude":"05e5f490","is_valid_coordinates":true} 
[2026-09-17 08:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141149696001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134055833502744576,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926627067989899264,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789613870000,"timestamp_ms":1789613870000,"timestamp_seconds":1789613870,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c8bb0"} 
[2026-09-17 08:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2907409864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":229,"raw_value":6264507103168964864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-17 08:29:16] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1208036732,"corrected_to":0} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3848239104,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":123,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.WARNING: Large IO value detected {"io_id":75,"raw_value":8809042166005547013,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:16] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,40,87,24,241,157,16,66,160,108,45,128,230,6,10,39,73,64,210,57,1,240,149,227,173,229,4,113,205,28,204,152,38,239,52,2,220,5,18,123,75],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":204,"original":1208036732,"validated":0}]} 
[2026-09-17 08:29:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432697571158786048,"timestamp_seconds":432697571158786.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141149696001,"66":12211,"40":206,"87":13824,"24":22,"16":134055833502744576,"45":8926627067989899264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-17 08:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141149696001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:29:16] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-17 08:29:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134055833502744576,"km_value":134055833502744.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926627067989899264,"description":"Unknown IO ID 45"} 
[2026-09-17 08:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141149696001,"power":12211,"unknown_40":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8926627067989899264}} 
[2026-09-17 08:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":187648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:29:16] local.INFO: GPS data processed {"connection_id":187648,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:29:16] local.INFO: Acknowledgment sent {"connection_id":187648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:29:36] local.INFO: TCP Data received {"connection_id":184919,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:29:36] local.INFO: Processing buffer {"connection_id":184919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:29:36] local.INFO: Packet analysis {"connection_id":184919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:29:36] local.INFO: Extracted packet for processing {"connection_id":184919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":184919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:29:36] local.INFO: GPS data processed {"connection_id":184919,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:29:36] local.INFO: Acknowledgment sent {"connection_id":184919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:29:38] local.INFO: TCP Data received {"connection_id":187649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:38] local.INFO: Processing buffer {"connection_id":187649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:38] local.INFO: IMEI packet received {"connection_id":187649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":187649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:29:39] local.INFO: TCP Data received {"connection_id":187649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:39] local.INFO: Processing buffer {"connection_id":187649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:39] local.INFO: IMEI packet received {"connection_id":187649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":187649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:29:43] local.INFO: TCP Data received {"connection_id":187649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:43] local.INFO: Processing buffer {"connection_id":187649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:43] local.INFO: IMEI packet received {"connection_id":187649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":187649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:29:43] local.INFO: TCP Data received {"connection_id":187649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:43] local.INFO: Processing buffer {"connection_id":187649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:29:43] local.INFO: IMEI packet received {"connection_id":187649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":187649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:29:44] local.INFO: TCP Data received {"connection_id":187649,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4e1638012d7b954005e6c0800007000826..."} 
[2026-09-17 08:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4e1638012d7b954005e6c0800007000826..."} 
[2026-09-17 08:29:44] local.INFO: Processing buffer {"connection_id":187649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4e1638012d7b954005e6c0800007000826..."} 
[2026-09-17 08:29:44] local.INFO: Packet analysis {"connection_id":187649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:29:44] local.INFO: Extracted packet for processing {"connection_id":187649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763073856,"raw_latitude":99008640,"longitude_deg":76.3073856,"latitude_deg":9.900864,"altitude":7,"angle":8,"satellites":38,"speed":26,"hex_longitude":"2d7b9540","hex_latitude":"05e6c080","is_valid_coordinates":true} 
[2026-09-17 08:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141176064001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134058539332141056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905023863540893696,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789613971000,"timestamp_ms":1789613971000,"timestamp_seconds":1789613971,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4e1638"} 
[2026-09-17 08:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 08:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:29: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-09-17 08:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141176064001,"66":13472,"95":206,"87":13824,"24":26,"16":134058539332141056,"45":8905023863540893696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 08:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141176064001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:29:44] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 08:29:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134058539332141056,"km_value":134058539332141.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905023863540893696,"description":"Unknown IO ID 45"} 
[2026-09-17 08:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141176064001,"power":13472,"unknown_95":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8905023863540893696}} 
[2026-09-17 08:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":187649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:29:44] local.INFO: GPS data processed {"connection_id":187649,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:29:44] local.INFO: Acknowledgment sent {"connection_id":187649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:29:46] local.INFO: TCP Data received {"connection_id":187649,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4e3190012d7b97c005e6cdf80007016326..."} 
[2026-09-17 08:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4e3190012d7b97c005e6cdf80007016326..."} 
[2026-09-17 08:29:46] local.INFO: Processing buffer {"connection_id":187649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4e3190012d7b97c005e6cdf80007016326..."} 
[2026-09-17 08:29:46] local.INFO: Packet analysis {"connection_id":187649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:29:46] local.INFO: Extracted packet for processing {"connection_id":187649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":763074496,"raw_latitude":99012088,"longitude_deg":76.3074496,"latitude_deg":9.9012088,"altitude":7,"angle":355,"satellites":38,"speed":9,"hex_longitude":"2d7b97c0","hex_latitude":"05e6cdf8","is_valid_coordinates":true} 
[2026-09-17 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141176576001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134058711130832896,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905094232285413376,"note":"Value kept but may cause issues"} 
[2026-09-17 08:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789613978000,"timestamp_ms":1789613978000,"timestamp_seconds":1789613978,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4e3190"} 
[2026-09-17 08:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 08:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141176576001,"66":13135,"95":206,"87":13824,"24":9,"16":134058711130832896,"45":8905094232285413376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 08:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141176576001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:29:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 08:29:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134058711130832896,"km_value":134058711130832.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905094232285413376,"description":"Unknown IO ID 45"} 
[2026-09-17 08:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141176576001,"power":13135,"unknown_95":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8905094232285413376}} 
[2026-09-17 08:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":187649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:29:46] local.INFO: GPS data processed {"connection_id":187649,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:29:46] local.INFO: Acknowledgment sent {"connection_id":187649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:29:58] local.INFO: TCP Data received {"connection_id":184921,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:29:58] local.INFO: Processing buffer {"connection_id":184921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:29:58] local.INFO: IMEI packet received {"connection_id":184921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":184921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:30:03] local.INFO: TCP Data received {"connection_id":184921,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:30:03] local.INFO: Processing buffer {"connection_id":184921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:30:03] local.INFO: IMEI packet received {"connection_id":184921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":184921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:30:04] local.INFO: TCP Data received {"connection_id":184921,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:30:04] local.INFO: Processing buffer {"connection_id":184921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:30:04] local.INFO: Packet analysis {"connection_id":184921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:30:04] local.INFO: Extracted packet for processing {"connection_id":184921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:30:04] 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-09-17 08:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":184921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:30:04] local.INFO: GPS data processed {"connection_id":184921,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:30:04] local.INFO: Acknowledgment sent {"connection_id":184921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:30:17] local.INFO: TCP Data received {"connection_id":187649,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4e3d48012d7b980005e6cfc00008000f26..."} 
[2026-09-17 08:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4e3d48012d7b980005e6cfc00008000f26..."} 
[2026-09-17 08:30:17] local.INFO: Processing buffer {"connection_id":187649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4e3d48012d7b980005e6cfc00008000f26..."} 
[2026-09-17 08:30:17] local.INFO: Packet analysis {"connection_id":187649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:30:17] local.INFO: Extracted packet for processing {"connection_id":187649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":763074560,"raw_latitude":99012544,"longitude_deg":76.307456,"latitude_deg":9.9012544,"altitude":8,"angle":15,"satellites":38,"speed":5,"hex_longitude":"2d7b9800","hex_latitude":"05e6cfc0","is_valid_coordinates":true} 
[2026-09-17 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141178368001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134058732605669376,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905797919728072704,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789613981000,"timestamp_ms":1789613981000,"timestamp_seconds":1789613981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4e3d48"} 
[2026-09-17 08:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 08:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141178368001,"66":13341,"95":206,"87":13824,"24":5,"16":134058732605669376,"45":8905797919728072704},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 08:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141178368001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:30:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 08:30:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134058732605669376,"km_value":134058732605669.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905797919728072704,"description":"Unknown IO ID 45"} 
[2026-09-17 08:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141178368001,"power":13341,"unknown_95":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8905797919728072704}} 
[2026-09-17 08:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":187649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:30:17] local.INFO: GPS data processed {"connection_id":187649,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:30:17] local.INFO: Acknowledgment sent {"connection_id":187649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:30:36] local.INFO: TCP Data received {"connection_id":184921,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:30:36] local.INFO: Processing buffer {"connection_id":184921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:30:36] local.INFO: Packet analysis {"connection_id":184921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:30:36] local.INFO: Extracted packet for processing {"connection_id":184921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:30:36] 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-09-17 08:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":184921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:30:36] local.INFO: GPS data processed {"connection_id":184921,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:30:36] local.INFO: Acknowledgment sent {"connection_id":184921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:30:40] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:30:40] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:30:40] local.INFO: IMEI packet received {"connection_id":187650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":187650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:30:44] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:30:44] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:30:44] local.INFO: IMEI packet received {"connection_id":187650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":187650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:30:48] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:30:48] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:30:48] local.INFO: IMEI packet received {"connection_id":187650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":187650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:30:49] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4e4900012d7b984005e6d2f00008016527..."} 
[2026-09-17 08:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4e4900012d7b984005e6d2f00008016527..."} 
[2026-09-17 08:30:49] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4e4900012d7b984005e6d2f00008016527..."} 
[2026-09-17 08:30:49] local.INFO: Packet analysis {"connection_id":187650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:30:49] local.INFO: Extracted packet for processing {"connection_id":187650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:30:49] local.INFO: GPS Element Parsed {"raw_longitude":763074624,"raw_latitude":99013360,"longitude_deg":76.3074624,"latitude_deg":9.901336,"altitude":8,"angle":357,"satellites":39,"speed":17,"hex_longitude":"2d7b9840","hex_latitude":"05e6d2f0","is_valid_coordinates":true} 
[2026-09-17 08:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141179136001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134058775555342336,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288472367104,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789613984000,"timestamp_ms":1789613984000,"timestamp_seconds":1789613984,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4e4900"} 
[2026-09-17 08:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 08:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141179136001,"66":13243,"95":206,"87":13824,"24":17,"16":134058775555342336,"45":8905868288472367104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 08:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141179136001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:30:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 08:30:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134058775555342336,"km_value":134058775555342.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288472367104,"description":"Unknown IO ID 45"} 
[2026-09-17 08:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141179136001,"power":13243,"unknown_95":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8905868288472367104}} 
[2026-09-17 08:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":187650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:30:49] local.INFO: GPS data processed {"connection_id":187650,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:30:49] local.INFO: Acknowledgment sent {"connection_id":187650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:30:50] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4e6458012d7b95c005e6e3d00008015724..."} 
[2026-09-17 08:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4e6458012d7b95c005e6e3d00008015724..."} 
[2026-09-17 08:30:50] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4e6458012d7b95c005e6e3d00008015724..."} 
[2026-09-17 08:30:50] local.INFO: Packet analysis {"connection_id":187650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:30:50] local.INFO: Extracted packet for processing {"connection_id":187650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":99017680,"longitude_deg":76.3073984,"latitude_deg":9.901768,"altitude":8,"angle":343,"satellites":36,"speed":27,"hex_longitude":"2d7b95c0","hex_latitude":"05e6e3d0","is_valid_coordinates":true} 
[2026-09-17 08:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141179904001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134058986008739840,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905938657216753664,"note":"Value kept but may cause issues"} 
[2026-09-17 08:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789613991000,"timestamp_ms":1789613991000,"timestamp_seconds":1789613991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4e6458"} 
[2026-09-17 08:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 08:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141179904001,"66":13428,"95":206,"87":13824,"24":27,"16":134058986008739840,"45":8905938657216753664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 08:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141179904001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:30:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 08:30:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134058986008739840,"km_value":134058986008739.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905938657216753664,"description":"Unknown IO ID 45"} 
[2026-09-17 08:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141179904001,"power":13428,"unknown_95":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8905938657216753664}} 
[2026-09-17 08:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":187650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:30:50] local.INFO: GPS data processed {"connection_id":187650,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:30:50] local.INFO: Acknowledgment sent {"connection_id":187650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:30:58] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:30:58] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:30:58] local.INFO: IMEI packet received {"connection_id":186320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":186320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:31:03] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:31:03] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:31:03] local.INFO: IMEI packet received {"connection_id":186320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":186320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:31:08] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:31:08] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:31:08] local.INFO: IMEI packet received {"connection_id":186320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":186320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:31:09] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:31:09] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:31:09] local.INFO: Packet analysis {"connection_id":186320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:31:09] local.INFO: Extracted packet for processing {"connection_id":186320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:31: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-09-17 08:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":186320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:31:09] local.INFO: GPS data processed {"connection_id":186320,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:31:09] local.INFO: Acknowledgment sent {"connection_id":186320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:31:21] local.INFO: TCP Data received {"connection_id":187650,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4e8f50012d7b888005e706000006015c24..."} 
[2026-09-17 08:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4e8f50012d7b888005e706000006015c24..."} 
[2026-09-17 08:31:21] local.INFO: Processing buffer {"connection_id":187650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4e8f50012d7b888005e706000006015c24..."} 
[2026-09-17 08:31:21] local.INFO: Packet analysis {"connection_id":187650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:31:21] local.INFO: Extracted packet for processing {"connection_id":187650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":99026432,"longitude_deg":76.3070592,"latitude_deg":9.9026432,"altitude":6,"angle":348,"satellites":36,"speed":34,"hex_longitude":"2d7b8880","hex_latitude":"05e70600","is_valid_coordinates":true} 
[2026-09-17 08:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141181696001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134059441275273216,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905234969776082944,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789614002000,"timestamp_ms":1789614002000,"timestamp_seconds":1789614002,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4e8f50"} 
[2026-09-17 08:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 08:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141181696001,"66":12906,"95":206,"87":13824,"24":34,"16":134059441275273216,"45":8905234969776082944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 08:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141181696001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:31:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 08:31:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134059441275273216,"km_value":134059441275273.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905234969776082944,"description":"Unknown IO ID 45"} 
[2026-09-17 08:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141181696001,"power":12906,"unknown_95":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8905234969776082944}} 
[2026-09-17 08:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":187650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:31:21] local.INFO: GPS data processed {"connection_id":187650,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:31:21] local.INFO: Acknowledgment sent {"connection_id":187650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:31:41] local.INFO: TCP Data received {"connection_id":186320,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:31:41] local.INFO: Processing buffer {"connection_id":186320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:31:41] local.INFO: Packet analysis {"connection_id":186320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:31:41] local.INFO: Extracted packet for processing {"connection_id":186320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:31:41] 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-09-17 08:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:31:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":186320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:31:41] local.INFO: GPS data processed {"connection_id":186320,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:31:41] local.INFO: Acknowledgment sent {"connection_id":186320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:31:42] local.INFO: TCP Data received {"connection_id":187651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:31:42] local.INFO: Processing buffer {"connection_id":187651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:31:42] local.INFO: IMEI packet received {"connection_id":187651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":187651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:31:43] local.INFO: TCP Data received {"connection_id":187651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:31:43] local.INFO: Processing buffer {"connection_id":187651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:31:43] local.INFO: IMEI packet received {"connection_id":187651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":187651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:31:44] local.INFO: TCP Data received {"connection_id":187651,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4e9b08012d7b864005e70ee00004015026..."} 
[2026-09-17 08:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4e9b08012d7b864005e70ee00004015026..."} 
[2026-09-17 08:31:44] local.INFO: Processing buffer {"connection_id":187651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4e9b08012d7b864005e70ee00004015026..."} 
[2026-09-17 08:31:44] local.INFO: Packet analysis {"connection_id":187651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:31:44] local.INFO: Extracted packet for processing {"connection_id":187651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":99028704,"longitude_deg":76.3070016,"latitude_deg":9.9028704,"altitude":4,"angle":336,"satellites":38,"speed":26,"hex_longitude":"2d7b8640","hex_latitude":"05e70ee0","is_valid_coordinates":true} 
[2026-09-17 08:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141184512001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134059557239390208,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426336907264,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789614005000,"timestamp_ms":1789614005000,"timestamp_seconds":1789614005,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4e9b08"} 
[2026-09-17 08:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 08:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141184512001,"66":13428,"95":206,"87":13824,"24":26,"16":134059557239390208,"45":8901505426336907264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 08:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141184512001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:31:44] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 08:31:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134059557239390208,"km_value":134059557239390.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426336907264,"description":"Unknown IO ID 45"} 
[2026-09-17 08:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141184512001,"power":13428,"unknown_95":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8901505426336907264}} 
[2026-09-17 08:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":187651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:31:44] local.INFO: GPS data processed {"connection_id":187651,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:31:44] local.INFO: Acknowledgment sent {"connection_id":187651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:31:49] local.INFO: TCP Data received {"connection_id":187651,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4e9ef0012d7b850005e711180004014527..."} 
[2026-09-17 08:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4e9ef0012d7b850005e711180004014527..."} 
[2026-09-17 08:31:49] local.INFO: Processing buffer {"connection_id":187651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4e9ef0012d7b850005e711180004014527..."} 
[2026-09-17 08:31:49] local.INFO: Packet analysis {"connection_id":187651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:31:49] local.INFO: Extracted packet for processing {"connection_id":187651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:31:49] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":99029272,"longitude_deg":76.3069696,"latitude_deg":9.9029272,"altitude":4,"angle":325,"satellites":39,"speed":24,"hex_longitude":"2d7b8500","hex_latitude":"05e71118","is_valid_coordinates":true} 
[2026-09-17 08:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141185280001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134059587304161280,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107639889920,"note":"Value kept but may cause issues"} 
[2026-09-17 08:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789614006000,"timestamp_ms":1789614006000,"timestamp_seconds":1789614006,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4e9ef0"} 
[2026-09-17 08:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 08:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141185280001,"66":13189,"95":206,"87":13824,"24":24,"16":134059587304161280,"45":8900872107639889920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 08:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141185280001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:31:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 08:31:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134059587304161280,"km_value":134059587304161.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107639889920,"description":"Unknown IO ID 45"} 
[2026-09-17 08:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141185280001,"power":13189,"unknown_95":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8900872107639889920}} 
[2026-09-17 08:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":187651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:31:49] local.INFO: GPS data processed {"connection_id":187651,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:31:49] local.INFO: Acknowledgment sent {"connection_id":187651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:31:58] local.INFO: TCP Data received {"connection_id":187652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:31:58] local.INFO: Processing buffer {"connection_id":187652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:31:58] local.INFO: IMEI packet received {"connection_id":187652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":187652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:32:03] local.INFO: TCP Data received {"connection_id":187652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:32:03] local.INFO: Processing buffer {"connection_id":187652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:32:03] local.INFO: IMEI packet received {"connection_id":187652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":187652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:32:05] local.INFO: TCP Data received {"connection_id":187652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:32:05] local.INFO: Processing buffer {"connection_id":187652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:32:05] local.INFO: Packet analysis {"connection_id":187652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:32:05] local.INFO: Extracted packet for processing {"connection_id":187652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:32:05] 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-09-17 08:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":187652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:32:05] local.INFO: GPS data processed {"connection_id":187652,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:32:05] local.INFO: Acknowledgment sent {"connection_id":187652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:32:20] local.INFO: TCP Data received {"connection_id":187651,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4eae90012d7b7e0005e71a980002015127..."} 
[2026-09-17 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4eae90012d7b7e0005e71a980002015127..."} 
[2026-09-17 08:32:20] local.INFO: Processing buffer {"connection_id":187651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4eae90012d7b7e0005e71a980002015127..."} 
[2026-09-17 08:32:20] local.INFO: Packet analysis {"connection_id":187651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:32:20] local.INFO: Extracted packet for processing {"connection_id":187651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763067904,"raw_latitude":99031704,"longitude_deg":76.3067904,"latitude_deg":9.9031704,"altitude":2,"angle":337,"satellites":39,"speed":34,"hex_longitude":"2d7b7e00","hex_latitude":"05e71a98","is_valid_coordinates":true} 
[2026-09-17 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141185536001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134059733333049344,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520263919147008,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789614010000,"timestamp_ms":1789614010000,"timestamp_seconds":1789614010,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4eae90"} 
[2026-09-17 08:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 08:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141185536001,"66":13341,"96":206,"87":13824,"24":34,"16":134059733333049344,"45":8900520263919147008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-17 08:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141185536001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:32:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 08:32:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134059733333049344,"km_value":134059733333049.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520263919147008,"description":"Unknown IO ID 45"} 
[2026-09-17 08:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141185536001,"power":13341,"unknown_96":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8900520263919147008}} 
[2026-09-17 08:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":187651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:32:20] local.INFO: GPS data processed {"connection_id":187651,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:32:20] local.INFO: Acknowledgment sent {"connection_id":187651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:32:36] local.INFO: TCP Data received {"connection_id":187652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:32:36] local.INFO: Processing buffer {"connection_id":187652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4c02f8012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:32:36] local.INFO: Packet analysis {"connection_id":187652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:32:36] local.INFO: Extracted packet for processing {"connection_id":187652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4c"} 
[2026-09-17 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141064704001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789613835000,"timestamp_ms":1789613835000,"timestamp_seconds":1789613835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4c02f8"} 
[2026-09-17 08:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:32:36] 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-09-17 08:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141064704001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141064704001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141064704001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":187652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:32:36] local.INFO: GPS data processed {"connection_id":187652,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:32:36] local.INFO: Acknowledgment sent {"connection_id":187652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:32:39] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:32:39] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:32:39] local.INFO: IMEI packet received {"connection_id":186321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":186321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:32:43] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:32:43] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:32:43] local.INFO: IMEI packet received {"connection_id":186321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":186321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:32:44] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad4ed1b8012d7b76c005e734480001015c26..."} 
[2026-09-17 08:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad4ed1b8012d7b76c005e734480001015c26..."} 
[2026-09-17 08:32:44] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad4ed1b8012d7b76c005e734480001015c26..."} 
[2026-09-17 08:32:44] local.INFO: Packet analysis {"connection_id":186321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:32:44] local.INFO: Extracted packet for processing {"connection_id":186321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad4e"} 
[2026-09-17 08:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763066048,"raw_latitude":99038280,"longitude_deg":76.3066048,"latitude_deg":9.903828,"altitude":1,"angle":348,"satellites":38,"speed":13,"hex_longitude":"2d7b76c0","hex_latitude":"05e73448","is_valid_coordinates":true} 
[2026-09-17 08:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141186560001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134060064045531136,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898549939082795008,"note":"Value kept but may cause issues"} 
[2026-09-17 08:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789614019000,"timestamp_ms":1789614019000,"timestamp_seconds":1789614019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad4ed1b8"} 
[2026-09-17 08:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 08:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141186560001,"66":12906,"96":206,"87":13824,"24":13,"16":134060064045531136,"45":8898549939082795008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-17 08:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141186560001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:32:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 08:32:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134060064045531136,"km_value":134060064045531.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898549939082795008,"description":"Unknown IO ID 45"} 
[2026-09-17 08:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141186560001,"power":12906,"unknown_96":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8898549939082795008}} 
[2026-09-17 08:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":186321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:32:45] local.INFO: GPS data processed {"connection_id":186321,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:32:45] local.INFO: Acknowledgment sent {"connection_id":186321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:32:58] local.INFO: TCP Data received {"connection_id":187654,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:32:58] local.INFO: Processing buffer {"connection_id":187654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:32:58] local.INFO: IMEI packet received {"connection_id":187654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":187654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:33:03] local.INFO: TCP Data received {"connection_id":187654,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:33:03] local.INFO: Processing buffer {"connection_id":187654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:33:03] local.INFO: IMEI packet received {"connection_id":187654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":187654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:33:04] local.INFO: TCP Data received {"connection_id":187654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:33:04] local.INFO: Processing buffer {"connection_id":187654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:33:04] local.INFO: Packet analysis {"connection_id":187654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:33:04] local.INFO: Extracted packet for processing {"connection_id":187654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":187654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:33:04] local.INFO: GPS data processed {"connection_id":187654,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:33:04] local.INFO: Acknowledgment sent {"connection_id":187654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:33:16] local.INFO: TCP Data received {"connection_id":186321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad512f30012d7b598005e874500003016524..."} 
[2026-09-17 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad512f30012d7b598005e874500003016524..."} 
[2026-09-17 08:33:16] local.INFO: Processing buffer {"connection_id":186321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad512f30012d7b598005e874500003016524..."} 
[2026-09-17 08:33:16] local.INFO: Packet analysis {"connection_id":186321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:33:16] local.INFO: Extracted packet for processing {"connection_id":186321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":99120208,"longitude_deg":76.305856,"latitude_deg":9.9120208,"altitude":3,"angle":357,"satellites":36,"speed":42,"hex_longitude":"2d7b5980","hex_latitude":"05e87450","is_valid_coordinates":true} 
[2026-09-17 08:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141226240001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134064114199691264,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527383345152,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789614174000,"timestamp_ms":1789614174000,"timestamp_seconds":1789614174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad512f30"} 
[2026-09-17 08:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 08:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141226240001,"66":13363,"201":206,"87":13824,"24":42,"16":134064114199691264,"45":8889120527383345152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141226240001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:33:16] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:33:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134064114199691264,"km_value":134064114199691.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527383345152,"description":"Unknown IO ID 45"} 
[2026-09-17 08:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141226240001,"power":13363,"unknown_201":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8889120527383345152}} 
[2026-09-17 08:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":186321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:33:16] local.INFO: GPS data processed {"connection_id":186321,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:33:16] local.INFO: Acknowledgment sent {"connection_id":186321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:33:21] local.INFO: TCP Data received {"connection_id":185034,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:33:21] local.INFO: Processing buffer {"connection_id":185034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:33:21] local.INFO: IMEI packet received {"connection_id":185034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":185034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:33:36] local.INFO: TCP Data received {"connection_id":187654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:33:36] local.INFO: Processing buffer {"connection_id":187654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:33:36] local.INFO: Packet analysis {"connection_id":187654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:33:36] local.INFO: Extracted packet for processing {"connection_id":187654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":187654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:33:36] local.INFO: GPS data processed {"connection_id":187654,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:33:36] local.INFO: Acknowledgment sent {"connection_id":187654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:33:38] local.INFO: TCP Data received {"connection_id":184924,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:33:38] local.INFO: Processing buffer {"connection_id":184924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:33:38] local.INFO: IMEI packet received {"connection_id":184924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":184924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:33:44] local.INFO: TCP Data received {"connection_id":184924,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:33:44] local.INFO: Processing buffer {"connection_id":184924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:33:44] local.INFO: IMEI packet received {"connection_id":184924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":184924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:33:44] local.INFO: TCP Data received {"connection_id":184924,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad514e70012d7b580005e89ab80003000024..."} 
[2026-09-17 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad514e70012d7b580005e89ab80003000024..."} 
[2026-09-17 08:33:44] local.INFO: Processing buffer {"connection_id":184924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad514e70012d7b580005e89ab80003000024..."} 
[2026-09-17 08:33:44] local.INFO: Packet analysis {"connection_id":184924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:33:44] local.INFO: Extracted packet for processing {"connection_id":184924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763058176,"raw_latitude":99130040,"longitude_deg":76.3058176,"latitude_deg":9.913004,"altitude":3,"angle":0,"satellites":36,"speed":52,"hex_longitude":"2d7b5800","hex_latitude":"05e89ab8","is_valid_coordinates":true} 
[2026-09-17 08:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141228544001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134064590941061120,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102455513088,"note":"Value kept but may cause issues"} 
[2026-09-17 08:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789614182000,"timestamp_ms":1789614182000,"timestamp_seconds":1789614182,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad514e70"} 
[2026-09-17 08:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 08:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141228544001,"66":13461,"201":206,"87":13824,"24":52,"16":134064590941061120,"45":8888276102455513088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141228544001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:33:44] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:33:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134064590941061120,"km_value":134064590941061.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102455513088,"description":"Unknown IO ID 45"} 
[2026-09-17 08:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141228544001,"power":13461,"unknown_201":206,"unknown_87":13824,"ignition":52,"odometer":null,"unknown_45":8888276102455513088}} 
[2026-09-17 08:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":184924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:33:44] local.INFO: GPS data processed {"connection_id":184924,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:33:44] local.INFO: Acknowledgment sent {"connection_id":184924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:33:51] local.INFO: TCP Data received {"connection_id":186322,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:33:51] local.INFO: Processing buffer {"connection_id":186322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:33:51] local.INFO: IMEI packet received {"connection_id":186322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":186322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:33:58] local.INFO: TCP Data received {"connection_id":185035,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:33:58] local.INFO: Processing buffer {"connection_id":185035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:33:58] local.INFO: IMEI packet received {"connection_id":185035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":185035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:34:03] local.INFO: TCP Data received {"connection_id":185035,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:34:03] local.INFO: Processing buffer {"connection_id":185035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:34:03] local.INFO: IMEI packet received {"connection_id":185035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":185035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:34:04] local.INFO: TCP Data received {"connection_id":185035,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:34:04] local.INFO: Processing buffer {"connection_id":185035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:34:04] local.INFO: Packet analysis {"connection_id":185035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:34:04] local.INFO: Extracted packet for processing {"connection_id":185035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:34:04] 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-09-17 08:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":185035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:34:04] local.INFO: GPS data processed {"connection_id":185035,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:34:04] local.INFO: Acknowledgment sent {"connection_id":185035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:34:07] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:34:07] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:34:07] local.INFO: IMEI packet received {"connection_id":186323,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":186323,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:34:13] local.INFO: TCP Data received {"connection_id":186323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad51e6c8012d0cec400705d0c80012001119..."} 
[2026-09-17 08:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad51e6c8012d0cec400705d0c80012001119..."} 
[2026-09-17 08:34:13] local.INFO: Processing buffer {"connection_id":186323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad51e6c8012d0cec400705d0c80012001119..."} 
[2026-09-17 08:34:13] local.INFO: Packet analysis {"connection_id":186323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:34:13] local.INFO: Extracted packet for processing {"connection_id":186323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":755821632,"raw_latitude":117821640,"longitude_deg":75.5821632,"latitude_deg":11.782164,"altitude":18,"angle":17,"satellites":25,"speed":24,"hex_longitude":"2d0cec40","hex_latitude":"0705d0c8","is_valid_coordinates":true} 
[2026-09-17 08:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141239808001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32563175022919680,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931048884376551424,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789614221000,"timestamp_ms":1789614221000,"timestamp_seconds":1789614221,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad51e6c8"} 
[2026-09-17 08:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 08:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141239808001,"66":14548,"167":206,"94":11008,"24":24,"16":32563175022919680,"45":931048884376551424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 08:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141239808001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:34:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 08:34:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32563175022919680,"km_value":32563175022919.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":931048884376551424,"description":"Unknown IO ID 45"} 
[2026-09-17 08:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141239808001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":931048884376551424}} 
[2026-09-17 08:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":186323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854151,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:34:13] local.INFO: GPS data processed {"connection_id":186323,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:34:13] local.INFO: Acknowledgment sent {"connection_id":186323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:34:19] local.INFO: TCP Data received {"connection_id":184924,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5169c8012d7b554005e8bed80001016126..."} 
[2026-09-17 08:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5169c8012d7b554005e8bed80001016126..."} 
[2026-09-17 08:34:19] local.INFO: Processing buffer {"connection_id":184924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5169c8012d7b554005e8bed80001016126..."} 
[2026-09-17 08:34:19] local.INFO: Packet analysis {"connection_id":184924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:34:19] local.INFO: Extracted packet for processing {"connection_id":184924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:34:19] local.INFO: GPS Element Parsed {"raw_longitude":763057472,"raw_latitude":99139288,"longitude_deg":76.3057472,"latitude_deg":9.9139288,"altitude":1,"angle":353,"satellites":38,"speed":50,"hex_longitude":"2d7b5540","hex_latitude":"05e8bed8","is_valid_coordinates":true} 
[2026-09-17 08:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141230592001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134065041912627200,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887853889992964096,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789614189000,"timestamp_ms":1789614189000,"timestamp_seconds":1789614189,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5169c8"} 
[2026-09-17 08:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-17 08:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":184924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":184924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":184924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141230592001,"66":12939,"201":206,"87":13824,"24":50,"16":134065041912627200,"45":8887853889992964096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141230592001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:34:19] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:34:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134065041912627200,"km_value":134065041912627.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887853889992964096,"description":"Unknown IO ID 45"} 
[2026-09-17 08:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141230592001,"power":12939,"unknown_201":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8887853889992964096}} 
[2026-09-17 08:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":184924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:34:19] local.INFO: GPS data processed {"connection_id":184924,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:34:19] local.INFO: Acknowledgment sent {"connection_id":184924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:34:36] local.INFO: TCP Data received {"connection_id":185035,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:34:36] local.INFO: Processing buffer {"connection_id":185035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:34:36] local.INFO: Packet analysis {"connection_id":185035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:34:36] local.INFO: Extracted packet for processing {"connection_id":185035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:34:36] 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-09-17 08:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":185035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:34:36] local.INFO: GPS data processed {"connection_id":185035,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:34:36] local.INFO: Acknowledgment sent {"connection_id":185035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:34:38] local.INFO: TCP Data received {"connection_id":184925,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:34:38] local.INFO: Processing buffer {"connection_id":184925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:34:38] local.INFO: IMEI packet received {"connection_id":184925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":184925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:34:45] local.INFO: TCP Data received {"connection_id":184925,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:34:45] local.INFO: Processing buffer {"connection_id":184925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:34:45] local.INFO: IMEI packet received {"connection_id":184925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":184925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:34:46] local.INFO: TCP Data received {"connection_id":184925,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad518cf0012d7b510005e8e2a00000016224..."} 
[2026-09-17 08:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad518cf0012d7b510005e8e2a00000016224..."} 
[2026-09-17 08:34:46] local.INFO: Processing buffer {"connection_id":184925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad518cf0012d7b510005e8e2a00000016224..."} 
[2026-09-17 08:34:46] local.INFO: Packet analysis {"connection_id":184925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:34:46] local.INFO: Extracted packet for processing {"connection_id":184925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad51"} 
[2026-09-17 08:34:46] local.INFO: GPS Element Parsed {"raw_longitude":763056384,"raw_latitude":99148448,"longitude_deg":76.3056384,"latitude_deg":9.9148448,"altitude":0,"angle":354,"satellites":36,"speed":33,"hex_longitude":"2d7b5100","hex_latitude":"05e8e2a0","is_valid_coordinates":true} 
[2026-09-17 08:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141232384001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134065488589225984,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887079833809377280,"note":"Value kept but may cause issues"} 
[2026-09-17 08:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789614198000,"timestamp_ms":1789614198000,"timestamp_seconds":1789614198,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad518cf0"} 
[2026-09-17 08:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 08:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141232384001,"66":12906,"201":206,"87":13824,"24":33,"16":134065488589225984,"45":8887079833809377280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141232384001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:34:46] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:34:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134065488589225984,"km_value":134065488589225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887079833809377280,"description":"Unknown IO ID 45"} 
[2026-09-17 08:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141232384001,"power":12906,"unknown_201":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8887079833809377280}} 
[2026-09-17 08:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":184925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:34:46] local.INFO: GPS data processed {"connection_id":184925,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:34:46] local.INFO: Acknowledgment sent {"connection_id":184925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:34:59] local.INFO: TCP Data received {"connection_id":187655,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:34:59] local.INFO: Processing buffer {"connection_id":187655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:34:59] local.INFO: IMEI packet received {"connection_id":187655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":187655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:35:02] local.INFO: TCP Data received {"connection_id":187656,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:35:02] local.INFO: Processing buffer {"connection_id":187656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:35:02] local.INFO: IMEI packet received {"connection_id":187656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":187656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:35:03] local.INFO: TCP Data received {"connection_id":187655,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:35:03] local.INFO: Processing buffer {"connection_id":187655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:35:03] local.INFO: IMEI packet received {"connection_id":187655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":187655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:35:04] local.INFO: TCP Data received {"connection_id":187655,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:35:04] local.INFO: Processing buffer {"connection_id":187655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:35:04] local.INFO: Packet analysis {"connection_id":187655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:35:04] local.INFO: Extracted packet for processing {"connection_id":187655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:35:04] 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-09-17 08:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:35:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":187655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:35:04] local.INFO: GPS data processed {"connection_id":187655,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:35:04] local.INFO: Acknowledgment sent {"connection_id":187655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:35:05] local.INFO: TCP Data received {"connection_id":187656,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:35:05] local.INFO: Processing buffer {"connection_id":187656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:35:05] local.INFO: IMEI packet received {"connection_id":187656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":187656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:35:06] local.INFO: TCP Data received {"connection_id":187656,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad52a248012d0d3a800705c2d80010008519..."} 
[2026-09-17 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad52a248012d0d3a800705c2d80010008519..."} 
[2026-09-17 08:35:06] local.INFO: Processing buffer {"connection_id":187656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad52a248012d0d3a800705c2d80010008519..."} 
[2026-09-17 08:35:06] local.INFO: Packet analysis {"connection_id":187656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad52"} 
[2026-09-17 08:35:06] local.INFO: Extracted packet for processing {"connection_id":187656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad52"} 
[2026-09-17 08:35:06] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117818072,"longitude_deg":75.5841664,"latitude_deg":11.7818072,"altitude":16,"angle":133,"satellites":25,"speed":7,"hex_longitude":"2d0d3a80","hex_latitude":"0705c2d8","is_valid_coordinates":true} 
[2026-09-17 08:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141252608001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32564411973500928,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301303758848,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789614269000,"timestamp_ms":1789614269000,"timestamp_seconds":1789614269,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad52a248"} 
[2026-09-17 08:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-17 08:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141252608001,"66":14439,"167":206,"94":11008,"24":7,"16":32564411973500928,"45":953074301303758848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 08:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141252608001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:35:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 08:35:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32564411973500928,"km_value":32564411973500.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301303758848,"description":"Unknown IO ID 45"} 
[2026-09-17 08:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141252608001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":953074301303758848}} 
[2026-09-17 08:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":187656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854156,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:35:06] local.INFO: GPS data processed {"connection_id":187656,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:35:06] local.INFO: Acknowledgment sent {"connection_id":187656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:35:07] local.INFO: TCP Data received {"connection_id":187656,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad52b1e8012d0d3cc00705c0b00010009119..."} 
[2026-09-17 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad52b1e8012d0d3cc00705c0b00010009119..."} 
[2026-09-17 08:35:07] local.INFO: Processing buffer {"connection_id":187656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad52b1e8012d0d3cc00705c0b00010009119..."} 
[2026-09-17 08:35:07] local.INFO: Packet analysis {"connection_id":187656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad52"} 
[2026-09-17 08:35:07] local.INFO: Extracted packet for processing {"connection_id":187656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad52"} 
[2026-09-17 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":755842240,"raw_latitude":117817520,"longitude_deg":75.584224,"latitude_deg":11.781752,"altitude":16,"angle":145,"satellites":25,"speed":8,"hex_longitude":"2d0d3cc0","hex_latitude":"0705c0b0","is_valid_coordinates":true} 
[2026-09-17 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141252864001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32564446333239296,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038792062976,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789614273000,"timestamp_ms":1789614273000,"timestamp_seconds":1789614273,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad52b1e8"} 
[2026-09-17 08:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 08:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141252864001,"66":14548,"167":206,"94":11008,"24":8,"16":32564446333239296,"45":953215038792062976},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 08:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141252864001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:35:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 08:35:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32564446333239296,"km_value":32564446333239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038792062976,"description":"Unknown IO ID 45"} 
[2026-09-17 08:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141252864001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953215038792062976}} 
[2026-09-17 08:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":187656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:35:07] local.INFO: GPS data processed {"connection_id":187656,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:35:07] local.INFO: Acknowledgment sent {"connection_id":187656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:35:24] local.INFO: TCP Data received {"connection_id":184925,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad532ee8012d7bb14005e94a300000004d25..."} 
[2026-09-17 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad532ee8012d7bb14005e94a300000004d25..."} 
[2026-09-17 08:35:24] local.INFO: Processing buffer {"connection_id":184925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad532ee8012d7bb14005e94a300000004d25..."} 
[2026-09-17 08:35:24] local.INFO: Packet analysis {"connection_id":184925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:35:24] local.INFO: Extracted packet for processing {"connection_id":184925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763081024,"raw_latitude":99174960,"longitude_deg":76.3081024,"latitude_deg":9.917496,"altitude":0,"angle":77,"satellites":37,"speed":21,"hex_longitude":"2d7bb140","hex_latitude":"05e94a30","is_valid_coordinates":true} 
[2026-09-17 08:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141257984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134067786396729344,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903123907490258944,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789614305000,"timestamp_ms":1789614305000,"timestamp_seconds":1789614305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad532ee8"} 
[2026-09-17 08:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-17 08:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":184925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":184925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":184925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141257984001,"66":13515,"201":206,"87":13824,"24":21,"16":134067786396729344,"45":8903123907490258944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141257984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:35:24] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:35:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134067786396729344,"km_value":134067786396729.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903123907490258944,"description":"Unknown IO ID 45"} 
[2026-09-17 08:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141257984001,"power":13515,"unknown_201":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8903123907490258944}} 
[2026-09-17 08:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":184925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:35:24] local.INFO: GPS data processed {"connection_id":184925,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:35:24] local.INFO: Acknowledgment sent {"connection_id":184925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:35:36] local.INFO: TCP Data received {"connection_id":187655,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:35:36] local.INFO: Processing buffer {"connection_id":187655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:35:36] local.INFO: Packet analysis {"connection_id":187655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:35:36] local.INFO: Extracted packet for processing {"connection_id":187655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:35:36] 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-09-17 08:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":187655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:35:36] local.INFO: GPS data processed {"connection_id":187655,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:35:36] local.INFO: Acknowledgment sent {"connection_id":187655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:35:38] local.INFO: TCP Data received {"connection_id":187656,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad52b5d0012d0d3d000705bff0001100a119..."} 
[2026-09-17 08:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad52b5d0012d0d3d000705bff0001100a119..."} 
[2026-09-17 08:35:38] local.INFO: Processing buffer {"connection_id":187656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad52b5d0012d0d3d000705bff0001100a119..."} 
[2026-09-17 08:35:38] local.INFO: Packet analysis {"connection_id":187656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad52"} 
[2026-09-17 08:35:38] local.INFO: Extracted packet for processing {"connection_id":187656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad52"} 
[2026-09-17 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":755842304,"raw_latitude":117817328,"longitude_deg":75.5842304,"latitude_deg":11.7817328,"altitude":17,"angle":161,"satellites":25,"speed":8,"hex_longitude":"2d0d3d00","hex_latitude":"0705bff0","is_valid_coordinates":true} 
[2026-09-17 08:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141253888001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32564459218141184,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953848357489520640,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789614274000,"timestamp_ms":1789614274000,"timestamp_seconds":1789614274,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad52b5d0"} 
[2026-09-17 08:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 08:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141253888001,"66":14428,"167":206,"94":11008,"24":8,"16":32564459218141184,"45":953848357489520640},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 08:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141253888001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:35:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 08:35:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32564459218141184,"km_value":32564459218141.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":953848357489520640,"description":"Unknown IO ID 45"} 
[2026-09-17 08:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141253888001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953848357489520640}} 
[2026-09-17 08:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":187656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854160,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:35:38] local.INFO: GPS data processed {"connection_id":187656,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:35:38] local.INFO: Acknowledgment sent {"connection_id":187656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:35:44] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:35:44] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:35:44] local.INFO: IMEI packet received {"connection_id":186325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":186325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:35:44] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:35:44] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:35:44] local.INFO: IMEI packet received {"connection_id":186325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":186325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:35:49] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:35:49] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:35:49] local.INFO: IMEI packet received {"connection_id":186325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":186325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:35:50] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad533aa0012d7bb7c005e94c600000004026..."} 
[2026-09-17 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad533aa0012d7bb7c005e94c600000004026..."} 
[2026-09-17 08:35:50] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad533aa0012d7bb7c005e94c600000004026..."} 
[2026-09-17 08:35:50] local.INFO: Packet analysis {"connection_id":186325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:35:50] local.INFO: Extracted packet for processing {"connection_id":186325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":763082688,"raw_latitude":99175520,"longitude_deg":76.3082688,"latitude_deg":9.917552,"altitude":0,"angle":64,"satellites":38,"speed":21,"hex_longitude":"2d7bb7c0","hex_latitude":"05e94c60","is_valid_coordinates":true} 
[2026-09-17 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141262080001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134067868001107968,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912975531675889664,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789614308000,"timestamp_ms":1789614308000,"timestamp_seconds":1789614308,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad533aa0"} 
[2026-09-17 08:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 08:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141262080001,"66":13222,"201":206,"87":13824,"24":21,"16":134067868001107968,"45":8912975531675889664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141262080001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:35:50] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:35:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134067868001107968,"km_value":134067868001107.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912975531675889664,"description":"Unknown IO ID 45"} 
[2026-09-17 08:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141262080001,"power":13222,"unknown_201":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8912975531675889664}} 
[2026-09-17 08:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":186325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:35:50] local.INFO: GPS data processed {"connection_id":186325,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:35:50] local.INFO: Acknowledgment sent {"connection_id":186325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:35:54] local.INFO: TCP Data received {"connection_id":186325,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad534e28012d7bc24005e952a80000003525..."} 
[2026-09-17 08:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad534e28012d7bc24005e952a80000003525..."} 
[2026-09-17 08:35:54] local.INFO: Processing buffer {"connection_id":186325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad534e28012d7bc24005e952a80000003525..."} 
[2026-09-17 08:35:54] local.INFO: Packet analysis {"connection_id":186325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:35:54] local.INFO: Extracted packet for processing {"connection_id":186325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":99177128,"longitude_deg":76.3085376,"latitude_deg":9.9177128,"altitude":0,"angle":53,"satellites":37,"speed":27,"hex_longitude":"2d7bc240","hex_latitude":"05e952a8","is_valid_coordinates":true} 
[2026-09-17 08:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141262848001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134068022619930624,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914805119024652288,"note":"Value kept but may cause issues"} 
[2026-09-17 08:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789614313000,"timestamp_ms":1789614313000,"timestamp_seconds":1789614313,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad534e28"} 
[2026-09-17 08:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 08:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141262848001,"66":13178,"201":206,"87":13824,"24":27,"16":134068022619930624,"45":8914805119024652288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141262848001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:35:54] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:35:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134068022619930624,"km_value":134068022619930.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914805119024652288,"description":"Unknown IO ID 45"} 
[2026-09-17 08:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141262848001,"power":13178,"unknown_201":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8914805119024652288}} 
[2026-09-17 08:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":186325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:35:54] local.INFO: GPS data processed {"connection_id":186325,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:35:54] local.INFO: Acknowledgment sent {"connection_id":186325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:35:57] local.INFO: TCP Data received {"connection_id":185036,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:35:57] local.INFO: Processing buffer {"connection_id":185036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:35:57] local.INFO: IMEI packet received {"connection_id":185036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":185036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:35:58] local.INFO: TCP Data received {"connection_id":186327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:35:58] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:35:58] local.INFO: IMEI packet received {"connection_id":186327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":186327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:36:02] local.INFO: TCP Data received {"connection_id":185036,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:02] local.INFO: Processing buffer {"connection_id":185036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:02] local.INFO: IMEI packet received {"connection_id":185036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":185036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:36:03] local.INFO: TCP Data received {"connection_id":185036,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad53b3b8012d0d3a000705c2900010016619..."} 
[2026-09-17 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad53b3b8012d0d3a000705c2900010016619..."} 
[2026-09-17 08:36:03] local.INFO: Processing buffer {"connection_id":185036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad53b3b8012d0d3a000705c2900010016619..."} 
[2026-09-17 08:36:03] local.INFO: Packet analysis {"connection_id":185036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:36:03] local.INFO: Extracted packet for processing {"connection_id":185036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:36:03] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117818000,"longitude_deg":75.5841536,"latitude_deg":11.7818,"altitude":16,"angle":358,"satellites":25,"speed":1,"hex_longitude":"2d0d3a00","hex_latitude":"0705c290","is_valid_coordinates":true} 
[2026-09-17 08:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141270272001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32564605247029248,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301303668736,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789614339000,"timestamp_ms":1789614339000,"timestamp_seconds":1789614339,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad53b3b8"} 
[2026-09-17 08:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145344,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2907931864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504096522829824,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3226992655,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637589687657895,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705443534,"corrected_to":0} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2818649357,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2974351360,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84738526855759296,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4222223854338304,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4449564153116360720,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,167,94,24,241,157,16,177,160,168,45,194,10,66,64,193,25,152,1,240,229,227,173,5,4,113,205,140,61,239,56,2,115,7,15,206,208,40,13],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1705443534,"validated":0}]} 
[2026-09-17 08:36:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153274555213545472,"timestamp_seconds":1153274555213545.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141270272001,"66":14450,"167":206,"94":11008,"24":1,"16":32564605247029248,"45":953074301303668736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 08:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141270272001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:36:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 08:36:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32564605247029248,"km_value":32564605247029.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301303668736,"description":"Unknown IO ID 45"} 
[2026-09-17 08:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141270272001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":953074301303668736}} 
[2026-09-17 08:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":185036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854163,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:36:03] local.INFO: GPS data processed {"connection_id":185036,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:36:03] local.INFO: Acknowledgment sent {"connection_id":185036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:36:03] local.INFO: TCP Data received {"connection_id":186327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:36:03] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:36:03] local.INFO: IMEI packet received {"connection_id":186327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":186327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:36:04] local.INFO: TCP Data received {"connection_id":185036,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad53e298012d0d39400705cb600012000c19..."} 
[2026-09-17 08:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad53e298012d0d39400705cb600012000c19..."} 
[2026-09-17 08:36:04] local.INFO: Processing buffer {"connection_id":185036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad53e298012d0d39400705cb600012000c19..."} 
[2026-09-17 08:36:04] local.INFO: Packet analysis {"connection_id":185036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:36:04] local.INFO: Extracted packet for processing {"connection_id":185036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:36:04] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117820256,"longitude_deg":75.5841344,"latitude_deg":11.7820256,"altitude":18,"angle":12,"satellites":25,"speed":7,"hex_longitude":"2d0d3940","hex_latitude":"0705cb60","is_valid_coordinates":true} 
[2026-09-17 08:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141270784001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32564716916178944,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301303689216,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789614351000,"timestamp_ms":1789614351000,"timestamp_seconds":1789614351,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad53e298"} 
[2026-09-17 08:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141270784001,"66":14374,"167":206,"94":11008,"24":7,"16":32564716916178944,"45":953074301303689216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 08:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141270784001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:36:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 08:36:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32564716916178944,"km_value":32564716916178.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301303689216,"description":"Unknown IO ID 45"} 
[2026-09-17 08:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141270784001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":953074301303689216}} 
[2026-09-17 08:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":185036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854164,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:36:04] local.INFO: GPS data processed {"connection_id":185036,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:36:04] local.INFO: Acknowledgment sent {"connection_id":185036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:36:05] local.INFO: TCP Data received {"connection_id":186327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:36:05] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:36:05] local.INFO: Packet analysis {"connection_id":186327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:36:05] local.INFO: Extracted packet for processing {"connection_id":186327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:36:05] 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-09-17 08:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:36:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":186327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:36:05] local.INFO: GPS data processed {"connection_id":186327,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:36:05] local.INFO: Acknowledgment sent {"connection_id":186327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:36:35] local.INFO: TCP Data received {"connection_id":185036,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5409a8012d0d3a800705d3200012016519..."} 
[2026-09-17 08:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5409a8012d0d3a800705d3200012016519..."} 
[2026-09-17 08:36:35] local.INFO: Processing buffer {"connection_id":185036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5409a8012d0d3a800705d3200012016519..."} 
[2026-09-17 08:36:35] local.INFO: Packet analysis {"connection_id":185036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad54"} 
[2026-09-17 08:36:35] local.INFO: Extracted packet for processing {"connection_id":185036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad54"} 
[2026-09-17 08:36:35] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117822240,"longitude_deg":75.5841664,"latitude_deg":11.782224,"altitude":18,"angle":357,"satellites":25,"speed":5,"hex_longitude":"2d0d3a80","hex_latitude":"0705d320","is_valid_coordinates":true} 
[2026-09-17 08:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141273856001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32564815700426752,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952863195071733760,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789614361000,"timestamp_ms":1789614361000,"timestamp_seconds":1789614361,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5409a8"} 
[2026-09-17 08:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 08:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141273856001,"66":14396,"167":206,"94":11008,"24":5,"16":32564815700426752,"45":952863195071733760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 08:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141273856001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:36:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 08:36:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32564815700426752,"km_value":32564815700426.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":952863195071733760,"description":"Unknown IO ID 45"} 
[2026-09-17 08:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141273856001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":952863195071733760}} 
[2026-09-17 08:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":185036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:36:35] local.INFO: GPS data processed {"connection_id":185036,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:36:35] local.INFO: Acknowledgment sent {"connection_id":185036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:36:36] local.INFO: TCP Data received {"connection_id":186327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:36:36] local.INFO: Processing buffer {"connection_id":186327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:36:36] local.INFO: Packet analysis {"connection_id":186327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:36:36] local.INFO: Extracted packet for processing {"connection_id":186327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:36:36] 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-09-17 08:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":186327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:36:36] local.INFO: GPS data processed {"connection_id":186327,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:36:36] local.INFO: Acknowledgment sent {"connection_id":186327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:36:38] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:36:38] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:36:38] local.INFO: IMEI packet received {"connection_id":186328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":186328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:36:43] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:36:43] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:36:43] local.INFO: IMEI packet received {"connection_id":186328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":186328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:36:44] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5361b0012d7bcf8005e95b700000004929..."} 
[2026-09-17 08:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5361b0012d7bcf8005e95b700000004929..."} 
[2026-09-17 08:36:44] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5361b0012d7bcf8005e95b700000004929..."} 
[2026-09-17 08:36:44] local.INFO: Packet analysis {"connection_id":186328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:36:44] local.INFO: Extracted packet for processing {"connection_id":186328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:36:44] local.INFO: GPS Element Parsed {"raw_longitude":763088768,"raw_latitude":99179376,"longitude_deg":76.3088768,"latitude_deg":9.9179376,"altitude":0,"angle":73,"satellites":41,"speed":31,"hex_longitude":"2d7bcf80","hex_latitude":"05e95b70","is_valid_coordinates":true} 
[2026-09-17 08:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141264128001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134068215893458944,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917760606280525824,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789614318000,"timestamp_ms":1789614318000,"timestamp_seconds":1789614318,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5361b0"} 
[2026-09-17 08:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 08:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141264128001,"66":13406,"201":206,"87":13824,"24":31,"16":134068215893458944,"45":8917760606280525824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141264128001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:36:44] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:36:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134068215893458944,"km_value":134068215893458.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917760606280525824,"description":"Unknown IO ID 45"} 
[2026-09-17 08:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141264128001,"power":13406,"unknown_201":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8917760606280525824}} 
[2026-09-17 08:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":186328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:36:44] local.INFO: GPS data processed {"connection_id":186328,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:36:44] local.INFO: Acknowledgment sent {"connection_id":186328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:36:49] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad536980012d7bd5c005e95c780000005629..."} 
[2026-09-17 08:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad536980012d7bd5c005e95c780000005629..."} 
[2026-09-17 08:36:49] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad536980012d7bd5c005e95c780000005629..."} 
[2026-09-17 08:36:49] local.INFO: Packet analysis {"connection_id":186328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:36:49] local.INFO: Extracted packet for processing {"connection_id":186328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:36:49] local.INFO: GPS Element Parsed {"raw_longitude":763090368,"raw_latitude":99179640,"longitude_deg":76.3090368,"latitude_deg":9.917964,"altitude":0,"angle":86,"satellites":41,"speed":30,"hex_longitude":"2d7bd5c0","hex_latitude":"05e95c78","is_valid_coordinates":true} 
[2026-09-17 08:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141265408001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134068293202870272,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921490149722517504,"note":"Value kept but may cause issues"} 
[2026-09-17 08:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789614320000,"timestamp_ms":1789614320000,"timestamp_seconds":1789614320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad536980"} 
[2026-09-17 08:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 08:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141265408001,"66":13276,"201":206,"87":13824,"24":30,"16":134068293202870272,"45":8921490149722517504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141265408001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:36:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:36:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134068293202870272,"km_value":134068293202870.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921490149722517504,"description":"Unknown IO ID 45"} 
[2026-09-17 08:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141265408001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8921490149722517504}} 
[2026-09-17 08:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":186328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:36:49] local.INFO: GPS data processed {"connection_id":186328,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:36:49] local.INFO: Acknowledgment sent {"connection_id":186328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:36:54] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:54] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:54] local.INFO: IMEI packet received {"connection_id":187657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":187657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:36:56] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:57] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:57] local.INFO: IMEI packet received {"connection_id":187657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":187657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:36:57] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:57] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:57] local.INFO: IMEI packet received {"connection_id":187657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":187657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:36:57] local.INFO: TCP Data received {"connection_id":187657,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:57] local.INFO: Processing buffer {"connection_id":187657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:36:57] local.INFO: IMEI packet received {"connection_id":187657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":187657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:36:58] local.INFO: TCP Data received {"connection_id":186329,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:36:58] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:36:58] local.INFO: IMEI packet received {"connection_id":186329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":186329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:37:04] local.INFO: TCP Data received {"connection_id":186329,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:37:04] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:37:04] local.INFO: IMEI packet received {"connection_id":186329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":186329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:37:05] local.INFO: TCP Data received {"connection_id":186329,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:37:05] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:37:05] local.INFO: Packet analysis {"connection_id":186329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:37:05] local.INFO: Extracted packet for processing {"connection_id":186329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:37:05] 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-09-17 08:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":186329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:37:05] local.INFO: GPS data processed {"connection_id":186329,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:37:05] local.INFO: Acknowledgment sent {"connection_id":186329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:37:21] local.INFO: TCP Data received {"connection_id":186328,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad537920012d7be10005e95e600000004927..."} 
[2026-09-17 08:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad537920012d7be10005e95e600000004927..."} 
[2026-09-17 08:37:21] local.INFO: Processing buffer {"connection_id":186328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad537920012d7be10005e95e600000004927..."} 
[2026-09-17 08:37:21] local.INFO: Packet analysis {"connection_id":186328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:37:21] local.INFO: Extracted packet for processing {"connection_id":186328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad53"} 
[2026-09-17 08:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763093248,"raw_latitude":99180128,"longitude_deg":76.3093248,"latitude_deg":9.9180128,"altitude":0,"angle":73,"satellites":39,"speed":23,"hex_longitude":"2d7be100","hex_latitude":"05e95e60","is_valid_coordinates":true} 
[2026-09-17 08:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141265920001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134068434936791040,"note":"Value kept but may cause issues"} 
[2026-09-17 08:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923249368327026688,"note":"Value kept but may cause issues"} 
[2026-09-17 08:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789614324000,"timestamp_ms":1789614324000,"timestamp_seconds":1789614324,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad537920"} 
[2026-09-17 08:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 08:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141265920001,"66":12439,"201":206,"87":13824,"24":23,"16":134068434936791040,"45":8923249368327026688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-17 08:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141265920001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:37:21] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-17 08:37:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134068434936791040,"km_value":134068434936791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923249368327026688,"description":"Unknown IO ID 45"} 
[2026-09-17 08:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141265920001,"power":12439,"unknown_201":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8923249368327026688}} 
[2026-09-17 08:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":186328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:37:21] local.INFO: GPS data processed {"connection_id":186328,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:37:21] local.INFO: Acknowledgment sent {"connection_id":186328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:37:36] local.INFO: TCP Data received {"connection_id":184927,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:36] local.INFO: Processing buffer {"connection_id":184927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:36] local.INFO: IMEI packet received {"connection_id":184927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":184927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:37:37] local.INFO: TCP Data received {"connection_id":186329,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:37:37] local.INFO: Processing buffer {"connection_id":186329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad509ac0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:37:37] local.INFO: Packet analysis {"connection_id":186329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:37:37] local.INFO: Extracted packet for processing {"connection_id":186329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad50"} 
[2026-09-17 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141141760001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789614136000,"timestamp_ms":1789614136000,"timestamp_seconds":1789614136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad509ac0"} 
[2026-09-17 08:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 08:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:37:37] 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-09-17 08:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141141760001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141141760001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141141760001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":186329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:37:37] local.INFO: GPS data processed {"connection_id":186329,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:37:37] local.INFO: Acknowledgment sent {"connection_id":186329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:37:37] local.INFO: TCP Data received {"connection_id":184927,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:37] local.INFO: Processing buffer {"connection_id":184927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:37] local.INFO: IMEI packet received {"connection_id":184927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":184927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:37:38] local.INFO: TCP Data received {"connection_id":184927,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:38] local.INFO: Processing buffer {"connection_id":184927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:38] local.INFO: IMEI packet received {"connection_id":184927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":184927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:37:39] local.INFO: TCP Data received {"connection_id":184927,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:39] local.INFO: Processing buffer {"connection_id":184927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:37:39] local.INFO: IMEI packet received {"connection_id":184927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":184927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:37:58] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:37:58] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:37:58] local.INFO: IMEI packet received {"connection_id":185038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":185038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:38:04] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:38:04] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:38:04] local.INFO: IMEI packet received {"connection_id":185038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":185038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:38:05] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:38:05] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:38:05] local.INFO: Packet analysis {"connection_id":185038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:38:05] local.INFO: Extracted packet for processing {"connection_id":185038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:38:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":185038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:38:05] local.INFO: GPS data processed {"connection_id":185038,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:38:05] local.INFO: Acknowledgment sent {"connection_id":185038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:38:39] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:38:39] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:38:39] local.INFO: Packet analysis {"connection_id":185038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:38:39] local.INFO: Extracted packet for processing {"connection_id":185038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:38:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":185038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:38:39] local.INFO: GPS data processed {"connection_id":185038,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:38:39] local.INFO: Acknowledgment sent {"connection_id":185038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:38:58] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:38:58] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:38:58] local.INFO: IMEI packet received {"connection_id":186330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":186330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:39:04] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:39:04] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:39:04] local.INFO: IMEI packet received {"connection_id":186330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":186330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:39:05] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:39:05] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:39:05] local.INFO: Packet analysis {"connection_id":186330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:39:05] local.INFO: Extracted packet for processing {"connection_id":186330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:39:05] 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-09-17 08:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:39:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":186330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:39:05] local.INFO: GPS data processed {"connection_id":186330,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:39:05] local.INFO: Acknowledgment sent {"connection_id":186330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:39:21] local.INFO: TCP Data received {"connection_id":184928,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:39:21] local.INFO: Processing buffer {"connection_id":184928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:39:21] local.INFO: IMEI packet received {"connection_id":184928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":184928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:39:39] local.INFO: TCP Data received {"connection_id":186330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:39:39] local.INFO: Processing buffer {"connection_id":186330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:39:39] local.INFO: Packet analysis {"connection_id":186330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:39:39] local.INFO: Extracted packet for processing {"connection_id":186330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:39:39] 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-09-17 08:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:39:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":186330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:39:39] local.INFO: GPS data processed {"connection_id":186330,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:39:39] local.INFO: Acknowledgment sent {"connection_id":186330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:39:51] local.INFO: TCP Data received {"connection_id":185040,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:39:51] local.INFO: Processing buffer {"connection_id":185040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:39:51] local.INFO: IMEI packet received {"connection_id":185040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":185040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:39:58] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:39:58] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:39:58] local.INFO: IMEI packet received {"connection_id":186332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":186332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:40:03] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:40:03] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:40:03] local.INFO: IMEI packet received {"connection_id":186332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":186332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:40:05] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:40:05] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:40:05] local.INFO: Packet analysis {"connection_id":186332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:40:05] local.INFO: Extracted packet for processing {"connection_id":186332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:40:05] 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-09-17 08:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:40:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":186332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:40:05] local.INFO: GPS data processed {"connection_id":186332,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:40:05] local.INFO: Acknowledgment sent {"connection_id":186332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:40:37] local.INFO: TCP Data received {"connection_id":186332,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:40:37] local.INFO: Processing buffer {"connection_id":186332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:40:37] local.INFO: Packet analysis {"connection_id":186332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:40:37] local.INFO: Extracted packet for processing {"connection_id":186332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:40:37] 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-09-17 08:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:40:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":186332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:40:37] local.INFO: GPS data processed {"connection_id":186332,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:40:37] local.INFO: Acknowledgment sent {"connection_id":186332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:41:03] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:41:03] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:41:03] local.INFO: IMEI packet received {"connection_id":186333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":186333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:41:09] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:41:09] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:41:09] local.INFO: IMEI packet received {"connection_id":186333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":186333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:41:10] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:41:10] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:41:10] local.INFO: Packet analysis {"connection_id":186333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:41:10] local.INFO: Extracted packet for processing {"connection_id":186333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:41: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-09-17 08:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:41:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":186333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:41:10] local.INFO: GPS data processed {"connection_id":186333,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:41:10] local.INFO: Acknowledgment sent {"connection_id":186333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:41:14] local.INFO: TCP Data received {"connection_id":186333,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:41:14] local.INFO: Processing buffer {"connection_id":186333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:41:14] local.INFO: Packet analysis {"connection_id":186333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:41:14] local.INFO: Extracted packet for processing {"connection_id":186333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:41: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-09-17 08:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:41:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":186333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:41:14] local.INFO: GPS data processed {"connection_id":186333,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:41:14] local.INFO: Acknowledgment sent {"connection_id":186333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:41:58] local.INFO: TCP Data received {"connection_id":186334,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186334,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:41:58] local.INFO: Processing buffer {"connection_id":186334,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:41:58] local.INFO: IMEI packet received {"connection_id":186334,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":186334,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:41:59] local.INFO: TCP Data received {"connection_id":184932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:41:59] local.INFO: Processing buffer {"connection_id":184932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:41:59] local.INFO: IMEI packet received {"connection_id":184932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":184932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:41:59] local.INFO: TCP Data received {"connection_id":186334,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad58dc08012d0e64c007063c280025012418..."} 
[2026-09-17 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad58dc08012d0e64c007063c280025012418..."} 
[2026-09-17 08:41:59] local.INFO: Processing buffer {"connection_id":186334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad58dc08012d0e64c007063c280025012418..."} 
[2026-09-17 08:41:59] local.INFO: Packet analysis {"connection_id":186334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad58"} 
[2026-09-17 08:41:59] local.INFO: Extracted packet for processing {"connection_id":186334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad58"} 
[2026-09-17 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":755918016,"raw_latitude":117849128,"longitude_deg":75.5918016,"latitude_deg":11.7849128,"altitude":37,"angle":292,"satellites":24,"speed":14,"hex_longitude":"2d0e64c0","hex_latitude":"07063c28","is_valid_coordinates":true} 
[2026-09-17 08:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141357056001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32570682625753088,"note":"Value kept but may cause issues"} 
[2026-09-17 08:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037516794324815872,"note":"Value kept but may cause issues"} 
[2026-09-17 08:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789614677000,"timestamp_ms":1789614677000,"timestamp_seconds":1789614677,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad58dc08"} 
[2026-09-17 08:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 08:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141357056001,"66":14450,"165":206,"94":11008,"24":14,"16":32570682625753088,"45":1037516794324815872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 08:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141357056001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:41:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 08:41:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32570682625753088,"km_value":32570682625753.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037516794324815872,"description":"Unknown IO ID 45"} 
[2026-09-17 08:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141357056001,"power":14450,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1037516794324815872}} 
[2026-09-17 08:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":186334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854181,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:41:59] local.INFO: GPS data processed {"connection_id":186334,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:41:59] local.INFO: Acknowledgment sent {"connection_id":186334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:42:03] local.INFO: TCP Data received {"connection_id":184932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:42:03] local.INFO: Processing buffer {"connection_id":184932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:42:03] local.INFO: IMEI packet received {"connection_id":184932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":184932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:42:05] local.INFO: TCP Data received {"connection_id":184932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:42:05] local.INFO: Processing buffer {"connection_id":184932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:42:05] local.INFO: Packet analysis {"connection_id":184932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:42:05] local.INFO: Extracted packet for processing {"connection_id":184932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:42:05] 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-09-17 08:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:42:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":184932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:42:05] local.INFO: GPS data processed {"connection_id":184932,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:42:05] local.INFO: Acknowledgment sent {"connection_id":184932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:42:30] local.INFO: TCP Data received {"connection_id":186334,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad58eba8012d0e5d0007063e280024011418..."} 
[2026-09-17 08:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad58eba8012d0e5d0007063e280024011418..."} 
[2026-09-17 08:42:30] local.INFO: Processing buffer {"connection_id":186334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad58eba8012d0e5d0007063e280024011418..."} 
[2026-09-17 08:42:30] local.INFO: Packet analysis {"connection_id":186334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad58"} 
[2026-09-17 08:42:30] local.INFO: Extracted packet for processing {"connection_id":186334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad58"} 
[2026-09-17 08:42:30] local.INFO: GPS Element Parsed {"raw_longitude":755916032,"raw_latitude":117849640,"longitude_deg":75.5916032,"latitude_deg":11.784964,"altitude":36,"angle":276,"satellites":24,"speed":21,"hex_longitude":"2d0e5d00","hex_latitude":"07063e28","is_valid_coordinates":true} 
[2026-09-17 08:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141357312001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32570781410000896,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037164950603966464,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789614681000,"timestamp_ms":1789614681000,"timestamp_seconds":1789614681,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad58eba8"} 
[2026-09-17 08:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141357312001,"66":14428,"165":206,"94":11008,"24":21,"16":32570781410000896,"45":1037164950603966464},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 08:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141357312001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:42:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 08:42:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32570781410000896,"km_value":32570781410000.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037164950603966464,"description":"Unknown IO ID 45"} 
[2026-09-17 08:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141357312001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":1037164950603966464}} 
[2026-09-17 08:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":186334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854183,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:42:30] local.INFO: GPS data processed {"connection_id":186334,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:42:30] local.INFO: Acknowledgment sent {"connection_id":186334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:42:36] local.INFO: TCP Data received {"connection_id":184932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:42:36] local.INFO: Processing buffer {"connection_id":184932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad553288012d34c3c006aa4458000c01172a..."} 
[2026-09-17 08:42:36] local.INFO: Packet analysis {"connection_id":184932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:42:36] local.INFO: Extracted packet for processing {"connection_id":184932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad55"} 
[2026-09-17 08:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141218816001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789614437000,"timestamp_ms":1789614437000,"timestamp_seconds":1789614437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad553288"} 
[2026-09-17 08:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:42:36] 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-09-17 08:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141218816001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141218816001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:42:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141218816001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":184932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:42:36] local.INFO: GPS data processed {"connection_id":184932,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:42:36] local.INFO: Acknowledgment sent {"connection_id":184932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:42:44] local.INFO: TCP Data received {"connection_id":184933,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:42:44] local.INFO: Processing buffer {"connection_id":184933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:42:44] local.INFO: IMEI packet received {"connection_id":184933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":184933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:42:45] local.INFO: TCP Data received {"connection_id":184933,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad594968012d7d20c005ead0680006000329..."} 
[2026-09-17 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad594968012d7d20c005ead0680006000329..."} 
[2026-09-17 08:42:45] local.INFO: Processing buffer {"connection_id":184933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad594968012d7d20c005ead0680006000329..."} 
[2026-09-17 08:42:45] local.INFO: Packet analysis {"connection_id":184933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:42:45] local.INFO: Extracted packet for processing {"connection_id":184933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99274856,"longitude_deg":76.3175104,"latitude_deg":9.9274856,"altitude":6,"angle":3,"satellites":41,"speed":10,"hex_longitude":"2d7d20c0","hex_latitude":"05ead068","is_valid_coordinates":true} 
[2026-09-17 08:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141360640001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134076208827596800,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015995373175250944,"note":"Value kept but may cause issues"} 
[2026-09-17 08:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789614705000,"timestamp_ms":1789614705000,"timestamp_seconds":1789614705,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad594968"} 
[2026-09-17 08:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-17 08:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":184933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":184933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":184933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141360640001,"66":13319,"158":206,"87":13824,"24":10,"16":134076208827596800,"45":9015995373175250944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 08:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141360640001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:42:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 08:42:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134076208827596800,"km_value":134076208827596.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015995373175250944,"description":"Unknown IO ID 45"} 
[2026-09-17 08:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141360640001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015995373175250944}} 
[2026-09-17 08:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":184933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:42:45] local.INFO: GPS data processed {"connection_id":184933,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:42:45] local.INFO: Acknowledgment sent {"connection_id":184933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:42:56] local.INFO: TCP Data received {"connection_id":185042,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:42:56] local.INFO: Processing buffer {"connection_id":185042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:42:56] local.INFO: IMEI packet received {"connection_id":185042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":185042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:42:57] local.INFO: TCP Data received {"connection_id":185041,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185041,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:42:57] local.INFO: Processing buffer {"connection_id":185041,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:42:57] local.INFO: IMEI packet received {"connection_id":185041,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":185041,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:42:58] local.INFO: TCP Data received {"connection_id":185042,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:42:58] local.INFO: Processing buffer {"connection_id":185042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:42:58] local.INFO: IMEI packet received {"connection_id":185042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":185042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:43:02] local.INFO: TCP Data received {"connection_id":185041,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185041,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:02] local.INFO: Processing buffer {"connection_id":185041,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:02] local.INFO: IMEI packet received {"connection_id":185041,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":185041,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:43:03] local.INFO: TCP Data received {"connection_id":185041,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5a1870012d0e3180070669200022013d1a..."} 
[2026-09-17 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5a1870012d0e3180070669200022013d1a..."} 
[2026-09-17 08:43:03] local.INFO: Processing buffer {"connection_id":185041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5a1870012d0e3180070669200022013d1a..."} 
[2026-09-17 08:43:03] local.INFO: Packet analysis {"connection_id":185041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5a"} 
[2026-09-17 08:43:03] local.INFO: Extracted packet for processing {"connection_id":185041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5a"} 
[2026-09-17 08:43:03] local.INFO: GPS Element Parsed {"raw_longitude":755904896,"raw_latitude":117860640,"longitude_deg":75.5904896,"latitude_deg":11.786064,"altitude":34,"angle":317,"satellites":26,"speed":4,"hex_longitude":"2d0e3180","hex_latitude":"07066920","is_valid_coordinates":true} 
[2026-09-17 08:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141377792001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32571773547446272,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022880095538829312,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789614758000,"timestamp_ms":1789614758000,"timestamp_seconds":1789614758,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5a1870"} 
[2026-09-17 08:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 08:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185041,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185041,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141377792001,"66":14428,"165":206,"94":11008,"24":4,"16":32571773547446272,"45":1022880095538829312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 08:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141377792001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:43:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 08:43:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32571773547446272,"km_value":32571773547446.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022880095538829312,"description":"Unknown IO ID 45"} 
[2026-09-17 08:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141377792001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":1022880095538829312}} 
[2026-09-17 08:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":185041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:43:03] local.INFO: GPS data processed {"connection_id":185041,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:43:03] local.INFO: Acknowledgment sent {"connection_id":185041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:43:03] local.INFO: TCP Data received {"connection_id":185042,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:43:03] local.INFO: Processing buffer {"connection_id":185042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:43:03] local.INFO: IMEI packet received {"connection_id":185042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":185042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:43:04] local.INFO: TCP Data received {"connection_id":185042,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:43:04] local.INFO: Processing buffer {"connection_id":185042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:43:04] local.INFO: Packet analysis {"connection_id":185042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:04] local.INFO: Extracted packet for processing {"connection_id":185042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:43:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":185042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:43:04] local.INFO: GPS data processed {"connection_id":185042,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:43:04] local.INFO: Acknowledgment sent {"connection_id":185042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:43:16] local.INFO: TCP Data received {"connection_id":184933,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad599788012d7d224005eaf2b00007000128..."} 
[2026-09-17 08:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad599788012d7d224005eaf2b00007000128..."} 
[2026-09-17 08:43:16] local.INFO: Processing buffer {"connection_id":184933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad599788012d7d224005eaf2b00007000128..."} 
[2026-09-17 08:43:16] local.INFO: Packet analysis {"connection_id":184933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:16] local.INFO: Extracted packet for processing {"connection_id":184933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:16] local.INFO: GPS Element Parsed {"raw_longitude":763175488,"raw_latitude":99283632,"longitude_deg":76.3175488,"latitude_deg":9.9283632,"altitude":7,"angle":1,"satellites":40,"speed":24,"hex_longitude":"2d7d2240","hex_latitude":"05eaf2b0","is_valid_coordinates":true} 
[2026-09-17 08:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141364480001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134076634029359104,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585642629120,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789614725000,"timestamp_ms":1789614725000,"timestamp_seconds":1789614725,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad599788"} 
[2026-09-17 08:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2908246864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":234,"raw_value":7701155405776431360,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221613167,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184343,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3932872704,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57798689175787318,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.WARNING: Large IO value detected {"io_id":88,"raw_value":6003299598168997893,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:16] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,158,87,24,241,157,16,85,160,14,45,64,173,7,35,10,66,170,204,1,240,133,227,84,234,4,113,205,23,95,27,120,42,239,50,154,2,220,5,17,198,88],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0}]} 
[2026-09-17 08:43:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432349038856765440,"timestamp_seconds":432349038856765.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141364480001,"66":13102,"158":206,"87":13824,"24":24,"16":134076634029359104,"45":9016417585642629120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 08:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141364480001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:43:16] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 08:43:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134076634029359104,"km_value":134076634029359.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585642629120,"description":"Unknown IO ID 45"} 
[2026-09-17 08:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141364480001,"power":13102,"unknown_158":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9016417585642629120}} 
[2026-09-17 08:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":184933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:43:16] local.INFO: GPS data processed {"connection_id":184933,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:43:16] local.INFO: Acknowledgment sent {"connection_id":184933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:43:35] local.INFO: TCP Data received {"connection_id":185041,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5a8da0012d0e290007068120002001361b..."} 
[2026-09-17 08:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5a8da0012d0e290007068120002001361b..."} 
[2026-09-17 08:43:35] local.INFO: Processing buffer {"connection_id":185041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5a8da0012d0e290007068120002001361b..."} 
[2026-09-17 08:43:35] local.INFO: Packet analysis {"connection_id":185041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5a"} 
[2026-09-17 08:43:35] local.INFO: Extracted packet for processing {"connection_id":185041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5a"} 
[2026-09-17 08:43:35] local.INFO: GPS Element Parsed {"raw_longitude":755902720,"raw_latitude":117866784,"longitude_deg":75.590272,"latitude_deg":11.7866784,"altitude":32,"angle":310,"satellites":27,"speed":6,"hex_longitude":"2d0e2900","hex_latitude":"07068120","is_valid_coordinates":true} 
[2026-09-17 08:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141385216001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572121439797248,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020557926982490112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789614788000,"timestamp_ms":1789614788000,"timestamp_seconds":1789614788,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5a8da0"} 
[2026-09-17 08:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 08:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185041,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185041,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141385216001,"66":14396,"165":206,"94":11008,"24":6,"16":32572121439797248,"45":1020557926982490112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 08:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141385216001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:43:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 08:43:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572121439797248,"km_value":32572121439797.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020557926982490112,"description":"Unknown IO ID 45"} 
[2026-09-17 08:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141385216001,"power":14396,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1020557926982490112}} 
[2026-09-17 08:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":185041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:43:35] local.INFO: GPS data processed {"connection_id":185041,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:43:35] local.INFO: Acknowledgment sent {"connection_id":185041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:43:36] local.INFO: TCP Data received {"connection_id":185042,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:43:36] local.INFO: Processing buffer {"connection_id":185042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:43:36] local.INFO: Packet analysis {"connection_id":185042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:36] local.INFO: Extracted packet for processing {"connection_id":185042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:43:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":185042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:43:36] local.INFO: GPS data processed {"connection_id":185042,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:43:36] local.INFO: Acknowledgment sent {"connection_id":185042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:43:39] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:43:39] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:43:39] local.INFO: IMEI packet received {"connection_id":186335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":186335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:43:40] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:43:40] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:43:40] local.INFO: IMEI packet received {"connection_id":186335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":186335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:43:44] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:43:44] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:43:44] local.INFO: IMEI packet received {"connection_id":186335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":186335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:43:44] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59aef8012d7d228005eafe380009015927..."} 
[2026-09-17 08:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59aef8012d7d228005eafe380009015927..."} 
[2026-09-17 08:43:44] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59aef8012d7d228005eafe380009015927..."} 
[2026-09-17 08:43:44] local.INFO: Packet analysis {"connection_id":186335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:44] local.INFO: Extracted packet for processing {"connection_id":186335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763175552,"raw_latitude":99286584,"longitude_deg":76.3175552,"latitude_deg":9.9286584,"altitude":9,"angle":345,"satellites":39,"speed":12,"hex_longitude":"2d7d2280","hex_latitude":"05eafe38","is_valid_coordinates":true} 
[2026-09-17 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141369600001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134076780058247168,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016839798109941760,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789614731000,"timestamp_ms":1789614731000,"timestamp_seconds":1789614731,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59aef8"} 
[2026-09-17 08:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 08:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141369600001,"66":12624,"158":206,"87":13824,"24":12,"16":134076780058247168,"45":9016839798109941760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 08:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141369600001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:43:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 08:43:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134076780058247168,"km_value":134076780058247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016839798109941760,"description":"Unknown IO ID 45"} 
[2026-09-17 08:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141369600001,"power":12624,"unknown_158":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9016839798109941760}} 
[2026-09-17 08:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":186335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:43:44] local.INFO: GPS data processed {"connection_id":186335,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:43:44] local.INFO: Acknowledgment sent {"connection_id":186335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:43:45] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59b2e0012d7d224005eaff180008014626..."} 
[2026-09-17 08:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59b2e0012d7d224005eaff180008014626..."} 
[2026-09-17 08:43:45] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59b2e0012d7d224005eaff180008014626..."} 
[2026-09-17 08:43:45] local.INFO: Packet analysis {"connection_id":186335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:45] local.INFO: Extracted packet for processing {"connection_id":186335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763175488,"raw_latitude":99286808,"longitude_deg":76.3175488,"latitude_deg":9.9286808,"altitude":8,"angle":326,"satellites":38,"speed":10,"hex_longitude":"2d7d2240","hex_latitude":"05eaff18","is_valid_coordinates":true} 
[2026-09-17 08:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141371136001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134076792943149056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016910166854875136,"note":"Value kept but may cause issues"} 
[2026-09-17 08:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789614732000,"timestamp_ms":1789614732000,"timestamp_seconds":1789614732,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59b2e0"} 
[2026-09-17 08:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 08:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141371136001,"66":13178,"158":206,"87":13824,"24":10,"16":134076792943149056,"45":9016910166854875136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 08:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141371136001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:43:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 08:43:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134076792943149056,"km_value":134076792943149.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016910166854875136,"description":"Unknown IO ID 45"} 
[2026-09-17 08:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141371136001,"power":13178,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016910166854875136}} 
[2026-09-17 08:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":186335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:43:45] local.INFO: GPS data processed {"connection_id":186335,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:43:45] local.INFO: Acknowledgment sent {"connection_id":186335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:43:57] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:57] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:57] local.INFO: IMEI packet received {"connection_id":187663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":187663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:43:58] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:58] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:58] local.INFO: IMEI packet received {"connection_id":187663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":187663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:43:58] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:58] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:58] local.INFO: IMEI packet received {"connection_id":187663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":187663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:43:59] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:59] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:43:59] local.INFO: IMEI packet received {"connection_id":187663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":187663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:44:00] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5b4920012d0e03c007068eb0001701121b..."} 
[2026-09-17 08:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5b4920012d0e03c007068eb0001701121b..."} 
[2026-09-17 08:44:00] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5b4920012d0e03c007068eb0001701121b..."} 
[2026-09-17 08:44:00] local.INFO: Packet analysis {"connection_id":187663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:00] local.INFO: Extracted packet for processing {"connection_id":187663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:00] local.INFO: GPS Element Parsed {"raw_longitude":755893184,"raw_latitude":117870256,"longitude_deg":75.5893184,"latitude_deg":11.7870256,"altitude":23,"angle":274,"satellites":27,"speed":6,"hex_longitude":"2d0e03c0","hex_latitude":"07068eb0","is_valid_coordinates":true} 
[2026-09-17 08:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141396992001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572662605676544,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010635934054434816,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789614836000,"timestamp_ms":1789614836000,"timestamp_seconds":1789614836,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5b4920"} 
[2026-09-17 08:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-17 08:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141396992001,"66":14309,"219":206,"94":10240,"24":6,"16":32572662605676544,"45":1010635934054434816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141396992001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:44:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:44:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572662605676544,"km_value":32572662605676.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010635934054434816,"description":"Unknown IO ID 45"} 
[2026-09-17 08:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141396992001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1010635934054434816}} 
[2026-09-17 08:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":187663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:44:00] local.INFO: GPS data processed {"connection_id":187663,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:44:00] local.INFO: Acknowledgment sent {"connection_id":187663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:44:00] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5b4d08012d0e038007068ec8001701291b..."} 
[2026-09-17 08:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5b4d08012d0e038007068ec8001701291b..."} 
[2026-09-17 08:44:00] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5b4d08012d0e038007068ec8001701291b..."} 
[2026-09-17 08:44:00] local.INFO: Packet analysis {"connection_id":187663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:00] local.INFO: Extracted packet for processing {"connection_id":187663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:00] local.INFO: GPS Element Parsed {"raw_longitude":755893120,"raw_latitude":117870280,"longitude_deg":75.589312,"latitude_deg":11.787028,"altitude":23,"angle":297,"satellites":27,"speed":5,"hex_longitude":"2d0e0380","hex_latitude":"07068ec8","is_valid_coordinates":true} 
[2026-09-17 08:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141398016001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572662605676544,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009861877868441600,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789614837000,"timestamp_ms":1789614837000,"timestamp_seconds":1789614837,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5b4d08"} 
[2026-09-17 08:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-17 08:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141398016001,"66":14309,"219":206,"94":10240,"24":5,"16":32572662605676544,"45":1009861877868441600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141398016001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:44:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:44:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572662605676544,"km_value":32572662605676.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009861877868441600,"description":"Unknown IO ID 45"} 
[2026-09-17 08:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141398016001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1009861877868441600}} 
[2026-09-17 08:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":187663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:44:01] local.INFO: GPS data processed {"connection_id":187663,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:44:01] local.INFO: Acknowledgment sent {"connection_id":187663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:44:03] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:44:03] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:44:03] local.INFO: IMEI packet received {"connection_id":187664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":187664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:44:11] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:44:11] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:44:11] local.INFO: IMEI packet received {"connection_id":187664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":187664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:44:12] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:44:12] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:44:12] local.INFO: Packet analysis {"connection_id":187664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:44:12] local.INFO: Extracted packet for processing {"connection_id":187664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:44:12] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:44:12] 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-09-17 08:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:44:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:44:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":187664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:44:12] local.INFO: GPS data processed {"connection_id":187664,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:44:12] local.INFO: Acknowledgment sent {"connection_id":187664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:44:14] local.INFO: TCP Data received {"connection_id":187664,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:44:14] local.INFO: Processing buffer {"connection_id":187664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:44:14] local.INFO: Packet analysis {"connection_id":187664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:44:14] local.INFO: Extracted packet for processing {"connection_id":187664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:44: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-09-17 08:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:44:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":187664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:44:14] local.INFO: GPS data processed {"connection_id":187664,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:44:14] local.INFO: Acknowledgment sent {"connection_id":187664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:44:17] local.INFO: TCP Data received {"connection_id":186335,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5b2210012d7cf44005eaee38000c010020..."} 
[2026-09-17 08:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5b2210012d7cf44005eaee38000c010020..."} 
[2026-09-17 08:44:17] local.INFO: Processing buffer {"connection_id":186335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5b2210012d7cf44005eaee38000c010020..."} 
[2026-09-17 08:44:17] local.INFO: Packet analysis {"connection_id":186335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:17] local.INFO: Extracted packet for processing {"connection_id":186335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:17] local.INFO: GPS Element Parsed {"raw_longitude":763163712,"raw_latitude":99282488,"longitude_deg":76.3163712,"latitude_deg":9.9282488,"altitude":12,"angle":256,"satellites":32,"speed":5,"hex_longitude":"2d7cf440","hex_latitude":"05eaee38","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141395200001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134077411418439680,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004032686669320192,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789614826000,"timestamp_ms":1789614826000,"timestamp_seconds":1789614826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5b2210"} 
[2026-09-17 08:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 08:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141395200001,"66":13243,"158":206,"87":13824,"24":5,"16":134077411418439680,"45":9004032686669320192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 08:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141395200001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:44:17] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 08:44:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134077411418439680,"km_value":134077411418439.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004032686669320192,"description":"Unknown IO ID 45"} 
[2026-09-17 08:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141395200001,"power":13243,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9004032686669320192}} 
[2026-09-17 08:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":186335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:44:17] local.INFO: GPS data processed {"connection_id":186335,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:44:17] local.INFO: Acknowledgment sent {"connection_id":186335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:44:31] local.INFO: TCP Data received {"connection_id":187663,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5bc620012d0e0bc007068810001300911b..."} 
[2026-09-17 08:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5bc620012d0e0bc007068810001300911b..."} 
[2026-09-17 08:44:31] local.INFO: Processing buffer {"connection_id":187663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5bc620012d0e0bc007068810001300911b..."} 
[2026-09-17 08:44:31] local.INFO: Packet analysis {"connection_id":187663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:31] local.INFO: Extracted packet for processing {"connection_id":187663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:31] local.INFO: GPS Element Parsed {"raw_longitude":755895232,"raw_latitude":117868560,"longitude_deg":75.5895232,"latitude_deg":11.786856,"altitude":19,"angle":145,"satellites":27,"speed":4,"hex_longitude":"2d0e0bc0","hex_latitude":"07068810","is_valid_coordinates":true} 
[2026-09-17 08:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141404928001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572894533910528,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011832202705135616,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789614868000,"timestamp_ms":1789614868000,"timestamp_seconds":1789614868,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5bc620"} 
[2026-09-17 08:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-17 08:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141404928001,"66":14396,"219":206,"94":10240,"24":4,"16":32572894533910528,"45":1011832202705135616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141404928001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:44:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:44:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572894533910528,"km_value":32572894533910.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011832202705135616,"description":"Unknown IO ID 45"} 
[2026-09-17 08:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141404928001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1011832202705135616}} 
[2026-09-17 08:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":187663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:44:32] local.INFO: GPS data processed {"connection_id":187663,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:44:32] local.INFO: Acknowledgment sent {"connection_id":187663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:44:37] local.INFO: TCP Data received {"connection_id":184935,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:44:37] local.INFO: Processing buffer {"connection_id":184935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:44:37] local.INFO: IMEI packet received {"connection_id":184935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":184935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:44:38] local.INFO: TCP Data received {"connection_id":184935,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:44:38] local.INFO: Processing buffer {"connection_id":184935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:44:38] local.INFO: IMEI packet received {"connection_id":184935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":184935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:44:44] local.INFO: TCP Data received {"connection_id":184935,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:44:44] local.INFO: Processing buffer {"connection_id":184935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:44:44] local.INFO: IMEI packet received {"connection_id":184935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":184935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:44:44] local.INFO: TCP Data received {"connection_id":184935,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5b3d68012d7ceb4005eaecd0000d010f1e..."} 
[2026-09-17 08:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5b3d68012d7ceb4005eaecd0000d010f1e..."} 
[2026-09-17 08:44:44] local.INFO: Processing buffer {"connection_id":184935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5b3d68012d7ceb4005eaecd0000d010f1e..."} 
[2026-09-17 08:44:44] local.INFO: Packet analysis {"connection_id":184935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:44] local.INFO: Extracted packet for processing {"connection_id":184935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763161408,"raw_latitude":99282128,"longitude_deg":76.3161408,"latitude_deg":9.9282128,"altitude":13,"angle":271,"satellites":30,"speed":16,"hex_longitude":"2d7ceb40","hex_latitude":"05eaecd0","is_valid_coordinates":true} 
[2026-09-17 08:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141395456001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134077523087589376,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003891949180958720,"note":"Value kept but may cause issues"} 
[2026-09-17 08:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789614833000,"timestamp_ms":1789614833000,"timestamp_seconds":1789614833,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5b3d68"} 
[2026-09-17 08:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 08:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141395456001,"66":13276,"158":206,"87":13824,"24":16,"16":134077523087589376,"45":9003891949180958720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 08:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141395456001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:44:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 08:44:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134077523087589376,"km_value":134077523087589.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003891949180958720,"description":"Unknown IO ID 45"} 
[2026-09-17 08:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141395456001,"power":13276,"unknown_158":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9003891949180958720}} 
[2026-09-17 08:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":184935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:44:44] local.INFO: GPS data processed {"connection_id":184935,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:44:44] local.INFO: Acknowledgment sent {"connection_id":184935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:44:57] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:44:57] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:44:57] local.INFO: IMEI packet received {"connection_id":186337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":186337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:44:58] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:44:58] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:44:58] local.INFO: IMEI packet received {"connection_id":186338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":186338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:45:03] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:45:03] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:45:03] local.INFO: IMEI packet received {"connection_id":186338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":186338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:45:04] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:45:04] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:45:04] local.INFO: Packet analysis {"connection_id":186338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:45:04] local.INFO: Extracted packet for processing {"connection_id":186338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:45:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":186338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:45:04] local.INFO: GPS data processed {"connection_id":186338,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:45:04] local.INFO: Acknowledgment sent {"connection_id":186338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:45:06] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:45:06] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:45:06] local.INFO: IMEI packet received {"connection_id":186337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":186337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:45:07] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5bca08012d0e0c00070687f8001200851b..."} 
[2026-09-17 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5bca08012d0e0c00070687f8001200851b..."} 
[2026-09-17 08:45:07] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5bca08012d0e0c00070687f8001200851b..."} 
[2026-09-17 08:45:07] local.INFO: Packet analysis {"connection_id":186337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:45:07] local.INFO: Extracted packet for processing {"connection_id":186337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":755895296,"raw_latitude":117868536,"longitude_deg":75.5895296,"latitude_deg":11.7868536,"altitude":18,"angle":133,"satellites":27,"speed":4,"hex_longitude":"2d0e0c00","hex_latitude":"070687f8","is_valid_coordinates":true} 
[2026-09-17 08:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141406208001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572898828877824,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012113677681692672,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789614869000,"timestamp_ms":1789614869000,"timestamp_seconds":1789614869,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5bca08"} 
[2026-09-17 08:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 08:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141406208001,"66":14396,"219":206,"94":10240,"24":4,"16":32572898828877824,"45":1012113677681692672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141406208001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:45:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:45:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572898828877824,"km_value":32572898828877.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012113677681692672,"description":"Unknown IO ID 45"} 
[2026-09-17 08:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141406208001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1012113677681692672}} 
[2026-09-17 08:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":186337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:45:08] local.INFO: GPS data processed {"connection_id":186337,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:45:08] local.INFO: Acknowledgment sent {"connection_id":186337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:45:16] local.INFO: TCP Data received {"connection_id":184935,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5b7418012d7ce04005eaec18000c010225..."} 
[2026-09-17 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5b7418012d7ce04005eaec18000c010225..."} 
[2026-09-17 08:45:16] local.INFO: Processing buffer {"connection_id":184935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5b7418012d7ce04005eaec18000c010225..."} 
[2026-09-17 08:45:16] local.INFO: Packet analysis {"connection_id":184935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:45:16] local.INFO: Extracted packet for processing {"connection_id":184935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763158592,"raw_latitude":99281944,"longitude_deg":76.3158592,"latitude_deg":9.9281944,"altitude":12,"angle":258,"satellites":37,"speed":7,"hex_longitude":"2d7ce040","hex_latitude":"05eaec18","is_valid_coordinates":true} 
[2026-09-17 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141397248001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134077677706412032,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674390470656,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789614847000,"timestamp_ms":1789614847000,"timestamp_seconds":1789614847,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5b7418"} 
[2026-09-17 08:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 08:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141397248001,"66":13222,"158":206,"87":13824,"24":7,"16":134077677706412032,"45":9001358674390470656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 08:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141397248001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:45:16] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 08:45:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134077677706412032,"km_value":134077677706412.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674390470656,"description":"Unknown IO ID 45"} 
[2026-09-17 08:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141397248001,"power":13222,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9001358674390470656}} 
[2026-09-17 08:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":184935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:45:16] local.INFO: GPS data processed {"connection_id":184935,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:45:16] local.INFO: Acknowledgment sent {"connection_id":184935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:45:21] local.INFO: TCP Data received {"connection_id":186336,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:45:21] local.INFO: Processing buffer {"connection_id":186336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:45:21] local.INFO: IMEI packet received {"connection_id":186336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":186336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:45:36] local.INFO: TCP Data received {"connection_id":186338,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:45:36] local.INFO: Processing buffer {"connection_id":186338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:45:36] local.INFO: Packet analysis {"connection_id":186338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:45:36] local.INFO: Extracted packet for processing {"connection_id":186338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:45:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":186338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:45:36] local.INFO: GPS data processed {"connection_id":186338,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:45:36] local.INFO: Acknowledgment sent {"connection_id":186338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:45:39] local.INFO: TCP Data received {"connection_id":186337,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5bcdf0012d0e0c40070687f0001200951b..."} 
[2026-09-17 08:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5bcdf0012d0e0c40070687f0001200951b..."} 
[2026-09-17 08:45:39] local.INFO: Processing buffer {"connection_id":186337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5bcdf0012d0e0c40070687f0001200951b..."} 
[2026-09-17 08:45:39] local.INFO: Packet analysis {"connection_id":186337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:45:39] local.INFO: Extracted packet for processing {"connection_id":186337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:45:39] local.INFO: GPS Element Parsed {"raw_longitude":755895360,"raw_latitude":117868528,"longitude_deg":75.589536,"latitude_deg":11.7868528,"altitude":18,"angle":149,"satellites":27,"speed":1,"hex_longitude":"2d0e0c40","hex_latitude":"070687f0","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141406464001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572903123845120,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012184046425864192,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789614870000,"timestamp_ms":1789614870000,"timestamp_seconds":1789614870,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5bcdf0"} 
[2026-09-17 08:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 08:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141406464001,"66":14450,"219":206,"94":10240,"24":1,"16":32572903123845120,"45":1012184046425864192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141406464001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:45:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:45:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572903123845120,"km_value":32572903123845.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012184046425864192,"description":"Unknown IO ID 45"} 
[2026-09-17 08:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141406464001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1012184046425864192}} 
[2026-09-17 08:45:39] local.INFO: TCP Data received {"connection_id":185044,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:45:39] local.INFO: Processing buffer {"connection_id":185044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:45:39] local.INFO: IMEI packet received {"connection_id":185044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":185044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":186337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:45:39] local.INFO: GPS data processed {"connection_id":186337,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:45:39] local.INFO: Acknowledgment sent {"connection_id":186337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:45:43] local.INFO: TCP Data received {"connection_id":185044,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:45:43] local.INFO: Processing buffer {"connection_id":185044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:45:43] local.INFO: IMEI packet received {"connection_id":185044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":185044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:45:45] local.INFO: TCP Data received {"connection_id":185044,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5baeb0012d7cbc0005eae7b0000b00ff21..."} 
[2026-09-17 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5baeb0012d7cbc0005eae7b0000b00ff21..."} 
[2026-09-17 08:45:45] local.INFO: Processing buffer {"connection_id":185044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5baeb0012d7cbc0005eae7b0000b00ff21..."} 
[2026-09-17 08:45:45] local.INFO: Packet analysis {"connection_id":185044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:45:45] local.INFO: Extracted packet for processing {"connection_id":185044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:45:45] local.INFO: GPS Element Parsed {"raw_longitude":763149312,"raw_latitude":99280816,"longitude_deg":76.3149312,"latitude_deg":9.9280816,"altitude":11,"angle":255,"satellites":33,"speed":27,"hex_longitude":"2d7cbc00","hex_latitude":"05eae7b0","is_valid_coordinates":true} 
[2026-09-17 08:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141400832001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134078120088043520,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998262449646606336,"note":"Value kept but may cause issues"} 
[2026-09-17 08:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789614862000,"timestamp_ms":1789614862000,"timestamp_seconds":1789614862,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5baeb0"} 
[2026-09-17 08:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 08:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141400832001,"66":13135,"158":206,"87":13824,"24":27,"16":134078120088043520,"45":8998262449646606336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 08:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141400832001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:45:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 08:45:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134078120088043520,"km_value":134078120088043.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998262449646606336,"description":"Unknown IO ID 45"} 
[2026-09-17 08:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141400832001,"power":13135,"unknown_158":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8998262449646606336}} 
[2026-09-17 08:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":185044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:45:45] local.INFO: GPS data processed {"connection_id":185044,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:45:45] local.INFO: Acknowledgment sent {"connection_id":185044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:45:52] local.INFO: TCP Data received {"connection_id":187665,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:45:52] local.INFO: Processing buffer {"connection_id":187665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:45:52] local.INFO: IMEI packet received {"connection_id":187665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":187665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:45:57] local.INFO: TCP Data received {"connection_id":187666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:45:57] local.INFO: Processing buffer {"connection_id":187666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:45:57] local.INFO: IMEI packet received {"connection_id":187666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":187666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:46:02] local.INFO: TCP Data received {"connection_id":187666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:46:02] local.INFO: Processing buffer {"connection_id":187666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:46:02] local.INFO: IMEI packet received {"connection_id":187666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":187666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:46:02] local.INFO: TCP Data received {"connection_id":186339,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:46:02] local.INFO: Processing buffer {"connection_id":186339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:46:02] local.INFO: IMEI packet received {"connection_id":186339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":186339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:46:03] local.INFO: TCP Data received {"connection_id":187666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5bdd90012d0e0d00070687c0001100791b..."} 
[2026-09-17 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5bdd90012d0e0d00070687c0001100791b..."} 
[2026-09-17 08:46:03] local.INFO: Processing buffer {"connection_id":187666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5bdd90012d0e0d00070687c0001100791b..."} 
[2026-09-17 08:46:03] local.INFO: Packet analysis {"connection_id":187666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:46:03] local.INFO: Extracted packet for processing {"connection_id":187666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:46:03] local.INFO: GPS Element Parsed {"raw_longitude":755895552,"raw_latitude":117868480,"longitude_deg":75.5895552,"latitude_deg":11.786848,"altitude":17,"angle":121,"satellites":27,"speed":2,"hex_longitude":"2d0e0d00","hex_latitude":"070687c0","is_valid_coordinates":true} 
[2026-09-17 08:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141406720001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572911713779712,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012254415170039808,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789614874000,"timestamp_ms":1789614874000,"timestamp_seconds":1789614874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5bdd90"} 
[2026-09-17 08:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141406720001,"66":14548,"219":206,"94":10240,"24":2,"16":32572911713779712,"45":1012254415170039808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141406720001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:46:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:46:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572911713779712,"km_value":32572911713779.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012254415170039808,"description":"Unknown IO ID 45"} 
[2026-09-17 08:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141406720001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1012254415170039808}} 
[2026-09-17 08:46:03] local.INFO: TCP Data received {"connection_id":186339,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:46:03] local.INFO: Processing buffer {"connection_id":186339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:46:03] local.INFO: IMEI packet received {"connection_id":186339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":186339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":187666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854206,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:46:03] local.INFO: GPS data processed {"connection_id":187666,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:46:03] local.INFO: Acknowledgment sent {"connection_id":187666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:46:04] local.INFO: TCP Data received {"connection_id":186339,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:46:04] local.INFO: Processing buffer {"connection_id":186339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:46:04] local.INFO: Packet analysis {"connection_id":186339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:46:04] local.INFO: Extracted packet for processing {"connection_id":186339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:46:04] 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-09-17 08:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:46:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":186339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:46:04] local.INFO: GPS data processed {"connection_id":186339,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:46:04] local.INFO: Acknowledgment sent {"connection_id":186339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:46:16] local.INFO: TCP Data received {"connection_id":185044,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5be560012d7c998005eade40000b00ff1e..."} 
[2026-09-17 08:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5be560012d7c998005eade40000b00ff1e..."} 
[2026-09-17 08:46:16] local.INFO: Processing buffer {"connection_id":185044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5be560012d7c998005eade40000b00ff1e..."} 
[2026-09-17 08:46:16] local.INFO: Packet analysis {"connection_id":185044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:46:16] local.INFO: Extracted packet for processing {"connection_id":185044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":763140480,"raw_latitude":99278400,"longitude_deg":76.314048,"latitude_deg":9.92784,"altitude":11,"angle":255,"satellites":30,"speed":20,"hex_longitude":"2d7c9980","hex_latitude":"05eade40","is_valid_coordinates":true} 
[2026-09-17 08:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141404672001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134078558174707712,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988058981740556288,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789614876000,"timestamp_ms":1789614876000,"timestamp_seconds":1789614876,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5be560"} 
[2026-09-17 08:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 08:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141404672001,"66":13048,"8":206,"87":13824,"24":20,"16":134078558174707712,"45":8988058981740556288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-17 08:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141404672001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:46:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-17 08:46:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134078558174707712,"km_value":134078558174707.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988058981740556288,"description":"Unknown IO ID 45"} 
[2026-09-17 08:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141404672001,"power":13048,"unknown_8":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8988058981740556288}} 
[2026-09-17 08:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":185044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:46:16] local.INFO: GPS data processed {"connection_id":185044,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:46:16] local.INFO: Acknowledgment sent {"connection_id":185044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:46:20] local.INFO: TCP Data received {"connection_id":186339,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:46:20] local.INFO: Processing buffer {"connection_id":186339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:46:20] local.INFO: Packet analysis {"connection_id":186339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:46:20] local.INFO: Extracted packet for processing {"connection_id":186339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:46:20] 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-09-17 08:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:46:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":186339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:46:20] local.INFO: GPS data processed {"connection_id":186339,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:46:20] local.INFO: Acknowledgment sent {"connection_id":186339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:46:34] local.INFO: TCP Data received {"connection_id":187666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5be560012d0e0d40070687b0001000671b..."} 
[2026-09-17 08:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5be560012d0e0d40070687b0001000671b..."} 
[2026-09-17 08:46:34] local.INFO: Processing buffer {"connection_id":187666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5be560012d0e0d40070687b0001000671b..."} 
[2026-09-17 08:46:34] local.INFO: Packet analysis {"connection_id":187666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:46:34] local.INFO: Extracted packet for processing {"connection_id":187666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":755895616,"raw_latitude":117868464,"longitude_deg":75.5895616,"latitude_deg":11.7868464,"altitude":16,"angle":103,"satellites":27,"speed":1,"hex_longitude":"2d0e0d40","hex_latitude":"070687b0","is_valid_coordinates":true} 
[2026-09-17 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141407744001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572920303714304,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012465521402560512,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789614876000,"timestamp_ms":1789614876000,"timestamp_seconds":1789614876,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5be560"} 
[2026-09-17 08:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 08:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141407744001,"66":13830,"219":206,"94":10240,"24":1,"16":32572920303714304,"45":1012465521402560512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141407744001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:46:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:46:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572920303714304,"km_value":32572920303714.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012465521402560512,"description":"Unknown IO ID 45"} 
[2026-09-17 08:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141407744001,"power":13830,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1012465521402560512}} 
[2026-09-17 08:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":187666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:46:35] local.INFO: GPS data processed {"connection_id":187666,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:46:35] local.INFO: Acknowledgment sent {"connection_id":187666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:46:38] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:46:38] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:46:38] local.INFO: IMEI packet received {"connection_id":186340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":186340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:46:39] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:46:39] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:46:39] local.INFO: IMEI packet received {"connection_id":186340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":186340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:46:43] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:46:43] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:46:43] local.INFO: IMEI packet received {"connection_id":186340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":186340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:46:44] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5bfcd0012d7c8f0005ead9e8000a00f220..."} 
[2026-09-17 08:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5bfcd0012d7c8f0005ead9e8000a00f220..."} 
[2026-09-17 08:46:44] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5bfcd0012d7c8f0005ead9e8000a00f220..."} 
[2026-09-17 08:46:44] local.INFO: Packet analysis {"connection_id":186340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:46:44] local.INFO: Extracted packet for processing {"connection_id":186340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5b"} 
[2026-09-17 08:46:44] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":99277288,"longitude_deg":76.3137792,"latitude_deg":9.9277288,"altitude":10,"angle":242,"satellites":32,"speed":13,"hex_longitude":"2d7c8f00","hex_latitude":"05ead9e8","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141408256001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134078699908628480,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978348095043420160,"note":"Value kept but may cause issues"} 
[2026-09-17 08:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789614882000,"timestamp_ms":1789614882000,"timestamp_seconds":1789614882,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5bfcd0"} 
[2026-09-17 08:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 08:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141408256001,"66":13037,"8":206,"87":13824,"24":13,"16":134078699908628480,"45":8978348095043420160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-17 08:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141408256001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:46:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-17 08:46:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134078699908628480,"km_value":134078699908628.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978348095043420160,"description":"Unknown IO ID 45"} 
[2026-09-17 08:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141408256001,"power":13037,"unknown_8":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8978348095043420160}} 
[2026-09-17 08:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":186340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:46:44] local.INFO: GPS data processed {"connection_id":186340,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:46:44] local.INFO: Acknowledgment sent {"connection_id":186340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:46:58] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:46:58] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:46:58] local.INFO: IMEI packet received {"connection_id":186342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":186342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:46:58] local.INFO: TCP Data received {"connection_id":184936,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:46:58] local.INFO: Processing buffer {"connection_id":184936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:46:58] local.INFO: IMEI packet received {"connection_id":184936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":184936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:46:58] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:46:58] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:46:58] local.INFO: IMEI packet received {"connection_id":186342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":186342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:47:00] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:00] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:00] local.INFO: IMEI packet received {"connection_id":186342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":186342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:47:03] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:03] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:03] local.INFO: IMEI packet received {"connection_id":186342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":186342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:47:03] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5c0888012d0e0fc007068760000f007a1b..."} 
[2026-09-17 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5c0888012d0e0fc007068760000f007a1b..."} 
[2026-09-17 08:47:03] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5c0888012d0e0fc007068760000f007a1b..."} 
[2026-09-17 08:47:03] local.INFO: Packet analysis {"connection_id":186342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5c"} 
[2026-09-17 08:47:03] local.INFO: Extracted packet for processing {"connection_id":186342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5c"} 
[2026-09-17 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":755896256,"raw_latitude":117868384,"longitude_deg":75.5896256,"latitude_deg":11.7868384,"altitude":15,"angle":122,"satellites":27,"speed":0,"hex_longitude":"2d0e0fc0","hex_latitude":"07068760","is_valid_coordinates":true} 
[2026-09-17 08:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141408256001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572950368485376,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012535890146734080,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789614885000,"timestamp_ms":1789614885000,"timestamp_seconds":1789614885,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5c0888"} 
[2026-09-17 08:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1688858465992704,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652632972374784,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2908460864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3221685898,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-09-17 08:47:03] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2049,"corrected_to":0} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2550213902,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4093693231,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3101229056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":131,"raw_value":-5187815757454506234,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.WARNING: Large IO value detected {"io_id":143,"raw_value":-8646885993282404348,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,219,94,24,241,157,16,184,160,221,45,135,17,27,10,66,205,64,18,202,1,240,60,227,173,6,4,113,178,104,239,56,2,115,7,22,131,143],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0},{"io_id":202,"original":2049,"validated":0}]} 
[2026-09-17 08:47:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153034870268690432,"timestamp_seconds":1153034870268690.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141408256001,"66":14461,"219":206,"94":10240,"24":0,"16":32572950368485376,"45":1012535890146734080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141408256001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:47:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:47:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572950368485376,"km_value":32572950368485.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012535890146734080,"description":"Unknown IO ID 45"} 
[2026-09-17 08:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141408256001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1012535890146734080}} 
[2026-09-17 08:47:03] local.INFO: TCP Data received {"connection_id":184936,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:47:03] local.INFO: Processing buffer {"connection_id":184936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:47:03] local.INFO: IMEI packet received {"connection_id":184936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":184936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":186342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:47:03] local.INFO: GPS data processed {"connection_id":186342,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:47:03] local.INFO: Acknowledgment sent {"connection_id":186342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:47:04] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5c5a90012d0e0fc007068758000f007a1a..."} 
[2026-09-17 08:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5c5a90012d0e0fc007068758000f007a1a..."} 
[2026-09-17 08:47:04] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5c5a90012d0e0fc007068758000f007a1a..."} 
[2026-09-17 08:47:04] local.INFO: Packet analysis {"connection_id":186342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5c"} 
[2026-09-17 08:47:04] local.INFO: Extracted packet for processing {"connection_id":186342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5c"} 
[2026-09-17 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":755896256,"raw_latitude":117868376,"longitude_deg":75.5896256,"latitude_deg":11.7868376,"altitude":15,"angle":122,"satellites":26,"speed":0,"hex_longitude":"2d0e0fc0","hex_latitude":"07068758","is_valid_coordinates":true} 
[2026-09-17 08:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141410560001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32572950368485376,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013239577588490240,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789614906000,"timestamp_ms":1789614906000,"timestamp_seconds":1789614906,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5c5a90"} 
[2026-09-17 08:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 08:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141410560001,"66":14515,"165":206,"94":11008,"24":0,"16":32572950368485376,"45":1013239577588490240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 08:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141410560001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:47:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 08:47:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 08:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32572950368485376,"km_value":32572950368485.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013239577588490240,"description":"Unknown IO ID 45"} 
[2026-09-17 08:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141410560001,"power":14515,"unknown_165":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":1013239577588490240}} 
[2026-09-17 08:47:04] local.INFO: TCP Data received {"connection_id":184936,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:47:04] local.INFO: Processing buffer {"connection_id":184936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:47:04] local.INFO: Packet analysis {"connection_id":184936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:47:04] local.INFO: Extracted packet for processing {"connection_id":184936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:47:04] 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-09-17 08:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:47:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":184936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:47:04] local.INFO: GPS data processed {"connection_id":184936,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:47:04] local.INFO: Acknowledgment sent {"connection_id":184936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":186342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:47:04] local.INFO: GPS data processed {"connection_id":186342,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:47:04] local.INFO: Acknowledgment sent {"connection_id":186342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:47:16] local.INFO: TCP Data received {"connection_id":186340,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e2f50012d7c3fc005eac8a8000b013e20..."} 
[2026-09-17 08:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e2f50012d7c3fc005eac8a8000b013e20..."} 
[2026-09-17 08:47:16] local.INFO: Processing buffer {"connection_id":186340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e2f50012d7c3fc005eac8a8000b013e20..."} 
[2026-09-17 08:47:16] local.INFO: Packet analysis {"connection_id":186340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:47:16] local.INFO: Extracted packet for processing {"connection_id":186340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:47:16] local.INFO: GPS Element Parsed {"raw_longitude":763117504,"raw_latitude":99272872,"longitude_deg":76.3117504,"latitude_deg":9.9272872,"altitude":11,"angle":318,"satellites":32,"speed":4,"hex_longitude":"2d7c3fc0","hex_latitude":"05eac8a8","is_valid_coordinates":true} 
[2026-09-17 08:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141446144001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134079726405812224,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953296822114695168,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789615026000,"timestamp_ms":1789615026000,"timestamp_seconds":1789615026,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e2f50"} 
[2026-09-17 08:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-17 08:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141446144001,"66":13059,"10":206,"87":13824,"24":4,"16":134079726405812224,"45":8953296822114695168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 08:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141446144001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:47:16] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 08:47:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134079726405812224,"km_value":134079726405812.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953296822114695168,"description":"Unknown IO ID 45"} 
[2026-09-17 08:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141446144001,"power":13059,"unknown_10":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8953296822114695168}} 
[2026-09-17 08:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":186340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:47:16] local.INFO: GPS data processed {"connection_id":186340,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:47:16] local.INFO: Acknowledgment sent {"connection_id":186340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:47:35] local.INFO: TCP Data received {"connection_id":186342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e6218012d0e34800706a418001d000118..."} 
[2026-09-17 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e6218012d0e34800706a418001d000118..."} 
[2026-09-17 08:47:35] local.INFO: Processing buffer {"connection_id":186342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e6218012d0e34800706a418001d000118..."} 
[2026-09-17 08:47:35] local.INFO: Packet analysis {"connection_id":186342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:47:35] local.INFO: Extracted packet for processing {"connection_id":186342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:47:35] local.INFO: GPS Element Parsed {"raw_longitude":755905664,"raw_latitude":117875736,"longitude_deg":75.5905664,"latitude_deg":11.7875736,"altitude":29,"angle":1,"satellites":24,"speed":14,"hex_longitude":"2d0e3480","hex_latitude":"0706a418","is_valid_coordinates":true} 
[2026-09-17 08:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141446656001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32573787887108096,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023161570517760000,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789615039000,"timestamp_ms":1789615039000,"timestamp_seconds":1789615039,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e6218"} 
[2026-09-17 08:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141446656001,"66":14450,"219":206,"94":10240,"24":14,"16":32573787887108096,"45":1023161570517760000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141446656001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:47:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:47:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32573787887108096,"km_value":32573787887108.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023161570517760000,"description":"Unknown IO ID 45"} 
[2026-09-17 08:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141446656001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1023161570517760000}} 
[2026-09-17 08:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":186342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:47:35] local.INFO: GPS data processed {"connection_id":186342,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:47:35] local.INFO: Acknowledgment sent {"connection_id":186342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:47:36] local.INFO: TCP Data received {"connection_id":184936,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:47:36] local.INFO: Processing buffer {"connection_id":184936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad59ca50012d34c3c006aa4458000c01172c..."} 
[2026-09-17 08:47:36] local.INFO: Packet analysis {"connection_id":184936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:47:36] local.INFO: Extracted packet for processing {"connection_id":184936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad59"} 
[2026-09-17 08:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141295872001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789614738000,"timestamp_ms":1789614738000,"timestamp_seconds":1789614738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad59ca50"} 
[2026-09-17 08:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:47:36] 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-09-17 08:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141295872001,"66":25441,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141295872001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:47:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141295872001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":184936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:47:36] local.INFO: GPS data processed {"connection_id":184936,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:47:36] local.INFO: Acknowledgment sent {"connection_id":184936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:47:38] local.INFO: TCP Data received {"connection_id":187667,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:47:38] local.INFO: Processing buffer {"connection_id":187667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:47:38] local.INFO: IMEI packet received {"connection_id":187667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":187667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:47:39] local.INFO: TCP Data received {"connection_id":187667,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:47:39] local.INFO: Processing buffer {"connection_id":187667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:47:39] local.INFO: IMEI packet received {"connection_id":187667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":187667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:47:44] local.INFO: TCP Data received {"connection_id":187667,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:47:44] local.INFO: Processing buffer {"connection_id":187667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:47:44] local.INFO: IMEI packet received {"connection_id":187667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":187667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:47:44] local.INFO: TCP Data received {"connection_id":187667,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e3720012d7c3f8005eaca08000b015a20..."} 
[2026-09-17 08:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e3720012d7c3f8005eaca08000b015a20..."} 
[2026-09-17 08:47:44] local.INFO: Processing buffer {"connection_id":187667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e3720012d7c3f8005eaca08000b015a20..."} 
[2026-09-17 08:47:44] local.INFO: Packet analysis {"connection_id":187667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:47:44] local.INFO: Extracted packet for processing {"connection_id":187667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763117440,"raw_latitude":99273224,"longitude_deg":76.311744,"latitude_deg":9.9273224,"altitude":11,"angle":346,"satellites":32,"speed":8,"hex_longitude":"2d7c3f80","hex_latitude":"05eaca08","is_valid_coordinates":true} 
[2026-09-17 08:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141446656001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134079743585681408,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953085715882223616,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789615028000,"timestamp_ms":1789615028000,"timestamp_seconds":1789615028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e3720"} 
[2026-09-17 08:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517134,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2908566864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3379036172,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085582,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58079734643818499,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3939678208,"note":"Value kept but may cause issues"} 
[2026-09-17 08:47:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,10,87,24,241,157,16,88,160,39,45,128,199,11,31,66,27,64,30,236,1,240,182,227,173,234,4,113,205,17,135,119,248,34,239,50,8,2,220,5,3],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-09-17 08:47:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792983316554055680,"timestamp_seconds":792983316554055.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141446656001,"66":13319,"10":206,"87":13824,"24":8,"16":134079743585681408,"45":8953085715882223616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 08:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141446656001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:47:44] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 08:47:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134079743585681408,"km_value":134079743585681.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953085715882223616,"description":"Unknown IO ID 45"} 
[2026-09-17 08:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141446656001,"power":13319,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8953085715882223616}} 
[2026-09-17 08:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":187667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:47:44] local.INFO: GPS data processed {"connection_id":187667,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:47:44] local.INFO: Acknowledgment sent {"connection_id":187667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:47:57] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:47:57] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:47:57] local.INFO: IMEI packet received {"connection_id":186345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":186345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:47:57] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:57] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:57] local.INFO: IMEI packet received {"connection_id":186344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":186344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:47:58] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:58] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:47:58] local.INFO: IMEI packet received {"connection_id":186344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":186344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:47:58] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:47:58] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:47:58] local.INFO: IMEI packet received {"connection_id":186345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":186345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:48:02] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:48:02] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:48:02] local.INFO: IMEI packet received {"connection_id":186344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":186344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:48:03] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e69e8012d0e35000706a758001d001019..."} 
[2026-09-17 08:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e69e8012d0e35000706a758001d001019..."} 
[2026-09-17 08:48:03] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e69e8012d0e35000706a758001d001019..."} 
[2026-09-17 08:48:03] local.INFO: Packet analysis {"connection_id":186344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:48:03] local.INFO: Extracted packet for processing {"connection_id":186344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:48:03] local.INFO: GPS Element Parsed {"raw_longitude":755905792,"raw_latitude":117876568,"longitude_deg":75.5905792,"latitude_deg":11.7876568,"altitude":29,"angle":16,"satellites":25,"speed":18,"hex_longitude":"2d0e3500","hex_latitude":"0706a758","is_valid_coordinates":true} 
[2026-09-17 08:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32573826541813760,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023583782984488960,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789615041000,"timestamp_ms":1789615041000,"timestamp_seconds":1789615041,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e69e8"} 
[2026-09-17 08:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 08:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":14515,"219":206,"94":10240,"24":18,"16":32573826541813760,"45":1023583782984488960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:48:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:48:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32573826541813760,"km_value":32573826541813.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023583782984488960,"description":"Unknown IO ID 45"} 
[2026-09-17 08:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1023583782984488960}} 
[2026-09-17 08:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":186344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854219,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:48:03] local.INFO: GPS data processed {"connection_id":186344,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:48:03] local.INFO: Acknowledgment sent {"connection_id":186344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:48:03] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:48:03] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:48:03] local.INFO: IMEI packet received {"connection_id":186345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":186345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:48:05] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:48:05] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:48:05] local.INFO: Packet analysis {"connection_id":186345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:48:05] local.INFO: Extracted packet for processing {"connection_id":186345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141372928001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 08:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 08:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789615039000,"timestamp_ms":1789615039000,"timestamp_seconds":1789615039,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e6218"} 
[2026-09-17 08:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:48:05] 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-09-17 08:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141372928001,"66":25375,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 08:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141372928001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141372928001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":186345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:48:05] local.INFO: GPS data processed {"connection_id":186345,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:48:05] local.INFO: Acknowledgment sent {"connection_id":186345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:48:16] local.INFO: TCP Data received {"connection_id":187667,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e3b08012d7c3f8005eacb68000b016720..."} 
[2026-09-17 08:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e3b08012d7c3f8005eacb68000b016720..."} 
[2026-09-17 08:48:16] local.INFO: Processing buffer {"connection_id":187667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e3b08012d7c3f8005eacb68000b016720..."} 
[2026-09-17 08:48:16] local.INFO: Packet analysis {"connection_id":187667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:48:16] local.INFO: Extracted packet for processing {"connection_id":187667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763117440,"raw_latitude":99273576,"longitude_deg":76.311744,"latitude_deg":9.9273576,"altitude":11,"angle":359,"satellites":32,"speed":13,"hex_longitude":"2d7c3f80","hex_latitude":"05eacb68","is_valid_coordinates":true} 
[2026-09-17 08:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141447168001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134079760765550592,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953015347138136064,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789615029000,"timestamp_ms":1789615029000,"timestamp_seconds":1789615029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e3b08"} 
[2026-09-17 08:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2908587864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":43008,"corrected_to":0} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-3262857882768694784,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3221613257,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3939497984,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":139,"raw_value":57788166505912118,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3841571777021001733,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:16] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,10,87,24,241,157,16,88,160,47,45,192,200,11,32,66,39,128,199,31,27,64,1,240,46,227,173,234,4,113,205,15,193,91,104,239,50,8,2,220,5,20,139,93],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":200,"original":43008,"validated":0},{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-09-17 08:48:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793014102879895552,"timestamp_seconds":793014102879895.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141447168001,"66":13319,"10":206,"87":13824,"24":13,"16":134079760765550592,"45":8953015347138136064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 08:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141447168001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:48:16] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 08:48:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134079760765550592,"km_value":134079760765550.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953015347138136064,"description":"Unknown IO ID 45"} 
[2026-09-17 08:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141447168001,"power":13319,"unknown_10":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8953015347138136064}} 
[2026-09-17 08:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":187667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:48:16] local.INFO: GPS data processed {"connection_id":187667,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:48:16] local.INFO: Acknowledgment sent {"connection_id":187667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:48:34] local.INFO: TCP Data received {"connection_id":186344,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e94e0012d0e3b800706c068001c000419..."} 
[2026-09-17 08:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e94e0012d0e3b800706c068001c000419..."} 
[2026-09-17 08:48:34] local.INFO: Processing buffer {"connection_id":186344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e94e0012d0e3b800706c068001c000419..."} 
[2026-09-17 08:48:34] local.INFO: Packet analysis {"connection_id":186344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:48:34] local.INFO: Extracted packet for processing {"connection_id":186344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:48:34] local.INFO: GPS Element Parsed {"raw_longitude":755907456,"raw_latitude":117882984,"longitude_deg":75.5907456,"latitude_deg":11.7882984,"altitude":28,"angle":4,"satellites":25,"speed":24,"hex_longitude":"2d0e3b80","hex_latitude":"0706c068","is_valid_coordinates":true} 
[2026-09-17 08:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141450496001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32574148664360960,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023724520473057280,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789615052000,"timestamp_ms":1789615052000,"timestamp_seconds":1789615052,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e94e0"} 
[2026-09-17 08:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 08:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141450496001,"66":14559,"219":206,"94":10240,"24":24,"16":32574148664360960,"45":1023724520473057280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141450496001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:48:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:48:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32574148664360960,"km_value":32574148664360.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023724520473057280,"description":"Unknown IO ID 45"} 
[2026-09-17 08:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141450496001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":1023724520473057280}} 
[2026-09-17 08:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":186344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854222,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:48:34] local.INFO: GPS data processed {"connection_id":186344,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:48:34] local.INFO: Acknowledgment sent {"connection_id":186344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:48:48] local.INFO: TCP Data received {"connection_id":185045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:48:48] local.INFO: Processing buffer {"connection_id":185045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:48:48] local.INFO: IMEI packet received {"connection_id":185045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":185045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:48:53] local.INFO: TCP Data received {"connection_id":185045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:48:53] local.INFO: Processing buffer {"connection_id":185045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:48:53] local.INFO: IMEI packet received {"connection_id":185045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":185045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:48:57] local.INFO: TCP Data received {"connection_id":187669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:48:57] local.INFO: Processing buffer {"connection_id":187669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:48:57] local.INFO: IMEI packet received {"connection_id":187669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":187669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:48:57] local.INFO: TCP Data received {"connection_id":185045,"ip":"42.106.6.23","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0ad..."} 
[2026-09-17 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185045,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0ad..."} 
[2026-09-17 08:48:57] local.INFO: Processing buffer {"connection_id":185045,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0ad..."} 
[2026-09-17 08:48:57] local.INFO: IMEI packet received {"connection_id":185045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":185045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:48:58] local.INFO: TCP Data received {"connection_id":187669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:48:58] local.INFO: Processing buffer {"connection_id":187669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:48:58] local.INFO: IMEI packet received {"connection_id":187669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":187669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:48:59] local.INFO: TCP Data received {"connection_id":185045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5f9a98012d7c0a4005ebb0d00002014d20..."} 
[2026-09-17 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5f9a98012d7c0a4005ebb0d00002014d20..."} 
[2026-09-17 08:48:59] local.INFO: Processing buffer {"connection_id":185045,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0ad5f7770012d7c148005eb97280003015821..."} 
[2026-09-17 08:48:59] local.INFO: Packet analysis {"connection_id":185045,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:48:59] local.INFO: Extracted packet for processing {"connection_id":185045,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763106432,"raw_latitude":99325736,"longitude_deg":76.3106432,"latitude_deg":9.9325736,"altitude":3,"angle":344,"satellites":33,"speed":31,"hex_longitude":"2d7c1480","hex_latitude":"05eb9728","is_valid_coordinates":true} 
[2026-09-17 08:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141465088001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134082393580503040,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943445197941057536,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789615110000,"timestamp_ms":1789615110000,"timestamp_seconds":1789615110,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5f7770"} 
[2026-09-17 08:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 08:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141465088001,"66":13200,"10":206,"87":13824,"24":31,"16":134082393580503040,"45":8943445197941057536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 08:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141465088001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:48:59] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 08:48:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134082393580503040,"km_value":134082393580503.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943445197941057536,"description":"Unknown IO ID 45"} 
[2026-09-17 08:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141465088001,"power":13200,"unknown_10":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8943445197941057536}} 
[2026-09-17 08:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":185045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:48:59] local.INFO: GPS data processed {"connection_id":185045,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:48:59] local.INFO: Acknowledgment sent {"connection_id":185045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:48:59] local.INFO: Packet analysis {"connection_id":185045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:48:59] local.INFO: Extracted packet for processing {"connection_id":185045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763103808,"raw_latitude":99332304,"longitude_deg":76.3103808,"latitude_deg":9.9332304,"altitude":2,"angle":333,"satellites":32,"speed":30,"hex_longitude":"2d7c0a40","hex_latitude":"05ebb0d0","is_valid_coordinates":true} 
[2026-09-17 08:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141468160001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134082737177886720,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940911923153020928,"note":"Value kept but may cause issues"} 
[2026-09-17 08:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789615119000,"timestamp_ms":1789615119000,"timestamp_seconds":1789615119,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5f9a98"} 
[2026-09-17 08:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-17 08:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141468160001,"66":12961,"10":206,"87":13824,"24":30,"16":134082737177886720,"45":8940911923153020928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 08:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141468160001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:48:59] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 08:48:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134082737177886720,"km_value":134082737177886.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940911923153020928,"description":"Unknown IO ID 45"} 
[2026-09-17 08:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141468160001,"power":12961,"unknown_10":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8940911923153020928}} 
[2026-09-17 08:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":185045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:48:59] local.INFO: GPS data processed {"connection_id":185045,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:48:59] local.INFO: Acknowledgment sent {"connection_id":185045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:49:02] local.INFO: TCP Data received {"connection_id":187669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:49:02] local.INFO: Processing buffer {"connection_id":187669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:49:02] local.INFO: IMEI packet received {"connection_id":187669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":187669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:49:03] local.INFO: TCP Data received {"connection_id":187669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5f8af8012d0e3a8007070478002501231a..."} 
[2026-09-17 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5f8af8012d0e3a8007070478002501231a..."} 
[2026-09-17 08:49:03] local.INFO: Processing buffer {"connection_id":187669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5f8af8012d0e3a8007070478002501231a..."} 
[2026-09-17 08:49:03] local.INFO: Packet analysis {"connection_id":187669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:49:03] local.INFO: Extracted packet for processing {"connection_id":187669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:49:03] local.INFO: GPS Element Parsed {"raw_longitude":755907200,"raw_latitude":117900408,"longitude_deg":75.59072,"latitude_deg":11.7900408,"altitude":37,"angle":291,"satellites":26,"speed":12,"hex_longitude":"2d0e3a80","hex_latitude":"07070478","is_valid_coordinates":true} 
[2026-09-17 08:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141469184001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32575029132656640,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025624476571920384,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789615115000,"timestamp_ms":1789615115000,"timestamp_seconds":1789615115,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5f8af8"} 
[2026-09-17 08:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 08:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141469184001,"66":13798,"219":206,"94":10240,"24":12,"16":32575029132656640,"45":1025624476571920384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141469184001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:49:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:49:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32575029132656640,"km_value":32575029132656.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025624476571920384,"description":"Unknown IO ID 45"} 
[2026-09-17 08:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141469184001,"power":13798,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1025624476571920384}} 
[2026-09-17 08:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":187669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854225,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:49:03] local.INFO: GPS data processed {"connection_id":187669,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:49:03] local.INFO: Acknowledgment sent {"connection_id":187669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:49:04] local.INFO: TCP Data received {"connection_id":186345,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:49:04] local.INFO: Processing buffer {"connection_id":186345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:49:04] local.INFO: Packet analysis {"connection_id":186345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:49:04] local.INFO: Extracted packet for processing {"connection_id":186345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141372928001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 08:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 08:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615039000,"timestamp_ms":1789615039000,"timestamp_seconds":1789615039,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e6218"} 
[2026-09-17 08:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:49:04] 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-09-17 08:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141372928001,"66":25375,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 08:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141372928001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141372928001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":186345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:49:04] local.INFO: GPS data processed {"connection_id":186345,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:49:04] local.INFO: Acknowledgment sent {"connection_id":186345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:49:05] local.INFO: TCP Data received {"connection_id":185045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5fb9d8012d7c010005ebc7300000015822..."} 
[2026-09-17 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5fb9d8012d7c010005ebc7300000015822..."} 
[2026-09-17 08:49:05] local.INFO: Processing buffer {"connection_id":185045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5fb9d8012d7c010005ebc7300000015822..."} 
[2026-09-17 08:49:05] local.INFO: Packet analysis {"connection_id":185045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:49:05] local.INFO: Extracted packet for processing {"connection_id":185045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763101440,"raw_latitude":99338032,"longitude_deg":76.310144,"latitude_deg":9.9338032,"altitude":0,"angle":344,"satellites":34,"speed":27,"hex_longitude":"2d7c0100","hex_latitude":"05ebc730","is_valid_coordinates":true} 
[2026-09-17 08:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141470464001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134083037825597440,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026804643418112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789615127000,"timestamp_ms":1789615127000,"timestamp_seconds":1789615127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5fb9d8"} 
[2026-09-17 08:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-17 08:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141470464001,"66":13374,"10":206,"87":13824,"24":27,"16":134083037825597440,"45":8938026804643418112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 08:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141470464001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:49:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 08:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134083037825597440,"km_value":134083037825597.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026804643418112,"description":"Unknown IO ID 45"} 
[2026-09-17 08:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141470464001,"power":13374,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8938026804643418112}} 
[2026-09-17 08:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":185045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:49:05] local.INFO: GPS data processed {"connection_id":185045,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:49:05] local.INFO: Acknowledgment sent {"connection_id":185045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:49:11] local.INFO: TCP Data received {"connection_id":184937,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:49:11] local.INFO: Processing buffer {"connection_id":184937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:49:11] local.INFO: IMEI packet received {"connection_id":184937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":184937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:49:13] local.INFO: TCP Data received {"connection_id":184937,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:49:13] local.INFO: Processing buffer {"connection_id":184937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:49:13] local.INFO: IMEI packet received {"connection_id":184937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":184937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:49:14] local.INFO: TCP Data received {"connection_id":184937,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:49:14] local.INFO: Processing buffer {"connection_id":184937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:49:14] local.INFO: Packet analysis {"connection_id":184937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:49:14] local.INFO: Extracted packet for processing {"connection_id":184937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141372928001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 08:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 08:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789615039000,"timestamp_ms":1789615039000,"timestamp_seconds":1789615039,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e6218"} 
[2026-09-17 08:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:49: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-09-17 08:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141372928001,"66":25375,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 08:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141372928001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141372928001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":184937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:49:14] local.INFO: GPS data processed {"connection_id":184937,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:49:14] local.INFO: Acknowledgment sent {"connection_id":184937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:49:31] local.INFO: TCP Data received {"connection_id":184937,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:49:31] local.INFO: Processing buffer {"connection_id":184937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:49:31] local.INFO: Packet analysis {"connection_id":184937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:49:31] local.INFO: Extracted packet for processing {"connection_id":184937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141372928001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 08:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 08:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789615039000,"timestamp_ms":1789615039000,"timestamp_seconds":1789615039,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e6218"} 
[2026-09-17 08:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":184937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":184937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":184937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:49:31] 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-09-17 08:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141372928001,"66":25375,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 08:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141372928001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141372928001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":184937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:49:31] local.INFO: GPS data processed {"connection_id":184937,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:49:31] local.INFO: Acknowledgment sent {"connection_id":184937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:49:33] local.INFO: TCP Data received {"connection_id":187669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5f8ee0012d0e3940070704c0002501161a..."} 
[2026-09-17 08:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5f8ee0012d0e3940070704c0002501161a..."} 
[2026-09-17 08:49:33] local.INFO: Processing buffer {"connection_id":187669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5f8ee0012d0e3940070704c0002501161a..."} 
[2026-09-17 08:49:33] local.INFO: Packet analysis {"connection_id":187669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:49:33] local.INFO: Extracted packet for processing {"connection_id":187669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5f"} 
[2026-09-17 08:49:33] local.INFO: GPS Element Parsed {"raw_longitude":755906880,"raw_latitude":117900480,"longitude_deg":75.590688,"latitude_deg":11.790048,"altitude":37,"angle":278,"satellites":26,"speed":12,"hex_longitude":"2d0e3940","hex_latitude":"070704c0","is_valid_coordinates":true} 
[2026-09-17 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141469440001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32575042017558528,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025272632851068928,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789615116000,"timestamp_ms":1789615116000,"timestamp_seconds":1789615116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5f8ee0"} 
[2026-09-17 08:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-17 08:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141469440001,"66":13798,"219":206,"94":10240,"24":12,"16":32575042017558528,"45":1025272632851068928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141469440001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:49:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:49:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32575042017558528,"km_value":32575042017558.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025272632851068928,"description":"Unknown IO ID 45"} 
[2026-09-17 08:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141469440001,"power":13798,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1025272632851068928}} 
[2026-09-17 08:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":187669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854230,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:49:34] local.INFO: GPS data processed {"connection_id":187669,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:49:34] local.INFO: Acknowledgment sent {"connection_id":187669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:49:39] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:49:39] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:49:39] local.INFO: IMEI packet received {"connection_id":187670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":187670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:49:39] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:49:39] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:49:39] local.INFO: IMEI packet received {"connection_id":187670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":187670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:49:43] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:49:43] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:49:43] local.INFO: IMEI packet received {"connection_id":187670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":187670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:49:44] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad600be0012d7bf84005ebe4000000015d1f..."} 
[2026-09-17 08:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad600be0012d7bf84005ebe4000000015d1f..."} 
[2026-09-17 08:49:44] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad600be0012d7bf84005ebe4000000015d1f..."} 
[2026-09-17 08:49:44] local.INFO: Packet analysis {"connection_id":187670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:49:44] local.INFO: Extracted packet for processing {"connection_id":187670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763099200,"raw_latitude":99345408,"longitude_deg":76.30992,"latitude_deg":9.9345408,"altitude":0,"angle":349,"satellites":31,"speed":0,"hex_longitude":"2d7bf840","hex_latitude":"05ebe400","is_valid_coordinates":true} 
[2026-09-17 08:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141472512001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134083415782719488,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935423161110310912,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789615148000,"timestamp_ms":1789615148000,"timestamp_seconds":1789615148,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad600be0"} 
[2026-09-17 08:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 08:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141472512001,"66":13341,"198":206,"87":13824,"24":0,"16":134083415782719488,"45":8935423161110310912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 08:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141472512001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:49:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 08:49:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134083415782719488,"km_value":134083415782719.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935423161110310912,"description":"Unknown IO ID 45"} 
[2026-09-17 08:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141472512001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8935423161110310912}} 
[2026-09-17 08:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":187670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:49:44] local.INFO: GPS data processed {"connection_id":187670,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:49:44] local.INFO: Acknowledgment sent {"connection_id":187670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:49:45] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad605230012d7bf30005ec09000000015a20..."} 
[2026-09-17 08:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad605230012d7bf30005ec09000000015a20..."} 
[2026-09-17 08:49:45] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad605230012d7bf30005ec09000000015a20..."} 
[2026-09-17 08:49:45] local.INFO: Packet analysis {"connection_id":187670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:49:45] local.INFO: Extracted packet for processing {"connection_id":187670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:49:45] local.INFO: GPS Element Parsed {"raw_longitude":763097856,"raw_latitude":99354880,"longitude_deg":76.3097856,"latitude_deg":9.935488,"altitude":0,"angle":346,"satellites":32,"speed":28,"hex_longitude":"2d7bf300","hex_latitude":"05ec0900","is_valid_coordinates":true} 
[2026-09-17 08:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141477888001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134083879639187456,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932960255065980928,"note":"Value kept but may cause issues"} 
[2026-09-17 08:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789615166000,"timestamp_ms":1789615166000,"timestamp_seconds":1789615166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad605230"} 
[2026-09-17 08:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 08:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141477888001,"66":12809,"198":206,"87":13824,"24":28,"16":134083879639187456,"45":8932960255065980928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 08:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141477888001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:49:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 08:49:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134083879639187456,"km_value":134083879639187.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932960255065980928,"description":"Unknown IO ID 45"} 
[2026-09-17 08:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141477888001,"power":12809,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8932960255065980928}} 
[2026-09-17 08:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":187670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:49:45] local.INFO: GPS data processed {"connection_id":187670,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:49:45] local.INFO: Acknowledgment sent {"connection_id":187670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:50:02] local.INFO: TCP Data received {"connection_id":185046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:02] local.INFO: Processing buffer {"connection_id":185046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:02] local.INFO: IMEI packet received {"connection_id":185046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":185046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:50:05] local.INFO: TCP Data received {"connection_id":185046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:05] local.INFO: Processing buffer {"connection_id":185046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:05] local.INFO: IMEI packet received {"connection_id":185046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":185046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:50:05] local.INFO: TCP Data received {"connection_id":185046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad607940012d0dca800706f338001f00f519..."} 
[2026-09-17 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad607940012d0dca800706f338001f00f519..."} 
[2026-09-17 08:50:05] local.INFO: Processing buffer {"connection_id":185046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad607940012d0dca800706f338001f00f519..."} 
[2026-09-17 08:50:05] local.INFO: Packet analysis {"connection_id":185046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:05] local.INFO: Extracted packet for processing {"connection_id":185046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":755878528,"raw_latitude":117895992,"longitude_deg":75.5878528,"latitude_deg":11.7895992,"altitude":31,"angle":245,"satellites":25,"speed":17,"hex_longitude":"2d0dca80","hex_latitude":"0706f338","is_valid_coordinates":true} 
[2026-09-17 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141484800001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32576459356766208,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994028910435086336,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789615176000,"timestamp_ms":1789615176000,"timestamp_seconds":1789615176,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad607940"} 
[2026-09-17 08:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 08:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141484800001,"66":14407,"219":206,"94":10240,"24":17,"16":32576459356766208,"45":994028910435086336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141484800001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:50:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:50:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32576459356766208,"km_value":32576459356766.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":994028910435086336,"description":"Unknown IO ID 45"} 
[2026-09-17 08:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141484800001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":994028910435086336}} 
[2026-09-17 08:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":185046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:50:06] local.INFO: GPS data processed {"connection_id":185046,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:50:06] local.INFO: Acknowledgment sent {"connection_id":185046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:50:07] local.INFO: TCP Data received {"connection_id":185046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad607d28012d0dc8c00706f308002001041a..."} 
[2026-09-17 08:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad607d28012d0dc8c00706f308002001041a..."} 
[2026-09-17 08:50:07] local.INFO: Processing buffer {"connection_id":185046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad607d28012d0dc8c00706f308002001041a..."} 
[2026-09-17 08:50:07] local.INFO: Packet analysis {"connection_id":185046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:07] local.INFO: Extracted packet for processing {"connection_id":185046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:07] local.INFO: GPS Element Parsed {"raw_longitude":755878080,"raw_latitude":117895944,"longitude_deg":75.587808,"latitude_deg":11.7895944,"altitude":32,"angle":260,"satellites":26,"speed":19,"hex_longitude":"2d0dc8c0","hex_latitude":"0706f308","is_valid_coordinates":true} 
[2026-09-17 08:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141485056001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32576480831602688,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993747435458344960,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789615177000,"timestamp_ms":1789615177000,"timestamp_seconds":1789615177,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad607d28"} 
[2026-09-17 08:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 08:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141485056001,"66":14407,"219":206,"94":10240,"24":19,"16":32576480831602688,"45":993747435458344960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141485056001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:50:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:50:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32576480831602688,"km_value":32576480831602.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":993747435458344960,"description":"Unknown IO ID 45"} 
[2026-09-17 08:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141485056001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":993747435458344960}} 
[2026-09-17 08:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":185046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854234,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:50:08] local.INFO: GPS data processed {"connection_id":185046,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:50:08] local.INFO: Acknowledgment sent {"connection_id":185046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:50:16] local.INFO: TCP Data received {"connection_id":187670,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad608110012d7beb4005ec25b00000014e21..."} 
[2026-09-17 08:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad608110012d7beb4005ec25b00000014e21..."} 
[2026-09-17 08:50:16] local.INFO: Processing buffer {"connection_id":187670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad608110012d7beb4005ec25b00000014e21..."} 
[2026-09-17 08:50:16] local.INFO: Packet analysis {"connection_id":187670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:16] local.INFO: Extracted packet for processing {"connection_id":187670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:16] local.INFO: GPS Element Parsed {"raw_longitude":763095872,"raw_latitude":99362224,"longitude_deg":76.3095872,"latitude_deg":9.9362224,"altitude":0,"angle":334,"satellites":33,"speed":13,"hex_longitude":"2d7beb40","hex_latitude":"05ec25b0","is_valid_coordinates":true} 
[2026-09-17 08:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141482496001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134084249006374912,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931482511440674816,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789615178000,"timestamp_ms":1789615178000,"timestamp_seconds":1789615178,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad608110"} 
[2026-09-17 08:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2908684864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":173,"raw_value":6842806222475502848,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2535981059,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2415996284,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2147871603,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330703079329367,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1492459491289988831,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:16] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,198,87,24,241,157,16,92,160,11,45,64,228,31,10,66,185,199,34,91,154,1,240,161,227,173,235,4,113,205,72,29,40,239,50,2,220,5,22,54,105],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-09-17 08:50:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":380568463998976,"timestamp_seconds":380568463998.976,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141482496001,"66":12537,"198":206,"87":13824,"24":13,"16":134084249006374912,"45":8931482511440674816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 08:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141482496001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:50:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 08:50:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134084249006374912,"km_value":134084249006374.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931482511440674816,"description":"Unknown IO ID 45"} 
[2026-09-17 08:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141482496001,"power":12537,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8931482511440674816}} 
[2026-09-17 08:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":187670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:50:16] local.INFO: GPS data processed {"connection_id":187670,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:50:16] local.INFO: Acknowledgment sent {"connection_id":187670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:50:33] local.INFO: TCP Data received {"connection_id":186347,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:50:33] local.INFO: Processing buffer {"connection_id":186347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:50:33] local.INFO: IMEI packet received {"connection_id":186347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":186347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:50:37] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:50:37] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:50:37] local.INFO: IMEI packet received {"connection_id":186348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":186348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:50:38] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:50:38] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:50:38] local.INFO: IMEI packet received {"connection_id":186348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":186348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:50:39] local.INFO: TCP Data received {"connection_id":185046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad60aff0012d0da8000706ee580028011919..."} 
[2026-09-17 08:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad60aff0012d0da8000706ee580028011919..."} 
[2026-09-17 08:50:39] local.INFO: Processing buffer {"connection_id":185046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad60aff0012d0da8000706ee580028011919..."} 
[2026-09-17 08:50:39] local.INFO: Packet analysis {"connection_id":185046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:39] local.INFO: Extracted packet for processing {"connection_id":185046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:39] local.INFO: GPS Element Parsed {"raw_longitude":755869696,"raw_latitude":117894744,"longitude_deg":75.5869696,"latitude_deg":11.7894744,"altitude":40,"angle":281,"satellites":25,"speed":22,"hex_longitude":"2d0da800","hex_latitude":"0706ee58","is_valid_coordinates":true} 
[2026-09-17 08:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141485312001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32576888853495808,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993254854249089024,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789615190000,"timestamp_ms":1789615190000,"timestamp_seconds":1789615190,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad60aff0"} 
[2026-09-17 08:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 08:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141485312001,"66":14363,"219":206,"94":10240,"24":22,"16":32576888853495808,"45":993254854249089024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 08:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141485312001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:50:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 08:50:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32576888853495808,"km_value":32576888853495.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":993254854249089024,"description":"Unknown IO ID 45"} 
[2026-09-17 08:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141485312001,"power":14363,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":993254854249089024}} 
[2026-09-17 08:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":185046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854236,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:50:39] local.INFO: GPS data processed {"connection_id":185046,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:50:39] local.INFO: Acknowledgment sent {"connection_id":185046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:50:40] local.INFO: TCP Data received {"connection_id":186347,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:50:40] local.INFO: Processing buffer {"connection_id":186347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:50:40] local.INFO: IMEI packet received {"connection_id":186347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":186347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:50:42] local.INFO: TCP Data received {"connection_id":186347,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:50:42] local.INFO: Processing buffer {"connection_id":186347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad5e6218012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:50:42] local.INFO: Packet analysis {"connection_id":186347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:50:42] local.INFO: Extracted packet for processing {"connection_id":186347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad5e"} 
[2026-09-17 08:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141372928001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 08:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 08:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789615039000,"timestamp_ms":1789615039000,"timestamp_seconds":1789615039,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad5e6218"} 
[2026-09-17 08:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 08:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08: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-09-17 08:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141372928001,"66":25375,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 08:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141372928001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141372928001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":186347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:50:42] local.INFO: GPS data processed {"connection_id":186347,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:50:42] local.INFO: Acknowledgment sent {"connection_id":186347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:50:43] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:50:43] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:50:43] local.INFO: IMEI packet received {"connection_id":186348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":186348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:50:44] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad608cc8012d7be9c005ec28580000013f20..."} 
[2026-09-17 08:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad608cc8012d7be9c005ec28580000013f20..."} 
[2026-09-17 08:50:44] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad608cc8012d7be9c005ec28580000013f20..."} 
[2026-09-17 08:50:44] local.INFO: Packet analysis {"connection_id":186348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:44] local.INFO: Extracted packet for processing {"connection_id":186348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad60"} 
[2026-09-17 08:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763095488,"raw_latitude":99362904,"longitude_deg":76.3095488,"latitude_deg":9.9362904,"altitude":0,"angle":319,"satellites":32,"speed":10,"hex_longitude":"2d7be9c0","hex_latitude":"05ec2858","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141485568001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134084287661080576,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929301080373047296,"note":"Value kept but may cause issues"} 
[2026-09-17 08:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789615181000,"timestamp_ms":1789615181000,"timestamp_seconds":1789615181,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad608cc8"} 
[2026-09-17 08:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 08:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141485568001,"66":13222,"198":206,"87":13824,"24":10,"16":134084287661080576,"45":8929301080373047296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 08:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141485568001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:50:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 08:50:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134084287661080576,"km_value":134084287661080.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929301080373047296,"description":"Unknown IO ID 45"} 
[2026-09-17 08:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141485568001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8929301080373047296}} 
[2026-09-17 08:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":186348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:50:44] local.INFO: GPS data processed {"connection_id":186348,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:50:44] local.INFO: Acknowledgment sent {"connection_id":186348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:50:56] local.INFO: TCP Data received {"connection_id":185048,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:56] local.INFO: Processing buffer {"connection_id":185048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:56] local.INFO: IMEI packet received {"connection_id":185048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":185048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:50:57] local.INFO: TCP Data received {"connection_id":185048,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 08:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185048,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 08:50:57] local.INFO: Processing buffer {"connection_id":185048,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 08:50:57] local.INFO: IMEI packet received {"connection_id":185048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":185048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:50:58] local.INFO: TCP Data received {"connection_id":185048,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:50:58] local.INFO: Processing buffer {"connection_id":185048,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 08:50:58] local.INFO: IMEI packet received {"connection_id":185048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":185048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:51:11] local.INFO: TCP Data received {"connection_id":185047,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:51:11] local.INFO: Processing buffer {"connection_id":185047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:51:11] local.INFO: IMEI packet received {"connection_id":185047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":185047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:51:17] local.INFO: TCP Data received {"connection_id":186348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad61a9f0012d7cc6c005ec40180005005124..."} 
[2026-09-17 08:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad61a9f0012d7cc6c005ec40180005005124..."} 
[2026-09-17 08:51:17] local.INFO: Processing buffer {"connection_id":186348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad61a9f0012d7cc6c005ec40180005005124..."} 
[2026-09-17 08:51:17] local.INFO: Packet analysis {"connection_id":186348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad61"} 
[2026-09-17 08:51:17] local.INFO: Extracted packet for processing {"connection_id":186348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad61"} 
[2026-09-17 08:51:17] local.INFO: GPS Element Parsed {"raw_longitude":763152064,"raw_latitude":99368984,"longitude_deg":76.3152064,"latitude_deg":9.9368984,"altitude":5,"angle":81,"satellites":36,"speed":46,"hex_longitude":"2d7cc6c0","hex_latitude":"05ec4018","is_valid_coordinates":true} 
[2026-09-17 08:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141502976001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134087246893547520,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980529526135904256,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789615254000,"timestamp_ms":1789615254000,"timestamp_seconds":1789615254,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad61a9f0"} 
[2026-09-17 08:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2908797864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":41,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3821304283826233344,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962953728,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.WARNING: Large IO value detected {"io_id":96,"raw_value":-5206159874376581115,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:17] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,198,87,24,241,157,16,95,160,99,45,128,59,9,41,10,66,94,68,58,8,39,33,192,1,240,7,227,173,236,4,113,205,40,191,232,112,32,239,50,2,220,5,15,96],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-17 08:51:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432442497347289088,"timestamp_seconds":432442497347289.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141502976001,"66":12689,"198":206,"87":13824,"24":46,"16":134087246893547520,"45":8980529526135904256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 08:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141502976001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:51:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 08:51:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134087246893547520,"km_value":134087246893547.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980529526135904256,"description":"Unknown IO ID 45"} 
[2026-09-17 08:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141502976001,"power":12689,"unknown_198":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8980529526135904256}} 
[2026-09-17 08:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":186348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:51:17] local.INFO: GPS data processed {"connection_id":186348,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:51:17] local.INFO: Acknowledgment sent {"connection_id":186348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:51:21] local.INFO: TCP Data received {"connection_id":184938,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:51:21] local.INFO: Processing buffer {"connection_id":184938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:51:21] local.INFO: IMEI packet received {"connection_id":184938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":184938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:51:39] local.INFO: TCP Data received {"connection_id":184939,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:51:39] local.INFO: Processing buffer {"connection_id":184939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:51:39] local.INFO: IMEI packet received {"connection_id":184939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":184939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:51:43] local.INFO: TCP Data received {"connection_id":184938,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:51:43] local.INFO: Processing buffer {"connection_id":184938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:51:43] local.INFO: IMEI packet received {"connection_id":184938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":184938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:51:43] local.INFO: TCP Data received {"connection_id":184939,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:51:43] local.INFO: Processing buffer {"connection_id":184939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:51:43] local.INFO: IMEI packet received {"connection_id":184939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":184939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:51:46] local.INFO: TCP Data received {"connection_id":184939,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad61c930012d7cea8005ec41580006005722..."} 
[2026-09-17 08:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad61c930012d7cea8005ec41580006005722..."} 
[2026-09-17 08:51:46] local.INFO: Processing buffer {"connection_id":184939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad61c930012d7cea8005ec41580006005722..."} 
[2026-09-17 08:51:46] local.INFO: Packet analysis {"connection_id":184939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad61"} 
[2026-09-17 08:51:46] local.INFO: Extracted packet for processing {"connection_id":184939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad61"} 
[2026-09-17 08:51:46] local.INFO: GPS Element Parsed {"raw_longitude":763161216,"raw_latitude":99369304,"longitude_deg":76.3161216,"latitude_deg":9.9369304,"altitude":6,"angle":87,"satellites":34,"speed":40,"hex_longitude":"2d7cea80","hex_latitude":"05ec4158","is_valid_coordinates":true} 
[2026-09-17 08:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141505024001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134087684980211712,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991084837762766848,"note":"Value kept but may cause issues"} 
[2026-09-17 08:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789615262000,"timestamp_ms":1789615262000,"timestamp_seconds":1789615262,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad61c930"} 
[2026-09-17 08:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 08:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141505024001,"66":13059,"198":206,"87":13824,"24":40,"16":134087684980211712,"45":8991084837762766848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 08:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141505024001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:51:46] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 08:51:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134087684980211712,"km_value":134087684980211.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991084837762766848,"description":"Unknown IO ID 45"} 
[2026-09-17 08:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141505024001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8991084837762766848}} 
[2026-09-17 08:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":184939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:51:46] local.INFO: GPS data processed {"connection_id":184939,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:51:46] local.INFO: Acknowledgment sent {"connection_id":184939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:51:50] local.INFO: TCP Data received {"connection_id":186349,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:51:50] local.INFO: Processing buffer {"connection_id":186349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:51:50] local.INFO: IMEI packet received {"connection_id":186349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":186349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:52:18] local.INFO: TCP Data received {"connection_id":184939,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad626d40012d7cf50005ec3a88000b010b26..."} 
[2026-09-17 08:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad626d40012d7cf50005ec3a88000b010b26..."} 
[2026-09-17 08:52:18] local.INFO: Processing buffer {"connection_id":184939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad626d40012d7cf50005ec3a88000b010b26..."} 
[2026-09-17 08:52:18] local.INFO: Packet analysis {"connection_id":184939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:52:18] local.INFO: Extracted packet for processing {"connection_id":184939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763163904,"raw_latitude":99367560,"longitude_deg":76.3163904,"latitude_deg":9.936756,"altitude":11,"angle":267,"satellites":38,"speed":37,"hex_longitude":"2d7cf500","hex_latitude":"05ec3a88","is_valid_coordinates":true} 
[2026-09-17 08:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141514496001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134088904750923776,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587998317895680,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789615304000,"timestamp_ms":1789615304000,"timestamp_seconds":1789615304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad626d40"} 
[2026-09-17 08:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2908885864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4800837232849462528,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817289,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963760640,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.WARNING: Large IO value detected {"io_id":98,"raw_value":1116894002472271877,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,96,160,50,45,61,8,38,10,66,46,192,62,7,42,1,240,117,227,173,236,4,113,205,23,32,37,239,49,2,220,5,6,221,98],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-09-17 08:52:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648802183550992384,"timestamp_seconds":648802183550992.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":184939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":184939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":184939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141514496001,"66":13178,"110":206,"87":13824,"24":37,"16":134088904750923776,"45":9014587998317895680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 08:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141514496001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:52:18] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 08:52:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134088904750923776,"km_value":134088904750923.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587998317895680,"description":"Unknown IO ID 45"} 
[2026-09-17 08:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141514496001,"power":13178,"unknown_110":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9014587998317895680}} 
[2026-09-17 08:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":184939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:52:18] local.INFO: GPS data processed {"connection_id":184939,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:52:18] local.INFO: Acknowledgment sent {"connection_id":184939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:52:41] local.INFO: TCP Data received {"connection_id":187671,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:52:41] local.INFO: Processing buffer {"connection_id":187671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:52:41] local.INFO: IMEI packet received {"connection_id":187671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":187671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:52:43] local.INFO: TCP Data received {"connection_id":187671,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:52:43] local.INFO: Processing buffer {"connection_id":187671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:52:43] local.INFO: IMEI packet received {"connection_id":187671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":187671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:52:48] local.INFO: TCP Data received {"connection_id":187671,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:52:48] local.INFO: Processing buffer {"connection_id":187671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:52:48] local.INFO: IMEI packet received {"connection_id":187671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":187671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:52:49] local.INFO: TCP Data received {"connection_id":187671,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad629450012d7ccf4005ec3958000d010c24..."} 
[2026-09-17 08:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad629450012d7ccf4005ec3958000d010c24..."} 
[2026-09-17 08:52:49] local.INFO: Processing buffer {"connection_id":187671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad629450012d7ccf4005ec3958000d010c24..."} 
[2026-09-17 08:52:49] local.INFO: Packet analysis {"connection_id":187671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:52:49] local.INFO: Extracted packet for processing {"connection_id":187671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763154240,"raw_latitude":99367256,"longitude_deg":76.315424,"latitude_deg":9.9367256,"altitude":13,"angle":268,"satellites":36,"speed":32,"hex_longitude":"2d7ccf40","hex_latitude":"05ec3958","is_valid_coordinates":true} 
[2026-09-17 08:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141517824001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134089368607391744,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004103055435270144,"note":"Value kept but may cause issues"} 
[2026-09-17 08:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789615314000,"timestamp_ms":1789615314000,"timestamp_seconds":1789615314,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad629450"} 
[2026-09-17 08:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 08:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141517824001,"66":13243,"110":206,"87":13824,"24":32,"16":134089368607391744,"45":9004103055435270144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 08:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141517824001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:52:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 08:52:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134089368607391744,"km_value":134089368607391.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004103055435270144,"description":"Unknown IO ID 45"} 
[2026-09-17 08:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141517824001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9004103055435270144}} 
[2026-09-17 08:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":187671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:52:50] local.INFO: GPS data processed {"connection_id":187671,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:52:50] local.INFO: Acknowledgment sent {"connection_id":187671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:53:13] local.INFO: TCP Data received {"connection_id":185050,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:53:13] local.INFO: Processing buffer {"connection_id":185050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:53:13] local.INFO: IMEI packet received {"connection_id":185050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":185050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:53:18] local.INFO: TCP Data received {"connection_id":185050,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:53:18] local.INFO: Processing buffer {"connection_id":185050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:53:18] local.INFO: IMEI packet received {"connection_id":185050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":185050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:53:19] local.INFO: TCP Data received {"connection_id":185050,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:53:19] local.INFO: Processing buffer {"connection_id":185050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:53:19] local.INFO: Packet analysis {"connection_id":185050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:53:19] local.INFO: Extracted packet for processing {"connection_id":185050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:53: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-09-17 08:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:53:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":185050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:53:19] local.INFO: GPS data processed {"connection_id":185050,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:53:19] local.INFO: Acknowledgment sent {"connection_id":185050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:53:21] local.INFO: TCP Data received {"connection_id":187671,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62bf48012d7cab0005ec3828000e010c28..."} 
[2026-09-17 08:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62bf48012d7cab0005ec3828000e010c28..."} 
[2026-09-17 08:53:21] local.INFO: Processing buffer {"connection_id":187671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62bf48012d7cab0005ec3828000e010c28..."} 
[2026-09-17 08:53:21] local.INFO: Packet analysis {"connection_id":187671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:53:21] local.INFO: Extracted packet for processing {"connection_id":187671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:53:21] local.INFO: GPS Element Parsed {"raw_longitude":763144960,"raw_latitude":99366952,"longitude_deg":76.314496,"latitude_deg":9.9366952,"altitude":14,"angle":268,"satellites":40,"speed":29,"hex_longitude":"2d7cab00","hex_latitude":"05ec3828","is_valid_coordinates":true} 
[2026-09-17 08:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141520384001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134089810989023232,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993477375064365056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789615325000,"timestamp_ms":1789615325000,"timestamp_seconds":1789615325,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62bf48"} 
[2026-09-17 08:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 08:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141520384001,"66":12863,"110":206,"87":13824,"24":29,"16":134089810989023232,"45":8993477375064365056},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 08:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141520384001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:53:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 08:53:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134089810989023232,"km_value":134089810989023.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993477375064365056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141520384001,"power":12863,"unknown_110":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8993477375064365056}} 
[2026-09-17 08:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":187671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:53:21] local.INFO: GPS data processed {"connection_id":187671,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:53:21] local.INFO: Acknowledgment sent {"connection_id":187671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:53:24] local.INFO: TCP Data received {"connection_id":185050,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:53:24] local.INFO: Processing buffer {"connection_id":185050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:53:24] local.INFO: Packet analysis {"connection_id":185050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:53:24] local.INFO: Extracted packet for processing {"connection_id":185050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:53:24] 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-09-17 08:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:53:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":185050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:53:24] local.INFO: GPS data processed {"connection_id":185050,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:53:24] local.INFO: Acknowledgment sent {"connection_id":185050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:53:45] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:53:45] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:53:45] local.INFO: IMEI packet received {"connection_id":186351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":186351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:53:46] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:53:46] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:53:46] local.INFO: IMEI packet received {"connection_id":186351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":186351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:53:49] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:53:49] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:53:49] local.INFO: IMEI packet received {"connection_id":186351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":186351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:53:50] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62ee28012d7c85c005ec3708000e010c29..."} 
[2026-09-17 08:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62ee28012d7c85c005ec3708000e010c29..."} 
[2026-09-17 08:53:50] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62ee28012d7c85c005ec3708000e010c29..."} 
[2026-09-17 08:53:50] local.INFO: Packet analysis {"connection_id":186351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:53:50] local.INFO: Extracted packet for processing {"connection_id":186351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:53:50] local.INFO: GPS Element Parsed {"raw_longitude":763135424,"raw_latitude":99366664,"longitude_deg":76.3135424,"latitude_deg":9.9366664,"altitude":14,"angle":268,"satellites":41,"speed":30,"hex_longitude":"2d7c85c0","hex_latitude":"05ec3708","is_valid_coordinates":true} 
[2026-09-17 08:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141523200001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134090266255556608,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983273907158525952,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789615337000,"timestamp_ms":1789615337000,"timestamp_seconds":1789615337,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62ee28"} 
[2026-09-17 08:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 08:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141523200001,"66":13091,"110":206,"87":13824,"24":30,"16":134090266255556608,"45":8983273907158525952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 08:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141523200001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:53:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 08:53:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134090266255556608,"km_value":134090266255556.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983273907158525952,"description":"Unknown IO ID 45"} 
[2026-09-17 08:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141523200001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8983273907158525952}} 
[2026-09-17 08:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":186351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:53:50] local.INFO: GPS data processed {"connection_id":186351,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:53:50] local.INFO: Acknowledgment sent {"connection_id":186351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:53:54] local.INFO: TCP Data received {"connection_id":186351,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad631d08012d7c620005ec3610000f010c27..."} 
[2026-09-17 08:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad631d08012d7c620005ec3610000f010c27..."} 
[2026-09-17 08:53:54] local.INFO: Processing buffer {"connection_id":186351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad631d08012d7c620005ec3610000f010c27..."} 
[2026-09-17 08:53:54] local.INFO: Packet analysis {"connection_id":186351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad63"} 
[2026-09-17 08:53:54] local.INFO: Extracted packet for processing {"connection_id":186351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad63"} 
[2026-09-17 08:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763126272,"raw_latitude":99366416,"longitude_deg":76.3126272,"latitude_deg":9.9366416,"altitude":15,"angle":268,"satellites":39,"speed":31,"hex_longitude":"2d7c6200","hex_latitude":"05ec3610","is_valid_coordinates":true} 
[2026-09-17 08:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141526272001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134090704342220800,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972788964275980288,"note":"Value kept but may cause issues"} 
[2026-09-17 08:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789615349000,"timestamp_ms":1789615349000,"timestamp_seconds":1789615349,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad631d08"} 
[2026-09-17 08:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 08:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141526272001,"66":13178,"110":206,"87":13824,"24":31,"16":134090704342220800,"45":8972788964275980288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 08:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141526272001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:53:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 08:53:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134090704342220800,"km_value":134090704342220.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972788964275980288,"description":"Unknown IO ID 45"} 
[2026-09-17 08:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141526272001,"power":13178,"unknown_110":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8972788964275980288}} 
[2026-09-17 08:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":186351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:53:54] local.INFO: GPS data processed {"connection_id":186351,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:53:54] local.INFO: Acknowledgment sent {"connection_id":186351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:53:58] local.INFO: TCP Data received {"connection_id":184942,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:53:58] local.INFO: Processing buffer {"connection_id":184942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:53:58] local.INFO: IMEI packet received {"connection_id":184942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":184942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:54:03] local.INFO: TCP Data received {"connection_id":184942,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:54:03] local.INFO: Processing buffer {"connection_id":184942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:54:03] local.INFO: IMEI packet received {"connection_id":184942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":184942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:54:04] local.INFO: TCP Data received {"connection_id":184942,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:54:04] local.INFO: Processing buffer {"connection_id":184942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:54:04] local.INFO: Packet analysis {"connection_id":184942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:54:04] local.INFO: Extracted packet for processing {"connection_id":184942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:54:04] 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-09-17 08:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:54:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":184942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:54:04] local.INFO: GPS data processed {"connection_id":184942,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:54:04] local.INFO: Acknowledgment sent {"connection_id":184942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:54:36] local.INFO: TCP Data received {"connection_id":184942,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:54:36] local.INFO: Processing buffer {"connection_id":184942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:54:36] local.INFO: Packet analysis {"connection_id":184942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:54:36] local.INFO: Extracted packet for processing {"connection_id":184942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:54:36] 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-09-17 08:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:54:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":184942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:54:36] local.INFO: GPS data processed {"connection_id":184942,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:54:36] local.INFO: Acknowledgment sent {"connection_id":184942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:54:38] local.INFO: TCP Data received {"connection_id":187672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:54:38] local.INFO: Processing buffer {"connection_id":187672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:54:38] local.INFO: IMEI packet received {"connection_id":187672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":187672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:54:40] local.INFO: TCP Data received {"connection_id":187672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:54:40] local.INFO: Processing buffer {"connection_id":187672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:54:40] local.INFO: IMEI packet received {"connection_id":187672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":187672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:54:41] local.INFO: TCP Data received {"connection_id":187672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad634800012d7c3cc005ec34d0000f010c27..."} 
[2026-09-17 08:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad634800012d7c3cc005ec34d0000f010c27..."} 
[2026-09-17 08:54:41] local.INFO: Processing buffer {"connection_id":187672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad634800012d7c3cc005ec34d0000f010c27..."} 
[2026-09-17 08:54:41] local.INFO: Packet analysis {"connection_id":187672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad63"} 
[2026-09-17 08:54:41] local.INFO: Extracted packet for processing {"connection_id":187672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad63"} 
[2026-09-17 08:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763116736,"raw_latitude":99366096,"longitude_deg":76.3116736,"latitude_deg":9.9366096,"altitude":15,"angle":268,"satellites":39,"speed":31,"hex_longitude":"2d7c3cc0","hex_latitude":"05ec34d0","is_valid_coordinates":true} 
[2026-09-17 08: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-09-17 08:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141529344001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134091159608754176,"note":"Value kept but may cause issues"} 
[2026-09-17 08:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962726233858510848,"note":"Value kept but may cause issues"} 
[2026-09-17 08:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789615360000,"timestamp_ms":1789615360000,"timestamp_seconds":1789615360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad634800"} 
[2026-09-17 08:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 08:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08: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-09-17 08:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141529344001,"66":12841,"198":206,"87":13824,"24":31,"16":134091159608754176,"45":8962726233858510848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 08:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141529344001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:54:41] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 08:54:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134091159608754176,"km_value":134091159608754.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962726233858510848,"description":"Unknown IO ID 45"} 
[2026-09-17 08:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141529344001,"power":12841,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8962726233858510848}} 
[2026-09-17 08:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":187672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:54:41] local.INFO: GPS data processed {"connection_id":187672,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:54:41] local.INFO: Acknowledgment sent {"connection_id":187672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:54:58] local.INFO: TCP Data received {"connection_id":185053,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:54:58] local.INFO: Processing buffer {"connection_id":185053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:54:58] local.INFO: IMEI packet received {"connection_id":185053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":185053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:55:03] local.INFO: TCP Data received {"connection_id":185053,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:55:03] local.INFO: Processing buffer {"connection_id":185053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:55:03] local.INFO: IMEI packet received {"connection_id":185053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":185053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:55:04] local.INFO: TCP Data received {"connection_id":185053,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:55:04] local.INFO: Processing buffer {"connection_id":185053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:55:04] local.INFO: Packet analysis {"connection_id":185053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:55:04] local.INFO: Extracted packet for processing {"connection_id":185053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:55:04] 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-09-17 08:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:55:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":185053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:55:04] local.INFO: GPS data processed {"connection_id":185053,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:55:04] local.INFO: Acknowledgment sent {"connection_id":185053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:55:12] local.INFO: TCP Data received {"connection_id":187672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad653818012d7abd4005ebb938000d00f625..."} 
[2026-09-17 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad653818012d7abd4005ebb938000d00f625..."} 
[2026-09-17 08:55:12] local.INFO: Processing buffer {"connection_id":187672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad653818012d7abd4005ebb938000d00f625..."} 
[2026-09-17 08:55:12] local.INFO: Packet analysis {"connection_id":187672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad65"} 
[2026-09-17 08:55:12] local.INFO: Extracted packet for processing {"connection_id":187672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad65"} 
[2026-09-17 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763018560,"raw_latitude":99334456,"longitude_deg":76.301856,"latitude_deg":9.9334456,"altitude":13,"angle":246,"satellites":37,"speed":41,"hex_longitude":"2d7abd40","hex_latitude":"05ebb938","is_valid_coordinates":true} 
[2026-09-17 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141562624001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134096150360752128,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853302836655114240,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789615487000,"timestamp_ms":1789615487000,"timestamp_seconds":1789615487,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad653818"} 
[2026-09-17 08:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 08:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899349,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2909014864,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:12] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818530,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:12] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":47105,"corrected_to":0} 
[2026-09-17 08:55:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-17 08:55:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070421,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961450496,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:12] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,99,87,24,241,157,16,103,160,45,128,217,40,10,66,198,102,202,234,39,151,64,1,240,144,227,173,236,4,113,205,30,58,136,42,239,51,2,220,5,20,34],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":202,"original":47105,"validated":0},{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-17 08:55:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009072574441390080,"timestamp_seconds":1009072574441390.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 08:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141562624001,"66":12906,"99":206,"87":13824,"24":41,"16":134096150360752128,"45":8853302836655114240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 08:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141562624001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:55:12] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 08:55:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134096150360752128,"km_value":134096150360752.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853302836655114240,"description":"Unknown IO ID 45"} 
[2026-09-17 08:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141562624001,"power":12906,"unknown_99":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8853302836655114240}} 
[2026-09-17 08:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":187672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:55:12] local.INFO: GPS data processed {"connection_id":187672,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:55:12] local.INFO: Acknowledgment sent {"connection_id":187672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:55:36] local.INFO: TCP Data received {"connection_id":185053,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:55:36] local.INFO: Processing buffer {"connection_id":185053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:55:36] local.INFO: Packet analysis {"connection_id":185053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:55:36] local.INFO: Extracted packet for processing {"connection_id":185053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:55:36] 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-09-17 08:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:55:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":185053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:55:36] local.INFO: GPS data processed {"connection_id":185053,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:55:36] local.INFO: Acknowledgment sent {"connection_id":185053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:55:38] local.INFO: TCP Data received {"connection_id":184943,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:55:38] local.INFO: Processing buffer {"connection_id":184943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:55:38] local.INFO: IMEI packet received {"connection_id":184943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":184943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:55:43] local.INFO: TCP Data received {"connection_id":184943,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:55:43] local.INFO: Processing buffer {"connection_id":184943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:55:43] local.INFO: IMEI packet received {"connection_id":184943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":184943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:55:44] local.INFO: TCP Data received {"connection_id":184943,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad656310012d7a9a0005ebab90000c00f824..."} 
[2026-09-17 08:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad656310012d7a9a0005ebab90000c00f824..."} 
[2026-09-17 08:55:44] local.INFO: Processing buffer {"connection_id":184943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad656310012d7a9a0005ebab90000c00f824..."} 
[2026-09-17 08:55:44] local.INFO: Packet analysis {"connection_id":184943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad65"} 
[2026-09-17 08:55:44] local.INFO: Extracted packet for processing {"connection_id":184943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad65"} 
[2026-09-17 08:55:44] local.INFO: GPS Element Parsed {"raw_longitude":763009536,"raw_latitude":99330960,"longitude_deg":76.3009536,"latitude_deg":9.933096,"altitude":12,"angle":248,"satellites":36,"speed":37,"hex_longitude":"2d7a9a00","hex_latitude":"05ebab90","is_valid_coordinates":true} 
[2026-09-17 08:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141564672001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134096614217220096,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844295637399320576,"note":"Value kept but may cause issues"} 
[2026-09-17 08:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789615498000,"timestamp_ms":1789615498000,"timestamp_seconds":1789615498,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad656310"} 
[2026-09-17 08:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 08:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141564672001,"66":12689,"99":206,"87":13824,"24":37,"16":134096614217220096,"45":8844295637399320576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 08:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141564672001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:55:44] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 08:55:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134096614217220096,"km_value":134096614217220.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844295637399320576,"description":"Unknown IO ID 45"} 
[2026-09-17 08:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141564672001,"power":12689,"unknown_99":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8844295637399320576}} 
[2026-09-17 08:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":184943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:55:44] local.INFO: GPS data processed {"connection_id":184943,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:55:44] local.INFO: Acknowledgment sent {"connection_id":184943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:55:58] local.INFO: TCP Data received {"connection_id":187674,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:55:58] local.INFO: Processing buffer {"connection_id":187674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:55:58] local.INFO: IMEI packet received {"connection_id":187674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":187674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:56:03] local.INFO: TCP Data received {"connection_id":187674,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:56:03] local.INFO: Processing buffer {"connection_id":187674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:56:03] local.INFO: IMEI packet received {"connection_id":187674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":187674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:56:03] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:03] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:03] local.INFO: IMEI packet received {"connection_id":186353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":186353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:56:04] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad662a48012d0c8000070774c00017013d1b..."} 
[2026-09-17 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad662a48012d0c8000070774c00017013d1b..."} 
[2026-09-17 08:56:04] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad662a48012d0c8000070774c00017013d1b..."} 
[2026-09-17 08:56:04] local.INFO: Packet analysis {"connection_id":186353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:56:04] local.INFO: Extracted packet for processing {"connection_id":186353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:56:04] local.INFO: GPS Element Parsed {"raw_longitude":755793920,"raw_latitude":117929152,"longitude_deg":75.579392,"latitude_deg":11.7929152,"altitude":23,"angle":317,"satellites":27,"speed":7,"hex_longitude":"2d0c8000","hex_latitude":"070774c0","is_valid_coordinates":true} 
[2026-09-17 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141580032001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32581561777913856,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901071799384784896,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615549000,"timestamp_ms":1789615549000,"timestamp_seconds":1789615549,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad662a48"} 
[2026-09-17 08:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 08:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141580032001,"66":14548,"221":206,"94":10240,"24":7,"16":32581561777913856,"45":901071799384784896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-17 08:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141580032001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:56:04] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-17 08:56:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32581561777913856,"km_value":32581561777913.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":901071799384784896,"description":"Unknown IO ID 45"} 
[2026-09-17 08:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141580032001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":901071799384784896}} 
[2026-09-17 08:56:04] local.INFO: TCP Data received {"connection_id":187674,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:56:04] local.INFO: Processing buffer {"connection_id":187674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:56:04] local.INFO: Packet analysis {"connection_id":187674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:56:04] local.INFO: Extracted packet for processing {"connection_id":187674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:56:04] 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-09-17 08:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:56:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":187674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:56:04] local.INFO: GPS data processed {"connection_id":187674,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:56:04] local.INFO: Acknowledgment sent {"connection_id":187674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":186353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:56:04] local.INFO: GPS data processed {"connection_id":186353,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:56:04] local.INFO: Acknowledgment sent {"connection_id":186353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:56:15] local.INFO: TCP Data received {"connection_id":184943,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad658a20012d7a790005eb9ef0000c00fa1f..."} 
[2026-09-17 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad658a20012d7a790005eb9ef0000c00fa1f..."} 
[2026-09-17 08:56:15] local.INFO: Processing buffer {"connection_id":184943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad658a20012d7a790005eb9ef0000c00fa1f..."} 
[2026-09-17 08:56:15] local.INFO: Packet analysis {"connection_id":184943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad65"} 
[2026-09-17 08:56:15] local.INFO: Extracted packet for processing {"connection_id":184943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad65"} 
[2026-09-17 08:56:15] local.INFO: GPS Element Parsed {"raw_longitude":763001088,"raw_latitude":99327728,"longitude_deg":76.3001088,"latitude_deg":9.9327728,"altitude":12,"angle":250,"satellites":31,"speed":31,"hex_longitude":"2d7a7900","hex_latitude":"05eb9ef0","is_valid_coordinates":true} 
[2026-09-17 08:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141567488001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134097048008916992,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834373644469374976,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789615508000,"timestamp_ms":1789615508000,"timestamp_seconds":1789615508,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad658a20"} 
[2026-09-17 08:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 08:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141567488001,"66":12341,"99":206,"87":13824,"24":31,"16":134097048008916992,"45":8834373644469374976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 08:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141567488001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:56:15] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 08:56:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134097048008916992,"km_value":134097048008916.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834373644469374976,"description":"Unknown IO ID 45"} 
[2026-09-17 08:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141567488001,"power":12341,"unknown_99":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8834373644469374976}} 
[2026-09-17 08:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":184943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:56:15] local.INFO: GPS data processed {"connection_id":184943,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:56:15] local.INFO: Acknowledgment sent {"connection_id":184943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:56:35] local.INFO: TCP Data received {"connection_id":186353,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6639e8012d0c7d80070776d8001701221a..."} 
[2026-09-17 08:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6639e8012d0c7d80070776d8001701221a..."} 
[2026-09-17 08:56:35] local.INFO: Processing buffer {"connection_id":186353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6639e8012d0c7d80070776d8001701221a..."} 
[2026-09-17 08:56:35] local.INFO: Packet analysis {"connection_id":186353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:56:35] local.INFO: Extracted packet for processing {"connection_id":186353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":755793280,"raw_latitude":117929688,"longitude_deg":75.579328,"latitude_deg":11.7929688,"altitude":23,"angle":290,"satellites":26,"speed":11,"hex_longitude":"2d0c7d80","hex_latitude":"070776d8","is_valid_coordinates":true} 
[2026-09-17 08:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141580544001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32581600432619520,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900719955663962112,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789615553000,"timestamp_ms":1789615553000,"timestamp_seconds":1789615553,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6639e8"} 
[2026-09-17 08:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 08:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 08:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 08:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 08:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141580544001,"66":14396,"221":206,"94":10240,"24":11,"16":32581600432619520,"45":900719955663962112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-17 08:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 08:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 08:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141580544001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:56:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-17 08:56:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 08:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32581600432619520,"km_value":32581600432619.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":900719955663962112,"description":"Unknown IO ID 45"} 
[2026-09-17 08:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141580544001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":900719955663962112}} 
[2026-09-17 08:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":186353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:56:35] local.INFO: GPS data processed {"connection_id":186353,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:56:35] local.INFO: Acknowledgment sent {"connection_id":186353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:56:36] local.INFO: TCP Data received {"connection_id":187674,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:56:36] local.INFO: Processing buffer {"connection_id":187674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:56:36] local.INFO: Packet analysis {"connection_id":187674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:56:36] local.INFO: Extracted packet for processing {"connection_id":187674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:56:36] 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-09-17 08:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:56:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":187674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:56:36] local.INFO: GPS data processed {"connection_id":187674,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:56:36] local.INFO: Acknowledgment sent {"connection_id":187674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:56:39] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:56:39] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:56:39] local.INFO: IMEI packet received {"connection_id":186354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":186354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:56:43] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:56:43] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:56:43] local.INFO: IMEI packet received {"connection_id":186354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":186354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:56:44] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad65d840012d7a6c4005eb9a70000c00f520..."} 
[2026-09-17 08:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad65d840012d7a6c4005eb9a70000c00f520..."} 
[2026-09-17 08:56:44] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad65d840012d7a6c4005eb9a70000c00f520..."} 
[2026-09-17 08:56:44] local.INFO: Packet analysis {"connection_id":186354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad65"} 
[2026-09-17 08:56:44] local.INFO: Extracted packet for processing {"connection_id":186354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad65"} 
[2026-09-17 08:56:44] local.INFO: GPS Element Parsed {"raw_longitude":762997824,"raw_latitude":99326576,"longitude_deg":76.2997824,"latitude_deg":9.9326576,"altitude":12,"angle":245,"satellites":32,"speed":0,"hex_longitude":"2d7a6c40","hex_latitude":"05eb9a70","is_valid_coordinates":true} 
[2026-09-17 08:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141570048001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134097215512641536,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825084970237095936,"note":"Value kept but may cause issues"} 
[2026-09-17 08:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789615528000,"timestamp_ms":1789615528000,"timestamp_seconds":1789615528,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad65d840"} 
[2026-09-17 08:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 08:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141570048001,"66":13363,"161":206,"87":13824,"24":0,"16":134097215512641536,"45":8825084970237095936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-17 08:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141570048001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:56:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-17 08:56:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134097215512641536,"km_value":134097215512641.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825084970237095936,"description":"Unknown IO ID 45"} 
[2026-09-17 08:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141570048001,"power":13363,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8825084970237095936}} 
[2026-09-17 08:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":186354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:56:44] local.INFO: GPS data processed {"connection_id":186354,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:56:44] local.INFO: Acknowledgment sent {"connection_id":186354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:56:56] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:56] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:56] local.INFO: IMEI packet received {"connection_id":186355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 08:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":186355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:56:57] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:57] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:57] local.INFO: IMEI packet received {"connection_id":186355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":186355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:56:58] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:58] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:56:58] local.INFO: IMEI packet received {"connection_id":186355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":186355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:56:58] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:56:58] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:56:58] local.INFO: IMEI packet received {"connection_id":186356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":186356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:57:01] local.INFO: TCP Data received {"connection_id":186355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:57:01] local.INFO: Processing buffer {"connection_id":186355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 08:57:01] local.INFO: IMEI packet received {"connection_id":186355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 08:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":186355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:57:03] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:57:03] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:57:03] local.INFO: IMEI packet received {"connection_id":186356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":186356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:57:04] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:57:04] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:57:04] local.INFO: Packet analysis {"connection_id":186356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:57:04] local.INFO: Extracted packet for processing {"connection_id":186356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:57:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":186356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:57:04] local.INFO: GPS data processed {"connection_id":186356,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:57:04] local.INFO: Acknowledgment sent {"connection_id":186356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:57:16] local.INFO: TCP Data received {"connection_id":186354,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad662a48012d7a6c4005eb9a70000c00f51e..."} 
[2026-09-17 08:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad662a48012d7a6c4005eb9a70000c00f51e..."} 
[2026-09-17 08:57:16] local.INFO: Processing buffer {"connection_id":186354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad662a48012d7a6c4005eb9a70000c00f51e..."} 
[2026-09-17 08:57:16] local.INFO: Packet analysis {"connection_id":186354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:57:16] local.INFO: Extracted packet for processing {"connection_id":186354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:57:16] local.INFO: GPS Element Parsed {"raw_longitude":762997824,"raw_latitude":99326576,"longitude_deg":76.2997824,"latitude_deg":9.9326576,"altitude":12,"angle":245,"satellites":30,"speed":0,"hex_longitude":"2d7a6c40","hex_latitude":"05eb9a70","is_valid_coordinates":true} 
[2026-09-17 08:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141575168001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134097215512641536,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821496164283740160,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789615549000,"timestamp_ms":1789615549000,"timestamp_seconds":1789615549,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad662a48"} 
[2026-09-17 08:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 08:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141575168001,"66":12515,"161":206,"87":13824,"24":0,"16":134097215512641536,"45":8821496164283740160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-17 08:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141575168001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:57:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-17 08:57:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134097215512641536,"km_value":134097215512641.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821496164283740160,"description":"Unknown IO ID 45"} 
[2026-09-17 08:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141575168001,"power":12515,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8821496164283740160}} 
[2026-09-17 08:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":186354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:57:16] local.INFO: GPS data processed {"connection_id":186354,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:57:16] local.INFO: Acknowledgment sent {"connection_id":186354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:57:21] local.INFO: TCP Data received {"connection_id":185054,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:57:21] local.INFO: Processing buffer {"connection_id":185054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:57:21] local.INFO: IMEI packet received {"connection_id":185054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":185054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:57:35] local.INFO: TCP Data received {"connection_id":186356,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:57:35] local.INFO: Processing buffer {"connection_id":186356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad62f9e0012d34c3c006aa4458000c01172d..."} 
[2026-09-17 08:57:35] local.INFO: Packet analysis {"connection_id":186356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:57:35] local.INFO: Extracted packet for processing {"connection_id":186356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad62"} 
[2026-09-17 08:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141449984001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789615340000,"timestamp_ms":1789615340000,"timestamp_seconds":1789615340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad62f9e0"} 
[2026-09-17 08:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 08:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141449984001,"66":25462,"32":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-17 08:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141449984001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:57:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 08:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141449984001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":186356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:57:36] local.INFO: GPS data processed {"connection_id":186356,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:57:36] local.INFO: Acknowledgment sent {"connection_id":186356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:57:39] local.INFO: TCP Data received {"connection_id":185055,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:57:39] local.INFO: Processing buffer {"connection_id":185055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:57:39] local.INFO: IMEI packet received {"connection_id":185055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":185055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:57:43] local.INFO: TCP Data received {"connection_id":185055,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:57:43] local.INFO: Processing buffer {"connection_id":185055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:57:43] local.INFO: IMEI packet received {"connection_id":185055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":185055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:57:44] local.INFO: TCP Data received {"connection_id":185055,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad667c50012d7a690005eb98c8000c00f91f..."} 
[2026-09-17 08:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad667c50012d7a690005eb98c8000c00f91f..."} 
[2026-09-17 08:57:44] local.INFO: Processing buffer {"connection_id":185055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad667c50012d7a690005eb98c8000c00f91f..."} 
[2026-09-17 08:57:44] local.INFO: Packet analysis {"connection_id":185055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:57:44] local.INFO: Extracted packet for processing {"connection_id":185055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:57:44] local.INFO: GPS Element Parsed {"raw_longitude":762996992,"raw_latitude":99326152,"longitude_deg":76.2996992,"latitude_deg":9.9326152,"altitude":12,"angle":249,"satellites":31,"speed":9,"hex_longitude":"2d7a6900","hex_latitude":"05eb98c8","is_valid_coordinates":true} 
[2026-09-17 08:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141580544001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134097262757281792,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821496164283740160,"note":"Value kept but may cause issues"} 
[2026-09-17 08:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789615570000,"timestamp_ms":1789615570000,"timestamp_seconds":1789615570,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad667c50"} 
[2026-09-17 08:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-17 08:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141580544001,"66":13428,"161":206,"87":13824,"24":9,"16":134097262757281792,"45":8821496164283740160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-17 08:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141580544001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:57:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-17 08:57:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134097262757281792,"km_value":134097262757281.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821496164283740160,"description":"Unknown IO ID 45"} 
[2026-09-17 08:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141580544001,"power":13428,"unknown_161":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8821496164283740160}} 
[2026-09-17 08:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":185055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:57:44] local.INFO: GPS data processed {"connection_id":185055,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:57:44] local.INFO: Acknowledgment sent {"connection_id":185055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:57:56] local.INFO: TCP Data received {"connection_id":186357,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:57:56] local.INFO: Processing buffer {"connection_id":186357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 08:57:56] local.INFO: IMEI packet received {"connection_id":186357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 08:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":186357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:57:58] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:57:58] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:57:58] local.INFO: IMEI packet received {"connection_id":186359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":186359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:57:59] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:57:59] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:57:59] local.INFO: IMEI packet received {"connection_id":186359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":186359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:58:03] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:58:03] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:58:03] local.INFO: IMEI packet received {"connection_id":186359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":186359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:58:05] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:58:05] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:58:05] local.INFO: Packet analysis {"connection_id":186359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 08:58:05] local.INFO: Extracted packet for processing {"connection_id":186359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 08:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 08:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:58:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":186359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:58:05] local.INFO: GPS data processed {"connection_id":186359,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:58:05] local.INFO: Acknowledgment sent {"connection_id":186359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:58:16] local.INFO: TCP Data received {"connection_id":185055,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad66b300012d7a580005eb92e0000c010520..."} 
[2026-09-17 08:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad66b300012d7a580005eb92e0000c010520..."} 
[2026-09-17 08:58:16] local.INFO: Processing buffer {"connection_id":185055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad66b300012d7a580005eb92e0000c010520..."} 
[2026-09-17 08:58:16] local.INFO: Packet analysis {"connection_id":185055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:58:16] local.INFO: Extracted packet for processing {"connection_id":185055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad66"} 
[2026-09-17 08:58:16] local.INFO: GPS Element Parsed {"raw_longitude":762992640,"raw_latitude":99324640,"longitude_deg":76.299264,"latitude_deg":9.932464,"altitude":12,"angle":261,"satellites":32,"speed":20,"hex_longitude":"2d7a5800","hex_latitude":"05eb92e0","is_valid_coordinates":true} 
[2026-09-17 08:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141585920001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134097481800613888,"note":"Value kept but may cause issues"} 
[2026-09-17 08:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820581370609321984,"note":"Value kept but may cause issues"} 
[2026-09-17 08:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789615584000,"timestamp_ms":1789615584000,"timestamp_seconds":1789615584,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad66b300"} 
[2026-09-17 08:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 08:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 08:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 08:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 08:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 08:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141585920001,"66":13678,"161":206,"87":13824,"24":20,"16":134097481800613888,"45":8820581370609321984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-17 08:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 08:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 08:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141585920001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:58:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-17 08:58:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 08:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134097481800613888,"km_value":134097481800613.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820581370609321984,"description":"Unknown IO ID 45"} 
[2026-09-17 08:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141585920001,"power":13678,"unknown_161":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8820581370609321984}} 
[2026-09-17 08:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":185055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:58:16] local.INFO: GPS data processed {"connection_id":185055,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:58:16] local.INFO: Acknowledgment sent {"connection_id":185055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:58:36] local.INFO: TCP Data received {"connection_id":186359,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:58:36] local.INFO: Processing buffer {"connection_id":186359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:58:36] local.INFO: Packet analysis {"connection_id":186359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 08:58:36] local.INFO: Extracted packet for processing {"connection_id":186359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 08:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 08:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":186359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:58:36] local.INFO: GPS data processed {"connection_id":186359,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:58:36] local.INFO: Acknowledgment sent {"connection_id":186359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:58:37] local.INFO: TCP Data received {"connection_id":187675,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:37] local.INFO: Processing buffer {"connection_id":187675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:37] local.INFO: IMEI packet received {"connection_id":187675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 08:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":187675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:58:38] local.INFO: TCP Data received {"connection_id":187675,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:38] local.INFO: Processing buffer {"connection_id":187675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:38] local.INFO: IMEI packet received {"connection_id":187675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":187675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:58:39] local.INFO: TCP Data received {"connection_id":187675,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:39] local.INFO: Processing buffer {"connection_id":187675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:39] local.INFO: IMEI packet received {"connection_id":187675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":187675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:58:40] local.INFO: TCP Data received {"connection_id":187675,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:40] local.INFO: Processing buffer {"connection_id":187675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 08:58:40] local.INFO: IMEI packet received {"connection_id":187675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 08:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":187675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:58:58] local.INFO: TCP Data received {"connection_id":184944,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:58:58] local.INFO: Processing buffer {"connection_id":184944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:58:58] local.INFO: IMEI packet received {"connection_id":184944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":184944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 08:59:03] local.INFO: TCP Data received {"connection_id":184944,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:59:03] local.INFO: Processing buffer {"connection_id":184944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:59:03] local.INFO: IMEI packet received {"connection_id":184944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 08:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":184944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 08:59:04] local.INFO: TCP Data received {"connection_id":184944,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:59:04] local.INFO: Processing buffer {"connection_id":184944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:59:04] local.INFO: Packet analysis {"connection_id":184944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 08:59:04] local.INFO: Extracted packet for processing {"connection_id":184944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 08:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:59:04] 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-09-17 08:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:59:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":184944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:59:04] local.INFO: GPS data processed {"connection_id":184944,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:59:04] local.INFO: Acknowledgment sent {"connection_id":184944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:59:36] local.INFO: TCP Data received {"connection_id":184944,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:59:36] local.INFO: Processing buffer {"connection_id":184944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 08:59:36] local.INFO: Packet analysis {"connection_id":184944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 08:59:36] local.INFO: Extracted packet for processing {"connection_id":184944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 08:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 08:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 08:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 08:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 08:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 08:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 08:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 08:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 08:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 08:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 08:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 08:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 08:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 08:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 08:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 08:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 08:59:36] 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-09-17 08:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 08:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 08:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 08:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 08:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 08:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 08:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 08:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 08:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 08:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 08:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 08:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":184944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 08:59:36] local.INFO: GPS data processed {"connection_id":184944,"processed":1,"errors":0,"total":1} 
[2026-09-17 08:59:36] local.INFO: Acknowledgment sent {"connection_id":184944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 08:59:58] local.INFO: TCP Data received {"connection_id":185058,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:59:58] local.INFO: Processing buffer {"connection_id":185058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 08:59:58] local.INFO: IMEI packet received {"connection_id":185058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 08:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":185058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:00:03] local.INFO: TCP Data received {"connection_id":185058,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:00:03] local.INFO: Processing buffer {"connection_id":185058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:00:03] local.INFO: IMEI packet received {"connection_id":185058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":185058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:00:04] local.INFO: TCP Data received {"connection_id":185058,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:00:04] local.INFO: Processing buffer {"connection_id":185058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:00:04] local.INFO: Packet analysis {"connection_id":185058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:00:04] local.INFO: Extracted packet for processing {"connection_id":185058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 09:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:00:04] 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-09-17 09:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":185058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:00:04] local.INFO: GPS data processed {"connection_id":185058,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:00:04] local.INFO: Acknowledgment sent {"connection_id":185058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:00:36] local.INFO: TCP Data received {"connection_id":185058,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:00:36] local.INFO: Processing buffer {"connection_id":185058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:00:36] local.INFO: Packet analysis {"connection_id":185058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:00:36] local.INFO: Extracted packet for processing {"connection_id":185058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 09:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:00:36] 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-09-17 09:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":185058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:00:36] local.INFO: GPS data processed {"connection_id":185058,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:00:36] local.INFO: Acknowledgment sent {"connection_id":185058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:00:58] local.INFO: TCP Data received {"connection_id":187679,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:00:58] local.INFO: Processing buffer {"connection_id":187679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:00:58] local.INFO: IMEI packet received {"connection_id":187679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":187679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:01:03] local.INFO: TCP Data received {"connection_id":187679,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:01:03] local.INFO: Processing buffer {"connection_id":187679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:01:03] local.INFO: IMEI packet received {"connection_id":187679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":187679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:01:04] local.INFO: TCP Data received {"connection_id":187679,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:01:04] local.INFO: Processing buffer {"connection_id":187679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:01:04] local.INFO: Packet analysis {"connection_id":187679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:01:04] local.INFO: Extracted packet for processing {"connection_id":187679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 09:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":187679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:01:04] local.INFO: GPS data processed {"connection_id":187679,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:01:04] local.INFO: Acknowledgment sent {"connection_id":187679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:01:37] local.INFO: TCP Data received {"connection_id":187679,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:01:37] local.INFO: Processing buffer {"connection_id":187679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:01:37] local.INFO: Packet analysis {"connection_id":187679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:01:37] local.INFO: Extracted packet for processing {"connection_id":187679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 09:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":187679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:01:37] local.INFO: GPS data processed {"connection_id":187679,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:01:37] local.INFO: Acknowledgment sent {"connection_id":187679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:01:58] local.INFO: TCP Data received {"connection_id":186362,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:01:58] local.INFO: Processing buffer {"connection_id":186362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:01:58] local.INFO: IMEI packet received {"connection_id":186362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":186362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:02:02] local.INFO: TCP Data received {"connection_id":184947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:02] local.INFO: Processing buffer {"connection_id":184947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:02] local.INFO: IMEI packet received {"connection_id":184947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":184947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:02:03] local.INFO: TCP Data received {"connection_id":184947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6a6450012d0b4d400705fff8001400531d..."} 
[2026-09-17 09:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6a6450012d0b4d400705fff8001400531d..."} 
[2026-09-17 09:02:03] local.INFO: Processing buffer {"connection_id":184947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6a6450012d0b4d400705fff8001400531d..."} 
[2026-09-17 09:02:03] local.INFO: Packet analysis {"connection_id":184947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6a"} 
[2026-09-17 09:02:03] local.INFO: Extracted packet for processing {"connection_id":184947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6a"} 
[2026-09-17 09:02:03] local.INFO: GPS Element Parsed {"raw_longitude":755715392,"raw_latitude":117833720,"longitude_deg":75.5715392,"latitude_deg":11.783372,"altitude":20,"angle":83,"satellites":29,"speed":7,"hex_longitude":"2d0b4d40","hex_latitude":"0705fff8","is_valid_coordinates":true} 
[2026-09-17 09:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141651200001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32590224726949888,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814236769045184512,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789615826000,"timestamp_ms":1789615826000,"timestamp_seconds":1789615826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6a6450"} 
[2026-09-17 09:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 09:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":184947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":184947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":184947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141651200001,"66":14407,"165":206,"94":10240,"24":7,"16":32590224726949888,"45":814236769045184512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 09:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141651200001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:02:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 09:02:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32590224726949888,"km_value":32590224726949.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":814236769045184512,"description":"Unknown IO ID 45"} 
[2026-09-17 09:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141651200001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":814236769045184512}} 
[2026-09-17 09:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":184947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854274,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:02:03] local.INFO: GPS data processed {"connection_id":184947,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:02:03] local.INFO: Acknowledgment sent {"connection_id":184947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:02:03] local.INFO: TCP Data received {"connection_id":186362,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:02:03] local.INFO: Processing buffer {"connection_id":186362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:02:03] local.INFO: IMEI packet received {"connection_id":186362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":186362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:02:04] local.INFO: TCP Data received {"connection_id":186362,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:02:04] local.INFO: Processing buffer {"connection_id":186362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:02:04] local.INFO: Packet analysis {"connection_id":186362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:02:04] local.INFO: Extracted packet for processing {"connection_id":186362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 09:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:02:04] 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-09-17 09:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":186362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:02:04] local.INFO: GPS data processed {"connection_id":186362,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:02:04] local.INFO: Acknowledgment sent {"connection_id":186362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:02:34] local.INFO: TCP Data received {"connection_id":184947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6a6838012d0b4e0007060030001400311e..."} 
[2026-09-17 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6a6838012d0b4e0007060030001400311e..."} 
[2026-09-17 09:02:34] local.INFO: Processing buffer {"connection_id":184947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6a6838012d0b4e0007060030001400311e..."} 
[2026-09-17 09:02:34] local.INFO: Packet analysis {"connection_id":184947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6a"} 
[2026-09-17 09:02:34] local.INFO: Extracted packet for processing {"connection_id":184947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6a"} 
[2026-09-17 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":755715584,"raw_latitude":117833776,"longitude_deg":75.5715584,"latitude_deg":11.7833776,"altitude":20,"angle":49,"satellites":30,"speed":5,"hex_longitude":"2d0b4e00","hex_latitude":"07060030","is_valid_coordinates":true} 
[2026-09-17 09:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141651456001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32590229021917184,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814377506533537792,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789615827000,"timestamp_ms":1789615827000,"timestamp_seconds":1789615827,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6a6838"} 
[2026-09-17 09:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 09:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":184947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":184947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":184947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141651456001,"66":14396,"165":206,"94":10240,"24":5,"16":32590229021917184,"45":814377506533537792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 09:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141651456001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:02:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 09:02:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32590229021917184,"km_value":32590229021917.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":814377506533537792,"description":"Unknown IO ID 45"} 
[2026-09-17 09:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141651456001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814377506533537792}} 
[2026-09-17 09:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":184947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854276,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:02:34] local.INFO: GPS data processed {"connection_id":184947,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:02:34] local.INFO: Acknowledgment sent {"connection_id":184947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:02:37] local.INFO: TCP Data received {"connection_id":186362,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:02:37] local.INFO: Processing buffer {"connection_id":186362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6791a8012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:02:37] local.INFO: Packet analysis {"connection_id":186362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:02:37] local.INFO: Extracted packet for processing {"connection_id":186362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad67"} 
[2026-09-17 09:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141527040001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789615641000,"timestamp_ms":1789615641000,"timestamp_seconds":1789615641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6791a8"} 
[2026-09-17 09:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:02:37] 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-09-17 09:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141527040001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141527040001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141527040001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":186362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:02:37] local.INFO: GPS data processed {"connection_id":186362,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:02:37] local.INFO: Acknowledgment sent {"connection_id":186362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:02:55] local.INFO: TCP Data received {"connection_id":184948,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:55] local.INFO: Processing buffer {"connection_id":184948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:55] local.INFO: IMEI packet received {"connection_id":184948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":184948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:02:57] local.INFO: TCP Data received {"connection_id":184948,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:57] local.INFO: Processing buffer {"connection_id":184948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:57] local.INFO: IMEI packet received {"connection_id":184948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":184948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:02:57] local.INFO: TCP Data received {"connection_id":184948,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:57] local.INFO: Processing buffer {"connection_id":184948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:02:57] local.INFO: IMEI packet received {"connection_id":184948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":184948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:03:00] local.INFO: TCP Data received {"connection_id":185059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:00] local.INFO: Processing buffer {"connection_id":185059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:00] local.INFO: IMEI packet received {"connection_id":185059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":185059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:03:00] local.INFO: TCP Data received {"connection_id":184948,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:00] local.INFO: Processing buffer {"connection_id":184948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:00] local.INFO: IMEI packet received {"connection_id":184948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":184948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:03:01] local.INFO: TCP Data received {"connection_id":184948,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6a7008012d0b4e8007060128001400211d..."} 
[2026-09-17 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6a7008012d0b4e8007060128001400211d..."} 
[2026-09-17 09:03:01] local.INFO: Processing buffer {"connection_id":184948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6a7008012d0b4e8007060128001400211d..."} 
[2026-09-17 09:03:01] local.INFO: Packet analysis {"connection_id":184948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6a"} 
[2026-09-17 09:03:01] local.INFO: Extracted packet for processing {"connection_id":184948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6a"} 
[2026-09-17 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":755715712,"raw_latitude":117834024,"longitude_deg":75.5715712,"latitude_deg":11.7834024,"altitude":20,"angle":33,"satellites":29,"speed":6,"hex_longitude":"2d0b4e80","hex_latitude":"07060128","is_valid_coordinates":true} 
[2026-09-17 09:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141651712001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32590246201786368,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814588612766085120,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789615829000,"timestamp_ms":1789615829000,"timestamp_seconds":1789615829,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6a7008"} 
[2026-09-17 09:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 09:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":184948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":184948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":184948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141651712001,"66":14396,"165":206,"94":10240,"24":6,"16":32590246201786368,"45":814588612766085120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 09:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141651712001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:03:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 09:03:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32590246201786368,"km_value":32590246201786.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":814588612766085120,"description":"Unknown IO ID 45"} 
[2026-09-17 09:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141651712001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814588612766085120}} 
[2026-09-17 09:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":184948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854278,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:03:01] local.INFO: GPS data processed {"connection_id":184948,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:03:01] local.INFO: Acknowledgment sent {"connection_id":184948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:03:03] local.INFO: TCP Data received {"connection_id":185059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:03] local.INFO: Processing buffer {"connection_id":185059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:03] local.INFO: IMEI packet received {"connection_id":185059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":185059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:03:08] local.INFO: TCP Data received {"connection_id":185059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:08] local.INFO: Processing buffer {"connection_id":185059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:08] local.INFO: IMEI packet received {"connection_id":185059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":185059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:03:09] local.INFO: TCP Data received {"connection_id":185059,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:03:09] local.INFO: Processing buffer {"connection_id":185059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:03:09] local.INFO: Packet analysis {"connection_id":185059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:03:09] local.INFO: Extracted packet for processing {"connection_id":185059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":185059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:03:09] local.INFO: GPS data processed {"connection_id":185059,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:03:09] local.INFO: Acknowledgment sent {"connection_id":185059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:03:14] local.INFO: TCP Data received {"connection_id":185059,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:03:14] local.INFO: Processing buffer {"connection_id":185059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:03:14] local.INFO: Packet analysis {"connection_id":185059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:03:14] local.INFO: Extracted packet for processing {"connection_id":185059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:03: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-09-17 09:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:03: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-09-17 09:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":185059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:03:14] local.INFO: GPS data processed {"connection_id":185059,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:03:14] local.INFO: Acknowledgment sent {"connection_id":185059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:03:26] local.INFO: TCP Data received {"connection_id":187682,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:03:26] local.INFO: Processing buffer {"connection_id":187682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:03:26] local.INFO: IMEI packet received {"connection_id":187682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":187682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:03:32] local.INFO: TCP Data received {"connection_id":184948,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6d0430012d0b28c007061268001300bf1e..."} 
[2026-09-17 09:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6d0430012d0b28c007061268001300bf1e..."} 
[2026-09-17 09:03:32] local.INFO: Processing buffer {"connection_id":184948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6d0430012d0b28c007061268001300bf1e..."} 
[2026-09-17 09:03:32] local.INFO: Packet analysis {"connection_id":184948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6d"} 
[2026-09-17 09:03:32] local.INFO: Extracted packet for processing {"connection_id":184948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6d"} 
[2026-09-17 09:03:32] local.INFO: GPS Element Parsed {"raw_longitude":755706048,"raw_latitude":117838440,"longitude_deg":75.5706048,"latitude_deg":11.783844,"altitude":19,"angle":191,"satellites":30,"speed":7,"hex_longitude":"2d0b28c0","hex_latitude":"07061268","is_valid_coordinates":true} 
[2026-09-17 09:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141695232001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32591135260016640,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804103669884841984,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789615998000,"timestamp_ms":1789615998000,"timestamp_seconds":1789615998,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6d0430"} 
[2026-09-17 09:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":184948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":184948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":184948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141695232001,"66":14450,"165":206,"94":10240,"24":7,"16":32591135260016640,"45":804103669884841984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 09:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141695232001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:03:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 09:03:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32591135260016640,"km_value":32591135260016.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":804103669884841984,"description":"Unknown IO ID 45"} 
[2026-09-17 09:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141695232001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":804103669884841984}} 
[2026-09-17 09:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":184948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854281,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:03:33] local.INFO: GPS data processed {"connection_id":184948,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:03:33] local.INFO: Acknowledgment sent {"connection_id":184948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:03:43] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:03:43] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:03:43] local.INFO: IMEI packet received {"connection_id":186363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":186363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:03:44] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6be320012d79e14005ecac300009002926..."} 
[2026-09-17 09:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6be320012d79e14005ecac300009002926..."} 
[2026-09-17 09:03:44] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6be320012d79e14005ecac300009002926..."} 
[2026-09-17 09:03:44] local.INFO: Packet analysis {"connection_id":186363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6b"} 
[2026-09-17 09:03:44] local.INFO: Extracted packet for processing {"connection_id":186363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6b"} 
[2026-09-17 09:03:44] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":99396656,"longitude_deg":76.296224,"latitude_deg":9.9396656,"altitude":9,"angle":41,"satellites":38,"speed":0,"hex_longitude":"2d79e140","hex_latitude":"05ecac30","is_valid_coordinates":true} 
[2026-09-17 09:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141671424001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134101845487386624,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773794707456,"note":"Value kept but may cause issues"} 
[2026-09-17 09:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789615924000,"timestamp_ms":1789615924000,"timestamp_seconds":1789615924,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6be320"} 
[2026-09-17 09:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 09:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141671424001,"66":13352,"100":206,"87":13824,"24":0,"16":134101845487386624,"45":8782300773794707456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 09:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141671424001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:03:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 09:03:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134101845487386624,"km_value":134101845487386.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773794707456,"description":"Unknown IO ID 45"} 
[2026-09-17 09:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141671424001,"power":13352,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782300773794707456}} 
[2026-09-17 09:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":186363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:03:45] local.INFO: GPS data processed {"connection_id":186363,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:03:45] local.INFO: Acknowledgment sent {"connection_id":186363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:03:51] local.INFO: TCP Data received {"connection_id":185060,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:03:51] local.INFO: Processing buffer {"connection_id":185060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:03:51] local.INFO: IMEI packet received {"connection_id":185060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":185060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:03:56] local.INFO: TCP Data received {"connection_id":184949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:56] local.INFO: Processing buffer {"connection_id":184949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:56] local.INFO: IMEI packet received {"connection_id":184949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":184949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:03:57] local.INFO: TCP Data received {"connection_id":184949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:57] local.INFO: Processing buffer {"connection_id":184949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:57] local.INFO: IMEI packet received {"connection_id":184949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":184949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:03:57] local.INFO: TCP Data received {"connection_id":184949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:57] local.INFO: Processing buffer {"connection_id":184949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:57] local.INFO: IMEI packet received {"connection_id":184949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":184949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:03:58] local.INFO: TCP Data received {"connection_id":184949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:58] local.INFO: Processing buffer {"connection_id":184949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:03:58] local.INFO: IMEI packet received {"connection_id":184949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":184949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:03:58] local.INFO: TCP Data received {"connection_id":187683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:58] local.INFO: Processing buffer {"connection_id":187683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:03:58] local.INFO: IMEI packet received {"connection_id":187683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":187683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:04:03] local.INFO: TCP Data received {"connection_id":187683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:04:03] local.INFO: Processing buffer {"connection_id":187683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:04:03] local.INFO: IMEI packet received {"connection_id":187683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":187683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:04:04] local.INFO: TCP Data received {"connection_id":187683,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:04:04] local.INFO: Processing buffer {"connection_id":187683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:04:04] local.INFO: Packet analysis {"connection_id":187683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:04:04] local.INFO: Extracted packet for processing {"connection_id":187683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:04:04] 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-09-17 09:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":187683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:04:04] local.INFO: GPS data processed {"connection_id":187683,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:04:04] local.INFO: Acknowledgment sent {"connection_id":187683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:04:16] local.INFO: TCP Data received {"connection_id":186363,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6beaf0012d79e2c005ecac880009004e26..."} 
[2026-09-17 09:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6beaf0012d79e2c005ecac880009004e26..."} 
[2026-09-17 09:04:16] local.INFO: Processing buffer {"connection_id":186363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6beaf0012d79e2c005ecac880009004e26..."} 
[2026-09-17 09:04:16] local.INFO: Packet analysis {"connection_id":186363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6b"} 
[2026-09-17 09:04:16] local.INFO: Extracted packet for processing {"connection_id":186363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6b"} 
[2026-09-17 09:04:16] local.INFO: GPS Element Parsed {"raw_longitude":762962624,"raw_latitude":99396744,"longitude_deg":76.2962624,"latitude_deg":9.9396744,"altitude":9,"angle":78,"satellites":38,"speed":9,"hex_longitude":"2d79e2c0","hex_latitude":"05ecac88","is_valid_coordinates":true} 
[2026-09-17 09:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141676544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134101862667255808,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782371142538899456,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789615926000,"timestamp_ms":1789615926000,"timestamp_seconds":1789615926,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6beaf0"} 
[2026-09-17 09:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-17 09:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141676544001,"66":13319,"100":206,"87":13824,"24":9,"16":134101862667255808,"45":8782371142538899456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 09:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141676544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:04:16] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 09:04:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134101862667255808,"km_value":134101862667255.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782371142538899456,"description":"Unknown IO ID 45"} 
[2026-09-17 09:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141676544001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8782371142538899456}} 
[2026-09-17 09:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":186363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:04:16] local.INFO: GPS data processed {"connection_id":186363,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:04:16] local.INFO: Acknowledgment sent {"connection_id":186363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:04:36] local.INFO: TCP Data received {"connection_id":187683,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:04:36] local.INFO: Processing buffer {"connection_id":187683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:04:36] local.INFO: Packet analysis {"connection_id":187683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:04:36] local.INFO: Extracted packet for processing {"connection_id":187683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:04:36] 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-09-17 09:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":187683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:04:36] local.INFO: GPS data processed {"connection_id":187683,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:04:36] local.INFO: Acknowledgment sent {"connection_id":187683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:04:36] local.INFO: TCP Data received {"connection_id":184950,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:04:36] local.INFO: Processing buffer {"connection_id":184950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:04:36] local.INFO: IMEI packet received {"connection_id":184950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":184950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:04:39] local.INFO: TCP Data received {"connection_id":184950,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:04:39] local.INFO: Processing buffer {"connection_id":184950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:04:39] local.INFO: IMEI packet received {"connection_id":184950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":184950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:04:43] local.INFO: TCP Data received {"connection_id":184950,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:04:43] local.INFO: Processing buffer {"connection_id":184950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:04:43] local.INFO: IMEI packet received {"connection_id":184950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":184950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:04:44] local.INFO: TCP Data received {"connection_id":184950,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6dfe30012d79eb4005ecad50000e00fc26..."} 
[2026-09-17 09:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6dfe30012d79eb4005ecad50000e00fc26..."} 
[2026-09-17 09:04:44] local.INFO: Processing buffer {"connection_id":184950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6dfe30012d79eb4005ecad50000e00fc26..."} 
[2026-09-17 09:04:44] local.INFO: Packet analysis {"connection_id":184950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6d"} 
[2026-09-17 09:04:44] local.INFO: Extracted packet for processing {"connection_id":184950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6d"} 
[2026-09-17 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":762964800,"raw_latitude":99396944,"longitude_deg":76.29648,"latitude_deg":9.9396944,"altitude":14,"angle":252,"satellites":38,"speed":18,"hex_longitude":"2d79eb40","hex_latitude":"05ecad50","is_valid_coordinates":true} 
[2026-09-17 09:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141710848001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134102266394181632,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787156217143152640,"note":"Value kept but may cause issues"} 
[2026-09-17 09:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789616062000,"timestamp_ms":1789616062000,"timestamp_seconds":1789616062,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6dfe30"} 
[2026-09-17 09:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 09:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":184950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":184950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":184950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141710848001,"66":12765,"118":206,"87":13824,"24":18,"16":134102266394181632,"45":8787156217143152640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-17 09:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141710848001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:04:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-17 09:04:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134102266394181632,"km_value":134102266394181.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787156217143152640,"description":"Unknown IO ID 45"} 
[2026-09-17 09:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141710848001,"power":12765,"unknown_118":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8787156217143152640}} 
[2026-09-17 09:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":184950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:04:44] local.INFO: GPS data processed {"connection_id":184950,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:04:44] local.INFO: Acknowledgment sent {"connection_id":184950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:04:58] local.INFO: TCP Data received {"connection_id":187684,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:04:58] local.INFO: Processing buffer {"connection_id":187684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:04:58] local.INFO: IMEI packet received {"connection_id":187684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":187684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:05:03] local.INFO: TCP Data received {"connection_id":187684,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:05:03] local.INFO: Processing buffer {"connection_id":187684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:05:03] local.INFO: IMEI packet received {"connection_id":187684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":187684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:05:04] local.INFO: TCP Data received {"connection_id":187684,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:05:04] local.INFO: Processing buffer {"connection_id":187684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:05:04] local.INFO: Packet analysis {"connection_id":187684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:05:04] local.INFO: Extracted packet for processing {"connection_id":187684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:05:04] 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-09-17 09:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":187684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:05:04] local.INFO: GPS data processed {"connection_id":187684,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:05:04] local.INFO: Acknowledgment sent {"connection_id":187684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:05:16] local.INFO: TCP Data received {"connection_id":184950,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6e0dd0012d79e84005ecab70000e00de1e..."} 
[2026-09-17 09:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6e0dd0012d79e84005ecab70000e00de1e..."} 
[2026-09-17 09:05:16] local.INFO: Processing buffer {"connection_id":184950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6e0dd0012d79e84005ecab70000e00de1e..."} 
[2026-09-17 09:05:16] local.INFO: Packet analysis {"connection_id":184950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:05:16] local.INFO: Extracted packet for processing {"connection_id":184950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:05:16] local.INFO: GPS Element Parsed {"raw_longitude":762964032,"raw_latitude":99396464,"longitude_deg":76.2964032,"latitude_deg":9.9396464,"altitude":14,"angle":222,"satellites":30,"speed":5,"hex_longitude":"2d79e840","hex_latitude":"05ecab70","is_valid_coordinates":true} 
[2026-09-17 09:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141711872001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134102313638821888,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785185892306079744,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789616066000,"timestamp_ms":1789616066000,"timestamp_seconds":1789616066,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6e0dd0"} 
[2026-09-17 09:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 09:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141711872001,"66":12961,"118":206,"87":13824,"24":5,"16":134102313638821888,"45":8785185892306079744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-17 09:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141711872001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:05:16] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-17 09:05:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134102313638821888,"km_value":134102313638821.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785185892306079744,"description":"Unknown IO ID 45"} 
[2026-09-17 09:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141711872001,"power":12961,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8785185892306079744}} 
[2026-09-17 09:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":184950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:05:16] local.INFO: GPS data processed {"connection_id":184950,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:05:16] local.INFO: Acknowledgment sent {"connection_id":184950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:05:36] local.INFO: TCP Data received {"connection_id":187684,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:05:36] local.INFO: Processing buffer {"connection_id":187684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:05:36] local.INFO: Packet analysis {"connection_id":187684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:05:36] local.INFO: Extracted packet for processing {"connection_id":187684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:05:36] 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-09-17 09:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":187684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:05:36] local.INFO: GPS data processed {"connection_id":187684,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:05:36] local.INFO: Acknowledgment sent {"connection_id":187684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:05:39] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:05:39] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:05:39] local.INFO: IMEI packet received {"connection_id":186365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":186365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:05:43] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:05:43] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:05:43] local.INFO: IMEI packet received {"connection_id":186365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":186365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:05:44] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6e2928012d79e60005ecaaa8000e010723..."} 
[2026-09-17 09:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6e2928012d79e60005ecaaa8000e010723..."} 
[2026-09-17 09:05:44] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6e2928012d79e60005ecaaa8000e010723..."} 
[2026-09-17 09:05:44] local.INFO: Packet analysis {"connection_id":186365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:05:44] local.INFO: Extracted packet for processing {"connection_id":186365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:05:44] local.INFO: GPS Element Parsed {"raw_longitude":762963456,"raw_latitude":99396264,"longitude_deg":76.2963456,"latitude_deg":9.9396264,"altitude":14,"angle":263,"satellites":35,"speed":7,"hex_longitude":"2d79e600","hex_latitude":"05ecaaa8","is_valid_coordinates":true} 
[2026-09-17 09:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141712896001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134102356588494848,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784341467375824896,"note":"Value kept but may cause issues"} 
[2026-09-17 09:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789616073000,"timestamp_ms":1789616073000,"timestamp_seconds":1789616073,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6e2928"} 
[2026-09-17 09:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-17 09:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141712896001,"66":12863,"118":206,"87":13824,"24":7,"16":134102356588494848,"45":8784341467375824896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-17 09:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141712896001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:05:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-17 09:05:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134102356588494848,"km_value":134102356588494.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784341467375824896,"description":"Unknown IO ID 45"} 
[2026-09-17 09:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141712896001,"power":12863,"unknown_118":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8784341467375824896}} 
[2026-09-17 09:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":186365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:05:44] local.INFO: GPS data processed {"connection_id":186365,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:05:44] local.INFO: Acknowledgment sent {"connection_id":186365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:05:58] local.INFO: TCP Data received {"connection_id":187686,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:05:58] local.INFO: Processing buffer {"connection_id":187686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:05:58] local.INFO: IMEI packet received {"connection_id":187686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":187686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:06:04] local.INFO: TCP Data received {"connection_id":187686,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:06:04] local.INFO: Processing buffer {"connection_id":187686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:06:04] local.INFO: IMEI packet received {"connection_id":187686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":187686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:06:05] local.INFO: TCP Data received {"connection_id":187686,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:06:05] local.INFO: Processing buffer {"connection_id":187686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:06:05] local.INFO: Packet analysis {"connection_id":187686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:06:05] local.INFO: Extracted packet for processing {"connection_id":187686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:06:05] 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-09-17 09:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:06:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":187686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:06:05] local.INFO: GPS data processed {"connection_id":187686,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:06:05] local.INFO: Acknowledgment sent {"connection_id":187686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:06:16] local.INFO: TCP Data received {"connection_id":186365,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6e30f8012d79e44005ecab08000e00f525..."} 
[2026-09-17 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6e30f8012d79e44005ecab08000e00f525..."} 
[2026-09-17 09:06:16] local.INFO: Processing buffer {"connection_id":186365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6e30f8012d79e44005ecab08000e00f525..."} 
[2026-09-17 09:06:16] local.INFO: Packet analysis {"connection_id":186365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:06:16] local.INFO: Extracted packet for processing {"connection_id":186365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":762963008,"raw_latitude":99396360,"longitude_deg":76.2963008,"latitude_deg":9.939636,"altitude":14,"angle":245,"satellites":37,"speed":9,"hex_longitude":"2d79e440","hex_latitude":"05ecab08","is_valid_coordinates":true} 
[2026-09-17 09:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141714688001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134102378063331328,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783708148678174720,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789616075000,"timestamp_ms":1789616075000,"timestamp_seconds":1789616075,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6e30f8"} 
[2026-09-17 09:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 09:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141714688001,"66":12472,"118":206,"87":13824,"24":9,"16":134102378063331328,"45":8783708148678174720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-17 09:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141714688001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:06:16] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-17 09:06:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134102378063331328,"km_value":134102378063331.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783708148678174720,"description":"Unknown IO ID 45"} 
[2026-09-17 09:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141714688001,"power":12472,"unknown_118":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8783708148678174720}} 
[2026-09-17 09:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":186365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:06:16] local.INFO: GPS data processed {"connection_id":186365,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:06:16] local.INFO: Acknowledgment sent {"connection_id":186365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:06:36] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:06:36] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:06:36] local.INFO: IMEI packet received {"connection_id":186366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":186366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:06:37] local.INFO: TCP Data received {"connection_id":187686,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:06:37] local.INFO: Processing buffer {"connection_id":187686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:06:37] local.INFO: Packet analysis {"connection_id":187686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:06:37] local.INFO: Extracted packet for processing {"connection_id":187686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:06:37] 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-09-17 09:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":187686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:06:37] local.INFO: GPS data processed {"connection_id":187686,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:06:37] local.INFO: Acknowledgment sent {"connection_id":187686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:06:38] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:06:38] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:06:38] local.INFO: IMEI packet received {"connection_id":186366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":186366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:06:44] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:06:44] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:06:44] local.INFO: IMEI packet received {"connection_id":186366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":186366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:06:44] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6e5038012d79e28005ecaa08000e00ab28..."} 
[2026-09-17 09:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6e5038012d79e28005ecaa08000e00ab28..."} 
[2026-09-17 09:06:44] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6e5038012d79e28005ecaa08000e00ab28..."} 
[2026-09-17 09:06:44] local.INFO: Packet analysis {"connection_id":186366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:06:44] local.INFO: Extracted packet for processing {"connection_id":186366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:06:44] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":99396104,"longitude_deg":76.296256,"latitude_deg":9.9396104,"altitude":14,"angle":171,"satellites":40,"speed":10,"hex_longitude":"2d79e280","hex_latitude":"05ecaa08","is_valid_coordinates":true} 
[2026-09-17 09:06: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-09-17 09:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141715200001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134102412423069696,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783215567468955648,"note":"Value kept but may cause issues"} 
[2026-09-17 09:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789616083000,"timestamp_ms":1789616083000,"timestamp_seconds":1789616083,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6e5038"} 
[2026-09-17 09:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-17 09:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:06: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-09-17 09:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141715200001,"66":13363,"118":206,"87":13824,"24":10,"16":134102412423069696,"45":8783215567468955648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-17 09:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141715200001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:06:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-17 09:06:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134102412423069696,"km_value":134102412423069.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783215567468955648,"description":"Unknown IO ID 45"} 
[2026-09-17 09:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141715200001,"power":13363,"unknown_118":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8783215567468955648}} 
[2026-09-17 09:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":186366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:06:44] local.INFO: GPS data processed {"connection_id":186366,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:06:44] local.INFO: Acknowledgment sent {"connection_id":186366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:07:03] local.INFO: TCP Data received {"connection_id":184953,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:07:03] local.INFO: Processing buffer {"connection_id":184953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:07:03] local.INFO: IMEI packet received {"connection_id":184953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":184953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:07:08] local.INFO: TCP Data received {"connection_id":184953,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:07:08] local.INFO: Processing buffer {"connection_id":184953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:07:08] local.INFO: IMEI packet received {"connection_id":184953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":184953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:07:10] local.INFO: TCP Data received {"connection_id":184953,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:07:10] local.INFO: Processing buffer {"connection_id":184953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:07:10] local.INFO: Packet analysis {"connection_id":184953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:07:10] local.INFO: Extracted packet for processing {"connection_id":184953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":184953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":184953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":184953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:07: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-09-17 09:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":184953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:07:10] local.INFO: GPS data processed {"connection_id":184953,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:07:10] local.INFO: Acknowledgment sent {"connection_id":184953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:07:15] local.INFO: TCP Data received {"connection_id":184953,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:07:15] local.INFO: Processing buffer {"connection_id":184953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6c2970012d34c3c006aa4458000c01172e..."} 
[2026-09-17 09:07:15] local.INFO: Packet analysis {"connection_id":184953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:07:15] local.INFO: Extracted packet for processing {"connection_id":184953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6c"} 
[2026-09-17 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141604096001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789615942000,"timestamp_ms":1789615942000,"timestamp_seconds":1789615942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6c2970"} 
[2026-09-17 09:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:07:15] 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-09-17 09:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141604096001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141604096001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141604096001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":184953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:07:15] local.INFO: GPS data processed {"connection_id":184953,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:07:15] local.INFO: Acknowledgment sent {"connection_id":184953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:07:15] local.INFO: TCP Data received {"connection_id":186366,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad6e5fd8012d79e4c005eca328000c009f29..."} 
[2026-09-17 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad6e5fd8012d79e4c005eca328000c009f29..."} 
[2026-09-17 09:07:15] local.INFO: Processing buffer {"connection_id":186366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad6e5fd8012d79e4c005eca328000c009f29..."} 
[2026-09-17 09:07:15] local.INFO: Packet analysis {"connection_id":186366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:07:15] local.INFO: Extracted packet for processing {"connection_id":186366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad6e"} 
[2026-09-17 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":762963136,"raw_latitude":99394344,"longitude_deg":76.2963136,"latitude_deg":9.9394344,"altitude":12,"angle":159,"satellites":41,"speed":18,"hex_longitude":"2d79e4c0","hex_latitude":"05eca328","is_valid_coordinates":true} 
[2026-09-17 09:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141717248001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134102502617382912,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986259646464,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789616087000,"timestamp_ms":1789616087000,"timestamp_seconds":1789616087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad6e5fd8"} 
[2026-09-17 09:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 09:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141717248001,"66":13059,"118":206,"87":13824,"24":18,"16":134102502617382912,"45":8782722986259646464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-17 09:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141717248001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:07:15] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-17 09:07:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134102502617382912,"km_value":134102502617382.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986259646464,"description":"Unknown IO ID 45"} 
[2026-09-17 09:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141717248001,"power":13059,"unknown_118":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8782722986259646464}} 
[2026-09-17 09:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":186366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:07:15] local.INFO: GPS data processed {"connection_id":186366,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:07:15] local.INFO: Acknowledgment sent {"connection_id":186366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:07:38] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:07:38] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:07:38] local.INFO: IMEI packet received {"connection_id":185062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":185062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:07:43] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:07:43] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:07:43] local.INFO: IMEI packet received {"connection_id":185062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":185062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:07:44] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70bd50012d7a568005eb9788000b008028..."} 
[2026-09-17 09:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70bd50012d7a568005eb9788000b008028..."} 
[2026-09-17 09:07:44] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70bd50012d7a568005eb9788000b008028..."} 
[2026-09-17 09:07:44] local.INFO: Packet analysis {"connection_id":185062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:07:44] local.INFO: Extracted packet for processing {"connection_id":185062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:07:44] local.INFO: GPS Element Parsed {"raw_longitude":762992256,"raw_latitude":99325832,"longitude_deg":76.2992256,"latitude_deg":9.9325832,"altitude":11,"angle":128,"satellites":40,"speed":19,"hex_longitude":"2d7a5680","hex_latitude":"05eb9788","is_valid_coordinates":true} 
[2026-09-17 09:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141755648001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134106131864748032,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812629702518147072,"note":"Value kept but may cause issues"} 
[2026-09-17 09:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789616242000,"timestamp_ms":1789616242000,"timestamp_seconds":1789616242,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70bd50"} 
[2026-09-17 09:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 09:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141755648001,"66":13091,"163":206,"87":13824,"24":19,"16":134106131864748032,"45":8812629702518147072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-17 09:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141755648001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:07:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-17 09:07:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134106131864748032,"km_value":134106131864748.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812629702518147072,"description":"Unknown IO ID 45"} 
[2026-09-17 09:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141755648001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8812629702518147072}} 
[2026-09-17 09:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":185062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:07:44] local.INFO: GPS data processed {"connection_id":185062,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:07:44] local.INFO: Acknowledgment sent {"connection_id":185062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:07:58] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:07:58] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:07:58] local.INFO: IMEI packet received {"connection_id":186368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":186368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:08:03] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:08:03] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:08:03] local.INFO: IMEI packet received {"connection_id":186368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":186368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:08:05] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:08:05] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:08:05] local.INFO: Packet analysis {"connection_id":186368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:05] local.INFO: Extracted packet for processing {"connection_id":186368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:08:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":186368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:08:05] local.INFO: GPS data processed {"connection_id":186368,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:08:05] local.INFO: Acknowledgment sent {"connection_id":186368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:08:06] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:08:06] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:08:06] local.INFO: Packet analysis {"connection_id":186368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:06] local.INFO: Extracted packet for processing {"connection_id":186368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":186368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:08:06] local.INFO: GPS data processed {"connection_id":186368,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:08:06] local.INFO: Acknowledgment sent {"connection_id":186368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:08:16] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d7a580005eb9680000c007427..."} 
[2026-09-17 09:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d7a580005eb9680000c007427..."} 
[2026-09-17 09:08:16] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d7a580005eb9680000c007427..."} 
[2026-09-17 09:08:16] local.INFO: Packet analysis {"connection_id":185062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:16] local.INFO: Extracted packet for processing {"connection_id":185062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:16] local.INFO: GPS Element Parsed {"raw_longitude":762992640,"raw_latitude":99325568,"longitude_deg":76.299264,"latitude_deg":9.9325568,"altitude":12,"angle":116,"satellites":39,"speed":19,"hex_longitude":"2d7a5800","hex_latitude":"05eb9680","is_valid_coordinates":true} 
[2026-09-17 09:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141757952001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134106153339584512,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815374083540092928,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 09:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141757952001,"66":12841,"163":206,"87":13824,"24":19,"16":134106153339584512,"45":8815374083540092928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-17 09:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141757952001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:08:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-17 09:08:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134106153339584512,"km_value":134106153339584.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815374083540092928,"description":"Unknown IO ID 45"} 
[2026-09-17 09:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141757952001,"power":12841,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8815374083540092928}} 
[2026-09-17 09:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":185062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:08:16] local.INFO: GPS data processed {"connection_id":185062,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:08:16] local.INFO: Acknowledgment sent {"connection_id":185062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:08:38] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:08:38] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:08:38] local.INFO: IMEI packet received {"connection_id":186370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":186370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:08:38] local.INFO: TCP Data received {"connection_id":186368,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:08:38] local.INFO: Processing buffer {"connection_id":186368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:08:38] local.INFO: Packet analysis {"connection_id":186368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:38] local.INFO: Extracted packet for processing {"connection_id":186368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":186368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:08:38] local.INFO: GPS data processed {"connection_id":186368,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:08:38] local.INFO: Acknowledgment sent {"connection_id":186368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:08:43] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:08:43] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:08:43] local.INFO: IMEI packet received {"connection_id":186370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":186370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:08:44] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c908012d7a5bc005eb95d0000c005c26..."} 
[2026-09-17 09:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c908012d7a5bc005eb95d0000c005c26..."} 
[2026-09-17 09:08:44] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c908012d7a5bc005eb95d0000c005c26..."} 
[2026-09-17 09:08:44] local.INFO: Packet analysis {"connection_id":186370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:44] local.INFO: Extracted packet for processing {"connection_id":186370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:08:44] local.INFO: GPS Element Parsed {"raw_longitude":762993600,"raw_latitude":99325392,"longitude_deg":76.29936,"latitude_deg":9.9325392,"altitude":12,"angle":92,"satellites":38,"speed":20,"hex_longitude":"2d7a5bc0","hex_latitude":"05eb95d0","is_valid_coordinates":true} 
[2026-09-17 09:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134106204879192064,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815796296005091328,"note":"Value kept but may cause issues"} 
[2026-09-17 09:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789616245000,"timestamp_ms":1789616245000,"timestamp_seconds":1789616245,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c908"} 
[2026-09-17 09:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 09:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":13396,"163":206,"87":13824,"24":20,"16":134106204879192064,"45":8815796296005091328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-17 09:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:08:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-17 09:08:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134106204879192064,"km_value":134106204879192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815796296005091328,"description":"Unknown IO ID 45"} 
[2026-09-17 09:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":13396,"unknown_163":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8815796296005091328}} 
[2026-09-17 09:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":186370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:08:45] local.INFO: GPS data processed {"connection_id":186370,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:08:45] local.INFO: Acknowledgment sent {"connection_id":186370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:08:58] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:08:58] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:08:58] local.INFO: IMEI packet received {"connection_id":186371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":186371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:09:02] local.INFO: TCP Data received {"connection_id":187688,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:09:02] local.INFO: Processing buffer {"connection_id":187688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:09:02] local.INFO: IMEI packet received {"connection_id":187688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":187688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:09:03] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:09:03] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:09:03] local.INFO: IMEI packet received {"connection_id":186371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":186371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:09:04] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:09:04] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:09:04] local.INFO: Packet analysis {"connection_id":186371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:09:04] local.INFO: Extracted packet for processing {"connection_id":186371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:09:04] 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-09-17 09:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":186371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:09:04] local.INFO: GPS data processed {"connection_id":186371,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:09:04] local.INFO: Acknowledgment sent {"connection_id":186371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:09:05] local.INFO: TCP Data received {"connection_id":187688,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:09:05] local.INFO: Processing buffer {"connection_id":187688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:09:05] local.INFO: IMEI packet received {"connection_id":187688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":187688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:09:06] local.INFO: TCP Data received {"connection_id":184954,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:09:06] local.INFO: Processing buffer {"connection_id":184954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:09:06] local.INFO: IMEI packet received {"connection_id":184954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":184954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:09:06] local.INFO: TCP Data received {"connection_id":187688,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad716160012d0a8800070615c00011001b1b..."} 
[2026-09-17 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad716160012d0a8800070615c00011001b1b..."} 
[2026-09-17 09:09:06] local.INFO: Processing buffer {"connection_id":187688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad716160012d0a8800070615c00011001b1b..."} 
[2026-09-17 09:09:06] local.INFO: Packet analysis {"connection_id":187688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:09:06] local.INFO: Extracted packet for processing {"connection_id":187688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:09:06] local.INFO: GPS Element Parsed {"raw_longitude":755664896,"raw_latitude":117839296,"longitude_deg":75.5664896,"latitude_deg":11.7839296,"altitude":17,"angle":27,"satellites":27,"speed":5,"hex_longitude":"2d0a8800","hex_latitude":"070615c0","is_valid_coordinates":true} 
[2026-09-17 09:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141768192001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32596512559071232,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758645461146179584,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789616284000,"timestamp_ms":1789616284000,"timestamp_seconds":1789616284,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad716160"} 
[2026-09-17 09:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141768192001,"66":14450,"153":206,"94":10240,"24":5,"16":32596512559071232,"45":758645461146179584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 09:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141768192001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:09:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 09:09:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32596512559071232,"km_value":32596512559071.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":758645461146179584,"description":"Unknown IO ID 45"} 
[2026-09-17 09:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141768192001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":758645461146179584}} 
[2026-09-17 09:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":187688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854305,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:09:06] local.INFO: GPS data processed {"connection_id":187688,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:09:06] local.INFO: Acknowledgment sent {"connection_id":187688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:09:16] local.INFO: TCP Data received {"connection_id":186370,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70ccf0012d7a5e0005eb9668000c004a26..."} 
[2026-09-17 09:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70ccf0012d7a5e0005eb9668000c004a26..."} 
[2026-09-17 09:09:16] local.INFO: Processing buffer {"connection_id":186370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70ccf0012d7a5e0005eb9668000c004a26..."} 
[2026-09-17 09:09:16] local.INFO: Packet analysis {"connection_id":186370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:09:16] local.INFO: Extracted packet for processing {"connection_id":186370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:09:16] local.INFO: GPS Element Parsed {"raw_longitude":762994176,"raw_latitude":99325544,"longitude_deg":76.2994176,"latitude_deg":9.9325544,"altitude":12,"angle":74,"satellites":38,"speed":19,"hex_longitude":"2d7a5e00","hex_latitude":"05eb9668","is_valid_coordinates":true} 
[2026-09-17 09:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758720001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134106230648995840,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816851827167711232,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789616246000,"timestamp_ms":1789616246000,"timestamp_seconds":1789616246,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70ccf0"} 
[2026-09-17 09:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-17 09:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758720001,"66":13396,"163":206,"87":13824,"24":19,"16":134106230648995840,"45":8816851827167711232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-17 09:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758720001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:09:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-17 09:09:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134106230648995840,"km_value":134106230648995.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816851827167711232,"description":"Unknown IO ID 45"} 
[2026-09-17 09:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758720001,"power":13396,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8816851827167711232}} 
[2026-09-17 09:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":186370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:09:16] local.INFO: GPS data processed {"connection_id":186370,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:09:16] local.INFO: Acknowledgment sent {"connection_id":186370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:09:36] local.INFO: TCP Data received {"connection_id":186371,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:09:36] local.INFO: Processing buffer {"connection_id":186371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:09:36] local.INFO: Packet analysis {"connection_id":186371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:09:36] local.INFO: Extracted packet for processing {"connection_id":186371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:09:36] 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-09-17 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":186371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:09:36] local.INFO: GPS data processed {"connection_id":186371,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:09:36] local.INFO: Acknowledgment sent {"connection_id":186371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:09:37] local.INFO: TCP Data received {"connection_id":187688,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad719040012d0a874007061498001100bf1c..."} 
[2026-09-17 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad719040012d0a874007061498001100bf1c..."} 
[2026-09-17 09:09:37] local.INFO: Processing buffer {"connection_id":187688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad719040012d0a874007061498001100bf1c..."} 
[2026-09-17 09:09:37] local.INFO: Packet analysis {"connection_id":187688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:09:37] local.INFO: Extracted packet for processing {"connection_id":187688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:09:37] local.INFO: GPS Element Parsed {"raw_longitude":755664704,"raw_latitude":117839000,"longitude_deg":75.5664704,"latitude_deg":11.7839,"altitude":17,"angle":191,"satellites":28,"speed":3,"hex_longitude":"2d0a8740","hex_latitude":"07061498","is_valid_coordinates":true} 
[2026-09-17 09:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141768704001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32596551213776896,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758856567378788352,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789616296000,"timestamp_ms":1789616296000,"timestamp_seconds":1789616296,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad719040"} 
[2026-09-17 09:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141768704001,"66":14407,"153":206,"94":10240,"24":3,"16":32596551213776896,"45":758856567378788352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 09:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141768704001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:09:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 09:09:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32596551213776896,"km_value":32596551213776.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":758856567378788352,"description":"Unknown IO ID 45"} 
[2026-09-17 09:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141768704001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":758856567378788352}} 
[2026-09-17 09:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":187688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854308,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:09:37] local.INFO: GPS data processed {"connection_id":187688,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:09:37] local.INFO: Acknowledgment sent {"connection_id":187688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:09:38] local.INFO: TCP Data received {"connection_id":187689,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:09:38] local.INFO: Processing buffer {"connection_id":187689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:09:38] local.INFO: IMEI packet received {"connection_id":187689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":187689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:09:43] local.INFO: TCP Data received {"connection_id":187689,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:09:43] local.INFO: Processing buffer {"connection_id":187689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:09:43] local.INFO: IMEI packet received {"connection_id":187689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":187689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:09:45] local.INFO: TCP Data received {"connection_id":187689,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad711728012d7a800005eba3f0000d004725..."} 
[2026-09-17 09:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad711728012d7a800005eba3f0000d004725..."} 
[2026-09-17 09:09:45] local.INFO: Processing buffer {"connection_id":187689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad711728012d7a800005eba3f0000d004725..."} 
[2026-09-17 09:09:45] local.INFO: Packet analysis {"connection_id":187689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:09:45] local.INFO: Extracted packet for processing {"connection_id":187689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:09:45] local.INFO: GPS Element Parsed {"raw_longitude":763002880,"raw_latitude":99329008,"longitude_deg":76.300288,"latitude_deg":9.9329008,"altitude":13,"angle":71,"satellites":37,"speed":23,"hex_longitude":"2d7a8000","hex_latitude":"05eba3f0","is_valid_coordinates":true} 
[2026-09-17 09:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758976001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134106677325594624,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817485145865349120,"note":"Value kept but may cause issues"} 
[2026-09-17 09:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789616265000,"timestamp_ms":1789616265000,"timestamp_seconds":1789616265,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad711728"} 
[2026-09-17 09:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-17 09:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758976001,"66":13472,"161":206,"87":13824,"24":23,"16":134106677325594624,"45":8817485145865349120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-17 09:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758976001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:09:45] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-17 09:09:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134106677325594624,"km_value":134106677325594.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817485145865349120,"description":"Unknown IO ID 45"} 
[2026-09-17 09:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758976001,"power":13472,"unknown_161":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8817485145865349120}} 
[2026-09-17 09:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":187689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:09:45] local.INFO: GPS data processed {"connection_id":187689,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:09:45] local.INFO: Acknowledgment sent {"connection_id":187689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:09:51] local.INFO: TCP Data received {"connection_id":187690,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:09:51] local.INFO: Processing buffer {"connection_id":187690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:09:51] local.INFO: IMEI packet received {"connection_id":187690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":187690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:09:57] local.INFO: TCP Data received {"connection_id":185063,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:09:57] local.INFO: Processing buffer {"connection_id":185063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:09:57] local.INFO: IMEI packet received {"connection_id":185063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":185063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:10:02] local.INFO: TCP Data received {"connection_id":185063,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:10:02] local.INFO: Processing buffer {"connection_id":185063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:10:02] local.INFO: IMEI packet received {"connection_id":185063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":185063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:10:03] local.INFO: TCP Data received {"connection_id":185063,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad71bf20012d0a868007061420001101271a..."} 
[2026-09-17 09:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad71bf20012d0a868007061420001101271a..."} 
[2026-09-17 09:10:03] local.INFO: Processing buffer {"connection_id":185063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad71bf20012d0a868007061420001101271a..."} 
[2026-09-17 09:10:03] local.INFO: Packet analysis {"connection_id":185063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:10:03] local.INFO: Extracted packet for processing {"connection_id":185063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:10:03] local.INFO: GPS Element Parsed {"raw_longitude":755664512,"raw_latitude":117838880,"longitude_deg":75.5664512,"latitude_deg":11.783888,"altitude":17,"angle":295,"satellites":26,"speed":3,"hex_longitude":"2d0a8680","hex_latitude":"07061420","is_valid_coordinates":true} 
[2026-09-17 09:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141771776001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32596572688613376,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758645461146179584,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789616308000,"timestamp_ms":1789616308000,"timestamp_seconds":1789616308,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad71bf20"} 
[2026-09-17 09:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 09:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141771776001,"66":14428,"153":206,"94":10240,"24":3,"16":32596572688613376,"45":758645461146179584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 09:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141771776001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:10:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 09:10:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32596572688613376,"km_value":32596572688613.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":758645461146179584,"description":"Unknown IO ID 45"} 
[2026-09-17 09:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141771776001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":758645461146179584}} 
[2026-09-17 09:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":185063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:10:03] local.INFO: GPS data processed {"connection_id":185063,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:10:03] local.INFO: Acknowledgment sent {"connection_id":185063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:10:03] local.INFO: TCP Data received {"connection_id":187691,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:10:03] local.INFO: Processing buffer {"connection_id":187691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:10:03] local.INFO: IMEI packet received {"connection_id":187691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":187691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:10:08] local.INFO: TCP Data received {"connection_id":187691,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:10:08] local.INFO: Processing buffer {"connection_id":187691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:10:08] local.INFO: IMEI packet received {"connection_id":187691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":187691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:10:09] local.INFO: TCP Data received {"connection_id":187691,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:10:09] local.INFO: Processing buffer {"connection_id":187691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:10:09] local.INFO: Packet analysis {"connection_id":187691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:10:09] local.INFO: Extracted packet for processing {"connection_id":187691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:10: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-09-17 09:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":187691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:10:09] local.INFO: GPS data processed {"connection_id":187691,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:10:09] local.INFO: Acknowledgment sent {"connection_id":187691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:10:14] local.INFO: TCP Data received {"connection_id":187691,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:10:14] local.INFO: Processing buffer {"connection_id":187691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:10:14] local.INFO: Packet analysis {"connection_id":187691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:10:14] local.INFO: Extracted packet for processing {"connection_id":187691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:10: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-09-17 09:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:10:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":187691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:10:14] local.INFO: GPS data processed {"connection_id":187691,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:10:14] local.INFO: Acknowledgment sent {"connection_id":187691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:10:16] local.INFO: TCP Data received {"connection_id":187689,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7149f0012d7aa2c005ebb130000b004627..."} 
[2026-09-17 09:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7149f0012d7aa2c005ebb130000b004627..."} 
[2026-09-17 09:10:16] local.INFO: Processing buffer {"connection_id":187689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7149f0012d7aa2c005ebb130000b004627..."} 
[2026-09-17 09:10:16] local.INFO: Packet analysis {"connection_id":187689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:10:16] local.INFO: Extracted packet for processing {"connection_id":187689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad71"} 
[2026-09-17 09:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763011776,"raw_latitude":99332400,"longitude_deg":76.3011776,"latitude_deg":9.93324,"altitude":11,"angle":70,"satellites":39,"speed":30,"hex_longitude":"2d7aa2c0","hex_latitude":"05ebb130","is_valid_coordinates":true} 
[2026-09-17 09:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141763840001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134107136887095296,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827055295074398208,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789616278000,"timestamp_ms":1789616278000,"timestamp_seconds":1789616278,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7149f0"} 
[2026-09-17 09:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 09:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141763840001,"66":13515,"161":206,"87":13824,"24":30,"16":134107136887095296,"45":8827055295074398208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-17 09:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141763840001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:10:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-17 09:10:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134107136887095296,"km_value":134107136887095.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827055295074398208,"description":"Unknown IO ID 45"} 
[2026-09-17 09:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141763840001,"power":13515,"unknown_161":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8827055295074398208}} 
[2026-09-17 09:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":187689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:10:16] local.INFO: GPS data processed {"connection_id":187689,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:10:16] local.INFO: Acknowledgment sent {"connection_id":187689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:10:34] local.INFO: TCP Data received {"connection_id":185063,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad736118012d0a73c00705dfe8001400c41b..."} 
[2026-09-17 09:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad736118012d0a73c00705dfe8001400c41b..."} 
[2026-09-17 09:10:34] local.INFO: Processing buffer {"connection_id":185063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad736118012d0a73c00705dfe8001400c41b..."} 
[2026-09-17 09:10:34] local.INFO: Packet analysis {"connection_id":185063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:10:34] local.INFO: Extracted packet for processing {"connection_id":185063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:10:34] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117825512,"longitude_deg":75.5659712,"latitude_deg":11.7825512,"altitude":20,"angle":196,"satellites":27,"speed":10,"hex_longitude":"2d0a73c0","hex_latitude":"0705dfe8","is_valid_coordinates":true} 
[2026-09-17 09:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141801472001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32597478926712832,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911562143744,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789616415000,"timestamp_ms":1789616415000,"timestamp_seconds":1789616415,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad736118"} 
[2026-09-17 09:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 09:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141801472001,"66":14428,"153":206,"94":10240,"24":10,"16":32597478926712832,"45":753578911562143744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 09:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141801472001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:10:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 09:10:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32597478926712832,"km_value":32597478926712.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911562143744,"description":"Unknown IO ID 45"} 
[2026-09-17 09:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141801472001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753578911562143744}} 
[2026-09-17 09:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":185063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:10:34] local.INFO: GPS data processed {"connection_id":185063,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:10:34] local.INFO: Acknowledgment sent {"connection_id":185063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:10:40] local.INFO: TCP Data received {"connection_id":184955,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:10:41] local.INFO: Processing buffer {"connection_id":184955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:10:41] local.INFO: IMEI packet received {"connection_id":184955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":184955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:10:44] local.INFO: TCP Data received {"connection_id":184955,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:10:44] local.INFO: Processing buffer {"connection_id":184955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:10:44] local.INFO: IMEI packet received {"connection_id":184955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":184955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:10:48] local.INFO: TCP Data received {"connection_id":184955,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:10:48] local.INFO: Processing buffer {"connection_id":184955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:10:48] local.INFO: IMEI packet received {"connection_id":184955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":184955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:10:49] local.INFO: TCP Data received {"connection_id":184955,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad735d30012d7c198005ec3578000f00572d..."} 
[2026-09-17 09:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad735d30012d7c198005ec3578000f00572d..."} 
[2026-09-17 09:10:49] local.INFO: Processing buffer {"connection_id":184955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad735d30012d7c198005ec3578000f00572d..."} 
[2026-09-17 09:10:49] local.INFO: Packet analysis {"connection_id":184955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:10:49] local.INFO: Extracted packet for processing {"connection_id":184955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:10:49] local.INFO: GPS Element Parsed {"raw_longitude":763107712,"raw_latitude":99366264,"longitude_deg":76.3107712,"latitude_deg":9.9366264,"altitude":15,"angle":87,"satellites":45,"speed":31,"hex_longitude":"2d7c1980","hex_latitude":"05ec3578","is_valid_coordinates":true} 
[2026-09-17 09:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141798656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134112041739747328,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931693617675978752,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789616414000,"timestamp_ms":1789616414000,"timestamp_seconds":1789616414,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad735d30"} 
[2026-09-17 09:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 09:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":184955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":184955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":184955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141798656001,"66":13319,"198":206,"87":13824,"24":31,"16":134112041739747328,"45":8931693617675978752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 09:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141798656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:10:49] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 09:10:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134112041739747328,"km_value":134112041739747.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931693617675978752,"description":"Unknown IO ID 45"} 
[2026-09-17 09:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141798656001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8931693617675978752}} 
[2026-09-17 09:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":184955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:10:49] local.INFO: GPS data processed {"connection_id":184955,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:10:49] local.INFO: Acknowledgment sent {"connection_id":184955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:10:55] local.INFO: TCP Data received {"connection_id":184955,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad738c10012d7c3d4005ec3678000e00572d..."} 
[2026-09-17 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad738c10012d7c3d4005ec3678000e00572d..."} 
[2026-09-17 09:10:55] local.INFO: Processing buffer {"connection_id":184955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad738c10012d7c3d4005ec3678000e00572d..."} 
[2026-09-17 09:10:55] local.INFO: Packet analysis {"connection_id":184955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:10:55] local.INFO: Extracted packet for processing {"connection_id":184955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763116864,"raw_latitude":99366520,"longitude_deg":76.3116864,"latitude_deg":9.936652,"altitude":14,"angle":87,"satellites":45,"speed":22,"hex_longitude":"2d7c3d40","hex_latitude":"05ec3678","is_valid_coordinates":true} 
[2026-09-17 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141801984001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134112475531444224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942319298046949376,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789616426000,"timestamp_ms":1789616426000,"timestamp_seconds":1789616426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad738c10"} 
[2026-09-17 09:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2909941864,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":49153,"corrected_to":0} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":116,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-171135490988834811,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57777562231658294,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3959384064,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-1197957449336870144,"note":"Value kept but may cause issues"} 
[2026-09-17 09:10:55] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,87,24,241,157,16,118,160,42,45,192,51,14,10,66,117,243,44,200,128,1,240,7,227,116,173,236,4,113,205,29,103,43,239,52,99,2,220,5,26,235],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":200,"original":49153,"validated":0},{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-17 09:10:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080959761356095488,"timestamp_seconds":1080959761356095.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 09:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":184955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":184955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":184955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141801984001,"66":13450,"198":206,"87":13824,"24":22,"16":134112475531444224,"45":8942319298046949376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141801984001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:10:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 09:10:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134112475531444224,"km_value":134112475531444.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942319298046949376,"description":"Unknown IO ID 45"} 
[2026-09-17 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141801984001,"power":13450,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8942319298046949376}} 
[2026-09-17 09:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":184955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:10:55] local.INFO: GPS data processed {"connection_id":184955,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:10:55] local.INFO: Acknowledgment sent {"connection_id":184955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:10:57] local.INFO: TCP Data received {"connection_id":185065,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:10:57] local.INFO: Processing buffer {"connection_id":185065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:10:57] local.INFO: IMEI packet received {"connection_id":185065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":185065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:10:58] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:10:58] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:10:58] local.INFO: IMEI packet received {"connection_id":186372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":186372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:11:02] local.INFO: TCP Data received {"connection_id":185065,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:11:02] local.INFO: Processing buffer {"connection_id":185065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:11:02] local.INFO: IMEI packet received {"connection_id":185065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":185065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:11:03] local.INFO: TCP Data received {"connection_id":185065,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad736500012d0a73c00705ded0001400b71b..."} 
[2026-09-17 09:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad736500012d0a73c00705ded0001400b71b..."} 
[2026-09-17 09:11:03] local.INFO: Processing buffer {"connection_id":185065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad736500012d0a73c00705ded0001400b71b..."} 
[2026-09-17 09:11:03] local.INFO: Packet analysis {"connection_id":185065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:11:03] local.INFO: Extracted packet for processing {"connection_id":185065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:11:03] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117825232,"longitude_deg":75.5659712,"latitude_deg":11.7825232,"altitude":20,"angle":183,"satellites":27,"speed":10,"hex_longitude":"2d0a73c0","hex_latitude":"0705ded0","is_valid_coordinates":true} 
[2026-09-17 09:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141802240001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32597491811614720,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699096868864,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789616416000,"timestamp_ms":1789616416000,"timestamp_seconds":1789616416,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad736500"} 
[2026-09-17 09:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141802240001,"66":14407,"153":206,"94":10240,"24":10,"16":32597491811614720,"45":753156699096868864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 09:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141802240001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:11:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 09:11:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32597491811614720,"km_value":32597491811614.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699096868864,"description":"Unknown IO ID 45"} 
[2026-09-17 09:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141802240001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753156699096868864}} 
[2026-09-17 09:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":185065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:11:03] local.INFO: GPS data processed {"connection_id":185065,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:11:03] local.INFO: Acknowledgment sent {"connection_id":185065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:11:03] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:11:03] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:11:03] local.INFO: IMEI packet received {"connection_id":186372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":186372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:11:04] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:11:04] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:11:04] local.INFO: Packet analysis {"connection_id":186372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:11:04] local.INFO: Extracted packet for processing {"connection_id":186372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:11:04] 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-09-17 09:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":186372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:11:04] local.INFO: GPS data processed {"connection_id":186372,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:11:04] local.INFO: Acknowledgment sent {"connection_id":186372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:11:35] local.INFO: TCP Data received {"connection_id":185067,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:11:35] local.INFO: Processing buffer {"connection_id":185067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:11:35] local.INFO: IMEI packet received {"connection_id":185067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":185067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:11:37] local.INFO: TCP Data received {"connection_id":186372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:11:37] local.INFO: Processing buffer {"connection_id":186372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:11:37] local.INFO: Packet analysis {"connection_id":186372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:11:37] local.INFO: Extracted packet for processing {"connection_id":186372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:11:37] 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-09-17 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":186372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:11:37] local.INFO: GPS data processed {"connection_id":186372,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:11:37] local.INFO: Acknowledgment sent {"connection_id":186372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:11:38] local.INFO: TCP Data received {"connection_id":185067,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:11:38] local.INFO: Processing buffer {"connection_id":185067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:11:38] local.INFO: IMEI packet received {"connection_id":185067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":185067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:11:43] local.INFO: TCP Data received {"connection_id":185067,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:11:43] local.INFO: Processing buffer {"connection_id":185067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:11:43] local.INFO: IMEI packet received {"connection_id":185067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":185067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:11:44] local.INFO: TCP Data received {"connection_id":185067,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad73bed8012d7c608005ec3790000d00582d..."} 
[2026-09-17 09:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad73bed8012d7c608005ec3790000d00582d..."} 
[2026-09-17 09:11:44] local.INFO: Processing buffer {"connection_id":185067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad73bed8012d7c608005ec3790000d00582d..."} 
[2026-09-17 09:11:44] local.INFO: Packet analysis {"connection_id":185067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:11:44] local.INFO: Extracted packet for processing {"connection_id":185067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763125888,"raw_latitude":99366800,"longitude_deg":76.3125888,"latitude_deg":9.93668,"altitude":13,"angle":88,"satellites":45,"speed":32,"hex_longitude":"2d7c6080","hex_latitude":"05ec3790","is_valid_coordinates":true} 
[2026-09-17 09:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141805056001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134112909323141120,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952382028464420864,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789616439000,"timestamp_ms":1789616439000,"timestamp_seconds":1789616439,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad73bed8"} 
[2026-09-17 09:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 09:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141805056001,"66":13461,"198":206,"87":13824,"24":32,"16":134112909323141120,"45":8952382028464420864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 09:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141805056001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:11:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 09:11:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134112909323141120,"km_value":134112909323141.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952382028464420864,"description":"Unknown IO ID 45"} 
[2026-09-17 09:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141805056001,"power":13461,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8952382028464420864}} 
[2026-09-17 09:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":185067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:11:44] local.INFO: GPS data processed {"connection_id":185067,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:11:44] local.INFO: Acknowledgment sent {"connection_id":185067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:11:45] local.INFO: TCP Data received {"connection_id":185065,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad736cd0012d0a74000705dcb0001400ab1b..."} 
[2026-09-17 09:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad736cd0012d0a74000705dcb0001400ab1b..."} 
[2026-09-17 09:11:45] local.INFO: Processing buffer {"connection_id":185065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad736cd0012d0a74000705dcb0001400ab1b..."} 
[2026-09-17 09:11:45] local.INFO: Packet analysis {"connection_id":185065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:11:45] local.INFO: Extracted packet for processing {"connection_id":185065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:11:45] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117824688,"longitude_deg":75.5659776,"latitude_deg":11.7824688,"altitude":20,"angle":171,"satellites":27,"speed":12,"hex_longitude":"2d0a7400","hex_latitude":"0705dcb0","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141802496001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32597517581418496,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699096797184,"note":"Value kept but may cause issues"} 
[2026-09-17 09:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789616418000,"timestamp_ms":1789616418000,"timestamp_seconds":1789616418,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad736cd0"} 
[2026-09-17 09:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 09:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141802496001,"66":14396,"153":206,"94":10240,"24":12,"16":32597517581418496,"45":753156699096797184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 09:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141802496001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:11:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 09:11:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32597517581418496,"km_value":32597517581418.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699096797184,"description":"Unknown IO ID 45"} 
[2026-09-17 09:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141802496001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":753156699096797184}} 
[2026-09-17 09:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":185065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854321,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:11:45] local.INFO: GPS data processed {"connection_id":185065,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:11:45] local.INFO: Acknowledgment sent {"connection_id":185065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:11:57] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:11:57] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:11:57] local.INFO: IMEI packet received {"connection_id":186375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":186375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:11:58] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:11:58] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:11:58] local.INFO: IMEI packet received {"connection_id":186375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":186375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:11:58] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:11:58] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:11:58] local.INFO: IMEI packet received {"connection_id":186374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":186374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:12:02] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:12:02] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:12:02] local.INFO: IMEI packet received {"connection_id":186375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":186375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:12:03] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad749d80012d0a4ec007057dc8000d01501c..."} 
[2026-09-17 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad749d80012d0a4ec007057dc8000d01501c..."} 
[2026-09-17 09:12:03] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad749d80012d0a4ec007057dc8000d01501c..."} 
[2026-09-17 09:12:03] local.INFO: Packet analysis {"connection_id":186375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad74"} 
[2026-09-17 09:12:03] local.INFO: Extracted packet for processing {"connection_id":186375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad74"} 
[2026-09-17 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":755650240,"raw_latitude":117800392,"longitude_deg":75.565024,"latitude_deg":11.7800392,"altitude":13,"angle":336,"satellites":28,"speed":12,"hex_longitude":"2d0a4ec0","hex_latitude":"07057dc8","is_valid_coordinates":true} 
[2026-09-17 09:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141822720001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32599080949514240,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742953231184607232,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789616496000,"timestamp_ms":1789616496000,"timestamp_seconds":1789616496,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad749d80"} 
[2026-09-17 09:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141822720001,"66":14374,"153":206,"94":10240,"24":12,"16":32599080949514240,"45":742953231184607232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 09:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141822720001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:12:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 09:12:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32599080949514240,"km_value":32599080949514.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":742953231184607232,"description":"Unknown IO ID 45"} 
[2026-09-17 09:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141822720001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":742953231184607232}} 
[2026-09-17 09:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":186375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854322,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:12:03] local.INFO: GPS data processed {"connection_id":186375,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:12:03] local.INFO: Acknowledgment sent {"connection_id":186375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:12:03] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:12:03] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:12:03] local.INFO: IMEI packet received {"connection_id":186374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":186374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:12:05] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:12:05] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:12:05] local.INFO: Packet analysis {"connection_id":186374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:12:05] local.INFO: Extracted packet for processing {"connection_id":186374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:12:05] 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-09-17 09:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":186374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:12:05] local.INFO: GPS data processed {"connection_id":186374,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:12:05] local.INFO: Acknowledgment sent {"connection_id":186374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:12:16] local.INFO: TCP Data received {"connection_id":185067,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad73f1a0012d7c850005ec38a0000c00592d..."} 
[2026-09-17 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad73f1a0012d7c850005ec38a0000c00592d..."} 
[2026-09-17 09:12:16] local.INFO: Processing buffer {"connection_id":185067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad73f1a0012d7c850005ec38a0000c00592d..."} 
[2026-09-17 09:12:16] local.INFO: Packet analysis {"connection_id":185067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:12:16] local.INFO: Extracted packet for processing {"connection_id":185067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad73"} 
[2026-09-17 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763135232,"raw_latitude":99367072,"longitude_deg":76.3135232,"latitude_deg":9.9367072,"altitude":12,"angle":89,"satellites":45,"speed":28,"hex_longitude":"2d7c8500","hex_latitude":"05ec38a0","is_valid_coordinates":true} 
[2026-09-17 09:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141808384001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134113355999739904,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962304021393543168,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789616452000,"timestamp_ms":1789616452000,"timestamp_seconds":1789616452,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad73f1a0"} 
[2026-09-17 09:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-17 09:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141808384001,"66":13319,"198":206,"87":13824,"24":28,"16":134113355999739904,"45":8962304021393543168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 09:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141808384001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:12:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 09:12:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134113355999739904,"km_value":134113355999739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962304021393543168,"description":"Unknown IO ID 45"} 
[2026-09-17 09:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141808384001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8962304021393543168}} 
[2026-09-17 09:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":185067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:12:16] local.INFO: GPS data processed {"connection_id":185067,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:12:16] local.INFO: Acknowledgment sent {"connection_id":185067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:12:34] local.INFO: TCP Data received {"connection_id":186375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad74c490012d0a494007058908001101381c..."} 
[2026-09-17 09:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad74c490012d0a494007058908001101381c..."} 
[2026-09-17 09:12:34] local.INFO: Processing buffer {"connection_id":186375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad74c490012d0a494007058908001101381c..."} 
[2026-09-17 09:12:34] local.INFO: Packet analysis {"connection_id":186375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad74"} 
[2026-09-17 09:12:34] local.INFO: Extracted packet for processing {"connection_id":186375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad74"} 
[2026-09-17 09:12:34] local.INFO: GPS Element Parsed {"raw_longitude":755648832,"raw_latitude":117803272,"longitude_deg":75.5648832,"latitude_deg":11.7803272,"altitude":17,"angle":312,"satellites":28,"speed":13,"hex_longitude":"2d0a4940","hex_latitude":"07058908","is_valid_coordinates":true} 
[2026-09-17 09:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141822976001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32599239863304192,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742742124952143872,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789616506000,"timestamp_ms":1789616506000,"timestamp_seconds":1789616506,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad74c490"} 
[2026-09-17 09:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 09:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141822976001,"66":14428,"153":206,"94":10240,"24":13,"16":32599239863304192,"45":742742124952143872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 09:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141822976001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:12:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 09:12:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32599239863304192,"km_value":32599239863304.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":742742124952143872,"description":"Unknown IO ID 45"} 
[2026-09-17 09:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141822976001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":742742124952143872}} 
[2026-09-17 09:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":186375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:12:34] local.INFO: GPS data processed {"connection_id":186375,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:12:34] local.INFO: Acknowledgment sent {"connection_id":186375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:12:36] local.INFO: TCP Data received {"connection_id":186374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:12:36] local.INFO: Processing buffer {"connection_id":186374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad70c138012d34c3c006aa4458000c01172f..."} 
[2026-09-17 09:12:36] local.INFO: Packet analysis {"connection_id":186374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:12:36] local.INFO: Extracted packet for processing {"connection_id":186374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad70"} 
[2026-09-17 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789616243000,"timestamp_ms":1789616243000,"timestamp_seconds":1789616243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad70c138"} 
[2026-09-17 09:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:12:36] 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-09-17 09:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141681152001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141681152001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":186374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:12:36] local.INFO: GPS data processed {"connection_id":186374,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:12:36] local.INFO: Acknowledgment sent {"connection_id":186374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:12:38] local.INFO: TCP Data received {"connection_id":184956,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:12:38] local.INFO: Processing buffer {"connection_id":184956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:12:38] local.INFO: IMEI packet received {"connection_id":184956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":184956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:12:42] local.INFO: TCP Data received {"connection_id":184956,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:12:42] local.INFO: Processing buffer {"connection_id":184956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:12:42] local.INFO: IMEI packet received {"connection_id":184956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":184956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:12:43] local.INFO: TCP Data received {"connection_id":184956,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad742468012d7caa4005ec3998000a00572d..."} 
[2026-09-17 09:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad742468012d7caa4005ec3998000a00572d..."} 
[2026-09-17 09:12:43] local.INFO: Processing buffer {"connection_id":184956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad742468012d7caa4005ec3998000a00572d..."} 
[2026-09-17 09:12:43] local.INFO: Packet analysis {"connection_id":184956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad74"} 
[2026-09-17 09:12:43] local.INFO: Extracted packet for processing {"connection_id":184956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad74"} 
[2026-09-17 09:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763144768,"raw_latitude":99367320,"longitude_deg":76.3144768,"latitude_deg":9.936732,"altitude":10,"angle":87,"satellites":45,"speed":25,"hex_longitude":"2d7caa40","hex_latitude":"05ec3998","is_valid_coordinates":true} 
[2026-09-17 09:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141811712001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134113811266273280,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972577858043551744,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789616465000,"timestamp_ms":1789616465000,"timestamp_seconds":1789616465,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad742468"} 
[2026-09-17 09:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2909980864,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1661828331223984896,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961647104,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.WARNING: Large IO value detected {"io_id":114,"raw_value":-7640355472976199675,"note":"Value kept but may cause issues"} 
[2026-09-17 09:12:43] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,87,24,241,157,16,119,160,190,45,128,55,13,10,66,118,140,64,54,14,93,1,240,7,227,173,236,4,113,205,23,243,209,239,52,2,220,5,15,31,114],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-17 09:12:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864789178265370624,"timestamp_seconds":864789178265370.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 09:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":184956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":184956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":184956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141811712001,"66":13091,"198":206,"87":13824,"24":25,"16":134113811266273280,"45":8972577858043551744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 09:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141811712001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:12:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 09:12:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134113811266273280,"km_value":134113811266273.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972577858043551744,"description":"Unknown IO ID 45"} 
[2026-09-17 09:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141811712001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8972577858043551744}} 
[2026-09-17 09:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":184956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:12:43] local.INFO: GPS data processed {"connection_id":184956,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:12:43] local.INFO: Acknowledgment sent {"connection_id":184956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:12:57] local.INFO: TCP Data received {"connection_id":185068,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185068,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:12:57] local.INFO: Processing buffer {"connection_id":185068,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:12:57] local.INFO: IMEI packet received {"connection_id":185068,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":185068,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:12:58] local.INFO: TCP Data received {"connection_id":184957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:12:58] local.INFO: Processing buffer {"connection_id":184957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:12:58] local.INFO: IMEI packet received {"connection_id":184957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":184957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:13:02] local.INFO: TCP Data received {"connection_id":185068,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185068,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:02] local.INFO: Processing buffer {"connection_id":185068,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:02] local.INFO: IMEI packet received {"connection_id":185068,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":185068,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:13:02] local.INFO: TCP Data received {"connection_id":184957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:13:02] local.INFO: Processing buffer {"connection_id":184957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:13:02] local.INFO: IMEI packet received {"connection_id":184957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":184957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:13:03] local.INFO: TCP Data received {"connection_id":185068,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad75aef0012d0a3640070584a0001300011d..."} 
[2026-09-17 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad75aef0012d0a3640070584a0001300011d..."} 
[2026-09-17 09:13:03] local.INFO: Processing buffer {"connection_id":185068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad75aef0012d0a3640070584a0001300011d..."} 
[2026-09-17 09:13:03] local.INFO: Packet analysis {"connection_id":185068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:03] local.INFO: Extracted packet for processing {"connection_id":185068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":755643968,"raw_latitude":117802144,"longitude_deg":75.5643968,"latitude_deg":11.7802144,"altitude":19,"angle":1,"satellites":29,"speed":2,"hex_longitude":"2d0a3640","hex_latitude":"070584a0","is_valid_coordinates":true} 
[2026-09-17 09:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141836288001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32599553395916800,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":736057094255712256,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789616566000,"timestamp_ms":1789616566000,"timestamp_seconds":1789616566,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad75aef0"} 
[2026-09-17 09:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 09:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141836288001,"66":14450,"165":206,"94":10240,"24":2,"16":32599553395916800,"45":736057094255712256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 09:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141836288001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:13:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 09:13:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32599553395916800,"km_value":32599553395916.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":736057094255712256,"description":"Unknown IO ID 45"} 
[2026-09-17 09:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141836288001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":736057094255712256}} 
[2026-09-17 09:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":185068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854328,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:13:03] local.INFO: GPS data processed {"connection_id":185068,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:13:03] local.INFO: Acknowledgment sent {"connection_id":185068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:13:03] local.INFO: TCP Data received {"connection_id":184957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:13:03] local.INFO: Processing buffer {"connection_id":184957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:13:03] local.INFO: Packet analysis {"connection_id":184957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:03] local.INFO: Extracted packet for processing {"connection_id":184957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":184957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":184957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":184957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:13:03] 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-09-17 09:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":184957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:13:03] local.INFO: GPS data processed {"connection_id":184957,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:13:03] local.INFO: Acknowledgment sent {"connection_id":184957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:13:16] local.INFO: TCP Data received {"connection_id":184956,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad75aef0012d7d34c005ec5e200004000b23..."} 
[2026-09-17 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad75aef0012d7d34c005ec5e200004000b23..."} 
[2026-09-17 09:13:16] local.INFO: Processing buffer {"connection_id":184956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad75aef0012d7d34c005ec5e200004000b23..."} 
[2026-09-17 09:13:16] local.INFO: Packet analysis {"connection_id":184956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:16] local.INFO: Extracted packet for processing {"connection_id":184956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99376672,"longitude_deg":76.3180224,"latitude_deg":9.9376672,"altitude":4,"angle":11,"satellites":35,"speed":5,"hex_longitude":"2d7d34c0","hex_latitude":"05ec5e20","is_valid_coordinates":true} 
[2026-09-17 09:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141839872001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115859965673472,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191435245568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789616566000,"timestamp_ms":1789616566000,"timestamp_seconds":1789616566,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad75aef0"} 
[2026-09-17 09:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 09:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":184956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":184956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":184956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141839872001,"66":13135,"110":206,"87":13824,"24":5,"16":134115859965673472,"45":9022258191435245568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141839872001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:13:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:13:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115859965673472,"km_value":134115859965673.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191435245568,"description":"Unknown IO ID 45"} 
[2026-09-17 09:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141839872001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9022258191435245568}} 
[2026-09-17 09:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":184956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:13:16] local.INFO: GPS data processed {"connection_id":184956,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:13:16] local.INFO: Acknowledgment sent {"connection_id":184956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:13:36] local.INFO: TCP Data received {"connection_id":184957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:13:36] local.INFO: Processing buffer {"connection_id":184957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:13:36] local.INFO: Packet analysis {"connection_id":184957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:36] local.INFO: Extracted packet for processing {"connection_id":184957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:13:36] 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-09-17 09:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":184957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:13:36] local.INFO: GPS data processed {"connection_id":184957,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:13:36] local.INFO: Acknowledgment sent {"connection_id":184957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:13:36] local.INFO: TCP Data received {"connection_id":185068,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad75baa8012d0a36c007058538001300121d..."} 
[2026-09-17 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad75baa8012d0a36c007058538001300121d..."} 
[2026-09-17 09:13:36] local.INFO: Processing buffer {"connection_id":185068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad75baa8012d0a36c007058538001300121d..."} 
[2026-09-17 09:13:36] local.INFO: Packet analysis {"connection_id":185068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:36] local.INFO: Extracted packet for processing {"connection_id":185068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":755644096,"raw_latitude":117802296,"longitude_deg":75.5644096,"latitude_deg":11.7802296,"altitude":19,"angle":18,"satellites":29,"speed":1,"hex_longitude":"2d0a36c0","hex_latitude":"07058538","is_valid_coordinates":true} 
[2026-09-17 09:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141840896001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32599561985851392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":735845988023181312,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789616569000,"timestamp_ms":1789616569000,"timestamp_seconds":1789616569,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad75baa8"} 
[2026-09-17 09:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141840896001,"66":14396,"165":206,"94":10240,"24":1,"16":32599561985851392,"45":735845988023181312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 09:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141840896001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:13:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 09:13:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32599561985851392,"km_value":32599561985851.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":735845988023181312,"description":"Unknown IO ID 45"} 
[2026-09-17 09:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141840896001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":735845988023181312}} 
[2026-09-17 09:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":185068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:13:37] local.INFO: GPS data processed {"connection_id":185068,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:13:37] local.INFO: Acknowledgment sent {"connection_id":185068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:13:39] local.INFO: TCP Data received {"connection_id":185069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:13:39] local.INFO: Processing buffer {"connection_id":185069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:13:39] local.INFO: IMEI packet received {"connection_id":185069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":185069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:13:43] local.INFO: TCP Data received {"connection_id":185069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:13:43] local.INFO: Processing buffer {"connection_id":185069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:13:43] local.INFO: IMEI packet received {"connection_id":185069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":185069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:13:45] local.INFO: TCP Data received {"connection_id":185069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad75fd10012d7d348005ec5e000004000120..."} 
[2026-09-17 09:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad75fd10012d7d348005ec5e000004000120..."} 
[2026-09-17 09:13:45] local.INFO: Processing buffer {"connection_id":185069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad75fd10012d7d348005ec5e000004000120..."} 
[2026-09-17 09:13:45] local.INFO: Packet analysis {"connection_id":185069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:45] local.INFO: Extracted packet for processing {"connection_id":185069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:13:45] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99376640,"longitude_deg":76.318016,"latitude_deg":9.937664,"altitude":4,"angle":1,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec5e00","is_valid_coordinates":true} 
[2026-09-17 09:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141840896001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115872850575360,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047085202907136,"note":"Value kept but may cause issues"} 
[2026-09-17 09:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789616586000,"timestamp_ms":1789616586000,"timestamp_seconds":1789616586,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad75fd10"} 
[2026-09-17 09:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 09:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141840896001,"66":13319,"110":206,"87":13824,"24":0,"16":134115872850575360,"45":9022047085202907136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141840896001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:13:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:13:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115872850575360,"km_value":134115872850575.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047085202907136,"description":"Unknown IO ID 45"} 
[2026-09-17 09:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141840896001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022047085202907136}} 
[2026-09-17 09:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":185069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:13:45] local.INFO: GPS data processed {"connection_id":185069,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:13:45] local.INFO: Acknowledgment sent {"connection_id":185069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:13:57] local.INFO: TCP Data received {"connection_id":184959,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:57] local.INFO: Processing buffer {"connection_id":184959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:57] local.INFO: IMEI packet received {"connection_id":184959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":184959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:13:57] local.INFO: TCP Data received {"connection_id":184959,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:57] local.INFO: Processing buffer {"connection_id":184959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:57] local.INFO: IMEI packet received {"connection_id":184959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":184959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:13:58] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:13:58] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:13:58] local.INFO: IMEI packet received {"connection_id":186376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":186376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:13:58] local.INFO: TCP Data received {"connection_id":184959,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:58] local.INFO: Processing buffer {"connection_id":184959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:58] local.INFO: IMEI packet received {"connection_id":184959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":184959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:13:59] local.INFO: TCP Data received {"connection_id":184959,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:59] local.INFO: Processing buffer {"connection_id":184959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:13:59] local.INFO: IMEI packet received {"connection_id":184959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":184959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:14:03] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:14:03] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:14:03] local.INFO: IMEI packet received {"connection_id":186376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":186376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:14:04] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:14:04] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:14:04] local.INFO: Packet analysis {"connection_id":186376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:14:04] local.INFO: Extracted packet for processing {"connection_id":186376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":186376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:14:04] local.INFO: GPS data processed {"connection_id":186376,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:14:04] local.INFO: Acknowledgment sent {"connection_id":186376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:14:16] local.INFO: TCP Data received {"connection_id":185069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad761480012d7d330005ec5f900003009f24..."} 
[2026-09-17 09:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad761480012d7d330005ec5f900003009f24..."} 
[2026-09-17 09:14:16] local.INFO: Processing buffer {"connection_id":185069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad761480012d7d330005ec5f900003009f24..."} 
[2026-09-17 09:14:16] local.INFO: Packet analysis {"connection_id":185069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad76"} 
[2026-09-17 09:14:16] local.INFO: Extracted packet for processing {"connection_id":185069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad76"} 
[2026-09-17 09:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":99377040,"longitude_deg":76.3179776,"latitude_deg":9.937704,"altitude":3,"angle":159,"satellites":36,"speed":1,"hex_longitude":"2d7d3300","hex_latitude":"05ec5f90","is_valid_coordinates":true} 
[2026-09-17 09:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141846016001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115898620379136,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716458721280,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789616592000,"timestamp_ms":1789616592000,"timestamp_seconds":1789616592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad761480"} 
[2026-09-17 09:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":236,"raw_value":5026017197030844928,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2147871826,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728649,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3964481536,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.WARNING: Large IO value detected {"io_id":117,"raw_value":4442802327286726661,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:16] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,121,160,174,45,192,94,4,35,10,66,159,128,91,37,155,1,240,133,227,173,236,113,205,7,120,53,38,239,52,2,220,5,3,117],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-09-17 09:14:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288231613102292992,"timestamp_seconds":288231613102293.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 09:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141846016001,"66":13243,"110":206,"87":13824,"24":1,"16":134115898620379136,"45":9021976716458721280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141846016001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:14:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:14:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115898620379136,"km_value":134115898620379.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716458721280,"description":"Unknown IO ID 45"} 
[2026-09-17 09:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141846016001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021976716458721280}} 
[2026-09-17 09:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":185069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:14:16] local.INFO: GPS data processed {"connection_id":185069,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:14:16] local.INFO: Acknowledgment sent {"connection_id":185069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:14:35] local.INFO: TCP Data received {"connection_id":186376,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:14:35] local.INFO: Processing buffer {"connection_id":186376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:14:35] local.INFO: Packet analysis {"connection_id":186376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:14:35] local.INFO: Extracted packet for processing {"connection_id":186376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":186376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:14:35] local.INFO: GPS data processed {"connection_id":186376,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:14:35] local.INFO: Acknowledgment sent {"connection_id":186376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:14:39] local.INFO: TCP Data received {"connection_id":187693,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:14:39] local.INFO: Processing buffer {"connection_id":187693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:14:39] local.INFO: IMEI packet received {"connection_id":187693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":187693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:14:43] local.INFO: TCP Data received {"connection_id":187693,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:14:43] local.INFO: Processing buffer {"connection_id":187693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:14:43] local.INFO: IMEI packet received {"connection_id":187693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":187693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:14:44] local.INFO: TCP Data received {"connection_id":187693,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad766688012d7d334005ec5f600003009f21..."} 
[2026-09-17 09:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad766688012d7d334005ec5f600003009f21..."} 
[2026-09-17 09:14:44] local.INFO: Processing buffer {"connection_id":187693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad766688012d7d334005ec5f600003009f21..."} 
[2026-09-17 09:14:44] local.INFO: Packet analysis {"connection_id":187693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad76"} 
[2026-09-17 09:14:44] local.INFO: Extracted packet for processing {"connection_id":187693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad76"} 
[2026-09-17 09:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":99376992,"longitude_deg":76.317984,"latitude_deg":9.9376992,"altitude":3,"angle":159,"satellites":33,"speed":0,"hex_longitude":"2d7d3340","hex_latitude":"05ec5f60","is_valid_coordinates":true} 
[2026-09-17 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141847552001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115902915346432,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503993757696,"note":"Value kept but may cause issues"} 
[2026-09-17 09:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789616613000,"timestamp_ms":1789616613000,"timestamp_seconds":1789616613,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad766688"} 
[2026-09-17 09:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 09:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141847552001,"66":13515,"110":206,"87":13824,"24":0,"16":134115902915346432,"45":9021554503993757696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141847552001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:14:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:14:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115902915346432,"km_value":134115902915346.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503993757696,"description":"Unknown IO ID 45"} 
[2026-09-17 09:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141847552001,"power":13515,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021554503993757696}} 
[2026-09-17 09:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":187693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:14:44] local.INFO: GPS data processed {"connection_id":187693,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:14:44] local.INFO: Acknowledgment sent {"connection_id":187693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:15:03] local.INFO: TCP Data received {"connection_id":185072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:15:03] local.INFO: Processing buffer {"connection_id":185072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:15:03] local.INFO: IMEI packet received {"connection_id":185072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":185072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:15:08] local.INFO: TCP Data received {"connection_id":185072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:15:08] local.INFO: Processing buffer {"connection_id":185072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:15:08] local.INFO: IMEI packet received {"connection_id":185072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":185072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:15:09] local.INFO: TCP Data received {"connection_id":185072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:15:09] local.INFO: Processing buffer {"connection_id":185072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:15:09] local.INFO: Packet analysis {"connection_id":185072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:15:09] local.INFO: Extracted packet for processing {"connection_id":185072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:15:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:15: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-09-17 09:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":185072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:15:09] local.INFO: GPS data processed {"connection_id":185072,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:15:09] local.INFO: Acknowledgment sent {"connection_id":185072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:15:14] local.INFO: TCP Data received {"connection_id":185072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:15:14] local.INFO: Processing buffer {"connection_id":185072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:15:14] local.INFO: Packet analysis {"connection_id":185072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:15:14] local.INFO: Extracted packet for processing {"connection_id":185072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:15:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:15: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-09-17 09:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":185072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:15:14] local.INFO: GPS data processed {"connection_id":185072,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:15:14] local.INFO: Acknowledgment sent {"connection_id":185072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:15:21] local.INFO: TCP Data received {"connection_id":185070,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:15:21] local.INFO: Processing buffer {"connection_id":185070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:15:21] local.INFO: IMEI packet received {"connection_id":185070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":185070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:15:50] local.INFO: TCP Data received {"connection_id":187694,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:15:50] local.INFO: Processing buffer {"connection_id":187694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:15:50] local.INFO: IMEI packet received {"connection_id":187694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":187694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:15:56] local.INFO: TCP Data received {"connection_id":187694,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:15:56] local.INFO: Processing buffer {"connection_id":187694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:15:56] local.INFO: IMEI packet received {"connection_id":187694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 09:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":187694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:15:57] local.INFO: TCP Data received {"connection_id":187694,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad46c338012d7f9f0005afe270000d00a02f..."} 
[2026-09-17 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad46c338012d7f9f0005afe270000d00a02f..."} 
[2026-09-17 09:15:57] local.INFO: Processing buffer {"connection_id":187694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad46c338012d7f9f0005afe270000d00a02f..."} 
[2026-09-17 09:15:57] local.INFO: Packet analysis {"connection_id":187694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad46"} 
[2026-09-17 09:15:57] local.INFO: Extracted packet for processing {"connection_id":187694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad46"} 
[2026-09-17 09:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763338496,"raw_latitude":95412848,"longitude_deg":76.3338496,"latitude_deg":9.5412848,"altitude":13,"angle":160,"satellites":47,"speed":0,"hex_longitude":"2d7f9f00","hex_latitude":"05afe270","is_valid_coordinates":true} 
[2026-09-17 09:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141048320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4457046476849152,"note":"Value kept but may cause issues"} 
[2026-09-17 09:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068988539531264,"note":"Value kept but may cause issues"} 
[2026-09-17 09:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789613491000,"timestamp_ms":1789613491000,"timestamp_seconds":1789613491,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad46c338"} 
[2026-09-17 09:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-17 09:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 09:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 09:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-17 09:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-17 09:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141048320001,"66":27745,"250":206,"85":12544,"24":0,"16":4457046476849152,"45":9196068988539531264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-17 09:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-17 09:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-17 09:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141048320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:15:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-17 09:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-17 09:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4457046476849152,"km_value":4457046476849.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068988539531264,"description":"Unknown IO ID 45"} 
[2026-09-17 09:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141048320001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196068988539531264}} 
[2026-09-17 09:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":187694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:15:57] local.INFO: GPS data processed {"connection_id":187694,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:15:57] local.INFO: Acknowledgment sent {"connection_id":187694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:15:58] local.INFO: TCP Data received {"connection_id":187695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:15:58] local.INFO: Processing buffer {"connection_id":187695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:15:58] local.INFO: IMEI packet received {"connection_id":187695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":187695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:16:03] local.INFO: TCP Data received {"connection_id":187695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:16:03] local.INFO: Processing buffer {"connection_id":187695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:16:03] local.INFO: IMEI packet received {"connection_id":187695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":187695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:16:04] local.INFO: TCP Data received {"connection_id":187695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:16:04] local.INFO: Processing buffer {"connection_id":187695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:16:04] local.INFO: Packet analysis {"connection_id":187695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:16:04] local.INFO: Extracted packet for processing {"connection_id":187695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:16:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:16:04] 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-09-17 09:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":187695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:16:04] local.INFO: GPS data processed {"connection_id":187695,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:16:04] local.INFO: Acknowledgment sent {"connection_id":187695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:16:36] local.INFO: TCP Data received {"connection_id":187695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:16:36] local.INFO: Processing buffer {"connection_id":187695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:16:36] local.INFO: Packet analysis {"connection_id":187695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:16:36] local.INFO: Extracted packet for processing {"connection_id":187695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:16:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:16:36] 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-09-17 09:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":187695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:16:36] local.INFO: GPS data processed {"connection_id":187695,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:16:36] local.INFO: Acknowledgment sent {"connection_id":187695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:16:41] local.INFO: TCP Data received {"connection_id":185073,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:16:41] local.INFO: Processing buffer {"connection_id":185073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:16:41] local.INFO: IMEI packet received {"connection_id":185073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":185073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:16:58] local.INFO: TCP Data received {"connection_id":187696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:16:58] local.INFO: Processing buffer {"connection_id":187696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:16:58] local.INFO: IMEI packet received {"connection_id":187696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":187696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:17:03] local.INFO: TCP Data received {"connection_id":187696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:17:03] local.INFO: Processing buffer {"connection_id":187696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:17:03] local.INFO: IMEI packet received {"connection_id":187696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":187696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:17:05] local.INFO: TCP Data received {"connection_id":187696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:17:05] local.INFO: Processing buffer {"connection_id":187696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:17:05] local.INFO: Packet analysis {"connection_id":187696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:17:05] local.INFO: Extracted packet for processing {"connection_id":187696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:17:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:17:05] 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-09-17 09:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":187696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:17:05] local.INFO: GPS data processed {"connection_id":187696,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:17:05] local.INFO: Acknowledgment sent {"connection_id":187696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:17:36] local.INFO: TCP Data received {"connection_id":187696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:17:36] local.INFO: Processing buffer {"connection_id":187696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:17:36] local.INFO: Packet analysis {"connection_id":187696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:17:36] local.INFO: Extracted packet for processing {"connection_id":187696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:17:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:17:36] 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-09-17 09:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":187696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:17:36] local.INFO: GPS data processed {"connection_id":187696,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:17:36] local.INFO: Acknowledgment sent {"connection_id":187696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:18:00] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:18:00] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:18:00] local.INFO: IMEI packet received {"connection_id":186378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":186378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:18:03] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:18:03] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:18:03] local.INFO: IMEI packet received {"connection_id":186378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":186378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:18:05] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:18:05] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad755900012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:18:05] local.INFO: Packet analysis {"connection_id":186378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:18:05] local.INFO: Extracted packet for processing {"connection_id":186378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad75"} 
[2026-09-17 09:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141758208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:18:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789616544000,"timestamp_ms":1789616544000,"timestamp_seconds":1789616544,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad755900"} 
[2026-09-17 09:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:18:05] 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-09-17 09:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141758208001,"66":25441,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141758208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141758208001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":186378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:18:05] local.INFO: GPS data processed {"connection_id":186378,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:18:05] local.INFO: Acknowledgment sent {"connection_id":186378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:18:06] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:18:06] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:18:06] local.INFO: Packet analysis {"connection_id":186378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:18:06] local.INFO: Extracted packet for processing {"connection_id":186378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:18:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:18:06] 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-09-17 09:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":186378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:18:06] local.INFO: GPS data processed {"connection_id":186378,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:18:06] local.INFO: Acknowledgment sent {"connection_id":186378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:18:37] local.INFO: TCP Data received {"connection_id":186378,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:18:37] local.INFO: Processing buffer {"connection_id":186378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:18:37] local.INFO: Packet analysis {"connection_id":186378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:18:37] local.INFO: Extracted packet for processing {"connection_id":186378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:18:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:18:37] 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-09-17 09:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":186378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:18:37] local.INFO: GPS data processed {"connection_id":186378,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:18:37] local.INFO: Acknowledgment sent {"connection_id":186378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:18:58] local.INFO: TCP Data received {"connection_id":185077,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:18:58] local.INFO: Processing buffer {"connection_id":185077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:18:58] local.INFO: IMEI packet received {"connection_id":185077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":185077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:19:00] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:19:00] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:19:00] local.INFO: IMEI packet received {"connection_id":185076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":185076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:19:01] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:19:01] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:19:01] local.INFO: IMEI packet received {"connection_id":185076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":185076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:19:02] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:19:02] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:19:02] local.INFO: IMEI packet received {"connection_id":185076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":185076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:19:03] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7b0a08012d0a81c00704cd28001800041c..."} 
[2026-09-17 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7b0a08012d0a81c00704cd28001800041c..."} 
[2026-09-17 09:19:03] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7b0a08012d0a81c00704cd28001800041c..."} 
[2026-09-17 09:19:03] local.INFO: Packet analysis {"connection_id":185076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:19:03] local.INFO: Extracted packet for processing {"connection_id":185076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117755176,"longitude_deg":75.5663296,"latitude_deg":11.7755176,"altitude":24,"angle":4,"satellites":28,"speed":39,"hex_longitude":"2d0a81c0","hex_latitude":"0704cd28","is_valid_coordinates":true} 
[2026-09-17 09:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141928448001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32607619344498688,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757026980006230016,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789616917000,"timestamp_ms":1789616917000,"timestamp_seconds":1789616917,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7b0a08"} 
[2026-09-17 09:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141928448001,"66":14352,"229":206,"94":11008,"24":39,"16":32607619344498688,"45":757026980006230016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-09-17 09:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141928448001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:19:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-17 09:19:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32607619344498688,"km_value":32607619344498.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":757026980006230016,"description":"Unknown IO ID 45"} 
[2026-09-17 09:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141928448001,"power":14352,"unknown_229":206,"unknown_94":11008,"ignition":39,"odometer":null,"unknown_45":757026980006230016}} 
[2026-09-17 09:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":185076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854348,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:19:03] local.INFO: GPS data processed {"connection_id":185076,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:19:03] local.INFO: Acknowledgment sent {"connection_id":185076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:19:03] local.INFO: TCP Data received {"connection_id":185077,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:19:03] local.INFO: Processing buffer {"connection_id":185077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:19:03] local.INFO: IMEI packet received {"connection_id":185077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":185077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:19:04] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7b3118012d0a83400704e1500018002a1a..."} 
[2026-09-17 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7b3118012d0a83400704e1500018002a1a..."} 
[2026-09-17 09:19:04] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7b3118012d0a83400704e1500018002a1a..."} 
[2026-09-17 09:19:04] local.INFO: Packet analysis {"connection_id":185076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:19:04] local.INFO: Extracted packet for processing {"connection_id":185076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117760336,"longitude_deg":75.566368,"latitude_deg":11.7760336,"altitude":24,"angle":42,"satellites":26,"speed":7,"hex_longitude":"2d0a8340","hex_latitude":"0704e150","is_valid_coordinates":true} 
[2026-09-17 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141930752001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32607872747569152,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348752812032,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789616927000,"timestamp_ms":1789616927000,"timestamp_seconds":1789616927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7b3118"} 
[2026-09-17 09:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142784,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2910491864,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":6809450352263823378,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504097162723328,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509148901,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756222048534784,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1558511822,"corrected_to":0} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2818649354,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2147943538,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3741371740,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3614375936,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4785349951751680,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,229,94,24,241,157,16,216,160,230,45,128,168,23,28,10,66,187,192,130,19,215,164,1,240,60,227,173,4,113,205,156,126,29,239,56,2,115,7,17,6,206,80],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1558511822,"validated":0}]} 
[2026-09-17 09:19:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729386775218421760,"timestamp_seconds":1729386775218421.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 09:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141930752001,"66":14407,"229":206,"94":11008,"24":7,"16":32607872747569152,"45":757097348752812032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-09-17 09:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141930752001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:19:04] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-17 09:19:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32607872747569152,"km_value":32607872747569.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348752812032,"description":"Unknown IO ID 45"} 
[2026-09-17 09:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141930752001,"power":14407,"unknown_229":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":757097348752812032}} 
[2026-09-17 09:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":185076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854349,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:19:04] local.INFO: GPS data processed {"connection_id":185076,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:19:04] local.INFO: Acknowledgment sent {"connection_id":185076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:19:04] local.INFO: TCP Data received {"connection_id":185077,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:19:04] local.INFO: Processing buffer {"connection_id":185077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:19:04] local.INFO: Packet analysis {"connection_id":185077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:19:04] local.INFO: Extracted packet for processing {"connection_id":185077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:19:04] 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-09-17 09:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":185077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:19:04] local.INFO: GPS data processed {"connection_id":185077,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:19:04] local.INFO: Acknowledgment sent {"connection_id":185077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:19:35] local.INFO: TCP Data received {"connection_id":185077,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:19:35] local.INFO: Processing buffer {"connection_id":185077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:19:35] local.INFO: Packet analysis {"connection_id":185077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:19:35] local.INFO: Extracted packet for processing {"connection_id":185077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:19:35] 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-09-17 09:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":185077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:19:36] local.INFO: GPS data processed {"connection_id":185077,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:19:36] local.INFO: Acknowledgment sent {"connection_id":185077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:19:36] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7bb5e8012d0ac3000704f198001400591c..."} 
[2026-09-17 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7bb5e8012d0ac3000704f198001400591c..."} 
[2026-09-17 09:19:36] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7bb5e8012d0ac3000704f198001400591c..."} 
[2026-09-17 09:19:36] local.INFO: Packet analysis {"connection_id":185076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:19:36] local.INFO: Extracted packet for processing {"connection_id":185076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:19:36] local.INFO: GPS Element Parsed {"raw_longitude":755680000,"raw_latitude":117764504,"longitude_deg":75.568,"latitude_deg":11.7764504,"altitude":20,"angle":89,"satellites":28,"speed":35,"hex_longitude":"2d0ac300","hex_latitude":"0704f198","is_valid_coordinates":true} 
[2026-09-17 09:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141938944001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32608796165537792,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765119385591478272,"note":"Value kept but may cause issues"} 
[2026-09-17 09:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789616961000,"timestamp_ms":1789616961000,"timestamp_seconds":1789616961,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7bb5e8"} 
[2026-09-17 09:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141938944001,"66":14450,"177":206,"94":10240,"24":35,"16":32608796165537792,"45":765119385591478272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-17 09:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141938944001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:19:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-17 09:19:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32608796165537792,"km_value":32608796165537.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":765119385591478272,"description":"Unknown IO ID 45"} 
[2026-09-17 09:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141938944001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":765119385591478272}} 
[2026-09-17 09:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":185076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854352,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:19:36] local.INFO: GPS data processed {"connection_id":185076,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:19:36] local.INFO: Acknowledgment sent {"connection_id":185076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:20:02] local.INFO: TCP Data received {"connection_id":184963,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:20:02] local.INFO: Processing buffer {"connection_id":184963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:20:02] local.INFO: IMEI packet received {"connection_id":184963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":184963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:20:03] local.INFO: TCP Data received {"connection_id":186379,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:20:03] local.INFO: Processing buffer {"connection_id":186379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:20:03] local.INFO: IMEI packet received {"connection_id":186379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":186379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:20:03] local.INFO: TCP Data received {"connection_id":184962,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:03] local.INFO: Processing buffer {"connection_id":184962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:03] local.INFO: IMEI packet received {"connection_id":184962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":184962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:20:04] local.INFO: TCP Data received {"connection_id":184963,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:20:04] local.INFO: Processing buffer {"connection_id":184963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:20:04] local.INFO: IMEI packet received {"connection_id":184963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":184963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:20:07] local.INFO: TCP Data received {"connection_id":184963,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:20:07] local.INFO: Processing buffer {"connection_id":184963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:20:07] local.INFO: IMEI packet received {"connection_id":184963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":184963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:20:08] local.INFO: TCP Data received {"connection_id":186379,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:20:08] local.INFO: Processing buffer {"connection_id":186379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:20:08] local.INFO: IMEI packet received {"connection_id":186379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":186379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:20:08] local.INFO: TCP Data received {"connection_id":184963,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7bbdb8012d0aca000704f2a0001300491c..."} 
[2026-09-17 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7bbdb8012d0aca000704f2a0001300491c..."} 
[2026-09-17 09:20:08] local.INFO: Processing buffer {"connection_id":184963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7bbdb8012d0aca000704f2a0001300491c..."} 
[2026-09-17 09:20:08] local.INFO: Packet analysis {"connection_id":184963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:20:08] local.INFO: Extracted packet for processing {"connection_id":184963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:20:08] local.INFO: GPS Element Parsed {"raw_longitude":755681792,"raw_latitude":117764768,"longitude_deg":75.5681792,"latitude_deg":11.7764768,"altitude":19,"angle":73,"satellites":28,"speed":34,"hex_longitude":"2d0aca00","hex_latitude":"0704f2a0","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141942016001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32608877769916416,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":775463590985570304,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789616963000,"timestamp_ms":1789616963000,"timestamp_seconds":1789616963,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7bbdb8"} 
[2026-09-17 09:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":184963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":184963,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":184963,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141942016001,"66":14428,"177":206,"94":10240,"24":34,"16":32608877769916416,"45":775463590985570304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-17 09:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141942016001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:20:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-17 09:20:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32608877769916416,"km_value":32608877769916.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":775463590985570304,"description":"Unknown IO ID 45"} 
[2026-09-17 09:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141942016001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":775463590985570304}} 
[2026-09-17 09:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":184963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854353,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:20:09] local.INFO: GPS data processed {"connection_id":184963,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:20:09] local.INFO: Acknowledgment sent {"connection_id":184963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:20:09] local.INFO: TCP Data received {"connection_id":184962,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:09] local.INFO: Processing buffer {"connection_id":184962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:09] local.INFO: IMEI packet received {"connection_id":184962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":184962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:20:09] local.INFO: TCP Data received {"connection_id":186379,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:20:09] local.INFO: Processing buffer {"connection_id":186379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:20:09] local.INFO: Packet analysis {"connection_id":186379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:20:09] local.INFO: Extracted packet for processing {"connection_id":186379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:20: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-09-17 09:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":186379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:20:09] local.INFO: GPS data processed {"connection_id":186379,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:20:09] local.INFO: Acknowledgment sent {"connection_id":186379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:20:09] local.INFO: TCP Data received {"connection_id":184962,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad770a98012d7d334005ec5f600003009f25..."} 
[2026-09-17 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad770a98012d7d334005ec5f600003009f25..."} 
[2026-09-17 09:20:09] local.INFO: Processing buffer {"connection_id":184962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad770a98012d7d334005ec5f600003009f25..."} 
[2026-09-17 09:20:09] local.INFO: Packet analysis {"connection_id":184962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:20:09] local.INFO: Extracted packet for processing {"connection_id":184962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":99376992,"longitude_deg":76.317984,"latitude_deg":9.9376992,"altitude":3,"angle":159,"satellites":37,"speed":0,"hex_longitude":"2d7d3340","hex_latitude":"05ec5f60","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141858304001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115902915346432,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872737923072,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789616655000,"timestamp_ms":1789616655000,"timestamp_seconds":1789616655,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad770a98"} 
[2026-09-17 09:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 09:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141858304001,"66":13515,"110":206,"87":13824,"24":0,"16":134115902915346432,"45":9021624872737923072},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141858304001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:20:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:20:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115902915346432,"km_value":134115902915346.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872737923072,"description":"Unknown IO ID 45"} 
[2026-09-17 09:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141858304001,"power":13515,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021624872737923072}} 
[2026-09-17 09:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":184962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:20:09] local.INFO: GPS data processed {"connection_id":184962,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:20:09] local.INFO: Acknowledgment sent {"connection_id":184962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:20:14] local.INFO: TCP Data received {"connection_id":186379,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:20:14] local.INFO: Processing buffer {"connection_id":186379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:20:14] local.INFO: Packet analysis {"connection_id":186379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:20:14] local.INFO: Extracted packet for processing {"connection_id":186379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:20: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-09-17 09:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":186379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:20:14] local.INFO: GPS data processed {"connection_id":186379,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:20:14] local.INFO: Acknowledgment sent {"connection_id":186379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:20:14] local.INFO: TCP Data received {"connection_id":184962,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7754d0012d7d310005ec62080003011e24..."} 
[2026-09-17 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7754d0012d7d310005ec62080003011e24..."} 
[2026-09-17 09:20:14] local.INFO: Processing buffer {"connection_id":184962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7754d0012d7d310005ec62080003011e24..."} 
[2026-09-17 09:20:14] local.INFO: Packet analysis {"connection_id":184962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:20:14] local.INFO: Extracted packet for processing {"connection_id":184962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:20:14] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99377672,"longitude_deg":76.3179264,"latitude_deg":9.9377672,"altitude":3,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec6208","is_valid_coordinates":true} 
[2026-09-17 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141863680001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872737923072,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789616674000,"timestamp_ms":1789616674000,"timestamp_seconds":1789616674,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7754d0"} 
[2026-09-17 09:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 09:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141863680001,"66":13493,"110":206,"87":13824,"24":0,"16":134115945865019392,"45":9021624872737923072},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141863680001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:20:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:20:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872737923072,"description":"Unknown IO ID 45"} 
[2026-09-17 09:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141863680001,"power":13493,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021624872737923072}} 
[2026-09-17 09:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":184962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:20:15] local.INFO: GPS data processed {"connection_id":184962,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:20:15] local.INFO: Acknowledgment sent {"connection_id":184962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:20:38] local.INFO: TCP Data received {"connection_id":185079,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:38] local.INFO: Processing buffer {"connection_id":185079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:38] local.INFO: IMEI packet received {"connection_id":185079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":185079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:20:42] local.INFO: TCP Data received {"connection_id":184963,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7be0e0012d0aee400704f988001000531a..."} 
[2026-09-17 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7be0e0012d0aee400704f988001000531a..."} 
[2026-09-17 09:20:42] local.INFO: Processing buffer {"connection_id":184963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7be0e0012d0aee400704f988001000531a..."} 
[2026-09-17 09:20:42] local.INFO: Packet analysis {"connection_id":184963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:20:42] local.INFO: Extracted packet for processing {"connection_id":184963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7b"} 
[2026-09-17 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":755691072,"raw_latitude":117766536,"longitude_deg":75.5691072,"latitude_deg":11.7766536,"altitude":16,"angle":83,"satellites":26,"speed":43,"hex_longitude":"2d0aee40","hex_latitude":"0704f988","is_valid_coordinates":true} 
[2026-09-17 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141942528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32609328741482496,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":777433915822612480,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789616972000,"timestamp_ms":1789616972000,"timestamp_seconds":1789616972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7be0e0"} 
[2026-09-17 09:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":184963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":184963,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":184963,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141942528001,"66":14450,"177":206,"94":10240,"24":43,"16":32609328741482496,"45":777433915822612480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-17 09:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141942528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:20:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-17 09:20:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32609328741482496,"km_value":32609328741482.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":777433915822612480,"description":"Unknown IO ID 45"} 
[2026-09-17 09:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141942528001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_45":777433915822612480}} 
[2026-09-17 09:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":184963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854358,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:20:42] local.INFO: GPS data processed {"connection_id":184963,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:20:42] local.INFO: Acknowledgment sent {"connection_id":184963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:20:43] local.INFO: TCP Data received {"connection_id":185079,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:43] local.INFO: Processing buffer {"connection_id":185079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:20:43] local.INFO: IMEI packet received {"connection_id":185079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":185079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:20:44] local.INFO: TCP Data received {"connection_id":185079,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad77a2f0012d7d310005ec62100003011e20..."} 
[2026-09-17 09:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad77a2f0012d7d310005ec62100003011e20..."} 
[2026-09-17 09:20:44] local.INFO: Processing buffer {"connection_id":185079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad77a2f0012d7d310005ec62100003011e20..."} 
[2026-09-17 09:20:44] local.INFO: Packet analysis {"connection_id":185079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:20:44] local.INFO: Extracted packet for processing {"connection_id":185079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99377680,"longitude_deg":76.3179264,"latitude_deg":9.937768,"altitude":3,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec6210","is_valid_coordinates":true} 
[2026-09-17 09:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141868544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040498176,"note":"Value kept but may cause issues"} 
[2026-09-17 09:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789616694000,"timestamp_ms":1789616694000,"timestamp_seconds":1789616694,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad77a2f0"} 
[2026-09-17 09:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 09:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141868544001,"66":13602,"110":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040498176},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141868544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:20:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:20:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040498176,"description":"Unknown IO ID 45"} 
[2026-09-17 09:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141868544001,"power":13602,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040498176}} 
[2026-09-17 09:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":185079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:20:44] local.INFO: GPS data processed {"connection_id":185079,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:20:44] local.INFO: Acknowledgment sent {"connection_id":185079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:20:58] local.INFO: TCP Data received {"connection_id":187697,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:20:58] local.INFO: Processing buffer {"connection_id":187697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:20:58] local.INFO: IMEI packet received {"connection_id":187697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":187697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:21:03] local.INFO: TCP Data received {"connection_id":187697,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:21:03] local.INFO: Processing buffer {"connection_id":187697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:21:03] local.INFO: IMEI packet received {"connection_id":187697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":187697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:21:05] local.INFO: TCP Data received {"connection_id":187697,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:21:05] local.INFO: Processing buffer {"connection_id":187697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:21:05] local.INFO: Packet analysis {"connection_id":187697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:21:05] local.INFO: Extracted packet for processing {"connection_id":187697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":187697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:21:05] local.INFO: GPS data processed {"connection_id":187697,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:21:05] local.INFO: Acknowledgment sent {"connection_id":187697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:21:14] local.INFO: TCP Data received {"connection_id":187698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:21:14] local.INFO: Processing buffer {"connection_id":187698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:21:14] local.INFO: IMEI packet received {"connection_id":187698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":187698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:21:15] local.INFO: TCP Data received {"connection_id":187698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:21:15] local.INFO: Processing buffer {"connection_id":187698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:21:15] local.INFO: IMEI packet received {"connection_id":187698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":187698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:21:15] local.INFO: TCP Data received {"connection_id":185079,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad77e558012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad77e558012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:21:15] local.INFO: Processing buffer {"connection_id":185079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad77e558012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:21:15] local.INFO: Packet analysis {"connection_id":185079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:21:15] local.INFO: Extracted packet for processing {"connection_id":185079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99377680,"longitude_deg":76.3179264,"latitude_deg":9.937768,"altitude":3,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec6210","is_valid_coordinates":true} 
[2026-09-17 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141873664001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789616711000,"timestamp_ms":1789616711000,"timestamp_seconds":1789616711,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad77e558"} 
[2026-09-17 09:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-17 09:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141873664001,"66":13537,"110":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141873664001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:21:15] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:21:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141873664001,"power":13537,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":185079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:21:16] local.INFO: GPS data processed {"connection_id":185079,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:21:16] local.INFO: Acknowledgment sent {"connection_id":185079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:21:17] local.INFO: TCP Data received {"connection_id":187698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:21:17] local.INFO: Processing buffer {"connection_id":187698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:21:17] local.INFO: IMEI packet received {"connection_id":187698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":187698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:21:25] local.INFO: TCP Data received {"connection_id":187698,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7d1190012d0b5fc007050cb8001800391e..."} 
[2026-09-17 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7d1190012d0b5fc007050cb8001800391e..."} 
[2026-09-17 09:21:25] local.INFO: Processing buffer {"connection_id":187698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7d1190012d0b5fc007050cb8001800391e..."} 
[2026-09-17 09:21:25] local.INFO: Packet analysis {"connection_id":187698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7d"} 
[2026-09-17 09:21:25] local.INFO: Extracted packet for processing {"connection_id":187698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7d"} 
[2026-09-17 09:21:25] local.INFO: GPS Element Parsed {"raw_longitude":755720128,"raw_latitude":117771448,"longitude_deg":75.5720128,"latitude_deg":11.7771448,"altitude":24,"angle":57,"satellites":30,"speed":13,"hex_longitude":"2d0b5fc0","hex_latitude":"07050cb8","is_valid_coordinates":true} 
[2026-09-17 09:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141964544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32611020958597120,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819232949865803776,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789617050000,"timestamp_ms":1789617050000,"timestamp_seconds":1789617050,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7d1190"} 
[2026-09-17 09:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 09:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141964544001,"66":14439,"96":206,"94":10240,"24":13,"16":32611020958597120,"45":819232949865803776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-17 09:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141964544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:21:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 09:21:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32611020958597120,"km_value":32611020958597.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":819232949865803776,"description":"Unknown IO ID 45"} 
[2026-09-17 09:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141964544001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":819232949865803776}} 
[2026-09-17 09:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":187698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854362,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:21:26] local.INFO: GPS data processed {"connection_id":187698,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:21:26] local.INFO: Acknowledgment sent {"connection_id":187698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:21:36] local.INFO: TCP Data received {"connection_id":187697,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:21:36] local.INFO: Processing buffer {"connection_id":187697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:21:36] local.INFO: Packet analysis {"connection_id":187697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:21:36] local.INFO: Extracted packet for processing {"connection_id":187697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":187697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:21:36] local.INFO: GPS data processed {"connection_id":187697,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:21:36] local.INFO: Acknowledgment sent {"connection_id":187697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:21:38] local.INFO: TCP Data received {"connection_id":187699,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:21:38] local.INFO: Processing buffer {"connection_id":187699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:21:38] local.INFO: IMEI packet received {"connection_id":187699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":187699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:21:43] local.INFO: TCP Data received {"connection_id":187699,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:21:43] local.INFO: Processing buffer {"connection_id":187699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:21:43] local.INFO: IMEI packet received {"connection_id":187699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":187699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:21:45] local.INFO: TCP Data received {"connection_id":187699,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad77e558012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad77e558012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:21:45] local.INFO: Processing buffer {"connection_id":187699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad77e558012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:21:45] local.INFO: Packet analysis {"connection_id":187699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:21:45] local.INFO: Extracted packet for processing {"connection_id":187699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:21:45] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99377680,"longitude_deg":76.3179264,"latitude_deg":9.937768,"altitude":3,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec6210","is_valid_coordinates":true} 
[2026-09-17 09:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878016001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789616711000,"timestamp_ms":1789616711000,"timestamp_seconds":1789616711,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad77e558"} 
[2026-09-17 09:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-17 09:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878016001,"66":13537,"110":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878016001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:21:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:21:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878016001,"power":13537,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":187699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:21:46] local.INFO: GPS data processed {"connection_id":187699,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:21:46] local.INFO: Acknowledgment sent {"connection_id":187699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:21:58] local.INFO: TCP Data received {"connection_id":185081,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:21:58] local.INFO: Processing buffer {"connection_id":185081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:21:58] local.INFO: IMEI packet received {"connection_id":185081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":185081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:22:03] local.INFO: TCP Data received {"connection_id":185081,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:22:03] local.INFO: Processing buffer {"connection_id":185081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:22:03] local.INFO: IMEI packet received {"connection_id":185081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":185081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:22:04] local.INFO: TCP Data received {"connection_id":185081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:22:04] local.INFO: Processing buffer {"connection_id":185081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:22:04] local.INFO: Packet analysis {"connection_id":185081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:22:04] local.INFO: Extracted packet for processing {"connection_id":185081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:22:04] 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-09-17 09:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":185081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:22:04] local.INFO: GPS data processed {"connection_id":185081,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:22:04] local.INFO: Acknowledgment sent {"connection_id":185081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:22:06] local.INFO: TCP Data received {"connection_id":184964,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:22:06] local.INFO: Processing buffer {"connection_id":184964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:22:06] local.INFO: IMEI packet received {"connection_id":184964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":184964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:22:16] local.INFO: TCP Data received {"connection_id":187699,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:22:16] local.INFO: Processing buffer {"connection_id":187699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:22:16] local.INFO: Packet analysis {"connection_id":187699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:22:16] local.INFO: Extracted packet for processing {"connection_id":187699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:22:16] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99377680,"longitude_deg":76.3179264,"latitude_deg":9.937768,"altitude":3,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec6210","is_valid_coordinates":true} 
[2026-09-17 09:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878016001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789616713000,"timestamp_ms":1789616713000,"timestamp_seconds":1789616713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad77ed28"} 
[2026-09-17 09:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-17 09:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878016001,"66":13722,"110":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878016001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:22:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:22:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878016001,"power":13722,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":187699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:22:17] local.INFO: GPS data processed {"connection_id":187699,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:22:17] local.INFO: Acknowledgment sent {"connection_id":187699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:22:36] local.INFO: TCP Data received {"connection_id":185081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:22:36] local.INFO: Processing buffer {"connection_id":185081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:22:36] local.INFO: Packet analysis {"connection_id":185081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:22:36] local.INFO: Extracted packet for processing {"connection_id":185081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:22:36] 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-09-17 09:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":185081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:22:36] local.INFO: GPS data processed {"connection_id":185081,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:22:36] local.INFO: Acknowledgment sent {"connection_id":185081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:22:38] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:22:38] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:22:38] local.INFO: IMEI packet received {"connection_id":186380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":186380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:22:43] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:22:43] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:22:43] local.INFO: IMEI packet received {"connection_id":186380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":186380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:22:44] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:22:44] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:22:44] local.INFO: Packet analysis {"connection_id":186380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:22:44] local.INFO: Extracted packet for processing {"connection_id":186380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99377680,"longitude_deg":76.3179264,"latitude_deg":9.937768,"altitude":3,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec6210","is_valid_coordinates":true} 
[2026-09-17 09:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789616713000,"timestamp_ms":1789616713000,"timestamp_seconds":1789616713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad77ed28"} 
[2026-09-17 09:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878528001,"66":13722,"110":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:22:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:22:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878528001,"power":13722,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":186380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:22:44] local.INFO: GPS data processed {"connection_id":186380,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:22:44] local.INFO: Acknowledgment sent {"connection_id":186380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:22:50] local.INFO: TCP Data received {"connection_id":184965,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:22:50] local.INFO: Processing buffer {"connection_id":184965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:22:50] local.INFO: IMEI packet received {"connection_id":184965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":184965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:22:58] local.INFO: TCP Data received {"connection_id":185082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:22:58] local.INFO: Processing buffer {"connection_id":185082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:22:58] local.INFO: IMEI packet received {"connection_id":185082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":185082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:23:03] local.INFO: TCP Data received {"connection_id":185082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:23:03] local.INFO: Processing buffer {"connection_id":185082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:23:03] local.INFO: IMEI packet received {"connection_id":185082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":185082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:23:04] local.INFO: TCP Data received {"connection_id":185082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:23:04] local.INFO: Processing buffer {"connection_id":185082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad79f0c8012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:23:04] local.INFO: Packet analysis {"connection_id":185082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:23:04] local.INFO: Extracted packet for processing {"connection_id":185082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad79"} 
[2026-09-17 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141835264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789616845000,"timestamp_ms":1789616845000,"timestamp_seconds":1789616845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad79f0c8"} 
[2026-09-17 09:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:23:04] 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-09-17 09:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141835264001,"66":25462,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141835264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141835264001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":185082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:23:04] local.INFO: GPS data processed {"connection_id":185082,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:23:04] local.INFO: Acknowledgment sent {"connection_id":185082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:23:15] local.INFO: TCP Data received {"connection_id":186380,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:23:15] local.INFO: Processing buffer {"connection_id":186380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:23:15] local.INFO: Packet analysis {"connection_id":186380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:23:15] local.INFO: Extracted packet for processing {"connection_id":186380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99377680,"longitude_deg":76.3179264,"latitude_deg":9.937768,"altitude":3,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec6210","is_valid_coordinates":true} 
[2026-09-17 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789616713000,"timestamp_ms":1789616713000,"timestamp_seconds":1789616713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad77ed28"} 
[2026-09-17 09:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878528001,"66":13722,"110":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:23:15] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:23:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878528001,"power":13722,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":186380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:23:15] local.INFO: GPS data processed {"connection_id":186380,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:23:15] local.INFO: Acknowledgment sent {"connection_id":186380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:23:36] local.INFO: TCP Data received {"connection_id":185082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:23:36] local.INFO: Processing buffer {"connection_id":185082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:23:36] local.INFO: Packet analysis {"connection_id":185082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:23:36] local.INFO: Extracted packet for processing {"connection_id":185082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141912320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789617146000,"timestamp_ms":1789617146000,"timestamp_seconds":1789617146,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7e8890"} 
[2026-09-17 09:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:23:36] 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-09-17 09:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141912320001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141912320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141912320001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":185082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:23:36] local.INFO: GPS data processed {"connection_id":185082,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:23:36] local.INFO: Acknowledgment sent {"connection_id":185082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:23:38] local.INFO: TCP Data received {"connection_id":187700,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:23:38] local.INFO: Processing buffer {"connection_id":187700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:23:38] local.INFO: IMEI packet received {"connection_id":187700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":187700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:23:43] local.INFO: TCP Data received {"connection_id":187700,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:23:43] local.INFO: Processing buffer {"connection_id":187700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:23:43] local.INFO: IMEI packet received {"connection_id":187700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":187700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:23:45] local.INFO: TCP Data received {"connection_id":187700,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:23:45] local.INFO: Processing buffer {"connection_id":187700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:23:45] local.INFO: Packet analysis {"connection_id":187700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:23:45] local.INFO: Extracted packet for processing {"connection_id":187700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99377680,"longitude_deg":76.3179264,"latitude_deg":9.937768,"altitude":3,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec6210","is_valid_coordinates":true} 
[2026-09-17 09:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789616713000,"timestamp_ms":1789616713000,"timestamp_seconds":1789616713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad77ed28"} 
[2026-09-17 09:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878528001,"66":13722,"110":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:23:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:23:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878528001,"power":13722,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":187700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:23:45] local.INFO: GPS data processed {"connection_id":187700,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:23:45] local.INFO: Acknowledgment sent {"connection_id":187700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:24:03] local.INFO: TCP Data received {"connection_id":185083,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:24:03] local.INFO: Processing buffer {"connection_id":185083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:24:03] local.INFO: IMEI packet received {"connection_id":185083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":185083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:24:08] local.INFO: TCP Data received {"connection_id":185083,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:24:08] local.INFO: Processing buffer {"connection_id":185083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:24:08] local.INFO: IMEI packet received {"connection_id":185083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":185083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:24:10] local.INFO: TCP Data received {"connection_id":185083,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:24:10] local.INFO: Processing buffer {"connection_id":185083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:24:10] local.INFO: Packet analysis {"connection_id":185083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:24:10] local.INFO: Extracted packet for processing {"connection_id":185083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141912320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789617146000,"timestamp_ms":1789617146000,"timestamp_seconds":1789617146,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7e8890"} 
[2026-09-17 09:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:24:10] 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-09-17 09:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141912320001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141912320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141912320001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":185083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:24:10] local.INFO: GPS data processed {"connection_id":185083,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:24:10] local.INFO: Acknowledgment sent {"connection_id":185083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:24:15] local.INFO: TCP Data received {"connection_id":185083,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:24:15] local.INFO: Processing buffer {"connection_id":185083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:24:15] local.INFO: Packet analysis {"connection_id":185083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:24:15] local.INFO: Extracted packet for processing {"connection_id":185083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141912320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789617146000,"timestamp_ms":1789617146000,"timestamp_seconds":1789617146,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7e8890"} 
[2026-09-17 09:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:24: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-09-17 09:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141912320001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141912320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:24:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141912320001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":185083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:24:15] local.INFO: GPS data processed {"connection_id":185083,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:24:15] local.INFO: Acknowledgment sent {"connection_id":185083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:24:17] local.INFO: TCP Data received {"connection_id":187700,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:24:17] local.INFO: Processing buffer {"connection_id":187700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad77ed28012d7d310005ec62100003011e1f..."} 
[2026-09-17 09:24:17] local.INFO: Packet analysis {"connection_id":187700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:24:17] local.INFO: Extracted packet for processing {"connection_id":187700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad77"} 
[2026-09-17 09:24:17] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":99377680,"longitude_deg":76.3179264,"latitude_deg":9.937768,"altitude":3,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d7d3100","hex_latitude":"05ec6210","is_valid_coordinates":true} 
[2026-09-17 09:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789616713000,"timestamp_ms":1789616713000,"timestamp_seconds":1789616713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad77ed28"} 
[2026-09-17 09:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878528001,"66":13722,"110":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 09:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:24:17] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 09:24:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878528001,"power":13722,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":187700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:24:17] local.INFO: GPS data processed {"connection_id":187700,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:24:17] local.INFO: Acknowledgment sent {"connection_id":187700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:24:43] local.INFO: TCP Data received {"connection_id":184967,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:24:43] local.INFO: Processing buffer {"connection_id":184967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:24:43] local.INFO: IMEI packet received {"connection_id":184967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":184967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:24:44] local.INFO: TCP Data received {"connection_id":184967,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:24:44] local.INFO: Processing buffer {"connection_id":184967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:24:44] local.INFO: IMEI packet received {"connection_id":184967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":184967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:24:49] local.INFO: TCP Data received {"connection_id":184967,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:24:49] local.INFO: Processing buffer {"connection_id":184967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:24:49] local.INFO: IMEI packet received {"connection_id":184967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":184967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:24:50] local.INFO: TCP Data received {"connection_id":184967,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:24:50] local.INFO: Processing buffer {"connection_id":184967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:24:50] local.INFO: Packet analysis {"connection_id":184967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:24:50] local.INFO: Extracted packet for processing {"connection_id":184967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:24:50] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99377688,"longitude_deg":76.317888,"latitude_deg":9.9377688,"altitude":3,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d7d2f80","hex_latitude":"05ec6218","is_valid_coordinates":true} 
[2026-09-17 09:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789617282000,"timestamp_ms":1789617282000,"timestamp_seconds":1789617282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad809bd0"} 
[2026-09-17 09:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":184967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":184967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":184967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878528001,"66":2242,"108":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 09:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:24:50] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 09:24:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878528001,"power":2242,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":184967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:24:50] local.INFO: GPS data processed {"connection_id":184967,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:24:50] local.INFO: Acknowledgment sent {"connection_id":184967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:24:54] local.INFO: TCP Data received {"connection_id":184967,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:24:54] local.INFO: Processing buffer {"connection_id":184967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:24:54] local.INFO: Packet analysis {"connection_id":184967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:24:54] local.INFO: Extracted packet for processing {"connection_id":184967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99377688,"longitude_deg":76.317888,"latitude_deg":9.9377688,"altitude":3,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d7d2f80","hex_latitude":"05ec6218","is_valid_coordinates":true} 
[2026-09-17 09:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789617282000,"timestamp_ms":1789617282000,"timestamp_seconds":1789617282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad809bd0"} 
[2026-09-17 09:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":184967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":184967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":184967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878528001,"66":2242,"108":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 09:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:24:54] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 09:24:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878528001,"power":2242,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":184967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:24:54] local.INFO: GPS data processed {"connection_id":184967,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:24:54] local.INFO: Acknowledgment sent {"connection_id":184967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:24:59] local.INFO: TCP Data received {"connection_id":186381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:24:59] local.INFO: Processing buffer {"connection_id":186381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:24:59] local.INFO: IMEI packet received {"connection_id":186381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":186381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:25:04] local.INFO: TCP Data received {"connection_id":186381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:25:04] local.INFO: Processing buffer {"connection_id":186381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:25:04] local.INFO: IMEI packet received {"connection_id":186381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":186381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:25:13] local.INFO: TCP Data received {"connection_id":186381,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:25:13] local.INFO: Processing buffer {"connection_id":186381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:25:13] local.INFO: Packet analysis {"connection_id":186381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:25:13] local.INFO: Extracted packet for processing {"connection_id":186381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141912320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789617146000,"timestamp_ms":1789617146000,"timestamp_seconds":1789617146,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7e8890"} 
[2026-09-17 09:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:25:13] 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-09-17 09:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141912320001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141912320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141912320001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":186381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:25:13] local.INFO: GPS data processed {"connection_id":186381,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:25:13] local.INFO: Acknowledgment sent {"connection_id":186381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:25:19] local.INFO: TCP Data received {"connection_id":184968,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184968,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:25:19] local.INFO: Processing buffer {"connection_id":184968,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:25:19] local.INFO: IMEI packet received {"connection_id":184968,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":184968,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:25:23] local.INFO: TCP Data received {"connection_id":184968,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184968,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:25:23] local.INFO: Processing buffer {"connection_id":184968,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:25:23] local.INFO: IMEI packet received {"connection_id":184968,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":184968,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:25:27] local.INFO: TCP Data received {"connection_id":184968,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184968,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:25:27] local.INFO: Processing buffer {"connection_id":184968,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:25:27] local.INFO: IMEI packet received {"connection_id":184968,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":184968,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:25:28] local.INFO: TCP Data received {"connection_id":184968,"ip":"117.225.200.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad80c2e0012d0bd54007061b680022012e1d..."} 
[2026-09-17 09:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad80c2e0012d0bd54007061b680022012e1d..."} 
[2026-09-17 09:25:28] local.INFO: Processing buffer {"connection_id":184968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad80c2e0012d0bd54007061b680022012e1d..."} 
[2026-09-17 09:25:28] local.INFO: Packet analysis {"connection_id":184968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:25:28] local.INFO: Extracted packet for processing {"connection_id":184968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:25:29] local.INFO: GPS Element Parsed {"raw_longitude":755750208,"raw_latitude":117840744,"longitude_deg":75.5750208,"latitude_deg":11.7840744,"altitude":34,"angle":302,"satellites":29,"speed":13,"hex_longitude":"2d0bd540","hex_latitude":"07061b68","is_valid_coordinates":true} 
[2026-09-17 09:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142026496001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32616007415627776,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853009947088826368,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789617292000,"timestamp_ms":1789617292000,"timestamp_seconds":1789617292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad80c2e0"} 
[2026-09-17 09:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":184968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":184968,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":184968,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.200.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142026496001,"66":14439,"44":206,"28":32256,"24":13,"16":32616007415627776,"45":853009947088826368},"client_ip":"117.225.200.89","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-09-17 09:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142026496001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-17 09:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32616007415627776,"km_value":32616007415627.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":853009947088826368,"description":"Unknown IO ID 45"} 
[2026-09-17 09:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142026496001,"power":14439,"unknown_44":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":853009947088826368}} 
[2026-09-17 09:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":184968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:25:29] local.INFO: GPS data processed {"connection_id":184968,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:25:29] local.INFO: Acknowledgment sent {"connection_id":184968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:25:29] local.INFO: TCP Data received {"connection_id":184968,"ip":"117.225.200.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad80cab0012d0bd28007061c600023011c1d..."} 
[2026-09-17 09:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad80cab0012d0bd28007061c600023011c1d..."} 
[2026-09-17 09:25:29] local.INFO: Processing buffer {"connection_id":184968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad80cab0012d0bd28007061c600023011c1d..."} 
[2026-09-17 09:25:29] local.INFO: Packet analysis {"connection_id":184968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:25:29] local.INFO: Extracted packet for processing {"connection_id":184968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:25:29] local.INFO: GPS Element Parsed {"raw_longitude":755749504,"raw_latitude":117840992,"longitude_deg":75.5749504,"latitude_deg":11.7840992,"altitude":35,"angle":284,"satellites":29,"speed":15,"hex_longitude":"2d0bd280","hex_latitude":"07061c60","is_valid_coordinates":true} 
[2026-09-17 09:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142026752001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32616041775366144,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852658103367985152,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789617294000,"timestamp_ms":1789617294000,"timestamp_seconds":1789617294,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad80cab0"} 
[2026-09-17 09:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 09:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":184968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":184968,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":184968,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.200.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142026752001,"66":14439,"44":206,"28":32256,"24":15,"16":32616041775366144,"45":852658103367985152},"client_ip":"117.225.200.89","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-09-17 09:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142026752001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-17 09:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32616041775366144,"km_value":32616041775366.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":852658103367985152,"description":"Unknown IO ID 45"} 
[2026-09-17 09:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142026752001,"power":14439,"unknown_44":206,"unknown_28":32256,"ignition":15,"odometer":null,"unknown_45":852658103367985152}} 
[2026-09-17 09:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":184968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:25:30] local.INFO: GPS data processed {"connection_id":184968,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:25:30] local.INFO: Acknowledgment sent {"connection_id":184968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:25:39] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:25:39] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:25:39] local.INFO: IMEI packet received {"connection_id":186382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":186382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:25:43] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:25:43] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:25:43] local.INFO: IMEI packet received {"connection_id":186382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":186382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:25:45] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:25:45] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:25:45] local.INFO: Packet analysis {"connection_id":186382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:25:45] local.INFO: Extracted packet for processing {"connection_id":186382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:25:45] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99377688,"longitude_deg":76.317888,"latitude_deg":9.9377688,"altitude":3,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d7d2f80","hex_latitude":"05ec6218","is_valid_coordinates":true} 
[2026-09-17 09:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789617282000,"timestamp_ms":1789617282000,"timestamp_seconds":1789617282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad809bd0"} 
[2026-09-17 09:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878528001,"66":2242,"108":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 09:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:25:45] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 09:25:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878528001,"power":2242,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":186382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:25:45] local.INFO: GPS data processed {"connection_id":186382,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:25:45] local.INFO: Acknowledgment sent {"connection_id":186382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:25:58] local.INFO: TCP Data received {"connection_id":185086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:25:58] local.INFO: Processing buffer {"connection_id":185086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:25:58] local.INFO: IMEI packet received {"connection_id":185086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":185086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:26:02] local.INFO: TCP Data received {"connection_id":187701,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:02] local.INFO: Processing buffer {"connection_id":187701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:02] local.INFO: IMEI packet received {"connection_id":187701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":187701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:26:03] local.INFO: TCP Data received {"connection_id":185086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:26:03] local.INFO: Processing buffer {"connection_id":185086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:26:03] local.INFO: IMEI packet received {"connection_id":185086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":185086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:26:06] local.INFO: TCP Data received {"connection_id":185086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:26:06] local.INFO: Processing buffer {"connection_id":185086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:26:06] local.INFO: Packet analysis {"connection_id":185086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:26:06] local.INFO: Extracted packet for processing {"connection_id":185086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141912320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789617146000,"timestamp_ms":1789617146000,"timestamp_seconds":1789617146,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7e8890"} 
[2026-09-17 09:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:26:06] 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-09-17 09:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141912320001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141912320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141912320001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":185086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:26:06] local.INFO: GPS data processed {"connection_id":185086,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:26:06] local.INFO: Acknowledgment sent {"connection_id":185086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:26:07] local.INFO: TCP Data received {"connection_id":187701,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:07] local.INFO: Processing buffer {"connection_id":187701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:07] local.INFO: IMEI packet received {"connection_id":187701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":187701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:26:08] local.INFO: TCP Data received {"connection_id":187701,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:08] local.INFO: Processing buffer {"connection_id":187701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:08] local.INFO: IMEI packet received {"connection_id":187701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":187701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:26:12] local.INFO: TCP Data received {"connection_id":187701,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:12] local.INFO: Processing buffer {"connection_id":187701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:26:12] local.INFO: IMEI packet received {"connection_id":187701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":187701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:26:16] local.INFO: TCP Data received {"connection_id":186382,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:26:16] local.INFO: Processing buffer {"connection_id":186382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:26:16] local.INFO: Packet analysis {"connection_id":186382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:26:16] local.INFO: Extracted packet for processing {"connection_id":186382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:26:16] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99377688,"longitude_deg":76.317888,"latitude_deg":9.9377688,"altitude":3,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d7d2f80","hex_latitude":"05ec6218","is_valid_coordinates":true} 
[2026-09-17 09:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789617282000,"timestamp_ms":1789617282000,"timestamp_seconds":1789617282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad809bd0"} 
[2026-09-17 09:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878528001,"66":2242,"108":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 09:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:26:16] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 09:26:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878528001,"power":2242,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":186382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:26:17] local.INFO: GPS data processed {"connection_id":186382,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:26:17] local.INFO: Acknowledgment sent {"connection_id":186382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:26:39] local.INFO: TCP Data received {"connection_id":187702,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:26:39] local.INFO: Processing buffer {"connection_id":187702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:26:39] local.INFO: IMEI packet received {"connection_id":187702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 09:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":187702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:26:40] local.INFO: TCP Data received {"connection_id":185086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:26:40] local.INFO: Processing buffer {"connection_id":185086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:26:40] local.INFO: Packet analysis {"connection_id":185086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:26:40] local.INFO: Extracted packet for processing {"connection_id":185086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141912320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789617146000,"timestamp_ms":1789617146000,"timestamp_seconds":1789617146,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7e8890"} 
[2026-09-17 09:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:26: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-09-17 09:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141912320001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141912320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141912320001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":185086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:26:40] local.INFO: GPS data processed {"connection_id":185086,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:26:40] local.INFO: Acknowledgment sent {"connection_id":185086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:26:43] local.INFO: TCP Data received {"connection_id":187702,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:26:43] local.INFO: Processing buffer {"connection_id":187702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 09:26:43] local.INFO: IMEI packet received {"connection_id":187702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 09:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":187702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:26:44] local.INFO: TCP Data received {"connection_id":187702,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:26:44] local.INFO: Processing buffer {"connection_id":187702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad809bd0012d7d2f8005ec62180003011e22..."} 
[2026-09-17 09:26:44] local.INFO: Packet analysis {"connection_id":187702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:26:44] local.INFO: Extracted packet for processing {"connection_id":187702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad80"} 
[2026-09-17 09:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99377688,"longitude_deg":76.317888,"latitude_deg":9.9377688,"altitude":3,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d7d2f80","hex_latitude":"05ec6218","is_valid_coordinates":true} 
[2026-09-17 09:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141878528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554040500224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789617282000,"timestamp_ms":1789617282000,"timestamp_seconds":1789617282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad809bd0"} 
[2026-09-17 09:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 09:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 09:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 09:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 09:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141878528001,"66":2242,"108":206,"87":13824,"24":0,"16":134115945865019392,"45":9020991554040500224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 09:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 09:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 09:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141878528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:26:44] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 09:26:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 09:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134115945865019392,"km_value":134115945865019.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554040500224,"description":"Unknown IO ID 45"} 
[2026-09-17 09:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141878528001,"power":2242,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020991554040500224}} 
[2026-09-17 09:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":187702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:26:44] local.INFO: GPS data processed {"connection_id":187702,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:26:44] local.INFO: Acknowledgment sent {"connection_id":187702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:26:58] local.INFO: TCP Data received {"connection_id":184970,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:26:58] local.INFO: Processing buffer {"connection_id":184970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:26:58] local.INFO: IMEI packet received {"connection_id":184970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":184970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:27:03] local.INFO: TCP Data received {"connection_id":184970,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:27:03] local.INFO: Processing buffer {"connection_id":184970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:27:03] local.INFO: IMEI packet received {"connection_id":184970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":184970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:27:05] local.INFO: TCP Data received {"connection_id":184970,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:27:05] local.INFO: Processing buffer {"connection_id":184970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:27:05] local.INFO: Packet analysis {"connection_id":184970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:27:05] local.INFO: Extracted packet for processing {"connection_id":184970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141912320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:27:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789617146000,"timestamp_ms":1789617146000,"timestamp_seconds":1789617146,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7e8890"} 
[2026-09-17 09:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:27:05] 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-09-17 09:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141912320001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141912320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141912320001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":184970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:27:05] local.INFO: GPS data processed {"connection_id":184970,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:27:05] local.INFO: Acknowledgment sent {"connection_id":184970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:27:13] local.INFO: TCP Data received {"connection_id":187701,"ip":"117.225.200.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8195d0012d0bd8c0070618080023009c1c..."} 
[2026-09-17 09:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8195d0012d0bd8c0070618080023009c1c..."} 
[2026-09-17 09:27:13] local.INFO: Processing buffer {"connection_id":187701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8195d0012d0bd8c0070618080023009c1c..."} 
[2026-09-17 09:27:13] local.INFO: Packet analysis {"connection_id":187701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad81"} 
[2026-09-17 09:27:13] local.INFO: Extracted packet for processing {"connection_id":187701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad81"} 
[2026-09-17 09:27:13] local.INFO: GPS Element Parsed {"raw_longitude":755751104,"raw_latitude":117839880,"longitude_deg":75.5751104,"latitude_deg":11.783988,"altitude":35,"angle":156,"satellites":28,"speed":10,"hex_longitude":"2d0bd8c0","hex_latitude":"07061808","is_valid_coordinates":true} 
[2026-09-17 09:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142040320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32616454092226560,"note":"Value kept but may cause issues"} 
[2026-09-17 09:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853502528297969664,"note":"Value kept but may cause issues"} 
[2026-09-17 09:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789617346000,"timestamp_ms":1789617346000,"timestamp_seconds":1789617346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8195d0"} 
[2026-09-17 09:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-17 09:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.200.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142040320001,"66":14352,"44":206,"28":32256,"24":10,"16":32616454092226560,"45":853502528297969664},"client_ip":"117.225.200.89","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-09-17 09:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142040320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:27:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-17 09:27:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-17 09:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32616454092226560,"km_value":32616454092226.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":853502528297969664,"description":"Unknown IO ID 45"} 
[2026-09-17 09:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142040320001,"power":14352,"unknown_44":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":853502528297969664}} 
[2026-09-17 09:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":187701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854387,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:27:13] local.INFO: GPS data processed {"connection_id":187701,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:27:13] local.INFO: Acknowledgment sent {"connection_id":187701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:27:28] local.INFO: TCP Data received {"connection_id":186383,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:28] local.INFO: Processing buffer {"connection_id":186383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:28] local.INFO: IMEI packet received {"connection_id":186383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":186383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:27:32] local.INFO: TCP Data received {"connection_id":186383,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:32] local.INFO: Processing buffer {"connection_id":186383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:32] local.INFO: IMEI packet received {"connection_id":186383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":186383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:27:33] local.INFO: TCP Data received {"connection_id":186383,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:33] local.INFO: Processing buffer {"connection_id":186383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:33] local.INFO: IMEI packet received {"connection_id":186383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":186383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:27:37] local.INFO: TCP Data received {"connection_id":184970,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:27:37] local.INFO: Processing buffer {"connection_id":184970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad7e8890012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:27:37] local.INFO: Packet analysis {"connection_id":184970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:27:37] local.INFO: Extracted packet for processing {"connection_id":184970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad7e"} 
[2026-09-17 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141912320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:27:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 09:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 09:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789617146000,"timestamp_ms":1789617146000,"timestamp_seconds":1789617146,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad7e8890"} 
[2026-09-17 09:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:27:37] 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-09-17 09:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141912320001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 09:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141912320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141912320001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":184970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:27:37] local.INFO: GPS data processed {"connection_id":184970,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:27:37] local.INFO: Acknowledgment sent {"connection_id":184970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:27:59] local.INFO: TCP Data received {"connection_id":186383,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:59] local.INFO: Processing buffer {"connection_id":186383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:27:59] local.INFO: IMEI packet received {"connection_id":186383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":186383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:28:05] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:28:05] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:28:05] local.INFO: IMEI packet received {"connection_id":185088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":185088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:28:07] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:28:07] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:28:07] local.INFO: IMEI packet received {"connection_id":185088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":185088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:28:09] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:28:09] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:28:09] local.INFO: Packet analysis {"connection_id":185088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:28:09] local.INFO: Extracted packet for processing {"connection_id":185088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:28: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-09-17 09:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":185088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:28:09] local.INFO: GPS data processed {"connection_id":185088,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:28:09] local.INFO: Acknowledgment sent {"connection_id":185088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:28:10] local.INFO: TCP Data received {"connection_id":187703,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:28:10] local.INFO: Processing buffer {"connection_id":187703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:28:10] local.INFO: IMEI packet received {"connection_id":187703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":187703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:28:11] local.INFO: TCP Data received {"connection_id":185087,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:28:11] local.INFO: Processing buffer {"connection_id":185087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:28:11] local.INFO: IMEI packet received {"connection_id":185087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":185087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:28:11] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:28:11] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:28:11] local.INFO: Packet analysis {"connection_id":185088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:28:11] local.INFO: Extracted packet for processing {"connection_id":185088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:28:11] 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-09-17 09:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":185088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:28:11] local.INFO: GPS data processed {"connection_id":185088,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:28:11] local.INFO: Acknowledgment sent {"connection_id":185088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:28:43] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:28:43] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:28:43] local.INFO: Packet analysis {"connection_id":185088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:28:43] local.INFO: Extracted packet for processing {"connection_id":185088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:28: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-09-17 09:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:28:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":185088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:28:43] local.INFO: GPS data processed {"connection_id":185088,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:28:43] local.INFO: Acknowledgment sent {"connection_id":185088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:28:52] local.INFO: TCP Data received {"connection_id":186384,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:28:52] local.INFO: Processing buffer {"connection_id":186384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:28:52] local.INFO: IMEI packet received {"connection_id":186384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":186384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:28:58] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:28:58] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:28:58] local.INFO: IMEI packet received {"connection_id":186385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":186385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:29:03] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:29:03] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:29:03] local.INFO: IMEI packet received {"connection_id":186385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":186385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:29:04] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:29:04] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:29:04] local.INFO: Packet analysis {"connection_id":186385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:29:04] local.INFO: Extracted packet for processing {"connection_id":186385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:29:04] 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-09-17 09:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":186385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:29:04] local.INFO: GPS data processed {"connection_id":186385,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:29:04] local.INFO: Acknowledgment sent {"connection_id":186385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:29:06] local.INFO: TCP Data received {"connection_id":187703,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:29:06] local.INFO: Processing buffer {"connection_id":187703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:29:06] local.INFO: IMEI packet received {"connection_id":187703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":187703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:29:09] local.INFO: TCP Data received {"connection_id":184971,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:29:09] local.INFO: Processing buffer {"connection_id":184971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:29:09] local.INFO: IMEI packet received {"connection_id":184971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":184971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:29:12] local.INFO: TCP Data received {"connection_id":184971,"ip":"117.225.200.89","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:29:12] local.INFO: Processing buffer {"connection_id":184971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:29:12] local.INFO: IMEI packet received {"connection_id":184971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":184971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:29:36] local.INFO: TCP Data received {"connection_id":186385,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:29:36] local.INFO: Processing buffer {"connection_id":186385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:29:36] local.INFO: Packet analysis {"connection_id":186385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:29:36] local.INFO: Extracted packet for processing {"connection_id":186385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:29:36] 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-09-17 09:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":186385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:29:36] local.INFO: GPS data processed {"connection_id":186385,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:29:36] local.INFO: Acknowledgment sent {"connection_id":186385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:30:02] local.INFO: TCP Data received {"connection_id":185091,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:02] local.INFO: Processing buffer {"connection_id":185091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:02] local.INFO: IMEI packet received {"connection_id":185091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":185091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:30:03] local.INFO: TCP Data received {"connection_id":185091,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:03] local.INFO: Processing buffer {"connection_id":185091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:03] local.INFO: IMEI packet received {"connection_id":185091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":185091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:30:09] local.INFO: TCP Data received {"connection_id":185091,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:09] local.INFO: Processing buffer {"connection_id":185091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:09] local.INFO: IMEI packet received {"connection_id":185091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":185091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:30:11] local.INFO: TCP Data received {"connection_id":185091,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:30:11] local.INFO: Processing buffer {"connection_id":185091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:30:11] local.INFO: Packet analysis {"connection_id":185091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:30:11] local.INFO: Extracted packet for processing {"connection_id":185091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:30: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-09-17 09:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:30:11] 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-09-17 09:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:30:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:30:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":185091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:30:11] local.INFO: GPS data processed {"connection_id":185091,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:30:11] local.INFO: Acknowledgment sent {"connection_id":185091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:30:43] local.INFO: TCP Data received {"connection_id":185091,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:30:43] local.INFO: Processing buffer {"connection_id":185091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:30:43] local.INFO: Packet analysis {"connection_id":185091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:30:43] local.INFO: Extracted packet for processing {"connection_id":185091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:30:43] 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-09-17 09:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":185091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:30:43] local.INFO: GPS data processed {"connection_id":185091,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:30:43] local.INFO: Acknowledgment sent {"connection_id":185091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:30:58] local.INFO: TCP Data received {"connection_id":184974,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:58] local.INFO: Processing buffer {"connection_id":184974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:30:58] local.INFO: IMEI packet received {"connection_id":184974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":184974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:31:03] local.INFO: TCP Data received {"connection_id":184974,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:31:03] local.INFO: Processing buffer {"connection_id":184974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:31:03] local.INFO: IMEI packet received {"connection_id":184974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":184974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:31:05] local.INFO: TCP Data received {"connection_id":184974,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:31:05] local.INFO: Processing buffer {"connection_id":184974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:31:05] local.INFO: Packet analysis {"connection_id":184974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:31:05] local.INFO: Extracted packet for processing {"connection_id":184974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:31:05] 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-09-17 09:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":184974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:31:05] local.INFO: GPS data processed {"connection_id":184974,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:31:05] local.INFO: Acknowledgment sent {"connection_id":184974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:31:38] local.INFO: TCP Data received {"connection_id":184974,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:31:38] local.INFO: Processing buffer {"connection_id":184974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:31:38] local.INFO: Packet analysis {"connection_id":184974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:31:38] local.INFO: Extracted packet for processing {"connection_id":184974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:31:38] 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-09-17 09:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":184974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:31:38] local.INFO: GPS data processed {"connection_id":184974,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:31:38] local.INFO: Acknowledgment sent {"connection_id":184974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:32:03] local.INFO: TCP Data received {"connection_id":184976,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:32:03] local.INFO: Processing buffer {"connection_id":184976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:32:03] local.INFO: IMEI packet received {"connection_id":184976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":184976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:32:08] local.INFO: TCP Data received {"connection_id":184976,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:32:08] local.INFO: Processing buffer {"connection_id":184976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:32:08] local.INFO: IMEI packet received {"connection_id":184976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":184976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:32:11] local.INFO: TCP Data received {"connection_id":184976,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:32:11] local.INFO: Processing buffer {"connection_id":184976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:32:11] local.INFO: Packet analysis {"connection_id":184976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:32:11] local.INFO: Extracted packet for processing {"connection_id":184976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:32:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:32:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":184976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:32:11] local.INFO: GPS data processed {"connection_id":184976,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:32:11] local.INFO: Acknowledgment sent {"connection_id":184976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:32:15] local.INFO: TCP Data received {"connection_id":184976,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:32:15] local.INFO: Processing buffer {"connection_id":184976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:32:15] local.INFO: Packet analysis {"connection_id":184976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:32:15] local.INFO: Extracted packet for processing {"connection_id":184976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":184976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":184976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":184976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":184976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:32:15] local.INFO: GPS data processed {"connection_id":184976,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:32:15] local.INFO: Acknowledgment sent {"connection_id":184976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:32:58] local.INFO: TCP Data received {"connection_id":187705,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:32:58] local.INFO: Processing buffer {"connection_id":187705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:32:58] local.INFO: IMEI packet received {"connection_id":187705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":187705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:33:04] local.INFO: TCP Data received {"connection_id":187705,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:33:04] local.INFO: Processing buffer {"connection_id":187705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:33:04] local.INFO: IMEI packet received {"connection_id":187705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":187705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:33:08] local.INFO: TCP Data received {"connection_id":187705,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:33:08] local.INFO: Processing buffer {"connection_id":187705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad832058012d34c3c006aa4458000c011729..."} 
[2026-09-17 09:33:08] local.INFO: Packet analysis {"connection_id":187705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:33:08] local.INFO: Extracted packet for processing {"connection_id":187705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad83"} 
[2026-09-17 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458141989376001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789617447000,"timestamp_ms":1789617447000,"timestamp_seconds":1789617447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad832058"} 
[2026-09-17 09:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 09:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458141989376001,"66":25397,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458141989376001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458141989376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":187705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:33:08] local.INFO: GPS data processed {"connection_id":187705,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:33:08] local.INFO: Acknowledgment sent {"connection_id":187705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:33:40] local.INFO: TCP Data received {"connection_id":187705,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:33:40] local.INFO: Processing buffer {"connection_id":187705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:33:40] local.INFO: Packet analysis {"connection_id":187705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:33:40] local.INFO: Extracted packet for processing {"connection_id":187705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:33:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":187705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:33:40] local.INFO: GPS data processed {"connection_id":187705,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:33:40] local.INFO: Acknowledgment sent {"connection_id":187705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:34:03] local.INFO: TCP Data received {"connection_id":185096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:34:03] local.INFO: Processing buffer {"connection_id":185096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:34:03] local.INFO: IMEI packet received {"connection_id":185096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":185096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:34:15] local.INFO: TCP Data received {"connection_id":185096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:34:15] local.INFO: Processing buffer {"connection_id":185096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:34:15] local.INFO: IMEI packet received {"connection_id":185096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":185096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:34:16] local.INFO: TCP Data received {"connection_id":185094,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:34:16] local.INFO: Processing buffer {"connection_id":185094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:34:16] local.INFO: IMEI packet received {"connection_id":185094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":185094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:34:16] local.INFO: TCP Data received {"connection_id":185096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:34:16] local.INFO: Processing buffer {"connection_id":185096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:34:16] local.INFO: Packet analysis {"connection_id":185096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:34:16] local.INFO: Extracted packet for processing {"connection_id":185096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:34:16] 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-09-17 09:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":185096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:34:17] local.INFO: GPS data processed {"connection_id":185096,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:34:17] local.INFO: Acknowledgment sent {"connection_id":185096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:34:17] local.INFO: TCP Data received {"connection_id":185096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:34:17] local.INFO: Processing buffer {"connection_id":185096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:34:17] local.INFO: Packet analysis {"connection_id":185096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:34:17] local.INFO: Extracted packet for processing {"connection_id":185096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:34:17] 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-09-17 09:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":185096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:34:17] local.INFO: GPS data processed {"connection_id":185096,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:34:17] local.INFO: Acknowledgment sent {"connection_id":185096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:34:56] local.INFO: TCP Data received {"connection_id":186386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:34:56] local.INFO: Processing buffer {"connection_id":186386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:34:56] local.INFO: IMEI packet received {"connection_id":186386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":186386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:34:58] local.INFO: TCP Data received {"connection_id":184977,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:34:58] local.INFO: Processing buffer {"connection_id":184977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:34:58] local.INFO: IMEI packet received {"connection_id":184977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":184977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:35:03] local.INFO: TCP Data received {"connection_id":184977,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:35:04] local.INFO: Processing buffer {"connection_id":184977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:35:04] local.INFO: IMEI packet received {"connection_id":184977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":184977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:35:05] local.INFO: TCP Data received {"connection_id":184977,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:35:05] local.INFO: Processing buffer {"connection_id":184977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:35:05] local.INFO: Packet analysis {"connection_id":184977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:35:05] local.INFO: Extracted packet for processing {"connection_id":184977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:35:05] 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-09-17 09:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":184977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:35:05] local.INFO: GPS data processed {"connection_id":184977,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:35:05] local.INFO: Acknowledgment sent {"connection_id":184977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:35:35] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:35:35] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:35:35] local.INFO: IMEI packet received {"connection_id":186387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":186387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:35:37] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:35:37] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:35:37] local.INFO: IMEI packet received {"connection_id":186387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":186387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:35:39] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:35:39] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:35:39] local.INFO: IMEI packet received {"connection_id":186387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":186387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:35:40] local.INFO: TCP Data received {"connection_id":186387,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8a7b28012d0ca3c00704ca20001d008020..."} 
[2026-09-17 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8a7b28012d0ca3c00704ca20001d008020..."} 
[2026-09-17 09:35:40] local.INFO: Processing buffer {"connection_id":186387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8a7b28012d0ca3c00704ca20001d008020..."} 
[2026-09-17 09:35:40] local.INFO: Packet analysis {"connection_id":186387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8a"} 
[2026-09-17 09:35:40] local.INFO: Extracted packet for processing {"connection_id":186387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8a"} 
[2026-09-17 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":755803072,"raw_latitude":117754400,"longitude_deg":75.5803072,"latitude_deg":11.77544,"altitude":29,"angle":128,"satellites":32,"speed":21,"hex_longitude":"2d0ca3c0","hex_latitude":"0704ca20","is_valid_coordinates":true} 
[2026-09-17 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142188288001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32628011849220096,"note":"Value kept but may cause issues"} 
[2026-09-17 09:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907616092548950016,"note":"Value kept but may cause issues"} 
[2026-09-17 09:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789617929000,"timestamp_ms":1789617929000,"timestamp_seconds":1789617929,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8a7b28"} 
[2026-09-17 09:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 09:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142188288001,"66":14428,"95":206,"94":10240,"24":21,"16":32628011849220096,"45":907616092548950016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 09:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142188288001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:35:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 09:35:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32628011849220096,"km_value":32628011849220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":907616092548950016,"description":"Unknown IO ID 45"} 
[2026-09-17 09:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142188288001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":907616092548950016}} 
[2026-09-17 09:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":186387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854405,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:35:40] local.INFO: GPS data processed {"connection_id":186387,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:35:40] local.INFO: Acknowledgment sent {"connection_id":186387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:35:46] local.INFO: TCP Data received {"connection_id":184977,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:35:46] local.INFO: Processing buffer {"connection_id":184977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:35:46] local.INFO: Packet analysis {"connection_id":184977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:35:46] local.INFO: Extracted packet for processing {"connection_id":184977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":184977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":184977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:35:46] 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-09-17 09:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":184977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:35:46] local.INFO: GPS data processed {"connection_id":184977,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:35:46] local.INFO: Acknowledgment sent {"connection_id":184977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:36:07] local.INFO: TCP Data received {"connection_id":187706,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187706,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:36:07] local.INFO: Processing buffer {"connection_id":187706,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:36:07] local.INFO: IMEI packet received {"connection_id":187706,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":187706,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:36:11] local.INFO: TCP Data received {"connection_id":185097,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:36:11] local.INFO: Processing buffer {"connection_id":185097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:36:11] local.INFO: IMEI packet received {"connection_id":185097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":185097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:36:12] local.INFO: TCP Data received {"connection_id":187706,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187706,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:36:12] local.INFO: Processing buffer {"connection_id":187706,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:36:12] local.INFO: IMEI packet received {"connection_id":187706,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":187706,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:36:21] local.INFO: TCP Data received {"connection_id":185097,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:36:21] local.INFO: Processing buffer {"connection_id":185097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:36:21] local.INFO: IMEI packet received {"connection_id":185097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":185097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:36:23] local.INFO: TCP Data received {"connection_id":185097,"ip":"42.109.136.3","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0ad..."} 
[2026-09-17 09:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185097,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0ad..."} 
[2026-09-17 09:36:23] local.INFO: Processing buffer {"connection_id":185097,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0ad..."} 
[2026-09-17 09:36:23] local.INFO: IMEI packet received {"connection_id":185097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":185097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:36:24] local.INFO: TCP Data received {"connection_id":185097,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:36:24] local.INFO: Processing buffer {"connection_id":185097,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:36:24] local.INFO: Packet analysis {"connection_id":185097,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:36:24] local.INFO: Extracted packet for processing {"connection_id":185097,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:36:24] 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-09-17 09:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":185097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:36:24] local.INFO: GPS data processed {"connection_id":185097,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:36:24] local.INFO: Acknowledgment sent {"connection_id":185097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:36:24] local.INFO: Packet analysis {"connection_id":185097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:36:24] local.INFO: Extracted packet for processing {"connection_id":185097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:36:24] 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-09-17 09:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":185097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:36:24] local.INFO: GPS data processed {"connection_id":185097,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:36:24] local.INFO: Acknowledgment sent {"connection_id":185097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:36:26] local.INFO: TCP Data received {"connection_id":185097,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:36:26] local.INFO: Processing buffer {"connection_id":185097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:36:26] local.INFO: Packet analysis {"connection_id":185097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:36:26] local.INFO: Extracted packet for processing {"connection_id":185097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:36:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:36:26] 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-09-17 09:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:36:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:36:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":185097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:36:26] local.INFO: GPS data processed {"connection_id":185097,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:36:26] local.INFO: Acknowledgment sent {"connection_id":185097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:36:39] local.INFO: TCP Data received {"connection_id":187706,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8a7f10012d0ca5000704c8e0001d009021..."} 
[2026-09-17 09:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8a7f10012d0ca5000704c8e0001d009021..."} 
[2026-09-17 09:36:39] local.INFO: Processing buffer {"connection_id":187706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8a7f10012d0ca5000704c8e0001d009021..."} 
[2026-09-17 09:36:39] local.INFO: Packet analysis {"connection_id":187706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8a"} 
[2026-09-17 09:36:39] local.INFO: Extracted packet for processing {"connection_id":187706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8a"} 
[2026-09-17 09:36:39] local.INFO: GPS Element Parsed {"raw_longitude":755803392,"raw_latitude":117754080,"longitude_deg":75.5803392,"latitude_deg":11.775408,"altitude":29,"angle":144,"satellites":33,"speed":20,"hex_longitude":"2d0ca500","hex_latitude":"0704c8e0","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142189824001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32628033324056576,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910782686036631552,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789617930000,"timestamp_ms":1789617930000,"timestamp_seconds":1789617930,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8a7f10"} 
[2026-09-17 09:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142189824001,"66":14439,"95":206,"94":10240,"24":20,"16":32628033324056576,"45":910782686036631552},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 09:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142189824001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:36:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 09:36:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32628033324056576,"km_value":32628033324056.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":910782686036631552,"description":"Unknown IO ID 45"} 
[2026-09-17 09:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142189824001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":910782686036631552}} 
[2026-09-17 09:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":187706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854410,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:36:40] local.INFO: GPS data processed {"connection_id":187706,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:36:40] local.INFO: Acknowledgment sent {"connection_id":187706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:36:41] local.INFO: TCP Data received {"connection_id":187706,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8b7528012d0d39400704bc70001a00781f..."} 
[2026-09-17 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8b7528012d0d39400704bc70001a00781f..."} 
[2026-09-17 09:36:41] local.INFO: Processing buffer {"connection_id":187706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8b7528012d0d39400704bc70001a00781f..."} 
[2026-09-17 09:36:41] local.INFO: Packet analysis {"connection_id":187706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:36:41] local.INFO: Extracted packet for processing {"connection_id":187706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117750896,"longitude_deg":75.5841344,"latitude_deg":11.7750896,"altitude":26,"angle":120,"satellites":31,"speed":5,"hex_longitude":"2d0d3940","hex_latitude":"0704bc70","is_valid_coordinates":true} 
[2026-09-17 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142205696001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32629901634830336,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952652088821458944,"note":"Value kept but may cause issues"} 
[2026-09-17 09:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789617993000,"timestamp_ms":1789617993000,"timestamp_seconds":1789617993,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8b7528"} 
[2026-09-17 09:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:36: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-09-17 09:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142205696001,"66":14439,"17":206,"94":11008,"24":5,"16":32629901634830336,"45":952652088821458944},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142205696001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:36:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32629901634830336,"km_value":32629901634830.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":952652088821458944,"description":"Unknown IO ID 45"} 
[2026-09-17 09:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142205696001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":952652088821458944}} 
[2026-09-17 09:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":187706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:36:41] local.INFO: GPS data processed {"connection_id":187706,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:36:41] local.INFO: Acknowledgment sent {"connection_id":187706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:36:57] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:36:57] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:36:57] local.INFO: IMEI packet received {"connection_id":186389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":186389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:36:59] local.INFO: TCP Data received {"connection_id":185099,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:36:59] local.INFO: Processing buffer {"connection_id":185099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:36:59] local.INFO: IMEI packet received {"connection_id":185099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":185099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:37:00] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:37:00] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:37:00] local.INFO: IMEI packet received {"connection_id":186389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":186389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:37:02] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:37:02] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:37:02] local.INFO: IMEI packet received {"connection_id":186389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":186389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:37:03] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8b7cf8012d0d3a400704bbb80019008b1f..."} 
[2026-09-17 09:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8b7cf8012d0d3a400704bbb80019008b1f..."} 
[2026-09-17 09:37:03] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8b7cf8012d0d3a400704bbb80019008b1f..."} 
[2026-09-17 09:37:03] local.INFO: Packet analysis {"connection_id":186389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:37:03] local.INFO: Extracted packet for processing {"connection_id":186389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117750712,"longitude_deg":75.58416,"latitude_deg":11.7750712,"altitude":25,"angle":139,"satellites":31,"speed":5,"hex_longitude":"2d0d3a40","hex_latitude":"0704bbb8","is_valid_coordinates":true} 
[2026-09-17 09:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142206208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32629914519732224,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952863195053977600,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789617995000,"timestamp_ms":1789617995000,"timestamp_seconds":1789617995,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8b7cf8"} 
[2026-09-17 09:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 09:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142206208001,"66":14439,"17":206,"94":11008,"24":5,"16":32629914519732224,"45":952863195053977600},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142206208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:37:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32629914519732224,"km_value":32629914519732.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":952863195053977600,"description":"Unknown IO ID 45"} 
[2026-09-17 09:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142206208001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":952863195053977600}} 
[2026-09-17 09:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":186389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:37:03] local.INFO: GPS data processed {"connection_id":186389,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:37:03] local.INFO: Acknowledgment sent {"connection_id":186389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:37:03] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8b80e0012d0d3a800704bb580018009d1f..."} 
[2026-09-17 09:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8b80e0012d0d3a800704bb580018009d1f..."} 
[2026-09-17 09:37:03] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8b80e0012d0d3a800704bb580018009d1f..."} 
[2026-09-17 09:37:03] local.INFO: Packet analysis {"connection_id":186389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:37:03] local.INFO: Extracted packet for processing {"connection_id":186389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117750616,"longitude_deg":75.5841664,"latitude_deg":11.7750616,"altitude":24,"angle":157,"satellites":31,"speed":6,"hex_longitude":"2d0d3a80","hex_latitude":"0704bb58","is_valid_coordinates":true} 
[2026-09-17 09:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142206720001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32629923109666816,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670030641152,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789617996000,"timestamp_ms":1789617996000,"timestamp_seconds":1789617996,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8b80e0"} 
[2026-09-17 09:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 09:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142206720001,"66":14450,"17":206,"94":11008,"24":6,"16":32629923109666816,"45":953144670030641152},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142206720001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:37:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32629923109666816,"km_value":32629923109666.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670030641152,"description":"Unknown IO ID 45"} 
[2026-09-17 09:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142206720001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953144670030641152}} 
[2026-09-17 09:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":186389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854413,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:37:03] local.INFO: GPS data processed {"connection_id":186389,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:37:03] local.INFO: Acknowledgment sent {"connection_id":186389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:37:04] local.INFO: TCP Data received {"connection_id":185099,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:37:04] local.INFO: Processing buffer {"connection_id":185099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:37:04] local.INFO: IMEI packet received {"connection_id":185099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":185099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:37:05] local.INFO: TCP Data received {"connection_id":185099,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:37:05] local.INFO: Processing buffer {"connection_id":185099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:37:05] local.INFO: Packet analysis {"connection_id":185099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:37:05] local.INFO: Extracted packet for processing {"connection_id":185099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":185099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:37:05] local.INFO: GPS data processed {"connection_id":185099,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:37:05] local.INFO: Acknowledgment sent {"connection_id":185099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:37:34] local.INFO: TCP Data received {"connection_id":186389,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8b88b0012d0d3ac00704b9e8001700af1f..."} 
[2026-09-17 09:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8b88b0012d0d3ac00704b9e8001700af1f..."} 
[2026-09-17 09:37:34] local.INFO: Processing buffer {"connection_id":186389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8b88b0012d0d3ac00704b9e8001700af1f..."} 
[2026-09-17 09:37:34] local.INFO: Packet analysis {"connection_id":186389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:37:34] local.INFO: Extracted packet for processing {"connection_id":186389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:37:34] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117750248,"longitude_deg":75.5841728,"latitude_deg":11.7750248,"altitude":23,"angle":175,"satellites":31,"speed":9,"hex_longitude":"2d0d3ac0","hex_latitude":"0704b9e8","is_valid_coordinates":true} 
[2026-09-17 09:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142206976001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32629940289536000,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038774794240,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789617998000,"timestamp_ms":1789617998000,"timestamp_seconds":1789617998,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8b88b0"} 
[2026-09-17 09:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142206976001,"66":14548,"17":206,"94":11008,"24":9,"16":32629940289536000,"45":953215038774794240},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142206976001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:37:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32629940289536000,"km_value":32629940289536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038774794240,"description":"Unknown IO ID 45"} 
[2026-09-17 09:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142206976001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":953215038774794240}} 
[2026-09-17 09:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":186389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854415,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:37:34] local.INFO: GPS data processed {"connection_id":186389,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:37:34] local.INFO: Acknowledgment sent {"connection_id":186389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:37:37] local.INFO: TCP Data received {"connection_id":185099,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:37:37] local.INFO: Processing buffer {"connection_id":185099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:37:37] local.INFO: Packet analysis {"connection_id":185099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:37:37] local.INFO: Extracted packet for processing {"connection_id":185099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":185099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:37:37] local.INFO: GPS data processed {"connection_id":185099,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:37:37] local.INFO: Acknowledgment sent {"connection_id":185099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:37:47] local.INFO: TCP Data received {"connection_id":184978,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184978,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 09:37:47] local.INFO: Processing buffer {"connection_id":184978,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 09:37:47] local.INFO: Packet analysis {"connection_id":184978,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 09:37:47] local.INFO: Extracted packet for processing {"connection_id":184978,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 09:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 09:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:47] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 09:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 09:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 09:37:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":184978,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 09:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":184978,"device_imei":null,"avl_records_count":1} 
[2026-09-17 09:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":184978,"device_imei":null,"avl_records_count":1} 
[2026-09-17 09:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":184978,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 09:37:47] local.INFO: GPS data processed {"connection_id":184978,"processed":0,"errors":0,"total":1} 
[2026-09-17 09:37:47] local.INFO: Acknowledgment sent {"connection_id":184978,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:37:53] local.INFO: TCP Data received {"connection_id":186391,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186391,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 09:37:53] local.INFO: Processing buffer {"connection_id":186391,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 09:37:53] local.INFO: Packet analysis {"connection_id":186391,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 09:37:53] local.INFO: Extracted packet for processing {"connection_id":186391,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 09:37:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 09:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 09:37:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:53] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 09:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 09:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 09:37:53] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186391,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 09:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186391,"device_imei":null,"avl_records_count":1} 
[2026-09-17 09:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186391,"device_imei":null,"avl_records_count":1} 
[2026-09-17 09:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":186391,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 09:37:53] local.INFO: GPS data processed {"connection_id":186391,"processed":0,"errors":0,"total":1} 
[2026-09-17 09:37:53] local.INFO: Acknowledgment sent {"connection_id":186391,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:37:58] local.INFO: TCP Data received {"connection_id":185100,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:37:58] local.INFO: Processing buffer {"connection_id":185100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:37:58] local.INFO: IMEI packet received {"connection_id":185100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":185100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:37:58] local.INFO: TCP Data received {"connection_id":185101,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:37:58] local.INFO: Processing buffer {"connection_id":185101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:37:58] local.INFO: IMEI packet received {"connection_id":185101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":185101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:37:58] local.INFO: TCP Data received {"connection_id":185102,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185102,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 09:37:58] local.INFO: Processing buffer {"connection_id":185102,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 09:37:58] local.INFO: Packet analysis {"connection_id":185102,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 09:37:58] local.INFO: Extracted packet for processing {"connection_id":185102,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 09:37:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 09:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 09:37:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 09:37:58] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 09:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 09:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 09:37:58] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185102,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 09:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185102,"device_imei":null,"avl_records_count":1} 
[2026-09-17 09:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185102,"device_imei":null,"avl_records_count":1} 
[2026-09-17 09:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":185102,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 09:37:58] local.INFO: GPS data processed {"connection_id":185102,"processed":0,"errors":0,"total":1} 
[2026-09-17 09:37:58] local.INFO: Acknowledgment sent {"connection_id":185102,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:38:02] local.INFO: TCP Data received {"connection_id":185100,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:38:02] local.INFO: Processing buffer {"connection_id":185100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:38:02] local.INFO: IMEI packet received {"connection_id":185100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":185100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:38:03] local.INFO: TCP Data received {"connection_id":185100,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8bd6d0012d0d3a8007049e68001800ba21..."} 
[2026-09-17 09:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8bd6d0012d0d3a8007049e68001800ba21..."} 
[2026-09-17 09:38:03] local.INFO: Processing buffer {"connection_id":185100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8bd6d0012d0d3a8007049e68001800ba21..."} 
[2026-09-17 09:38:03] local.INFO: Packet analysis {"connection_id":185100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:38:03] local.INFO: Extracted packet for processing {"connection_id":185100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:38:03] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117743208,"longitude_deg":75.5841664,"latitude_deg":11.7743208,"altitude":24,"angle":186,"satellites":33,"speed":8,"hex_longitude":"2d0d3a80","hex_latitude":"07049e68","is_valid_coordinates":true} 
[2026-09-17 09:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142207488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32630283886919680,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407518877696,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618018000,"timestamp_ms":1789618018000,"timestamp_seconds":1789618018,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8bd6d0"} 
[2026-09-17 09:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 09:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142207488001,"66":14428,"17":206,"94":11008,"24":8,"16":32630283886919680,"45":953285407518877696},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142207488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:38:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32630283886919680,"km_value":32630283886919.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407518877696,"description":"Unknown IO ID 45"} 
[2026-09-17 09:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142207488001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953285407518877696}} 
[2026-09-17 09:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":185100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:38:03] local.INFO: GPS data processed {"connection_id":185100,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:38:03] local.INFO: Acknowledgment sent {"connection_id":185100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:38:03] local.INFO: TCP Data received {"connection_id":185101,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:38:03] local.INFO: Processing buffer {"connection_id":185101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:38:03] local.INFO: IMEI packet received {"connection_id":185101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":185101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:38:04] local.INFO: TCP Data received {"connection_id":185101,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:38:04] local.INFO: Processing buffer {"connection_id":185101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad87b820012d34c3c006aa4458000c01172b..."} 
[2026-09-17 09:38:04] local.INFO: Packet analysis {"connection_id":185101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:38:04] local.INFO: Extracted packet for processing {"connection_id":185101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad87"} 
[2026-09-17 09:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142066432001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789617748000,"timestamp_ms":1789617748000,"timestamp_seconds":1789617748,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad87b820"} 
[2026-09-17 09:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 09:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:38:04] 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-09-17 09:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142066432001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142066432001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142066432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":185101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:38:04] local.INFO: GPS data processed {"connection_id":185101,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:38:04] local.INFO: Acknowledgment sent {"connection_id":185101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:38:34] local.INFO: TCP Data received {"connection_id":185100,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8be670012d0d3a8007049b50001800ab20..."} 
[2026-09-17 09:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8be670012d0d3a8007049b50001800ab20..."} 
[2026-09-17 09:38:34] local.INFO: Processing buffer {"connection_id":185100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8be670012d0d3a8007049b50001800ab20..."} 
[2026-09-17 09:38:34] local.INFO: Packet analysis {"connection_id":185100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:38:34] local.INFO: Extracted packet for processing {"connection_id":185100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8b"} 
[2026-09-17 09:38:34] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117742416,"longitude_deg":75.5841664,"latitude_deg":11.7742416,"altitude":24,"angle":171,"satellites":32,"speed":8,"hex_longitude":"2d0d3a80","hex_latitude":"07049b50","is_valid_coordinates":true} 
[2026-09-17 09:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142212608001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32630322541625344,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038772897792,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789618022000,"timestamp_ms":1789618022000,"timestamp_seconds":1789618022,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8be670"} 
[2026-09-17 09:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142212608001,"66":14374,"17":206,"94":11008,"24":8,"16":32630322541625344,"45":953215038772897792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142212608001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:38:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32630322541625344,"km_value":32630322541625.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038772897792,"description":"Unknown IO ID 45"} 
[2026-09-17 09:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142212608001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953215038772897792}} 
[2026-09-17 09:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":185100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:38:34] local.INFO: GPS data processed {"connection_id":185100,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:38:34] local.INFO: Acknowledgment sent {"connection_id":185100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:38:36] local.INFO: TCP Data received {"connection_id":185101,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:38:36] local.INFO: Processing buffer {"connection_id":185101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:38:36] local.INFO: Packet analysis {"connection_id":185101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:38:36] local.INFO: Extracted packet for processing {"connection_id":185101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:38:36] 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-09-17 09:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":185101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:38:36] local.INFO: GPS data processed {"connection_id":185101,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:38:36] local.INFO: Acknowledgment sent {"connection_id":185101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:38:57] local.INFO: TCP Data received {"connection_id":187707,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:38:57] local.INFO: Processing buffer {"connection_id":187707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:38:57] local.INFO: IMEI packet received {"connection_id":187707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":187707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:39:02] local.INFO: TCP Data received {"connection_id":187707,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:39:02] local.INFO: Processing buffer {"connection_id":187707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:39:02] local.INFO: IMEI packet received {"connection_id":187707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":187707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:39:03] local.INFO: TCP Data received {"connection_id":187707,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8d2aa8012d0d25c007042e48001200b221..."} 
[2026-09-17 09:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8d2aa8012d0d25c007042e48001200b221..."} 
[2026-09-17 09:39:03] local.INFO: Processing buffer {"connection_id":187707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8d2aa8012d0d25c007042e48001200b221..."} 
[2026-09-17 09:39:03] local.INFO: Packet analysis {"connection_id":187707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8d"} 
[2026-09-17 09:39:03] local.INFO: Extracted packet for processing {"connection_id":187707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8d"} 
[2026-09-17 09:39:03] local.INFO: GPS Element Parsed {"raw_longitude":755836352,"raw_latitude":117714504,"longitude_deg":75.5836352,"latitude_deg":11.7714504,"altitude":18,"angle":178,"satellites":33,"speed":15,"hex_longitude":"2d0d25c0","hex_latitude":"07042e48","is_valid_coordinates":true} 
[2026-09-17 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142232320001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32631718405996544,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948078120441372672,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618105000,"timestamp_ms":1789618105000,"timestamp_seconds":1789618105,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8d2aa8"} 
[2026-09-17 09:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 09:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142232320001,"66":14461,"17":206,"94":11008,"24":15,"16":32631718405996544,"45":948078120441372672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142232320001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:39:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32631718405996544,"km_value":32631718405996.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":948078120441372672,"description":"Unknown IO ID 45"} 
[2026-09-17 09:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142232320001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":948078120441372672}} 
[2026-09-17 09:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":187707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:39:03] local.INFO: GPS data processed {"connection_id":187707,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:39:03] local.INFO: Acknowledgment sent {"connection_id":187707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:39:03] local.INFO: TCP Data received {"connection_id":184979,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:39:03] local.INFO: Processing buffer {"connection_id":184979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:39:03] local.INFO: IMEI packet received {"connection_id":184979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":184979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:39:08] local.INFO: TCP Data received {"connection_id":184979,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:39:08] local.INFO: Processing buffer {"connection_id":184979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:39:08] local.INFO: IMEI packet received {"connection_id":184979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":184979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:39:09] local.INFO: TCP Data received {"connection_id":184979,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:39:09] local.INFO: Processing buffer {"connection_id":184979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:39:09] local.INFO: Packet analysis {"connection_id":184979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:39:09] local.INFO: Extracted packet for processing {"connection_id":184979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":184979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":184979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":184979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09: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-09-17 09:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":184979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:39:09] local.INFO: GPS data processed {"connection_id":184979,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:39:09] local.INFO: Acknowledgment sent {"connection_id":184979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:39:35] local.INFO: TCP Data received {"connection_id":187707,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8d5d70012d0d26c007041938001400a521..."} 
[2026-09-17 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8d5d70012d0d26c007041938001400a521..."} 
[2026-09-17 09:39:35] local.INFO: Processing buffer {"connection_id":187707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8d5d70012d0d26c007041938001400a521..."} 
[2026-09-17 09:39:35] local.INFO: Packet analysis {"connection_id":187707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8d"} 
[2026-09-17 09:39:35] local.INFO: Extracted packet for processing {"connection_id":187707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8d"} 
[2026-09-17 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":755836608,"raw_latitude":117709112,"longitude_deg":75.5836608,"latitude_deg":11.7709112,"altitude":20,"angle":165,"satellites":33,"speed":8,"hex_longitude":"2d0d26c0","hex_latitude":"07041938","is_valid_coordinates":true} 
[2026-09-17 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142234880001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32631980399001600,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947374432998803456,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789618118000,"timestamp_ms":1789618118000,"timestamp_seconds":1789618118,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8d5d70"} 
[2026-09-17 09:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 09:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142234880001,"66":14580,"17":206,"94":11008,"24":8,"16":32631980399001600,"45":947374432998803456},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142234880001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:39:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32631980399001600,"km_value":32631980399001.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":947374432998803456,"description":"Unknown IO ID 45"} 
[2026-09-17 09:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142234880001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":947374432998803456}} 
[2026-09-17 09:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":187707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854423,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:39:35] local.INFO: GPS data processed {"connection_id":187707,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:39:35] local.INFO: Acknowledgment sent {"connection_id":187707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:39:41] local.INFO: TCP Data received {"connection_id":184979,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:39:41] local.INFO: Processing buffer {"connection_id":184979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:39:41] local.INFO: Packet analysis {"connection_id":184979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:39:41] local.INFO: Extracted packet for processing {"connection_id":184979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:39:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":184979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":184979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":184979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09: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-09-17 09:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:39:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:39:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":184979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:39:41] local.INFO: GPS data processed {"connection_id":184979,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:39:41] local.INFO: Acknowledgment sent {"connection_id":184979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:39:57] local.INFO: TCP Data received {"connection_id":187709,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:39:57] local.INFO: Processing buffer {"connection_id":187709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:39:57] local.INFO: IMEI packet received {"connection_id":187709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":187709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:39:58] local.INFO: TCP Data received {"connection_id":185103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:39:58] local.INFO: Processing buffer {"connection_id":185103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:39:58] local.INFO: IMEI packet received {"connection_id":185103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":185103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:40:02] local.INFO: TCP Data received {"connection_id":187709,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:40:02] local.INFO: Processing buffer {"connection_id":187709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:40:02] local.INFO: IMEI packet received {"connection_id":187709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":187709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:40:03] local.INFO: TCP Data received {"connection_id":187709,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8d9038012d0d28c007040c78001800b521..."} 
[2026-09-17 09:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8d9038012d0d28c007040c78001800b521..."} 
[2026-09-17 09:40:03] local.INFO: Processing buffer {"connection_id":187709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8d9038012d0d28c007040c78001800b521..."} 
[2026-09-17 09:40:03] local.INFO: Packet analysis {"connection_id":187709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8d"} 
[2026-09-17 09:40:03] local.INFO: Extracted packet for processing {"connection_id":187709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8d"} 
[2026-09-17 09:40:03] local.INFO: GPS Element Parsed {"raw_longitude":755837120,"raw_latitude":117705848,"longitude_deg":75.583712,"latitude_deg":11.7705848,"altitude":24,"angle":181,"satellites":33,"speed":7,"hex_longitude":"2d0d28c0","hex_latitude":"07040c78","is_valid_coordinates":true} 
[2026-09-17 09:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142238208001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32632143607758848,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947655907974133760,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618131000,"timestamp_ms":1789618131000,"timestamp_seconds":1789618131,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8d9038"} 
[2026-09-17 09:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-17 09:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142238208001,"66":13820,"17":206,"94":11008,"24":7,"16":32632143607758848,"45":947655907974133760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142238208001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:40:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32632143607758848,"km_value":32632143607758.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":947655907974133760,"description":"Unknown IO ID 45"} 
[2026-09-17 09:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142238208001,"power":13820,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":947655907974133760}} 
[2026-09-17 09:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":187709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:40:03] local.INFO: GPS data processed {"connection_id":187709,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:40:03] local.INFO: Acknowledgment sent {"connection_id":187709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:40:03] local.INFO: TCP Data received {"connection_id":185103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:40:03] local.INFO: Processing buffer {"connection_id":185103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:40:03] local.INFO: IMEI packet received {"connection_id":185103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":185103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:40:04] local.INFO: TCP Data received {"connection_id":185103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:40:04] local.INFO: Processing buffer {"connection_id":185103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:40:04] local.INFO: Packet analysis {"connection_id":185103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:40:04] local.INFO: Extracted packet for processing {"connection_id":185103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:40:04] 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-09-17 09:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":185103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:40:04] local.INFO: GPS data processed {"connection_id":185103,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:40:04] local.INFO: Acknowledgment sent {"connection_id":185103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:40:31] local.INFO: TCP Data received {"connection_id":187708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:40:31] local.INFO: Processing buffer {"connection_id":187708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:40:31] local.INFO: IMEI packet received {"connection_id":187708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":187708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:40:33] local.INFO: TCP Data received {"connection_id":187709,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8dde58012d0d29800703f538001600ad21..."} 
[2026-09-17 09:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8dde58012d0d29800703f538001600ad21..."} 
[2026-09-17 09:40:33] local.INFO: Processing buffer {"connection_id":187709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8dde58012d0d29800703f538001600ad21..."} 
[2026-09-17 09:40:33] local.INFO: Packet analysis {"connection_id":187709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8d"} 
[2026-09-17 09:40:33] local.INFO: Extracted packet for processing {"connection_id":187709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8d"} 
[2026-09-17 09:40:33] local.INFO: GPS Element Parsed {"raw_longitude":755837312,"raw_latitude":117699896,"longitude_deg":75.5837312,"latitude_deg":11.7699896,"altitude":22,"angle":173,"satellites":33,"speed":13,"hex_longitude":"2d0d2980","hex_latitude":"0703f538","is_valid_coordinates":true} 
[2026-09-17 09:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142241536001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32632435665534976,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948218857926719488,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789618151000,"timestamp_ms":1789618151000,"timestamp_seconds":1789618151,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8dde58"} 
[2026-09-17 09:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-17 09:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142241536001,"66":13689,"17":206,"94":11008,"24":13,"16":32632435665534976,"45":948218857926719488},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142241536001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:40:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32632435665534976,"km_value":32632435665534.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":948218857926719488,"description":"Unknown IO ID 45"} 
[2026-09-17 09:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142241536001,"power":13689,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":948218857926719488}} 
[2026-09-17 09:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":187709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:40:34] local.INFO: GPS data processed {"connection_id":187709,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:40:34] local.INFO: Acknowledgment sent {"connection_id":187709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:40:36] local.INFO: TCP Data received {"connection_id":185103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:40:36] local.INFO: Processing buffer {"connection_id":185103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:40:36] local.INFO: Packet analysis {"connection_id":185103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:40:36] local.INFO: Extracted packet for processing {"connection_id":185103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:40:36] 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-09-17 09:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":185103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:40:36] local.INFO: GPS data processed {"connection_id":185103,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:40:36] local.INFO: Acknowledgment sent {"connection_id":185103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:40:55] local.INFO: TCP Data received {"connection_id":184980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:40:55] local.INFO: Processing buffer {"connection_id":184980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:40:55] local.INFO: IMEI packet received {"connection_id":184980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":184980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:40:58] local.INFO: TCP Data received {"connection_id":186393,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:40:58] local.INFO: Processing buffer {"connection_id":186393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:40:58] local.INFO: IMEI packet received {"connection_id":186393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":186393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:41:02] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:41:02] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:41:02] local.INFO: IMEI packet received {"connection_id":184981,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":184981,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:41:03] local.INFO: TCP Data received {"connection_id":186393,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:41:03] local.INFO: Processing buffer {"connection_id":186393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:41:03] local.INFO: IMEI packet received {"connection_id":186393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":186393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:41:04] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:41:04] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:41:04] local.INFO: IMEI packet received {"connection_id":184981,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":184981,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:41:05] local.INFO: TCP Data received {"connection_id":186393,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:41:05] local.INFO: Processing buffer {"connection_id":186393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:41:05] local.INFO: Packet analysis {"connection_id":186393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:41:05] local.INFO: Extracted packet for processing {"connection_id":186393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:41:05] 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-09-17 09:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":186393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:41:05] local.INFO: GPS data processed {"connection_id":186393,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:41:05] local.INFO: Acknowledgment sent {"connection_id":186393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:41:05] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8e1cd8012d0d2ac00703dcd8001300b821..."} 
[2026-09-17 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8e1cd8012d0d2ac00703dcd8001300b821..."} 
[2026-09-17 09:41:05] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8e1cd8012d0d2ac00703dcd8001300b821..."} 
[2026-09-17 09:41:05] local.INFO: Packet analysis {"connection_id":184981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8e"} 
[2026-09-17 09:41:05] local.INFO: Extracted packet for processing {"connection_id":184981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8e"} 
[2026-09-17 09:41:05] local.INFO: GPS Element Parsed {"raw_longitude":755837632,"raw_latitude":117693656,"longitude_deg":75.5837632,"latitude_deg":11.7693656,"altitude":19,"angle":184,"satellites":33,"speed":15,"hex_longitude":"2d0d2ac0","hex_latitude":"0703dcd8","is_valid_coordinates":true} 
[2026-09-17 09:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142246656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32632740608212992,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948429964157728768,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789618167000,"timestamp_ms":1789618167000,"timestamp_seconds":1789618167,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8e1cd8"} 
[2026-09-17 09:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-17 09:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142246656001,"66":14407,"16":32632740608212992,"94":11008,"24":15,"45":948429964157728768},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142246656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32632740608212992,"km_value":32632740608212.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:41:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":948429964157728768,"description":"Unknown IO ID 45"} 
[2026-09-17 09:41:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142246656001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":948429964157728768}} 
[2026-09-17 09:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":184981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854430,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:41:05] local.INFO: GPS data processed {"connection_id":184981,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:41:05] local.INFO: Acknowledgment sent {"connection_id":184981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:41:08] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8e2890012d0d2b000703d818001200aa21..."} 
[2026-09-17 09:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8e2890012d0d2b000703d818001200aa21..."} 
[2026-09-17 09:41:08] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8e2890012d0d2b000703d818001200aa21..."} 
[2026-09-17 09:41:08] local.INFO: Packet analysis {"connection_id":184981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8e"} 
[2026-09-17 09:41:08] local.INFO: Extracted packet for processing {"connection_id":184981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8e"} 
[2026-09-17 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":755837696,"raw_latitude":117692440,"longitude_deg":75.5837696,"latitude_deg":11.769244,"altitude":18,"angle":170,"satellites":33,"speed":16,"hex_longitude":"2d0d2b00","hex_latitude":"0703d818","is_valid_coordinates":true} 
[2026-09-17 09:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142250752001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32632796442787840,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807877019648,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789618170000,"timestamp_ms":1789618170000,"timestamp_seconds":1789618170,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8e2890"} 
[2026-09-17 09:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 09:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":184981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":184981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":184981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142250752001,"66":14428,"16":32632796442787840,"94":11008,"24":16,"45":948781807877019648},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142250752001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32632796442787840,"km_value":32632796442787.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:41:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807877019648,"description":"Unknown IO ID 45"} 
[2026-09-17 09:41:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142250752001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":948781807877019648}} 
[2026-09-17 09:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":184981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:41:08] local.INFO: GPS data processed {"connection_id":184981,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:41:08] local.INFO: Acknowledgment sent {"connection_id":184981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:41:37] local.INFO: TCP Data received {"connection_id":186393,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:41:37] local.INFO: Processing buffer {"connection_id":186393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:41:37] local.INFO: Packet analysis {"connection_id":186393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:41:37] local.INFO: Extracted packet for processing {"connection_id":186393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:41:37] 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-09-17 09:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":186393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:41:37] local.INFO: GPS data processed {"connection_id":186393,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:41:37] local.INFO: Acknowledgment sent {"connection_id":186393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:41:39] local.INFO: TCP Data received {"connection_id":184981,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8fd640012d0d2600070421c8001b015f22..."} 
[2026-09-17 09:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8fd640012d0d2600070421c8001b015f22..."} 
[2026-09-17 09:41:39] local.INFO: Processing buffer {"connection_id":184981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8fd640012d0d2600070421c8001b015f22..."} 
[2026-09-17 09:41:39] local.INFO: Packet analysis {"connection_id":184981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8f"} 
[2026-09-17 09:41:39] local.INFO: Extracted packet for processing {"connection_id":184981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8f"} 
[2026-09-17 09:41:39] local.INFO: GPS Element Parsed {"raw_longitude":755836416,"raw_latitude":117711304,"longitude_deg":75.5836416,"latitude_deg":11.7711304,"altitude":27,"angle":351,"satellites":34,"speed":15,"hex_longitude":"2d0d2600","hex_latitude":"070421c8","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142279424001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32634127882649600,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947444801742061568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:41:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789618280000,"timestamp_ms":1789618280000,"timestamp_seconds":1789618280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8fd640"} 
[2026-09-17 09:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 09:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":184981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":184981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":184981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142279424001,"66":14494,"16":32634127882649600,"94":11008,"24":15,"45":947444801742061568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142279424001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32634127882649600,"km_value":32634127882649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:41:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":947444801742061568,"description":"Unknown IO ID 45"} 
[2026-09-17 09:41:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142279424001,"power":14494,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":947444801742061568}} 
[2026-09-17 09:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":184981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854433,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:41:39] local.INFO: GPS data processed {"connection_id":184981,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:41:39] local.INFO: Acknowledgment sent {"connection_id":184981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:41:57] local.INFO: TCP Data received {"connection_id":184982,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184982,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:41:57] local.INFO: Processing buffer {"connection_id":184982,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:41:57] local.INFO: IMEI packet received {"connection_id":184982,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":184982,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:41:58] local.INFO: TCP Data received {"connection_id":186395,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:41:58] local.INFO: Processing buffer {"connection_id":186395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:41:58] local.INFO: IMEI packet received {"connection_id":186395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":186395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:42:02] local.INFO: TCP Data received {"connection_id":184982,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184982,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:42:02] local.INFO: Processing buffer {"connection_id":184982,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:42:02] local.INFO: IMEI packet received {"connection_id":184982,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":184982,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:42:03] local.INFO: TCP Data received {"connection_id":184982,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8ff968012d0d238007043028001a000522..."} 
[2026-09-17 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8ff968012d0d238007043028001a000522..."} 
[2026-09-17 09:42:03] local.INFO: Processing buffer {"connection_id":184982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8ff968012d0d238007043028001a000522..."} 
[2026-09-17 09:42:03] local.INFO: Packet analysis {"connection_id":184982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8f"} 
[2026-09-17 09:42:03] local.INFO: Extracted packet for processing {"connection_id":184982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8f"} 
[2026-09-17 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":755835776,"raw_latitude":117714984,"longitude_deg":75.5835776,"latitude_deg":11.7714984,"altitude":26,"angle":5,"satellites":34,"speed":12,"hex_longitude":"2d0d2380","hex_latitude":"07043028","is_valid_coordinates":true} 
[2026-09-17 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142279680001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32634308271276032,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947444801742161920,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618289000,"timestamp_ms":1789618289000,"timestamp_seconds":1789618289,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8ff968"} 
[2026-09-17 09:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-17 09:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":184982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":184982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":184982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142279680001,"66":14374,"16":32634308271276032,"94":11008,"24":12,"45":947444801742161920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142279680001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32634308271276032,"km_value":32634308271276.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:42:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":947444801742161920,"description":"Unknown IO ID 45"} 
[2026-09-17 09:42:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142279680001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":947444801742161920}} 
[2026-09-17 09:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":184982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:42:03] local.INFO: GPS data processed {"connection_id":184982,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:42:03] local.INFO: Acknowledgment sent {"connection_id":184982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:42:03] local.INFO: TCP Data received {"connection_id":186395,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:42:03] local.INFO: Processing buffer {"connection_id":186395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:42:03] local.INFO: IMEI packet received {"connection_id":186395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":186395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:42:05] local.INFO: TCP Data received {"connection_id":186395,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:42:05] local.INFO: Processing buffer {"connection_id":186395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:42:05] local.INFO: Packet analysis {"connection_id":186395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:42:05] local.INFO: Extracted packet for processing {"connection_id":186395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:42:05] 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-09-17 09:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":186395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:42:05] local.INFO: GPS data processed {"connection_id":186395,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:42:05] local.INFO: Acknowledgment sent {"connection_id":186395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:42:35] local.INFO: TCP Data received {"connection_id":184982,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad900520012d0d2480070433900019001122..."} 
[2026-09-17 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad900520012d0d2480070433900019001122..."} 
[2026-09-17 09:42:35] local.INFO: Processing buffer {"connection_id":184982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad900520012d0d2480070433900019001122..."} 
[2026-09-17 09:42:35] local.INFO: Packet analysis {"connection_id":184982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:42:35] local.INFO: Extracted packet for processing {"connection_id":184982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":755836032,"raw_latitude":117715856,"longitude_deg":75.5836032,"latitude_deg":11.7715856,"altitude":25,"angle":17,"satellites":34,"speed":11,"hex_longitude":"2d0d2480","hex_latitude":"07043390","is_valid_coordinates":true} 
[2026-09-17 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142281984001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32634351220948992,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":946741114301327360,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789618292000,"timestamp_ms":1789618292000,"timestamp_seconds":1789618292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad900520"} 
[2026-09-17 09:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 09:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":184982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":184982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":184982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142281984001,"66":14439,"16":32634351220948992,"94":11008,"24":11,"45":946741114301327360},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142281984001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32634351220948992,"km_value":32634351220948.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:42:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":946741114301327360,"description":"Unknown IO ID 45"} 
[2026-09-17 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142281984001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":946741114301327360}} 
[2026-09-17 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":184982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854436,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:42:35] local.INFO: GPS data processed {"connection_id":184982,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:42:35] local.INFO: Acknowledgment sent {"connection_id":184982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:42:37] local.INFO: TCP Data received {"connection_id":186395,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:42:37] local.INFO: Processing buffer {"connection_id":186395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:42:37] local.INFO: Packet analysis {"connection_id":186395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:42:37] local.INFO: Extracted packet for processing {"connection_id":186395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:42:37] 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-09-17 09:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":186395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:42:37] local.INFO: GPS data processed {"connection_id":186395,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:42:37] local.INFO: Acknowledgment sent {"connection_id":186395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:42:58] local.INFO: TCP Data received {"connection_id":184983,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:42:58] local.INFO: Processing buffer {"connection_id":184983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:42:58] local.INFO: IMEI packet received {"connection_id":184983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":184983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:43:02] local.INFO: TCP Data received {"connection_id":185105,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:02] local.INFO: Processing buffer {"connection_id":185105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:02] local.INFO: IMEI packet received {"connection_id":185105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":185105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:43:03] local.INFO: TCP Data received {"connection_id":184983,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:43:03] local.INFO: Processing buffer {"connection_id":184983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:43:03] local.INFO: IMEI packet received {"connection_id":184983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":184983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:43:04] local.INFO: TCP Data received {"connection_id":184983,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:43:04] local.INFO: Processing buffer {"connection_id":184983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad8c4fe8012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:43:04] local.INFO: Packet analysis {"connection_id":184983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:43:04] local.INFO: Extracted packet for processing {"connection_id":184983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad8c"} 
[2026-09-17 09:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142143488001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789618049000,"timestamp_ms":1789618049000,"timestamp_seconds":1789618049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad8c4fe8"} 
[2026-09-17 09:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:43:04] 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-09-17 09:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142143488001,"66":25419,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142143488001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142143488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":184983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:43:04] local.INFO: GPS data processed {"connection_id":184983,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:43:04] local.INFO: Acknowledgment sent {"connection_id":184983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:43:07] local.INFO: TCP Data received {"connection_id":185105,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:07] local.INFO: Processing buffer {"connection_id":185105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:07] local.INFO: IMEI packet received {"connection_id":185105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":185105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:43:09] local.INFO: TCP Data received {"connection_id":185105,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad905340012d0d274007043b280017000c21..."} 
[2026-09-17 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad905340012d0d274007043b280017000c21..."} 
[2026-09-17 09:43:09] local.INFO: Processing buffer {"connection_id":185105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad905340012d0d274007043b280017000c21..."} 
[2026-09-17 09:43:09] local.INFO: Packet analysis {"connection_id":185105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:43:09] local.INFO: Extracted packet for processing {"connection_id":185105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:43:09] local.INFO: GPS Element Parsed {"raw_longitude":755836736,"raw_latitude":117717800,"longitude_deg":75.5836736,"latitude_deg":11.77178,"altitude":23,"angle":12,"satellites":33,"speed":0,"hex_longitude":"2d0d2740","hex_latitude":"07043b28","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142282752001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32634454300164096,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947022589278261248,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789618312000,"timestamp_ms":1789618312000,"timestamp_seconds":1789618312,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad905340"} 
[2026-09-17 09:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 09:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142282752001,"66":14396,"16":32634454300164096,"94":11008,"24":0,"45":947022589278261248},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142282752001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32634454300164096,"km_value":32634454300164.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:43:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":947022589278261248,"description":"Unknown IO ID 45"} 
[2026-09-17 09:43:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142282752001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":947022589278261248}} 
[2026-09-17 09:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":185105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854439,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:43:09] local.INFO: GPS data processed {"connection_id":185105,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:43:09] local.INFO: Acknowledgment sent {"connection_id":185105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:43:13] local.INFO: TCP Data received {"connection_id":185105,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad908dd8012d0d278007043d080017001723..."} 
[2026-09-17 09:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad908dd8012d0d278007043d080017001723..."} 
[2026-09-17 09:43:13] local.INFO: Processing buffer {"connection_id":185105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad908dd8012d0d278007043d080017001723..."} 
[2026-09-17 09:43:13] local.INFO: Packet analysis {"connection_id":185105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:43:13] local.INFO: Extracted packet for processing {"connection_id":185105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:43:13] local.INFO: GPS Element Parsed {"raw_longitude":755836800,"raw_latitude":117718280,"longitude_deg":75.58368,"latitude_deg":11.771828,"altitude":23,"angle":23,"satellites":35,"speed":7,"hex_longitude":"2d0d2780","hex_latitude":"07043d08","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142287872001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32634480069967872,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947796645464713216,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789618327000,"timestamp_ms":1789618327000,"timestamp_seconds":1789618327,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad908dd8"} 
[2026-09-17 09:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 09:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142287872001,"66":14537,"95":206,"94":10240,"24":7,"16":32634480069967872,"45":947796645464713216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 09:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142287872001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:43:13] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 09:43:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32634480069967872,"km_value":32634480069967.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":947796645464713216,"description":"Unknown IO ID 45"} 
[2026-09-17 09:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142287872001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":947796645464713216}} 
[2026-09-17 09:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":185105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854440,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:43:13] local.INFO: GPS data processed {"connection_id":185105,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:43:13] local.INFO: Acknowledgment sent {"connection_id":185105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:43:37] local.INFO: TCP Data received {"connection_id":184983,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:43:37] local.INFO: Processing buffer {"connection_id":184983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:43:37] local.INFO: Packet analysis {"connection_id":184983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:43:37] local.INFO: Extracted packet for processing {"connection_id":184983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:43:37] 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-09-17 09:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":184983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:43:37] local.INFO: GPS data processed {"connection_id":184983,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:43:37] local.INFO: Acknowledgment sent {"connection_id":184983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:43:53] local.INFO: TCP Data received {"connection_id":187710,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187710,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:53] local.INFO: Processing buffer {"connection_id":187710,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:53] local.INFO: IMEI packet received {"connection_id":187710,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":187710,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:43:54] local.INFO: TCP Data received {"connection_id":187710,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187710,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:54] local.INFO: Processing buffer {"connection_id":187710,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:54] local.INFO: IMEI packet received {"connection_id":187710,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":187710,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:43:57] local.INFO: TCP Data received {"connection_id":187710,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187710,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:57] local.INFO: Processing buffer {"connection_id":187710,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:43:57] local.INFO: IMEI packet received {"connection_id":187710,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":187710,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:44:02] local.INFO: TCP Data received {"connection_id":187711,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:44:02] local.INFO: Processing buffer {"connection_id":187711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:44:02] local.INFO: IMEI packet received {"connection_id":187711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":187711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:44:02] local.INFO: TCP Data received {"connection_id":187710,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187710,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:02] local.INFO: Processing buffer {"connection_id":187710,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:02] local.INFO: IMEI packet received {"connection_id":187710,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":187710,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:44:03] local.INFO: TCP Data received {"connection_id":187710,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad91a718012d0d38c007049b18001e000423..."} 
[2026-09-17 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad91a718012d0d38c007049b18001e000423..."} 
[2026-09-17 09:44:03] local.INFO: Processing buffer {"connection_id":187710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad91a718012d0d38c007049b18001e000423..."} 
[2026-09-17 09:44:03] local.INFO: Packet analysis {"connection_id":187710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad91"} 
[2026-09-17 09:44:03] local.INFO: Extracted packet for processing {"connection_id":187710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad91"} 
[2026-09-17 09:44:03] local.INFO: GPS Element Parsed {"raw_longitude":755841216,"raw_latitude":117742360,"longitude_deg":75.5841216,"latitude_deg":11.774236,"altitude":30,"angle":4,"satellites":35,"speed":5,"hex_longitude":"2d0d38c0","hex_latitude":"07049b18","is_valid_coordinates":true} 
[2026-09-17 09:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142309632001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32635682660810752,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952722457563353088,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618399000,"timestamp_ms":1789618399000,"timestamp_seconds":1789618399,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad91a718"} 
[2026-09-17 09:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 09:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142309632001,"66":14450,"17":206,"94":11008,"24":5,"16":32635682660810752,"45":952722457563353088},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142309632001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:44:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32635682660810752,"km_value":32635682660810.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":952722457563353088,"description":"Unknown IO ID 45"} 
[2026-09-17 09:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142309632001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":952722457563353088}} 
[2026-09-17 09:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":187710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854442,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:44:03] local.INFO: GPS data processed {"connection_id":187710,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:44:03] local.INFO: Acknowledgment sent {"connection_id":187710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:44:03] local.INFO: TCP Data received {"connection_id":187711,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:44:03] local.INFO: Processing buffer {"connection_id":187711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:44:03] local.INFO: IMEI packet received {"connection_id":187711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":187711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:44:05] local.INFO: TCP Data received {"connection_id":187711,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:44:05] local.INFO: Processing buffer {"connection_id":187711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:44:05] local.INFO: Packet analysis {"connection_id":187711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:44:05] local.INFO: Extracted packet for processing {"connection_id":187711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:44:05] 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-09-17 09:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:44:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":187711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:44:05] local.INFO: GPS data processed {"connection_id":187711,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:44:05] local.INFO: Acknowledgment sent {"connection_id":187711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:44:06] local.INFO: TCP Data received {"connection_id":187710,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad91b6b8012d0d38c007049e50001e016123..."} 
[2026-09-17 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad91b6b8012d0d38c007049e50001e016123..."} 
[2026-09-17 09:44:06] local.INFO: Processing buffer {"connection_id":187710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad91b6b8012d0d38c007049e50001e016123..."} 
[2026-09-17 09:44:06] local.INFO: Packet analysis {"connection_id":187710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad91"} 
[2026-09-17 09:44:06] local.INFO: Extracted packet for processing {"connection_id":187710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad91"} 
[2026-09-17 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":755841216,"raw_latitude":117743184,"longitude_deg":75.5841216,"latitude_deg":11.7743184,"altitude":30,"angle":353,"satellites":35,"speed":9,"hex_longitude":"2d0d38c0","hex_latitude":"07049e50","is_valid_coordinates":true} 
[2026-09-17 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142310144001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32635725610483712,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952722457563437056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789618403000,"timestamp_ms":1789618403000,"timestamp_seconds":1789618403,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad91b6b8"} 
[2026-09-17 09:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":187710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":187710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":187710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142310144001,"66":14591,"17":206,"94":11008,"24":9,"16":32635725610483712,"45":952722457563437056},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142310144001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:44:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32635725610483712,"km_value":32635725610483.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":952722457563437056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142310144001,"power":14591,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":952722457563437056}} 
[2026-09-17 09:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":187710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854444,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:44:06] local.INFO: GPS data processed {"connection_id":187710,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:44:06] local.INFO: Acknowledgment sent {"connection_id":187710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:44:10] local.INFO: TCP Data received {"connection_id":187711,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:44:10] local.INFO: Processing buffer {"connection_id":187711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:44:10] local.INFO: Packet analysis {"connection_id":187711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:44:10] local.INFO: Extracted packet for processing {"connection_id":187711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:44: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-09-17 09:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:44: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-09-17 09:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:44: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-09-17 09:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":187711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:44:10] local.INFO: GPS data processed {"connection_id":187711,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:44:10] local.INFO: Acknowledgment sent {"connection_id":187711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:44:37] local.INFO: TCP Data received {"connection_id":187710,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad91d9e0012d0d39400704a9e80020000623..."} 
[2026-09-17 09:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad91d9e0012d0d39400704a9e80020000623..."} 
[2026-09-17 09:44:37] local.INFO: Processing buffer {"connection_id":187710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad91d9e0012d0d39400704a9e80020000623..."} 
[2026-09-17 09:44:37] local.INFO: Packet analysis {"connection_id":187710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad91"} 
[2026-09-17 09:44:37] local.INFO: Extracted packet for processing {"connection_id":187710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad91"} 
[2026-09-17 09:44:37] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117746152,"longitude_deg":75.5841344,"latitude_deg":11.7746152,"altitude":32,"angle":6,"satellites":35,"speed":15,"hex_longitude":"2d0d3940","hex_latitude":"0704a9e8","is_valid_coordinates":true} 
[2026-09-17 09:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142311168001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32635871639371776,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952722457563648000,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789618412000,"timestamp_ms":1789618412000,"timestamp_seconds":1789618412,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad91d9e0"} 
[2026-09-17 09:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-17 09:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142311168001,"66":14548,"17":206,"94":11008,"24":15,"16":32635871639371776,"45":952722457563648000},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142311168001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:44:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32635871639371776,"km_value":32635871639371.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":952722457563648000,"description":"Unknown IO ID 45"} 
[2026-09-17 09:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142311168001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":952722457563648000}} 
[2026-09-17 09:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":187710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:44:37] local.INFO: GPS data processed {"connection_id":187710,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:44:37] local.INFO: Acknowledgment sent {"connection_id":187710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:44:43] local.INFO: TCP Data received {"connection_id":187711,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:44:43] local.INFO: Processing buffer {"connection_id":187711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:44:43] local.INFO: Packet analysis {"connection_id":187711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:44:43] local.INFO: Extracted packet for processing {"connection_id":187711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:44:43] 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-09-17 09:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:44:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":187711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:44:43] local.INFO: GPS data processed {"connection_id":187711,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:44:43] local.INFO: Acknowledgment sent {"connection_id":187711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:44:56] local.INFO: TCP Data received {"connection_id":184984,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:56] local.INFO: Processing buffer {"connection_id":184984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:56] local.INFO: IMEI packet received {"connection_id":184984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":184984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:44:57] local.INFO: TCP Data received {"connection_id":184984,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:57] local.INFO: Processing buffer {"connection_id":184984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:57] local.INFO: IMEI packet received {"connection_id":184984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":184984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:44:57] local.INFO: TCP Data received {"connection_id":184984,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:57] local.INFO: Processing buffer {"connection_id":184984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:44:57] local.INFO: IMEI packet received {"connection_id":184984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":184984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:44:58] local.INFO: TCP Data received {"connection_id":184985,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:44:58] local.INFO: Processing buffer {"connection_id":184985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:44:58] local.INFO: IMEI packet received {"connection_id":184985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":184985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:45:01] local.INFO: TCP Data received {"connection_id":184984,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:45:01] local.INFO: Processing buffer {"connection_id":184984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:45:01] local.INFO: IMEI packet received {"connection_id":184984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":184984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:45:02] local.INFO: TCP Data received {"connection_id":184984,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad92ef38012d0cb9400704bc700026011722..."} 
[2026-09-17 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad92ef38012d0cb9400704bc700026011722..."} 
[2026-09-17 09:45:02] local.INFO: Processing buffer {"connection_id":184984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad92ef38012d0cb9400704bc700026011722..."} 
[2026-09-17 09:45:02] local.INFO: Packet analysis {"connection_id":184984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad92"} 
[2026-09-17 09:45:02] local.INFO: Extracted packet for processing {"connection_id":184984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad92"} 
[2026-09-17 09:45:02] local.INFO: GPS Element Parsed {"raw_longitude":755808576,"raw_latitude":117750896,"longitude_deg":75.5808576,"latitude_deg":11.7750896,"altitude":38,"angle":279,"satellites":34,"speed":28,"hex_longitude":"2d0cb940","hex_latitude":"0704bc70","is_valid_coordinates":true} 
[2026-09-17 09:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142331136001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32637666935701504,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":918382510406914048,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789618483000,"timestamp_ms":1789618483000,"timestamp_seconds":1789618483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad92ef38"} 
[2026-09-17 09:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 09:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":184984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":184984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":184984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142331136001,"66":14439,"17":206,"94":11008,"24":28,"16":32637666935701504,"45":918382510406914048},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142331136001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:45:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32637666935701504,"km_value":32637666935701.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":918382510406914048,"description":"Unknown IO ID 45"} 
[2026-09-17 09:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142331136001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":918382510406914048}} 
[2026-09-17 09:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":184984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854448,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:45:02] local.INFO: GPS data processed {"connection_id":184984,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:45:02] local.INFO: Acknowledgment sent {"connection_id":184984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:45:04] local.INFO: TCP Data received {"connection_id":184985,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:45:04] local.INFO: Processing buffer {"connection_id":184985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:45:04] local.INFO: IMEI packet received {"connection_id":184985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":184985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:45:05] local.INFO: TCP Data received {"connection_id":184985,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:45:05] local.INFO: Processing buffer {"connection_id":184985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:45:05] local.INFO: Packet analysis {"connection_id":184985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:45:05] local.INFO: Extracted packet for processing {"connection_id":184985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:45:05] 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-09-17 09:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":184985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:45:05] local.INFO: GPS data processed {"connection_id":184985,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:45:05] local.INFO: Acknowledgment sent {"connection_id":184985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:45:33] local.INFO: TCP Data received {"connection_id":184984,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9302c0012d0cab000704c0b80025012222..."} 
[2026-09-17 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9302c0012d0cab000704c0b80025012222..."} 
[2026-09-17 09:45:33] local.INFO: Processing buffer {"connection_id":184984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9302c0012d0cab000704c0b80025012222..."} 
[2026-09-17 09:45:33] local.INFO: Packet analysis {"connection_id":184984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad93"} 
[2026-09-17 09:45:33] local.INFO: Extracted packet for processing {"connection_id":184984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad93"} 
[2026-09-17 09:45:33] local.INFO: GPS Element Parsed {"raw_longitude":755804928,"raw_latitude":117751992,"longitude_deg":75.5804928,"latitude_deg":11.7751992,"altitude":37,"angle":290,"satellites":34,"speed":26,"hex_longitude":"2d0cab00","hex_latitude":"0704c0b8","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142331648001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32637847324327936,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916834398035013632,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789618488000,"timestamp_ms":1789618488000,"timestamp_seconds":1789618488,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9302c0"} 
[2026-09-17 09:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 09:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":184984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":184984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":184984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142331648001,"66":14580,"17":206,"94":11008,"24":26,"16":32637847324327936,"45":916834398035013632},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142331648001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:45:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32637847324327936,"km_value":32637847324327.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":916834398035013632,"description":"Unknown IO ID 45"} 
[2026-09-17 09:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142331648001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":916834398035013632}} 
[2026-09-17 09:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":184984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:45:33] local.INFO: GPS data processed {"connection_id":184984,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:45:33] local.INFO: Acknowledgment sent {"connection_id":184984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:45:37] local.INFO: TCP Data received {"connection_id":184985,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:45:37] local.INFO: Processing buffer {"connection_id":184985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:45:37] local.INFO: Packet analysis {"connection_id":184985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:45:37] local.INFO: Extracted packet for processing {"connection_id":184985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:45:37] 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-09-17 09:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":184985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:45:37] local.INFO: GPS data processed {"connection_id":184985,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:45:37] local.INFO: Acknowledgment sent {"connection_id":184985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:45:57] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:45:57] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:45:57] local.INFO: IMEI packet received {"connection_id":186398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":186398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:45:57] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:45:57] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:45:57] local.INFO: IMEI packet received {"connection_id":186398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":186398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:45:58] local.INFO: TCP Data received {"connection_id":185106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:45:58] local.INFO: Processing buffer {"connection_id":185106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:45:58] local.INFO: IMEI packet received {"connection_id":185106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":185106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:46:02] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:46:02] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:46:02] local.INFO: IMEI packet received {"connection_id":186398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":186398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:46:03] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad93ba58012d0cb78007048a78001e009820..."} 
[2026-09-17 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad93ba58012d0cb78007048a78001e009820..."} 
[2026-09-17 09:46:03] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad93ba58012d0cb78007048a78001e009820..."} 
[2026-09-17 09:46:03] local.INFO: Packet analysis {"connection_id":186398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad93"} 
[2026-09-17 09:46:03] local.INFO: Extracted packet for processing {"connection_id":186398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad93"} 
[2026-09-17 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":755808128,"raw_latitude":117738104,"longitude_deg":75.5808128,"latitude_deg":11.7738104,"altitude":30,"angle":152,"satellites":32,"speed":39,"hex_longitude":"2d0cb780","hex_latitude":"07048a78","is_valid_coordinates":true} 
[2026-09-17 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142342656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32639187354124288,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910290104825245696,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618535000,"timestamp_ms":1789618535000,"timestamp_seconds":1789618535,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad93ba58"} 
[2026-09-17 09:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142342656001,"66":14407,"95":206,"94":10240,"24":39,"16":32639187354124288,"45":910290104825245696},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 09:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142342656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:46:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 09:46:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32639187354124288,"km_value":32639187354124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":910290104825245696,"description":"Unknown IO ID 45"} 
[2026-09-17 09:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142342656001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":910290104825245696}} 
[2026-09-17 09:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":186398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854452,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:46:03] local.INFO: GPS data processed {"connection_id":186398,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:46:03] local.INFO: Acknowledgment sent {"connection_id":186398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:46:03] local.INFO: TCP Data received {"connection_id":185106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:46:03] local.INFO: Processing buffer {"connection_id":185106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:46:03] local.INFO: IMEI packet received {"connection_id":185106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":185106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:46:07] local.INFO: TCP Data received {"connection_id":185106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:46:07] local.INFO: Processing buffer {"connection_id":185106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:46:07] local.INFO: Packet analysis {"connection_id":185106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:46:07] local.INFO: Extracted packet for processing {"connection_id":185106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:46:07] 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-09-17 09:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":185106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:46:07] local.INFO: GPS data processed {"connection_id":185106,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:46:07] local.INFO: Acknowledgment sent {"connection_id":185106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:46:11] local.INFO: TCP Data received {"connection_id":187712,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:46:11] local.INFO: Processing buffer {"connection_id":187712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:46:11] local.INFO: IMEI packet received {"connection_id":187712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":187712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:46:34] local.INFO: TCP Data received {"connection_id":186398,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad93c228012d0cba80070482e8001d00a620..."} 
[2026-09-17 09:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad93c228012d0cba80070482e8001d00a620..."} 
[2026-09-17 09:46:34] local.INFO: Processing buffer {"connection_id":186398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad93c228012d0cba80070482e8001d00a620..."} 
[2026-09-17 09:46:34] local.INFO: Packet analysis {"connection_id":186398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad93"} 
[2026-09-17 09:46:34] local.INFO: Extracted packet for processing {"connection_id":186398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad93"} 
[2026-09-17 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117736168,"longitude_deg":75.5808896,"latitude_deg":11.7736168,"altitude":29,"angle":166,"satellites":32,"speed":41,"hex_longitude":"2d0cba80","hex_latitude":"070482e8","is_valid_coordinates":true} 
[2026-09-17 09:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142344960001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32639286138372096,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916341816822495232,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789618537000,"timestamp_ms":1789618537000,"timestamp_seconds":1789618537,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad93c228"} 
[2026-09-17 09:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 09:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142344960001,"66":14537,"95":206,"94":10240,"24":41,"16":32639286138372096,"45":916341816822495232},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 09:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142344960001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:46:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 09:46:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 09:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32639286138372096,"km_value":32639286138372.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":916341816822495232,"description":"Unknown IO ID 45"} 
[2026-09-17 09:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142344960001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":916341816822495232}} 
[2026-09-17 09:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":186398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:46:35] local.INFO: GPS data processed {"connection_id":186398,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:46:35] local.INFO: Acknowledgment sent {"connection_id":186398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:46:39] local.INFO: TCP Data received {"connection_id":185106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:46:39] local.INFO: Processing buffer {"connection_id":185106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:46:39] local.INFO: Packet analysis {"connection_id":185106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:46:39] local.INFO: Extracted packet for processing {"connection_id":185106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:46: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-09-17 09:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":185106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:46:39] local.INFO: GPS data processed {"connection_id":185106,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:46:39] local.INFO: Acknowledgment sent {"connection_id":185106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:46:51] local.INFO: TCP Data received {"connection_id":185107,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:46:51] local.INFO: Processing buffer {"connection_id":185107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:46:51] local.INFO: IMEI packet received {"connection_id":185107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":185107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:46:56] local.INFO: TCP Data received {"connection_id":187713,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:46:56] local.INFO: Processing buffer {"connection_id":187713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:46:56] local.INFO: IMEI packet received {"connection_id":187713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":187713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:46:57] local.INFO: TCP Data received {"connection_id":187713,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:46:57] local.INFO: Processing buffer {"connection_id":187713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:46:57] local.INFO: IMEI packet received {"connection_id":187713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":187713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:47:00] local.INFO: TCP Data received {"connection_id":187713,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:47:00] local.INFO: Processing buffer {"connection_id":187713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:47:00] local.INFO: IMEI packet received {"connection_id":187713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":187713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:47:01] local.INFO: TCP Data received {"connection_id":187713,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad94b458012d0c56400703e290001800591f..."} 
[2026-09-17 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad94b458012d0c56400703e290001800591f..."} 
[2026-09-17 09:47:01] local.INFO: Processing buffer {"connection_id":187713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad94b458012d0c56400703e290001800591f..."} 
[2026-09-17 09:47:01] local.INFO: Packet analysis {"connection_id":187713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad94"} 
[2026-09-17 09:47:01] local.INFO: Extracted packet for processing {"connection_id":187713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad94"} 
[2026-09-17 09:47:01] local.INFO: GPS Element Parsed {"raw_longitude":755783232,"raw_latitude":117695120,"longitude_deg":75.5783232,"latitude_deg":11.769512,"altitude":24,"angle":89,"satellites":31,"speed":6,"hex_longitude":"2d0c5640","hex_latitude":"0703e290","is_valid_coordinates":true} 
[2026-09-17 09:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142361088001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32641828759011328,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686900349677568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789618599000,"timestamp_ms":1789618599000,"timestamp_seconds":1789618599,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad94b458"} 
[2026-09-17 09:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 09:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":187713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":187713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":187713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142361088001,"66":14374,"16":32641828759011328,"94":11008,"24":6,"45":888686900349677568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142361088001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32641828759011328,"km_value":32641828759011.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:47:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686900349677568,"description":"Unknown IO ID 45"} 
[2026-09-17 09:47:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142361088001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":888686900349677568}} 
[2026-09-17 09:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":187713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854456,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:47:01] local.INFO: GPS data processed {"connection_id":187713,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:47:01] local.INFO: Acknowledgment sent {"connection_id":187713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:47:04] local.INFO: TCP Data received {"connection_id":184986,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:47:04] local.INFO: Processing buffer {"connection_id":184986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:47:04] local.INFO: IMEI packet received {"connection_id":184986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":184986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:47:09] local.INFO: TCP Data received {"connection_id":184986,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:47:09] local.INFO: Processing buffer {"connection_id":184986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:47:09] local.INFO: IMEI packet received {"connection_id":184986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":184986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:47:11] local.INFO: TCP Data received {"connection_id":184986,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:47:11] local.INFO: Processing buffer {"connection_id":184986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:47:11] local.INFO: Packet analysis {"connection_id":184986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:47:11] local.INFO: Extracted packet for processing {"connection_id":184986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:47:11] 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-09-17 09:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":184986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:47:11] local.INFO: GPS data processed {"connection_id":184986,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:47:11] local.INFO: Acknowledgment sent {"connection_id":184986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:47:14] local.INFO: TCP Data received {"connection_id":184986,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:47:14] local.INFO: Processing buffer {"connection_id":184986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:47:14] local.INFO: Packet analysis {"connection_id":184986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:47:14] local.INFO: Extracted packet for processing {"connection_id":184986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:47: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-09-17 09:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":184986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:47:14] local.INFO: GPS data processed {"connection_id":184986,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:47:14] local.INFO: Acknowledgment sent {"connection_id":184986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:47:32] local.INFO: TCP Data received {"connection_id":187713,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad94eb08012d0c64400703e1f0001a00691f..."} 
[2026-09-17 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad94eb08012d0c64400703e1f0001a00691f..."} 
[2026-09-17 09:47:32] local.INFO: Processing buffer {"connection_id":187713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad94eb08012d0c64400703e1f0001a00691f..."} 
[2026-09-17 09:47:32] local.INFO: Packet analysis {"connection_id":187713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad94"} 
[2026-09-17 09:47:32] local.INFO: Extracted packet for processing {"connection_id":187713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad94"} 
[2026-09-17 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":117694960,"longitude_deg":75.5786816,"latitude_deg":11.769496,"altitude":26,"angle":105,"satellites":31,"speed":8,"hex_longitude":"2d0c6440","hex_latitude":"0703e1f0","is_valid_coordinates":true} 
[2026-09-17 09:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142361344001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32641996262735872,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888968375326380032,"note":"Value kept but may cause issues"} 
[2026-09-17 09:47:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789618613000,"timestamp_ms":1789618613000,"timestamp_seconds":1789618613,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad94eb08"} 
[2026-09-17 09:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 09:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142361344001,"66":14537,"16":32641996262735872,"94":11008,"24":8,"45":888968375326380032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142361344001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32641996262735872,"km_value":32641996262735.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:47:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":888968375326380032,"description":"Unknown IO ID 45"} 
[2026-09-17 09:47:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142361344001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":888968375326380032}} 
[2026-09-17 09:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":187713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:47:32] local.INFO: GPS data processed {"connection_id":187713,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:47:32] local.INFO: Acknowledgment sent {"connection_id":187713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:47:57] local.INFO: TCP Data received {"connection_id":185108,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:47:57] local.INFO: Processing buffer {"connection_id":185108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:47:57] local.INFO: IMEI packet received {"connection_id":185108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":185108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:48:00] local.INFO: TCP Data received {"connection_id":185109,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:48:00] local.INFO: Processing buffer {"connection_id":185109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:48:00] local.INFO: IMEI packet received {"connection_id":185109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":185109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:48:02] local.INFO: TCP Data received {"connection_id":185108,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:48:02] local.INFO: Processing buffer {"connection_id":185108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:48:02] local.INFO: IMEI packet received {"connection_id":185108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":185108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:48:03] local.INFO: TCP Data received {"connection_id":185108,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad94f2d8012d0c66400703e1e0001a005c1e..."} 
[2026-09-17 09:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad94f2d8012d0c66400703e1e0001a005c1e..."} 
[2026-09-17 09:48:03] local.INFO: Processing buffer {"connection_id":185108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad94f2d8012d0c66400703e1e0001a005c1e..."} 
[2026-09-17 09:48:03] local.INFO: Packet analysis {"connection_id":185108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad94"} 
[2026-09-17 09:48:03] local.INFO: Extracted packet for processing {"connection_id":185108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad94"} 
[2026-09-17 09:48:03] local.INFO: GPS Element Parsed {"raw_longitude":755787328,"raw_latitude":117694944,"longitude_deg":75.5787328,"latitude_deg":11.7694944,"altitude":26,"angle":92,"satellites":30,"speed":12,"hex_longitude":"2d0c6640","hex_latitude":"0703e1e0","is_valid_coordinates":true} 
[2026-09-17 09:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142364928001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32642022032539648,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892909025000288256,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618615000,"timestamp_ms":1789618615000,"timestamp_seconds":1789618615,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad94f2d8"} 
[2026-09-17 09:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 09:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142364928001,"66":14537,"16":32642022032539648,"94":11008,"24":12,"45":892909025000288256},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142364928001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32642022032539648,"km_value":32642022032539.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:48:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":892909025000288256,"description":"Unknown IO ID 45"} 
[2026-09-17 09:48:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142364928001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":892909025000288256}} 
[2026-09-17 09:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":185108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854460,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:48:04] local.INFO: GPS data processed {"connection_id":185108,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:48:04] local.INFO: Acknowledgment sent {"connection_id":185108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:48:04] local.INFO: TCP Data received {"connection_id":185109,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:48:04] local.INFO: Processing buffer {"connection_id":185109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:48:04] local.INFO: IMEI packet received {"connection_id":185109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":185109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:48:07] local.INFO: TCP Data received {"connection_id":185109,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:48:07] local.INFO: Processing buffer {"connection_id":185109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:48:07] local.INFO: Packet analysis {"connection_id":185109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:48:07] local.INFO: Extracted packet for processing {"connection_id":185109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:48:07] 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-09-17 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:48:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":185109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:48:07] local.INFO: GPS data processed {"connection_id":185109,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:48:07] local.INFO: Acknowledgment sent {"connection_id":185109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:48:09] local.INFO: TCP Data received {"connection_id":185109,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:48:09] local.INFO: Processing buffer {"connection_id":185109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad90e7b0012d34c3c006aa4458000c01172c..."} 
[2026-09-17 09:48:09] local.INFO: Packet analysis {"connection_id":185109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:48:09] local.INFO: Extracted packet for processing {"connection_id":185109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad90"} 
[2026-09-17 09:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142220544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789618350000,"timestamp_ms":1789618350000,"timestamp_seconds":1789618350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad90e7b0"} 
[2026-09-17 09:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 09:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:48: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-09-17 09:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142220544001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142220544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142220544001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":185109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:48:09] local.INFO: GPS data processed {"connection_id":185109,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:48:09] local.INFO: Acknowledgment sent {"connection_id":185109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:48:35] local.INFO: TCP Data received {"connection_id":185108,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad965a38012d0c62c0070371b0001a00cd1c..."} 
[2026-09-17 09:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad965a38012d0c62c0070371b0001a00cd1c..."} 
[2026-09-17 09:48:35] local.INFO: Processing buffer {"connection_id":185108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad965a38012d0c62c0070371b0001a00cd1c..."} 
[2026-09-17 09:48:35] local.INFO: Packet analysis {"connection_id":185108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad96"} 
[2026-09-17 09:48:35] local.INFO: Extracted packet for processing {"connection_id":185108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad96"} 
[2026-09-17 09:48:35] local.INFO: GPS Element Parsed {"raw_longitude":755786432,"raw_latitude":117666224,"longitude_deg":75.5786432,"latitude_deg":11.7666224,"altitude":26,"angle":205,"satellites":28,"speed":7,"hex_longitude":"2d0c62c0","hex_latitude":"070371b0","is_valid_coordinates":true} 
[2026-09-17 09:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142388736001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32643508091224064,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892557181272094720,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789618707000,"timestamp_ms":1789618707000,"timestamp_seconds":1789618707,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad965a38"} 
[2026-09-17 09:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 09:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142388736001,"66":14374,"16":32643508091224064,"94":11008,"24":7,"45":892557181272094720},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142388736001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32643508091224064,"km_value":32643508091224.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:48:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":892557181272094720,"description":"Unknown IO ID 45"} 
[2026-09-17 09:48:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142388736001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":892557181272094720}} 
[2026-09-17 09:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":185108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854463,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:48:35] local.INFO: GPS data processed {"connection_id":185108,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:48:35] local.INFO: Acknowledgment sent {"connection_id":185108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:48:41] local.INFO: TCP Data received {"connection_id":185109,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:48:41] local.INFO: Processing buffer {"connection_id":185109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:48:41] local.INFO: Packet analysis {"connection_id":185109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:48:41] local.INFO: Extracted packet for processing {"connection_id":185109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:48: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-09-17 09:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":185109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:48:41] local.INFO: GPS data processed {"connection_id":185109,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:48:41] local.INFO: Acknowledgment sent {"connection_id":185109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:48:57] local.INFO: TCP Data received {"connection_id":187714,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:48:57] local.INFO: Processing buffer {"connection_id":187714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:48:57] local.INFO: IMEI packet received {"connection_id":187714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":187714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:48:58] local.INFO: TCP Data received {"connection_id":187715,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:48:58] local.INFO: Processing buffer {"connection_id":187715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:48:58] local.INFO: IMEI packet received {"connection_id":187715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":187715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:48:58] local.INFO: TCP Data received {"connection_id":187714,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:48:58] local.INFO: Processing buffer {"connection_id":187714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:48:58] local.INFO: IMEI packet received {"connection_id":187714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":187714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:49:02] local.INFO: TCP Data received {"connection_id":187714,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:49:02] local.INFO: Processing buffer {"connection_id":187714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:49:02] local.INFO: IMEI packet received {"connection_id":187714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":187714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:49:03] local.INFO: TCP Data received {"connection_id":187714,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad965e20012d0c6240070370f0001a00dd1c..."} 
[2026-09-17 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad965e20012d0c6240070370f0001a00dd1c..."} 
[2026-09-17 09:49:03] local.INFO: Processing buffer {"connection_id":187714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad965e20012d0c6240070370f0001a00dd1c..."} 
[2026-09-17 09:49:03] local.INFO: Packet analysis {"connection_id":187714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad96"} 
[2026-09-17 09:49:03] local.INFO: Extracted packet for processing {"connection_id":187714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad96"} 
[2026-09-17 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":755786304,"raw_latitude":117666032,"longitude_deg":75.5786304,"latitude_deg":11.7666032,"altitude":26,"angle":221,"satellites":28,"speed":10,"hex_longitude":"2d0c6240","hex_latitude":"070370f0","is_valid_coordinates":true} 
[2026-09-17 09:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142388992001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32643520976125952,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892486812527865856,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618708000,"timestamp_ms":1789618708000,"timestamp_seconds":1789618708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad965e20"} 
[2026-09-17 09:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 09:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142388992001,"66":14233,"16":32643520976125952,"94":11008,"24":10,"45":892486812527865856},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142388992001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32643520976125952,"km_value":32643520976125.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:49:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":892486812527865856,"description":"Unknown IO ID 45"} 
[2026-09-17 09:49:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142388992001,"power":14233,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":892486812527865856}} 
[2026-09-17 09:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":187714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854465,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:49:03] local.INFO: GPS data processed {"connection_id":187714,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:49:03] local.INFO: Acknowledgment sent {"connection_id":187714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:49:03] local.INFO: TCP Data received {"connection_id":187715,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:49:03] local.INFO: Processing buffer {"connection_id":187715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:49:03] local.INFO: IMEI packet received {"connection_id":187715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":187715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:49:05] local.INFO: TCP Data received {"connection_id":187715,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:49:05] local.INFO: Processing buffer {"connection_id":187715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:49:05] local.INFO: Packet analysis {"connection_id":187715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:49:05] local.INFO: Extracted packet for processing {"connection_id":187715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:49:05] 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-09-17 09:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":187715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:49:05] local.INFO: GPS data processed {"connection_id":187715,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:49:05] local.INFO: Acknowledgment sent {"connection_id":187715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:49:34] local.INFO: TCP Data received {"connection_id":187714,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9665f0012d0c608007036f90001900f61c..."} 
[2026-09-17 09:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9665f0012d0c608007036f90001900f61c..."} 
[2026-09-17 09:49:34] local.INFO: Processing buffer {"connection_id":187714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9665f0012d0c608007036f90001900f61c..."} 
[2026-09-17 09:49:34] local.INFO: Packet analysis {"connection_id":187714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad96"} 
[2026-09-17 09:49:34] local.INFO: Extracted packet for processing {"connection_id":187714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad96"} 
[2026-09-17 09:49:34] local.INFO: GPS Element Parsed {"raw_longitude":755785856,"raw_latitude":117665680,"longitude_deg":75.5785856,"latitude_deg":11.766568,"altitude":25,"angle":246,"satellites":28,"speed":12,"hex_longitude":"2d0c6080","hex_latitude":"07036f90","is_valid_coordinates":true} 
[2026-09-17 09:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142389248001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32643546745929728,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892346075039461376,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789618710000,"timestamp_ms":1789618710000,"timestamp_seconds":1789618710,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9665f0"} 
[2026-09-17 09:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 09:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142389248001,"66":14396,"16":32643546745929728,"94":11008,"24":12,"45":892346075039461376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142389248001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32643546745929728,"km_value":32643546745929.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:49:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":892346075039461376,"description":"Unknown IO ID 45"} 
[2026-09-17 09:49:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142389248001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":892346075039461376}} 
[2026-09-17 09:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":187714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854467,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:49:35] local.INFO: GPS data processed {"connection_id":187714,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:49:35] local.INFO: Acknowledgment sent {"connection_id":187714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:49:37] local.INFO: TCP Data received {"connection_id":187715,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:49:37] local.INFO: Processing buffer {"connection_id":187715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:49:37] local.INFO: Packet analysis {"connection_id":187715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:49:37] local.INFO: Extracted packet for processing {"connection_id":187715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:49:37] 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-09-17 09:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":187715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:49:37] local.INFO: GPS data processed {"connection_id":187715,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:49:37] local.INFO: Acknowledgment sent {"connection_id":187715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:50:02] local.INFO: TCP Data received {"connection_id":185110,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185110,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:50:02] local.INFO: Processing buffer {"connection_id":185110,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:50:02] local.INFO: IMEI packet received {"connection_id":185110,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":185110,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:50:03] local.INFO: TCP Data received {"connection_id":184989,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:50:03] local.INFO: Processing buffer {"connection_id":184989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:50:03] local.INFO: IMEI packet received {"connection_id":184989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":184989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:50:08] local.INFO: TCP Data received {"connection_id":185110,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185110,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:50:08] local.INFO: Processing buffer {"connection_id":185110,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:50:08] local.INFO: IMEI packet received {"connection_id":185110,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":185110,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:50:08] local.INFO: TCP Data received {"connection_id":185110,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad97ae10012d0c3700070359400015011228..."} 
[2026-09-17 09:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad97ae10012d0c3700070359400015011228..."} 
[2026-09-17 09:50:08] local.INFO: Processing buffer {"connection_id":185110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad97ae10012d0c3700070359400015011228..."} 
[2026-09-17 09:50:08] local.INFO: Packet analysis {"connection_id":185110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad97"} 
[2026-09-17 09:50:08] local.INFO: Extracted packet for processing {"connection_id":185110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad97"} 
[2026-09-17 09:50:08] local.INFO: GPS Element Parsed {"raw_longitude":755775232,"raw_latitude":117659968,"longitude_deg":75.5775232,"latitude_deg":11.7659968,"altitude":21,"angle":274,"satellites":40,"speed":4,"hex_longitude":"2d0c3700","hex_latitude":"07035940","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142411008001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32644190991024128,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880383388527699968,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789618794000,"timestamp_ms":1789618794000,"timestamp_seconds":1789618794,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad97ae10"} 
[2026-09-17 09:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 09:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142411008001,"66":14450,"16":32644190991024128,"94":11008,"24":4,"45":880383388527699968},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142411008001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32644190991024128,"km_value":32644190991024.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:50:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":880383388527699968,"description":"Unknown IO ID 45"} 
[2026-09-17 09:50:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142411008001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":4,"unknown_45":880383388527699968}} 
[2026-09-17 09:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":185110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:50:09] local.INFO: GPS data processed {"connection_id":185110,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:50:09] local.INFO: Acknowledgment sent {"connection_id":185110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:50:09] local.INFO: TCP Data received {"connection_id":184989,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:50:09] local.INFO: Processing buffer {"connection_id":184989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:50:09] local.INFO: IMEI packet received {"connection_id":184989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":184989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:50:11] local.INFO: TCP Data received {"connection_id":184989,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:50:11] local.INFO: Processing buffer {"connection_id":184989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:50:11] local.INFO: Packet analysis {"connection_id":184989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:50:11] local.INFO: Extracted packet for processing {"connection_id":184989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:50: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-09-17 09:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":184989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":184989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":184989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:50:11] 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-09-17 09:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:50:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:50:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":184989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:50:11] local.INFO: GPS data processed {"connection_id":184989,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:50:11] local.INFO: Acknowledgment sent {"connection_id":184989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:50:14] local.INFO: TCP Data received {"connection_id":184989,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:50:14] local.INFO: Processing buffer {"connection_id":184989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:50:14] local.INFO: Packet analysis {"connection_id":184989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:50:14] local.INFO: Extracted packet for processing {"connection_id":184989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":184989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":184989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":184989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:50: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-09-17 09:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:50:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":184989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:50:14] local.INFO: GPS data processed {"connection_id":184989,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:50:14] local.INFO: Acknowledgment sent {"connection_id":184989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:50:40] local.INFO: TCP Data received {"connection_id":185110,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad97c198012d0c30c0070358b80016010027..."} 
[2026-09-17 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad97c198012d0c30c0070358b80016010027..."} 
[2026-09-17 09:50:40] local.INFO: Processing buffer {"connection_id":185110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad97c198012d0c30c0070358b80016010027..."} 
[2026-09-17 09:50:40] local.INFO: Packet analysis {"connection_id":185110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad97"} 
[2026-09-17 09:50:40] local.INFO: Extracted packet for processing {"connection_id":185110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad97"} 
[2026-09-17 09:50:40] local.INFO: GPS Element Parsed {"raw_longitude":755773632,"raw_latitude":117659832,"longitude_deg":75.5773632,"latitude_deg":11.7659832,"altitude":22,"angle":256,"satellites":39,"speed":18,"hex_longitude":"2d0c30c0","hex_latitude":"070358b8","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142411264001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32644264005468160,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880172282295173120,"note":"Value kept but may cause issues"} 
[2026-09-17 09:50:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789618799000,"timestamp_ms":1789618799000,"timestamp_seconds":1789618799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad97c198"} 
[2026-09-17 09:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142411264001,"66":14428,"16":32644264005468160,"94":11008,"24":18,"45":880172282295173120},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142411264001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32644264005468160,"km_value":32644264005468.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:50:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":880172282295173120,"description":"Unknown IO ID 45"} 
[2026-09-17 09:50:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142411264001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":18,"unknown_45":880172282295173120}} 
[2026-09-17 09:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":185110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854472,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:50:40] local.INFO: GPS data processed {"connection_id":185110,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:50:40] local.INFO: Acknowledgment sent {"connection_id":185110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:50:57] local.INFO: TCP Data received {"connection_id":184990,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184990,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:50:57] local.INFO: Processing buffer {"connection_id":184990,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:50:57] local.INFO: IMEI packet received {"connection_id":184990,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":184990,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:50:58] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:50:58] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:50:58] local.INFO: IMEI packet received {"connection_id":186400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":186400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:51:02] local.INFO: TCP Data received {"connection_id":184990,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184990,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:51:02] local.INFO: Processing buffer {"connection_id":184990,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:51:02] local.INFO: IMEI packet received {"connection_id":184990,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":184990,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:51:03] local.INFO: TCP Data received {"connection_id":184990,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad97dcf0012d0c234007035460001600f225..."} 
[2026-09-17 09:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad97dcf0012d0c234007035460001600f225..."} 
[2026-09-17 09:51:03] local.INFO: Processing buffer {"connection_id":184990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad97dcf0012d0c234007035460001600f225..."} 
[2026-09-17 09:51:03] local.INFO: Packet analysis {"connection_id":184990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad97"} 
[2026-09-17 09:51:03] local.INFO: Extracted packet for processing {"connection_id":184990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad97"} 
[2026-09-17 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":755770176,"raw_latitude":117658720,"longitude_deg":75.5770176,"latitude_deg":11.765872,"altitude":22,"angle":242,"satellites":37,"speed":21,"hex_longitude":"2d0c2340","hex_latitude":"07035460","is_valid_coordinates":true} 
[2026-09-17 09:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142412544001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32644435804160000,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878413063690696704,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618806000,"timestamp_ms":1789618806000,"timestamp_seconds":1789618806,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad97dcf0"} 
[2026-09-17 09:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":184990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":184990,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":184990,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142412544001,"66":14559,"16":32644435804160000,"94":11008,"24":21,"45":878413063690696704},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 09:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142412544001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32644435804160000,"km_value":32644435804160,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:51:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":878413063690696704,"description":"Unknown IO ID 45"} 
[2026-09-17 09:51:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458142412544001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":21,"unknown_45":878413063690696704}} 
[2026-09-17 09:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":184990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854473,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:51:03] local.INFO: GPS data processed {"connection_id":184990,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:51:03] local.INFO: Acknowledgment sent {"connection_id":184990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:51:04] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:51:04] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:51:04] local.INFO: IMEI packet received {"connection_id":186400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":186400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:51:06] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:51:06] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:51:06] local.INFO: Packet analysis {"connection_id":186400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:51:06] local.INFO: Extracted packet for processing {"connection_id":186400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:51:06] 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-09-17 09:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":186400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:51:06] local.INFO: GPS data processed {"connection_id":186400,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:51:06] local.INFO: Acknowledgment sent {"connection_id":186400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:51:34] local.INFO: TCP Data received {"connection_id":184990,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad98ee60012d0bf68007035b480012010f27..."} 
[2026-09-17 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad98ee60012d0bf68007035b480012010f27..."} 
[2026-09-17 09:51:34] local.INFO: Processing buffer {"connection_id":184990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad98ee60012d0bf68007035b480012010f27..."} 
[2026-09-17 09:51:34] local.INFO: Packet analysis {"connection_id":184990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad98"} 
[2026-09-17 09:51:34] local.INFO: Extracted packet for processing {"connection_id":184990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad98"} 
[2026-09-17 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":755758720,"raw_latitude":117660488,"longitude_deg":75.575872,"latitude_deg":11.7660488,"altitude":18,"angle":271,"satellites":39,"speed":10,"hex_longitude":"2d0bf680","hex_latitude":"07035b48","is_valid_coordinates":true} 
[2026-09-17 09:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142432000001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32645380696965120,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862368990018347008,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789618876000,"timestamp_ms":1789618876000,"timestamp_seconds":1789618876,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad98ee60"} 
[2026-09-17 09:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 09:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":184990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":184990,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":184990,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142432000001,"66":14439,"37":206,"94":11008,"24":10,"16":32645380696965120,"45":862368990018347008},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142432000001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:51:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:51:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32645380696965120,"km_value":32645380696965.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":862368990018347008,"description":"Unknown IO ID 45"} 
[2026-09-17 09:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142432000001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":862368990018347008}} 
[2026-09-17 09:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":184990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854475,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:51:34] local.INFO: GPS data processed {"connection_id":184990,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:51:34] local.INFO: Acknowledgment sent {"connection_id":184990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:51:39] local.INFO: TCP Data received {"connection_id":186400,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:51:39] local.INFO: Processing buffer {"connection_id":186400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:51:39] local.INFO: Packet analysis {"connection_id":186400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:51:39] local.INFO: Extracted packet for processing {"connection_id":186400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:51: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-09-17 09:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":186400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:51:39] local.INFO: GPS data processed {"connection_id":186400,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:51:39] local.INFO: Acknowledgment sent {"connection_id":186400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:51:59] local.INFO: TCP Data received {"connection_id":184992,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:51:59] local.INFO: Processing buffer {"connection_id":184992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:51:59] local.INFO: IMEI packet received {"connection_id":184992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":184992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:52:02] local.INFO: TCP Data received {"connection_id":184993,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:02] local.INFO: Processing buffer {"connection_id":184993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:02] local.INFO: IMEI packet received {"connection_id":184993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":184993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:52:02] local.INFO: TCP Data received {"connection_id":184993,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:02] local.INFO: Processing buffer {"connection_id":184993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:02] local.INFO: IMEI packet received {"connection_id":184993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":184993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:52:03] local.INFO: TCP Data received {"connection_id":184992,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:52:03] local.INFO: Processing buffer {"connection_id":184992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:52:03] local.INFO: IMEI packet received {"connection_id":184992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":184992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:52:05] local.INFO: TCP Data received {"connection_id":184992,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:52:05] local.INFO: Processing buffer {"connection_id":184992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:52:05] local.INFO: Packet analysis {"connection_id":184992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:52:05] local.INFO: Extracted packet for processing {"connection_id":184992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:52:05] 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-09-17 09:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":184992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:52:05] local.INFO: GPS data processed {"connection_id":184992,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:52:05] local.INFO: Acknowledgment sent {"connection_id":184992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:52:06] local.INFO: TCP Data received {"connection_id":184991,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:52:06] local.INFO: Processing buffer {"connection_id":184991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:52:06] local.INFO: IMEI packet received {"connection_id":184991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":184991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:52:06] local.INFO: TCP Data received {"connection_id":184993,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:06] local.INFO: Processing buffer {"connection_id":184993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:06] local.INFO: IMEI packet received {"connection_id":184993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":184993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:52:07] local.INFO: TCP Data received {"connection_id":184993,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad991188012d0be3c007035a500013012227..."} 
[2026-09-17 09:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad991188012d0be3c007035a500013012227..."} 
[2026-09-17 09:52:07] local.INFO: Processing buffer {"connection_id":184993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad991188012d0be3c007035a500013012227..."} 
[2026-09-17 09:52:07] local.INFO: Packet analysis {"connection_id":184993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad99"} 
[2026-09-17 09:52:07] local.INFO: Extracted packet for processing {"connection_id":184993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad99"} 
[2026-09-17 09:52:07] local.INFO: GPS Element Parsed {"raw_longitude":755753920,"raw_latitude":117660240,"longitude_deg":75.575392,"latitude_deg":11.766024,"altitude":19,"angle":290,"satellites":39,"speed":18,"hex_longitude":"2d0be3c0","hex_latitude":"07035a50","is_valid_coordinates":true} 
[2026-09-17 09:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142432256001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32645612625199104,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862017146297468928,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789618885000,"timestamp_ms":1789618885000,"timestamp_seconds":1789618885,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad991188"} 
[2026-09-17 09:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 09:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":184993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":184993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":184993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142432256001,"66":14559,"37":206,"94":11008,"24":18,"16":32645612625199104,"45":862017146297468928},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142432256001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:52:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:52:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32645612625199104,"km_value":32645612625199.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":862017146297468928,"description":"Unknown IO ID 45"} 
[2026-09-17 09:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142432256001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":862017146297468928}} 
[2026-09-17 09:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":184993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:52:07] local.INFO: GPS data processed {"connection_id":184993,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:52:07] local.INFO: Acknowledgment sent {"connection_id":184993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:52:08] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:52:08] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:52:08] local.INFO: IMEI packet received {"connection_id":185111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 09:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":185111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:52:09] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:52:09] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:52:09] local.INFO: IMEI packet received {"connection_id":185111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 09:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":185111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:52:13] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:52:13] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:52:13] local.INFO: IMEI packet received {"connection_id":185111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 09:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":185111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:52:14] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-17 09:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-17 09:52:14] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-17 09:52:14] local.INFO: Packet analysis {"connection_id":185111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 09:52:14] local.INFO: Extracted packet for processing {"connection_id":185111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 09:52:14] 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-09-17 09: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-09-17 09:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:52:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 09:52:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 09:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185111,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-17 09:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-17 09:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 09:52:14] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 09:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":185111,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 09:52:14] local.ERROR: GPS data processing failed {"connection_id":185111,"error":"No valid data to process"} 
[2026-09-17 09:52:14] local.INFO: Acknowledgment sent {"connection_id":185111,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 09:52:36] local.INFO: TCP Data received {"connection_id":184992,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:52:36] local.INFO: Processing buffer {"connection_id":184992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:52:36] local.INFO: Packet analysis {"connection_id":184992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:52:36] local.INFO: Extracted packet for processing {"connection_id":184992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":184992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":184992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":184992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:52:36] 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-09-17 09:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":184992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:52:37] local.INFO: GPS data processed {"connection_id":184992,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:52:37] local.INFO: Acknowledgment sent {"connection_id":184992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:52:38] local.INFO: TCP Data received {"connection_id":184993,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad991d40012d0bdf4007035c300014011625..."} 
[2026-09-17 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad991d40012d0bdf4007035c300014011625..."} 
[2026-09-17 09:52:38] local.INFO: Processing buffer {"connection_id":184993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad991d40012d0bdf4007035c300014011625..."} 
[2026-09-17 09:52:38] local.INFO: Packet analysis {"connection_id":184993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad99"} 
[2026-09-17 09:52:38] local.INFO: Extracted packet for processing {"connection_id":184993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad99"} 
[2026-09-17 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":755752768,"raw_latitude":117660720,"longitude_deg":75.5752768,"latitude_deg":11.766072,"altitude":20,"angle":278,"satellites":37,"speed":16,"hex_longitude":"2d0bdf40","hex_latitude":"07035c30","is_valid_coordinates":true} 
[2026-09-17 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142434560001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32645668459773952,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856739490484080640,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789618888000,"timestamp_ms":1789618888000,"timestamp_seconds":1789618888,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad991d40"} 
[2026-09-17 09:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 09:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":184993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":184993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":184993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142434560001,"66":14450,"37":206,"94":11008,"24":16,"16":32645668459773952,"45":856739490484080640},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142434560001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:52:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:52:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32645668459773952,"km_value":32645668459773.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":856739490484080640,"description":"Unknown IO ID 45"} 
[2026-09-17 09:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142434560001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":856739490484080640}} 
[2026-09-17 09:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":184993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:52:39] local.INFO: GPS data processed {"connection_id":184993,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:52:39] local.INFO: Acknowledgment sent {"connection_id":184993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:52:44] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad99c920012d196880071fee70003c00a204..."} 
[2026-09-17 09:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad99c920012d196880071fee70003c00a204..."} 
[2026-09-17 09:52:44] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad99c920012d196880071fee70003c00a204..."} 
[2026-09-17 09:52:44] local.INFO: Packet analysis {"connection_id":185111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad99"} 
[2026-09-17 09:52:44] local.INFO: Extracted packet for processing {"connection_id":185111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad99"} 
[2026-09-17 09:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533168,"longitude_deg":75.6639872,"latitude_deg":11.9533168,"altitude":60,"angle":162,"satellites":4,"speed":2,"hex_longitude":"2d196880","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-09-17 09:52: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-09-17 09:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 09:52:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 09:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789618932000,"timestamp_ms":1789618932000,"timestamp_seconds":1789618932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad99c920"} 
[2026-09-17 09:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:52: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-17 09:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:52: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-09-17 09:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11961,"102":206,"83":41984,"24":2,"16":21144527725133824},"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]} 
[2026-09-17 09:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 09:52:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 09:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21144527725133824,"km_value":21144527725133.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:52:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null}} 
[2026-09-17 09:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":185111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:52:44] local.INFO: GPS data processed {"connection_id":185111,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:52:44] local.INFO: Acknowledgment sent {"connection_id":185111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:52:51] local.INFO: TCP Data received {"connection_id":186401,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:52:51] local.INFO: Processing buffer {"connection_id":186401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:52:51] local.INFO: IMEI packet received {"connection_id":186401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":186401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:52:57] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:57] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:52:57] local.INFO: IMEI packet received {"connection_id":186402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":186402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:52:58] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:52:58] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:52:58] local.INFO: IMEI packet received {"connection_id":186403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":186403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:53:02] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:53:02] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:53:02] local.INFO: IMEI packet received {"connection_id":186402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":186402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:53:03] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a4df0012d0b848007034dc8001700c526..."} 
[2026-09-17 09:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a4df0012d0b848007034dc8001700c526..."} 
[2026-09-17 09:53:03] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a4df0012d0b848007034dc8001700c526..."} 
[2026-09-17 09:53:03] local.INFO: Packet analysis {"connection_id":186402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:03] local.INFO: Extracted packet for processing {"connection_id":186402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:03] local.INFO: GPS Element Parsed {"raw_longitude":755729536,"raw_latitude":117657032,"longitude_deg":75.5729536,"latitude_deg":11.7657032,"altitude":23,"angle":197,"satellites":38,"speed":10,"hex_longitude":"2d0b8480","hex_latitude":"07034dc8","is_valid_coordinates":true} 
[2026-09-17 09:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142454528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32646823805976576,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830140105184245760,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618966000,"timestamp_ms":1789618966000,"timestamp_seconds":1789618966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a4df0"} 
[2026-09-17 09:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142454528001,"66":14309,"37":206,"94":11008,"24":10,"16":32646823805976576,"45":830140105184245760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142454528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:53:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:53:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32646823805976576,"km_value":32646823805976.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":830140105184245760,"description":"Unknown IO ID 45"} 
[2026-09-17 09:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142454528001,"power":14309,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":830140105184245760}} 
[2026-09-17 09:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":186402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:53:03] local.INFO: GPS data processed {"connection_id":186402,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:53:03] local.INFO: Acknowledgment sent {"connection_id":186402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:53:03] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:53:03] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:53:03] local.INFO: IMEI packet received {"connection_id":186403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":186403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:53:05] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:53:05] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad957f78012d34c3c006aa4458000c01172a..."} 
[2026-09-17 09:53:05] local.INFO: Packet analysis {"connection_id":186403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:53:05] local.INFO: Extracted packet for processing {"connection_id":186403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad95"} 
[2026-09-17 09:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142297600001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789618651000,"timestamp_ms":1789618651000,"timestamp_seconds":1789618651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad957f78"} 
[2026-09-17 09:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 09:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142297600001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142297600001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142297600001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":186403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:53:05] local.INFO: GPS data processed {"connection_id":186403,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:53:05] local.INFO: Acknowledgment sent {"connection_id":186403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:53:15] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a6948012d1968c0071fed50003e007009..."} 
[2026-09-17 09:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a6948012d1968c0071fed50003e007009..."} 
[2026-09-17 09:53:15] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a6948012d1968c0071fed50003e007009..."} 
[2026-09-17 09:53:15] local.INFO: Packet analysis {"connection_id":185111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:15] local.INFO: Extracted packet for processing {"connection_id":185111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532880,"longitude_deg":75.6639936,"latitude_deg":11.953288,"altitude":62,"angle":112,"satellites":9,"speed":3,"hex_longitude":"2d1968c0","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-17 09:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142456576001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144626509381632,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870724096,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789618973000,"timestamp_ms":1789618973000,"timestamp_seconds":1789618973,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a6948"} 
[2026-09-17 09:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-17 09:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142456576001,"66":13830,"102":206,"83":41984,"24":3,"16":21144626509381632,"45":1830783647870724096},"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-09-17 09:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142456576001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:53:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 09:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21144626509381632,"km_value":21144626509381.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870724096,"description":"Unknown IO ID 45"} 
[2026-09-17 09:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142456576001,"power":13830,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830783647870724096}} 
[2026-09-17 09:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":185111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:53:15] local.INFO: GPS data processed {"connection_id":185111,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:53:15] local.INFO: Acknowledgment sent {"connection_id":185111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:53:34] local.INFO: TCP Data received {"connection_id":186402,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a6178012d0b824007034590001600e426..."} 
[2026-09-17 09:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a6178012d0b824007034590001600e426..."} 
[2026-09-17 09:53:34] local.INFO: Processing buffer {"connection_id":186402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a6178012d0b824007034590001600e426..."} 
[2026-09-17 09:53:34] local.INFO: Packet analysis {"connection_id":186402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:34] local.INFO: Extracted packet for processing {"connection_id":186402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:34] local.INFO: GPS Element Parsed {"raw_longitude":755728960,"raw_latitude":117654928,"longitude_deg":75.572896,"latitude_deg":11.7654928,"altitude":22,"angle":228,"satellites":38,"speed":16,"hex_longitude":"2d0b8240","hex_latitude":"07034590","is_valid_coordinates":true} 
[2026-09-17 09:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142455296001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32646931180158976,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829928998951569408,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789618971000,"timestamp_ms":1789618971000,"timestamp_seconds":1789618971,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a6178"} 
[2026-09-17 09:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-17 09:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142455296001,"66":14428,"37":206,"94":11008,"24":16,"16":32646931180158976,"45":829928998951569408},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142455296001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:53:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:53:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32646931180158976,"km_value":32646931180158.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":829928998951569408,"description":"Unknown IO ID 45"} 
[2026-09-17 09:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142455296001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":829928998951569408}} 
[2026-09-17 09:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":186402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:53:34] local.INFO: GPS data processed {"connection_id":186402,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:53:34] local.INFO: Acknowledgment sent {"connection_id":186402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:53:36] local.INFO: TCP Data received {"connection_id":186403,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:53:36] local.INFO: Processing buffer {"connection_id":186403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:53:36] local.INFO: Packet analysis {"connection_id":186403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:36] local.INFO: Extracted packet for processing {"connection_id":186403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":186403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:53:36] local.INFO: GPS data processed {"connection_id":186403,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:53:36] local.INFO: Acknowledgment sent {"connection_id":186403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:53:46] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a7500012d196a40071fed20003e005b09..."} 
[2026-09-17 09:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a7500012d196a40071fed20003e005b09..."} 
[2026-09-17 09:53:46] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a7500012d196a40071fed20003e005b09..."} 
[2026-09-17 09:53:46] local.INFO: Packet analysis {"connection_id":185111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:46] local.INFO: Extracted packet for processing {"connection_id":185111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532832,"longitude_deg":75.664032,"latitude_deg":11.9532832,"altitude":62,"angle":91,"satellites":9,"speed":5,"hex_longitude":"2d196a40","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-17 09:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142457088001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144643689250816,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359056896,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789618976000,"timestamp_ms":1789618976000,"timestamp_seconds":1789618976,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a7500"} 
[2026-09-17 09:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":844433535860736,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633653549824,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2912564864,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":237,"raw_value":4035293440576323585,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2588030977,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404605,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":5188477832841398047,"note":"Value kept but may cause issues"} 
[2026-09-17 09:53:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,30,160,97,45,64,237,62,9,10,66,93,192,61,70,1,240,227,173,31,4,113,205,58,103,6,239,47,2,75,7,60,3,236],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-17 09:53:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467694014308745216,"timestamp_seconds":4467694014308745.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 09:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142457088001,"66":13906,"102":206,"83":41984,"24":5,"16":21144643689250816,"45":1830924385359056896},"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-09-17 09:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142457088001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:53:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 09:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21144643689250816,"km_value":21144643689250.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359056896,"description":"Unknown IO ID 45"} 
[2026-09-17 09:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142457088001,"power":13906,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830924385359056896}} 
[2026-09-17 09:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":185111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:53:46] local.INFO: GPS data processed {"connection_id":185111,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:53:46] local.INFO: Acknowledgment sent {"connection_id":185111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:53:57] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:53:57] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:53:57] local.INFO: IMEI packet received {"connection_id":184995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":184995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:53:58] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:53:58] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:53:58] local.INFO: IMEI packet received {"connection_id":184995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":184995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:54:01] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:54:01] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:54:01] local.INFO: IMEI packet received {"connection_id":184995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":184995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:54:02] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:54:02] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:54:02] local.INFO: IMEI packet received {"connection_id":184995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":184995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:54:03] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a6560012d0b80c0070344e0001600f726..."} 
[2026-09-17 09:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a6560012d0b80c0070344e0001600f726..."} 
[2026-09-17 09:54:03] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a6560012d0b80c0070344e0001600f726..."} 
[2026-09-17 09:54:03] local.INFO: Packet analysis {"connection_id":184995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:03] local.INFO: Extracted packet for processing {"connection_id":184995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:03] local.INFO: GPS Element Parsed {"raw_longitude":755728576,"raw_latitude":117654752,"longitude_deg":75.5728576,"latitude_deg":11.7654752,"altitude":22,"angle":247,"satellites":38,"speed":15,"hex_longitude":"2d0b80c0","hex_latitude":"070344e0","is_valid_coordinates":true} 
[2026-09-17 09:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142456576001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32646948360028160,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829295680253431808,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789618972000,"timestamp_ms":1789618972000,"timestamp_seconds":1789618972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a6560"} 
[2026-09-17 09:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":184995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":184995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":184995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142456576001,"66":14537,"37":206,"94":11008,"24":15,"16":32646948360028160,"45":829295680253431808},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142456576001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:54:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:54:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32646948360028160,"km_value":32646948360028.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":829295680253431808,"description":"Unknown IO ID 45"} 
[2026-09-17 09:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142456576001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":829295680253431808}} 
[2026-09-17 09:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":184995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:54:03] local.INFO: GPS data processed {"connection_id":184995,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:54:03] local.INFO: Acknowledgment sent {"connection_id":184995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:54:04] local.INFO: TCP Data received {"connection_id":187717,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:54:04] local.INFO: Processing buffer {"connection_id":187717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:54:04] local.INFO: IMEI packet received {"connection_id":187717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":187717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:54:08] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a6948012d0b7f00070344c80016010927..."} 
[2026-09-17 09:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a6948012d0b7f00070344c80016010927..."} 
[2026-09-17 09:54:08] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a6948012d0b7f00070344c80016010927..."} 
[2026-09-17 09:54:08] local.INFO: Packet analysis {"connection_id":184995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:08] local.INFO: Extracted packet for processing {"connection_id":184995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:08] local.INFO: GPS Element Parsed {"raw_longitude":755728128,"raw_latitude":117654728,"longitude_deg":75.5728128,"latitude_deg":11.7654728,"altitude":22,"angle":265,"satellites":39,"speed":17,"hex_longitude":"2d0b7f00","hex_latitude":"070344c8","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142456832001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32646969834864640,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828873467788320768,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789618973000,"timestamp_ms":1789618973000,"timestamp_seconds":1789618973,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a6948"} 
[2026-09-17 09:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 09:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":184995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":184995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":184995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142456832001,"66":14407,"37":206,"94":11008,"24":17,"16":32646969834864640,"45":828873467788320768},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142456832001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:54:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:54:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32646969834864640,"km_value":32646969834864.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":828873467788320768,"description":"Unknown IO ID 45"} 
[2026-09-17 09:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142456832001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":828873467788320768}} 
[2026-09-17 09:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":184995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:54:08] local.INFO: GPS data processed {"connection_id":184995,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:54:08] local.INFO: Acknowledgment sent {"connection_id":184995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:54:08] local.INFO: TCP Data received {"connection_id":187717,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:54:08] local.INFO: Processing buffer {"connection_id":187717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:54:08] local.INFO: IMEI packet received {"connection_id":187717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":187717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:54:09] local.INFO: TCP Data received {"connection_id":187717,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:54:09] local.INFO: Processing buffer {"connection_id":187717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:54:09] local.INFO: Packet analysis {"connection_id":187717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:09] local.INFO: Extracted packet for processing {"connection_id":187717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:54: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-09-17 09:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":187717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:54:09] local.INFO: GPS data processed {"connection_id":187717,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:54:09] local.INFO: Acknowledgment sent {"connection_id":187717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:54:14] local.INFO: TCP Data received {"connection_id":187717,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:54:14] local.INFO: Processing buffer {"connection_id":187717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:54:14] local.INFO: Packet analysis {"connection_id":187717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:14] local.INFO: Extracted packet for processing {"connection_id":187717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:54: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-09-17 09:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:54:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":187717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:54:14] local.INFO: GPS data processed {"connection_id":187717,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:54:14] local.INFO: Acknowledgment sent {"connection_id":187717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:54:24] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9b8a58012d19c940071ff5300033001a0a..."} 
[2026-09-17 09:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9b8a58012d19c940071ff5300033001a0a..."} 
[2026-09-17 09:54:24] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9b8a58012d19c940071ff5300033001a0a..."} 
[2026-09-17 09:54:24] local.INFO: Packet analysis {"connection_id":185111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9b"} 
[2026-09-17 09:54:24] local.INFO: Extracted packet for processing {"connection_id":185111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9b"} 
[2026-09-17 09:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119534896,"longitude_deg":75.666464,"latitude_deg":11.9534896,"altitude":51,"angle":26,"satellites":10,"speed":12,"hex_longitude":"2d19c940","hex_latitude":"071ff530","is_valid_coordinates":true} 
[2026-09-17 09:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142475776001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21145841985126400,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379542528,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789619047000,"timestamp_ms":1789619047000,"timestamp_seconds":1789619047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9b8a58"} 
[2026-09-17 09:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 09:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142475776001,"66":14004,"101":206,"83":41984,"24":12,"16":21145841985126400,"45":1857875614379542528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142475776001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:54:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21145841985126400,"km_value":21145841985126.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379542528,"description":"Unknown IO ID 45"} 
[2026-09-17 09:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142475776001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1857875614379542528}} 
[2026-09-17 09:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":185111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:54:24] local.INFO: GPS data processed {"connection_id":185111,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:54:24] local.INFO: Acknowledgment sent {"connection_id":185111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:54:45] local.INFO: TCP Data received {"connection_id":184995,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a8888012d0b6f40070344d80015011527..."} 
[2026-09-17 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a8888012d0b6f40070344d80015011527..."} 
[2026-09-17 09:54:45] local.INFO: Processing buffer {"connection_id":184995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a8888012d0b6f40070344d80015011527..."} 
[2026-09-17 09:54:45] local.INFO: Packet analysis {"connection_id":184995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:45] local.INFO: Extracted packet for processing {"connection_id":184995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":755724096,"raw_latitude":117654744,"longitude_deg":75.5724096,"latitude_deg":11.7654744,"altitude":21,"angle":277,"satellites":39,"speed":8,"hex_longitude":"2d0b6f40","hex_latitude":"070344d8","is_valid_coordinates":true} 
[2026-09-17 09:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142457088001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32647163108392960,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828380886579070976,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789618981000,"timestamp_ms":1789618981000,"timestamp_seconds":1789618981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a8888"} 
[2026-09-17 09:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 09:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":184995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":184995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":184995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142457088001,"66":14428,"37":206,"94":11008,"24":8,"16":32647163108392960,"45":828380886579070976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142457088001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:54:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:54:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32647163108392960,"km_value":32647163108392.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":828380886579070976,"description":"Unknown IO ID 45"} 
[2026-09-17 09:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142457088001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":828380886579070976}} 
[2026-09-17 09:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":184995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854493,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:54:45] local.INFO: GPS data processed {"connection_id":184995,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:54:45] local.INFO: Acknowledgment sent {"connection_id":184995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:54:55] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9c1310012d19ef40071ffc30002c00650b..."} 
[2026-09-17 09:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9c1310012d19ef40071ffc30002c00650b..."} 
[2026-09-17 09:54:55] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9c1310012d19ef40071ffc30002c00650b..."} 
[2026-09-17 09:54:55] local.INFO: Packet analysis {"connection_id":185111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:54:55] local.INFO: Extracted packet for processing {"connection_id":185111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756674368,"raw_latitude":119536688,"longitude_deg":75.6674368,"latitude_deg":11.9536688,"altitude":44,"angle":101,"satellites":11,"speed":18,"hex_longitude":"2d19ef40","hex_latitude":"071ffc30","is_valid_coordinates":true} 
[2026-09-17 09:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142484480001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21146499115122688,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867656869820872704,"note":"Value kept but may cause issues"} 
[2026-09-17 09:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789619082000,"timestamp_ms":1789619082000,"timestamp_seconds":1789619082,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9c1310"} 
[2026-09-17 09:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-17 09:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:54:55] 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-09-17 09:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142484480001,"66":14189,"101":206,"83":41984,"24":18,"16":21146499115122688,"45":1867656869820872704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142484480001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:54:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21146499115122688,"km_value":21146499115122.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867656869820872704,"description":"Unknown IO ID 45"} 
[2026-09-17 09:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142484480001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1867656869820872704}} 
[2026-09-17 09:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":185111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:54:55] local.INFO: GPS data processed {"connection_id":185111,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:54:55] local.INFO: Acknowledgment sent {"connection_id":185111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:54:57] local.INFO: TCP Data received {"connection_id":185114,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185114,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:54:57] local.INFO: Processing buffer {"connection_id":185114,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:54:57] local.INFO: IMEI packet received {"connection_id":185114,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":185114,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:54:58] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:54:58] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:54:58] local.INFO: IMEI packet received {"connection_id":185113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":185113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:55:02] local.INFO: TCP Data received {"connection_id":185114,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185114,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:55:02] local.INFO: Processing buffer {"connection_id":185114,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:55:02] local.INFO: IMEI packet received {"connection_id":185114,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":185114,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:55:03] local.INFO: TCP Data received {"connection_id":185114,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185114,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:55:03] local.INFO: Processing buffer {"connection_id":185114,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:55:03] local.INFO: IMEI packet received {"connection_id":185114,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":185114,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:55:04] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:55:04] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:55:04] local.INFO: IMEI packet received {"connection_id":185113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":185113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:55:05] local.INFO: TCP Data received {"connection_id":185114,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9bfba0012d0b4ac007035138001400281c..."} 
[2026-09-17 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9bfba0012d0b4ac007035138001400281c..."} 
[2026-09-17 09:55:05] local.INFO: Processing buffer {"connection_id":185114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9bfba0012d0b4ac007035138001400281c..."} 
[2026-09-17 09:55:05] local.INFO: Packet analysis {"connection_id":185114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9b"} 
[2026-09-17 09:55:05] local.INFO: Extracted packet for processing {"connection_id":185114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9b"} 
[2026-09-17 09:55:05] local.INFO: GPS Element Parsed {"raw_longitude":755714752,"raw_latitude":117657912,"longitude_deg":75.5714752,"latitude_deg":11.7657912,"altitude":20,"angle":40,"satellites":28,"speed":0,"hex_longitude":"2d0b4ac0","hex_latitude":"07035138","is_valid_coordinates":true} 
[2026-09-17 09:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142478336001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32647755813879808,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813533081558384640,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789619076000,"timestamp_ms":1789619076000,"timestamp_seconds":1789619076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9bfba0"} 
[2026-09-17 09:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-17 09:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185114,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185114,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142478336001,"66":14515,"37":206,"94":11008,"24":0,"16":32647755813879808,"45":813533081558384640},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142478336001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:55:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:55:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32647755813879808,"km_value":32647755813879.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":813533081558384640,"description":"Unknown IO ID 45"} 
[2026-09-17 09:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142478336001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":813533081558384640}} 
[2026-09-17 09:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":185114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:55:05] local.INFO: GPS data processed {"connection_id":185114,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:55:05] local.INFO: Acknowledgment sent {"connection_id":185114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:55:06] local.INFO: TCP Data received {"connection_id":185114,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9c2a80012d0b49c007035138001401021e..."} 
[2026-09-17 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9c2a80012d0b49c007035138001401021e..."} 
[2026-09-17 09:55:06] local.INFO: Processing buffer {"connection_id":185114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9c2a80012d0b49c007035138001401021e..."} 
[2026-09-17 09:55:06] local.INFO: Packet analysis {"connection_id":185114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:55:06] local.INFO: Extracted packet for processing {"connection_id":185114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":755714496,"raw_latitude":117657912,"longitude_deg":75.5714496,"latitude_deg":11.7657912,"altitude":20,"angle":258,"satellites":30,"speed":3,"hex_longitude":"2d0b49c0","hex_latitude":"07035138","is_valid_coordinates":true} 
[2026-09-17 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142483456001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32647768698781696,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813673819046754304,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789619088000,"timestamp_ms":1789619088000,"timestamp_seconds":1789619088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9c2a80"} 
[2026-09-17 09:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 09:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185114,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185114,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142483456001,"66":14461,"37":206,"94":11008,"24":3,"16":32647768698781696,"45":813673819046754304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142483456001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:55:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:55:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32647768698781696,"km_value":32647768698781.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":813673819046754304,"description":"Unknown IO ID 45"} 
[2026-09-17 09:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142483456001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":813673819046754304}} 
[2026-09-17 09:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":185114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854496,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:55:06] local.INFO: GPS data processed {"connection_id":185114,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:55:06] local.INFO: Acknowledgment sent {"connection_id":185114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:55:06] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:55:06] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:55:06] local.INFO: Packet analysis {"connection_id":185113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:55:06] local.INFO: Extracted packet for processing {"connection_id":185113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:55:06] 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-09-17 09:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":185113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:55:06] local.INFO: GPS data processed {"connection_id":185113,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:55:06] local.INFO: Acknowledgment sent {"connection_id":185113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:55:25] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9c1ae0012d19f480071ffcb0002c00560b..."} 
[2026-09-17 09:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9c1ae0012d19f480071ffcb0002c00560b..."} 
[2026-09-17 09:55:25] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9c1ae0012d19f480071ffcb0002c00560b..."} 
[2026-09-17 09:55:25] local.INFO: Packet analysis {"connection_id":185111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:55:25] local.INFO: Extracted packet for processing {"connection_id":185111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:55:25] local.INFO: GPS Element Parsed {"raw_longitude":756675712,"raw_latitude":119536816,"longitude_deg":75.6675712,"latitude_deg":11.9536816,"altitude":44,"angle":86,"satellites":11,"speed":24,"hex_longitude":"2d19f480","hex_latitude":"071ffcb0","is_valid_coordinates":true} 
[2026-09-17 09:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142484992001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21146563539632128,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868782769727614976,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789619084000,"timestamp_ms":1789619084000,"timestamp_seconds":1789619084,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9c1ae0"} 
[2026-09-17 09:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-17 09:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:55:25] 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-09-17 09:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142484992001,"66":14135,"101":206,"83":41984,"24":24,"16":21146563539632128,"45":1868782769727614976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142484992001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:55:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:55:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21146563539632128,"km_value":21146563539632.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868782769727614976,"description":"Unknown IO ID 45"} 
[2026-09-17 09:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142484992001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1868782769727614976}} 
[2026-09-17 09:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":185111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:55:26] local.INFO: GPS data processed {"connection_id":185111,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:55:26] local.INFO: Acknowledgment sent {"connection_id":185111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:55:38] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:55:38] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:55:38] local.INFO: Packet analysis {"connection_id":185113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:55:38] local.INFO: Extracted packet for processing {"connection_id":185113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:55:38] 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-09-17 09:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":185113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:55:38] local.INFO: GPS data processed {"connection_id":185113,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:55:38] local.INFO: Acknowledgment sent {"connection_id":185113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:55:42] local.INFO: TCP Data received {"connection_id":185114,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9c2e68012d0b494007035118001400f61e..."} 
[2026-09-17 09:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9c2e68012d0b494007035118001400f61e..."} 
[2026-09-17 09:55:42] local.INFO: Processing buffer {"connection_id":185114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9c2e68012d0b494007035118001400f61e..."} 
[2026-09-17 09:55:42] local.INFO: Packet analysis {"connection_id":185114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:55:42] local.INFO: Extracted packet for processing {"connection_id":185114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:55:42] local.INFO: GPS Element Parsed {"raw_longitude":755714368,"raw_latitude":117657880,"longitude_deg":75.5714368,"latitude_deg":11.765788,"altitude":20,"angle":246,"satellites":30,"speed":3,"hex_longitude":"2d0b4940","hex_latitude":"07035118","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142486528001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32647772993748992,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813392344070043648,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789619089000,"timestamp_ms":1789619089000,"timestamp_seconds":1789619089,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9c2e68"} 
[2026-09-17 09:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 09:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185114,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185114,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142486528001,"66":14461,"37":206,"94":11008,"24":3,"16":32647772993748992,"45":813392344070043648},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 09:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142486528001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:55:42] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 09:55:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32647772993748992,"km_value":32647772993748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":813392344070043648,"description":"Unknown IO ID 45"} 
[2026-09-17 09:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142486528001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":813392344070043648}} 
[2026-09-17 09:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":185114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854500,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:55:42] local.INFO: GPS data processed {"connection_id":185114,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:55:42] local.INFO: Acknowledgment sent {"connection_id":185114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:55:56] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9c2698012d19fd80071ffc90002a00620c..."} 
[2026-09-17 09:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9c2698012d19fd80071ffc90002a00620c..."} 
[2026-09-17 09:55:56] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9c2698012d19fd80071ffc90002a00620c..."} 
[2026-09-17 09:55:56] local.INFO: Packet analysis {"connection_id":185111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:55:56] local.INFO: Extracted packet for processing {"connection_id":185111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9c"} 
[2026-09-17 09:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756678016,"raw_latitude":119536784,"longitude_deg":75.6678016,"latitude_deg":11.9536784,"altitude":42,"angle":98,"satellites":12,"speed":29,"hex_longitude":"2d19fd80","hex_latitude":"071ffc90","is_valid_coordinates":true} 
[2026-09-17 09:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142485504001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21146675208781824,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870260513355378688,"note":"Value kept but may cause issues"} 
[2026-09-17 09:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789619087000,"timestamp_ms":1789619087000,"timestamp_seconds":1789619087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9c2698"} 
[2026-09-17 09:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-17 09:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:55:56] 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-09-17 09:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142485504001,"66":14157,"101":206,"83":41984,"24":29,"16":21146675208781824,"45":1870260513355378688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142485504001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:55:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21146675208781824,"km_value":21146675208781.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870260513355378688,"description":"Unknown IO ID 45"} 
[2026-09-17 09:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142485504001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1870260513355378688}} 
[2026-09-17 09:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":185111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:55:56] local.INFO: GPS data processed {"connection_id":185111,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:55:56] local.INFO: Acknowledgment sent {"connection_id":185111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:55:59] local.INFO: TCP Data received {"connection_id":187718,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:55:59] local.INFO: Processing buffer {"connection_id":187718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:55:59] local.INFO: IMEI packet received {"connection_id":187718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":187718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:56:03] local.INFO: TCP Data received {"connection_id":187718,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:56:03] local.INFO: Processing buffer {"connection_id":187718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:56:03] local.INFO: IMEI packet received {"connection_id":187718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":187718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:56:04] local.INFO: TCP Data received {"connection_id":187718,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:56:04] local.INFO: Processing buffer {"connection_id":187718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:56:04] local.INFO: Packet analysis {"connection_id":187718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:56:04] local.INFO: Extracted packet for processing {"connection_id":187718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:56:04] 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-09-17 09:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":187718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:56:04] local.INFO: GPS data processed {"connection_id":187718,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:56:04] local.INFO: Acknowledgment sent {"connection_id":187718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:56:10] local.INFO: TCP Data received {"connection_id":185115,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185115,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:56:10] local.INFO: Processing buffer {"connection_id":185115,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:56:10] local.INFO: IMEI packet received {"connection_id":185115,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":185115,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:56:12] local.INFO: TCP Data received {"connection_id":185115,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185115,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:56:12] local.INFO: Processing buffer {"connection_id":185115,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:56:12] local.INFO: IMEI packet received {"connection_id":185115,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":185115,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:56:16] local.INFO: TCP Data received {"connection_id":185115,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185115,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:56:16] local.INFO: Processing buffer {"connection_id":185115,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:56:16] local.INFO: IMEI packet received {"connection_id":185115,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":185115,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:56:17] local.INFO: TCP Data received {"connection_id":185115,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9d3fd8012d0b2800070361f0001200c923..."} 
[2026-09-17 09:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9d3fd8012d0b2800070361f0001200c923..."} 
[2026-09-17 09:56:17] local.INFO: Processing buffer {"connection_id":185115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9d3fd8012d0b2800070361f0001200c923..."} 
[2026-09-17 09:56:17] local.INFO: Packet analysis {"connection_id":185115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:56:17] local.INFO: Extracted packet for processing {"connection_id":185115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:56:17] local.INFO: GPS Element Parsed {"raw_longitude":755705856,"raw_latitude":117662192,"longitude_deg":75.5705856,"latitude_deg":11.7662192,"altitude":18,"angle":201,"satellites":35,"speed":5,"hex_longitude":"2d0b2800","hex_latitude":"070361f0","is_valid_coordinates":true} 
[2026-09-17 09:56: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-09-17 09:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142502912001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32648503138189312,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804314776072433664,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789619159000,"timestamp_ms":1789619159000,"timestamp_seconds":1789619159,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9d3fd8"} 
[2026-09-17 09:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 09:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:56: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-09-17 09:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142502912001,"66":14428,"17":206,"94":11008,"24":5,"16":32648503138189312,"45":804314776072433664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142502912001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:56:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32648503138189312,"km_value":32648503138189.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":804314776072433664,"description":"Unknown IO ID 45"} 
[2026-09-17 09:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142502912001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":804314776072433664}} 
[2026-09-17 09:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":185115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854503,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:56:17] local.INFO: GPS data processed {"connection_id":185115,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:56:17] local.INFO: Acknowledgment sent {"connection_id":185115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:56:18] local.INFO: TCP Data received {"connection_id":185115,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9d47a8012d0b27c0070360d0001200d523..."} 
[2026-09-17 09:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9d47a8012d0b27c0070360d0001200d523..."} 
[2026-09-17 09:56:18] local.INFO: Processing buffer {"connection_id":185115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9d47a8012d0b27c0070360d0001200d523..."} 
[2026-09-17 09:56:18] local.INFO: Packet analysis {"connection_id":185115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:56:18] local.INFO: Extracted packet for processing {"connection_id":185115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:56:18] local.INFO: GPS Element Parsed {"raw_longitude":755705792,"raw_latitude":117661904,"longitude_deg":75.5705792,"latitude_deg":11.7661904,"altitude":18,"angle":213,"satellites":35,"speed":5,"hex_longitude":"2d0b27c0","hex_latitude":"070360d0","is_valid_coordinates":true} 
[2026-09-17 09: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-09-17 09:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142504704001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32648520318058496,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803892563607154688,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789619161000,"timestamp_ms":1789619161000,"timestamp_seconds":1789619161,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9d47a8"} 
[2026-09-17 09:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09: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-09-17 09:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142504704001,"66":14363,"17":206,"94":11008,"24":5,"16":32648520318058496,"45":803892563607154688},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142504704001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:56:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32648520318058496,"km_value":32648520318058.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":803892563607154688,"description":"Unknown IO ID 45"} 
[2026-09-17 09:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142504704001,"power":14363,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":803892563607154688}} 
[2026-09-17 09:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":185115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854504,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:56:18] local.INFO: GPS data processed {"connection_id":185115,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:56:18] local.INFO: Acknowledgment sent {"connection_id":185115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:56:28] local.INFO: TCP Data received {"connection_id":185111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9d95c8012d1a96c0071f9d70002b00d20c..."} 
[2026-09-17 09:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9d95c8012d1a96c0071f9d70002b00d20c..."} 
[2026-09-17 09:56:28] local.INFO: Processing buffer {"connection_id":185111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9d95c8012d1a96c0071f9d70002b00d20c..."} 
[2026-09-17 09:56:28] local.INFO: Packet analysis {"connection_id":185111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:56:28] local.INFO: Extracted packet for processing {"connection_id":185111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756717248,"raw_latitude":119512432,"longitude_deg":75.6717248,"latitude_deg":11.9512432,"altitude":43,"angle":210,"satellites":12,"speed":2,"hex_longitude":"2d1a96c0","hex_latitude":"071f9d70","is_valid_coordinates":true} 
[2026-09-17 09:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142510080001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149067505565696,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915929828320442368,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789619181000,"timestamp_ms":1789619181000,"timestamp_seconds":1789619181,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9d95c8"} 
[2026-09-17 09:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-17 09:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:56:28] 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-09-17 09:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142510080001,"66":13656,"101":206,"83":41984,"24":2,"16":21149067505565696,"45":1915929828320442368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142510080001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:56:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149067505565696,"km_value":21149067505565.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915929828320442368,"description":"Unknown IO ID 45"} 
[2026-09-17 09:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142510080001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1915929828320442368}} 
[2026-09-17 09:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":185111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:56:28] local.INFO: GPS data processed {"connection_id":185111,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:56:28] local.INFO: Acknowledgment sent {"connection_id":185111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:56:36] local.INFO: TCP Data received {"connection_id":187718,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:56:36] local.INFO: Processing buffer {"connection_id":187718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:56:36] local.INFO: Packet analysis {"connection_id":187718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:56:36] local.INFO: Extracted packet for processing {"connection_id":187718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:56:36] 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-09-17 09:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":187718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:56:36] local.INFO: GPS data processed {"connection_id":187718,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:56:36] local.INFO: Acknowledgment sent {"connection_id":187718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:56:48] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:56:48] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:56:48] local.INFO: IMEI packet received {"connection_id":186406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 09:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":186406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:56:53] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:56:53] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:56:53] local.INFO: IMEI packet received {"connection_id":186406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 09:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":186406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:56:54] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9d9d98012d1a96c0071f9d30002b00c30c..."} 
[2026-09-17 09:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9d9d98012d1a96c0071f9d30002b00c30c..."} 
[2026-09-17 09:56:54] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9d9d98012d1a96c0071f9d30002b00c30c..."} 
[2026-09-17 09:56:54] local.INFO: Packet analysis {"connection_id":186406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:56:54] local.INFO: Extracted packet for processing {"connection_id":186406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756717248,"raw_latitude":119512368,"longitude_deg":75.6717248,"latitude_deg":11.9512368,"altitude":43,"angle":195,"satellites":12,"speed":2,"hex_longitude":"2d1a96c0","hex_latitude":"071f9d30","is_valid_coordinates":true} 
[2026-09-17 09:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142510336001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149071800532992,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915929828320440320,"note":"Value kept but may cause issues"} 
[2026-09-17 09:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789619183000,"timestamp_ms":1789619183000,"timestamp_seconds":1789619183,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9d9d98"} 
[2026-09-17 09:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-17 09:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142510336001,"66":14048,"101":206,"83":41984,"24":2,"16":21149071800532992,"45":1915929828320440320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142510336001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:56:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149071800532992,"km_value":21149071800532.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915929828320440320,"description":"Unknown IO ID 45"} 
[2026-09-17 09:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142510336001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1915929828320440320}} 
[2026-09-17 09:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":186406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:56:54] local.INFO: GPS data processed {"connection_id":186406,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:56:54] local.INFO: Acknowledgment sent {"connection_id":186406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:56:58] local.INFO: TCP Data received {"connection_id":187719,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:56:58] local.INFO: Processing buffer {"connection_id":187719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:56:58] local.INFO: IMEI packet received {"connection_id":187719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":187719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:57:03] local.INFO: TCP Data received {"connection_id":187719,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:57:03] local.INFO: Processing buffer {"connection_id":187719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:57:03] local.INFO: IMEI packet received {"connection_id":187719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":187719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:57:04] local.INFO: TCP Data received {"connection_id":187719,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:57:04] local.INFO: Processing buffer {"connection_id":187719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:57:04] local.INFO: Packet analysis {"connection_id":187719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:57:04] local.INFO: Extracted packet for processing {"connection_id":187719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:57:04] 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-09-17 09:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":187719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:57:04] local.INFO: GPS data processed {"connection_id":187719,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:57:04] local.INFO: Acknowledgment sent {"connection_id":187719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:57:07] local.INFO: TCP Data received {"connection_id":185117,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:57:07] local.INFO: Processing buffer {"connection_id":185117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:57:07] local.INFO: IMEI packet received {"connection_id":185117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":185117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:57:10] local.INFO: TCP Data received {"connection_id":185117,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:57:10] local.INFO: Processing buffer {"connection_id":185117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:57:10] local.INFO: IMEI packet received {"connection_id":185117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":185117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:57:11] local.INFO: TCP Data received {"connection_id":185117,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9d5360012d0b26c007035f40001200c823..."} 
[2026-09-17 09:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9d5360012d0b26c007035f40001200c823..."} 
[2026-09-17 09:57:11] local.INFO: Processing buffer {"connection_id":185117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9d5360012d0b26c007035f40001200c823..."} 
[2026-09-17 09:57:11] local.INFO: Packet analysis {"connection_id":185117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:57:11] local.INFO: Extracted packet for processing {"connection_id":185117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:57:11] local.INFO: GPS Element Parsed {"raw_longitude":755705536,"raw_latitude":117661504,"longitude_deg":75.5705536,"latitude_deg":11.7661504,"altitude":18,"angle":200,"satellites":35,"speed":6,"hex_longitude":"2d0b26c0","hex_latitude":"07035f40","is_valid_coordinates":true} 
[2026-09-17 09:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142505216001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32648541792894976,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803822194862903296,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789619164000,"timestamp_ms":1789619164000,"timestamp_seconds":1789619164,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9d5360"} 
[2026-09-17 09:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-17 09:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142505216001,"66":14537,"17":206,"94":11008,"24":6,"16":32648541792894976,"45":803822194862903296},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142505216001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:57:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32648541792894976,"km_value":32648541792894.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":803822194862903296,"description":"Unknown IO ID 45"} 
[2026-09-17 09:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142505216001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":803822194862903296}} 
[2026-09-17 09:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":185117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:57:11] local.INFO: GPS data processed {"connection_id":185117,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:57:11] local.INFO: Acknowledgment sent {"connection_id":185117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:57:13] local.INFO: TCP Data received {"connection_id":185117,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9d66e8012d0b260007035d60001200d722..."} 
[2026-09-17 09:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9d66e8012d0b260007035d60001200d722..."} 
[2026-09-17 09:57:13] local.INFO: Processing buffer {"connection_id":185117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9d66e8012d0b260007035d60001200d722..."} 
[2026-09-17 09:57:13] local.INFO: Packet analysis {"connection_id":185117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:57:13] local.INFO: Extracted packet for processing {"connection_id":185117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:57:13] local.INFO: GPS Element Parsed {"raw_longitude":755705344,"raw_latitude":117661024,"longitude_deg":75.5705344,"latitude_deg":11.7661024,"altitude":18,"angle":215,"satellites":34,"speed":4,"hex_longitude":"2d0b2600","hex_latitude":"07035d60","is_valid_coordinates":true} 
[2026-09-17 09:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142505984001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32648567562698752,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803540719886090240,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789619169000,"timestamp_ms":1789619169000,"timestamp_seconds":1789619169,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9d66e8"} 
[2026-09-17 09:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 09:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142505984001,"66":14548,"17":206,"94":11008,"24":4,"16":32648567562698752,"45":803540719886090240},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142505984001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:57:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32648567562698752,"km_value":32648567562698.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":803540719886090240,"description":"Unknown IO ID 45"} 
[2026-09-17 09:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142505984001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":803540719886090240}} 
[2026-09-17 09:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":185117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854510,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:57:13] local.INFO: GPS data processed {"connection_id":185117,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:57:13] local.INFO: Acknowledgment sent {"connection_id":185117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:57:24] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9da568012d1a9700071f9d10002a00ad0c..."} 
[2026-09-17 09:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9da568012d1a9700071f9d10002a00ad0c..."} 
[2026-09-17 09:57:24] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9da568012d1a9700071f9d10002a00ad0c..."} 
[2026-09-17 09:57:24] local.INFO: Packet analysis {"connection_id":186406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:57:24] local.INFO: Extracted packet for processing {"connection_id":186406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756717312,"raw_latitude":119512336,"longitude_deg":75.6717312,"latitude_deg":11.9512336,"altitude":42,"angle":173,"satellites":12,"speed":2,"hex_longitude":"2d1a9700","hex_latitude":"071f9d10","is_valid_coordinates":true} 
[2026-09-17 09:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142510848001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149076095500288,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915929828320423936,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789619185000,"timestamp_ms":1789619185000,"timestamp_seconds":1789619185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9da568"} 
[2026-09-17 09:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 09:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142510848001,"66":13972,"101":206,"83":41984,"24":2,"16":21149076095500288,"45":1915929828320423936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142510848001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:57:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149076095500288,"km_value":21149076095500.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915929828320423936,"description":"Unknown IO ID 45"} 
[2026-09-17 09:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142510848001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1915929828320423936}} 
[2026-09-17 09:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":186406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:57:25] local.INFO: GPS data processed {"connection_id":186406,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:57:25] local.INFO: Acknowledgment sent {"connection_id":186406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:57:36] local.INFO: TCP Data received {"connection_id":187719,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:57:36] local.INFO: Processing buffer {"connection_id":187719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:57:36] local.INFO: Packet analysis {"connection_id":187719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:57:36] local.INFO: Extracted packet for processing {"connection_id":187719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:57:36] 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-09-17 09:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":187719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:57:36] local.INFO: GPS data processed {"connection_id":187719,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:57:36] local.INFO: Acknowledgment sent {"connection_id":187719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:57:55] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9dad38012d1a97c0071f9cb0002a009c0c..."} 
[2026-09-17 09:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9dad38012d1a97c0071f9cb0002a009c0c..."} 
[2026-09-17 09:57:55] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9dad38012d1a97c0071f9cb0002a009c0c..."} 
[2026-09-17 09:57:55] local.INFO: Packet analysis {"connection_id":186406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:57:55] local.INFO: Extracted packet for processing {"connection_id":186406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756717504,"raw_latitude":119512240,"longitude_deg":75.6717504,"latitude_deg":11.951224,"altitude":42,"angle":156,"satellites":12,"speed":3,"hex_longitude":"2d1a97c0","hex_latitude":"071f9cb0","is_valid_coordinates":true} 
[2026-09-17 09:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142511360001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149084685434880,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916000197064593408,"note":"Value kept but may cause issues"} 
[2026-09-17 09:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789619187000,"timestamp_ms":1789619187000,"timestamp_seconds":1789619187,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9dad38"} 
[2026-09-17 09:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-17 09:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:57:55] 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-09-17 09:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142511360001,"66":13396,"101":206,"83":41984,"24":3,"16":21149084685434880,"45":1916000197064593408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142511360001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:57:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149084685434880,"km_value":21149084685434.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916000197064593408,"description":"Unknown IO ID 45"} 
[2026-09-17 09:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142511360001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1916000197064593408}} 
[2026-09-17 09:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":186406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:57:55] local.INFO: GPS data processed {"connection_id":186406,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:57:55] local.INFO: Acknowledgment sent {"connection_id":186406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:57:57] local.INFO: TCP Data received {"connection_id":185119,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185119,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:57:57] local.INFO: Processing buffer {"connection_id":185119,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:57:57] local.INFO: IMEI packet received {"connection_id":185119,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":185119,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:57:58] local.INFO: TCP Data received {"connection_id":184996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:57:58] local.INFO: Processing buffer {"connection_id":184996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:57:58] local.INFO: IMEI packet received {"connection_id":184996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":184996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:58:02] local.INFO: TCP Data received {"connection_id":185119,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185119,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:02] local.INFO: Processing buffer {"connection_id":185119,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:02] local.INFO: IMEI packet received {"connection_id":185119,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":185119,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:58:03] local.INFO: TCP Data received {"connection_id":185119,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9ea738012d0aeb400702d4000009009725..."} 
[2026-09-17 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9ea738012d0aeb400702d4000009009725..."} 
[2026-09-17 09:58:03] local.INFO: Processing buffer {"connection_id":185119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9ea738012d0aeb400702d4000009009725..."} 
[2026-09-17 09:58:03] local.INFO: Packet analysis {"connection_id":185119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:58:03] local.INFO: Extracted packet for processing {"connection_id":185119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":755690304,"raw_latitude":117625856,"longitude_deg":75.5690304,"latitude_deg":11.7625856,"altitude":9,"angle":151,"satellites":37,"speed":13,"hex_longitude":"2d0aeb40","hex_latitude":"0702d400","is_valid_coordinates":true} 
[2026-09-17 09:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528000001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32650457348308992,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786652221274413056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789619251000,"timestamp_ms":1789619251000,"timestamp_seconds":1789619251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9ea738"} 
[2026-09-17 09:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528000001,"66":14450,"17":206,"94":11008,"24":13,"16":32650457348308992,"45":786652221274413056},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528000001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:58:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32650457348308992,"km_value":32650457348308.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":786652221274413056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528000001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":786652221274413056}} 
[2026-09-17 09:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":185119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854514,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:58:03] local.INFO: GPS data processed {"connection_id":185119,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:58:03] local.INFO: Acknowledgment sent {"connection_id":185119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:58:03] local.INFO: TCP Data received {"connection_id":184996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:58:03] local.INFO: Processing buffer {"connection_id":184996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:58:03] local.INFO: IMEI packet received {"connection_id":184996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":184996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:58:04] local.INFO: TCP Data received {"connection_id":185119,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9ec678012d0af1c00702c7700009008024..."} 
[2026-09-17 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9ec678012d0af1c00702c7700009008024..."} 
[2026-09-17 09:58:04] local.INFO: Processing buffer {"connection_id":185119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9ec678012d0af1c00702c7700009008024..."} 
[2026-09-17 09:58:04] local.INFO: Packet analysis {"connection_id":185119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:58:04] local.INFO: Extracted packet for processing {"connection_id":185119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755691968,"raw_latitude":117622640,"longitude_deg":75.5691968,"latitude_deg":11.762264,"altitude":9,"angle":128,"satellites":36,"speed":7,"hex_longitude":"2d0af1c0","hex_latitude":"0702c770","is_valid_coordinates":true} 
[2026-09-17 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528256001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32650633441968128,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786792958762680320,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619259000,"timestamp_ms":1789619259000,"timestamp_seconds":1789619259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9ec678"} 
[2026-09-17 09:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 09:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528256001,"66":14537,"17":206,"94":11008,"24":7,"16":32650633441968128,"45":786792958762680320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528256001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32650633441968128,"km_value":32650633441968.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":786792958762680320,"description":"Unknown IO ID 45"} 
[2026-09-17 09:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528256001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":786792958762680320}} 
[2026-09-17 09:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":185119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854515,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:58:04] local.INFO: GPS data processed {"connection_id":185119,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:58:04] local.INFO: Acknowledgment sent {"connection_id":185119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:58:04] local.INFO: TCP Data received {"connection_id":184996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:58:04] local.INFO: Processing buffer {"connection_id":184996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9a1740012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:58:04] local.INFO: Packet analysis {"connection_id":184996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:58:04] local.INFO: Extracted packet for processing {"connection_id":184996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9a"} 
[2026-09-17 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142374656001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789618952000,"timestamp_ms":1789618952000,"timestamp_seconds":1789618952,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9a1740"} 
[2026-09-17 09:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 09:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:58:04] 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-09-17 09:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142374656001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142374656001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142374656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":184996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:58:04] local.INFO: GPS data processed {"connection_id":184996,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:58:04] local.INFO: Acknowledgment sent {"connection_id":184996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:58:11] local.INFO: TCP Data received {"connection_id":185118,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:58:11] local.INFO: Processing buffer {"connection_id":185118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:58:11] local.INFO: IMEI packet received {"connection_id":185118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":185118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:58:26] local.INFO: TCP Data received {"connection_id":186406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9db8f0012d1a9840071f9c30002900a70c..."} 
[2026-09-17 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9db8f0012d1a9840071f9c30002900a70c..."} 
[2026-09-17 09:58:26] local.INFO: Processing buffer {"connection_id":186406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9db8f0012d1a9840071f9c30002900a70c..."} 
[2026-09-17 09:58:26] local.INFO: Packet analysis {"connection_id":186406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:58:26] local.INFO: Extracted packet for processing {"connection_id":186406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:58:26] local.INFO: GPS Element Parsed {"raw_longitude":756717632,"raw_latitude":119512112,"longitude_deg":75.6717632,"latitude_deg":11.9512112,"altitude":41,"angle":167,"satellites":12,"speed":3,"hex_longitude":"2d1a9840","hex_latitude":"071f9c30","is_valid_coordinates":true} 
[2026-09-17 09:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142511872001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149093275369472,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916211303297101824,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789619190000,"timestamp_ms":1789619190000,"timestamp_seconds":1789619190,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9db8f0"} 
[2026-09-17 09:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-17 09:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:58:26] 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-09-17 09:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142511872001,"66":13276,"101":206,"83":41984,"24":3,"16":21149093275369472,"45":1916211303297101824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142511872001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:58:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149093275369472,"km_value":21149093275369.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916211303297101824,"description":"Unknown IO ID 45"} 
[2026-09-17 09:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142511872001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1916211303297101824}} 
[2026-09-17 09:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":186406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:58:26] local.INFO: GPS data processed {"connection_id":186406,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:58:26] local.INFO: Acknowledgment sent {"connection_id":186406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:58:35] local.INFO: TCP Data received {"connection_id":185119,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eca60012d0af2c00702c6f00009006f25..."} 
[2026-09-17 09:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eca60012d0af2c00702c6f00009006f25..."} 
[2026-09-17 09:58:35] local.INFO: Processing buffer {"connection_id":185119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eca60012d0af2c00702c6f00009006f25..."} 
[2026-09-17 09:58:35] local.INFO: Packet analysis {"connection_id":185119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:58:35] local.INFO: Extracted packet for processing {"connection_id":185119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":755692224,"raw_latitude":117622512,"longitude_deg":75.5692224,"latitude_deg":11.7622512,"altitude":9,"angle":111,"satellites":37,"speed":9,"hex_longitude":"2d0af2c0","hex_latitude":"0702c6f0","is_valid_coordinates":true} 
[2026-09-17 09:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142530304001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32650646326870016,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788622546110476288,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789619260000,"timestamp_ms":1789619260000,"timestamp_seconds":1789619260,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eca60"} 
[2026-09-17 09:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 09:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142530304001,"66":14407,"17":206,"94":11008,"24":9,"16":32650646326870016,"45":788622546110476288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142530304001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:58:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32650646326870016,"km_value":32650646326870.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":788622546110476288,"description":"Unknown IO ID 45"} 
[2026-09-17 09:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142530304001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":788622546110476288}} 
[2026-09-17 09:58:35] local.INFO: TCP Data received {"connection_id":184996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:58:35] local.INFO: Processing buffer {"connection_id":184996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:58:35] local.INFO: Packet analysis {"connection_id":184996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:58:35] local.INFO: Extracted packet for processing {"connection_id":184996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 09:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":184996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":184996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":184996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:58:35] 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-09-17 09:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":184996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:58:35] local.INFO: GPS data processed {"connection_id":184996,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:58:35] local.INFO: Acknowledgment sent {"connection_id":184996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":185119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854519,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:58:35] local.INFO: GPS data processed {"connection_id":185119,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:58:35] local.INFO: Acknowledgment sent {"connection_id":185119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:58:50] local.INFO: TCP Data received {"connection_id":186408,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:58:50] local.INFO: Processing buffer {"connection_id":186408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 09:58:50] local.INFO: IMEI packet received {"connection_id":186408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 09:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":186408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:58:53] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:58:53] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:58:53] local.INFO: IMEI packet received {"connection_id":186407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 09:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":186407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:58:55] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:55] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:55] local.INFO: IMEI packet received {"connection_id":187720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":187720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:58:57] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:57] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:57] local.INFO: IMEI packet received {"connection_id":187720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":187720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:58:57] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:57] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:57] local.INFO: IMEI packet received {"connection_id":187720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":187720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:58:58] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:58:58] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:58:58] local.INFO: IMEI packet received {"connection_id":186407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 09:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":186407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:58:58] local.INFO: TCP Data received {"connection_id":184997,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:58:58] local.INFO: Processing buffer {"connection_id":184997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:58:58] local.INFO: IMEI packet received {"connection_id":184997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":184997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:58:58] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9dc0c0012d1a9700071f9bb8002800d00d..."} 
[2026-09-17 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9dc0c0012d1a9700071f9bb8002800d00d..."} 
[2026-09-17 09:58:58] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9dc0c0012d1a9700071f9bb8002800d00d..."} 
[2026-09-17 09:58:58] local.INFO: Packet analysis {"connection_id":186407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:58:58] local.INFO: Extracted packet for processing {"connection_id":186407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756717312,"raw_latitude":119511992,"longitude_deg":75.6717312,"latitude_deg":11.9511992,"altitude":40,"angle":208,"satellites":13,"speed":3,"hex_longitude":"2d1a9700","hex_latitude":"071f9bb8","is_valid_coordinates":true} 
[2026-09-17 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142512640001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149110455238656,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916352040785424384,"note":"Value kept but may cause issues"} 
[2026-09-17 09:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789619192000,"timestamp_ms":1789619192000,"timestamp_seconds":1789619192,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9dc0c0"} 
[2026-09-17 09:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 09:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:58:58] 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-09-17 09:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142512640001,"66":12950,"101":206,"83":41984,"24":3,"16":21149110455238656,"45":1916352040785424384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142512640001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:58:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149110455238656,"km_value":21149110455238.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916352040785424384,"description":"Unknown IO ID 45"} 
[2026-09-17 09:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142512640001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1916352040785424384}} 
[2026-09-17 09:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":186407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:58:59] local.INFO: GPS data processed {"connection_id":186407,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:58:59] local.INFO: Acknowledgment sent {"connection_id":186407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:58:59] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:59] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 09:58:59] local.INFO: IMEI packet received {"connection_id":187720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 09:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":187720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:59:01] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9feb70012d0b120007029e98001000501f..."} 
[2026-09-17 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9feb70012d0b120007029e98001000501f..."} 
[2026-09-17 09:59:01] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9feb70012d0b120007029e98001000501f..."} 
[2026-09-17 09:59:01] local.INFO: Packet analysis {"connection_id":187720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9f"} 
[2026-09-17 09:59:01] local.INFO: Extracted packet for processing {"connection_id":187720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9f"} 
[2026-09-17 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":755700224,"raw_latitude":117612184,"longitude_deg":75.5700224,"latitude_deg":11.7612184,"altitude":16,"angle":80,"satellites":31,"speed":3,"hex_longitude":"2d0b1200","hex_latitude":"07029e98","is_valid_coordinates":true} 
[2026-09-17 09:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142548736001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651350701506560,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797559376618362880,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789619334000,"timestamp_ms":1789619334000,"timestamp_seconds":1789619334,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9feb70"} 
[2026-09-17 09:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 09:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":187720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":187720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":187720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142548736001,"66":14396,"17":206,"94":11008,"24":3,"16":32651350701506560,"45":797559376618362880},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142548736001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:59:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651350701506560,"km_value":32651350701506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797559376618362880,"description":"Unknown IO ID 45"} 
[2026-09-17 09:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142548736001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":797559376618362880}} 
[2026-09-17 09:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":187720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:59:01] local.INFO: GPS data processed {"connection_id":187720,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:59:01] local.INFO: Acknowledgment sent {"connection_id":187720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:59:02] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9dcc78012d1a9700071f9bd8002800b60d..."} 
[2026-09-17 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9dcc78012d1a9700071f9bd8002800b60d..."} 
[2026-09-17 09:59:02] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9dcc78012d1a9700071f9bd8002800b60d..."} 
[2026-09-17 09:59:02] local.INFO: Packet analysis {"connection_id":186407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:59:02] local.INFO: Extracted packet for processing {"connection_id":186407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9d"} 
[2026-09-17 09:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756717312,"raw_latitude":119512024,"longitude_deg":75.6717312,"latitude_deg":11.9512024,"altitude":40,"angle":182,"satellites":13,"speed":3,"hex_longitude":"2d1a9700","hex_latitude":"071f9bd8","is_valid_coordinates":true} 
[2026-09-17 09:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142513152001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149119045173248,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916000197064505344,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789619195000,"timestamp_ms":1789619195000,"timestamp_seconds":1789619195,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9dcc78"} 
[2026-09-17 09:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 09:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:59:02] 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-09-17 09:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142513152001,"66":13298,"101":206,"83":41984,"24":3,"16":21149119045173248,"45":1916000197064505344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142513152001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:59:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149119045173248,"km_value":21149119045173.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916000197064505344,"description":"Unknown IO ID 45"} 
[2026-09-17 09:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142513152001,"power":13298,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1916000197064505344}} 
[2026-09-17 09:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":186407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:59:02] local.INFO: GPS data processed {"connection_id":186407,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:59:02] local.INFO: Acknowledgment sent {"connection_id":186407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:59:03] local.INFO: TCP Data received {"connection_id":184997,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:59:03] local.INFO: Processing buffer {"connection_id":184997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:59:03] local.INFO: IMEI packet received {"connection_id":184997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 09:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":184997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:59:04] local.INFO: TCP Data received {"connection_id":184997,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:59:04] local.INFO: Processing buffer {"connection_id":184997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:59:04] local.INFO: Packet analysis {"connection_id":184997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:59:04] local.INFO: Extracted packet for processing {"connection_id":184997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 09:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":184997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":184997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":184997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:59:04] 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-09-17 09:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:59:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":184997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:59:04] local.INFO: GPS data processed {"connection_id":184997,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:59:04] local.INFO: Acknowledgment sent {"connection_id":184997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:59:33] local.INFO: TCP Data received {"connection_id":186407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9e0af8012d1a96c0071f9cd0002600c30e..."} 
[2026-09-17 09:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9e0af8012d1a96c0071f9cd0002600c30e..."} 
[2026-09-17 09:59:33] local.INFO: Processing buffer {"connection_id":186407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9e0af8012d1a96c0071f9cd0002600c30e..."} 
[2026-09-17 09:59:33] local.INFO: Packet analysis {"connection_id":186407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:59:33] local.INFO: Extracted packet for processing {"connection_id":186407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756717248,"raw_latitude":119512272,"longitude_deg":75.6717248,"latitude_deg":11.9512272,"altitude":38,"angle":195,"satellites":14,"speed":1,"hex_longitude":"2d1a96c0","hex_latitude":"071f9cd0","is_valid_coordinates":true} 
[2026-09-17 09:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142513920001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149153404911616,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916000197064513536,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789619211000,"timestamp_ms":1789619211000,"timestamp_seconds":1789619211,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9e0af8"} 
[2026-09-17 09:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-17 09:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142513920001,"66":13135,"101":206,"83":41984,"24":1,"16":21149153404911616,"45":1916000197064513536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142513920001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:59:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149153404911616,"km_value":21149153404911.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916000197064513536,"description":"Unknown IO ID 45"} 
[2026-09-17 09:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142513920001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1916000197064513536}} 
[2026-09-17 09:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":186407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:59:33] local.INFO: GPS data processed {"connection_id":186407,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:59:33] local.INFO: Acknowledgment sent {"connection_id":186407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:59:35] local.INFO: TCP Data received {"connection_id":187720,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada05cb8012d0b14c007029f480010013b1a..."} 
[2026-09-17 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada05cb8012d0b14c007029f480010013b1a..."} 
[2026-09-17 09:59:35] local.INFO: Processing buffer {"connection_id":187720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada05cb8012d0b14c007029f480010013b1a..."} 
[2026-09-17 09:59:35] local.INFO: Packet analysis {"connection_id":187720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 09:59:35] local.INFO: Extracted packet for processing {"connection_id":187720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 09:59:35] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612360,"longitude_deg":75.5700928,"latitude_deg":11.761236,"altitude":16,"angle":315,"satellites":26,"speed":3,"hex_longitude":"2d0b14c0","hex_latitude":"07029f48","is_valid_coordinates":true} 
[2026-09-17 09:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142556928001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292717568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789619363000,"timestamp_ms":1789619363000,"timestamp_seconds":1789619363,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada05cb8"} 
[2026-09-17 09:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 09:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 09:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 09:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 09:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 09:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142556928001,"66":14428,"17":206,"94":11008,"24":3,"16":32651440895819776,"45":798474170292717568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 09:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 09:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 09:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142556928001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:59:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 09:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292717568,"description":"Unknown IO ID 45"} 
[2026-09-17 09:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142556928001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":798474170292717568}} 
[2026-09-17 09:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":187720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854525,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:59:36] local.INFO: GPS data processed {"connection_id":187720,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:59:36] local.INFO: Acknowledgment sent {"connection_id":187720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:59:37] local.INFO: TCP Data received {"connection_id":184997,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:59:37] local.INFO: Processing buffer {"connection_id":184997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 09:59:37] local.INFO: Packet analysis {"connection_id":184997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:59:37] local.INFO: Extracted packet for processing {"connection_id":184997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 09:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 09:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 09:59:37] 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-09-17 09:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 09:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 09:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 09:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 09:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 09:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 09:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 09:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 09:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 09:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":184997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:59:37] local.INFO: GPS data processed {"connection_id":184997,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:59:37] local.INFO: Acknowledgment sent {"connection_id":184997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:59:48] local.INFO: TCP Data received {"connection_id":184998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:59:48] local.INFO: Processing buffer {"connection_id":184998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:59:48] local.INFO: IMEI packet received {"connection_id":184998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 09:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":184998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 09:59:53] local.INFO: TCP Data received {"connection_id":184998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:59:53] local.INFO: Processing buffer {"connection_id":184998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 09:59:53] local.INFO: IMEI packet received {"connection_id":184998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 09:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":184998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 09:59:53] local.INFO: TCP Data received {"connection_id":184998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9e4d60012d1a9600071f9c08002400d212..."} 
[2026-09-17 09:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9e4d60012d1a9600071f9c08002400d212..."} 
[2026-09-17 09:59:53] local.INFO: Processing buffer {"connection_id":184998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9e4d60012d1a9600071f9c08002400d212..."} 
[2026-09-17 09:59:53] local.INFO: Packet analysis {"connection_id":184998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:59:53] local.INFO: Extracted packet for processing {"connection_id":184998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 09:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756717056,"raw_latitude":119512072,"longitude_deg":75.6717056,"latitude_deg":11.9512072,"altitude":36,"angle":210,"satellites":18,"speed":3,"hex_longitude":"2d1a9600","hex_latitude":"071f9c08","is_valid_coordinates":true} 
[2026-09-17 09:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 09:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142518016001,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149174879748096,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915929828320399360,"note":"Value kept but may cause issues"} 
[2026-09-17 09:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 09:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789619228000,"timestamp_ms":1789619228000,"timestamp_seconds":1789619228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9e4d60"} 
[2026-09-17 09:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 09:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 09:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 09:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 09:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 09:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 09:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 09:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":184998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 09:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":184998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":184998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 09:59:53] 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-09-17 09:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 09:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 09:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142518016001,"66":13059,"101":206,"83":41984,"24":3,"16":21149174879748096,"45":1915929828320399360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 09:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 09:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 09:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142518016001,"description":"Unknown IO ID 0"} 
[2026-09-17 09:59:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 09:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 09:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149174879748096,"km_value":21149174879748.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 09:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915929828320399360,"description":"Unknown IO ID 45"} 
[2026-09-17 09:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142518016001,"power":13059,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1915929828320399360}} 
[2026-09-17 09:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":184998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 09:59:54] local.INFO: GPS data processed {"connection_id":184998,"processed":1,"errors":0,"total":1} 
[2026-09-17 09:59:54] local.INFO: Acknowledgment sent {"connection_id":184998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 09:59:58] local.INFO: TCP Data received {"connection_id":184999,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:59:58] local.INFO: Processing buffer {"connection_id":184999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 09:59:58] local.INFO: IMEI packet received {"connection_id":184999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 09:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":184999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:00:03] local.INFO: TCP Data received {"connection_id":184999,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:00:03] local.INFO: Processing buffer {"connection_id":184999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:00:03] local.INFO: IMEI packet received {"connection_id":184999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":184999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:00:05] local.INFO: TCP Data received {"connection_id":184999,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:00:05] local.INFO: Processing buffer {"connection_id":184999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:00:05] local.INFO: Packet analysis {"connection_id":184999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:00:05] local.INFO: Extracted packet for processing {"connection_id":184999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 10:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 10:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":184999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":184999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":184999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:00:05] 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-09-17 10:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":184999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:00:05] local.INFO: GPS data processed {"connection_id":184999,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:00:05] local.INFO: Acknowledgment sent {"connection_id":184999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:00:24] local.INFO: TCP Data received {"connection_id":184998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9e5918012d1a9640071f9c28002400b613..."} 
[2026-09-17 10:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9e5918012d1a9640071f9c28002400b613..."} 
[2026-09-17 10:00:24] local.INFO: Processing buffer {"connection_id":184998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9e5918012d1a9640071f9c28002400b613..."} 
[2026-09-17 10:00:24] local.INFO: Packet analysis {"connection_id":184998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:00:24] local.INFO: Extracted packet for processing {"connection_id":184998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756717120,"raw_latitude":119512104,"longitude_deg":75.671712,"latitude_deg":11.9512104,"altitude":36,"angle":182,"satellites":19,"speed":2,"hex_longitude":"2d1a9640","hex_latitude":"071f9c28","is_valid_coordinates":true} 
[2026-09-17 10:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142522368001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149183469682688,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915718722087815168,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789619231000,"timestamp_ms":1789619231000,"timestamp_seconds":1789619231,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9e5918"} 
[2026-09-17 10:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303178330459512,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":101,"raw_value":58075809043709954,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2912789864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2620391465,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-17 10:00:24] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221692316,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,35,160,10,45,192,156,38,14,66,204,155,40,13,1,240,150,227,173,31,4,113,205,3,151,176,12,239,52,2,75,7,42],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-17 10:00:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594304360116846592,"timestamp_seconds":2594304360116846.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":184998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":184998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":184998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142522368001,"66":12287,"101":206,"83":41984,"24":2,"16":21149183469682688,"45":1915718722087815168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 10:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142522368001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:00:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 10:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149183469682688,"km_value":21149183469682.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915718722087815168,"description":"Unknown IO ID 45"} 
[2026-09-17 10:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142522368001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1915718722087815168}} 
[2026-09-17 10:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":184998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:00:25] local.INFO: GPS data processed {"connection_id":184998,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:00:25] local.INFO: Acknowledgment sent {"connection_id":184998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:00:37] local.INFO: TCP Data received {"connection_id":184999,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":184999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:00:37] local.INFO: Processing buffer {"connection_id":184999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:00:37] local.INFO: Packet analysis {"connection_id":184999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:00:37] local.INFO: Extracted packet for processing {"connection_id":184999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 10:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 10:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":184999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":184999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":184999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:00:37] 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-09-17 10:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":184999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:00:37] local.INFO: GPS data processed {"connection_id":184999,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:00:37] local.INFO: Acknowledgment sent {"connection_id":184999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:00:48] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:00:48] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:00:48] local.INFO: IMEI packet received {"connection_id":186409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":186409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:00:53] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:00:53] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:00:53] local.INFO: IMEI packet received {"connection_id":186409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":186409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:00:53] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9e8028012d1a9600071f9c40002300d614..."} 
[2026-09-17 10:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9e8028012d1a9600071f9c40002300d614..."} 
[2026-09-17 10:00:53] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9e8028012d1a9600071f9c40002300d614..."} 
[2026-09-17 10:00:53] local.INFO: Packet analysis {"connection_id":186409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:00:53] local.INFO: Extracted packet for processing {"connection_id":186409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756717056,"raw_latitude":119512128,"longitude_deg":75.6717056,"latitude_deg":11.9512128,"altitude":35,"angle":214,"satellites":20,"speed":2,"hex_longitude":"2d1a9600","hex_latitude":"071f9c40","is_valid_coordinates":true} 
[2026-09-17 10:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142523136001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149187764649984,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915789090832001024,"note":"Value kept but may cause issues"} 
[2026-09-17 10:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789619241000,"timestamp_ms":1789619241000,"timestamp_seconds":1789619241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9e8028"} 
[2026-09-17 10:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-17 10:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:00:53] 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-09-17 10:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142523136001,"66":12950,"101":206,"83":41984,"24":2,"16":21149187764649984,"45":1915789090832001024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 10:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142523136001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:00:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 10:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149187764649984,"km_value":21149187764649.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915789090832001024,"description":"Unknown IO ID 45"} 
[2026-09-17 10:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142523136001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1915789090832001024}} 
[2026-09-17 10:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":186409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:00:53] local.INFO: GPS data processed {"connection_id":186409,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:00:53] local.INFO: Acknowledgment sent {"connection_id":186409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:00:58] local.INFO: TCP Data received {"connection_id":187722,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:00:58] local.INFO: Processing buffer {"connection_id":187722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:00:58] local.INFO: IMEI packet received {"connection_id":187722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":187722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:01:03] local.INFO: TCP Data received {"connection_id":187722,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:01:03] local.INFO: Processing buffer {"connection_id":187722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:01:03] local.INFO: IMEI packet received {"connection_id":187722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":187722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:01:04] local.INFO: TCP Data received {"connection_id":187722,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:01:04] local.INFO: Processing buffer {"connection_id":187722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:01:04] local.INFO: Packet analysis {"connection_id":187722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:01:04] local.INFO: Extracted packet for processing {"connection_id":187722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 10:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 10:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":187722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:01:04] local.INFO: GPS data processed {"connection_id":187722,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:01:04] local.INFO: Acknowledgment sent {"connection_id":187722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:01:24] local.INFO: TCP Data received {"connection_id":186409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9ed230012d1a9580071f9b30001e00da16..."} 
[2026-09-17 10:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9ed230012d1a9580071f9b30001e00da16..."} 
[2026-09-17 10:01:24] local.INFO: Processing buffer {"connection_id":186409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9ed230012d1a9580071f9b30001e00da16..."} 
[2026-09-17 10:01:24] local.INFO: Packet analysis {"connection_id":186409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:01:24] local.INFO: Extracted packet for processing {"connection_id":186409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756716928,"raw_latitude":119511856,"longitude_deg":75.6716928,"latitude_deg":11.9511856,"altitude":30,"angle":218,"satellites":22,"speed":1,"hex_longitude":"2d1a9580","hex_latitude":"071f9b30","is_valid_coordinates":true} 
[2026-09-17 10:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142525696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149209239486464,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915718722087829504,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789619262000,"timestamp_ms":1789619262000,"timestamp_seconds":1789619262,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9ed230"} 
[2026-09-17 10:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 10:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:01:25] 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-09-17 10:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142525696001,"66":12874,"101":206,"83":41984,"24":1,"16":21149209239486464,"45":1915718722087829504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 10:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142525696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:01:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 10:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149209239486464,"km_value":21149209239486.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915718722087829504,"description":"Unknown IO ID 45"} 
[2026-09-17 10:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142525696001,"power":12874,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1915718722087829504}} 
[2026-09-17 10:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":186409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:01:25] local.INFO: GPS data processed {"connection_id":186409,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:01:25] local.INFO: Acknowledgment sent {"connection_id":186409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:01:36] local.INFO: TCP Data received {"connection_id":187722,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:01:36] local.INFO: Processing buffer {"connection_id":187722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:01:36] local.INFO: Packet analysis {"connection_id":187722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:01:36] local.INFO: Extracted packet for processing {"connection_id":187722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 10:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 10:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":187722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:01:36] local.INFO: GPS data processed {"connection_id":187722,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:01:36] local.INFO: Acknowledgment sent {"connection_id":187722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:01:37] local.INFO: TCP Data received {"connection_id":185121,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185121,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:01:37] local.INFO: Processing buffer {"connection_id":185121,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:01:37] local.INFO: IMEI packet received {"connection_id":185121,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":185121,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:01:48] local.INFO: TCP Data received {"connection_id":187723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:01:48] local.INFO: Processing buffer {"connection_id":187723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:01:48] local.INFO: IMEI packet received {"connection_id":187723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":187723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:01:53] local.INFO: TCP Data received {"connection_id":187723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:01:53] local.INFO: Processing buffer {"connection_id":187723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:01:53] local.INFO: IMEI packet received {"connection_id":187723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":187723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:01:53] local.INFO: TCP Data received {"connection_id":187723,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada1df70012d1a9400071f99f8001700ce17..."} 
[2026-09-17 10:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada1df70012d1a9400071f99f8001700ce17..."} 
[2026-09-17 10:01:53] local.INFO: Processing buffer {"connection_id":187723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada1df70012d1a9400071f99f8001700ce17..."} 
[2026-09-17 10:01:53] local.INFO: Packet analysis {"connection_id":187723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada1"} 
[2026-09-17 10:01:53] local.INFO: Extracted packet for processing {"connection_id":187723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada1"} 
[2026-09-17 10:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756716544,"raw_latitude":119511544,"longitude_deg":75.6716544,"latitude_deg":11.9511544,"altitude":23,"angle":206,"satellites":23,"speed":0,"hex_longitude":"2d1a9400","hex_latitude":"071f99f8","is_valid_coordinates":true} 
[2026-09-17 10:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142576896001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149256484126720,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915155772134258688,"note":"Value kept but may cause issues"} 
[2026-09-17 10:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789619462000,"timestamp_ms":1789619462000,"timestamp_seconds":1789619462,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada1df70"} 
[2026-09-17 10:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 10:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:01:53] 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-09-17 10:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142576896001,"66":12613,"101":206,"83":41984,"24":0,"16":21149256484126720,"45":1915155772134258688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 10:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142576896001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:01:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 10:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149256484126720,"km_value":21149256484126.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915155772134258688,"description":"Unknown IO ID 45"} 
[2026-09-17 10:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142576896001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1915155772134258688}} 
[2026-09-17 10:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":187723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:01:53] local.INFO: GPS data processed {"connection_id":187723,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:01:53] local.INFO: Acknowledgment sent {"connection_id":187723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:01:58] local.INFO: TCP Data received {"connection_id":185122,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:01:58] local.INFO: Processing buffer {"connection_id":185122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:01:58] local.INFO: IMEI packet received {"connection_id":185122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":185122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:02:03] local.INFO: TCP Data received {"connection_id":185122,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:02:03] local.INFO: Processing buffer {"connection_id":185122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:02:03] local.INFO: IMEI packet received {"connection_id":185122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":185122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:02:04] local.INFO: TCP Data received {"connection_id":185122,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:02:04] local.INFO: Processing buffer {"connection_id":185122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:02:04] local.INFO: Packet analysis {"connection_id":185122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:02:04] local.INFO: Extracted packet for processing {"connection_id":185122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 10:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 10:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:02:04] 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-09-17 10:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":185122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:02:04] local.INFO: GPS data processed {"connection_id":185122,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:02:04] local.INFO: Acknowledgment sent {"connection_id":185122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:02:07] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:02:07] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:02:07] local.INFO: IMEI packet received {"connection_id":186411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":186411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:02:12] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:02:12] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:02:12] local.INFO: IMEI packet received {"connection_id":186411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":186411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:02:13] local.INFO: TCP Data received {"connection_id":186411,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada06488012d0b14c007029f80001001511a..."} 
[2026-09-17 10:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada06488012d0b14c007029f80001001511a..."} 
[2026-09-17 10:02:13] local.INFO: Processing buffer {"connection_id":186411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada06488012d0b14c007029f80001001511a..."} 
[2026-09-17 10:02:13] local.INFO: Packet analysis {"connection_id":186411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:02:13] local.INFO: Extracted packet for processing {"connection_id":186411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:02:13] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612416,"longitude_deg":75.5700928,"latitude_deg":11.7612416,"altitude":16,"angle":337,"satellites":26,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f80","is_valid_coordinates":true} 
[2026-09-17 10:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142556928001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292717568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789619365000,"timestamp_ms":1789619365000,"timestamp_seconds":1789619365,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada06488"} 
[2026-09-17 10:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142556928001,"66":14428,"17":206,"94":11008,"24":0,"16":32651440895819776,"45":798474170292717568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 10:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142556928001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:02:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292717568,"description":"Unknown IO ID 45"} 
[2026-09-17 10:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142556928001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798474170292717568}} 
[2026-09-17 10:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":186411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:02:13] local.INFO: GPS data processed {"connection_id":186411,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:02:13] local.INFO: Acknowledgment sent {"connection_id":186411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:02:24] local.INFO: TCP Data received {"connection_id":187723,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada23178012d1a9400071f99f8001700ce19..."} 
[2026-09-17 10:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada23178012d1a9400071f99f8001700ce19..."} 
[2026-09-17 10:02:24] local.INFO: Processing buffer {"connection_id":187723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada23178012d1a9400071f99f8001700ce19..."} 
[2026-09-17 10:02:24] local.INFO: Packet analysis {"connection_id":187723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada2"} 
[2026-09-17 10:02:24] local.INFO: Extracted packet for processing {"connection_id":187723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada2"} 
[2026-09-17 10:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756716544,"raw_latitude":119511544,"longitude_deg":75.6716544,"latitude_deg":11.9511544,"altitude":23,"angle":206,"satellites":25,"speed":0,"hex_longitude":"2d1a9400","hex_latitude":"071f99f8","is_valid_coordinates":true} 
[2026-09-17 10:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142582272001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149256484126720,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915155772134258688,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789619483000,"timestamp_ms":1789619483000,"timestamp_seconds":1789619483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada23178"} 
[2026-09-17 10:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-17 10:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142582272001,"66":12667,"101":206,"83":41984,"24":0,"16":21149256484126720,"45":1915155772134258688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 10:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142582272001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:02:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 10:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149256484126720,"km_value":21149256484126.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915155772134258688,"description":"Unknown IO ID 45"} 
[2026-09-17 10:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142582272001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1915155772134258688}} 
[2026-09-17 10:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":187723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:02:24] local.INFO: GPS data processed {"connection_id":187723,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:02:24] local.INFO: Acknowledgment sent {"connection_id":187723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:02:37] local.INFO: TCP Data received {"connection_id":185122,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:02:37] local.INFO: Processing buffer {"connection_id":185122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:02:37] local.INFO: Packet analysis {"connection_id":185122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:02:37] local.INFO: Extracted packet for processing {"connection_id":185122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 10:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 10:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:02:37] 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-09-17 10:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":185122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:02:37] local.INFO: GPS data processed {"connection_id":185122,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:02:37] local.INFO: Acknowledgment sent {"connection_id":185122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:02:48] local.INFO: TCP Data received {"connection_id":187724,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:02:48] local.INFO: Processing buffer {"connection_id":187724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:02:48] local.INFO: IMEI packet received {"connection_id":187724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":187724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:02:53] local.INFO: TCP Data received {"connection_id":187724,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:02:53] local.INFO: Processing buffer {"connection_id":187724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:02:53] local.INFO: IMEI packet received {"connection_id":187724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":187724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:02:53] local.INFO: TCP Data received {"connection_id":187724,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada277c8012d1a93c0071f98b0001300ba19..."} 
[2026-09-17 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada277c8012d1a93c0071f98b0001300ba19..."} 
[2026-09-17 10:02:53] local.INFO: Processing buffer {"connection_id":187724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada277c8012d1a93c0071f98b0001300ba19..."} 
[2026-09-17 10:02:53] local.INFO: Packet analysis {"connection_id":187724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada2"} 
[2026-09-17 10:02:53] local.INFO: Extracted packet for processing {"connection_id":187724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada2"} 
[2026-09-17 10:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756716480,"raw_latitude":119511216,"longitude_deg":75.671648,"latitude_deg":11.9511216,"altitude":19,"angle":186,"satellites":25,"speed":1,"hex_longitude":"2d1a93c0","hex_latitude":"071f98b0","is_valid_coordinates":true} 
[2026-09-17 10:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142587648001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149273663995904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915155772134258688,"note":"Value kept but may cause issues"} 
[2026-09-17 10:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789619501000,"timestamp_ms":1789619501000,"timestamp_seconds":1789619501,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada277c8"} 
[2026-09-17 10:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-17 10:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:02:53] 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-09-17 10:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142587648001,"66":12613,"101":206,"83":41984,"24":1,"16":21149273663995904,"45":1915155772134258688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 10:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142587648001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:02:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 10:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149273663995904,"km_value":21149273663995.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915155772134258688,"description":"Unknown IO ID 45"} 
[2026-09-17 10:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142587648001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1915155772134258688}} 
[2026-09-17 10:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":187724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:02:54] local.INFO: GPS data processed {"connection_id":187724,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:02:54] local.INFO: Acknowledgment sent {"connection_id":187724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:02:57] local.INFO: TCP Data received {"connection_id":186412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:02:57] local.INFO: Processing buffer {"connection_id":186412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:02:57] local.INFO: IMEI packet received {"connection_id":186412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":186412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:02:58] local.INFO: TCP Data received {"connection_id":185123,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:02:58] local.INFO: Processing buffer {"connection_id":185123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:02:58] local.INFO: IMEI packet received {"connection_id":185123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":185123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:03:02] local.INFO: TCP Data received {"connection_id":186412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:03:02] local.INFO: Processing buffer {"connection_id":186412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:03:02] local.INFO: IMEI packet received {"connection_id":186412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":186412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:03:03] local.INFO: TCP Data received {"connection_id":186412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:03:03] local.INFO: Processing buffer {"connection_id":186412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:03:03] local.INFO: Packet analysis {"connection_id":186412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:03:03] local.INFO: Extracted packet for processing {"connection_id":186412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:03:03] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612416,"longitude_deg":75.5700928,"latitude_deg":11.7612416,"altitude":16,"angle":321,"satellites":25,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f80","is_valid_coordinates":true} 
[2026-09-17 10:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557440001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789619366000,"timestamp_ms":1789619366000,"timestamp_seconds":1789619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada06870"} 
[2026-09-17 10:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557440001,"66":13004,"17":206,"94":11008,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 10:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557440001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:03:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557440001,"power":13004,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":186412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:03:03] local.INFO: GPS data processed {"connection_id":186412,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:03:03] local.INFO: Acknowledgment sent {"connection_id":186412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:03:03] local.INFO: TCP Data received {"connection_id":185123,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:03:03] local.INFO: Processing buffer {"connection_id":185123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:03:03] local.INFO: IMEI packet received {"connection_id":185123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":185123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:03:05] local.INFO: TCP Data received {"connection_id":185123,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:03:05] local.INFO: Processing buffer {"connection_id":185123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ad9eaf08012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:03:05] local.INFO: Packet analysis {"connection_id":185123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:03:05] local.INFO: Extracted packet for processing {"connection_id":185123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ad9e"} 
[2026-09-17 10:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142451712001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789619253000,"timestamp_ms":1789619253000,"timestamp_seconds":1789619253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ad9eaf08"} 
[2026-09-17 10:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 10:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:03:05] 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-09-17 10:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142451712001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142451712001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:03:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142451712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":185123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:03:05] local.INFO: GPS data processed {"connection_id":185123,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:03:05] local.INFO: Acknowledgment sent {"connection_id":185123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:03:24] local.INFO: TCP Data received {"connection_id":187724,"ip":"42.106.6.14","data_length":93,"data_hex":"00000000000000518e01000001a0ada3d758012d19e680071ffd78002201321a..."} 
[2026-09-17 10:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187724,"packet_length":93,"packet_hex":"00000000000000518e01000001a0ada3d758012d19e680071ffd78002201321a..."} 
[2026-09-17 10:03:24] local.INFO: Processing buffer {"connection_id":187724,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0ada3d758012d19e680071ffd78002201321a..."} 
[2026-09-17 10:03:24] local.INFO: Packet analysis {"connection_id":187724,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0ada3"} 
[2026-09-17 10:03:24] local.INFO: Extracted packet for processing {"connection_id":187724,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0ada3"} 
[2026-09-17 10:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756672128,"raw_latitude":119537016,"longitude_deg":75.6672128,"latitude_deg":11.9537016,"altitude":34,"angle":306,"satellites":26,"speed":25,"hex_longitude":"2d19e680","hex_latitude":"071ffd78","is_valid_coordinates":true} 
[2026-09-17 10:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-17 10:03:24] 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-09-17 10:03:24] 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-09-17 10:03:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:03:24] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 10:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187724,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 10:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187724,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-17 10:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187724,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-17 10:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 10:03:24] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 10:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":187724,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 10:03:24] local.ERROR: GPS data processing failed {"connection_id":187724,"error":"No valid data to process"} 
[2026-09-17 10:03:24] local.INFO: Acknowledgment sent {"connection_id":187724,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 10:03:35] local.INFO: TCP Data received {"connection_id":186412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:03:35] local.INFO: Processing buffer {"connection_id":186412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:03:35] local.INFO: Packet analysis {"connection_id":186412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:03:35] local.INFO: Extracted packet for processing {"connection_id":186412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:03:35] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612416,"longitude_deg":75.5700928,"latitude_deg":11.7612416,"altitude":16,"angle":321,"satellites":25,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f80","is_valid_coordinates":true} 
[2026-09-17 10:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557440001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789619366000,"timestamp_ms":1789619366000,"timestamp_seconds":1789619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada06870"} 
[2026-09-17 10:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557440001,"66":13004,"17":206,"94":11008,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 10:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557440001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:03:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557440001,"power":13004,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":186412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:03:35] local.INFO: GPS data processed {"connection_id":186412,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:03:35] local.INFO: Acknowledgment sent {"connection_id":186412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:03:35] local.INFO: TCP Data received {"connection_id":185123,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:03:35] local.INFO: Processing buffer {"connection_id":185123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:03:35] local.INFO: Packet analysis {"connection_id":185123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:03:35] local.INFO: Extracted packet for processing {"connection_id":185123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:03:35] 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-09-17 10:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":185123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:03:35] local.INFO: GPS data processed {"connection_id":185123,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:03:35] local.INFO: Acknowledgment sent {"connection_id":185123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:03:53] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:03:53] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:03:53] local.INFO: IMEI packet received {"connection_id":185124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":185124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:03:53] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.106.6.14","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 10:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 10:03:53] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 10:03:53] local.INFO: IMEI packet received {"connection_id":185124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":185124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:03:54] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada3db40012d19e500071fff88002201411a..."} 
[2026-09-17 10:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada3db40012d19e500071fff88002201411a..."} 
[2026-09-17 10:03:54] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 10:03:54] local.INFO: IMEI packet received {"connection_id":185124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":185124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:03:58] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada3eec8012d19dc80072009a0002201321a..."} 
[2026-09-17 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada3eec8012d19dc80072009a0002201321a..."} 
[2026-09-17 10:03:58] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0ad..."} 
[2026-09-17 10:03:58] local.INFO: IMEI packet received {"connection_id":185124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":185124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:03:58] local.INFO: TCP Data received {"connection_id":187727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:03:58] local.INFO: Processing buffer {"connection_id":187727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:03:58] local.INFO: IMEI packet received {"connection_id":187727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":187727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:03:59] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada40a20012d19cc4007201598002001411a..."} 
[2026-09-17 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada40a20012d19cc4007201598002001411a..."} 
[2026-09-17 10:03:59] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0ada3db40012d19e500071fff88002201411a..."} 
[2026-09-17 10:03:59] local.INFO: Packet analysis {"connection_id":185124,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:03:59] local.INFO: Extracted packet for processing {"connection_id":185124,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756671744,"raw_latitude":119537544,"longitude_deg":75.6671744,"latitude_deg":11.9537544,"altitude":34,"angle":321,"satellites":26,"speed":25,"hex_longitude":"2d19e500","hex_latitude":"071fff88","is_valid_coordinates":true} 
[2026-09-17 10:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142615296001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21151923658817536,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866319863681480704,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789619592000,"timestamp_ms":1789619592000,"timestamp_seconds":1789619592,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada3db40"} 
[2026-09-17 10:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751532836,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2913159864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":26,"raw_value":7133709643114610698,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1952873504382648330,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2744190977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4012900379,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184846437,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-5115863259718562221,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,37,160,207,45,251,33,26,10,66,191,128,32,184,1,240,153,227,173,31,4,113,205,102,67,239,55,2,75,7,12,28,164],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-17 10:03:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450294759518437376,"timestamp_seconds":2450294759518437.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:03:59] 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-09-17 10:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142615296001,"66":13580,"101":206,"83":41984,"24":25,"16":21151923658817536,"45":1866319863681480704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 10:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142615296001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21151923658817536,"km_value":21151923658817.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866319863681480704,"description":"Unknown IO ID 45"} 
[2026-09-17 10:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142615296001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1866319863681480704}} 
[2026-09-17 10:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":185124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:03:59] local.INFO: GPS data processed {"connection_id":185124,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:03:59] local.INFO: Acknowledgment sent {"connection_id":185124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:03:59] local.INFO: Packet analysis {"connection_id":185124,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:03:59] local.INFO: Extracted packet for processing {"connection_id":185124,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756669568,"raw_latitude":119540128,"longitude_deg":75.6669568,"latitude_deg":11.9540128,"altitude":34,"angle":306,"satellites":26,"speed":26,"hex_longitude":"2d19dc80","hex_latitude":"072009a0","is_valid_coordinates":true} 
[2026-09-17 10:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142615552001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21152086867574784,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865897651216549888,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789619597000,"timestamp_ms":1789619597000,"timestamp_seconds":1789619597,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada3eec8"} 
[2026-09-17 10:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751532836,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2913166864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":26,"raw_value":6106888928120799244,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2817564637132750858,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2746750977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184846437,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692399,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-5115863259718562221,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,37,160,215,45,128,253,34,26,10,66,207,251,33,191,1,240,227,173,31,4,113,205,32,145,30,48,239,55,2,75,7,164],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-17 10:03:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450311252192854016,"timestamp_seconds":2450311252192854.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:03:59] 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-09-17 10:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142615552001,"66":14265,"101":206,"83":41984,"24":26,"16":21152086867574784,"45":1865897651216549888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 10:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142615552001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21152086867574784,"km_value":21152086867574.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865897651216549888,"description":"Unknown IO ID 45"} 
[2026-09-17 10:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142615552001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1865897651216549888}} 
[2026-09-17 10:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":185124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:03:59] local.INFO: GPS data processed {"connection_id":185124,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:03:59] local.INFO: Acknowledgment sent {"connection_id":185124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:03:59] local.INFO: Packet analysis {"connection_id":185124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada4"} 
[2026-09-17 10:03:59] local.INFO: Extracted packet for processing {"connection_id":185124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada4"} 
[2026-09-17 10:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119543192,"longitude_deg":75.6665408,"latitude_deg":11.9543192,"altitude":32,"angle":321,"satellites":26,"speed":28,"hex_longitude":"2d19cc40","hex_latitude":"07201598","is_valid_coordinates":true} 
[2026-09-17 10:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142616832001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21152335975677952,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863505113915170816,"note":"Value kept but may cause issues"} 
[2026-09-17 10:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789619604000,"timestamp_ms":1789619604000,"timestamp_seconds":1789619604,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada40a20"} 
[2026-09-17 10:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:03:59] 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-09-17 10:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142616832001,"66":14211,"101":206,"83":41984,"24":28,"16":21152335975677952,"45":1863505113915170816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 10:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142616832001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21152335975677952,"km_value":21152335975677.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863505113915170816,"description":"Unknown IO ID 45"} 
[2026-09-17 10:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142616832001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1863505113915170816}} 
[2026-09-17 10:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":185124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:03:59] local.INFO: GPS data processed {"connection_id":185124,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:03:59] local.INFO: Acknowledgment sent {"connection_id":185124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:04:03] local.INFO: TCP Data received {"connection_id":187727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:04:03] local.INFO: Processing buffer {"connection_id":187727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:04:03] local.INFO: IMEI packet received {"connection_id":187727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":187727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:04:04] local.INFO: TCP Data received {"connection_id":187727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:04:04] local.INFO: Processing buffer {"connection_id":187727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:04:04] local.INFO: Packet analysis {"connection_id":187727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:04:04] local.INFO: Extracted packet for processing {"connection_id":187727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:04:04] 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-09-17 10:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":187727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:04:04] local.INFO: GPS data processed {"connection_id":187727,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:04:04] local.INFO: Acknowledgment sent {"connection_id":187727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:04:05] local.INFO: TCP Data received {"connection_id":185125,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:04:05] local.INFO: Processing buffer {"connection_id":185125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:04:05] local.INFO: IMEI packet received {"connection_id":185125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":185125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:04:07] local.INFO: TCP Data received {"connection_id":185125,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:04:07] local.INFO: Processing buffer {"connection_id":185125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:04:07] local.INFO: IMEI packet received {"connection_id":185125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":185125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:04:08] local.INFO: TCP Data received {"connection_id":185125,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:04:08] local.INFO: Processing buffer {"connection_id":185125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:04:08] local.INFO: Packet analysis {"connection_id":185125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:04:08] local.INFO: Extracted packet for processing {"connection_id":185125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:04:08] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612416,"longitude_deg":75.5700928,"latitude_deg":11.7612416,"altitude":16,"angle":321,"satellites":25,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f80","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557440001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789619366000,"timestamp_ms":1789619366000,"timestamp_seconds":1789619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada06870"} 
[2026-09-17 10:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557440001,"66":13004,"17":206,"94":11008,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 10:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557440001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:04:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557440001,"power":13004,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":185125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:04:08] local.INFO: GPS data processed {"connection_id":185125,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:04:08] local.INFO: Acknowledgment sent {"connection_id":185125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:04:13] local.INFO: TCP Data received {"connection_id":185125,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:04:13] local.INFO: Processing buffer {"connection_id":185125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada06870012d0b14c007029f800010014119..."} 
[2026-09-17 10:04:13] local.INFO: Packet analysis {"connection_id":185125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:04:13] local.INFO: Extracted packet for processing {"connection_id":185125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada0"} 
[2026-09-17 10:04:13] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612416,"longitude_deg":75.5700928,"latitude_deg":11.7612416,"altitude":16,"angle":321,"satellites":25,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f80","is_valid_coordinates":true} 
[2026-09-17 10:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557440001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789619366000,"timestamp_ms":1789619366000,"timestamp_seconds":1789619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada06870"} 
[2026-09-17 10:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557440001,"66":13004,"17":206,"94":11008,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 10:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557440001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:04:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557440001,"power":13004,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":185125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854550,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:04:13] local.INFO: GPS data processed {"connection_id":185125,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:04:13] local.INFO: Acknowledgment sent {"connection_id":185125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:04:16] local.INFO: TCP Data received {"connection_id":187726,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:04:16] local.INFO: Processing buffer {"connection_id":187726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:04:16] local.INFO: IMEI packet received {"connection_id":187726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":187726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:04:30] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada4c5a0012d19b6000720ac80002c012f1a..."} 
[2026-09-17 10:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada4c5a0012d19b6000720ac80002c012f1a..."} 
[2026-09-17 10:04:30] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada4c5a0012d19b6000720ac80002c012f1a..."} 
[2026-09-17 10:04:30] local.INFO: Packet analysis {"connection_id":185124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada4"} 
[2026-09-17 10:04:30] local.INFO: Extracted packet for processing {"connection_id":185124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada4"} 
[2026-09-17 10:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756659712,"raw_latitude":119581824,"longitude_deg":75.6659712,"latitude_deg":11.9581824,"altitude":44,"angle":303,"satellites":26,"speed":20,"hex_longitude":"2d19b600","hex_latitude":"0720ac80","is_valid_coordinates":true} 
[2026-09-17 10:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142630656001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21154341725405184,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908531656704,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789619652000,"timestamp_ms":1789619652000,"timestamp_seconds":1789619652,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada4c5a0"} 
[2026-09-17 10:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:04:30] 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-09-17 10:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142630656001,"66":14233,"103":206,"83":41984,"24":20,"16":21154341725405184,"45":1853160908531656704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 10:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142630656001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:04:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 10:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21154341725405184,"km_value":21154341725405.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908531656704,"description":"Unknown IO ID 45"} 
[2026-09-17 10:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142630656001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853160908531656704}} 
[2026-09-17 10:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":185124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:04:30] local.INFO: GPS data processed {"connection_id":185124,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:04:30] local.INFO: Acknowledgment sent {"connection_id":185124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:04:36] local.INFO: TCP Data received {"connection_id":187727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:04:36] local.INFO: Processing buffer {"connection_id":187727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:04:36] local.INFO: Packet analysis {"connection_id":187727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:04:36] local.INFO: Extracted packet for processing {"connection_id":187727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:04:36] 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-09-17 10:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":187727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:04:36] local.INFO: GPS data processed {"connection_id":187727,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:04:36] local.INFO: Acknowledgment sent {"connection_id":187727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:04:47] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:47] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:47] local.INFO: IMEI packet received {"connection_id":187729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":187729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:04:48] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:48] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:48] local.INFO: IMEI packet received {"connection_id":187729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":187729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:04:51] local.INFO: TCP Data received {"connection_id":187728,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:04:51] local.INFO: Processing buffer {"connection_id":187728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:04:51] local.INFO: IMEI packet received {"connection_id":187728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":187728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:04:51] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:51] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:51] local.INFO: IMEI packet received {"connection_id":187729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":187729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:04:53] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:54] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:04:54] local.INFO: IMEI packet received {"connection_id":187729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":187729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:04:54] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada4d540012d19ad400720afc0002d01221a..."} 
[2026-09-17 10:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada4d540012d19ad400720afc0002d01221a..."} 
[2026-09-17 10:04:54] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada4d540012d19ad400720afc0002d01221a..."} 
[2026-09-17 10:04:54] local.INFO: Packet analysis {"connection_id":187729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada4"} 
[2026-09-17 10:04:54] local.INFO: Extracted packet for processing {"connection_id":187729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada4"} 
[2026-09-17 10:04:54] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119582656,"longitude_deg":75.6657472,"latitude_deg":11.9582656,"altitude":45,"angle":290,"satellites":26,"speed":22,"hex_longitude":"2d19ad40","hex_latitude":"0720afc0","is_valid_coordinates":true} 
[2026-09-17 10:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142630912001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21154453394554880,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852668327322484736,"note":"Value kept but may cause issues"} 
[2026-09-17 10:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789619656000,"timestamp_ms":1789619656000,"timestamp_seconds":1789619656,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada4d540"} 
[2026-09-17 10:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142630912001,"66":14080,"103":206,"83":41984,"24":22,"16":21154453394554880,"45":1852668327322484736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 10:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142630912001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:04:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 10:04:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21154453394554880,"km_value":21154453394554.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852668327322484736,"description":"Unknown IO ID 45"} 
[2026-09-17 10:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142630912001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1852668327322484736}} 
[2026-09-17 10:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":187729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:04:54] local.INFO: GPS data processed {"connection_id":187729,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:04:54] local.INFO: Acknowledgment sent {"connection_id":187729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:04:58] local.INFO: TCP Data received {"connection_id":185126,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:04:58] local.INFO: Processing buffer {"connection_id":185126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:04:58] local.INFO: IMEI packet received {"connection_id":185126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":185126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:04:59] local.INFO: TCP Data received {"connection_id":187730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:04:59] local.INFO: Processing buffer {"connection_id":187730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:04:59] local.INFO: IMEI packet received {"connection_id":187730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":187730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:05:02] local.INFO: TCP Data received {"connection_id":187730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:05:02] local.INFO: Processing buffer {"connection_id":187730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:05:02] local.INFO: IMEI packet received {"connection_id":187730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":187730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:05:03] local.INFO: TCP Data received {"connection_id":185126,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:05:03] local.INFO: Processing buffer {"connection_id":185126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:05:03] local.INFO: IMEI packet received {"connection_id":185126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":185126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:05:04] local.INFO: TCP Data received {"connection_id":187730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:05:04] local.INFO: Processing buffer {"connection_id":187730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:05:04] local.INFO: Packet analysis {"connection_id":187730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:04] local.INFO: Extracted packet for processing {"connection_id":187730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:04] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:05:04] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:05:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":187730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:05:04] local.INFO: GPS data processed {"connection_id":187730,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:05:04] local.INFO: Acknowledgment sent {"connection_id":187730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:05:04] local.INFO: TCP Data received {"connection_id":185126,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:05:04] local.INFO: Processing buffer {"connection_id":185126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:05:04] local.INFO: Packet analysis {"connection_id":185126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:05:04] local.INFO: Extracted packet for processing {"connection_id":185126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:05:04] 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-09-17 10:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":185126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:05:04] local.INFO: GPS data processed {"connection_id":185126,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:05:04] local.INFO: Acknowledgment sent {"connection_id":185126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:05:08] local.INFO: TCP Data received {"connection_id":187730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:05:08] local.INFO: Processing buffer {"connection_id":187730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:05:08] local.INFO: Packet analysis {"connection_id":187730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:08] local.INFO: Extracted packet for processing {"connection_id":187730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:08] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:05:08] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:05:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":187730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854556,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:05:08] local.INFO: GPS data processed {"connection_id":187730,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:05:08] local.INFO: Acknowledgment sent {"connection_id":187730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:05:26] local.INFO: TCP Data received {"connection_id":187729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada4e0f8012d19a6800720b130002d01171a..."} 
[2026-09-17 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada4e0f8012d19a6800720b130002d01171a..."} 
[2026-09-17 10:05:26] local.INFO: Processing buffer {"connection_id":187729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada4e0f8012d19a6800720b130002d01171a..."} 
[2026-09-17 10:05:26] local.INFO: Packet analysis {"connection_id":187729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada4"} 
[2026-09-17 10:05:26] local.INFO: Extracted packet for processing {"connection_id":187729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada4"} 
[2026-09-17 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":756655744,"raw_latitude":119583024,"longitude_deg":75.6655744,"latitude_deg":11.9583024,"altitude":45,"angle":279,"satellites":26,"speed":23,"hex_longitude":"2d19a680","hex_latitude":"0720b130","is_valid_coordinates":true} 
[2026-09-17 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142631936001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21154539293900800,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421276479488,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789619659000,"timestamp_ms":1789619659000,"timestamp_seconds":1789619659,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada4e0f8"} 
[2026-09-17 10:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2913247864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2763646977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-17 10:05:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926200,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,39,160,197,45,172,44,26,10,66,193,192,171,189,1,240,33,227,173,32,4,113,205,19,182,184,128,239,52,2,75,7,42],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-17 10:05:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242910701749403648,"timestamp_seconds":3242910701749403.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:05:26] 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-09-17 10:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142631936001,"66":14243,"103":206,"83":41984,"24":23,"16":21154539293900800,"45":1850205421276479488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 10:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142631936001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:05:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 10:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21154539293900800,"km_value":21154539293900.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421276479488,"description":"Unknown IO ID 45"} 
[2026-09-17 10:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142631936001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1850205421276479488}} 
[2026-09-17 10:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":187729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:05:26] local.INFO: GPS data processed {"connection_id":187729,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:05:26] local.INFO: Acknowledgment sent {"connection_id":187729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:05:36] local.INFO: TCP Data received {"connection_id":185126,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:05:36] local.INFO: Processing buffer {"connection_id":185126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:05:36] local.INFO: Packet analysis {"connection_id":185126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:05:36] local.INFO: Extracted packet for processing {"connection_id":185126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:05:36] 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-09-17 10:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":185126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:05:36] local.INFO: GPS data processed {"connection_id":185126,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:05:36] local.INFO: Acknowledgment sent {"connection_id":185126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:05:39] local.INFO: TCP Data received {"connection_id":187730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:05:39] local.INFO: Processing buffer {"connection_id":187730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:05:39] local.INFO: Packet analysis {"connection_id":187730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:39] local.INFO: Extracted packet for processing {"connection_id":187730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:39] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:05:39] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:05:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":187730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854559,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:05:39] local.INFO: GPS data processed {"connection_id":187730,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:05:39] local.INFO: Acknowledgment sent {"connection_id":187730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:05:53] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:05:53] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:05:53] local.INFO: IMEI packet received {"connection_id":185000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":185000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:05:53] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:05:53] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:05:53] local.INFO: IMEI packet received {"connection_id":185000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":185000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:05:55] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:05:55] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:05:55] local.INFO: IMEI packet received {"connection_id":185000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":185000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:05:56] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada5e6b0012d18d580072101d80038014e1a..."} 
[2026-09-17 10:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada5e6b0012d18d580072101d80038014e1a..."} 
[2026-09-17 10:05:56] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada5e6b0012d18d580072101d80038014e1a..."} 
[2026-09-17 10:05:56] local.INFO: Packet analysis {"connection_id":185000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:56] local.INFO: Extracted packet for processing {"connection_id":185000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756602240,"raw_latitude":119603672,"longitude_deg":75.660224,"latitude_deg":11.9603672,"altitude":56,"angle":334,"satellites":26,"speed":34,"hex_longitude":"2d18d580","hex_latitude":"072101d8","is_valid_coordinates":true} 
[2026-09-17 10:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142648576001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21157502821335040,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792573419799523328,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789619726000,"timestamp_ms":1789619726000,"timestamp_seconds":1789619726,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada5e6b0"} 
[2026-09-17 10:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 10:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:05:56] 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-09-17 10:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142648576001,"66":14048,"103":206,"83":41984,"24":34,"16":21157502821335040,"45":1792573419799523328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 10:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142648576001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:05:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 10:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21157502821335040,"km_value":21157502821335.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792573419799523328,"description":"Unknown IO ID 45"} 
[2026-09-17 10:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142648576001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1792573419799523328}} 
[2026-09-17 10:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":185000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:05:56] local.INFO: GPS data processed {"connection_id":185000,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:05:56] local.INFO: Acknowledgment sent {"connection_id":185000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:05:57] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:05:57] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:05:57] local.INFO: IMEI packet received {"connection_id":185002,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":185002,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:05:58] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:05:58] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:05:58] local.INFO: IMEI packet received {"connection_id":186413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":186413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:05:58] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada5f268012d18d2c007210ac0003a015c1a..."} 
[2026-09-17 10:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada5f268012d18d2c007210ac0003a015c1a..."} 
[2026-09-17 10:05:58] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada5f268012d18d2c007210ac0003a015c1a..."} 
[2026-09-17 10:05:58] local.INFO: Packet analysis {"connection_id":185000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:58] local.INFO: Extracted packet for processing {"connection_id":185000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:05:58] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119605952,"longitude_deg":75.6601536,"latitude_deg":11.9605952,"altitude":58,"angle":348,"satellites":26,"speed":25,"hex_longitude":"2d18d2c0","hex_latitude":"07210ac0","is_valid_coordinates":true} 
[2026-09-17 10:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142649856001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21157618785452032,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789477195056535552,"note":"Value kept but may cause issues"} 
[2026-09-17 10:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789619729000,"timestamp_ms":1789619729000,"timestamp_seconds":1789619729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada5f268"} 
[2026-09-17 10:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 10:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:05:58] 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-09-17 10:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142649856001,"66":13678,"103":206,"83":41984,"24":25,"16":21157618785452032,"45":1789477195056535552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 10:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142649856001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:05:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 10:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21157618785452032,"km_value":21157618785452.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789477195056535552,"description":"Unknown IO ID 45"} 
[2026-09-17 10:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142649856001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1789477195056535552}} 
[2026-09-17 10:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":185000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:05:58] local.INFO: GPS data processed {"connection_id":185000,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:05:58] local.INFO: Acknowledgment sent {"connection_id":185000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:06:03] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:06:03] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:06:03] local.INFO: IMEI packet received {"connection_id":186413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":186413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:06:03] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:06:03] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:06:03] local.INFO: IMEI packet received {"connection_id":185002,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":185002,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:06:04] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:06:04] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:06:04] local.INFO: Packet analysis {"connection_id":186413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:06:04] local.INFO: Extracted packet for processing {"connection_id":186413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:06:04] 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-09-17 10:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":186413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:06:04] local.INFO: GPS data processed {"connection_id":186413,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:06:04] local.INFO: Acknowledgment sent {"connection_id":186413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:06:07] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:06:07] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:06:07] local.INFO: Packet analysis {"connection_id":185002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:06:07] local.INFO: Extracted packet for processing {"connection_id":185002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:06:07] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:06:07] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:06:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":185002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854563,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:06:07] local.INFO: GPS data processed {"connection_id":185002,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:06:07] local.INFO: Acknowledgment sent {"connection_id":185002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:06:29] local.INFO: TCP Data received {"connection_id":185000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada611a8012d18d10007211a28003e00001a..."} 
[2026-09-17 10:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada611a8012d18d10007211a28003e00001a..."} 
[2026-09-17 10:06:29] local.INFO: Processing buffer {"connection_id":185000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada611a8012d18d10007211a28003e00001a..."} 
[2026-09-17 10:06:29] local.INFO: Packet analysis {"connection_id":185000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada6"} 
[2026-09-17 10:06:29] local.INFO: Extracted packet for processing {"connection_id":185000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada6"} 
[2026-09-17 10:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119609896,"longitude_deg":75.6601088,"latitude_deg":11.9609896,"altitude":62,"angle":0,"satellites":26,"speed":22,"hex_longitude":"2d18d100","hex_latitude":"07211a28","is_valid_coordinates":true} 
[2026-09-17 10:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142650624001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21157812058980352,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871164928,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789619737000,"timestamp_ms":1789619737000,"timestamp_seconds":1789619737,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada611a8"} 
[2026-09-17 10:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 10:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:06:29] 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-09-17 10:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142650624001,"66":14265,"103":206,"83":41984,"24":22,"16":21157812058980352,"45":1788703138871164928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 10:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142650624001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:06:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 10:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21157812058980352,"km_value":21157812058980.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871164928,"description":"Unknown IO ID 45"} 
[2026-09-17 10:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142650624001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1788703138871164928}} 
[2026-09-17 10:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":185000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:06:29] local.INFO: GPS data processed {"connection_id":185000,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:06:29] local.INFO: Acknowledgment sent {"connection_id":185000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:06:36] local.INFO: TCP Data received {"connection_id":186413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:06:36] local.INFO: Processing buffer {"connection_id":186413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:06:36] local.INFO: Packet analysis {"connection_id":186413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:06:36] local.INFO: Extracted packet for processing {"connection_id":186413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:06:36] 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-09-17 10:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":186413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:06:36] local.INFO: GPS data processed {"connection_id":186413,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:06:36] local.INFO: Acknowledgment sent {"connection_id":186413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:06:39] local.INFO: TCP Data received {"connection_id":185002,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:06:39] local.INFO: Processing buffer {"connection_id":185002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:06:39] local.INFO: Packet analysis {"connection_id":185002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:06:39] local.INFO: Extracted packet for processing {"connection_id":185002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:06:39] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:06:39] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:06:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":185002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854566,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:06:39] local.INFO: GPS data processed {"connection_id":185002,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:06:39] local.INFO: Acknowledgment sent {"connection_id":185002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:06:45] local.INFO: TCP Data received {"connection_id":187732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:06:45] local.INFO: Processing buffer {"connection_id":187732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:06:45] local.INFO: IMEI packet received {"connection_id":187732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":187732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:06:48] local.INFO: TCP Data received {"connection_id":187732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:06:48] local.INFO: Processing buffer {"connection_id":187732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:06:48] local.INFO: IMEI packet received {"connection_id":187732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":187732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:06:52] local.INFO: TCP Data received {"connection_id":187732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:06:52] local.INFO: Processing buffer {"connection_id":187732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:06:52] local.INFO: IMEI packet received {"connection_id":187732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":187732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:06:53] local.INFO: TCP Data received {"connection_id":187732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada6c170012d187580072182e00046010d1a..."} 
[2026-09-17 10:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada6c170012d187580072182e00046010d1a..."} 
[2026-09-17 10:06:53] local.INFO: Processing buffer {"connection_id":187732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada6c170012d187580072182e00046010d1a..."} 
[2026-09-17 10:06:53] local.INFO: Packet analysis {"connection_id":187732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada6"} 
[2026-09-17 10:06:53] local.INFO: Extracted packet for processing {"connection_id":187732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada6"} 
[2026-09-17 10:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756577664,"raw_latitude":119636704,"longitude_deg":75.6577664,"latitude_deg":11.9636704,"altitude":70,"angle":269,"satellites":26,"speed":43,"hex_longitude":"2d187580","hex_latitude":"072182e0","is_valid_coordinates":true} 
[2026-09-17 10:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142663424001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21159719024459776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766185140742115328,"note":"Value kept but may cause issues"} 
[2026-09-17 10:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789619782000,"timestamp_ms":1789619782000,"timestamp_seconds":1789619782,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada6c170"} 
[2026-09-17 10:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:06:53] 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-09-17 10:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142663424001,"66":14233,"103":206,"83":41984,"24":43,"16":21159719024459776,"45":1766185140742115328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 10:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142663424001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:06:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 10:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21159719024459776,"km_value":21159719024459.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766185140742115328,"description":"Unknown IO ID 45"} 
[2026-09-17 10:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142663424001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1766185140742115328}} 
[2026-09-17 10:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":187732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:06:53] local.INFO: GPS data processed {"connection_id":187732,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:06:53] local.INFO: Acknowledgment sent {"connection_id":187732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:06:57] local.INFO: TCP Data received {"connection_id":185003,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:06:57] local.INFO: Processing buffer {"connection_id":185003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:06:57] local.INFO: IMEI packet received {"connection_id":185003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":185003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:06:58] local.INFO: TCP Data received {"connection_id":185004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:06:58] local.INFO: Processing buffer {"connection_id":185004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:06:58] local.INFO: IMEI packet received {"connection_id":185004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":185004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:07:03] local.INFO: TCP Data received {"connection_id":185003,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:07:03] local.INFO: Processing buffer {"connection_id":185003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:07:03] local.INFO: IMEI packet received {"connection_id":185003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":185003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:07:03] local.INFO: TCP Data received {"connection_id":185004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:07:03] local.INFO: Processing buffer {"connection_id":185004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:07:03] local.INFO: IMEI packet received {"connection_id":185004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":185004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:07:04] local.INFO: TCP Data received {"connection_id":185003,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:07:04] local.INFO: Processing buffer {"connection_id":185003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:07:04] local.INFO: Packet analysis {"connection_id":185003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:07:04] local.INFO: Extracted packet for processing {"connection_id":185003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:07:04] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:07:04] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:07:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":185003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854568,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:07:04] local.INFO: GPS data processed {"connection_id":185003,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:07:04] local.INFO: Acknowledgment sent {"connection_id":185003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:07:05] local.INFO: TCP Data received {"connection_id":185004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:07:05] local.INFO: Processing buffer {"connection_id":185004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:07:05] local.INFO: Packet analysis {"connection_id":185004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:07:05] local.INFO: Extracted packet for processing {"connection_id":185004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:07:05] 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-09-17 10:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:07:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":185004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:07:05] local.INFO: GPS data processed {"connection_id":185004,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:07:05] local.INFO: Acknowledgment sent {"connection_id":185004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:07:23] local.INFO: TCP Data received {"connection_id":187732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada6d4f8012d185fc0072183c00046011e1a..."} 
[2026-09-17 10:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada6d4f8012d185fc0072183c00046011e1a..."} 
[2026-09-17 10:07:23] local.INFO: Processing buffer {"connection_id":187732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada6d4f8012d185fc0072183c00046011e1a..."} 
[2026-09-17 10:07:23] local.INFO: Packet analysis {"connection_id":187732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada6"} 
[2026-09-17 10:07:23] local.INFO: Extracted packet for processing {"connection_id":187732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada6"} 
[2026-09-17 10:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756572096,"raw_latitude":119636928,"longitude_deg":75.6572096,"latitude_deg":11.9636928,"altitude":70,"angle":286,"satellites":26,"speed":43,"hex_longitude":"2d185fc0","hex_latitude":"072183c0","is_valid_coordinates":true} 
[2026-09-17 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142664192001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21159985312432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762455597300768768,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789619787000,"timestamp_ms":1789619787000,"timestamp_seconds":1789619787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada6d4f8"} 
[2026-09-17 10:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142664192001,"66":14265,"103":206,"83":41984,"24":43,"16":21159985312432128,"45":1762455597300768768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 10:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142664192001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:07:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 10:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21159985312432128,"km_value":21159985312432.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762455597300768768,"description":"Unknown IO ID 45"} 
[2026-09-17 10:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142664192001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1762455597300768768}} 
[2026-09-17 10:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":187732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:07:24] local.INFO: GPS data processed {"connection_id":187732,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:07:24] local.INFO: Acknowledgment sent {"connection_id":187732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:07:36] local.INFO: TCP Data received {"connection_id":185004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:07:36] local.INFO: Processing buffer {"connection_id":185004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:07:36] local.INFO: Packet analysis {"connection_id":185004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:07:36] local.INFO: Extracted packet for processing {"connection_id":185004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:07:36] 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-09-17 10:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":185004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:07:36] local.INFO: GPS data processed {"connection_id":185004,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:07:36] local.INFO: Acknowledgment sent {"connection_id":185004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:07:36] local.INFO: TCP Data received {"connection_id":185003,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:07:36] local.INFO: Processing buffer {"connection_id":185003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:07:36] local.INFO: Packet analysis {"connection_id":185003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:07:36] local.INFO: Extracted packet for processing {"connection_id":185003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:07:36] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:07:36] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:07:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":185003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:07:36] local.INFO: GPS data processed {"connection_id":185003,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:07:36] local.INFO: Acknowledgment sent {"connection_id":185003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:07:48] local.INFO: TCP Data received {"connection_id":187733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:07:48] local.INFO: Processing buffer {"connection_id":187733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:07:48] local.INFO: IMEI packet received {"connection_id":187733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":187733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:07:50] local.INFO: TCP Data received {"connection_id":187733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:07:50] local.INFO: Processing buffer {"connection_id":187733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:07:50] local.INFO: IMEI packet received {"connection_id":187733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":187733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:07:51] local.INFO: TCP Data received {"connection_id":187733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada6f820012d183e4007219348004801261a..."} 
[2026-09-17 10:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada6f820012d183e4007219348004801261a..."} 
[2026-09-17 10:07:51] local.INFO: Processing buffer {"connection_id":187733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada6f820012d183e4007219348004801261a..."} 
[2026-09-17 10:07:51] local.INFO: Packet analysis {"connection_id":187733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada6"} 
[2026-09-17 10:07:51] local.INFO: Extracted packet for processing {"connection_id":187733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada6"} 
[2026-09-17 10:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756563520,"raw_latitude":119640904,"longitude_deg":75.656352,"latitude_deg":11.9640904,"altitude":72,"angle":294,"satellites":26,"speed":36,"hex_longitude":"2d183e40","hex_latitude":"07219348","is_valid_coordinates":true} 
[2026-09-17 10:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142665472001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21160440578965504,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756333516557369344,"note":"Value kept but may cause issues"} 
[2026-09-17 10:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789619796000,"timestamp_ms":1789619796000,"timestamp_seconds":1789619796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada6f820"} 
[2026-09-17 10:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142665472001,"66":14265,"106":206,"83":41984,"24":36,"16":21160440578965504,"45":1756333516557369344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-17 10:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142665472001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:07:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-17 10:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21160440578965504,"km_value":21160440578965.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756333516557369344,"description":"Unknown IO ID 45"} 
[2026-09-17 10:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142665472001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1756333516557369344}} 
[2026-09-17 10:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":187733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:07:51] local.INFO: GPS data processed {"connection_id":187733,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:07:51] local.INFO: Acknowledgment sent {"connection_id":187733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:08:03] local.INFO: TCP Data received {"connection_id":185127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:08:03] local.INFO: Processing buffer {"connection_id":185127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:08:03] local.INFO: IMEI packet received {"connection_id":185127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":185127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:08:07] local.INFO: TCP Data received {"connection_id":185128,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185128,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:08:07] local.INFO: Processing buffer {"connection_id":185128,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:08:07] local.INFO: IMEI packet received {"connection_id":185128,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":185128,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:08:08] local.INFO: TCP Data received {"connection_id":185127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:08:08] local.INFO: Processing buffer {"connection_id":185127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:08:08] local.INFO: IMEI packet received {"connection_id":185127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":185127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:08:09] local.INFO: TCP Data received {"connection_id":185127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:08:09] local.INFO: Processing buffer {"connection_id":185127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:08:09] local.INFO: Packet analysis {"connection_id":185127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:08:09] local.INFO: Extracted packet for processing {"connection_id":185127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":185127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:08:09] local.INFO: GPS data processed {"connection_id":185127,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:08:09] local.INFO: Acknowledgment sent {"connection_id":185127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:08:12] local.INFO: TCP Data received {"connection_id":185128,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185128,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:08:12] local.INFO: Processing buffer {"connection_id":185128,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:08:12] local.INFO: IMEI packet received {"connection_id":185128,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":185128,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:08:13] local.INFO: TCP Data received {"connection_id":185128,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:08:13] local.INFO: Processing buffer {"connection_id":185128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:08:13] local.INFO: Packet analysis {"connection_id":185128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:08:13] local.INFO: Extracted packet for processing {"connection_id":185128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:08:13] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:08:13] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:08:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":185128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:08:13] local.INFO: GPS data processed {"connection_id":185128,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:08:13] local.INFO: Acknowledgment sent {"connection_id":185128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:08:14] local.INFO: TCP Data received {"connection_id":185127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:08:14] local.INFO: Processing buffer {"connection_id":185127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada346d0012d34c3c006aa4458000c01172b..."} 
[2026-09-17 10:08:14] local.INFO: Packet analysis {"connection_id":185127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:08:14] local.INFO: Extracted packet for processing {"connection_id":185127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada3"} 
[2026-09-17 10:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142528768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789619554000,"timestamp_ms":1789619554000,"timestamp_seconds":1789619554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada346d0"} 
[2026-09-17 10:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142528768001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142528768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:08:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142528768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":185127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:08:14] local.INFO: GPS data processed {"connection_id":185127,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:08:14] local.INFO: Acknowledgment sent {"connection_id":185127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:08:18] local.INFO: TCP Data received {"connection_id":185128,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:08:18] local.INFO: Processing buffer {"connection_id":185128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:08:18] local.INFO: Packet analysis {"connection_id":185128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:08:18] local.INFO: Extracted packet for processing {"connection_id":185128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:08:18] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:08:18] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:08:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":185128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:08:18] local.INFO: GPS data processed {"connection_id":185128,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:08:18] local.INFO: Acknowledgment sent {"connection_id":185128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:08:22] local.INFO: TCP Data received {"connection_id":187733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada71378012d1827c007219e68004901351a..."} 
[2026-09-17 10:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada71378012d1827c007219e68004901351a..."} 
[2026-09-17 10:08:22] local.INFO: Processing buffer {"connection_id":187733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada71378012d1827c007219e68004901351a..."} 
[2026-09-17 10:08:22] local.INFO: Packet analysis {"connection_id":187733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:08:22] local.INFO: Extracted packet for processing {"connection_id":187733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119643752,"longitude_deg":75.655776,"latitude_deg":11.9643752,"altitude":73,"angle":309,"satellites":26,"speed":31,"hex_longitude":"2d1827c0","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-09-17 10:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142667776001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21160745521643520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746904104838580224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789619803000,"timestamp_ms":1789619803000,"timestamp_seconds":1789619803,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada71378"} 
[2026-09-17 10:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:08:22] 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-09-17 10:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142667776001,"66":14070,"106":206,"83":41984,"24":31,"16":21160745521643520,"45":1746904104838580224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-17 10:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142667776001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:08:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-17 10:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21160745521643520,"km_value":21160745521643.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746904104838580224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142667776001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1746904104838580224}} 
[2026-09-17 10:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":187733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:08:22] local.INFO: GPS data processed {"connection_id":187733,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:08:22] local.INFO: Acknowledgment sent {"connection_id":187733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:08:48] local.INFO: TCP Data received {"connection_id":187734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:08:48] local.INFO: Processing buffer {"connection_id":187734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:08:48] local.INFO: IMEI packet received {"connection_id":187734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":187734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:08:53] local.INFO: TCP Data received {"connection_id":187734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:08:53] local.INFO: Processing buffer {"connection_id":187734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:08:53] local.INFO: IMEI packet received {"connection_id":187734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":187734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:08:53] local.INFO: TCP Data received {"connection_id":187734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada72ed0012d181e000721a7500049014a1a..."} 
[2026-09-17 10:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada72ed0012d181e000721a7500049014a1a..."} 
[2026-09-17 10:08:53] local.INFO: Processing buffer {"connection_id":187734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada72ed0012d181e000721a7500049014a1a..."} 
[2026-09-17 10:08:53] local.INFO: Packet analysis {"connection_id":187734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:08:53] local.INFO: Extracted packet for processing {"connection_id":187734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646032,"longitude_deg":75.6555264,"latitude_deg":11.9646032,"altitude":73,"angle":330,"satellites":26,"speed":9,"hex_longitude":"2d181e00","hex_latitude":"0721a750","is_valid_coordinates":true} 
[2026-09-17 10:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142669568001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21160908730400768,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917863319552,"note":"Value kept but may cause issues"} 
[2026-09-17 10:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789619810000,"timestamp_ms":1789619810000,"timestamp_seconds":1789619810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada72ed0"} 
[2026-09-17 10:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 10:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:08:53] 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-09-17 10:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142669568001,"66":14102,"105":206,"83":41984,"24":9,"16":21160908730400768,"45":1740570917863319552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 10:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142669568001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:08:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 10:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21160908730400768,"km_value":21160908730400.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917863319552,"description":"Unknown IO ID 45"} 
[2026-09-17 10:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142669568001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1740570917863319552}} 
[2026-09-17 10:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":187734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:08:54] local.INFO: GPS data processed {"connection_id":187734,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:08:54] local.INFO: Acknowledgment sent {"connection_id":187734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:08:57] local.INFO: TCP Data received {"connection_id":185006,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185006,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:08:57] local.INFO: Processing buffer {"connection_id":185006,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:08:57] local.INFO: IMEI packet received {"connection_id":185006,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":185006,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:08:58] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:08:58] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:08:58] local.INFO: IMEI packet received {"connection_id":186416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":186416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:09:02] local.INFO: TCP Data received {"connection_id":185006,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185006,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:09:02] local.INFO: Processing buffer {"connection_id":185006,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:09:02] local.INFO: IMEI packet received {"connection_id":185006,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":185006,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:09:03] local.INFO: TCP Data received {"connection_id":185006,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:09:03] local.INFO: Processing buffer {"connection_id":185006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada50038012d0b14c007029f400009014125..."} 
[2026-09-17 10:09:03] local.INFO: Packet analysis {"connection_id":185006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:09:03] local.INFO: Extracted packet for processing {"connection_id":185006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada5"} 
[2026-09-17 10:09:03] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":37,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142557696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292731904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789619667000,"timestamp_ms":1789619667000,"timestamp_seconds":1789619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada50038"} 
[2026-09-17 10:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 10:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142557696001,"66":12863,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292731904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142557696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:09:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:09:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292731904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142557696001,"power":12863,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292731904}} 
[2026-09-17 10:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":185006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:09:03] local.INFO: GPS data processed {"connection_id":185006,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:09:03] local.INFO: Acknowledgment sent {"connection_id":185006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:09:03] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:09:03] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:09:03] local.INFO: IMEI packet received {"connection_id":186416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":186416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:09:04] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:09:04] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:09:04] local.INFO: Packet analysis {"connection_id":186416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:09:04] local.INFO: Extracted packet for processing {"connection_id":186416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142605824001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619855000,"timestamp_ms":1789619855000,"timestamp_seconds":1789619855,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada7de98"} 
[2026-09-17 10:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:09:04] 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-09-17 10:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142605824001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142605824001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142605824001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":186416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:09:04] local.INFO: GPS data processed {"connection_id":186416,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:09:04] local.INFO: Acknowledgment sent {"connection_id":186416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:09:24] local.INFO: TCP Data received {"connection_id":187734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada736a0012d181d000721a7c80049013e19..."} 
[2026-09-17 10:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada736a0012d181d000721a7c80049013e19..."} 
[2026-09-17 10:09:24] local.INFO: Processing buffer {"connection_id":187734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada736a0012d181d000721a7c80049013e19..."} 
[2026-09-17 10:09:24] local.INFO: Packet analysis {"connection_id":187734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:09:24] local.INFO: Extracted packet for processing {"connection_id":187734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646152,"longitude_deg":75.6555008,"latitude_deg":11.9646152,"altitude":73,"angle":318,"satellites":25,"speed":6,"hex_longitude":"2d181d00","hex_latitude":"0721a7c8","is_valid_coordinates":true} 
[2026-09-17 10:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142671360001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21160921615302656,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840974336,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789619812000,"timestamp_ms":1789619812000,"timestamp_seconds":1789619812,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada736a0"} 
[2026-09-17 10:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-17 10:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142671360001,"66":14004,"105":206,"83":41984,"24":6,"16":21160921615302656,"45":1737826536840974336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 10:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142671360001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:09:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 10:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21160921615302656,"km_value":21160921615302.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840974336,"description":"Unknown IO ID 45"} 
[2026-09-17 10:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142671360001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737826536840974336}} 
[2026-09-17 10:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":187734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:09:24] local.INFO: GPS data processed {"connection_id":187734,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:09:24] local.INFO: Acknowledgment sent {"connection_id":187734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:09:35] local.INFO: TCP Data received {"connection_id":185006,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:09:35] local.INFO: Processing buffer {"connection_id":185006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:09:35] local.INFO: Packet analysis {"connection_id":185006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:09:35] local.INFO: Extracted packet for processing {"connection_id":185006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:09:35] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":36,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142634752001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789619968000,"timestamp_ms":1789619968000,"timestamp_seconds":1789619968,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada99800"} 
[2026-09-17 10:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 10:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142634752001,"66":12819,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142634752001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:09:35] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:09:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142634752001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":185006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854583,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:09:35] local.INFO: GPS data processed {"connection_id":185006,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:09:35] local.INFO: Acknowledgment sent {"connection_id":185006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:09:36] local.INFO: TCP Data received {"connection_id":186416,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:09:36] local.INFO: Processing buffer {"connection_id":186416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:09:36] local.INFO: Packet analysis {"connection_id":186416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:09:36] local.INFO: Extracted packet for processing {"connection_id":186416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142605824001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789619855000,"timestamp_ms":1789619855000,"timestamp_seconds":1789619855,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada7de98"} 
[2026-09-17 10:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:09:36] 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-09-17 10:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142605824001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142605824001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142605824001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":186416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:09:36] local.INFO: GPS data processed {"connection_id":186416,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:09:36] local.INFO: Acknowledgment sent {"connection_id":186416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:09:48] local.INFO: TCP Data received {"connection_id":185129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:09:48] local.INFO: Processing buffer {"connection_id":185129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:09:48] local.INFO: IMEI packet received {"connection_id":185129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":185129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:09:55] local.INFO: TCP Data received {"connection_id":185129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:09:55] local.INFO: Processing buffer {"connection_id":185129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:09:55] local.INFO: IMEI packet received {"connection_id":185129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":185129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:09:55] local.INFO: TCP Data received {"connection_id":185129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada74a28012d181a800721a5e0004900df1a..."} 
[2026-09-17 10:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada74a28012d181a800721a5e0004900df1a..."} 
[2026-09-17 10:09:55] local.INFO: Processing buffer {"connection_id":185129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada74a28012d181a800721a5e0004900df1a..."} 
[2026-09-17 10:09:55] local.INFO: Packet analysis {"connection_id":185129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:09:55] local.INFO: Extracted packet for processing {"connection_id":185129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119645664,"longitude_deg":75.6554368,"latitude_deg":11.9645664,"altitude":73,"angle":223,"satellites":26,"speed":8,"hex_longitude":"2d181a80","hex_latitude":"0721a5e0","is_valid_coordinates":true} 
[2026-09-17 10:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142671872001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21160964564975616,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864294400,"note":"Value kept but may cause issues"} 
[2026-09-17 10:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789619817000,"timestamp_ms":1789619817000,"timestamp_seconds":1789619817,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada74a28"} 
[2026-09-17 10:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 10:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:09:55] 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-09-17 10:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142671872001,"66":14254,"105":206,"83":41984,"24":8,"16":21160964564975616,"45":1737545061864294400},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 10:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142671872001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:09:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 10:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21160964564975616,"km_value":21160964564975.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864294400,"description":"Unknown IO ID 45"} 
[2026-09-17 10:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142671872001,"power":14254,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737545061864294400}} 
[2026-09-17 10:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":185129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:09:56] local.INFO: GPS data processed {"connection_id":185129,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:09:56] local.INFO: Acknowledgment sent {"connection_id":185129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:09:58] local.INFO: TCP Data received {"connection_id":187735,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:09:58] local.INFO: Processing buffer {"connection_id":187735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:09:58] local.INFO: IMEI packet received {"connection_id":187735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":187735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:10:03] local.INFO: TCP Data received {"connection_id":187735,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:10:03] local.INFO: Processing buffer {"connection_id":187735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:10:03] local.INFO: IMEI packet received {"connection_id":187735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":187735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:10:04] local.INFO: TCP Data received {"connection_id":187735,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:10:04] local.INFO: Processing buffer {"connection_id":187735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:10:04] local.INFO: Packet analysis {"connection_id":187735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:10:04] local.INFO: Extracted packet for processing {"connection_id":187735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142605824001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789619855000,"timestamp_ms":1789619855000,"timestamp_seconds":1789619855,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada7de98"} 
[2026-09-17 10:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:10:04] 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-09-17 10:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142605824001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142605824001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142605824001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":187735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:10:04] local.INFO: GPS data processed {"connection_id":187735,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:10:04] local.INFO: Acknowledgment sent {"connection_id":187735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:10:11] local.INFO: TCP Data received {"connection_id":185007,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:10:11] local.INFO: Processing buffer {"connection_id":185007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:10:11] local.INFO: IMEI packet received {"connection_id":185007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":185007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:10:22] local.INFO: TCP Data received {"connection_id":187736,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187736,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:10:22] local.INFO: Processing buffer {"connection_id":187736,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:10:22] local.INFO: IMEI packet received {"connection_id":187736,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":187736,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:10:27] local.INFO: TCP Data received {"connection_id":187736,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187736,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:10:27] local.INFO: Processing buffer {"connection_id":187736,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:10:27] local.INFO: IMEI packet received {"connection_id":187736,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":187736,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:10:28] local.INFO: TCP Data received {"connection_id":187736,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:10:28] local.INFO: Processing buffer {"connection_id":187736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:10:28] local.INFO: Packet analysis {"connection_id":187736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:10:28] local.INFO: Extracted packet for processing {"connection_id":187736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:10:28] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":36,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142634752001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789619968000,"timestamp_ms":1789619968000,"timestamp_seconds":1789619968,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada99800"} 
[2026-09-17 10:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 10:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187736,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187736,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142634752001,"66":12819,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142634752001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:10:28] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:10:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142634752001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":187736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:10:28] local.INFO: GPS data processed {"connection_id":187736,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:10:28] local.INFO: Acknowledgment sent {"connection_id":187736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:10:29] local.INFO: TCP Data received {"connection_id":185129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada755e0012d1818400721a2a0004b00d21a..."} 
[2026-09-17 10:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada755e0012d1818400721a2a0004b00d21a..."} 
[2026-09-17 10:10:29] local.INFO: Processing buffer {"connection_id":185129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada755e0012d1818400721a2a0004b00d21a..."} 
[2026-09-17 10:10:29] local.INFO: Packet analysis {"connection_id":185129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:10:29] local.INFO: Extracted packet for processing {"connection_id":185129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:10:29] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119644832,"longitude_deg":75.6553792,"latitude_deg":11.9644832,"altitude":75,"angle":210,"satellites":26,"speed":15,"hex_longitude":"2d181840","hex_latitude":"0721a2a0","is_valid_coordinates":true} 
[2026-09-17 10:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142673152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161011809615872,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422392832,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789619820000,"timestamp_ms":1789619820000,"timestamp_seconds":1789619820,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada755e0"} 
[2026-09-17 10:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-17 10:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:10:29] 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-09-17 10:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142673152001,"66":13820,"105":206,"83":41984,"24":15,"16":21161011809615872,"45":1736841374422392832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 10:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142673152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:10:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 10:10:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161011809615872,"km_value":21161011809615.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422392832,"description":"Unknown IO ID 45"} 
[2026-09-17 10:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142673152001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1736841374422392832}} 
[2026-09-17 10:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":185129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:10:29] local.INFO: GPS data processed {"connection_id":185129,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:10:29] local.INFO: Acknowledgment sent {"connection_id":185129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:10:36] local.INFO: TCP Data received {"connection_id":187735,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:10:36] local.INFO: Processing buffer {"connection_id":187735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:10:36] local.INFO: Packet analysis {"connection_id":187735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:10:36] local.INFO: Extracted packet for processing {"connection_id":187735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142605824001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789619855000,"timestamp_ms":1789619855000,"timestamp_seconds":1789619855,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada7de98"} 
[2026-09-17 10:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:10:36] 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-09-17 10:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142605824001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142605824001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142605824001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":187735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:10:36] local.INFO: GPS data processed {"connection_id":187735,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:10:36] local.INFO: Acknowledgment sent {"connection_id":187735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:10:48] local.INFO: TCP Data received {"connection_id":185130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:10:48] local.INFO: Processing buffer {"connection_id":185130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:10:48] local.INFO: IMEI packet received {"connection_id":185130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":185130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:10:50] local.INFO: TCP Data received {"connection_id":185008,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:10:50] local.INFO: Processing buffer {"connection_id":185008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:10:50] local.INFO: IMEI packet received {"connection_id":185008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":185008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:10:53] local.INFO: TCP Data received {"connection_id":185130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:10:53] local.INFO: Processing buffer {"connection_id":185130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:10:53] local.INFO: IMEI packet received {"connection_id":185130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":185130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:10:54] local.INFO: TCP Data received {"connection_id":185130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada76d50012d18140007219a80004b00b21a..."} 
[2026-09-17 10:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada76d50012d18140007219a80004b00b21a..."} 
[2026-09-17 10:10:54] local.INFO: Processing buffer {"connection_id":185130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada76d50012d18140007219a80004b00b21a..."} 
[2026-09-17 10:10:54] local.INFO: Packet analysis {"connection_id":185130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:10:54] local.INFO: Extracted packet for processing {"connection_id":185130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:10:54] local.INFO: GPS Element Parsed {"raw_longitude":756552704,"raw_latitude":119642752,"longitude_deg":75.6552704,"latitude_deg":11.9642752,"altitude":75,"angle":178,"satellites":26,"speed":6,"hex_longitude":"2d181400","hex_latitude":"07219a80","is_valid_coordinates":true} 
[2026-09-17 10:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142673920001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161123478765568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724580864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789619826000,"timestamp_ms":1789619826000,"timestamp_seconds":1789619826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada76d50"} 
[2026-09-17 10:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-17 10:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142673920001,"66":14080,"105":206,"83":41984,"24":6,"16":21161123478765568,"45":1736208055724580864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 10:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142673920001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:10:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 10:10:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161123478765568,"km_value":21161123478765.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724580864,"description":"Unknown IO ID 45"} 
[2026-09-17 10:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142673920001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1736208055724580864}} 
[2026-09-17 10:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":185130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:10:54] local.INFO: GPS data processed {"connection_id":185130,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:10:54] local.INFO: Acknowledgment sent {"connection_id":185130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:10:57] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:10:57] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:10:57] local.INFO: IMEI packet received {"connection_id":186417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":186417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:10:58] local.INFO: TCP Data received {"connection_id":185009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:10:58] local.INFO: Processing buffer {"connection_id":185009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:10:58] local.INFO: IMEI packet received {"connection_id":185009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":185009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:11:02] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:11:02] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:11:02] local.INFO: IMEI packet received {"connection_id":186417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":186417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:11:04] local.INFO: TCP Data received {"connection_id":185009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:11:04] local.INFO: Processing buffer {"connection_id":185009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:11:04] local.INFO: IMEI packet received {"connection_id":185009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":185009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:11:05] local.INFO: TCP Data received {"connection_id":185009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:11:05] local.INFO: Processing buffer {"connection_id":185009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:11:05] local.INFO: Packet analysis {"connection_id":185009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:11:05] local.INFO: Extracted packet for processing {"connection_id":185009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142605824001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789619855000,"timestamp_ms":1789619855000,"timestamp_seconds":1789619855,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada7de98"} 
[2026-09-17 10:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:11:05] 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-09-17 10:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142605824001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142605824001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142605824001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":185009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:11:05] local.INFO: GPS data processed {"connection_id":185009,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:11:05] local.INFO: Acknowledgment sent {"connection_id":185009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:11:14] local.INFO: TCP Data received {"connection_id":186417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:11:14] local.INFO: Processing buffer {"connection_id":186417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:11:14] local.INFO: Packet analysis {"connection_id":186417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:11:14] local.INFO: Extracted packet for processing {"connection_id":186417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:11:14] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":36,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142634752001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789619968000,"timestamp_ms":1789619968000,"timestamp_seconds":1789619968,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada99800"} 
[2026-09-17 10:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 10:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142634752001,"66":12819,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142634752001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:11:14] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:11:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142634752001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":186417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:11:14] local.INFO: GPS data processed {"connection_id":186417,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:11:14] local.INFO: Acknowledgment sent {"connection_id":186417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:11:26] local.INFO: TCP Data received {"connection_id":185130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada7bf58012d181380072198c0004c00b21b..."} 
[2026-09-17 10:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada7bf58012d181380072198c0004c00b21b..."} 
[2026-09-17 10:11:26] local.INFO: Processing buffer {"connection_id":185130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada7bf58012d181380072198c0004c00b21b..."} 
[2026-09-17 10:11:26] local.INFO: Packet analysis {"connection_id":185130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:11:26] local.INFO: Extracted packet for processing {"connection_id":185130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":27,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142675456001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787073028096,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789619847000,"timestamp_ms":1789619847000,"timestamp_seconds":1789619847,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada7bf58"} 
[2026-09-17 10:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2913400864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2804862977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2807038025,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-17 10:11:26] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3221692830,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:26] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,45,160,85,64,162,75,26,10,66,74,128,165,73,54,1,240,180,227,173,33,4,113,205,9,19,39,104,239,106,2,7,72,36],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-17 10:11:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404515377583882240,"timestamp_seconds":5404515377583882.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:11:26] 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-09-17 10:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142675456001,"66":13319,"105":206,"83":41984,"24":0,"16":21161153543536640,"45":1735011787073028096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 10:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142675456001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:11:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 10:11:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787073028096,"description":"Unknown IO ID 45"} 
[2026-09-17 10:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142675456001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735011787073028096}} 
[2026-09-17 10:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":185130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:11:26] local.INFO: GPS data processed {"connection_id":185130,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:11:26] local.INFO: Acknowledgment sent {"connection_id":185130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:11:36] local.INFO: TCP Data received {"connection_id":185009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:11:36] local.INFO: Processing buffer {"connection_id":185009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada7de98012d34c3c006aa4458000c01172d..."} 
[2026-09-17 10:11:36] local.INFO: Packet analysis {"connection_id":185009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:11:36] local.INFO: Extracted packet for processing {"connection_id":185009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada7"} 
[2026-09-17 10:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821912,"longitude_deg":75.8432704,"latitude_deg":11.1821912,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-09-17 10:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142605824001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289773056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789619855000,"timestamp_ms":1789619855000,"timestamp_seconds":1789619855,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada7de98"} 
[2026-09-17 10:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:11:36] 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-09-17 10:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142605824001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3802093645289773056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142605824001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289773056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142605824001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289773056}} 
[2026-09-17 10:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":185009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:11:36] local.INFO: GPS data processed {"connection_id":185009,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:11:36] local.INFO: Acknowledgment sent {"connection_id":185009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:11:48] local.INFO: TCP Data received {"connection_id":187737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:11:48] local.INFO: Processing buffer {"connection_id":187737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:11:48] local.INFO: IMEI packet received {"connection_id":187737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":187737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:11:53] local.INFO: TCP Data received {"connection_id":187737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:11:53] local.INFO: Processing buffer {"connection_id":187737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:11:53] local.INFO: IMEI packet received {"connection_id":187737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":187737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:11:54] local.INFO: TCP Data received {"connection_id":187737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada81160012d181380072198c0004c00b21c..."} 
[2026-09-17 10:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada81160012d181380072198c0004c00b21c..."} 
[2026-09-17 10:11:54] local.INFO: Processing buffer {"connection_id":187737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada81160012d181380072198c0004c00b21c..."} 
[2026-09-17 10:11:54] local.INFO: Packet analysis {"connection_id":187737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada8"} 
[2026-09-17 10:11:54] local.INFO: Extracted packet for processing {"connection_id":187737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada8"} 
[2026-09-17 10:11:54] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":28,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142680832001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789619868000,"timestamp_ms":1789619868000,"timestamp_seconds":1789619868,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada81160"} 
[2026-09-17 10:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2913407864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2805374977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-7834011242554058240,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57819373738283940,"corrected_to":0} 
[2026-09-17 10:11:54] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-567452259856793593,"note":"Value kept but may cause issues"} 
[2026-09-17 10:11:54] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,45,160,109,154,75,26,10,66,85,64,162,74,128,1,240,174,227,173,33,4,113,205,6,46,30,80,239,55,2,7,73,31,246,166],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":246,"original":57819373738283940,"validated":0}]} 
[2026-09-17 10:11:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476572975916384256,"timestamp_seconds":5476572975916384.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142680832001,"66":13167,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142680832001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:11:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:11:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142680832001,"power":13167,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":187737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:11:54] local.INFO: GPS data processed {"connection_id":187737,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:11:54] local.INFO: Acknowledgment sent {"connection_id":187737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:12:02] local.INFO: TCP Data received {"connection_id":185010,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:12:02] local.INFO: Processing buffer {"connection_id":185010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:12:02] local.INFO: IMEI packet received {"connection_id":185010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":185010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:12:07] local.INFO: TCP Data received {"connection_id":185010,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:12:07] local.INFO: Processing buffer {"connection_id":185010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:12:07] local.INFO: IMEI packet received {"connection_id":185010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":185010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:12:08] local.INFO: TCP Data received {"connection_id":185010,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:12:08] local.INFO: Processing buffer {"connection_id":185010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:12:08] local.INFO: Packet analysis {"connection_id":185010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:12:08] local.INFO: Extracted packet for processing {"connection_id":185010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:12:08] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":36,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142634752001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789619968000,"timestamp_ms":1789619968000,"timestamp_seconds":1789619968,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada99800"} 
[2026-09-17 10:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 10:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142634752001,"66":12819,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142634752001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:12:08] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:12:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142634752001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":185010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:12:08] local.INFO: GPS data processed {"connection_id":185010,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:12:08] local.INFO: Acknowledgment sent {"connection_id":185010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:12:17] local.INFO: TCP Data received {"connection_id":185010,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:12:17] local.INFO: Processing buffer {"connection_id":185010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:12:17] local.INFO: Packet analysis {"connection_id":185010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:12:17] local.INFO: Extracted packet for processing {"connection_id":185010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":36,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142634752001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789619968000,"timestamp_ms":1789619968000,"timestamp_seconds":1789619968,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada99800"} 
[2026-09-17 10:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 10:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142634752001,"66":12819,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142634752001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:12:17] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:12:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142634752001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":185010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:12:17] local.INFO: GPS data processed {"connection_id":185010,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:12:17] local.INFO: Acknowledgment sent {"connection_id":185010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:12:25] local.INFO: TCP Data received {"connection_id":187737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adab97b8012d181380072198c0004c00b220..."} 
[2026-09-17 10:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adab97b8012d181380072198c0004c00b220..."} 
[2026-09-17 10:12:25] local.INFO: Processing buffer {"connection_id":187737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adab97b8012d181380072198c0004c00b220..."} 
[2026-09-17 10:12:25] local.INFO: Packet analysis {"connection_id":187737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adab"} 
[2026-09-17 10:12:25] local.INFO: Extracted packet for processing {"connection_id":187737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adab"} 
[2026-09-17 10:12:25] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142739968001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789620099000,"timestamp_ms":1789620099000,"timestamp_seconds":1789620099,"priority":1,"record_length":96,"hex_timestamp":"000001a0adab97b8"} 
[2026-09-17 10:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 10:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:12:25] 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-09-17 10:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142739968001,"66":12689,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142739968001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:12:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:12:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142739968001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":187737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:12:25] local.INFO: GPS data processed {"connection_id":187737,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:12:25] local.INFO: Acknowledgment sent {"connection_id":187737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:12:46] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:12:46] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:12:46] local.INFO: IMEI packet received {"connection_id":186419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":186419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:12:48] local.INFO: TCP Data received {"connection_id":186421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:12:48] local.INFO: Processing buffer {"connection_id":186421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:12:48] local.INFO: IMEI packet received {"connection_id":186421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":186421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:12:50] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:12:50] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:12:50] local.INFO: IMEI packet received {"connection_id":186419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":186419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:12:51] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:12:51] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:12:51] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:12:51] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:12:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 10:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:51] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 10:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789718780000,"timestamp_ms":1789718780000,"timestamp_seconds":1789718780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d5860"} 
[2026-09-17 10:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 10:12:51] local.INFO: GPS data processed {"connection_id":186419,"processed":0,"errors":0,"total":1} 
[2026-09-17 10:12:51] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:12:53] local.INFO: TCP Data received {"connection_id":186421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:12:53] local.INFO: Processing buffer {"connection_id":186421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:12:53] local.INFO: IMEI packet received {"connection_id":186421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":186421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:12:54] local.INFO: TCP Data received {"connection_id":186421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adabe9c0012d181380072198c0004c00b220..."} 
[2026-09-17 10:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adabe9c0012d181380072198c0004c00b220..."} 
[2026-09-17 10:12:54] local.INFO: Processing buffer {"connection_id":186421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adabe9c0012d181380072198c0004c00b220..."} 
[2026-09-17 10:12:54] local.INFO: Packet analysis {"connection_id":186421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adab"} 
[2026-09-17 10:12:54] local.INFO: Extracted packet for processing {"connection_id":186421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adab"} 
[2026-09-17 10:12:54] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142745344001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789620120000,"timestamp_ms":1789620120000,"timestamp_seconds":1789620120,"priority":1,"record_length":96,"hex_timestamp":"000001a0adabe9c0"} 
[2026-09-17 10:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 10:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142745344001,"66":12689,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142745344001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:12:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:12:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142745344001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":186421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:12:54] local.INFO: GPS data processed {"connection_id":186421,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:12:54] local.INFO: Acknowledgment sent {"connection_id":186421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:12:59] local.INFO: TCP Data received {"connection_id":186422,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:12:59] local.INFO: Processing buffer {"connection_id":186422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:12:59] local.INFO: IMEI packet received {"connection_id":186422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":186422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:13:03] local.INFO: TCP Data received {"connection_id":186422,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:13:03] local.INFO: Processing buffer {"connection_id":186422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:13:03] local.INFO: IMEI packet received {"connection_id":186422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":186422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:13:03] local.INFO: TCP Data received {"connection_id":186422,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:13:03] local.INFO: Processing buffer {"connection_id":186422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:13:03] local.INFO: Packet analysis {"connection_id":186422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:13:03] local.INFO: Extracted packet for processing {"connection_id":186422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:13:03] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":36,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142634752001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789619968000,"timestamp_ms":1789619968000,"timestamp_seconds":1789619968,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada99800"} 
[2026-09-17 10:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 10:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142634752001,"66":12819,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142634752001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:13:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:13:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142634752001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":186422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854600,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:13:04] local.INFO: GPS data processed {"connection_id":186422,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:13:04] local.INFO: Acknowledgment sent {"connection_id":186422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:13:12] local.INFO: TCP Data received {"connection_id":186422,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:13:12] local.INFO: Processing buffer {"connection_id":186422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ada99800012d0b14c007029f400009014124..."} 
[2026-09-17 10:13:12] local.INFO: Packet analysis {"connection_id":186422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:13:12] local.INFO: Extracted packet for processing {"connection_id":186422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ada9"} 
[2026-09-17 10:13:12] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":36,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142634752001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789619968000,"timestamp_ms":1789619968000,"timestamp_seconds":1789619968,"priority":1,"record_length":96,"hex_timestamp":"000001a0ada99800"} 
[2026-09-17 10:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 10:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142634752001,"66":12819,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142634752001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:13:12] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:13:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142634752001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":186422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:13:12] local.INFO: GPS data processed {"connection_id":186422,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:13:12] local.INFO: Acknowledgment sent {"connection_id":186422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:13:23] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:13:23] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:13:23] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:13:23] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:13:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 10:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:23] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 10:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789718780000,"timestamp_ms":1789718780000,"timestamp_seconds":1789718780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d5860"} 
[2026-09-17 10:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 10:13:23] local.INFO: GPS data processed {"connection_id":186419,"processed":0,"errors":0,"total":1} 
[2026-09-17 10:13:23] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:13:25] local.INFO: TCP Data received {"connection_id":186421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adac3bc8012d181380072198c0004c00b220..."} 
[2026-09-17 10:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adac3bc8012d181380072198c0004c00b220..."} 
[2026-09-17 10:13:25] local.INFO: Processing buffer {"connection_id":186421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adac3bc8012d181380072198c0004c00b220..."} 
[2026-09-17 10:13:25] local.INFO: Packet analysis {"connection_id":186421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adac"} 
[2026-09-17 10:13:25] local.INFO: Extracted packet for processing {"connection_id":186421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adac"} 
[2026-09-17 10:13:25] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142750720001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789620141000,"timestamp_ms":1789620141000,"timestamp_seconds":1789620141,"priority":1,"record_length":96,"hex_timestamp":"000001a0adac3bc8"} 
[2026-09-17 10:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 10:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:13:25] 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-09-17 10:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142750720001,"66":12645,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142750720001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:13:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:13:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142750720001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":186421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:13:25] local.INFO: GPS data processed {"connection_id":186421,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:13:25] local.INFO: Acknowledgment sent {"connection_id":186421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:13:48] local.INFO: TCP Data received {"connection_id":185131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:13:48] local.INFO: Processing buffer {"connection_id":185131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:13:48] local.INFO: IMEI packet received {"connection_id":185131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":185131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:13:53] local.INFO: TCP Data received {"connection_id":185131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:13:53] local.INFO: Processing buffer {"connection_id":185131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:13:53] local.INFO: IMEI packet received {"connection_id":185131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":185131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:13:53] local.INFO: TCP Data received {"connection_id":185131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adac8dd0012d181380072198c0004c00b220..."} 
[2026-09-17 10:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adac8dd0012d181380072198c0004c00b220..."} 
[2026-09-17 10:13:53] local.INFO: Processing buffer {"connection_id":185131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adac8dd0012d181380072198c0004c00b220..."} 
[2026-09-17 10:13:53] local.INFO: Packet analysis {"connection_id":185131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adac"} 
[2026-09-17 10:13:53] local.INFO: Extracted packet for processing {"connection_id":185131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adac"} 
[2026-09-17 10:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142756096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620162000,"timestamp_ms":1789620162000,"timestamp_seconds":1789620162,"priority":1,"record_length":96,"hex_timestamp":"000001a0adac8dd0"} 
[2026-09-17 10:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-17 10:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:13:53] 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-09-17 10:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142756096001,"66":12645,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142756096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:13:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142756096001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":185131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:13:54] local.INFO: GPS data processed {"connection_id":185131,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:13:54] local.INFO: Acknowledgment sent {"connection_id":185131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:13:54] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:13:54] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:13:54] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:13:54] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:13:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 10:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:13:54] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 10:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789718780000,"timestamp_ms":1789718780000,"timestamp_seconds":1789718780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d5860"} 
[2026-09-17 10:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:13:54] 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-09-17 10:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 10:13:54] local.INFO: GPS data processed {"connection_id":186419,"processed":0,"errors":0,"total":1} 
[2026-09-17 10:13:54] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:14:12] local.INFO: TCP Data received {"connection_id":186423,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:12] local.INFO: Processing buffer {"connection_id":186423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:12] local.INFO: IMEI packet received {"connection_id":186423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":186423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:14:24] local.INFO: TCP Data received {"connection_id":185131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adacdfd8012d181380072198c0004c00b220..."} 
[2026-09-17 10:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adacdfd8012d181380072198c0004c00b220..."} 
[2026-09-17 10:14:24] local.INFO: Processing buffer {"connection_id":185131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adacdfd8012d181380072198c0004c00b220..."} 
[2026-09-17 10:14:24] local.INFO: Packet analysis {"connection_id":185131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adac"} 
[2026-09-17 10:14:24] local.INFO: Extracted packet for processing {"connection_id":185131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adac"} 
[2026-09-17 10:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142761472001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620183000,"timestamp_ms":1789620183000,"timestamp_seconds":1789620183,"priority":1,"record_length":96,"hex_timestamp":"000001a0adacdfd8"} 
[2026-09-17 10:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-17 10:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142761472001,"66":12602,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142761472001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:14:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142761472001,"power":12602,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":185131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:14:24] local.INFO: GPS data processed {"connection_id":185131,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:14:24] local.INFO: Acknowledgment sent {"connection_id":185131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:14:26] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:14:26] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:14:26] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:14:26] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:14:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 10:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:26] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 10:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789718780000,"timestamp_ms":1789718780000,"timestamp_seconds":1789718780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d5860"} 
[2026-09-17 10:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 10:14:26] local.INFO: GPS data processed {"connection_id":186419,"processed":0,"errors":0,"total":1} 
[2026-09-17 10:14:26] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:14:30] local.INFO: TCP Data received {"connection_id":187738,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187738,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:30] local.INFO: Processing buffer {"connection_id":187738,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:30] local.INFO: IMEI packet received {"connection_id":187738,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":187738,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:14:32] local.INFO: TCP Data received {"connection_id":187738,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187738,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:32] local.INFO: Processing buffer {"connection_id":187738,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:32] local.INFO: IMEI packet received {"connection_id":187738,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":187738,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:14:37] local.INFO: TCP Data received {"connection_id":187738,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187738,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:37] local.INFO: Processing buffer {"connection_id":187738,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:14:37] local.INFO: IMEI packet received {"connection_id":187738,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":187738,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:14:38] local.INFO: TCP Data received {"connection_id":187738,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:14:38] local.INFO: Processing buffer {"connection_id":187738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:14:38] local.INFO: Packet analysis {"connection_id":187738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:14:38] local.INFO: Extracted packet for processing {"connection_id":187738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":40,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142711808001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789620269000,"timestamp_ms":1789620269000,"timestamp_seconds":1789620269,"priority":1,"record_length":96,"hex_timestamp":"000001a0adae2fc8"} 
[2026-09-17 10:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4505090383675392,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2912967864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084811,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504097848819712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-6892530526221298496,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3221684895,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182143810273536,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-2377674799355736482,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188931282292525081,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195462400,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84736152812585631,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,178,94,24,241,157,16,160,45,192,159,9,37,10,66,104,25,17,100,240,92,227,173,2,1,4,113,205,3,20,72,26,239,56,116,7,43,80,69,232],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-09-17 10:14:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648871444192690176,"timestamp_seconds":648871444192690.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187738,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187738,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142711808001,"66":12765,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142711808001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:14:38] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:14:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142711808001,"power":12765,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":187738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:14:38] local.INFO: GPS data processed {"connection_id":187738,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:14:38] local.INFO: Acknowledgment sent {"connection_id":187738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:14:50] local.INFO: TCP Data received {"connection_id":185133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:14:50] local.INFO: Processing buffer {"connection_id":185133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:14:50] local.INFO: IMEI packet received {"connection_id":185133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":185133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:14:53] local.INFO: TCP Data received {"connection_id":185133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:14:53] local.INFO: Processing buffer {"connection_id":185133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:14:53] local.INFO: IMEI packet received {"connection_id":185133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":185133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:14:58] local.INFO: TCP Data received {"connection_id":185133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:14:58] local.INFO: Processing buffer {"connection_id":185133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:14:58] local.INFO: IMEI packet received {"connection_id":185133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":185133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:14:58] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:14:58] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:14:58] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:14:58] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:14:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 10:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:58] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 10:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789718780000,"timestamp_ms":1789718780000,"timestamp_seconds":1789718780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d5860"} 
[2026-09-17 10:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 10:14:58] local.INFO: GPS data processed {"connection_id":186419,"processed":0,"errors":0,"total":1} 
[2026-09-17 10:14:58] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:14:58] local.INFO: TCP Data received {"connection_id":185133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adad31e0012d181380072198c0004c00b21f..."} 
[2026-09-17 10:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adad31e0012d181380072198c0004c00b21f..."} 
[2026-09-17 10:14:58] local.INFO: Processing buffer {"connection_id":185133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adad31e0012d181380072198c0004c00b21f..."} 
[2026-09-17 10:14:58] local.INFO: Packet analysis {"connection_id":185133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adad"} 
[2026-09-17 10:14:58] local.INFO: Extracted packet for processing {"connection_id":185133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adad"} 
[2026-09-17 10:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142766848001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789620204000,"timestamp_ms":1789620204000,"timestamp_seconds":1789620204,"priority":1,"record_length":96,"hex_timestamp":"000001a0adad31e0"} 
[2026-09-17 10:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-17 10:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:14:58] 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-09-17 10:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142766848001,"66":12645,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142766848001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:14:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142766848001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":185133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:14:59] local.INFO: GPS data processed {"connection_id":185133,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:14:59] local.INFO: Acknowledgment sent {"connection_id":185133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:15:02] local.INFO: TCP Data received {"connection_id":185134,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:15:02] local.INFO: Processing buffer {"connection_id":185134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:15:02] local.INFO: IMEI packet received {"connection_id":185134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":185134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:15:03] local.INFO: TCP Data received {"connection_id":185133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adad83e8012d181380072198c0004c00b21f..."} 
[2026-09-17 10:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adad83e8012d181380072198c0004c00b21f..."} 
[2026-09-17 10:15:03] local.INFO: Processing buffer {"connection_id":185133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adad83e8012d181380072198c0004c00b21f..."} 
[2026-09-17 10:15:03] local.INFO: Packet analysis {"connection_id":185133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adad"} 
[2026-09-17 10:15:03] local.INFO: Extracted packet for processing {"connection_id":185133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adad"} 
[2026-09-17 10:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142772224001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789620225000,"timestamp_ms":1789620225000,"timestamp_seconds":1789620225,"priority":1,"record_length":96,"hex_timestamp":"000001a0adad83e8"} 
[2026-09-17 10:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-17 10:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142772224001,"66":12613,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142772224001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:15:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142772224001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":185133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:15:03] local.INFO: GPS data processed {"connection_id":185133,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:15:03] local.INFO: Acknowledgment sent {"connection_id":185133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:15:08] local.INFO: TCP Data received {"connection_id":185134,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:15:08] local.INFO: Processing buffer {"connection_id":185134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:15:08] local.INFO: IMEI packet received {"connection_id":185134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":185134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:15:13] local.INFO: TCP Data received {"connection_id":185134,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:15:13] local.INFO: Processing buffer {"connection_id":185134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:15:13] local.INFO: Packet analysis {"connection_id":185134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:15:13] local.INFO: Extracted packet for processing {"connection_id":185134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:15:13] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":40,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142711808001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789620269000,"timestamp_ms":1789620269000,"timestamp_seconds":1789620269,"priority":1,"record_length":96,"hex_timestamp":"000001a0adae2fc8"} 
[2026-09-17 10:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4505090383675392,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2912967864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084811,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504097848819712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-6892530526221298496,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3221684895,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182143810273536,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-2377674799355736482,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188931282292525081,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195462400,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84736152812585631,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,178,94,24,241,157,16,160,45,192,159,9,37,10,66,104,25,17,100,240,92,227,173,2,1,4,113,205,3,20,72,26,239,56,116,7,43,80,69,232],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-09-17 10:15:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648871444192690176,"timestamp_seconds":648871444192690.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142711808001,"66":12765,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142711808001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:15:13] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:15:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142711808001,"power":12765,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":185134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854608,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:15:14] local.INFO: GPS data processed {"connection_id":185134,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:15:14] local.INFO: Acknowledgment sent {"connection_id":185134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:15:29] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:15:29] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:15:29] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:15:29] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:15:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 10:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:29] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 10:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789718780000,"timestamp_ms":1789718780000,"timestamp_seconds":1789718780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d5860"} 
[2026-09-17 10:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 10:15:29] local.INFO: GPS data processed {"connection_id":186419,"processed":0,"errors":0,"total":1} 
[2026-09-17 10:15:29] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:15:48] local.INFO: TCP Data received {"connection_id":187739,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:15:48] local.INFO: Processing buffer {"connection_id":187739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:15:48] local.INFO: IMEI packet received {"connection_id":187739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":187739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:15:53] local.INFO: TCP Data received {"connection_id":187739,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:15:53] local.INFO: Processing buffer {"connection_id":187739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:15:53] local.INFO: IMEI packet received {"connection_id":187739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":187739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:15:53] local.INFO: TCP Data received {"connection_id":187739,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adadd5f0012d181380072198c0004c00b21f..."} 
[2026-09-17 10:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adadd5f0012d181380072198c0004c00b21f..."} 
[2026-09-17 10:15:53] local.INFO: Processing buffer {"connection_id":187739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adadd5f0012d181380072198c0004c00b21f..."} 
[2026-09-17 10:15:53] local.INFO: Packet analysis {"connection_id":187739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adad"} 
[2026-09-17 10:15:53] local.INFO: Extracted packet for processing {"connection_id":187739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adad"} 
[2026-09-17 10:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142777600001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620246000,"timestamp_ms":1789620246000,"timestamp_seconds":1789620246,"priority":1,"record_length":96,"hex_timestamp":"000001a0adadd5f0"} 
[2026-09-17 10:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-17 10:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:15:53] 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-09-17 10:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142777600001,"66":12602,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142777600001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:15:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142777600001,"power":12602,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":187739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:15:53] local.INFO: GPS data processed {"connection_id":187739,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:15:53] local.INFO: Acknowledgment sent {"connection_id":187739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:15:57] local.INFO: TCP Data received {"connection_id":185136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:15:57] local.INFO: Processing buffer {"connection_id":185136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:15:57] local.INFO: IMEI packet received {"connection_id":185136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":185136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:16:00] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:16:00] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:16:00] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:16:00] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:16:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 10:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:00] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 10:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789718780000,"timestamp_ms":1789718780000,"timestamp_seconds":1789718780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d5860"} 
[2026-09-17 10:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:16:00] 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-09-17 10:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 10:16:00] local.INFO: GPS data processed {"connection_id":186419,"processed":0,"errors":0,"total":1} 
[2026-09-17 10:16:00] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:16:02] local.INFO: TCP Data received {"connection_id":185136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:16:02] local.INFO: Processing buffer {"connection_id":185136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:16:02] local.INFO: IMEI packet received {"connection_id":185136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":185136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:16:03] local.INFO: TCP Data received {"connection_id":185136,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:16:03] local.INFO: Processing buffer {"connection_id":185136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:16:03] local.INFO: Packet analysis {"connection_id":185136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:16:03] local.INFO: Extracted packet for processing {"connection_id":185136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:16:03] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":40,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142711808001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789620269000,"timestamp_ms":1789620269000,"timestamp_seconds":1789620269,"priority":1,"record_length":96,"hex_timestamp":"000001a0adae2fc8"} 
[2026-09-17 10:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4505090383675392,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2912967864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084811,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504097848819712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-6892530526221298496,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3221684895,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182143810273536,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-2377674799355736482,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188931282292525081,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195462400,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84736152812585631,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,178,94,24,241,157,16,160,45,192,159,9,37,10,66,104,25,17,100,240,92,227,173,2,1,4,113,205,3,20,72,26,239,56,116,7,43,80,69,232],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-09-17 10:16:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648871444192690176,"timestamp_seconds":648871444192690.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142711808001,"66":12765,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142711808001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:16:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:16:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142711808001,"power":12765,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":185136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854610,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:16:03] local.INFO: GPS data processed {"connection_id":185136,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:16:03] local.INFO: Acknowledgment sent {"connection_id":185136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:16:16] local.INFO: TCP Data received {"connection_id":185135,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:16:16] local.INFO: Processing buffer {"connection_id":185135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:16:16] local.INFO: IMEI packet received {"connection_id":185135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":185135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:16:24] local.INFO: TCP Data received {"connection_id":187739,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adae27f8012d181380072198c0004c00b220..."} 
[2026-09-17 10:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adae27f8012d181380072198c0004c00b220..."} 
[2026-09-17 10:16:24] local.INFO: Processing buffer {"connection_id":187739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adae27f8012d181380072198c0004c00b220..."} 
[2026-09-17 10:16:24] local.INFO: Packet analysis {"connection_id":187739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:16:24] local.INFO: Extracted packet for processing {"connection_id":187739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142782976001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620267000,"timestamp_ms":1789620267000,"timestamp_seconds":1789620267,"priority":1,"record_length":96,"hex_timestamp":"000001a0adae27f8"} 
[2026-09-17 10:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-17 10:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142782976001,"66":12591,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142782976001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:16:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142782976001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":187739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:16:24] local.INFO: GPS data processed {"connection_id":187739,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:16:24] local.INFO: Acknowledgment sent {"connection_id":187739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:16:32] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:16:32] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:16:32] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:16:32] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:16:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 10:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:32] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 10:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789718780000,"timestamp_ms":1789718780000,"timestamp_seconds":1789718780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d5860"} 
[2026-09-17 10:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:16:32] 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-09-17 10:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 10:16:32] local.INFO: GPS data processed {"connection_id":186419,"processed":0,"errors":0,"total":1} 
[2026-09-17 10:16:32] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:16:35] local.INFO: TCP Data received {"connection_id":185136,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:16:35] local.INFO: Processing buffer {"connection_id":185136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:16:35] local.INFO: Packet analysis {"connection_id":185136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:16:35] local.INFO: Extracted packet for processing {"connection_id":185136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:16:35] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":40,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142711808001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789620269000,"timestamp_ms":1789620269000,"timestamp_seconds":1789620269,"priority":1,"record_length":96,"hex_timestamp":"000001a0adae2fc8"} 
[2026-09-17 10:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4505090383675392,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2912967864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084811,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504097848819712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-6892530526221298496,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3221684895,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182143810273536,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-2377674799355736482,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188931282292525081,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195462400,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84736152812585631,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,178,94,24,241,157,16,160,45,192,159,9,37,10,66,104,25,17,100,240,92,227,173,2,1,4,113,205,3,20,72,26,239,56,116,7,43,80,69,232],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-09-17 10:16:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648871444192690176,"timestamp_seconds":648871444192690.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142711808001,"66":12765,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142711808001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:16:35] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:16:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142711808001,"power":12765,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":185136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:16:36] local.INFO: GPS data processed {"connection_id":185136,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:16:36] local.INFO: Acknowledgment sent {"connection_id":185136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:16:48] local.INFO: TCP Data received {"connection_id":185011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:16:48] local.INFO: Processing buffer {"connection_id":185011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:16:48] local.INFO: IMEI packet received {"connection_id":185011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":185011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:16:50] local.INFO: TCP Data received {"connection_id":186425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:16:50] local.INFO: Processing buffer {"connection_id":186425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:16:50] local.INFO: IMEI packet received {"connection_id":186425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":186425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:16:53] local.INFO: TCP Data received {"connection_id":185011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:16:53] local.INFO: Processing buffer {"connection_id":185011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:16:53] local.INFO: IMEI packet received {"connection_id":185011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":185011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:16:53] local.INFO: TCP Data received {"connection_id":185011,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adae7a00012d181380072198c0004c00b221..."} 
[2026-09-17 10:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adae7a00012d181380072198c0004c00b221..."} 
[2026-09-17 10:16:53] local.INFO: Processing buffer {"connection_id":185011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adae7a00012d181380072198c0004c00b221..."} 
[2026-09-17 10:16:53] local.INFO: Packet analysis {"connection_id":185011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:16:53] local.INFO: Extracted packet for processing {"connection_id":185011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":33,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142788352001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620288000,"timestamp_ms":1789620288000,"timestamp_seconds":1789620288,"priority":1,"record_length":96,"hex_timestamp":"000001a0adae7a00"} 
[2026-09-17 10:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 10:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:16:53] 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-09-17 10:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142788352001,"66":12558,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142788352001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:16:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142788352001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":185011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:16:53] local.INFO: GPS data processed {"connection_id":185011,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:16:53] local.INFO: Acknowledgment sent {"connection_id":185011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:17:04] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:17:04] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b38d58600100000000000000000000000000..."} 
[2026-09-17 10:17:04] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:17:04] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b38d"} 
[2026-09-17 10:17:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 10:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:04] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 10:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789718780000,"timestamp_ms":1789718780000,"timestamp_seconds":1789718780,"priority":1,"record_length":96,"hex_timestamp":"000001a0b38d5860"} 
[2026-09-17 10:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:17:04] 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-09-17 10:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 10:17:04] local.INFO: GPS data processed {"connection_id":186419,"processed":0,"errors":0,"total":1} 
[2026-09-17 10:17:04] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:17:24] local.INFO: TCP Data received {"connection_id":185011,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adaecc08012d181380072198c0004c00b220..."} 
[2026-09-17 10:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adaecc08012d181380072198c0004c00b220..."} 
[2026-09-17 10:17:24] local.INFO: Processing buffer {"connection_id":185011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adaecc08012d181380072198c0004c00b220..."} 
[2026-09-17 10:17:24] local.INFO: Packet analysis {"connection_id":185011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:17:24] local.INFO: Extracted packet for processing {"connection_id":185011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142793728001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620309000,"timestamp_ms":1789620309000,"timestamp_seconds":1789620309,"priority":1,"record_length":96,"hex_timestamp":"000001a0adaecc08"} 
[2026-09-17 10:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2913766864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249368571744196800,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2905726977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2562719820,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2147951000,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":42,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,45,160,39,128,152,76,32,10,66,213,31,131,1,240,69,227,173,33,4,113,205,223,19,192,239,49,2,75,7,106,42,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-17 10:17:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476573001686188032,"timestamp_seconds":5476573001686188.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142793728001,"66":12645,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142793728001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:17:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142793728001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":185011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:17:24] local.INFO: GPS data processed {"connection_id":185011,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:17:24] local.INFO: Acknowledgment sent {"connection_id":185011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:17:36] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:17:36] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:17:36] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:17:36] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:17:36] 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-09-17 10:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:17:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:17:36] local.INFO: GPS data processed {"connection_id":186419,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:17:36] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:17:48] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:17:48] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:17:48] local.INFO: IMEI packet received {"connection_id":186427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":186427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:17:53] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:17:53] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:17:53] local.INFO: IMEI packet received {"connection_id":186427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":186427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:17:53] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adaf1e10012d181380072198c0004c00b220..."} 
[2026-09-17 10:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adaf1e10012d181380072198c0004c00b220..."} 
[2026-09-17 10:17:53] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adaf1e10012d181380072198c0004c00b220..."} 
[2026-09-17 10:17:53] local.INFO: Packet analysis {"connection_id":186427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adaf"} 
[2026-09-17 10:17:53] local.INFO: Extracted packet for processing {"connection_id":186427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adaf"} 
[2026-09-17 10:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142799104001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620330000,"timestamp_ms":1789620330000,"timestamp_seconds":1789620330,"priority":1,"record_length":96,"hex_timestamp":"000001a0adaf1e10"} 
[2026-09-17 10:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-17 10:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:17:53] 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-09-17 10:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142799104001,"66":12558,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142799104001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:17:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142799104001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":186427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:17:53] local.INFO: GPS data processed {"connection_id":186427,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:17:53] local.INFO: Acknowledgment sent {"connection_id":186427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:18:07] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:18:07] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:18:07] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:18:07] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:18:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:18:07] local.INFO: GPS data processed {"connection_id":186419,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:18:07] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:18:24] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adaf7018012d181380072198c0004c00b220..."} 
[2026-09-17 10:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adaf7018012d181380072198c0004c00b220..."} 
[2026-09-17 10:18:24] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adaf7018012d181380072198c0004c00b220..."} 
[2026-09-17 10:18:24] local.INFO: Packet analysis {"connection_id":186427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adaf"} 
[2026-09-17 10:18:24] local.INFO: Extracted packet for processing {"connection_id":186427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adaf"} 
[2026-09-17 10:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119642304,"longitude_deg":75.6552576,"latitude_deg":11.9642304,"altitude":76,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d181380","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-17 10:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142804480001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161153543536640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584558080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620351000,"timestamp_ms":1789620351000,"timestamp_seconds":1789620351,"priority":1,"record_length":96,"hex_timestamp":"000001a0adaf7018"} 
[2026-09-17 10:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2913808864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2562719820,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249368571744196800,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2916478977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2147951000,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,45,160,204,128,152,76,32,10,66,122,33,39,1,240,47,227,173,4,113,205,131,19,192,31,239,49,2,75,7,106,44,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-17 10:18:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476572997391220736,"timestamp_seconds":5476572997391221.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142804480001,"66":12591,"107":206,"83":41984,"24":0,"16":21161153543536640,"45":1734871049584558080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142804480001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:18:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161153543536640,"km_value":21161153543536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584558080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142804480001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584558080}} 
[2026-09-17 10:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":186427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:18:24] local.INFO: GPS data processed {"connection_id":186427,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:18:24] local.INFO: Acknowledgment sent {"connection_id":186427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:18:38] local.INFO: TCP Data received {"connection_id":186419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:18:38] local.INFO: Processing buffer {"connection_id":186419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:18:38] local.INFO: Packet analysis {"connection_id":186419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:18:38] local.INFO: Extracted packet for processing {"connection_id":186419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:18:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":186419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:18:38] local.INFO: GPS data processed {"connection_id":186419,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:18:38] local.INFO: Acknowledgment sent {"connection_id":186419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:18:48] local.INFO: TCP Data received {"connection_id":185137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:18:48] local.INFO: Processing buffer {"connection_id":185137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:18:48] local.INFO: IMEI packet received {"connection_id":185137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":185137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:18:49] local.INFO: TCP Data received {"connection_id":185137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:18:49] local.INFO: Processing buffer {"connection_id":185137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:18:49] local.INFO: IMEI packet received {"connection_id":185137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":185137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:18:52] local.INFO: TCP Data received {"connection_id":185139,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:18:52] local.INFO: Processing buffer {"connection_id":185139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:18:52] local.INFO: IMEI packet received {"connection_id":185139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":185139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:18:53] local.INFO: TCP Data received {"connection_id":185137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:18:53] local.INFO: Processing buffer {"connection_id":185137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:18:53] local.INFO: IMEI packet received {"connection_id":185137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":185137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:18:53] local.INFO: TCP Data received {"connection_id":185137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb19ac8012d17f3c007217ad8004a00df22..."} 
[2026-09-17 10:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb19ac8012d17f3c007217ad8004a00df22..."} 
[2026-09-17 10:18:53] local.INFO: Processing buffer {"connection_id":185137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb19ac8012d17f3c007217ad8004a00df22..."} 
[2026-09-17 10:18:53] local.INFO: Packet analysis {"connection_id":185137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb1"} 
[2026-09-17 10:18:53] local.INFO: Extracted packet for processing {"connection_id":185137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb1"} 
[2026-09-17 10:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756544448,"raw_latitude":119634648,"longitude_deg":75.6544448,"latitude_deg":11.9634648,"altitude":74,"angle":223,"satellites":34,"speed":30,"hex_longitude":"2d17f3c0","hex_latitude":"07217ad8","is_valid_coordinates":true} 
[2026-09-17 10:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142842624001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161699004383232,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733815518421510144,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620493000,"timestamp_ms":1789620493000,"timestamp_seconds":1789620493,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb19ac8"} 
[2026-09-17 10:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-17 10:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:18:53] 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-09-17 10:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142842624001,"66":13972,"107":206,"83":41984,"24":30,"16":21161699004383232,"45":1733815518421510144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142842624001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:18:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161699004383232,"km_value":21161699004383.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733815518421510144,"description":"Unknown IO ID 45"} 
[2026-09-17 10:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142842624001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1733815518421510144}} 
[2026-09-17 10:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":185137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:18:53] local.INFO: GPS data processed {"connection_id":185137,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:18:53] local.INFO: Acknowledgment sent {"connection_id":185137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:18:57] local.INFO: TCP Data received {"connection_id":185139,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:18:57] local.INFO: Processing buffer {"connection_id":185139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:18:57] local.INFO: IMEI packet received {"connection_id":185139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":185139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:18:59] local.INFO: TCP Data received {"connection_id":185139,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:18:59] local.INFO: Processing buffer {"connection_id":185139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:18:59] local.INFO: Packet analysis {"connection_id":185139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:18:59] local.INFO: Extracted packet for processing {"connection_id":185139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:18:59] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":40,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142711808001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789620269000,"timestamp_ms":1789620269000,"timestamp_seconds":1789620269,"priority":1,"record_length":96,"hex_timestamp":"000001a0adae2fc8"} 
[2026-09-17 10:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4505090383675392,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2912967864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084811,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504097848819712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-6892530526221298496,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3221684895,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182143810273536,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-2377674799355736482,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188931282292525081,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195462400,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84736152812585631,"note":"Value kept but may cause issues"} 
[2026-09-17 10:18:59] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,178,94,24,241,157,16,160,45,192,159,9,37,10,66,104,25,17,100,240,92,227,173,2,1,4,113,205,3,20,72,26,239,56,116,7,43,80,69,232],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-09-17 10:18:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648871444192690176,"timestamp_seconds":648871444192690.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142711808001,"66":12765,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142711808001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:18:59] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:18:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142711808001,"power":12765,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":185139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854621,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:18:59] local.INFO: GPS data processed {"connection_id":185139,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:18:59] local.INFO: Acknowledgment sent {"connection_id":185139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:19:16] local.INFO: TCP Data received {"connection_id":185012,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:19:16] local.INFO: Processing buffer {"connection_id":185012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:19:16] local.INFO: IMEI packet received {"connection_id":185012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":185012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:19:21] local.INFO: TCP Data received {"connection_id":185012,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:19:21] local.INFO: Processing buffer {"connection_id":185012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:19:21] local.INFO: IMEI packet received {"connection_id":185012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":185012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:19:22] local.INFO: TCP Data received {"connection_id":185012,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:19:22] local.INFO: Processing buffer {"connection_id":185012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:19:22] local.INFO: Packet analysis {"connection_id":185012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:19:22] local.INFO: Extracted packet for processing {"connection_id":185012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:19:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:19:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:19:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:19:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":185012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:19:22] local.INFO: GPS data processed {"connection_id":185012,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:19:22] local.INFO: Acknowledgment sent {"connection_id":185012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:19:24] local.INFO: TCP Data received {"connection_id":185137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb1ae50012d17ea0007216ea0004900d423..."} 
[2026-09-17 10:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb1ae50012d17ea0007216ea0004900d423..."} 
[2026-09-17 10:19:24] local.INFO: Processing buffer {"connection_id":185137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb1ae50012d17ea0007216ea0004900d423..."} 
[2026-09-17 10:19:24] local.INFO: Packet analysis {"connection_id":185137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb1"} 
[2026-09-17 10:19:24] local.INFO: Extracted packet for processing {"connection_id":185137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb1"} 
[2026-09-17 10:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756541952,"raw_latitude":119631520,"longitude_deg":75.6541952,"latitude_deg":11.963152,"altitude":73,"angle":212,"satellites":35,"speed":31,"hex_longitude":"2d17ea00","hex_latitude":"07216ea0","is_valid_coordinates":true} 
[2026-09-17 10:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142846208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161887982944256,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725934219072034816,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620498000,"timestamp_ms":1789620498000,"timestamp_seconds":1789620498,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb1ae50"} 
[2026-09-17 10:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-17 10:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142846208001,"66":14102,"107":206,"83":41984,"24":31,"16":21161887982944256,"45":1725934219072034816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142846208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:19:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161887982944256,"km_value":21161887982944.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725934219072034816,"description":"Unknown IO ID 45"} 
[2026-09-17 10:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142846208001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1725934219072034816}} 
[2026-09-17 10:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":185137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:19:24] local.INFO: GPS data processed {"connection_id":185137,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:19:24] local.INFO: Acknowledgment sent {"connection_id":185137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:19:31] local.INFO: TCP Data received {"connection_id":185139,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:19:31] local.INFO: Processing buffer {"connection_id":185139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adae2fc8012d0b14c007029f400009014128..."} 
[2026-09-17 10:19:31] local.INFO: Packet analysis {"connection_id":185139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:19:31] local.INFO: Extracted packet for processing {"connection_id":185139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adae"} 
[2026-09-17 10:19:31] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":40,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142711808001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789620269000,"timestamp_ms":1789620269000,"timestamp_seconds":1789620269,"priority":1,"record_length":96,"hex_timestamp":"000001a0adae2fc8"} 
[2026-09-17 10:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4505090383675392,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2912967864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084811,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504097848819712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-6892530526221298496,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3221684895,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182143810273536,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-2377674799355736482,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":188931282292525081,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195462400,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84736152812585631,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,178,94,24,241,157,16,160,45,192,159,9,37,10,66,104,25,17,100,240,92,227,173,2,1,4,113,205,3,20,72,26,239,56,116,7,43,80,69,232],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-09-17 10:19:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648871444192690176,"timestamp_seconds":648871444192690.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142711808001,"66":12765,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142711808001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:19:31] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:19:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142711808001,"power":12765,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":185139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854624,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:19:32] local.INFO: GPS data processed {"connection_id":185139,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:19:32] local.INFO: Acknowledgment sent {"connection_id":185139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:19:48] local.INFO: TCP Data received {"connection_id":187740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:19:48] local.INFO: Processing buffer {"connection_id":187740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:19:48] local.INFO: IMEI packet received {"connection_id":187740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":187740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:19:52] local.INFO: TCP Data received {"connection_id":187740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:19:52] local.INFO: Processing buffer {"connection_id":187740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:19:52] local.INFO: IMEI packet received {"connection_id":187740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":187740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:19:53] local.INFO: TCP Data received {"connection_id":187740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb1d948012d17d78007214e20004300d223..."} 
[2026-09-17 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb1d948012d17d78007214e20004300d223..."} 
[2026-09-17 10:19:53] local.INFO: Processing buffer {"connection_id":187740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb1d948012d17d78007214e20004300d223..."} 
[2026-09-17 10:19:53] local.INFO: Packet analysis {"connection_id":187740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb1"} 
[2026-09-17 10:19:53] local.INFO: Extracted packet for processing {"connection_id":187740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb1"} 
[2026-09-17 10:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756537216,"raw_latitude":119623200,"longitude_deg":75.6537216,"latitude_deg":11.96232,"altitude":67,"angle":210,"satellites":35,"speed":40,"hex_longitude":"2d17d780","hex_latitude":"07214e20","is_valid_coordinates":true} 
[2026-09-17 10:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142847488001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162351839412224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723189838048305152,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620509000,"timestamp_ms":1789620509000,"timestamp_seconds":1789620509,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb1d948"} 
[2026-09-17 10:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-17 10:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:19:53] 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-09-17 10:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142847488001,"66":14070,"107":206,"83":41984,"24":40,"16":21162351839412224,"45":1723189838048305152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142847488001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:19:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162351839412224,"km_value":21162351839412.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723189838048305152,"description":"Unknown IO ID 45"} 
[2026-09-17 10:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142847488001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1723189838048305152}} 
[2026-09-17 10:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":187740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:19:53] local.INFO: GPS data processed {"connection_id":187740,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:19:53] local.INFO: Acknowledgment sent {"connection_id":187740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:19:55] local.INFO: TCP Data received {"connection_id":185012,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:19:55] local.INFO: Processing buffer {"connection_id":185012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:19:55] local.INFO: Packet analysis {"connection_id":185012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:19:55] local.INFO: Extracted packet for processing {"connection_id":185012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:19:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:19:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:19:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:19:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":185012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:19:55] local.INFO: GPS data processed {"connection_id":185012,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:19:55] local.INFO: Acknowledgment sent {"connection_id":185012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:19:57] local.INFO: TCP Data received {"connection_id":187742,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:19:57] local.INFO: Processing buffer {"connection_id":187742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:19:57] local.INFO: IMEI packet received {"connection_id":187742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":187742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:20:02] local.INFO: TCP Data received {"connection_id":187742,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:20:02] local.INFO: Processing buffer {"connection_id":187742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:20:02] local.INFO: IMEI packet received {"connection_id":187742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":187742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:20:03] local.INFO: TCP Data received {"connection_id":187742,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:20:03] local.INFO: Processing buffer {"connection_id":187742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:20:03] local.INFO: Packet analysis {"connection_id":187742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:20:03] local.INFO: Extracted packet for processing {"connection_id":187742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:20:03] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142788864001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789620570000,"timestamp_ms":1789620570000,"timestamp_seconds":1789620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb2c790"} 
[2026-09-17 10:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 10:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142788864001,"66":12852,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142788864001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:20:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:20:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142788864001,"power":12852,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":187742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854627,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:20:03] local.INFO: GPS data processed {"connection_id":187742,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:20:03] local.INFO: Acknowledgment sent {"connection_id":187742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:20:16] local.INFO: TCP Data received {"connection_id":185140,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:20:16] local.INFO: Processing buffer {"connection_id":185140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:20:16] local.INFO: IMEI packet received {"connection_id":185140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":185140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:20:21] local.INFO: TCP Data received {"connection_id":185140,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:20:21] local.INFO: Processing buffer {"connection_id":185140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:20:21] local.INFO: IMEI packet received {"connection_id":185140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":185140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:20:22] local.INFO: TCP Data received {"connection_id":185140,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:20:22] local.INFO: Processing buffer {"connection_id":185140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:20:22] local.INFO: Packet analysis {"connection_id":185140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:20:22] local.INFO: Extracted packet for processing {"connection_id":185140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:20:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:20:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:20:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:20:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":185140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:20:22] local.INFO: GPS data processed {"connection_id":185140,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:20:22] local.INFO: Acknowledgment sent {"connection_id":185140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:20:23] local.INFO: TCP Data received {"connection_id":187740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb20058012d17c88007213440003e00c623..."} 
[2026-09-17 10:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb20058012d17c88007213440003e00c623..."} 
[2026-09-17 10:20:23] local.INFO: Processing buffer {"connection_id":187740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb20058012d17c88007213440003e00c623..."} 
[2026-09-17 10:20:23] local.INFO: Packet analysis {"connection_id":187740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:20:23] local.INFO: Extracted packet for processing {"connection_id":187740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119616576,"longitude_deg":75.6533376,"latitude_deg":11.9616576,"altitude":62,"angle":198,"satellites":35,"speed":6,"hex_longitude":"2d17c880","hex_latitude":"07213440","is_valid_coordinates":true} 
[2026-09-17 10:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142850304001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162721206599680,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717982550977028096,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789620519000,"timestamp_ms":1789620519000,"timestamp_seconds":1789620519,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb20058"} 
[2026-09-17 10:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 10:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142850304001,"66":13972,"107":206,"83":41984,"24":6,"16":21162721206599680,"45":1717982550977028096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142850304001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:20:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162721206599680,"km_value":21162721206599.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717982550977028096,"description":"Unknown IO ID 45"} 
[2026-09-17 10:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142850304001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1717982550977028096}} 
[2026-09-17 10:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":187740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:20:23] local.INFO: GPS data processed {"connection_id":187740,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:20:23] local.INFO: Acknowledgment sent {"connection_id":187740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:20:34] local.INFO: TCP Data received {"connection_id":187742,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:20:34] local.INFO: Processing buffer {"connection_id":187742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:20:34] local.INFO: Packet analysis {"connection_id":187742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:20:34] local.INFO: Extracted packet for processing {"connection_id":187742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:20:34] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142788864001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789620570000,"timestamp_ms":1789620570000,"timestamp_seconds":1789620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb2c790"} 
[2026-09-17 10:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 10:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142788864001,"66":12852,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142788864001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:20:34] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:20:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142788864001,"power":12852,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":187742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:20:35] local.INFO: GPS data processed {"connection_id":187742,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:20:35] local.INFO: Acknowledgment sent {"connection_id":187742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:20:48] local.INFO: TCP Data received {"connection_id":186429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:20:48] local.INFO: Processing buffer {"connection_id":186429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:20:48] local.INFO: IMEI packet received {"connection_id":186429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":186429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:20:53] local.INFO: TCP Data received {"connection_id":186429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:20:53] local.INFO: Processing buffer {"connection_id":186429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:20:53] local.INFO: IMEI packet received {"connection_id":186429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":186429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:20:53] local.INFO: TCP Data received {"connection_id":185140,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:20:53] local.INFO: Processing buffer {"connection_id":185140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:20:53] local.INFO: Packet analysis {"connection_id":185140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:20:53] local.INFO: Extracted packet for processing {"connection_id":185140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:20:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":185140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:20:53] local.INFO: GPS data processed {"connection_id":185140,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:20:53] local.INFO: Acknowledgment sent {"connection_id":185140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:20:53] local.INFO: TCP Data received {"connection_id":186429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb24a90012d17c7c007213278003d00c923..."} 
[2026-09-17 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb24a90012d17c7c007213278003d00c923..."} 
[2026-09-17 10:20:53] local.INFO: Processing buffer {"connection_id":186429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb24a90012d17c7c007213278003d00c923..."} 
[2026-09-17 10:20:53] local.INFO: Packet analysis {"connection_id":186429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:20:53] local.INFO: Extracted packet for processing {"connection_id":186429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756533184,"raw_latitude":119616120,"longitude_deg":75.6533184,"latitude_deg":11.961612,"altitude":61,"angle":201,"satellites":35,"speed":0,"hex_longitude":"2d17c7c0","hex_latitude":"07213278","is_valid_coordinates":true} 
[2026-09-17 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142852864001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162746976403456,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324672512,"note":"Value kept but may cause issues"} 
[2026-09-17 10:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620538000,"timestamp_ms":1789620538000,"timestamp_seconds":1789620538,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb24a90"} 
[2026-09-17 10:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-17 10:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:20:53] 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-09-17 10:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142852864001,"66":14070,"107":206,"83":41984,"24":0,"16":21162746976403456,"45":1713760426324672512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142852864001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:20:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162746976403456,"km_value":21162746976403.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324672512,"description":"Unknown IO ID 45"} 
[2026-09-17 10:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142852864001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713760426324672512}} 
[2026-09-17 10:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":186429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:20:53] local.INFO: GPS data processed {"connection_id":186429,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:20:53] local.INFO: Acknowledgment sent {"connection_id":186429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:21:03] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:21:03] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:21:03] local.INFO: IMEI packet received {"connection_id":186430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":186430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:21:07] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:21:07] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:21:07] local.INFO: IMEI packet received {"connection_id":186430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":186430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:21:08] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:21:08] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:21:08] local.INFO: Packet analysis {"connection_id":186430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:21:08] local.INFO: Extracted packet for processing {"connection_id":186430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:21:08] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142788864001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789620570000,"timestamp_ms":1789620570000,"timestamp_seconds":1789620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb2c790"} 
[2026-09-17 10:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 10:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142788864001,"66":12852,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142788864001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:21:08] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:21:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142788864001,"power":12852,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":186430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:21:08] local.INFO: GPS data processed {"connection_id":186430,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:21:08] local.INFO: Acknowledgment sent {"connection_id":186430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:21:14] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:21:14] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb2c790012d0b14c007029f40000901412a..."} 
[2026-09-17 10:21:14] local.INFO: Packet analysis {"connection_id":186430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:21:14] local.INFO: Extracted packet for processing {"connection_id":186430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:21:14] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612352,"longitude_deg":75.5700928,"latitude_deg":11.7612352,"altitude":9,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-09-17 10:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142788864001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32651440895819776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292715520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789620570000,"timestamp_ms":1789620570000,"timestamp_seconds":1789620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb2c790"} 
[2026-09-17 10:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 10:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142788864001,"66":12852,"178":206,"94":10240,"24":0,"16":32651440895819776,"45":798474170292715520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 10:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142788864001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:21:14] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 10:21:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32651440895819776,"km_value":32651440895819.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292715520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142788864001,"power":12852,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292715520}} 
[2026-09-17 10:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":186430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:21:14] local.INFO: GPS data processed {"connection_id":186430,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:21:14] local.INFO: Acknowledgment sent {"connection_id":186430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:21:15] local.INFO: TCP Data received {"connection_id":185013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:21:15] local.INFO: Processing buffer {"connection_id":185013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:21:15] local.INFO: IMEI packet received {"connection_id":185013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":185013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:21:21] local.INFO: TCP Data received {"connection_id":185013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:21:21] local.INFO: Processing buffer {"connection_id":185013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:21:21] local.INFO: IMEI packet received {"connection_id":185013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":185013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:21:22] local.INFO: TCP Data received {"connection_id":185013,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:21:22] local.INFO: Processing buffer {"connection_id":185013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:21:22] local.INFO: Packet analysis {"connection_id":185013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:21:22] local.INFO: Extracted packet for processing {"connection_id":185013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:21:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:21:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:21:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:21:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":185013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:21:22] local.INFO: GPS data processed {"connection_id":185013,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:21:22] local.INFO: Acknowledgment sent {"connection_id":185013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:21:24] local.INFO: TCP Data received {"connection_id":186429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb298b0012d17c800072132b8003d002325..."} 
[2026-09-17 10:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb298b0012d17c800072132b8003d002325..."} 
[2026-09-17 10:21:24] local.INFO: Processing buffer {"connection_id":186429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb298b0012d17c800072132b8003d002325..."} 
[2026-09-17 10:21:24] local.INFO: Packet analysis {"connection_id":186429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:21:24] local.INFO: Extracted packet for processing {"connection_id":186429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756533248,"raw_latitude":119616184,"longitude_deg":75.6533248,"latitude_deg":11.9616184,"altitude":61,"angle":35,"satellites":37,"speed":1,"hex_longitude":"2d17c800","hex_latitude":"072132b8","is_valid_coordinates":true} 
[2026-09-17 10:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142857728001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162751271370752,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713549320092022784,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620558000,"timestamp_ms":1789620558000,"timestamp_seconds":1789620558,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb298b0"} 
[2026-09-17 10:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 10:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142857728001,"66":13167,"107":206,"83":41984,"24":1,"16":21162751271370752,"45":1713549320092022784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142857728001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:21:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162751271370752,"km_value":21162751271370.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713549320092022784,"description":"Unknown IO ID 45"} 
[2026-09-17 10:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142857728001,"power":13167,"unknown_107":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1713549320092022784}} 
[2026-09-17 10:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":186429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:21:24] local.INFO: GPS data processed {"connection_id":186429,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:21:24] local.INFO: Acknowledgment sent {"connection_id":186429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:21:48] local.INFO: TCP Data received {"connection_id":185014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:21:48] local.INFO: Processing buffer {"connection_id":185014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:21:48] local.INFO: IMEI packet received {"connection_id":185014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":185014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:21:53] local.INFO: TCP Data received {"connection_id":185014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:21:53] local.INFO: Processing buffer {"connection_id":185014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:21:53] local.INFO: IMEI packet received {"connection_id":185014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":185014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:21:53] local.INFO: TCP Data received {"connection_id":185013,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:21:53] local.INFO: Processing buffer {"connection_id":185013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:21:53] local.INFO: Packet analysis {"connection_id":185013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:21:53] local.INFO: Extracted packet for processing {"connection_id":185013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:21:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":185013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:21:53] local.INFO: GPS data processed {"connection_id":185013,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:21:53] local.INFO: Acknowledgment sent {"connection_id":185013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:21:53] local.INFO: TCP Data received {"connection_id":185014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb298b0012d17c800072132b8003d002325..."} 
[2026-09-17 10:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb298b0012d17c800072132b8003d002325..."} 
[2026-09-17 10:21:53] local.INFO: Processing buffer {"connection_id":185014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb298b0012d17c800072132b8003d002325..."} 
[2026-09-17 10:21:53] local.INFO: Packet analysis {"connection_id":185014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:21:53] local.INFO: Extracted packet for processing {"connection_id":185014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756533248,"raw_latitude":119616184,"longitude_deg":75.6533248,"latitude_deg":11.9616184,"altitude":61,"angle":35,"satellites":37,"speed":1,"hex_longitude":"2d17c800","hex_latitude":"072132b8","is_valid_coordinates":true} 
[2026-09-17 10:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142862848001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162751271370752,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713619688836216832,"note":"Value kept but may cause issues"} 
[2026-09-17 10:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620558000,"timestamp_ms":1789620558000,"timestamp_seconds":1789620558,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb298b0"} 
[2026-09-17 10:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 10:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:21:53] 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-09-17 10:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142862848001,"66":13167,"107":206,"83":41984,"24":1,"16":21162751271370752,"45":1713619688836216832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142862848001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:21:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162751271370752,"km_value":21162751271370.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713619688836216832,"description":"Unknown IO ID 45"} 
[2026-09-17 10:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142862848001,"power":13167,"unknown_107":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1713619688836216832}} 
[2026-09-17 10:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":185014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:21:54] local.INFO: GPS data processed {"connection_id":185014,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:21:54] local.INFO: Acknowledgment sent {"connection_id":185014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:22:05] local.INFO: TCP Data received {"connection_id":187743,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:22:05] local.INFO: Processing buffer {"connection_id":187743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:22:05] local.INFO: IMEI packet received {"connection_id":187743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":187743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:22:15] local.INFO: TCP Data received {"connection_id":185142,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:22:15] local.INFO: Processing buffer {"connection_id":185142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:22:15] local.INFO: IMEI packet received {"connection_id":185142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":185142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:22:21] local.INFO: TCP Data received {"connection_id":185142,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:22:21] local.INFO: Processing buffer {"connection_id":185142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:22:21] local.INFO: IMEI packet received {"connection_id":185142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":185142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:22:22] local.INFO: TCP Data received {"connection_id":185142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:22:22] local.INFO: Processing buffer {"connection_id":185142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb06630012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:22:22] local.INFO: Packet analysis {"connection_id":185142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:22:22] local.INFO: Extracted packet for processing {"connection_id":185142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb0"} 
[2026-09-17 10:22:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789620414000,"timestamp_ms":1789620414000,"timestamp_seconds":1789620414,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb06630"} 
[2026-09-17 10:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16]} 
[2026-09-17 10:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-17 10:22:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:22:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:22:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null}} 
[2026-09-17 10:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":185142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:22:23] local.INFO: GPS data processed {"connection_id":185142,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:22:23] local.INFO: Acknowledgment sent {"connection_id":185142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:22:24] local.INFO: TCP Data received {"connection_id":185014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb2e2e8012d17c800072132c0003d002625..."} 
[2026-09-17 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb2e2e8012d17c800072132c0003d002625..."} 
[2026-09-17 10:22:24] local.INFO: Processing buffer {"connection_id":185014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb2e2e8012d17c800072132c0003d002625..."} 
[2026-09-17 10:22:24] local.INFO: Packet analysis {"connection_id":185014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:22:24] local.INFO: Extracted packet for processing {"connection_id":185014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb2"} 
[2026-09-17 10:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756533248,"raw_latitude":119616192,"longitude_deg":75.6533248,"latitude_deg":11.9616192,"altitude":61,"angle":38,"satellites":37,"speed":0,"hex_longitude":"2d17c800","hex_latitude":"072132c0","is_valid_coordinates":true} 
[2026-09-17 10:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142862848001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162751271370752,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713619688836216832,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620577000,"timestamp_ms":1789620577000,"timestamp_seconds":1789620577,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb2e2e8"} 
[2026-09-17 10:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 10:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142862848001,"66":13059,"107":206,"83":41984,"24":0,"16":21162751271370752,"45":1713619688836216832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142862848001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:22:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162751271370752,"km_value":21162751271370.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713619688836216832,"description":"Unknown IO ID 45"} 
[2026-09-17 10:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142862848001,"power":13059,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713619688836216832}} 
[2026-09-17 10:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":185014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:22:24] local.INFO: GPS data processed {"connection_id":185014,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:22:24] local.INFO: Acknowledgment sent {"connection_id":185014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:22:48] local.INFO: TCP Data received {"connection_id":185015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:22:48] local.INFO: Processing buffer {"connection_id":185015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:22:48] local.INFO: IMEI packet received {"connection_id":185015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":185015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:22:51] local.INFO: TCP Data received {"connection_id":186431,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:22:51] local.INFO: Processing buffer {"connection_id":186431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:22:51] local.INFO: IMEI packet received {"connection_id":186431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":186431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:22:53] local.INFO: TCP Data received {"connection_id":185015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:22:53] local.INFO: Processing buffer {"connection_id":185015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:22:53] local.INFO: IMEI packet received {"connection_id":185015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":185015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:22:53] local.INFO: TCP Data received {"connection_id":185015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb33108012d17c800072132c0003d002624..."} 
[2026-09-17 10:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb33108012d17c800072132c0003d002624..."} 
[2026-09-17 10:22:53] local.INFO: Processing buffer {"connection_id":185015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb33108012d17c800072132c0003d002624..."} 
[2026-09-17 10:22:53] local.INFO: Packet analysis {"connection_id":185015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb3"} 
[2026-09-17 10:22:53] local.INFO: Extracted packet for processing {"connection_id":185015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb3"} 
[2026-09-17 10:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756533248,"raw_latitude":119616192,"longitude_deg":75.6533248,"latitude_deg":11.9616192,"altitude":61,"angle":38,"satellites":36,"speed":0,"hex_longitude":"2d17c800","hex_latitude":"072132c0","is_valid_coordinates":true} 
[2026-09-17 10:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142867712001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162751271370752,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713619688836218880,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620597000,"timestamp_ms":1789620597000,"timestamp_seconds":1789620597,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb33108"} 
[2026-09-17 10:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303180511497578,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":107,"raw_value":58075809043709983,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2914102864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462123,"corrected_to":0} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2986366977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2147950926,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,47,160,152,45,50,61,37,10,66,74,192,1,240,246,227,173,33,4,113,205,6,217,215,32,35,239,54,2,75,7,73,31],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":246,"original":13462123,"validated":0},{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-17 10:22:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395555176669249536,"timestamp_seconds":4395555176669249.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:22:53] 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-09-17 10:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142867712001,"66":13015,"107":206,"83":41984,"24":0,"16":21162751271370752,"45":1713619688836218880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142867712001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:22:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162751271370752,"km_value":21162751271370.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713619688836218880,"description":"Unknown IO ID 45"} 
[2026-09-17 10:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142867712001,"power":13015,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713619688836218880}} 
[2026-09-17 10:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":185015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:22:53] local.INFO: GPS data processed {"connection_id":185015,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:22:53] local.INFO: Acknowledgment sent {"connection_id":185015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:22:54] local.INFO: TCP Data received {"connection_id":185142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:22:54] local.INFO: Processing buffer {"connection_id":185142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:22:54] local.INFO: Packet analysis {"connection_id":185142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:22:54] local.INFO: Extracted packet for processing {"connection_id":185142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:22:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:22:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":185142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:22:54] local.INFO: GPS data processed {"connection_id":185142,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:22:54] local.INFO: Acknowledgment sent {"connection_id":185142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:22:59] local.INFO: TCP Data received {"connection_id":187744,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187744,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:22:59] local.INFO: Processing buffer {"connection_id":187744,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:22:59] local.INFO: IMEI packet received {"connection_id":187744,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":187744,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:23:00] local.INFO: TCP Data received {"connection_id":187744,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 10:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187744,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 10:23:00] local.INFO: Processing buffer {"connection_id":187744,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 10:23:00] local.INFO: IMEI packet received {"connection_id":187744,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":187744,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:23:12] local.INFO: TCP Data received {"connection_id":185016,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:23:12] local.INFO: Processing buffer {"connection_id":185016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:23:12] local.INFO: IMEI packet received {"connection_id":185016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":185016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:23:21] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:23:21] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:23:21] local.INFO: IMEI packet received {"connection_id":186432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":186432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:23:24] local.INFO: TCP Data received {"connection_id":185015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb37f28012d17c800072132c0003d002624..."} 
[2026-09-17 10:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb37f28012d17c800072132c0003d002624..."} 
[2026-09-17 10:23:24] local.INFO: Processing buffer {"connection_id":185015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb37f28012d17c800072132c0003d002624..."} 
[2026-09-17 10:23:24] local.INFO: Packet analysis {"connection_id":185015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb3"} 
[2026-09-17 10:23:24] local.INFO: Extracted packet for processing {"connection_id":185015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb3"} 
[2026-09-17 10:23:24] local.INFO: GPS Element Parsed {"raw_longitude":756533248,"raw_latitude":119616192,"longitude_deg":75.6533248,"latitude_deg":11.9616192,"altitude":61,"angle":38,"satellites":36,"speed":0,"hex_longitude":"2d17c800","hex_latitude":"072132c0","is_valid_coordinates":true} 
[2026-09-17 10:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142872832001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162751271370752,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713619688836218880,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620617000,"timestamp_ms":1789620617000,"timestamp_seconds":1789620617,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb37f28"} 
[2026-09-17 10:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 10:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142872832001,"66":12961,"107":206,"83":41984,"24":0,"16":21162751271370752,"45":1713619688836218880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142872832001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:23:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162751271370752,"km_value":21162751271370.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713619688836218880,"description":"Unknown IO ID 45"} 
[2026-09-17 10:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142872832001,"power":12961,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713619688836218880}} 
[2026-09-17 10:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":185015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:23:24] local.INFO: GPS data processed {"connection_id":185015,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:23:24] local.INFO: Acknowledgment sent {"connection_id":185015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:23:26] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:23:26] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:23:26] local.INFO: IMEI packet received {"connection_id":186432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":186432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:23:27] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:23:27] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:23:27] local.INFO: Packet analysis {"connection_id":186432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:23:27] local.INFO: Extracted packet for processing {"connection_id":186432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:23:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:23:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:23:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":186432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:23:27] local.INFO: GPS data processed {"connection_id":186432,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:23:27] local.INFO: Acknowledgment sent {"connection_id":186432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:23:32] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:23:32] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:23:32] local.INFO: Packet analysis {"connection_id":186432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:23:32] local.INFO: Extracted packet for processing {"connection_id":186432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:23:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":186432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:23:32] local.INFO: GPS data processed {"connection_id":186432,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:23:32] local.INFO: Acknowledgment sent {"connection_id":186432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:23:48] local.INFO: TCP Data received {"connection_id":187745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:23:48] local.INFO: Processing buffer {"connection_id":187745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:23:48] local.INFO: IMEI packet received {"connection_id":187745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":187745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:23:49] local.INFO: TCP Data received {"connection_id":187745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:23:49] local.INFO: Processing buffer {"connection_id":187745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:23:49] local.INFO: IMEI packet received {"connection_id":187745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":187745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:23:53] local.INFO: TCP Data received {"connection_id":187745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:23:53] local.INFO: Processing buffer {"connection_id":187745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:23:53] local.INFO: IMEI packet received {"connection_id":187745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":187745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:23:53] local.INFO: TCP Data received {"connection_id":187745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb3c960012d17c800072132c0003d002623..."} 
[2026-09-17 10:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb3c960012d17c800072132c0003d002623..."} 
[2026-09-17 10:23:53] local.INFO: Processing buffer {"connection_id":187745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb3c960012d17c800072132c0003d002623..."} 
[2026-09-17 10:23:53] local.INFO: Packet analysis {"connection_id":187745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb3"} 
[2026-09-17 10:23:53] local.INFO: Extracted packet for processing {"connection_id":187745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb3"} 
[2026-09-17 10:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756533248,"raw_latitude":119616192,"longitude_deg":75.6533248,"latitude_deg":11.9616192,"altitude":61,"angle":38,"satellites":35,"speed":0,"hex_longitude":"2d17c800","hex_latitude":"072132c0","is_valid_coordinates":true} 
[2026-09-17 10:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142877952001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162751271370752,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713619688836218880,"note":"Value kept but may cause issues"} 
[2026-09-17 10:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620636000,"timestamp_ms":1789620636000,"timestamp_seconds":1789620636,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb3c960"} 
[2026-09-17 10:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-17 10:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:23:53] 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-09-17 10:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142877952001,"66":12917,"107":206,"83":41984,"24":0,"16":21162751271370752,"45":1713619688836218880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142877952001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:23:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:23:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162751271370752,"km_value":21162751271370.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713619688836218880,"description":"Unknown IO ID 45"} 
[2026-09-17 10:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142877952001,"power":12917,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713619688836218880}} 
[2026-09-17 10:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":187745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:23:54] local.INFO: GPS data processed {"connection_id":187745,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:23:54] local.INFO: Acknowledgment sent {"connection_id":187745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:24:16] local.INFO: TCP Data received {"connection_id":187747,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:24:16] local.INFO: Processing buffer {"connection_id":187747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:24:16] local.INFO: IMEI packet received {"connection_id":187747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":187747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:24:21] local.INFO: TCP Data received {"connection_id":187747,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:24:21] local.INFO: Processing buffer {"connection_id":187747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:24:21] local.INFO: IMEI packet received {"connection_id":187747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":187747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:24:22] local.INFO: TCP Data received {"connection_id":187747,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:24:22] local.INFO: Processing buffer {"connection_id":187747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:24:22] local.INFO: Packet analysis {"connection_id":187747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:24:22] local.INFO: Extracted packet for processing {"connection_id":187747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:24:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:24:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:24:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":187747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:24:22] local.INFO: GPS data processed {"connection_id":187747,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:24:22] local.INFO: Acknowledgment sent {"connection_id":187747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:24:24] local.INFO: TCP Data received {"connection_id":187745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb41780012d17c800072132c0003d002624..."} 
[2026-09-17 10:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb41780012d17c800072132c0003d002624..."} 
[2026-09-17 10:24:24] local.INFO: Processing buffer {"connection_id":187745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb41780012d17c800072132c0003d002624..."} 
[2026-09-17 10:24:24] local.INFO: Packet analysis {"connection_id":187745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:24:24] local.INFO: Extracted packet for processing {"connection_id":187745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756533248,"raw_latitude":119616192,"longitude_deg":75.6533248,"latitude_deg":11.9616192,"altitude":61,"angle":38,"satellites":36,"speed":0,"hex_longitude":"2d17c800","hex_latitude":"072132c0","is_valid_coordinates":true} 
[2026-09-17 10:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142882816001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21162751271370752,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713619688836218880,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620656000,"timestamp_ms":1789620656000,"timestamp_seconds":1789620656,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb41780"} 
[2026-09-17 10:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 10:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142882816001,"66":12939,"107":206,"83":41984,"24":0,"16":21162751271370752,"45":1713619688836218880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142882816001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:24:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21162751271370752,"km_value":21162751271370.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713619688836218880,"description":"Unknown IO ID 45"} 
[2026-09-17 10:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142882816001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713619688836218880}} 
[2026-09-17 10:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":187745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:24:24] local.INFO: GPS data processed {"connection_id":187745,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:24:24] local.INFO: Acknowledgment sent {"connection_id":187745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:24:48] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:24:48] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:24:48] local.INFO: IMEI packet received {"connection_id":185017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":185017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:24:52] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:24:52] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:24:52] local.INFO: IMEI packet received {"connection_id":185017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":185017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:24:53] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:24:53] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:24:53] local.INFO: IMEI packet received {"connection_id":185017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":185017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:24:53] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb6a3d8012d17908007210120003f00ea25..."} 
[2026-09-17 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb6a3d8012d17908007210120003f00ea25..."} 
[2026-09-17 10:24:53] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb6a3d8012d17908007210120003f00ea25..."} 
[2026-09-17 10:24:53] local.INFO: Packet analysis {"connection_id":185017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb6"} 
[2026-09-17 10:24:53] local.INFO: Extracted packet for processing {"connection_id":185017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb6"} 
[2026-09-17 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":756519040,"raw_latitude":119603488,"longitude_deg":75.651904,"latitude_deg":11.9603488,"altitude":63,"angle":234,"satellites":37,"speed":26,"hex_longitude":"2d179080","hex_latitude":"07210120","is_valid_coordinates":true} 
[2026-09-17 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142927872001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21163670394372096,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706019864463177728,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620823000,"timestamp_ms":1789620823000,"timestamp_seconds":1789620823,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb6a3d8"} 
[2026-09-17 10:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-17 10:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:24:53] 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-09-17 10:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142927872001,"66":14189,"107":206,"83":41984,"24":26,"16":21163670394372096,"45":1706019864463177728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142927872001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:24:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:24:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21163670394372096,"km_value":21163670394372.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706019864463177728,"description":"Unknown IO ID 45"} 
[2026-09-17 10:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142927872001,"power":14189,"unknown_107":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1706019864463177728}} 
[2026-09-17 10:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":185017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:24:53] local.INFO: GPS data processed {"connection_id":185017,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:24:53] local.INFO: Acknowledgment sent {"connection_id":185017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:24:53] local.INFO: TCP Data received {"connection_id":187747,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:24:53] local.INFO: Processing buffer {"connection_id":187747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:24:53] local.INFO: Packet analysis {"connection_id":187747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:24:53] local.INFO: Extracted packet for processing {"connection_id":187747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":187747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:24:54] local.INFO: GPS data processed {"connection_id":187747,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:24:54] local.INFO: Acknowledgment sent {"connection_id":187747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:25:16] local.INFO: TCP Data received {"connection_id":185144,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:25:16] local.INFO: Processing buffer {"connection_id":185144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:25:16] local.INFO: IMEI packet received {"connection_id":185144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":185144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:25:21] local.INFO: TCP Data received {"connection_id":185144,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:25:21] local.INFO: Processing buffer {"connection_id":185144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:25:21] local.INFO: IMEI packet received {"connection_id":185144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":185144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:25:22] local.INFO: TCP Data received {"connection_id":185144,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:25:22] local.INFO: Processing buffer {"connection_id":185144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:25:22] local.INFO: Packet analysis {"connection_id":185144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:25:22] local.INFO: Extracted packet for processing {"connection_id":185144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:25:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:25:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:25:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":185144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:25:22] local.INFO: GPS data processed {"connection_id":185144,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:25:22] local.INFO: Acknowledgment sent {"connection_id":185144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:25:24] local.INFO: TCP Data received {"connection_id":185017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb6c318012d1781000720f420003d00df25..."} 
[2026-09-17 10:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb6c318012d1781000720f420003d00df25..."} 
[2026-09-17 10:25:24] local.INFO: Processing buffer {"connection_id":185017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb6c318012d1781000720f420003d00df25..."} 
[2026-09-17 10:25:24] local.INFO: Packet analysis {"connection_id":185017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb6"} 
[2026-09-17 10:25:24] local.INFO: Extracted packet for processing {"connection_id":185017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb6"} 
[2026-09-17 10:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756515072,"raw_latitude":119600160,"longitude_deg":75.6515072,"latitude_deg":11.960016,"altitude":61,"angle":223,"satellites":37,"speed":32,"hex_longitude":"2d178100","hex_latitude":"0720f420","is_valid_coordinates":true} 
[2026-09-17 10:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142930688001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21163919502475264,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1697997827625525248,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620831000,"timestamp_ms":1789620831000,"timestamp_seconds":1789620831,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb6c318"} 
[2026-09-17 10:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-17 10:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142930688001,"66":14135,"107":206,"83":41984,"24":32,"16":21163919502475264,"45":1697997827625525248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142930688001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:25:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21163919502475264,"km_value":21163919502475.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1697997827625525248,"description":"Unknown IO ID 45"} 
[2026-09-17 10:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142930688001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1697997827625525248}} 
[2026-09-17 10:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":185017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:25:24] local.INFO: GPS data processed {"connection_id":185017,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:25:24] local.INFO: Acknowledgment sent {"connection_id":185017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:25:53] local.INFO: TCP Data received {"connection_id":185020,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:25:53] local.INFO: Processing buffer {"connection_id":185020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:25:53] local.INFO: IMEI packet received {"connection_id":185020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":185020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:25:54] local.INFO: TCP Data received {"connection_id":185144,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:25:54] local.INFO: Processing buffer {"connection_id":185144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:25:54] local.INFO: Packet analysis {"connection_id":185144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:25:54] local.INFO: Extracted packet for processing {"connection_id":185144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:25:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":185144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:25:54] local.INFO: GPS data processed {"connection_id":185144,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:25:54] local.INFO: Acknowledgment sent {"connection_id":185144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:25:57] local.INFO: TCP Data received {"connection_id":185020,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:25:57] local.INFO: Processing buffer {"connection_id":185020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:25:57] local.INFO: IMEI packet received {"connection_id":185020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":185020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:25:58] local.INFO: TCP Data received {"connection_id":185020,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb6e640012d1768400720d9a8003900df25..."} 
[2026-09-17 10:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb6e640012d1768400720d9a8003900df25..."} 
[2026-09-17 10:25:58] local.INFO: Processing buffer {"connection_id":185020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb6e640012d1768400720d9a8003900df25..."} 
[2026-09-17 10:25:58] local.INFO: Packet analysis {"connection_id":185020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb6"} 
[2026-09-17 10:25:58] local.INFO: Extracted packet for processing {"connection_id":185020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb6"} 
[2026-09-17 10:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756508736,"raw_latitude":119593384,"longitude_deg":75.6508736,"latitude_deg":11.9593384,"altitude":57,"angle":223,"satellites":37,"speed":45,"hex_longitude":"2d176840","hex_latitude":"0720d9a8","is_valid_coordinates":true} 
[2026-09-17 10:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142932736001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21164366179074048,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1693634965485658112,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789620840000,"timestamp_ms":1789620840000,"timestamp_seconds":1789620840,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb6e640"} 
[2026-09-17 10:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-17 10:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:25:58] 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-09-17 10:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142932736001,"66":14233,"107":206,"83":41984,"24":45,"16":21164366179074048,"45":1693634965485658112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142932736001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:25:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21164366179074048,"km_value":21164366179074.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1693634965485658112,"description":"Unknown IO ID 45"} 
[2026-09-17 10:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142932736001,"power":14233,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1693634965485658112}} 
[2026-09-17 10:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":185020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:25:58] local.INFO: GPS data processed {"connection_id":185020,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:25:58] local.INFO: Acknowledgment sent {"connection_id":185020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:25:59] local.INFO: TCP Data received {"connection_id":185020,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb70580012d174c400720bf90003300e525..."} 
[2026-09-17 10:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb70580012d174c400720bf90003300e525..."} 
[2026-09-17 10:25:59] local.INFO: Processing buffer {"connection_id":185020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb70580012d174c400720bf90003300e525..."} 
[2026-09-17 10:25:59] local.INFO: Packet analysis {"connection_id":185020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb7"} 
[2026-09-17 10:25:59] local.INFO: Extracted packet for processing {"connection_id":185020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb7"} 
[2026-09-17 10:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756501568,"raw_latitude":119586704,"longitude_deg":75.6501568,"latitude_deg":11.9586704,"altitude":51,"angle":229,"satellites":37,"speed":51,"hex_longitude":"2d174c40","hex_latitude":"0720bf90","is_valid_coordinates":true} 
[2026-09-17 10:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142935040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21164834330509312,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1686668459810334720,"note":"Value kept but may cause issues"} 
[2026-09-17 10:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789620848000,"timestamp_ms":1789620848000,"timestamp_seconds":1789620848,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb70580"} 
[2026-09-17 10:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:25:59] 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-09-17 10:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142935040001,"66":13917,"107":206,"83":41984,"24":51,"16":21164834330509312,"45":1686668459810334720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 10:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142935040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:25:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 10:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21164834330509312,"km_value":21164834330509.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1686668459810334720,"description":"Unknown IO ID 45"} 
[2026-09-17 10:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142935040001,"power":13917,"unknown_107":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1686668459810334720}} 
[2026-09-17 10:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":185020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:25:59] local.INFO: GPS data processed {"connection_id":185020,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:25:59] local.INFO: Acknowledgment sent {"connection_id":185020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:26:15] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:26:15] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:26:15] local.INFO: IMEI packet received {"connection_id":186435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":186435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:26:21] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:26:21] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:26:21] local.INFO: IMEI packet received {"connection_id":186435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":186435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:26:24] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:26:24] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:26:24] local.INFO: Packet analysis {"connection_id":186435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:26:24] local.INFO: Extracted packet for processing {"connection_id":186435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":186435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:26:24] local.INFO: GPS data processed {"connection_id":186435,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:26:24] local.INFO: Acknowledgment sent {"connection_id":186435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:26:30] local.INFO: TCP Data received {"connection_id":185020,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb720d8012d172f400720a890002f00e524..."} 
[2026-09-17 10:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb720d8012d172f400720a890002f00e524..."} 
[2026-09-17 10:26:30] local.INFO: Processing buffer {"connection_id":185020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb720d8012d172f400720a890002f00e524..."} 
[2026-09-17 10:26:30] local.INFO: Packet analysis {"connection_id":185020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb7"} 
[2026-09-17 10:26:30] local.INFO: Extracted packet for processing {"connection_id":185020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb7"} 
[2026-09-17 10:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756494144,"raw_latitude":119580816,"longitude_deg":75.6494144,"latitude_deg":11.9580816,"altitude":47,"angle":229,"satellites":36,"speed":53,"hex_longitude":"2d172f40","hex_latitude":"0720a890","is_valid_coordinates":true} 
[2026-09-17 10:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142937088001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21165289597042688,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1678787160460726272,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789620855000,"timestamp_ms":1789620855000,"timestamp_seconds":1789620855,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb720d8"} 
[2026-09-17 10:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-17 10:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:26:30] 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-09-17 10:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142937088001,"66":14157,"85":206,"83":41984,"24":53,"16":21165289597042688,"45":1678787160460726272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-17 10:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142937088001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-17 10:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21165289597042688,"km_value":21165289597042.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1678787160460726272,"description":"Unknown IO ID 45"} 
[2026-09-17 10:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142937088001,"power":14157,"unknown_85":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1678787160460726272}} 
[2026-09-17 10:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":185020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:26:30] local.INFO: GPS data processed {"connection_id":185020,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:26:30] local.INFO: Acknowledgment sent {"connection_id":185020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:26:48] local.INFO: TCP Data received {"connection_id":185145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:26:48] local.INFO: Processing buffer {"connection_id":185145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:26:48] local.INFO: IMEI packet received {"connection_id":185145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":185145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:26:51] local.INFO: TCP Data received {"connection_id":185145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:26:51] local.INFO: Processing buffer {"connection_id":185145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:26:51] local.INFO: IMEI packet received {"connection_id":185145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":185145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:26:51] local.INFO: TCP Data received {"connection_id":185145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb88450012d15ef40071fdce00022010725..."} 
[2026-09-17 10:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb88450012d15ef40071fdce00022010725..."} 
[2026-09-17 10:26:51] local.INFO: Processing buffer {"connection_id":185145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb88450012d15ef40071fdce00022010725..."} 
[2026-09-17 10:26:51] local.INFO: Packet analysis {"connection_id":185145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb8"} 
[2026-09-17 10:26:51] local.INFO: Extracted packet for processing {"connection_id":185145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb8"} 
[2026-09-17 10:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756412224,"raw_latitude":119528672,"longitude_deg":75.6412224,"latitude_deg":11.9528672,"altitude":34,"angle":263,"satellites":37,"speed":41,"hex_longitude":"2d15ef40","hex_latitude":"071fdce0","is_valid_coordinates":true} 
[2026-09-17 10:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142959616001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21170069895643136,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1591459548921614336,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789620946000,"timestamp_ms":1789620946000,"timestamp_seconds":1789620946,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb88450"} 
[2026-09-17 10:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 10:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142959616001,"66":14233,"12":206,"83":41984,"24":41,"16":21170069895643136,"45":1591459548921614336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-17 10:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142959616001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:26:51] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-17 10:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21170069895643136,"km_value":21170069895643.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1591459548921614336,"description":"Unknown IO ID 45"} 
[2026-09-17 10:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142959616001,"power":14233,"unknown_12":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1591459548921614336}} 
[2026-09-17 10:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":185145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:26:52] local.INFO: GPS data processed {"connection_id":185145,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:26:52] local.INFO: Acknowledgment sent {"connection_id":185145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:26:56] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:26:56] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:26:56] local.INFO: Packet analysis {"connection_id":186435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:26:56] local.INFO: Extracted packet for processing {"connection_id":186435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:26:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:26:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":186435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:26:56] local.INFO: GPS data processed {"connection_id":186435,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:26:56] local.INFO: Acknowledgment sent {"connection_id":186435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:27:21] local.INFO: TCP Data received {"connection_id":187750,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:27:21] local.INFO: Processing buffer {"connection_id":187750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:27:21] local.INFO: IMEI packet received {"connection_id":187750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":187750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:27:22] local.INFO: TCP Data received {"connection_id":185145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb8a778012d15cb80071fd730001f010225..."} 
[2026-09-17 10:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb8a778012d15cb80071fd730001f010225..."} 
[2026-09-17 10:27:22] local.INFO: Processing buffer {"connection_id":185145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb8a778012d15cb80071fd730001f010225..."} 
[2026-09-17 10:27:22] local.INFO: Packet analysis {"connection_id":185145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb8"} 
[2026-09-17 10:27:22] local.INFO: Extracted packet for processing {"connection_id":185145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb8"} 
[2026-09-17 10:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756403072,"raw_latitude":119527216,"longitude_deg":75.6403072,"latitude_deg":11.9527216,"altitude":31,"angle":258,"satellites":37,"speed":39,"hex_longitude":"2d15cb80","hex_latitude":"071fd730","is_valid_coordinates":true} 
[2026-09-17 10:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142962176001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21170507982307328,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1580552393573851136,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789620955000,"timestamp_ms":1789620955000,"timestamp_seconds":1789620955,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb8a778"} 
[2026-09-17 10:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:27:22] 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-09-17 10:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142962176001,"66":14189,"12":206,"83":41984,"24":39,"16":21170507982307328,"45":1580552393573851136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-17 10:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142962176001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:27:22] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-17 10:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21170507982307328,"km_value":21170507982307.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1580552393573851136,"description":"Unknown IO ID 45"} 
[2026-09-17 10:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142962176001,"power":14189,"unknown_12":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1580552393573851136}} 
[2026-09-17 10:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":185145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:27:22] local.INFO: GPS data processed {"connection_id":185145,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:27:22] local.INFO: Acknowledgment sent {"connection_id":185145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:27:26] local.INFO: TCP Data received {"connection_id":187750,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:27:26] local.INFO: Processing buffer {"connection_id":187750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:27:26] local.INFO: IMEI packet received {"connection_id":187750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":187750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:27:28] local.INFO: TCP Data received {"connection_id":187750,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:27:28] local.INFO: Processing buffer {"connection_id":187750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:27:28] local.INFO: Packet analysis {"connection_id":187750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:27:28] local.INFO: Extracted packet for processing {"connection_id":187750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:27:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:27:28] 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-09-17 10:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:27:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:27:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":187750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:27:28] local.INFO: GPS data processed {"connection_id":187750,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:27:28] local.INFO: Acknowledgment sent {"connection_id":187750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:27:31] local.INFO: TCP Data received {"connection_id":187750,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:27:31] local.INFO: Processing buffer {"connection_id":187750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb4fdf8012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:27:31] local.INFO: Packet analysis {"connection_id":187750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:27:31] local.INFO: Extracted packet for processing {"connection_id":187750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb4"} 
[2026-09-17 10:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142825984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789620715000,"timestamp_ms":1789620715000,"timestamp_seconds":1789620715,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb4fdf8"} 
[2026-09-17 10:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142825984001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142825984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142825984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":187750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:27:31] local.INFO: GPS data processed {"connection_id":187750,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:27:31] local.INFO: Acknowledgment sent {"connection_id":187750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:27:48] local.INFO: TCP Data received {"connection_id":185022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:27:48] local.INFO: Processing buffer {"connection_id":185022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:27:48] local.INFO: IMEI packet received {"connection_id":185022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":185022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:27:53] local.INFO: TCP Data received {"connection_id":185022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:27:53] local.INFO: Processing buffer {"connection_id":185022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:27:53] local.INFO: IMEI packet received {"connection_id":185022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":185022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:27:54] local.INFO: TCP Data received {"connection_id":185022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb8caa0012d15a800071fcec80020010025..."} 
[2026-09-17 10:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb8caa0012d15a800071fcec80020010025..."} 
[2026-09-17 10:27:54] local.INFO: Processing buffer {"connection_id":185022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb8caa0012d15a800071fcec80020010025..."} 
[2026-09-17 10:27:54] local.INFO: Packet analysis {"connection_id":185022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb8"} 
[2026-09-17 10:27:54] local.INFO: Extracted packet for processing {"connection_id":185022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb8"} 
[2026-09-17 10:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756393984,"raw_latitude":119525064,"longitude_deg":75.6393984,"latitude_deg":11.9525064,"altitude":32,"angle":256,"satellites":37,"speed":41,"hex_longitude":"2d15a800","hex_latitude":"071fcec8","is_valid_coordinates":true} 
[2026-09-17 10:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142964480001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21170950363938816,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1570489663156072448,"note":"Value kept but may cause issues"} 
[2026-09-17 10:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789620964000,"timestamp_ms":1789620964000,"timestamp_seconds":1789620964,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb8caa0"} 
[2026-09-17 10:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-17 10:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142964480001,"66":14233,"12":206,"83":41984,"24":41,"16":21170950363938816,"45":1570489663156072448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-17 10:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142964480001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:27:54] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-17 10:27:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21170950363938816,"km_value":21170950363938.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1570489663156072448,"description":"Unknown IO ID 45"} 
[2026-09-17 10:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142964480001,"power":14233,"unknown_12":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1570489663156072448}} 
[2026-09-17 10:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":185022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:27:54] local.INFO: GPS data processed {"connection_id":185022,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:27:54] local.INFO: Acknowledgment sent {"connection_id":185022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:28:10] local.INFO: TCP Data received {"connection_id":185146,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:28:10] local.INFO: Processing buffer {"connection_id":185146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:28:10] local.INFO: IMEI packet received {"connection_id":185146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":185146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:28:14] local.INFO: TCP Data received {"connection_id":187751,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:28:14] local.INFO: Processing buffer {"connection_id":187751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:28:14] local.INFO: IMEI packet received {"connection_id":187751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":187751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:28:15] local.INFO: TCP Data received {"connection_id":187751,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adba9f60012d09d6c007024ae8001101632a..."} 
[2026-09-17 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adba9f60012d09d6c007024ae8001101632a..."} 
[2026-09-17 10:28:15] local.INFO: Processing buffer {"connection_id":187751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adba9f60012d09d6c007024ae8001101632a..."} 
[2026-09-17 10:28:15] local.INFO: Packet analysis {"connection_id":187751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adba"} 
[2026-09-17 10:28:15] local.INFO: Extracted packet for processing {"connection_id":187751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adba"} 
[2026-09-17 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":755619520,"raw_latitude":117590760,"longitude_deg":75.561952,"latitude_deg":11.759076,"altitude":17,"angle":355,"satellites":42,"speed":31,"hex_longitude":"2d09d6c0","hex_latitude":"07024ae8","is_valid_coordinates":true} 
[2026-09-17 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142997248001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32657419490295808,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708965127692974080,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789621084000,"timestamp_ms":1789621084000,"timestamp_seconds":1789621084,"priority":1,"record_length":96,"hex_timestamp":"000001a0adba9f60"} 
[2026-09-17 10:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 10:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142997248001,"66":14537,"19":206,"94":11008,"24":31,"16":32657419490295808,"45":708965127692974080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-17 10:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142997248001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:28:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-17 10:28:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32657419490295808,"km_value":32657419490295.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":708965127692974080,"description":"Unknown IO ID 45"} 
[2026-09-17 10:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142997248001,"power":14537,"unknown_19":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":708965127692974080}} 
[2026-09-17 10:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":187751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854664,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:28:15] local.INFO: GPS data processed {"connection_id":187751,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:28:15] local.INFO: Acknowledgment sent {"connection_id":187751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:28:16] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:28:16] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:28:16] local.INFO: IMEI packet received {"connection_id":186436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":186436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:28:21] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:28:21] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:28:21] local.INFO: IMEI packet received {"connection_id":186436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":186436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:28:22] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:28:22] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:28:22] local.INFO: Packet analysis {"connection_id":186436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:28:22] local.INFO: Extracted packet for processing {"connection_id":186436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:28:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:28:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:28:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":186436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:28:22] local.INFO: GPS data processed {"connection_id":186436,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:28:22] local.INFO: Acknowledgment sent {"connection_id":186436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:28:24] local.INFO: TCP Data received {"connection_id":185022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adba1e78012d146880071f4eb0002700ee24..."} 
[2026-09-17 10:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adba1e78012d146880071f4eb0002700ee24..."} 
[2026-09-17 10:28:24] local.INFO: Processing buffer {"connection_id":185022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adba1e78012d146880071f4eb0002700ee24..."} 
[2026-09-17 10:28:24] local.INFO: Packet analysis {"connection_id":185022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adba"} 
[2026-09-17 10:28:24] local.INFO: Extracted packet for processing {"connection_id":185022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adba"} 
[2026-09-17 10:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756312192,"raw_latitude":119492272,"longitude_deg":75.6312192,"latitude_deg":11.9492272,"altitude":39,"angle":238,"satellites":36,"speed":44,"hex_longitude":"2d146880","hex_latitude":"071f4eb0","is_valid_coordinates":true} 
[2026-09-17 10:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142987008001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21175275396005888,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1479643614415179776,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789621051000,"timestamp_ms":1789621051000,"timestamp_seconds":1789621051,"priority":1,"record_length":96,"hex_timestamp":"000001a0adba1e78"} 
[2026-09-17 10:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-17 10:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142987008001,"66":14135,"11":206,"83":41984,"24":44,"16":21175275396005888,"45":1479643614415179776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 10:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142987008001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:28:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 10:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21175275396005888,"km_value":21175275396005.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1479643614415179776,"description":"Unknown IO ID 45"} 
[2026-09-17 10:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142987008001,"power":14135,"unknown_11":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1479643614415179776}} 
[2026-09-17 10:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":185022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:28:25] local.INFO: GPS data processed {"connection_id":185022,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:28:25] local.INFO: Acknowledgment sent {"connection_id":185022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:28:50] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:28:50] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:28:50] local.INFO: IMEI packet received {"connection_id":186437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":186437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:28:56] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:28:56] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:28:56] local.INFO: Packet analysis {"connection_id":186436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:28:56] local.INFO: Extracted packet for processing {"connection_id":186436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:28:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:28:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":186436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:28:56] local.INFO: GPS data processed {"connection_id":186436,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:28:56] local.INFO: Acknowledgment sent {"connection_id":186436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:28:57] local.INFO: TCP Data received {"connection_id":187752,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187752,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:28:57] local.INFO: Processing buffer {"connection_id":187752,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:28:57] local.INFO: IMEI packet received {"connection_id":187752,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":187752,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:29:02] local.INFO: TCP Data received {"connection_id":187752,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187752,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:29:02] local.INFO: Processing buffer {"connection_id":187752,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:29:02] local.INFO: IMEI packet received {"connection_id":187752,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":187752,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:29:03] local.INFO: TCP Data received {"connection_id":187752,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbab2e8012d09d6c0070258c80011014d2a..."} 
[2026-09-17 10:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbab2e8012d09d6c0070258c80011014d2a..."} 
[2026-09-17 10:29:03] local.INFO: Processing buffer {"connection_id":187752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbab2e8012d09d6c0070258c80011014d2a..."} 
[2026-09-17 10:29:03] local.INFO: Packet analysis {"connection_id":187752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adba"} 
[2026-09-17 10:29:03] local.INFO: Extracted packet for processing {"connection_id":187752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adba"} 
[2026-09-17 10:29:03] local.INFO: GPS Element Parsed {"raw_longitude":755619520,"raw_latitude":117594312,"longitude_deg":75.561952,"latitude_deg":11.7594312,"altitude":17,"angle":333,"satellites":42,"speed":17,"hex_longitude":"2d09d6c0","hex_latitude":"070258c8","is_valid_coordinates":true} 
[2026-09-17 10:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142997504001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32657595583954944,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708965127693199360,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789621089000,"timestamp_ms":1789621089000,"timestamp_seconds":1789621089,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbab2e8"} 
[2026-09-17 10:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 10:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187752,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187752,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142997504001,"66":14537,"19":206,"94":11008,"24":17,"16":32657595583954944,"45":708965127693199360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-17 10:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142997504001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:29:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-17 10:29:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32657595583954944,"km_value":32657595583954.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":708965127693199360,"description":"Unknown IO ID 45"} 
[2026-09-17 10:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142997504001,"power":14537,"unknown_19":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":708965127693199360}} 
[2026-09-17 10:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":187752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854668,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:29:03] local.INFO: GPS data processed {"connection_id":187752,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:29:03] local.INFO: Acknowledgment sent {"connection_id":187752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:29:16] local.INFO: TCP Data received {"connection_id":187753,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:29:16] local.INFO: Processing buffer {"connection_id":187753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:29:16] local.INFO: IMEI packet received {"connection_id":187753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":187753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:29:18] local.INFO: TCP Data received {"connection_id":186438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:18] local.INFO: Processing buffer {"connection_id":186438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:18] local.INFO: IMEI packet received {"connection_id":186438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":186438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:29:19] local.INFO: TCP Data received {"connection_id":186438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:19] local.INFO: Processing buffer {"connection_id":186438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:19] local.INFO: IMEI packet received {"connection_id":186438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":186438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:29:21] local.INFO: TCP Data received {"connection_id":187753,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:29:21] local.INFO: Processing buffer {"connection_id":187753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:29:21] local.INFO: IMEI packet received {"connection_id":187753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":187753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:29:22] local.INFO: TCP Data received {"connection_id":187753,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:29:22] local.INFO: Processing buffer {"connection_id":187753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:29:22] local.INFO: Packet analysis {"connection_id":187753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:29:22] local.INFO: Extracted packet for processing {"connection_id":187753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:29:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:29:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:29:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":187753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:29:22] local.INFO: GPS data processed {"connection_id":187753,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:29:22] local.INFO: Acknowledgment sent {"connection_id":187753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:29:23] local.INFO: TCP Data received {"connection_id":186438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:23] local.INFO: Processing buffer {"connection_id":186438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:23] local.INFO: IMEI packet received {"connection_id":186438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":186438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:29:25] local.INFO: TCP Data received {"connection_id":186438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adba2a30012d145c40071f4928002500f924..."} 
[2026-09-17 10:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adba2a30012d145c40071f4928002500f924..."} 
[2026-09-17 10:29:25] local.INFO: Processing buffer {"connection_id":186438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adba2a30012d145c40071f4928002500f924..."} 
[2026-09-17 10:29:25] local.INFO: Packet analysis {"connection_id":186438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adba"} 
[2026-09-17 10:29:25] local.INFO: Extracted packet for processing {"connection_id":186438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adba"} 
[2026-09-17 10:29:25] local.INFO: GPS Element Parsed {"raw_longitude":756309056,"raw_latitude":119490856,"longitude_deg":75.6309056,"latitude_deg":11.9490856,"altitude":37,"angle":249,"satellites":36,"speed":44,"hex_longitude":"2d145c40","hex_latitude":"071f4928","is_valid_coordinates":true} 
[2026-09-17 10:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142989056001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21175438604763136,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1470566046414843904,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789621054000,"timestamp_ms":1789621054000,"timestamp_seconds":1789621054,"priority":1,"record_length":96,"hex_timestamp":"000001a0adba2a30"} 
[2026-09-17 10:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-17 10:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:29:25] 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-09-17 10:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142989056001,"66":14233,"11":206,"83":41984,"24":44,"16":21175438604763136,"45":1470566046414843904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 10:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142989056001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:29:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 10:29:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21175438604763136,"km_value":21175438604763.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1470566046414843904,"description":"Unknown IO ID 45"} 
[2026-09-17 10:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142989056001,"power":14233,"unknown_11":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1470566046414843904}} 
[2026-09-17 10:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":186438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:29:26] local.INFO: GPS data processed {"connection_id":186438,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:29:26] local.INFO: Acknowledgment sent {"connection_id":186438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:29:34] local.INFO: TCP Data received {"connection_id":187752,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbbd010012d091700070263c80013001229..."} 
[2026-09-17 10:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbbd010012d091700070263c80013001229..."} 
[2026-09-17 10:29:34] local.INFO: Processing buffer {"connection_id":187752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbbd010012d091700070263c80013001229..."} 
[2026-09-17 10:29:34] local.INFO: Packet analysis {"connection_id":187752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:29:34] local.INFO: Extracted packet for processing {"connection_id":187752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:29:34] local.INFO: GPS Element Parsed {"raw_longitude":755570432,"raw_latitude":117597128,"longitude_deg":75.5570432,"latitude_deg":11.7597128,"altitude":19,"angle":18,"satellites":41,"speed":29,"hex_longitude":"2d091700","hex_latitude":"070263c8","is_valid_coordinates":true} 
[2026-09-17 10:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143016960001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32660159679430656,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":654288613468434432,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789621162000,"timestamp_ms":1789621162000,"timestamp_seconds":1789621162,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbbd010"} 
[2026-09-17 10:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187752,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187752,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143016960001,"66":14537,"230":206,"94":11008,"24":29,"16":32660159679430656,"45":654288613468434432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-17 10:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143016960001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:29:34] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-17 10:29:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32660159679430656,"km_value":32660159679430.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":654288613468434432,"description":"Unknown IO ID 45"} 
[2026-09-17 10:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143016960001,"power":14537,"unknown_230":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":654288613468434432}} 
[2026-09-17 10:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":187752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:29:34] local.INFO: GPS data processed {"connection_id":187752,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:29:34] local.INFO: Acknowledgment sent {"connection_id":187752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:29:49] local.INFO: TCP Data received {"connection_id":187754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:49] local.INFO: Processing buffer {"connection_id":187754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:49] local.INFO: IMEI packet received {"connection_id":187754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":187754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:29:53] local.INFO: TCP Data received {"connection_id":187754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:53] local.INFO: Processing buffer {"connection_id":187754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:53] local.INFO: IMEI packet received {"connection_id":187754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":187754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:29:54] local.INFO: TCP Data received {"connection_id":187753,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:29:54] local.INFO: Processing buffer {"connection_id":187753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:29:54] local.INFO: Packet analysis {"connection_id":187753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:29:54] local.INFO: Extracted packet for processing {"connection_id":187753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":187753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:29:54] local.INFO: GPS data processed {"connection_id":187753,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:29:54] local.INFO: Acknowledgment sent {"connection_id":187753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:29:56] local.INFO: TCP Data received {"connection_id":187754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:56] local.INFO: Processing buffer {"connection_id":187754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:29:56] local.INFO: IMEI packet received {"connection_id":187754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":187754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:29:56] local.INFO: TCP Data received {"connection_id":187754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbb6a80012d130140071f1030002a012123..."} 
[2026-09-17 10:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbb6a80012d130140071f1030002a012123..."} 
[2026-09-17 10:29:57] local.INFO: Processing buffer {"connection_id":187754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbb6a80012d130140071f1030002a012123..."} 
[2026-09-17 10:29:57] local.INFO: Packet analysis {"connection_id":187754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:29:57] local.INFO: Extracted packet for processing {"connection_id":187754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756220224,"raw_latitude":119476272,"longitude_deg":75.6220224,"latitude_deg":11.9476272,"altitude":42,"angle":289,"satellites":35,"speed":46,"hex_longitude":"2d130140","hex_latitude":"071f1030","is_valid_coordinates":true} 
[2026-09-17 10:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143008768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21179892485849088,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1379649628932468736,"note":"Value kept but may cause issues"} 
[2026-09-17 10:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789621136000,"timestamp_ms":1789621136000,"timestamp_seconds":1789621136,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbb6a80"} 
[2026-09-17 10:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143008768001,"66":14233,"75":206,"83":41984,"24":46,"16":21179892485849088,"45":1379649628932468736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-09-17 10:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143008768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:29:57] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-17 10:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21179892485849088,"km_value":21179892485849.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1379649628932468736,"description":"Unknown IO ID 45"} 
[2026-09-17 10:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143008768001,"power":14233,"unknown_75":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1379649628932468736}} 
[2026-09-17 10:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":187754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:29:57] local.INFO: GPS data processed {"connection_id":187754,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:29:57] local.INFO: Acknowledgment sent {"connection_id":187754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:29:57] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:29:57] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:29:57] local.INFO: IMEI packet received {"connection_id":185023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":185023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:30:02] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:30:02] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:30:02] local.INFO: IMEI packet received {"connection_id":185023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":185023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:30:03] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbbeb68012d091ec0070278b00012000429..."} 
[2026-09-17 10:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbbeb68012d091ec0070278b00012000429..."} 
[2026-09-17 10:30:03] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbbeb68012d091ec0070278b00012000429..."} 
[2026-09-17 10:30:03] local.INFO: Packet analysis {"connection_id":185023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:30:03] local.INFO: Extracted packet for processing {"connection_id":185023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":755572416,"raw_latitude":117602480,"longitude_deg":75.5572416,"latitude_deg":11.760248,"altitude":18,"angle":4,"satellites":41,"speed":19,"hex_longitude":"2d091ec0","hex_latitude":"070278b0","is_valid_coordinates":true} 
[2026-09-17 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143017472001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32660434557337600,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":654992300910561280,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789621169000,"timestamp_ms":1789621169000,"timestamp_seconds":1789621169,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbbeb68"} 
[2026-09-17 10:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 10:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143017472001,"66":14515,"230":206,"94":11008,"24":19,"16":32660434557337600,"45":654992300910561280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-17 10:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143017472001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:30:03] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-17 10:30:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32660434557337600,"km_value":32660434557337.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":654992300910561280,"description":"Unknown IO ID 45"} 
[2026-09-17 10:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143017472001,"power":14515,"unknown_230":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":654992300910561280}} 
[2026-09-17 10:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":185023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:30:03] local.INFO: GPS data processed {"connection_id":185023,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:30:03] local.INFO: Acknowledgment sent {"connection_id":185023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:30:15] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:30:15] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:30:15] local.INFO: IMEI packet received {"connection_id":186439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":186439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:30:21] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:30:21] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:30:21] local.INFO: IMEI packet received {"connection_id":186439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":186439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:30:22] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:30:22] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:30:22] local.INFO: Packet analysis {"connection_id":186439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:30:22] local.INFO: Extracted packet for processing {"connection_id":186439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:30:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:30:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":186439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:30:22] local.INFO: GPS data processed {"connection_id":186439,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:30:22] local.INFO: Acknowledgment sent {"connection_id":186439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:30:27] local.INFO: TCP Data received {"connection_id":187754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbb89c0012d12dec0071f1e00002a012225..."} 
[2026-09-17 10:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbb89c0012d12dec0071f1e00002a012225..."} 
[2026-09-17 10:30:27] local.INFO: Processing buffer {"connection_id":187754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbb89c0012d12dec0071f1e00002a012225..."} 
[2026-09-17 10:30:27] local.INFO: Packet analysis {"connection_id":187754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:30:27] local.INFO: Extracted packet for processing {"connection_id":187754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756211392,"raw_latitude":119479808,"longitude_deg":75.6211392,"latitude_deg":11.9479808,"altitude":42,"angle":290,"satellites":37,"speed":47,"hex_longitude":"2d12dec0","hex_latitude":"071f1e00","is_valid_coordinates":true} 
[2026-09-17 10:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143010816001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21180343457415168,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1369446161027444736,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789621144000,"timestamp_ms":1789621144000,"timestamp_seconds":1789621144,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbb89c0"} 
[2026-09-17 10:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:30:27] 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-09-17 10:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143010816001,"66":14233,"31":206,"83":41984,"24":47,"16":21180343457415168,"45":1369446161027444736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-17 10:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143010816001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:30:27] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 10:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21180343457415168,"km_value":21180343457415.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1369446161027444736,"description":"Unknown IO ID 45"} 
[2026-09-17 10:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143010816001,"power":14233,"unknown_31":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1369446161027444736}} 
[2026-09-17 10:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":187754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:30:27] local.INFO: GPS data processed {"connection_id":187754,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:30:27] local.INFO: Acknowledgment sent {"connection_id":187754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:30:34] local.INFO: TCP Data received {"connection_id":185023,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbbf338012d091f0007027c500012016029..."} 
[2026-09-17 10:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbbf338012d091f0007027c500012016029..."} 
[2026-09-17 10:30:34] local.INFO: Processing buffer {"connection_id":185023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbbf338012d091f0007027c500012016029..."} 
[2026-09-17 10:30:34] local.INFO: Packet analysis {"connection_id":185023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:30:34] local.INFO: Extracted packet for processing {"connection_id":185023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":755572480,"raw_latitude":117603408,"longitude_deg":75.557248,"latitude_deg":11.7603408,"altitude":18,"angle":352,"satellites":41,"speed":16,"hex_longitude":"2d091f00","hex_latitude":"07027c50","is_valid_coordinates":true} 
[2026-09-17 10:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143019264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32660477507010560,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":657173731981438976,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789621171000,"timestamp_ms":1789621171000,"timestamp_seconds":1789621171,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbbf338"} 
[2026-09-17 10:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 10:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143019264001,"66":14428,"230":206,"94":11008,"24":16,"16":32660477507010560,"45":657173731981438976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-17 10:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143019264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:30:34] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-17 10:30:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32660477507010560,"km_value":32660477507010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":657173731981438976,"description":"Unknown IO ID 45"} 
[2026-09-17 10:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143019264001,"power":14428,"unknown_230":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":657173731981438976}} 
[2026-09-17 10:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":185023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:30:34] local.INFO: GPS data processed {"connection_id":185023,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:30:34] local.INFO: Acknowledgment sent {"connection_id":185023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:30:47] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:30:47] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:30:47] local.INFO: IMEI packet received {"connection_id":185147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":185147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:30:48] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:30:48] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:30:48] local.INFO: IMEI packet received {"connection_id":185147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":185147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:30:53] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:30:53] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:30:53] local.INFO: IMEI packet received {"connection_id":185147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":185147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:30:54] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:30:54] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:30:54] local.INFO: Packet analysis {"connection_id":186439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:30:54] local.INFO: Extracted packet for processing {"connection_id":186439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:30:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:30:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:30:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":186439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:30:54] local.INFO: GPS data processed {"connection_id":186439,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:30:54] local.INFO: Acknowledgment sent {"connection_id":186439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:30:54] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbba518012d12bec0071f2518002c011426..."} 
[2026-09-17 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbba518012d12bec0071f2518002c011426..."} 
[2026-09-17 10:30:54] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbba518012d12bec0071f2518002c011426..."} 
[2026-09-17 10:30:54] local.INFO: Packet analysis {"connection_id":185147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:30:54] local.INFO: Extracted packet for processing {"connection_id":185147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbb"} 
[2026-09-17 10:30:54] local.INFO: GPS Element Parsed {"raw_longitude":756203200,"raw_latitude":119481624,"longitude_deg":75.62032,"latitude_deg":11.9481624,"altitude":44,"angle":276,"satellites":38,"speed":44,"hex_longitude":"2d12bec0","hex_latitude":"071f2518","is_valid_coordinates":true} 
[2026-09-17 10:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143012864001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21180742889373696,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1359735274331832320,"note":"Value kept but may cause issues"} 
[2026-09-17 10:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621151000,"timestamp_ms":1789621151000,"timestamp_seconds":1789621151,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbba518"} 
[2026-09-17 10:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143012864001,"66":13906,"31":206,"83":41984,"24":44,"16":21180742889373696,"45":1359735274331832320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-17 10:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143012864001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:30:54] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 10:30:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21180742889373696,"km_value":21180742889373.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1359735274331832320,"description":"Unknown IO ID 45"} 
[2026-09-17 10:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143012864001,"power":13906,"unknown_31":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1359735274331832320}} 
[2026-09-17 10:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":185147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:30:54] local.INFO: GPS data processed {"connection_id":185147,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:30:54] local.INFO: Acknowledgment sent {"connection_id":185147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:30:57] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:30:57] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:30:57] local.INFO: IMEI packet received {"connection_id":186440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":186440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:31:02] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:31:02] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:31:02] local.INFO: IMEI packet received {"connection_id":186440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":186440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:31:03] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbcd9b0012d08a8800702a5900014010d2a..."} 
[2026-09-17 10:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbcd9b0012d08a8800702a5900014010d2a..."} 
[2026-09-17 10:31:03] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbcd9b0012d08a8800702a5900014010d2a..."} 
[2026-09-17 10:31:03] local.INFO: Packet analysis {"connection_id":186440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbc"} 
[2026-09-17 10:31:03] local.INFO: Extracted packet for processing {"connection_id":186440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbc"} 
[2026-09-17 10:31:03] local.INFO: GPS Element Parsed {"raw_longitude":755542144,"raw_latitude":117613968,"longitude_deg":75.5542144,"latitude_deg":11.7613968,"altitude":20,"angle":269,"satellites":42,"speed":41,"hex_longitude":"2d08a880","hex_latitude":"0702a590","is_valid_coordinates":true} 
[2026-09-17 10:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143032320001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32662289983209472,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":634514996359168000,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789621230000,"timestamp_ms":1789621230000,"timestamp_seconds":1789621230,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbcd9b0"} 
[2026-09-17 10:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 10:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143032320001,"66":14439,"230":206,"94":11008,"24":41,"16":32662289983209472,"45":634514996359168000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-17 10:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143032320001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:31:03] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-17 10:31:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32662289983209472,"km_value":32662289983209.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":634514996359168000,"description":"Unknown IO ID 45"} 
[2026-09-17 10:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143032320001,"power":14439,"unknown_230":206,"unknown_94":11008,"ignition":41,"odometer":null,"unknown_45":634514996359168000}} 
[2026-09-17 10:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":186440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:31:03] local.INFO: GPS data processed {"connection_id":186440,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:31:03] local.INFO: Acknowledgment sent {"connection_id":186440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:31:15] local.INFO: TCP Data received {"connection_id":185024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:31:15] local.INFO: Processing buffer {"connection_id":185024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:31:15] local.INFO: IMEI packet received {"connection_id":185024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":185024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:31:21] local.INFO: TCP Data received {"connection_id":185024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:31:21] local.INFO: Processing buffer {"connection_id":185024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:31:21] local.INFO: IMEI packet received {"connection_id":185024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":185024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:31:22] local.INFO: TCP Data received {"connection_id":185024,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:31:22] local.INFO: Processing buffer {"connection_id":185024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:31:22] local.INFO: Packet analysis {"connection_id":185024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:31:22] local.INFO: Extracted packet for processing {"connection_id":185024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":185024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:31:22] local.INFO: GPS data processed {"connection_id":185024,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:31:22] local.INFO: Acknowledgment sent {"connection_id":185024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:31:25] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbcd5c8012d118ac0071f4a580038010623..."} 
[2026-09-17 10:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbcd5c8012d118ac0071f4a580038010623..."} 
[2026-09-17 10:31:25] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbcd5c8012d118ac0071f4a580038010623..."} 
[2026-09-17 10:31:25] local.INFO: Packet analysis {"connection_id":185147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbc"} 
[2026-09-17 10:31:25] local.INFO: Extracted packet for processing {"connection_id":185147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbc"} 
[2026-09-17 10:31:25] local.INFO: GPS Element Parsed {"raw_longitude":756124352,"raw_latitude":119491160,"longitude_deg":75.6124352,"latitude_deg":11.949116,"altitude":56,"angle":262,"satellites":35,"speed":44,"hex_longitude":"2d118ac0","hex_latitude":"071f4a58","is_valid_coordinates":true} 
[2026-09-17 10:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143032832001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21184608359940096,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1272055819089459200,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789621229000,"timestamp_ms":1789621229000,"timestamp_seconds":1789621229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbcd5c8"} 
[2026-09-17 10:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 10:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:31:25] 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-09-17 10:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143032832001,"66":14157,"32":206,"83":41984,"24":44,"16":21184608359940096,"45":1272055819089459200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-17 10:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143032832001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:31:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 10:31:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21184608359940096,"km_value":21184608359940.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1272055819089459200,"description":"Unknown IO ID 45"} 
[2026-09-17 10:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143032832001,"power":14157,"unknown_32":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1272055819089459200}} 
[2026-09-17 10:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":185147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:31:25] local.INFO: GPS data processed {"connection_id":185147,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:31:25] local.INFO: Acknowledgment sent {"connection_id":185147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:31:34] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbd04a8012d0884400702a6380016011029..."} 
[2026-09-17 10:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbd04a8012d0884400702a6380016011029..."} 
[2026-09-17 10:31:34] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbd04a8012d0884400702a6380016011029..."} 
[2026-09-17 10:31:34] local.INFO: Packet analysis {"connection_id":186440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:31:34] local.INFO: Extracted packet for processing {"connection_id":186440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:31:34] local.INFO: GPS Element Parsed {"raw_longitude":755532864,"raw_latitude":117614136,"longitude_deg":75.5532864,"latitude_deg":11.7614136,"altitude":22,"angle":272,"satellites":41,"speed":32,"hex_longitude":"2d088440","hex_latitude":"0702a638","is_valid_coordinates":true} 
[2026-09-17 10:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143034880001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32662732364840960,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":623889315988344832,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789621241000,"timestamp_ms":1789621241000,"timestamp_seconds":1789621241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbd04a8"} 
[2026-09-17 10:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 10:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143034880001,"66":14450,"13":206,"94":11008,"24":32,"16":32662732364840960,"45":623889315988344832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-09-17 10:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143034880001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:31:34] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-17 10:31:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32662732364840960,"km_value":32662732364840.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":623889315988344832,"description":"Unknown IO ID 45"} 
[2026-09-17 10:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143034880001,"power":14450,"unknown_13":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":623889315988344832}} 
[2026-09-17 10:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":186440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854683,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:31:34] local.INFO: GPS data processed {"connection_id":186440,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:31:34] local.INFO: Acknowledgment sent {"connection_id":186440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:31:45] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:31:45] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:31:45] local.INFO: IMEI packet received {"connection_id":187756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":187756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:31:49] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:31:49] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:31:49] local.INFO: IMEI packet received {"connection_id":187756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":187756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:31:54] local.INFO: TCP Data received {"connection_id":185024,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:31:54] local.INFO: Processing buffer {"connection_id":185024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:31:54] local.INFO: Packet analysis {"connection_id":185024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:31:54] local.INFO: Extracted packet for processing {"connection_id":185024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:31:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":185024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:31:54] local.INFO: GPS data processed {"connection_id":185024,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:31:54] local.INFO: Acknowledgment sent {"connection_id":185024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:31:58] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:31:58] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:31:58] local.INFO: IMEI packet received {"connection_id":187756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":187756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:31:58] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbcf508012d116440071f4178003500fb24..."} 
[2026-09-17 10:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbcf508012d116440071f4178003500fb24..."} 
[2026-09-17 10:31:58] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbcf508012d116440071f4178003500fb24..."} 
[2026-09-17 10:31:58] local.INFO: Packet analysis {"connection_id":187756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbc"} 
[2026-09-17 10:31:58] local.INFO: Extracted packet for processing {"connection_id":187756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbc"} 
[2026-09-17 10:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756114496,"raw_latitude":119488888,"longitude_deg":75.6114496,"latitude_deg":11.9488888,"altitude":53,"angle":251,"satellites":36,"speed":52,"hex_longitude":"2d116440","hex_latitude":"071f4178","is_valid_coordinates":true} 
[2026-09-17 10:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143034624001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21185089396277248,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264033782253115392,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789621237000,"timestamp_ms":1789621237000,"timestamp_seconds":1789621237,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbcf508"} 
[2026-09-17 10:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-17 10:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:31:58] 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-09-17 10:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143034624001,"66":14211,"32":206,"83":41984,"24":52,"16":21185089396277248,"45":1264033782253115392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-17 10:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143034624001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:31:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 10:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21185089396277248,"km_value":21185089396277.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264033782253115392,"description":"Unknown IO ID 45"} 
[2026-09-17 10:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143034624001,"power":14211,"unknown_32":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1264033782253115392}} 
[2026-09-17 10:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":187756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:31:59] local.INFO: GPS data processed {"connection_id":187756,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:31:59] local.INFO: Acknowledgment sent {"connection_id":187756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:31:59] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbd1060012d114200071f3610003600fa24..."} 
[2026-09-17 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbd1060012d114200071f3610003600fa24..."} 
[2026-09-17 10:31:59] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbd1060012d114200071f3610003600fa24..."} 
[2026-09-17 10:31:59] local.INFO: Packet analysis {"connection_id":187756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:31:59] local.INFO: Extracted packet for processing {"connection_id":187756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756105728,"raw_latitude":119485968,"longitude_deg":75.6105728,"latitude_deg":11.9485968,"altitude":54,"angle":250,"satellites":36,"speed":50,"hex_longitude":"2d114200","hex_latitude":"071f3610","is_valid_coordinates":true} 
[2026-09-17 10:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143036672001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21185527482941440,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1253196995649173504,"note":"Value kept but may cause issues"} 
[2026-09-17 10:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789621244000,"timestamp_ms":1789621244000,"timestamp_seconds":1789621244,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbd1060"} 
[2026-09-17 10:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 10:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:31:59] 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-09-17 10:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143036672001,"66":14233,"32":206,"83":41984,"24":50,"16":21185527482941440,"45":1253196995649173504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-17 10:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143036672001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:31:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 10:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21185527482941440,"km_value":21185527482941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1253196995649173504,"description":"Unknown IO ID 45"} 
[2026-09-17 10:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143036672001,"power":14233,"unknown_32":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1253196995649173504}} 
[2026-09-17 10:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":187756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:31:59] local.INFO: GPS data processed {"connection_id":187756,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:31:59] local.INFO: Acknowledgment sent {"connection_id":187756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:32:02] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:02] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:02] local.INFO: IMEI packet received {"connection_id":186441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":186441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:32:02] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:02] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:02] local.INFO: IMEI packet received {"connection_id":186441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":186441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:32:04] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:04] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:04] local.INFO: IMEI packet received {"connection_id":186441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":186441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:32:05] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbd2fa0012d0860c00702a8700013011229..."} 
[2026-09-17 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbd2fa0012d0860c00702a8700013011229..."} 
[2026-09-17 10:32:05] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbd2fa0012d0860c00702a8700013011229..."} 
[2026-09-17 10:32:05] local.INFO: Packet analysis {"connection_id":186441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:32:05] local.INFO: Extracted packet for processing {"connection_id":186441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":755523776,"raw_latitude":117614704,"longitude_deg":75.5523776,"latitude_deg":11.7614704,"altitude":19,"angle":274,"satellites":41,"speed":26,"hex_longitude":"2d0860c0","hex_latitude":"0702a870","is_valid_coordinates":true} 
[2026-09-17 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143037696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32663161861570560,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":613685848082626560,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789621252000,"timestamp_ms":1789621252000,"timestamp_seconds":1789621252,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbd2fa0"} 
[2026-09-17 10:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143037696001,"66":14396,"13":206,"94":11008,"24":26,"16":32663161861570560,"45":613685848082626560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-09-17 10:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143037696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:32:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-17 10:32:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32663161861570560,"km_value":32663161861570.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":613685848082626560,"description":"Unknown IO ID 45"} 
[2026-09-17 10:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143037696001,"power":14396,"unknown_13":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":613685848082626560}} 
[2026-09-17 10:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":186441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854687,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:32:05] local.INFO: GPS data processed {"connection_id":186441,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:32:05] local.INFO: Acknowledgment sent {"connection_id":186441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:32:08] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbd56b0012d0845c00702ac680011011d29..."} 
[2026-09-17 10:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbd56b0012d0845c00702ac680011011d29..."} 
[2026-09-17 10:32:08] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbd56b0012d0845c00702ac680011011d29..."} 
[2026-09-17 10:32:08] local.INFO: Packet analysis {"connection_id":186441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:32:08] local.INFO: Extracted packet for processing {"connection_id":186441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:32:08] local.INFO: GPS Element Parsed {"raw_longitude":755516864,"raw_latitude":117615720,"longitude_deg":75.5516864,"latitude_deg":11.761572,"altitude":17,"angle":285,"satellites":41,"speed":24,"hex_longitude":"2d0845c0","hex_latitude":"0702ac68","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143040512001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32663492574052352,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":603693486409543680,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789621262000,"timestamp_ms":1789621262000,"timestamp_seconds":1789621262,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbd56b0"} 
[2026-09-17 10:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 10:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143040512001,"66":14515,"13":206,"94":11008,"24":24,"16":32663492574052352,"45":603693486409543680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-09-17 10:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143040512001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:32:08] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-17 10:32:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32663492574052352,"km_value":32663492574052.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":603693486409543680,"description":"Unknown IO ID 45"} 
[2026-09-17 10:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143040512001,"power":14515,"unknown_13":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":603693486409543680}} 
[2026-09-17 10:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":186441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:32:08] local.INFO: GPS data processed {"connection_id":186441,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:32:08] local.INFO: Acknowledgment sent {"connection_id":186441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:32:22] local.INFO: TCP Data received {"connection_id":185149,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:32:22] local.INFO: Processing buffer {"connection_id":185149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:32:22] local.INFO: IMEI packet received {"connection_id":185149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":185149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:32:26] local.INFO: TCP Data received {"connection_id":185149,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:32:26] local.INFO: Processing buffer {"connection_id":185149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:32:26] local.INFO: IMEI packet received {"connection_id":185149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":185149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:32:26] local.INFO: TCP Data received {"connection_id":185149,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:32:26] local.INFO: Processing buffer {"connection_id":185149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:32:26] local.INFO: Packet analysis {"connection_id":185149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:32:26] local.INFO: Extracted packet for processing {"connection_id":185149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:32:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":185149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:32:26] local.INFO: GPS data processed {"connection_id":185149,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:32:26] local.INFO: Acknowledgment sent {"connection_id":185149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:32:30] local.INFO: TCP Data received {"connection_id":187756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbd23e8012d112cc0071f2d90003700ee22..."} 
[2026-09-17 10:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbd23e8012d112cc0071f2d90003700ee22..."} 
[2026-09-17 10:32:30] local.INFO: Processing buffer {"connection_id":187756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbd23e8012d112cc0071f2d90003700ee22..."} 
[2026-09-17 10:32:30] local.INFO: Packet analysis {"connection_id":187756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:32:30] local.INFO: Extracted packet for processing {"connection_id":187756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbd"} 
[2026-09-17 10:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756100288,"raw_latitude":119483792,"longitude_deg":75.6100288,"latitude_deg":11.9483792,"altitude":55,"angle":238,"satellites":34,"speed":41,"hex_longitude":"2d112cc0","hex_latitude":"071f2d90","is_valid_coordinates":true} 
[2026-09-17 10:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143038464001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21185806655815680,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1243556477696086016,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789621249000,"timestamp_ms":1789621249000,"timestamp_seconds":1789621249,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbd23e8"} 
[2026-09-17 10:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:32:30] 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-09-17 10:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143038464001,"66":14189,"32":206,"83":41984,"24":41,"16":21185806655815680,"45":1243556477696086016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-17 10:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143038464001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:32:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 10:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21185806655815680,"km_value":21185806655815.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1243556477696086016,"description":"Unknown IO ID 45"} 
[2026-09-17 10:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143038464001,"power":14189,"unknown_32":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1243556477696086016}} 
[2026-09-17 10:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":187756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:32:30] local.INFO: GPS data processed {"connection_id":187756,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:32:30] local.INFO: Acknowledgment sent {"connection_id":187756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:32:31] local.INFO: TCP Data received {"connection_id":185149,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:32:31] local.INFO: Processing buffer {"connection_id":185149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adb995c0012d34c14006aa4438000c01012e..."} 
[2026-09-17 10:32:31] local.INFO: Packet analysis {"connection_id":185149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:32:31] local.INFO: Extracted packet for processing {"connection_id":185149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adb9"} 
[2026-09-17 10:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142903040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789621016000,"timestamp_ms":1789621016000,"timestamp_seconds":1789621016,"priority":1,"record_length":96,"hex_timestamp":"000001a0adb995c0"} 
[2026-09-17 10:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142903040001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142903040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142903040001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":185149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:32:31] local.INFO: GPS data processed {"connection_id":185149,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:32:31] local.INFO: Acknowledgment sent {"connection_id":185149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:32:40] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbeb640012d0735400702cb48001000ca28..."} 
[2026-09-17 10:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbeb640012d0735400702cb48001000ca28..."} 
[2026-09-17 10:32:40] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbeb640012d0735400702cb48001000ca28..."} 
[2026-09-17 10:32:40] local.INFO: Packet analysis {"connection_id":186441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:32:40] local.INFO: Extracted packet for processing {"connection_id":186441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:32:40] local.INFO: GPS Element Parsed {"raw_longitude":755447104,"raw_latitude":117623624,"longitude_deg":75.5447104,"latitude_deg":11.7623624,"altitude":16,"angle":202,"satellites":40,"speed":28,"hex_longitude":"2d073540","hex_latitude":"0702cb48","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143065600001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32667087461679104,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":519532468375691264,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789621352000,"timestamp_ms":1789621352000,"timestamp_seconds":1789621352,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbeb640"} 
[2026-09-17 10:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 10:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143065600001,"66":14450,"59":206,"94":11008,"24":28,"16":32667087461679104,"45":519532468375691264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-17 10:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143065600001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:32:40] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 10:32:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32667087461679104,"km_value":32667087461679.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":519532468375691264,"description":"Unknown IO ID 45"} 
[2026-09-17 10:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143065600001,"power":14450,"unknown_59":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":519532468375691264}} 
[2026-09-17 10:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":186441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:32:40] local.INFO: GPS data processed {"connection_id":186441,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:32:40] local.INFO: Acknowledgment sent {"connection_id":186441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:32:48] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:32:48] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:32:48] local.INFO: IMEI packet received {"connection_id":186442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":186442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:32:49] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:32:49] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:32:49] local.INFO: IMEI packet received {"connection_id":186442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":186442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:32:51] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:32:51] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:32:51] local.INFO: IMEI packet received {"connection_id":186442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":186442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:32:51] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe1618012d109a00071e40b8002f00f124..."} 
[2026-09-17 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe1618012d109a00071e40b8002f00f124..."} 
[2026-09-17 10:32:51] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe1618012d109a00071e40b8002f00f124..."} 
[2026-09-17 10:32:51] local.INFO: Packet analysis {"connection_id":186442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:32:51] local.INFO: Extracted packet for processing {"connection_id":186442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756062720,"raw_latitude":119423160,"longitude_deg":75.606272,"latitude_deg":11.942316,"altitude":47,"angle":241,"satellites":36,"speed":49,"hex_longitude":"2d109a00","hex_latitude":"071e40b8","is_valid_coordinates":true} 
[2026-09-17 10:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143054592001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21189298464227328,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1200701912476487680,"note":"Value kept but may cause issues"} 
[2026-09-17 10:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789621311000,"timestamp_ms":1789621311000,"timestamp_seconds":1789621311,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe1618"} 
[2026-09-17 10:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 10:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143054592001,"66":14004,"235":206,"83":41984,"24":49,"16":21189298464227328,"45":1200701912476487680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-17 10:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143054592001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:32:51] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-17 10:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21189298464227328,"km_value":21189298464227.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1200701912476487680,"description":"Unknown IO ID 45"} 
[2026-09-17 10:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143054592001,"power":14004,"unknown_235":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1200701912476487680}} 
[2026-09-17 10:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":186442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:32:52] local.INFO: GPS data processed {"connection_id":186442,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:32:52] local.INFO: Acknowledgment sent {"connection_id":186442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:32:57] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:57] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:32:57] local.INFO: IMEI packet received {"connection_id":186443,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":186443,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:33:00] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:33:00] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:33:00] local.INFO: IMEI packet received {"connection_id":186443,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":186443,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:33:01] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbebe10012d0731800702c690000f00e029..."} 
[2026-09-17 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbebe10012d0731800702c690000f00e029..."} 
[2026-09-17 10:33:01] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbebe10012d0731800702c690000f00e029..."} 
[2026-09-17 10:33:01] local.INFO: Packet analysis {"connection_id":186443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:01] local.INFO: Extracted packet for processing {"connection_id":186443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:01] local.INFO: GPS Element Parsed {"raw_longitude":755446144,"raw_latitude":117622416,"longitude_deg":75.5446144,"latitude_deg":11.7622416,"altitude":15,"angle":224,"satellites":41,"speed":31,"hex_longitude":"2d073180","hex_latitude":"0702c690","is_valid_coordinates":true} 
[2026-09-17 10:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143066112001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32667160476123136,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":519391730886985728,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789621354000,"timestamp_ms":1789621354000,"timestamp_seconds":1789621354,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbebe10"} 
[2026-09-17 10:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186443,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186443,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143066112001,"66":14559,"59":206,"94":11008,"24":31,"16":32667160476123136,"45":519391730886985728},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-17 10:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143066112001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:33:01] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 10:33:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32667160476123136,"km_value":32667160476123.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":519391730886985728,"description":"Unknown IO ID 45"} 
[2026-09-17 10:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143066112001,"power":14559,"unknown_59":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":519391730886985728}} 
[2026-09-17 10:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":186443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854694,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:33:01] local.INFO: GPS data processed {"connection_id":186443,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:33:01] local.INFO: Acknowledgment sent {"connection_id":186443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:33:19] local.INFO: TCP Data received {"connection_id":185150,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:33:19] local.INFO: Processing buffer {"connection_id":185150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:33:19] local.INFO: IMEI packet received {"connection_id":185150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":185150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:33:20] local.INFO: TCP Data received {"connection_id":185150,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:33:20] local.INFO: Processing buffer {"connection_id":185150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:33:20] local.INFO: IMEI packet received {"connection_id":185150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":185150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:33:22] local.INFO: TCP Data received {"connection_id":185150,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:33:22] local.INFO: Processing buffer {"connection_id":185150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:33:22] local.INFO: Packet analysis {"connection_id":185150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:22] local.INFO: Extracted packet for processing {"connection_id":185150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:33:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:33:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":185150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:33:22] local.INFO: GPS data processed {"connection_id":185150,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:33:22] local.INFO: Acknowledgment sent {"connection_id":185150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:33:22] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe3558012d107740071e2f38002f00f525..."} 
[2026-09-17 10:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe3558012d107740071e2f38002f00f525..."} 
[2026-09-17 10:33:22] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe3558012d107740071e2f38002f00f525..."} 
[2026-09-17 10:33:22] local.INFO: Packet analysis {"connection_id":186442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:22] local.INFO: Extracted packet for processing {"connection_id":186442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756053824,"raw_latitude":119418680,"longitude_deg":75.6053824,"latitude_deg":11.941868,"altitude":47,"angle":245,"satellites":37,"speed":48,"hex_longitude":"2d107740","hex_latitude":"071e2f38","is_valid_coordinates":true} 
[2026-09-17 10:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143055616001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21189770910629888,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1196268681592616960,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621319000,"timestamp_ms":1789621319000,"timestamp_seconds":1789621319,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe3558"} 
[2026-09-17 10:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 10:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:33:22] 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-09-17 10:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143055616001,"66":13993,"235":206,"83":41984,"24":48,"16":21189770910629888,"45":1196268681592616960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-17 10:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143055616001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:33:22] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-17 10:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21189770910629888,"km_value":21189770910629.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1196268681592616960,"description":"Unknown IO ID 45"} 
[2026-09-17 10:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143055616001,"power":13993,"unknown_235":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1196268681592616960}} 
[2026-09-17 10:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":186442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:33:22] local.INFO: GPS data processed {"connection_id":186442,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:33:22] local.INFO: Acknowledgment sent {"connection_id":186442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:33:27] local.INFO: TCP Data received {"connection_id":185150,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:33:27] local.INFO: Processing buffer {"connection_id":185150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:33:27] local.INFO: Packet analysis {"connection_id":185150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:27] local.INFO: Extracted packet for processing {"connection_id":185150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:33:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:33:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":185150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:33:27] local.INFO: GPS data processed {"connection_id":185150,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:33:27] local.INFO: Acknowledgment sent {"connection_id":185150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:33:32] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbec5e0012d072c400702c2f0000f00ec28..."} 
[2026-09-17 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbec5e0012d072c400702c2f0000f00ec28..."} 
[2026-09-17 10:33:32] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbec5e0012d072c400702c2f0000f00ec28..."} 
[2026-09-17 10:33:32] local.INFO: Packet analysis {"connection_id":186443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:32] local.INFO: Extracted packet for processing {"connection_id":186443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":755444800,"raw_latitude":117621488,"longitude_deg":75.54448,"latitude_deg":11.7621488,"altitude":15,"angle":236,"satellites":40,"speed":34,"hex_longitude":"2d072c40","hex_latitude":"0702c2f0","is_valid_coordinates":true} 
[2026-09-17 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143066624001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32667237785534464,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":518336199724011520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789621356000,"timestamp_ms":1789621356000,"timestamp_seconds":1789621356,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbec5e0"} 
[2026-09-17 10:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 10:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186443,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186443,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143066624001,"66":14515,"59":206,"94":11008,"24":34,"16":32667237785534464,"45":518336199724011520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-17 10:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143066624001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:33:32] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 10:33:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32667237785534464,"km_value":32667237785534.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":518336199724011520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143066624001,"power":14515,"unknown_59":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":518336199724011520}} 
[2026-09-17 10:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":186443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:33:32] local.INFO: GPS data processed {"connection_id":186443,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:33:32] local.INFO: Acknowledgment sent {"connection_id":186443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:33:48] local.INFO: TCP Data received {"connection_id":187759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:33:48] local.INFO: Processing buffer {"connection_id":187759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:33:48] local.INFO: IMEI packet received {"connection_id":187759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":187759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:33:49] local.INFO: TCP Data received {"connection_id":187759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:33:49] local.INFO: Processing buffer {"connection_id":187759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:33:49] local.INFO: IMEI packet received {"connection_id":187759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":187759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:33:53] local.INFO: TCP Data received {"connection_id":187759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:33:53] local.INFO: Processing buffer {"connection_id":187759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:33:53] local.INFO: IMEI packet received {"connection_id":187759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":187759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:33:54] local.INFO: TCP Data received {"connection_id":187759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbee520012d0fcc00071e39b0002f00fc25..."} 
[2026-09-17 10:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbee520012d0fcc00071e39b0002f00fc25..."} 
[2026-09-17 10:33:54] local.INFO: Processing buffer {"connection_id":187759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbee520012d0fcc00071e39b0002f00fc25..."} 
[2026-09-17 10:33:54] local.INFO: Packet analysis {"connection_id":187759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:54] local.INFO: Extracted packet for processing {"connection_id":187759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756009984,"raw_latitude":119421360,"longitude_deg":75.6009984,"latitude_deg":11.942136,"altitude":47,"angle":252,"satellites":37,"speed":42,"hex_longitude":"2d0fcc00","hex_latitude":"071e39b0","is_valid_coordinates":true} 
[2026-09-17 10:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143066880001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21192047243296768,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1147784616854534144,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621364000,"timestamp_ms":1789621364000,"timestamp_seconds":1789621364,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbee520"} 
[2026-09-17 10:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-17 10:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143066880001,"66":14265,"235":206,"83":41984,"24":42,"16":21192047243296768,"45":1147784616854534144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-17 10:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143066880001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:33:54] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-17 10:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21192047243296768,"km_value":21192047243296.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1147784616854534144,"description":"Unknown IO ID 45"} 
[2026-09-17 10:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143066880001,"power":14265,"unknown_235":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1147784616854534144}} 
[2026-09-17 10:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":187759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:33:54] local.INFO: GPS data processed {"connection_id":187759,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:33:54] local.INFO: Acknowledgment sent {"connection_id":187759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:33:57] local.INFO: TCP Data received {"connection_id":187761,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187761,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:33:57] local.INFO: Processing buffer {"connection_id":187761,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:33:57] local.INFO: IMEI packet received {"connection_id":187761,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":187761,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:33:58] local.INFO: TCP Data received {"connection_id":185150,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:33:58] local.INFO: Processing buffer {"connection_id":185150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:33:58] local.INFO: Packet analysis {"connection_id":185150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:58] local.INFO: Extracted packet for processing {"connection_id":185150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:33:58] 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-09-17 10:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:33:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":185150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:33:59] local.INFO: GPS data processed {"connection_id":185150,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:33:59] local.INFO: Acknowledgment sent {"connection_id":185150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:33:59] local.INFO: TCP Data received {"connection_id":187761,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187761,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:33:59] local.INFO: Processing buffer {"connection_id":187761,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:33:59] local.INFO: IMEI packet received {"connection_id":187761,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":187761,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:34:00] local.INFO: TCP Data received {"connection_id":187761,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbfcb98012d064f800702ba28000900f027..."} 
[2026-09-17 10:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbfcb98012d064f800702ba28000900f027..."} 
[2026-09-17 10:34:00] local.INFO: Processing buffer {"connection_id":187761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbfcb98012d064f800702ba28000900f027..."} 
[2026-09-17 10:34:00] local.INFO: Packet analysis {"connection_id":187761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:00] local.INFO: Extracted packet for processing {"connection_id":187761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:00] local.INFO: GPS Element Parsed {"raw_longitude":755388288,"raw_latitude":117619240,"longitude_deg":75.5388288,"latitude_deg":11.761924,"altitude":9,"angle":240,"satellites":39,"speed":23,"hex_longitude":"2d064f80","hex_latitude":"0702ba28","is_valid_coordinates":true} 
[2026-09-17 10:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143084032001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32669960794800128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":455285804940081152,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789621423000,"timestamp_ms":1789621423000,"timestamp_seconds":1789621423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbfcb98"} 
[2026-09-17 10:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 10:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143084032001,"66":14407,"60":206,"94":11008,"24":23,"16":32669960794800128,"45":455285804940081152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 10:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143084032001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:34:00] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 10:34:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32669960794800128,"km_value":32669960794800.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":455285804940081152,"description":"Unknown IO ID 45"} 
[2026-09-17 10:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143084032001,"power":14407,"unknown_60":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":455285804940081152}} 
[2026-09-17 10:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":187761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:34:00] local.INFO: GPS data processed {"connection_id":187761,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:34:00] local.INFO: Acknowledgment sent {"connection_id":187761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:34:10] local.INFO: TCP Data received {"connection_id":187760,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:34:10] local.INFO: Processing buffer {"connection_id":187760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:34:10] local.INFO: IMEI packet received {"connection_id":187760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":187760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:34:15] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:34:15] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:34:15] local.INFO: IMEI packet received {"connection_id":186444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":186444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:34:21] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:34:21] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:34:21] local.INFO: IMEI packet received {"connection_id":186444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":186444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:34:22] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:34:22] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:34:22] local.INFO: Packet analysis {"connection_id":186444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:34:22] local.INFO: Extracted packet for processing {"connection_id":186444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:34:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:34:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:34:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":186444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:34:22] local.INFO: GPS data processed {"connection_id":186444,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:34:22] local.INFO: Acknowledgment sent {"connection_id":186444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:34:25] local.INFO: TCP Data received {"connection_id":187759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbf0078012d0faec0071e33b8002f010823..."} 
[2026-09-17 10:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbf0078012d0faec0071e33b8002f010823..."} 
[2026-09-17 10:34:25] local.INFO: Processing buffer {"connection_id":187759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbf0078012d0faec0071e33b8002f010823..."} 
[2026-09-17 10:34:25] local.INFO: Packet analysis {"connection_id":187759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:25] local.INFO: Extracted packet for processing {"connection_id":187759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756002496,"raw_latitude":119419832,"longitude_deg":75.6002496,"latitude_deg":11.9419832,"altitude":47,"angle":264,"satellites":35,"speed":41,"hex_longitude":"2d0faec0","hex_latitude":"071e33b8","is_valid_coordinates":true} 
[2026-09-17 10:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143069184001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21192412315516928,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1138284836389761024,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789621371000,"timestamp_ms":1789621371000,"timestamp_seconds":1789621371,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbf0078"} 
[2026-09-17 10:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:34:25] 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-09-17 10:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143069184001,"66":14233,"235":206,"83":41984,"24":41,"16":21192412315516928,"45":1138284836389761024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-17 10:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143069184001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:34:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-17 10:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21192412315516928,"km_value":21192412315516.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1138284836389761024,"description":"Unknown IO ID 45"} 
[2026-09-17 10:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143069184001,"power":14233,"unknown_235":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1138284836389761024}} 
[2026-09-17 10:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":187759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:34:25] local.INFO: GPS data processed {"connection_id":187759,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:34:25] local.INFO: Acknowledgment sent {"connection_id":187759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:34:31] local.INFO: TCP Data received {"connection_id":187761,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbfcf80012d064d400702b880000a00e226..."} 
[2026-09-17 10:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbfcf80012d064d400702b880000a00e226..."} 
[2026-09-17 10:34:31] local.INFO: Processing buffer {"connection_id":187761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbfcf80012d064d400702b880000a00e226..."} 
[2026-09-17 10:34:31] local.INFO: Packet analysis {"connection_id":187761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:31] local.INFO: Extracted packet for processing {"connection_id":187761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:31] local.INFO: GPS Element Parsed {"raw_longitude":755387712,"raw_latitude":117618816,"longitude_deg":75.5387712,"latitude_deg":11.7618816,"altitude":10,"angle":226,"satellites":38,"speed":25,"hex_longitude":"2d064d40","hex_latitude":"0702b880","is_valid_coordinates":true} 
[2026-09-17 10:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143084288001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32669995154538496,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":454722854986590208,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789621424000,"timestamp_ms":1789621424000,"timestamp_seconds":1789621424,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbfcf80"} 
[2026-09-17 10:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 10:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143084288001,"66":14407,"60":206,"94":11008,"24":25,"16":32669995154538496,"45":454722854986590208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 10:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143084288001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:34:31] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 10:34:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32669995154538496,"km_value":32669995154538.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":454722854986590208,"description":"Unknown IO ID 45"} 
[2026-09-17 10:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143084288001,"power":14407,"unknown_60":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":454722854986590208}} 
[2026-09-17 10:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":187761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:34:31] local.INFO: GPS data processed {"connection_id":187761,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:34:31] local.INFO: Acknowledgment sent {"connection_id":187761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:34:48] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:34:48] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:34:48] local.INFO: IMEI packet received {"connection_id":186445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":186445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:34:53] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:34:53] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:34:53] local.INFO: Packet analysis {"connection_id":186444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:34:53] local.INFO: Extracted packet for processing {"connection_id":186444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":186444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:34:53] local.INFO: GPS data processed {"connection_id":186444,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:34:53] local.INFO: Acknowledgment sent {"connection_id":186444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:34:55] local.INFO: TCP Data received {"connection_id":187762,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187762,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:34:55] local.INFO: Processing buffer {"connection_id":187762,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:34:55] local.INFO: IMEI packet received {"connection_id":187762,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":187762,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:34:55] local.INFO: TCP Data received {"connection_id":186446,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:34:55] local.INFO: Processing buffer {"connection_id":186446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:34:55] local.INFO: IMEI packet received {"connection_id":186446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":186446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:34:56] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 10:34:56] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 10:34:56] local.INFO: IMEI packet received {"connection_id":186445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":186445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:34:56] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbf2788012d0f8840071e2f380030010625..."} 
[2026-09-17 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbf2788012d0f8840071e2f380030010625..."} 
[2026-09-17 10:34:56] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0ad..."} 
[2026-09-17 10:34:56] local.INFO: IMEI packet received {"connection_id":186445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":186445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:34:57] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbf4e98012d0f6400071e2c08002e011026..."} 
[2026-09-17 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbf4e98012d0f6400071e2c08002e011026..."} 
[2026-09-17 10:34:57] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0adbf2788012d0f8840071e2f380030010625..."} 
[2026-09-17 10:34:57] local.INFO: Packet analysis {"connection_id":186445,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:57] local.INFO: Extracted packet for processing {"connection_id":186445,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:57] local.INFO: GPS Element Parsed {"raw_longitude":755992640,"raw_latitude":119418680,"longitude_deg":75.599264,"latitude_deg":11.941868,"altitude":48,"angle":262,"satellites":37,"speed":34,"hex_longitude":"2d0f8840","hex_latitude":"071e2f38","is_valid_coordinates":true} 
[2026-09-17 10:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143070976001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21192880466952192,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1130051693320583168,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789621381000,"timestamp_ms":1789621381000,"timestamp_seconds":1789621381,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbf2788"} 
[2026-09-17 10:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 10:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143070976001,"66":13580,"235":206,"83":41984,"24":34,"16":21192880466952192,"45":1130051693320583168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-17 10:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143070976001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21192880466952192,"km_value":21192880466952.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1130051693320583168,"description":"Unknown IO ID 45"} 
[2026-09-17 10:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143070976001,"power":13580,"unknown_235":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1130051693320583168}} 
[2026-09-17 10:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":186445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:34:57] local.INFO: GPS data processed {"connection_id":186445,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:34:57] local.INFO: Acknowledgment sent {"connection_id":186445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:34:57] local.INFO: Packet analysis {"connection_id":186445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:57] local.INFO: Extracted packet for processing {"connection_id":186445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:57] local.INFO: GPS Element Parsed {"raw_longitude":755983360,"raw_latitude":119417864,"longitude_deg":75.598336,"latitude_deg":11.9417864,"altitude":46,"angle":272,"satellites":38,"speed":39,"hex_longitude":"2d0f6400","hex_latitude":"071e2c08","is_valid_coordinates":true} 
[2026-09-17 10:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143073536001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21193327143550976,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1119214906716928000,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789621391000,"timestamp_ms":1789621391000,"timestamp_seconds":1789621391,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbf4e98"} 
[2026-09-17 10:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751532873,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1080871737121833007,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2914952864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3397403140696309770,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3199614977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184841707,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1709899982,"corrected_to":0} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728677,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-7421706348288487853,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755571239878897,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,235,83,24,241,157,16,74,160,45,192,51,47,35,10,66,229,57,37,193,1,240,163,227,73,173,30,4,113,205,38,174,64,239,52,2,75,7,46,39,55,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1709899982,"validated":0}]} 
[2026-09-17 10:34:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459052744783036416,"timestamp_seconds":3459052744783036.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143073536001,"66":14189,"237":206,"83":41984,"24":39,"16":21193327143550976,"45":1119214906716928000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 10:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143073536001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21193327143550976,"km_value":21193327143550.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1119214906716928000,"description":"Unknown IO ID 45"} 
[2026-09-17 10:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143073536001,"power":14189,"unknown_237":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1119214906716928000}} 
[2026-09-17 10:34:57] local.INFO: TCP Data received {"connection_id":187762,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187762,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:34:57] local.INFO: Processing buffer {"connection_id":187762,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:34:57] local.INFO: IMEI packet received {"connection_id":187762,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":187762,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":186445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:34:57] local.INFO: GPS data processed {"connection_id":186445,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:34:57] local.INFO: Acknowledgment sent {"connection_id":186445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:34:58] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbf75a8012d0f3dc0071e2fa8002d011225..."} 
[2026-09-17 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbf75a8012d0f3dc0071e2fa8002d011225..."} 
[2026-09-17 10:34:58] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbf75a8012d0f3dc0071e2fa8002d011225..."} 
[2026-09-17 10:34:58] local.INFO: Packet analysis {"connection_id":186445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:58] local.INFO: Extracted packet for processing {"connection_id":186445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbf"} 
[2026-09-17 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":755973568,"raw_latitude":119418792,"longitude_deg":75.5973568,"latitude_deg":11.9418792,"altitude":45,"angle":274,"satellites":37,"speed":36,"hex_longitude":"2d0f3dc0","hex_latitude":"071e2fa8","is_valid_coordinates":true} 
[2026-09-17 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143076096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21193791000018944,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1109011438810957824,"note":"Value kept but may cause issues"} 
[2026-09-17 10:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789621401000,"timestamp_ms":1789621401000,"timestamp_seconds":1789621401,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbf75a8"} 
[2026-09-17 10:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-17 10:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:34:58] 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-09-17 10:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143076096001,"66":14265,"237":206,"83":41984,"24":36,"16":21193791000018944,"45":1109011438810957824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 10:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143076096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:34:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 10:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21193791000018944,"km_value":21193791000018.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1109011438810957824,"description":"Unknown IO ID 45"} 
[2026-09-17 10:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143076096001,"power":14265,"unknown_237":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1109011438810957824}} 
[2026-09-17 10:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":186445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:34:58] local.INFO: GPS data processed {"connection_id":186445,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:34:58] local.INFO: Acknowledgment sent {"connection_id":186445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:35:02] local.INFO: TCP Data received {"connection_id":187762,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187762,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:35:02] local.INFO: Processing buffer {"connection_id":187762,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:35:02] local.INFO: IMEI packet received {"connection_id":187762,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":187762,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:35:03] local.INFO: TCP Data received {"connection_id":187762,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc08718012d05fc8007027eb8000c010729..."} 
[2026-09-17 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc08718012d05fc8007027eb8000c010729..."} 
[2026-09-17 10:35:03] local.INFO: Processing buffer {"connection_id":187762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc08718012d05fc8007027eb8000c010729..."} 
[2026-09-17 10:35:03] local.INFO: Packet analysis {"connection_id":187762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:35:03] local.INFO: Extracted packet for processing {"connection_id":187762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":755367040,"raw_latitude":117604024,"longitude_deg":75.536704,"latitude_deg":11.7604024,"altitude":12,"angle":263,"satellites":41,"speed":11,"hex_longitude":"2d05fc80","hex_latitude":"07027eb8","is_valid_coordinates":true} 
[2026-09-17 10:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143095808001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32671266464858112,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":432204856845903872,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789621471000,"timestamp_ms":1789621471000,"timestamp_seconds":1789621471,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc08718"} 
[2026-09-17 10:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 10:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143095808001,"66":14428,"60":206,"94":11008,"24":11,"16":32671266464858112,"45":432204856845903872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 10:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143095808001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:35:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 10:35:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32671266464858112,"km_value":32671266464858.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":432204856845903872,"description":"Unknown IO ID 45"} 
[2026-09-17 10:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143095808001,"power":14428,"unknown_60":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":432204856845903872}} 
[2026-09-17 10:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":187762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:35:03] local.INFO: GPS data processed {"connection_id":187762,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:35:03] local.INFO: Acknowledgment sent {"connection_id":187762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:35:15] local.INFO: TCP Data received {"connection_id":185151,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:35:15] local.INFO: Processing buffer {"connection_id":185151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:35:15] local.INFO: IMEI packet received {"connection_id":185151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":185151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:35:21] local.INFO: TCP Data received {"connection_id":185151,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:35:21] local.INFO: Processing buffer {"connection_id":185151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:35:21] local.INFO: IMEI packet received {"connection_id":185151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":185151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:35:22] local.INFO: TCP Data received {"connection_id":185151,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:35:22] local.INFO: Processing buffer {"connection_id":185151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:35:22] local.INFO: Packet analysis {"connection_id":185151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:35:22] local.INFO: Extracted packet for processing {"connection_id":185151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:35:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":185151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:35:22] local.INFO: GPS data processed {"connection_id":185151,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:35:22] local.INFO: Acknowledgment sent {"connection_id":185151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:35:29] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc0aa40012d0e1c40071dbb880024011d25..."} 
[2026-09-17 10:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc0aa40012d0e1c40071dbb880024011d25..."} 
[2026-09-17 10:35:29] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc0aa40012d0e1c40071dbb880024011d25..."} 
[2026-09-17 10:35:29] local.INFO: Packet analysis {"connection_id":186445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:35:29] local.INFO: Extracted packet for processing {"connection_id":186445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:35:29] local.INFO: GPS Element Parsed {"raw_longitude":755899456,"raw_latitude":119389064,"longitude_deg":75.5899456,"latitude_deg":11.9389064,"altitude":36,"angle":285,"satellites":37,"speed":15,"hex_longitude":"2d0e1c40","hex_latitude":"071dbb88","is_valid_coordinates":true} 
[2026-09-17 10:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143098624001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21197729485029376,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017180227651715072,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789621480000,"timestamp_ms":1789621480000,"timestamp_seconds":1789621480,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc0aa40"} 
[2026-09-17 10:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 10:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:35:29] 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-09-17 10:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143098624001,"66":14298,"237":206,"83":41984,"24":15,"16":21197729485029376,"45":1017180227651715072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 10:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143098624001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:35:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 10:35:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21197729485029376,"km_value":21197729485029.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017180227651715072,"description":"Unknown IO ID 45"} 
[2026-09-17 10:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143098624001,"power":14298,"unknown_237":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1017180227651715072}} 
[2026-09-17 10:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":186445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:35:29] local.INFO: GPS data processed {"connection_id":186445,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:35:29] local.INFO: Acknowledgment sent {"connection_id":186445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:35:34] local.INFO: TCP Data received {"connection_id":187762,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc096b8012d05f78007027d10000b00fa28..."} 
[2026-09-17 10:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc096b8012d05f78007027d10000b00fa28..."} 
[2026-09-17 10:35:34] local.INFO: Processing buffer {"connection_id":187762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc096b8012d05f78007027d10000b00fa28..."} 
[2026-09-17 10:35:34] local.INFO: Packet analysis {"connection_id":187762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:35:34] local.INFO: Extracted packet for processing {"connection_id":187762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:35:34] local.INFO: GPS Element Parsed {"raw_longitude":755365760,"raw_latitude":117603600,"longitude_deg":75.536576,"latitude_deg":11.76036,"altitude":11,"angle":250,"satellites":40,"speed":13,"hex_longitude":"2d05f780","hex_latitude":"07027d10","is_valid_coordinates":true} 
[2026-09-17 10:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143096576001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32671330889367552,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":431360431915710464,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789621475000,"timestamp_ms":1789621475000,"timestamp_seconds":1789621475,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc096b8"} 
[2026-09-17 10:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143096576001,"66":14396,"60":206,"94":11008,"24":13,"16":32671330889367552,"45":431360431915710464},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 10:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143096576001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:35:34] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 10:35:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32671330889367552,"km_value":32671330889367.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":431360431915710464,"description":"Unknown IO ID 45"} 
[2026-09-17 10:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143096576001,"power":14396,"unknown_60":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":431360431915710464}} 
[2026-09-17 10:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":187762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:35:34] local.INFO: GPS data processed {"connection_id":187762,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:35:34] local.INFO: Acknowledgment sent {"connection_id":187762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:35:48] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:35:48] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:35:48] local.INFO: IMEI packet received {"connection_id":186447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":186447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:35:49] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:35:49] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:35:49] local.INFO: IMEI packet received {"connection_id":186447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":186447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:35:53] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:35:53] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:35:53] local.INFO: IMEI packet received {"connection_id":186447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":186447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:35:54] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc0ae28012d0e1ac0071dbc200024012b25..."} 
[2026-09-17 10:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc0ae28012d0e1ac0071dbc200024012b25..."} 
[2026-09-17 10:35:54] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc0ae28012d0e1ac0071dbc200024012b25..."} 
[2026-09-17 10:35:54] local.INFO: Packet analysis {"connection_id":186447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:35:54] local.INFO: Extracted packet for processing {"connection_id":186447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:35:54] local.INFO: GPS Element Parsed {"raw_longitude":755899072,"raw_latitude":119389216,"longitude_deg":75.5899072,"latitude_deg":11.9389216,"altitude":36,"angle":299,"satellites":37,"speed":16,"hex_longitude":"2d0e1ac0","hex_latitude":"071dbc20","is_valid_coordinates":true} 
[2026-09-17 10:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143098880001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21197746664898560,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1016758015186667520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621481000,"timestamp_ms":1789621481000,"timestamp_seconds":1789621481,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc0ae28"} 
[2026-09-17 10:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 10:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143098880001,"66":14352,"237":206,"83":41984,"24":16,"16":21197746664898560,"45":1016758015186667520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 10:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143098880001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:35:54] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 10:35:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21197746664898560,"km_value":21197746664898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1016758015186667520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143098880001,"power":14352,"unknown_237":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1016758015186667520}} 
[2026-09-17 10:35:54] local.INFO: TCP Data received {"connection_id":185151,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:35:54] local.INFO: Processing buffer {"connection_id":185151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:35:54] local.INFO: Packet analysis {"connection_id":185151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:35:54] local.INFO: Extracted packet for processing {"connection_id":185151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:35:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":185151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:35:54] local.INFO: GPS data processed {"connection_id":185151,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:35:54] local.INFO: Acknowledgment sent {"connection_id":185151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":186447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:35:54] local.INFO: GPS data processed {"connection_id":186447,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:35:54] local.INFO: Acknowledgment sent {"connection_id":186447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:35:58] local.INFO: TCP Data received {"connection_id":185153,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:35:58] local.INFO: Processing buffer {"connection_id":185153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:35:58] local.INFO: IMEI packet received {"connection_id":185153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":185153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:36:02] local.INFO: TCP Data received {"connection_id":185153,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:36:02] local.INFO: Processing buffer {"connection_id":185153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:36:02] local.INFO: IMEI packet received {"connection_id":185153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":185153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:36:03] local.INFO: TCP Data received {"connection_id":185153,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc0a658012d05f2c007027a68000c00ec2a..."} 
[2026-09-17 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc0a658012d05f2c007027a68000c00ec2a..."} 
[2026-09-17 10:36:03] local.INFO: Processing buffer {"connection_id":185153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc0a658012d05f2c007027a68000c00ec2a..."} 
[2026-09-17 10:36:03] local.INFO: Packet analysis {"connection_id":185153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:36:03] local.INFO: Extracted packet for processing {"connection_id":185153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc0"} 
[2026-09-17 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":755364544,"raw_latitude":117602920,"longitude_deg":75.5364544,"latitude_deg":11.760292,"altitude":12,"angle":236,"satellites":42,"speed":16,"hex_longitude":"2d05f2c0","hex_latitude":"07027a68","is_valid_coordinates":true} 
[2026-09-17 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143097600001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32671395313876992,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":429953057032048640,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789621479000,"timestamp_ms":1789621479000,"timestamp_seconds":1789621479,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc0a658"} 
[2026-09-17 10:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 10:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143097600001,"66":14580,"60":206,"94":11008,"24":16,"16":32671395313876992,"45":429953057032048640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 10:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143097600001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:36:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 10:36:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32671395313876992,"km_value":32671395313876.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":429953057032048640,"description":"Unknown IO ID 45"} 
[2026-09-17 10:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143097600001,"power":14580,"unknown_60":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":429953057032048640}} 
[2026-09-17 10:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":185153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:36:03] local.INFO: GPS data processed {"connection_id":185153,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:36:03] local.INFO: Acknowledgment sent {"connection_id":185153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:36:15] local.INFO: TCP Data received {"connection_id":187763,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:36:15] local.INFO: Processing buffer {"connection_id":187763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:36:15] local.INFO: IMEI packet received {"connection_id":187763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":187763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:36:21] local.INFO: TCP Data received {"connection_id":187763,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:36:21] local.INFO: Processing buffer {"connection_id":187763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:36:21] local.INFO: IMEI packet received {"connection_id":187763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":187763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:36:22] local.INFO: TCP Data received {"connection_id":187763,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:36:22] local.INFO: Processing buffer {"connection_id":187763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:36:22] local.INFO: Packet analysis {"connection_id":187763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:36:22] local.INFO: Extracted packet for processing {"connection_id":187763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:36:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:36:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:36:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":187763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:36:22] local.INFO: GPS data processed {"connection_id":187763,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:36:22] local.INFO: Acknowledgment sent {"connection_id":187763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:36:25] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc190b8012d0df480071df8f8001e013b25..."} 
[2026-09-17 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc190b8012d0df480071df8f8001e013b25..."} 
[2026-09-17 10:36:25] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc190b8012d0df480071df8f8001e013b25..."} 
[2026-09-17 10:36:25] local.INFO: Packet analysis {"connection_id":186447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:36:25] local.INFO: Extracted packet for processing {"connection_id":186447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:36:25] local.INFO: GPS Element Parsed {"raw_longitude":755889280,"raw_latitude":119404792,"longitude_deg":75.588928,"latitude_deg":11.9404792,"altitude":30,"angle":315,"satellites":37,"speed":12,"hex_longitude":"2d0df480","hex_latitude":"071df8f8","is_valid_coordinates":true} 
[2026-09-17 10:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143113728001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198760277180416,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005921228587278336,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789621539000,"timestamp_ms":1789621539000,"timestamp_seconds":1789621539,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc190b8"} 
[2026-09-17 10:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 10:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:36:25] 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-09-17 10:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143113728001,"66":14211,"11":206,"83":41984,"24":12,"16":21198760277180416,"45":1005921228587278336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 10:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143113728001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:36:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 10:36:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198760277180416,"km_value":21198760277180.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005921228587278336,"description":"Unknown IO ID 45"} 
[2026-09-17 10:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143113728001,"power":14211,"unknown_11":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1005921228587278336}} 
[2026-09-17 10:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":186447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:36:25] local.INFO: GPS data processed {"connection_id":186447,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:36:25] local.INFO: Acknowledgment sent {"connection_id":186447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:36:35] local.INFO: TCP Data received {"connection_id":185153,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc22140012d05334007020538000c00e02a..."} 
[2026-09-17 10:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc22140012d05334007020538000c00e02a..."} 
[2026-09-17 10:36:35] local.INFO: Processing buffer {"connection_id":185153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc22140012d05334007020538000c00e02a..."} 
[2026-09-17 10:36:35] local.INFO: Packet analysis {"connection_id":185153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:36:35] local.INFO: Extracted packet for processing {"connection_id":185153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":755315520,"raw_latitude":117572920,"longitude_deg":75.531552,"latitude_deg":11.757292,"altitude":12,"angle":224,"satellites":42,"speed":13,"hex_longitude":"2d053340","hex_latitude":"07020538","is_valid_coordinates":true} 
[2026-09-17 10:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143122944001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32674182747652096,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":375276542798239744,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789621576000,"timestamp_ms":1789621576000,"timestamp_seconds":1789621576,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc22140"} 
[2026-09-17 10:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 10:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143122944001,"66":14407,"60":206,"94":11008,"24":13,"16":32674182747652096,"45":375276542798239744},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 10:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143122944001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:36:35] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 10:36:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32674182747652096,"km_value":32674182747652.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":375276542798239744,"description":"Unknown IO ID 45"} 
[2026-09-17 10:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143122944001,"power":14407,"unknown_60":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":375276542798239744}} 
[2026-09-17 10:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":185153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:36:36] local.INFO: GPS data processed {"connection_id":185153,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:36:36] local.INFO: Acknowledgment sent {"connection_id":185153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:36:53] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:36:53] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:36:53] local.INFO: IMEI packet received {"connection_id":186448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":186448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:36:54] local.INFO: TCP Data received {"connection_id":187763,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:36:54] local.INFO: Processing buffer {"connection_id":187763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:36:54] local.INFO: Packet analysis {"connection_id":187763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:36:54] local.INFO: Extracted packet for processing {"connection_id":187763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":187763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:36:54] local.INFO: GPS data processed {"connection_id":187763,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:36:54] local.INFO: Acknowledgment sent {"connection_id":187763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:36:57] local.INFO: TCP Data received {"connection_id":185025,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:36:57] local.INFO: Processing buffer {"connection_id":185025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:36:57] local.INFO: IMEI packet received {"connection_id":185025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":185025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:36:58] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:36:58] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:36:58] local.INFO: IMEI packet received {"connection_id":186448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":186448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:36:58] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc194a0012d0df400071dfa10001e014725..."} 
[2026-09-17 10:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc194a0012d0df400071dfa10001e014725..."} 
[2026-09-17 10:36:58] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc194a0012d0df400071dfa10001e014725..."} 
[2026-09-17 10:36:58] local.INFO: Packet analysis {"connection_id":186448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:36:58] local.INFO: Extracted packet for processing {"connection_id":186448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:36:58] local.INFO: GPS Element Parsed {"raw_longitude":755889152,"raw_latitude":119405072,"longitude_deg":75.5889152,"latitude_deg":11.9405072,"altitude":30,"angle":327,"satellites":37,"speed":13,"hex_longitude":"2d0df400","hex_latitude":"071dfa10","is_valid_coordinates":true} 
[2026-09-17 10:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143113984001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198777457049600,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005569384866445312,"note":"Value kept but may cause issues"} 
[2026-09-17 10:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789621540000,"timestamp_ms":1789621540000,"timestamp_seconds":1789621540,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc194a0"} 
[2026-09-17 10:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 10:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:36:58] 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-09-17 10:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143113984001,"66":14211,"11":206,"83":41984,"24":13,"16":21198777457049600,"45":1005569384866445312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 10:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143113984001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:36:58] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 10:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198777457049600,"km_value":21198777457049.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005569384866445312,"description":"Unknown IO ID 45"} 
[2026-09-17 10:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143113984001,"power":14211,"unknown_11":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1005569384866445312}} 
[2026-09-17 10:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":186448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:36:59] local.INFO: GPS data processed {"connection_id":186448,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:36:59] local.INFO: Acknowledgment sent {"connection_id":186448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:37:00] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc1a058012d0df280071dfd08001e015325..."} 
[2026-09-17 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc1a058012d0df280071dfd08001e015325..."} 
[2026-09-17 10:37:00] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc1a058012d0df280071dfd08001e015325..."} 
[2026-09-17 10:37:00] local.INFO: Packet analysis {"connection_id":186448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:37:00] local.INFO: Extracted packet for processing {"connection_id":186448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:37:00] local.INFO: GPS Element Parsed {"raw_longitude":755888768,"raw_latitude":119405832,"longitude_deg":75.5888768,"latitude_deg":11.9405832,"altitude":30,"angle":339,"satellites":37,"speed":8,"hex_longitude":"2d0df280","hex_latitude":"071dfd08","is_valid_coordinates":true} 
[2026-09-17 10:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143114240001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198816111755264,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005428647378161664,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789621543000,"timestamp_ms":1789621543000,"timestamp_seconds":1789621543,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc1a058"} 
[2026-09-17 10:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 10:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:37:00] 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-09-17 10:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143114240001,"66":14374,"11":206,"83":41984,"24":8,"16":21198816111755264,"45":1005428647378161664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 10:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143114240001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:37:00] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 10:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198816111755264,"km_value":21198816111755.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005428647378161664,"description":"Unknown IO ID 45"} 
[2026-09-17 10:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143114240001,"power":14374,"unknown_11":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1005428647378161664}} 
[2026-09-17 10:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":186448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:37:00] local.INFO: GPS data processed {"connection_id":186448,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:37:00] local.INFO: Acknowledgment sent {"connection_id":186448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:37:02] local.INFO: TCP Data received {"connection_id":185025,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:37:02] local.INFO: Processing buffer {"connection_id":185025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:37:02] local.INFO: IMEI packet received {"connection_id":185025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":185025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:37:03] local.INFO: TCP Data received {"connection_id":185025,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc22cf8012d052f0007020190000c00ef2a..."} 
[2026-09-17 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc22cf8012d052f0007020190000c00ef2a..."} 
[2026-09-17 10:37:03] local.INFO: Processing buffer {"connection_id":185025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc22cf8012d052f0007020190000c00ef2a..."} 
[2026-09-17 10:37:03] local.INFO: Packet analysis {"connection_id":185025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:37:03] local.INFO: Extracted packet for processing {"connection_id":185025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":755314432,"raw_latitude":117571984,"longitude_deg":75.5314432,"latitude_deg":11.7571984,"altitude":12,"angle":239,"satellites":42,"speed":20,"hex_longitude":"2d052f00","hex_latitude":"07020190","is_valid_coordinates":true} 
[2026-09-17 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143123456001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32674251467128832,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":374713592844728320,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789621579000,"timestamp_ms":1789621579000,"timestamp_seconds":1789621579,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc22cf8"} 
[2026-09-17 10:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 10:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143123456001,"66":14450,"60":206,"94":11008,"24":20,"16":32674251467128832,"45":374713592844728320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 10:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143123456001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:37:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 10:37:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32674251467128832,"km_value":32674251467128.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":374713592844728320,"description":"Unknown IO ID 45"} 
[2026-09-17 10:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143123456001,"power":14450,"unknown_60":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":374713592844728320}} 
[2026-09-17 10:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":185025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:37:03] local.INFO: GPS data processed {"connection_id":185025,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:37:03] local.INFO: Acknowledgment sent {"connection_id":185025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:37:21] local.INFO: TCP Data received {"connection_id":185154,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:37:21] local.INFO: Processing buffer {"connection_id":185154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:37:21] local.INFO: IMEI packet received {"connection_id":185154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":185154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:37:26] local.INFO: TCP Data received {"connection_id":185154,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:37:26] local.INFO: Processing buffer {"connection_id":185154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:37:26] local.INFO: IMEI packet received {"connection_id":185154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":185154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:37:27] local.INFO: TCP Data received {"connection_id":185154,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:37:27] local.INFO: Processing buffer {"connection_id":185154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:37:27] local.INFO: Packet analysis {"connection_id":185154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:37:27] local.INFO: Extracted packet for processing {"connection_id":185154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:37:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:37:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:37:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":185154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:37:27] local.INFO: GPS data processed {"connection_id":185154,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:37:27] local.INFO: Acknowledgment sent {"connection_id":185154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:37:32] local.INFO: TCP Data received {"connection_id":185154,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:37:32] local.INFO: Processing buffer {"connection_id":185154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adbe2d88012d34c14006aa4438000c010129..."} 
[2026-09-17 10:37:32] local.INFO: Packet analysis {"connection_id":185154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:37:32] local.INFO: Extracted packet for processing {"connection_id":185154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adbe"} 
[2026-09-17 10:37:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458142980096001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789621317000,"timestamp_ms":1789621317000,"timestamp_seconds":1789621317,"priority":1,"record_length":96,"hex_timestamp":"000001a0adbe2d88"} 
[2026-09-17 10:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458142980096001,"66":25451,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458142980096001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:37:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:37:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458142980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":185154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:37:32] local.INFO: GPS data processed {"connection_id":185154,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:37:32] local.INFO: Acknowledgment sent {"connection_id":185154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:37:33] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc1ea90012d0deb00071e0e98001e014125..."} 
[2026-09-17 10:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc1ea90012d0deb00071e0e98001e014125..."} 
[2026-09-17 10:37:33] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc1ea90012d0deb00071e0e98001e014125..."} 
[2026-09-17 10:37:33] local.INFO: Packet analysis {"connection_id":186448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:37:33] local.INFO: Extracted packet for processing {"connection_id":186448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:37:33] local.INFO: GPS Element Parsed {"raw_longitude":755886848,"raw_latitude":119410328,"longitude_deg":75.5886848,"latitude_deg":11.9410328,"altitude":30,"angle":321,"satellites":37,"speed":10,"hex_longitude":"2d0deb00","hex_latitude":"071e0e98","is_valid_coordinates":true} 
[2026-09-17 10:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143115008001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21199052334956544,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005006434913290240,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789621562000,"timestamp_ms":1789621562000,"timestamp_seconds":1789621562,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc1ea90"} 
[2026-09-17 10:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 10:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143115008001,"66":14243,"11":206,"83":41984,"24":10,"16":21199052334956544,"45":1005006434913290240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 10:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143115008001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:37:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 10:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21199052334956544,"km_value":21199052334956.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005006434913290240,"description":"Unknown IO ID 45"} 
[2026-09-17 10:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143115008001,"power":14243,"unknown_11":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1005006434913290240}} 
[2026-09-17 10:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":186448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:37:33] local.INFO: GPS data processed {"connection_id":186448,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:37:33] local.INFO: Acknowledgment sent {"connection_id":186448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:37:35] local.INFO: TCP Data received {"connection_id":185025,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc23c98012d0527800701fde8000b00fb2a..."} 
[2026-09-17 10:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc23c98012d0527800701fde8000b00fb2a..."} 
[2026-09-17 10:37:35] local.INFO: Processing buffer {"connection_id":185025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc23c98012d0527800701fde8000b00fb2a..."} 
[2026-09-17 10:37:35] local.INFO: Packet analysis {"connection_id":185025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:37:35] local.INFO: Extracted packet for processing {"connection_id":185025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:37:35] local.INFO: GPS Element Parsed {"raw_longitude":755312512,"raw_latitude":117571048,"longitude_deg":75.5312512,"latitude_deg":11.7571048,"altitude":11,"angle":251,"satellites":42,"speed":14,"hex_longitude":"2d052780","hex_latitude":"0701fde8","is_valid_coordinates":true} 
[2026-09-17 10:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143124224001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32674354546343936,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":373517324193468416,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789621583000,"timestamp_ms":1789621583000,"timestamp_seconds":1789621583,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc23c98"} 
[2026-09-17 10:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143124224001,"66":14450,"60":206,"94":11008,"24":14,"16":32674354546343936,"45":373517324193468416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 10:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143124224001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:37:35] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 10:37:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32674354546343936,"km_value":32674354546343.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":373517324193468416,"description":"Unknown IO ID 45"} 
[2026-09-17 10:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143124224001,"power":14450,"unknown_60":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":373517324193468416}} 
[2026-09-17 10:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":185025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:37:35] local.INFO: GPS data processed {"connection_id":185025,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:37:35] local.INFO: Acknowledgment sent {"connection_id":185025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:37:46] local.INFO: TCP Data received {"connection_id":187765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:37:46] local.INFO: Processing buffer {"connection_id":187765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:37:46] local.INFO: IMEI packet received {"connection_id":187765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":187765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:37:48] local.INFO: TCP Data received {"connection_id":187765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:37:48] local.INFO: Processing buffer {"connection_id":187765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:37:48] local.INFO: IMEI packet received {"connection_id":187765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":187765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:37:53] local.INFO: TCP Data received {"connection_id":187765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:37:53] local.INFO: Processing buffer {"connection_id":187765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:37:53] local.INFO: IMEI packet received {"connection_id":187765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":187765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:37:53] local.INFO: TCP Data received {"connection_id":187765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc1f648012d0de880071e1098001e012f25..."} 
[2026-09-17 10:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc1f648012d0de880071e1098001e012f25..."} 
[2026-09-17 10:37:53] local.INFO: Processing buffer {"connection_id":187765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc1f648012d0de880071e1098001e012f25..."} 
[2026-09-17 10:37:53] local.INFO: Packet analysis {"connection_id":187765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:37:53] local.INFO: Extracted packet for processing {"connection_id":187765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc1"} 
[2026-09-17 10:37:53] local.INFO: GPS Element Parsed {"raw_longitude":755886208,"raw_latitude":119410840,"longitude_deg":75.5886208,"latitude_deg":11.941084,"altitude":30,"angle":303,"satellites":37,"speed":8,"hex_longitude":"2d0de880","hex_latitude":"071e1098","is_valid_coordinates":true} 
[2026-09-17 10:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143119872001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21199090989662208,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002895372589111296,"note":"Value kept but may cause issues"} 
[2026-09-17 10:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789621565000,"timestamp_ms":1789621565000,"timestamp_seconds":1789621565,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc1f648"} 
[2026-09-17 10:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-17 10:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:37:53] 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-09-17 10:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143119872001,"66":13493,"11":206,"83":41984,"24":8,"16":21199090989662208,"45":1002895372589111296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 10:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143119872001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:37:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 10:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21199090989662208,"km_value":21199090989662.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002895372589111296,"description":"Unknown IO ID 45"} 
[2026-09-17 10:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143119872001,"power":13493,"unknown_11":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1002895372589111296}} 
[2026-09-17 10:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":187765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:37:53] local.INFO: GPS data processed {"connection_id":187765,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:37:53] local.INFO: Acknowledgment sent {"connection_id":187765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:37:57] local.INFO: TCP Data received {"connection_id":185155,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185155,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:37:57] local.INFO: Processing buffer {"connection_id":185155,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:37:57] local.INFO: IMEI packet received {"connection_id":185155,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":185155,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:38:02] local.INFO: TCP Data received {"connection_id":185155,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185155,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:38:02] local.INFO: Processing buffer {"connection_id":185155,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:38:02] local.INFO: IMEI packet received {"connection_id":185155,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":185155,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:38:03] local.INFO: TCP Data received {"connection_id":185155,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc34e08012d045e400701d6b0000c00ff2a..."} 
[2026-09-17 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc34e08012d045e400701d6b0000c00ff2a..."} 
[2026-09-17 10:38:03] local.INFO: Processing buffer {"connection_id":185155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc34e08012d045e400701d6b0000c00ff2a..."} 
[2026-09-17 10:38:03] local.INFO: Packet analysis {"connection_id":185155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:38:03] local.INFO: Extracted packet for processing {"connection_id":185155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":755260992,"raw_latitude":117561008,"longitude_deg":75.5260992,"latitude_deg":11.7561008,"altitude":12,"angle":255,"satellites":42,"speed":35,"hex_longitude":"2d045e40","hex_latitude":"0701d6b0","is_valid_coordinates":true} 
[2026-09-17 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143141632001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32676918641819648,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":320248184848693248,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789621653000,"timestamp_ms":1789621653000,"timestamp_seconds":1789621653,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc34e08"} 
[2026-09-17 10:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 10:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143141632001,"66":14450,"46":206,"94":11008,"24":35,"16":32676918641819648,"45":320248184848693248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,94,24,16,45]} 
[2026-09-17 10:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143141632001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:38:03] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 10:38:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32676918641819648,"km_value":32676918641819.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":320248184848693248,"description":"Unknown IO ID 45"} 
[2026-09-17 10:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143141632001,"power":14450,"unknown_46":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":320248184848693248}} 
[2026-09-17 10:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":185155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:38:03] local.INFO: GPS data processed {"connection_id":185155,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:38:03] local.INFO: Acknowledgment sent {"connection_id":185155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:38:15] local.INFO: TCP Data received {"connection_id":185156,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:38:15] local.INFO: Processing buffer {"connection_id":185156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:38:15] local.INFO: IMEI packet received {"connection_id":185156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":185156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:38:21] local.INFO: TCP Data received {"connection_id":185156,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:38:21] local.INFO: Processing buffer {"connection_id":185156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:38:21] local.INFO: IMEI packet received {"connection_id":185156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":185156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:38:23] local.INFO: TCP Data received {"connection_id":185156,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:38:23] local.INFO: Processing buffer {"connection_id":185156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:38:23] local.INFO: Packet analysis {"connection_id":185156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:38:23] local.INFO: Extracted packet for processing {"connection_id":185156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143057152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789621618000,"timestamp_ms":1789621618000,"timestamp_seconds":1789621618,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc2c550"} 
[2026-09-17 10:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 10:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143057152001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143057152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:38:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:38:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":185156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:38:23] local.INFO: GPS data processed {"connection_id":185156,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:38:23] local.INFO: Acknowledgment sent {"connection_id":185156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:38:24] local.INFO: TCP Data received {"connection_id":187765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc332b0012d0d6f80071e5238001f012725..."} 
[2026-09-17 10:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc332b0012d0d6f80071e5238001f012725..."} 
[2026-09-17 10:38:24] local.INFO: Processing buffer {"connection_id":187765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc332b0012d0d6f80071e5238001f012725..."} 
[2026-09-17 10:38:24] local.INFO: Packet analysis {"connection_id":187765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:38:24] local.INFO: Extracted packet for processing {"connection_id":187765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:38:24] local.INFO: GPS Element Parsed {"raw_longitude":755855232,"raw_latitude":119427640,"longitude_deg":75.5855232,"latitude_deg":11.942764,"altitude":31,"angle":295,"satellites":37,"speed":28,"hex_longitude":"2d0d6f80","hex_latitude":"071e5238","is_valid_coordinates":true} 
[2026-09-17 10:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143140608001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21200830451417088,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":970455381527425024,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789621646000,"timestamp_ms":1789621646000,"timestamp_seconds":1789621646,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc332b0"} 
[2026-09-17 10:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 10:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143140608001,"66":14265,"156":206,"83":41984,"24":28,"16":21200830451417088,"45":970455381527425024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-17 10:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143140608001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:38:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 10:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21200830451417088,"km_value":21200830451417.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":970455381527425024,"description":"Unknown IO ID 45"} 
[2026-09-17 10:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143140608001,"power":14265,"unknown_156":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":970455381527425024}} 
[2026-09-17 10:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":187765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:38:24] local.INFO: GPS data processed {"connection_id":187765,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:38:24] local.INFO: Acknowledgment sent {"connection_id":187765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:38:36] local.INFO: TCP Data received {"connection_id":185155,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc36190012d044d400701d468000c010d29..."} 
[2026-09-17 10:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc36190012d044d400701d468000c010d29..."} 
[2026-09-17 10:38:36] local.INFO: Processing buffer {"connection_id":185155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc36190012d044d400701d468000c010d29..."} 
[2026-09-17 10:38:36] local.INFO: Packet analysis {"connection_id":185155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:38:36] local.INFO: Extracted packet for processing {"connection_id":185155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:38:36] local.INFO: GPS Element Parsed {"raw_longitude":755256640,"raw_latitude":117560424,"longitude_deg":75.525664,"latitude_deg":11.7560424,"altitude":12,"angle":269,"satellites":41,"speed":36,"hex_longitude":"2d044d40","hex_latitude":"0701d468","is_valid_coordinates":true} 
[2026-09-17 10:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143143168001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32677129095217152,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":314759422802309120,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789621658000,"timestamp_ms":1789621658000,"timestamp_seconds":1789621658,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc36190"} 
[2026-09-17 10:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143143168001,"66":14537,"46":206,"94":11008,"24":36,"16":32677129095217152,"45":314759422802309120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,94,24,16,45]} 
[2026-09-17 10:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143143168001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:38:36] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 10:38:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32677129095217152,"km_value":32677129095217.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":314759422802309120,"description":"Unknown IO ID 45"} 
[2026-09-17 10:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143143168001,"power":14537,"unknown_46":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":314759422802309120}} 
[2026-09-17 10:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":185155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:38:36] local.INFO: GPS data processed {"connection_id":185155,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:38:36] local.INFO: Acknowledgment sent {"connection_id":185155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:38:48] local.INFO: TCP Data received {"connection_id":187767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:38:48] local.INFO: Processing buffer {"connection_id":187767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:38:48] local.INFO: IMEI packet received {"connection_id":187767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":187767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:38:53] local.INFO: TCP Data received {"connection_id":187767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:38:53] local.INFO: Processing buffer {"connection_id":187767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:38:53] local.INFO: IMEI packet received {"connection_id":187767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":187767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:38:53] local.INFO: TCP Data received {"connection_id":187767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc34250012d0d66c0071e5850001f013325..."} 
[2026-09-17 10:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc34250012d0d66c0071e5850001f013325..."} 
[2026-09-17 10:38:53] local.INFO: Processing buffer {"connection_id":187767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc34250012d0d66c0071e5850001f013325..."} 
[2026-09-17 10:38:53] local.INFO: Packet analysis {"connection_id":187767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:38:53] local.INFO: Extracted packet for processing {"connection_id":187767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:38:53] local.INFO: GPS Element Parsed {"raw_longitude":755852992,"raw_latitude":119429200,"longitude_deg":75.5852992,"latitude_deg":11.94292,"altitude":31,"angle":307,"satellites":37,"speed":25,"hex_longitude":"2d0d66c0","hex_latitude":"071e5850","is_valid_coordinates":true} 
[2026-09-17 10:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143141376001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21200963595403264,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":968133212969777152,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789621650000,"timestamp_ms":1789621650000,"timestamp_seconds":1789621650,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc34250"} 
[2026-09-17 10:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:38:53] 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-09-17 10:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143141376001,"66":14341,"156":206,"83":41984,"24":25,"16":21200963595403264,"45":968133212969777152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-17 10:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143141376001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:38:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 10:38:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21200963595403264,"km_value":21200963595403.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":968133212969777152,"description":"Unknown IO ID 45"} 
[2026-09-17 10:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143141376001,"power":14341,"unknown_156":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":968133212969777152}} 
[2026-09-17 10:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":187767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:38:53] local.INFO: GPS data processed {"connection_id":187767,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:38:53] local.INFO: Acknowledgment sent {"connection_id":187767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:38:56] local.INFO: TCP Data received {"connection_id":185156,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:38:56] local.INFO: Processing buffer {"connection_id":185156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:38:56] local.INFO: Packet analysis {"connection_id":185156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:38:56] local.INFO: Extracted packet for processing {"connection_id":185156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:38:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143057152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789621618000,"timestamp_ms":1789621618000,"timestamp_seconds":1789621618,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc2c550"} 
[2026-09-17 10:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 10:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143057152001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143057152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:38:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:38:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":185156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:38:56] local.INFO: GPS data processed {"connection_id":185156,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:38:56] local.INFO: Acknowledgment sent {"connection_id":185156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:39:07] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:07] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:07] local.INFO: IMEI packet received {"connection_id":186450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":186450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:39:08] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:08] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:08] local.INFO: IMEI packet received {"connection_id":186450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":186450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:39:09] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:09] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:09] local.INFO: IMEI packet received {"connection_id":186450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:39:10] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:10] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:10] local.INFO: IMEI packet received {"connection_id":186450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":186450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:39:11] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc4a5c8012d0351c00701dc58000700f128..."} 
[2026-09-17 10:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc4a5c8012d0351c00701dc58000700f128..."} 
[2026-09-17 10:39:11] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc4a5c8012d0351c00701dc58000700f128..."} 
[2026-09-17 10:39:11] local.INFO: Packet analysis {"connection_id":186450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:39:11] local.INFO: Extracted packet for processing {"connection_id":186450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:39:11] local.INFO: GPS Element Parsed {"raw_longitude":755192256,"raw_latitude":117562456,"longitude_deg":75.5192256,"latitude_deg":11.7562456,"altitude":7,"angle":241,"satellites":40,"speed":28,"hex_longitude":"2d0351c0","hex_latitude":"0701dc58","is_valid_coordinates":true} 
[2026-09-17 10:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143165184001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32680234356572160,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":240520397695373312,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789621741000,"timestamp_ms":1789621741000,"timestamp_seconds":1789621741,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc4a5c8"} 
[2026-09-17 10:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143165184001,"66":13624,"207":206,"94":10240,"24":28,"16":32680234356572160,"45":240520397695373312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,94,24,16,45]} 
[2026-09-17 10:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143165184001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:39:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 10:39:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32680234356572160,"km_value":32680234356572.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":240520397695373312,"description":"Unknown IO ID 45"} 
[2026-09-17 10:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143165184001,"power":13624,"unknown_207":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":240520397695373312}} 
[2026-09-17 10:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":186450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854734,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:39:12] local.INFO: GPS data processed {"connection_id":186450,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:39:12] local.INFO: Acknowledgment sent {"connection_id":186450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:39:12] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc4bd38012d0343c00701d5e0000800fe28..."} 
[2026-09-17 10:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc4bd38012d0343c00701d5e0000800fe28..."} 
[2026-09-17 10:39:12] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc4bd38012d0343c00701d5e0000800fe28..."} 
[2026-09-17 10:39:12] local.INFO: Packet analysis {"connection_id":186450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:39:12] local.INFO: Extracted packet for processing {"connection_id":186450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:39:12] local.INFO: GPS Element Parsed {"raw_longitude":755188672,"raw_latitude":117560800,"longitude_deg":75.5188672,"latitude_deg":11.75608,"altitude":8,"angle":254,"satellites":40,"speed":19,"hex_longitude":"2d0343c0","hex_latitude":"0701d5e0","is_valid_coordinates":true} 
[2026-09-17 10:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143165696001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32680423335133184,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":239183391555868672,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789621747000,"timestamp_ms":1789621747000,"timestamp_seconds":1789621747,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc4bd38"} 
[2026-09-17 10:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-17 10:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143165696001,"66":14374,"207":206,"94":10240,"24":19,"16":32680423335133184,"45":239183391555868672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,94,24,16,45]} 
[2026-09-17 10:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143165696001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:39:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 10:39:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32680423335133184,"km_value":32680423335133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":239183391555868672,"description":"Unknown IO ID 45"} 
[2026-09-17 10:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143165696001,"power":14374,"unknown_207":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":239183391555868672}} 
[2026-09-17 10:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":186450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854735,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:39:13] local.INFO: GPS data processed {"connection_id":186450,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:39:13] local.INFO: Acknowledgment sent {"connection_id":186450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:39:15] local.INFO: TCP Data received {"connection_id":185157,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:39:15] local.INFO: Processing buffer {"connection_id":185157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:39:15] local.INFO: IMEI packet received {"connection_id":185157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":185157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:39:21] local.INFO: TCP Data received {"connection_id":185157,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:39:21] local.INFO: Processing buffer {"connection_id":185157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:39:21] local.INFO: IMEI packet received {"connection_id":185157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":185157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:39:23] local.INFO: TCP Data received {"connection_id":185157,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:39:23] local.INFO: Processing buffer {"connection_id":185157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:39:23] local.INFO: Packet analysis {"connection_id":185157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:39:23] local.INFO: Extracted packet for processing {"connection_id":185157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143057152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789621618000,"timestamp_ms":1789621618000,"timestamp_seconds":1789621618,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc2c550"} 
[2026-09-17 10:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 10:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143057152001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143057152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":185157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:39:23] local.INFO: GPS data processed {"connection_id":185157,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:39:23] local.INFO: Acknowledgment sent {"connection_id":185157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:39:25] local.INFO: TCP Data received {"connection_id":187767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc37ce8012d0d4ac0071e6ea8001e013425..."} 
[2026-09-17 10:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc37ce8012d0d4ac0071e6ea8001e013425..."} 
[2026-09-17 10:39:25] local.INFO: Processing buffer {"connection_id":187767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc37ce8012d0d4ac0071e6ea8001e013425..."} 
[2026-09-17 10:39:25] local.INFO: Packet analysis {"connection_id":187767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:39:25] local.INFO: Extracted packet for processing {"connection_id":187767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc3"} 
[2026-09-17 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":755845824,"raw_latitude":119434920,"longitude_deg":75.5845824,"latitude_deg":11.943492,"altitude":30,"angle":308,"satellites":37,"speed":26,"hex_longitude":"2d0d4ac0","hex_latitude":"071e6ea8","is_valid_coordinates":true} 
[2026-09-17 10:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143142400001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21201405977034752,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":965670306923958272,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789621665000,"timestamp_ms":1789621665000,"timestamp_seconds":1789621665,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc37ce8"} 
[2026-09-17 10:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6990709421,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2915219864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503923115229184,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3268990977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1704722638,"corrected_to":0} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":144,"raw_value":10134461270200320,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84738983196040762,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,156,83,24,241,157,16,82,160,50,45,128,31,37,10,66,38,192,78,81,236,1,240,227,173,30,4,113,205,7,209,161,144,239,55,11,2,75,36,14,206,224],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1704722638,"validated":0}]} 
[2026-09-17 10:39:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234123124160921600,"timestamp_seconds":2234123124160921.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:39:25] 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-09-17 10:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143142400001,"66":14298,"156":206,"83":41984,"24":26,"16":21201405977034752,"45":965670306923958272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-17 10:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143142400001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:39:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 10:39:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21201405977034752,"km_value":21201405977034.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":965670306923958272,"description":"Unknown IO ID 45"} 
[2026-09-17 10:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143142400001,"power":14298,"unknown_156":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":965670306923958272}} 
[2026-09-17 10:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":187767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:39:25] local.INFO: GPS data processed {"connection_id":187767,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:39:25] local.INFO: Acknowledgment sent {"connection_id":187767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:39:46] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:46] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:46] local.INFO: IMEI packet received {"connection_id":185026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":185026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:39:48] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:48] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:48] local.INFO: IMEI packet received {"connection_id":185026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":185026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:39:48] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:48] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:48] local.INFO: IMEI packet received {"connection_id":185026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":185026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:39:50] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:50] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:39:50] local.INFO: IMEI packet received {"connection_id":185026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":185026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:39:50] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc4c120012d0cbd00071ea880002900f326..."} 
[2026-09-17 10:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc4c120012d0cbd00071ea880002900f326..."} 
[2026-09-17 10:39:50] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc4c120012d0cbd00071ea880002900f326..."} 
[2026-09-17 10:39:50] local.INFO: Packet analysis {"connection_id":185026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:39:50] local.INFO: Extracted packet for processing {"connection_id":185026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:39:50] local.INFO: GPS Element Parsed {"raw_longitude":755809536,"raw_latitude":119449728,"longitude_deg":75.5809536,"latitude_deg":11.9449728,"altitude":41,"angle":243,"satellites":38,"speed":18,"hex_longitude":"2d0cbd00","hex_latitude":"071ea880","is_valid_coordinates":true} 
[2026-09-17 10:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143166720001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21203334417350656,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":919156567027988480,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789621748000,"timestamp_ms":1789621748000,"timestamp_seconds":1789621748,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc4c120"} 
[2026-09-17 10:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-17 10:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:39:50] 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-09-17 10:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143166720001,"66":14026,"155":206,"83":41984,"24":18,"16":21203334417350656,"45":919156567027988480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 10:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143166720001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:39:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 10:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21203334417350656,"km_value":21203334417350.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":919156567027988480,"description":"Unknown IO ID 45"} 
[2026-09-17 10:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143166720001,"power":14026,"unknown_155":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":919156567027988480}} 
[2026-09-17 10:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":185026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:39:50] local.INFO: GPS data processed {"connection_id":185026,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:39:50] local.INFO: Acknowledgment sent {"connection_id":185026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:39:56] local.INFO: TCP Data received {"connection_id":185157,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:39:56] local.INFO: Processing buffer {"connection_id":185157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:39:56] local.INFO: Packet analysis {"connection_id":185157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:39:56] local.INFO: Extracted packet for processing {"connection_id":185157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143057152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789621618000,"timestamp_ms":1789621618000,"timestamp_seconds":1789621618,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc2c550"} 
[2026-09-17 10:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 10:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143057152001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143057152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:39:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:39:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":185157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:39:56] local.INFO: GPS data processed {"connection_id":185157,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:39:56] local.INFO: Acknowledgment sent {"connection_id":185157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:39:58] local.INFO: TCP Data received {"connection_id":185027,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:58] local.INFO: Processing buffer {"connection_id":185027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:58] local.INFO: IMEI packet received {"connection_id":185027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":185027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:39:59] local.INFO: TCP Data received {"connection_id":185027,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:59] local.INFO: Processing buffer {"connection_id":185027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:39:59] local.INFO: IMEI packet received {"connection_id":185027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":185027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:40:04] local.INFO: TCP Data received {"connection_id":185027,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:40:04] local.INFO: Processing buffer {"connection_id":185027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:40:04] local.INFO: IMEI packet received {"connection_id":185027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":185027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:40:05] local.INFO: TCP Data received {"connection_id":185027,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc4c120012d0342000701d5c80009011029..."} 
[2026-09-17 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc4c120012d0342000701d5c80009011029..."} 
[2026-09-17 10:40:05] local.INFO: Processing buffer {"connection_id":185027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc4c120012d0342000701d5c80009011029..."} 
[2026-09-17 10:40:05] local.INFO: Packet analysis {"connection_id":185027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:40:05] local.INFO: Extracted packet for processing {"connection_id":185027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:40:05] local.INFO: GPS Element Parsed {"raw_longitude":755188224,"raw_latitude":117560776,"longitude_deg":75.5188224,"latitude_deg":11.7560776,"altitude":9,"angle":272,"satellites":41,"speed":17,"hex_longitude":"2d034200","hex_latitude":"0701d5c8","is_valid_coordinates":true} 
[2026-09-17 10:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143167232001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32680444809969664,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":235242741881495552,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789621748000,"timestamp_ms":1789621748000,"timestamp_seconds":1789621748,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc4c120"} 
[2026-09-17 10:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 10:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143167232001,"66":14428,"207":206,"94":10240,"24":17,"16":32680444809969664,"45":235242741881495552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,94,24,16,45]} 
[2026-09-17 10:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143167232001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:40:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 10:40:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32680444809969664,"km_value":32680444809969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":235242741881495552,"description":"Unknown IO ID 45"} 
[2026-09-17 10:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143167232001,"power":14428,"unknown_207":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":235242741881495552}} 
[2026-09-17 10:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":185027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:40:05] local.INFO: GPS data processed {"connection_id":185027,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:40:05] local.INFO: Acknowledgment sent {"connection_id":185027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:40:16] local.INFO: TCP Data received {"connection_id":185028,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:40:16] local.INFO: Processing buffer {"connection_id":185028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:40:16] local.INFO: IMEI packet received {"connection_id":185028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":185028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:40:20] local.INFO: TCP Data received {"connection_id":186451,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:40:20] local.INFO: Processing buffer {"connection_id":186451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:40:20] local.INFO: IMEI packet received {"connection_id":186451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":186451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:40:21] local.INFO: TCP Data received {"connection_id":185028,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:40:21] local.INFO: Processing buffer {"connection_id":185028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:40:21] local.INFO: IMEI packet received {"connection_id":185028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":185028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:40:21] local.INFO: TCP Data received {"connection_id":185026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc4c8f0012d0cb940071ea7700029010427..."} 
[2026-09-17 10:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc4c8f0012d0cb940071ea7700029010427..."} 
[2026-09-17 10:40:21] local.INFO: Processing buffer {"connection_id":185026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc4c8f0012d0cb940071ea7700029010427..."} 
[2026-09-17 10:40:21] local.INFO: Packet analysis {"connection_id":185026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:40:21] local.INFO: Extracted packet for processing {"connection_id":185026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:40:21] local.INFO: GPS Element Parsed {"raw_longitude":755808576,"raw_latitude":119449456,"longitude_deg":75.5808576,"latitude_deg":11.9449456,"altitude":41,"angle":260,"satellites":39,"speed":19,"hex_longitude":"2d0cb940","hex_latitude":"071ea770","is_valid_coordinates":true} 
[2026-09-17 10:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143167488001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21203385956958208,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917889929632579584,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789621750000,"timestamp_ms":1789621750000,"timestamp_seconds":1789621750,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc4c8f0"} 
[2026-09-17 10:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-17 10:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:40:21] 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-09-17 10:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143167488001,"66":14157,"155":206,"83":41984,"24":19,"16":21203385956958208,"45":917889929632579584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 10:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143167488001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:40:21] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 10:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21203385956958208,"km_value":21203385956958.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":917889929632579584,"description":"Unknown IO ID 45"} 
[2026-09-17 10:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143167488001,"power":14157,"unknown_155":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":917889929632579584}} 
[2026-09-17 10:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":185026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:40:21] local.INFO: GPS data processed {"connection_id":185026,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:40:21] local.INFO: Acknowledgment sent {"connection_id":185026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:40:22] local.INFO: TCP Data received {"connection_id":185028,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:40:22] local.INFO: Processing buffer {"connection_id":185028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:40:22] local.INFO: Packet analysis {"connection_id":185028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:40:22] local.INFO: Extracted packet for processing {"connection_id":185028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143057152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621618000,"timestamp_ms":1789621618000,"timestamp_seconds":1789621618,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc2c550"} 
[2026-09-17 10:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 10:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143057152001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143057152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:40:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:40:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":185028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:40:22] local.INFO: GPS data processed {"connection_id":185028,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:40:22] local.INFO: Acknowledgment sent {"connection_id":185028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:40:43] local.INFO: TCP Data received {"connection_id":185027,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc5e618012d02d6c00701e698000a01212b..."} 
[2026-09-17 10:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc5e618012d02d6c00701e698000a01212b..."} 
[2026-09-17 10:40:43] local.INFO: Processing buffer {"connection_id":185027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc5e618012d02d6c00701e698000a01212b..."} 
[2026-09-17 10:40:43] local.INFO: Packet analysis {"connection_id":185027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc5"} 
[2026-09-17 10:40:43] local.INFO: Extracted packet for processing {"connection_id":185027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc5"} 
[2026-09-17 10:40:43] local.INFO: GPS Element Parsed {"raw_longitude":755160768,"raw_latitude":117565080,"longitude_deg":75.5160768,"latitude_deg":11.756508,"altitude":10,"angle":289,"satellites":43,"speed":44,"hex_longitude":"2d02d6c0","hex_latitude":"0701e698","is_valid_coordinates":true} 
[2026-09-17 10:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143185152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32681819199504384,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":211387737606045696,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789621823000,"timestamp_ms":1789621823000,"timestamp_seconds":1789621823,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc5e618"} 
[2026-09-17 10:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 10:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143185152001,"66":14407,"207":206,"94":10240,"24":44,"16":32681819199504384,"45":211387737606045696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,94,24,16,45]} 
[2026-09-17 10:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143185152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:40:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 10:40:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32681819199504384,"km_value":32681819199504.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":211387737606045696,"description":"Unknown IO ID 45"} 
[2026-09-17 10:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143185152001,"power":14407,"unknown_207":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":211387737606045696}} 
[2026-09-17 10:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":185027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:40:43] local.INFO: GPS data processed {"connection_id":185027,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:40:43] local.INFO: Acknowledgment sent {"connection_id":185027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:40:48] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:40:48] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:40:48] local.INFO: IMEI packet received {"connection_id":186452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":186452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:40:50] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:40:50] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:40:50] local.INFO: IMEI packet received {"connection_id":186452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":186452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:40:53] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:40:53] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:40:53] local.INFO: IMEI packet received {"connection_id":186452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":186452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:40:54] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc4d0c0012d0cb4c0071ea7200029010f27..."} 
[2026-09-17 10:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc4d0c0012d0cb4c0071ea7200029010f27..."} 
[2026-09-17 10:40:54] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc4d0c0012d0cb4c0071ea7200029010f27..."} 
[2026-09-17 10:40:54] local.INFO: Packet analysis {"connection_id":186452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:40:54] local.INFO: Extracted packet for processing {"connection_id":186452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc4"} 
[2026-09-17 10:40:54] local.INFO: GPS Element Parsed {"raw_longitude":755807424,"raw_latitude":119449376,"longitude_deg":75.5807424,"latitude_deg":11.9449376,"altitude":41,"angle":271,"satellites":39,"speed":20,"hex_longitude":"2d0cb4c0","hex_latitude":"071ea720","is_valid_coordinates":true} 
[2026-09-17 10:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143168000001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21203437496565760,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916834398469844992,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621752000,"timestamp_ms":1789621752000,"timestamp_seconds":1789621752,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc4d0c0"} 
[2026-09-17 10:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-17 10:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143168000001,"66":14048,"155":206,"83":41984,"24":20,"16":21203437496565760,"45":916834398469844992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 10:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143168000001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:40:54] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 10:40:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21203437496565760,"km_value":21203437496565.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":916834398469844992,"description":"Unknown IO ID 45"} 
[2026-09-17 10:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143168000001,"power":14048,"unknown_155":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":916834398469844992}} 
[2026-09-17 10:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":186452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:40:54] local.INFO: GPS data processed {"connection_id":186452,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:40:54] local.INFO: Acknowledgment sent {"connection_id":186452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:40:55] local.INFO: TCP Data received {"connection_id":187768,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:40:55] local.INFO: Processing buffer {"connection_id":187768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:40:55] local.INFO: IMEI packet received {"connection_id":187768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":187768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:40:57] local.INFO: TCP Data received {"connection_id":187769,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:40:57] local.INFO: Processing buffer {"connection_id":187769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:40:57] local.INFO: IMEI packet received {"connection_id":187769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":187769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:40:58] local.INFO: TCP Data received {"connection_id":185028,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:40:58] local.INFO: Processing buffer {"connection_id":185028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:40:58] local.INFO: Packet analysis {"connection_id":185028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:40:58] local.INFO: Extracted packet for processing {"connection_id":185028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143057152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789621618000,"timestamp_ms":1789621618000,"timestamp_seconds":1789621618,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc2c550"} 
[2026-09-17 10:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 10:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:40:58] 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-09-17 10:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143057152001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143057152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:40:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:40:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":185028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:40:58] local.INFO: GPS data processed {"connection_id":185028,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:40:58] local.INFO: Acknowledgment sent {"connection_id":185028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:41:02] local.INFO: TCP Data received {"connection_id":187769,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:41:02] local.INFO: Processing buffer {"connection_id":187769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:41:02] local.INFO: IMEI packet received {"connection_id":187769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":187769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:41:03] local.INFO: TCP Data received {"connection_id":187769,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc60558012d02b8800701ef48000801102b..."} 
[2026-09-17 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc60558012d02b8800701ef48000801102b..."} 
[2026-09-17 10:41:03] local.INFO: Processing buffer {"connection_id":187769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc60558012d02b8800701ef48000801102b..."} 
[2026-09-17 10:41:03] local.INFO: Packet analysis {"connection_id":187769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:41:03] local.INFO: Extracted packet for processing {"connection_id":187769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":755153024,"raw_latitude":117567304,"longitude_deg":75.5153024,"latitude_deg":11.7567304,"altitude":8,"angle":272,"satellites":43,"speed":31,"hex_longitude":"2d02b880","hex_latitude":"0701ef48","is_valid_coordinates":true} 
[2026-09-17 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143186688001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32682201451593728,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":204561969421129728,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789621831000,"timestamp_ms":1789621831000,"timestamp_seconds":1789621831,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc60558"} 
[2026-09-17 10:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 10:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143186688001,"66":14439,"207":206,"94":10240,"24":31,"16":32682201451593728,"45":204561969421129728},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,94,24,16,45]} 
[2026-09-17 10:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143186688001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:41:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 10:41:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32682201451593728,"km_value":32682201451593.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":204561969421129728,"description":"Unknown IO ID 45"} 
[2026-09-17 10:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143186688001,"power":14439,"unknown_207":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":204561969421129728}} 
[2026-09-17 10:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":187769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854746,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:41:03] local.INFO: GPS data processed {"connection_id":187769,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:41:03] local.INFO: Acknowledgment sent {"connection_id":187769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:41:21] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:41:21] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:41:21] local.INFO: IMEI packet received {"connection_id":186453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":186453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:41:24] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc62880012d0c1e80071ee3d80032014e25..."} 
[2026-09-17 10:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc62880012d0c1e80071ee3d80032014e25..."} 
[2026-09-17 10:41:24] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc62880012d0c1e80071ee3d80032014e25..."} 
[2026-09-17 10:41:24] local.INFO: Packet analysis {"connection_id":186452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:41:24] local.INFO: Extracted packet for processing {"connection_id":186452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:41:24] local.INFO: GPS Element Parsed {"raw_longitude":755768960,"raw_latitude":119464920,"longitude_deg":75.576896,"latitude_deg":11.946492,"altitude":50,"angle":334,"satellites":37,"speed":42,"hex_longitude":"2d0c1e80","hex_latitude":"071ee3d8","is_valid_coordinates":true} 
[2026-09-17 10:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143190528001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21206027361845248,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874050202013249536,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789621840000,"timestamp_ms":1789621840000,"timestamp_seconds":1789621840,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc62880"} 
[2026-09-17 10:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-17 10:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143190528001,"66":14341,"242":206,"83":41984,"24":42,"16":21206027361845248,"45":874050202013249536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-17 10:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143190528001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:41:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-17 10:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21206027361845248,"km_value":21206027361845.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":874050202013249536,"description":"Unknown IO ID 45"} 
[2026-09-17 10:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143190528001,"power":14341,"unknown_242":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":874050202013249536}} 
[2026-09-17 10:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":186452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:41:24] local.INFO: GPS data processed {"connection_id":186452,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:41:24] local.INFO: Acknowledgment sent {"connection_id":186452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:41:26] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:41:26] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:41:26] local.INFO: IMEI packet received {"connection_id":186453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":186453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:41:27] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:41:27] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:41:27] local.INFO: Packet analysis {"connection_id":186453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:41:27] local.INFO: Extracted packet for processing {"connection_id":186453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143057152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789621618000,"timestamp_ms":1789621618000,"timestamp_seconds":1789621618,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc2c550"} 
[2026-09-17 10:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 10:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143057152001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143057152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:41:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:41:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":186453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:41:27] local.INFO: GPS data processed {"connection_id":186453,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:41:27] local.INFO: Acknowledgment sent {"connection_id":186453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:41:31] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:41:31] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:41:31] local.INFO: Packet analysis {"connection_id":186453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:41:31] local.INFO: Extracted packet for processing {"connection_id":186453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143057152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789621618000,"timestamp_ms":1789621618000,"timestamp_seconds":1789621618,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc2c550"} 
[2026-09-17 10:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 10:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143057152001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143057152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:41:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:41:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":186453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:41:31] local.INFO: GPS data processed {"connection_id":186453,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:41:31] local.INFO: Acknowledgment sent {"connection_id":186453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:41:40] local.INFO: TCP Data received {"connection_id":187769,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc61110012d02af400701ee600008010229..."} 
[2026-09-17 10:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc61110012d02af400701ee600008010229..."} 
[2026-09-17 10:41:40] local.INFO: Processing buffer {"connection_id":187769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc61110012d02af400701ee600008010229..."} 
[2026-09-17 10:41:40] local.INFO: Packet analysis {"connection_id":187769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:41:40] local.INFO: Extracted packet for processing {"connection_id":187769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:41:40] local.INFO: GPS Element Parsed {"raw_longitude":755150656,"raw_latitude":117567072,"longitude_deg":75.5150656,"latitude_deg":11.7567072,"altitude":8,"angle":258,"satellites":41,"speed":30,"hex_longitude":"2d02af40","hex_latitude":"0701ee60","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143188736001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32682313120743424,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":196047351376201728,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789621834000,"timestamp_ms":1789621834000,"timestamp_seconds":1789621834,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc61110"} 
[2026-09-17 10:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 10:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143188736001,"66":14537,"207":206,"94":10240,"24":30,"16":32682313120743424,"45":196047351376201728},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,94,24,16,45]} 
[2026-09-17 10:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143188736001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:41:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 10:41:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32682313120743424,"km_value":32682313120743.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":196047351376201728,"description":"Unknown IO ID 45"} 
[2026-09-17 10:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143188736001,"power":14537,"unknown_207":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":196047351376201728}} 
[2026-09-17 10:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":187769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:41:40] local.INFO: GPS data processed {"connection_id":187769,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:41:40] local.INFO: Acknowledgment sent {"connection_id":187769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:41:48] local.INFO: TCP Data received {"connection_id":185029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:41:48] local.INFO: Processing buffer {"connection_id":185029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:41:48] local.INFO: IMEI packet received {"connection_id":185029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":185029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:41:50] local.INFO: TCP Data received {"connection_id":185029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:41:50] local.INFO: Processing buffer {"connection_id":185029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:41:50] local.INFO: IMEI packet received {"connection_id":185029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":185029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:41:52] local.INFO: TCP Data received {"connection_id":185029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:41:52] local.INFO: Processing buffer {"connection_id":185029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:41:52] local.INFO: IMEI packet received {"connection_id":185029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":185029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:41:52] local.INFO: TCP Data received {"connection_id":185029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc62c68012d0c1c40071ee7580032014324..."} 
[2026-09-17 10:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc62c68012d0c1c40071ee7580032014324..."} 
[2026-09-17 10:41:52] local.INFO: Processing buffer {"connection_id":185029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc62c68012d0c1c40071ee7580032014324..."} 
[2026-09-17 10:41:52] local.INFO: Packet analysis {"connection_id":185029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:41:52] local.INFO: Extracted packet for processing {"connection_id":185029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:41:52] local.INFO: GPS Element Parsed {"raw_longitude":755768384,"raw_latitude":119465816,"longitude_deg":75.5768384,"latitude_deg":11.9465816,"altitude":50,"angle":323,"satellites":36,"speed":42,"hex_longitude":"2d0c1c40","hex_latitude":"071ee758","is_valid_coordinates":true} 
[2026-09-17 10:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143191040001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21206078901452800,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873276145827829760,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789621841000,"timestamp_ms":1789621841000,"timestamp_seconds":1789621841,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc62c68"} 
[2026-09-17 10:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6990710152,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13230540018686464,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2915416864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503923193085952,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3320190977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2862612532,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1777467598,"corrected_to":0} 
[2026-09-17 10:41:52] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3221302540,"corrected_to":0} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147950249,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4194356581,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84737485326196379,"note":"Value kept but may cause issues"} 
[2026-09-17 10:41:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,242,83,24,241,157,16,86,160,32,45,64,219,50,39,10,66,210,51,1,240,218,227,173,30,4,113,205,9,202,34,104,239,55,155,2,75,7,52,206,88],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1777467598,"validated":0},{"io_id":202,"original":3221302540,"validated":0}]} 
[2026-09-17 10:41:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603247097696616448,"timestamp_seconds":3603247097696616.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:41:52] 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-09-17 10:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143191040001,"66":13787,"242":206,"83":41984,"24":42,"16":21206078901452800,"45":873276145827829760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-17 10:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143191040001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:41:52] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-17 10:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21206078901452800,"km_value":21206078901452.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":873276145827829760,"description":"Unknown IO ID 45"} 
[2026-09-17 10:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143191040001,"power":13787,"unknown_242":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":873276145827829760}} 
[2026-09-17 10:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":185029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:41:52] local.INFO: GPS data processed {"connection_id":185029,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:41:52] local.INFO: Acknowledgment sent {"connection_id":185029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:42:02] local.INFO: TCP Data received {"connection_id":185158,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:42:02] local.INFO: Processing buffer {"connection_id":185158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:42:02] local.INFO: IMEI packet received {"connection_id":185158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":185158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:42:05] local.INFO: TCP Data received {"connection_id":185158,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:42:05] local.INFO: Processing buffer {"connection_id":185158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:42:05] local.INFO: IMEI packet received {"connection_id":185158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":185158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:42:06] local.INFO: TCP Data received {"connection_id":185158,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc65f30012d028fc00701e9900006010b2a..."} 
[2026-09-17 10:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc65f30012d028fc00701e9900006010b2a..."} 
[2026-09-17 10:42:06] local.INFO: Processing buffer {"connection_id":185158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc65f30012d028fc00701e9900006010b2a..."} 
[2026-09-17 10:42:06] local.INFO: Packet analysis {"connection_id":185158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:42:06] local.INFO: Extracted packet for processing {"connection_id":185158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:42:06] local.INFO: GPS Element Parsed {"raw_longitude":755142592,"raw_latitude":117565840,"longitude_deg":75.5142592,"latitude_deg":11.756584,"altitude":6,"angle":267,"satellites":42,"speed":23,"hex_longitude":"2d028fc0","hex_latitude":"0701e990","is_valid_coordinates":true} 
[2026-09-17 10:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143189504001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32682703962767360,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":193443707841568768,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789621854000,"timestamp_ms":1789621854000,"timestamp_seconds":1789621854,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc65f30"} 
[2026-09-17 10:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 10:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143189504001,"66":14461,"79":206,"94":11008,"24":23,"16":32682703962767360,"45":193443707841568768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-17 10:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143189504001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:42:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-17 10:42:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32682703962767360,"km_value":32682703962767.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":193443707841568768,"description":"Unknown IO ID 45"} 
[2026-09-17 10:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143189504001,"power":14461,"unknown_79":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":193443707841568768}} 
[2026-09-17 10:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":185158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:42:06] local.INFO: GPS data processed {"connection_id":185158,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:42:06] local.INFO: Acknowledgment sent {"connection_id":185158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:42:08] local.INFO: TCP Data received {"connection_id":185158,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc6ad50012d026c800701e568000601092b..."} 
[2026-09-17 10:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc6ad50012d026c800701e568000601092b..."} 
[2026-09-17 10:42:08] local.INFO: Processing buffer {"connection_id":185158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc6ad50012d026c800701e568000601092b..."} 
[2026-09-17 10:42:08] local.INFO: Packet analysis {"connection_id":185158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:42:08] local.INFO: Extracted packet for processing {"connection_id":185158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":755133568,"raw_latitude":117564776,"longitude_deg":75.5133568,"latitude_deg":11.7564776,"altitude":6,"angle":265,"satellites":43,"speed":4,"hex_longitude":"2d026c80","hex_latitude":"0701e568","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143194624001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32683133459496960,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":184577246074867712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789621874000,"timestamp_ms":1789621874000,"timestamp_seconds":1789621874,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc6ad50"} 
[2026-09-17 10:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 10:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143194624001,"66":14559,"79":206,"94":11008,"24":4,"16":32683133459496960,"45":184577246074867712},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-17 10:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143194624001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:42:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-17 10:42:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32683133459496960,"km_value":32683133459496.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":184577246074867712,"description":"Unknown IO ID 45"} 
[2026-09-17 10:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143194624001,"power":14559,"unknown_79":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":184577246074867712}} 
[2026-09-17 10:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":185158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:42:08] local.INFO: GPS data processed {"connection_id":185158,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:42:08] local.INFO: Acknowledgment sent {"connection_id":185158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:42:16] local.INFO: TCP Data received {"connection_id":187771,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:42:16] local.INFO: Processing buffer {"connection_id":187771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:42:16] local.INFO: IMEI packet received {"connection_id":187771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":187771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:42:21] local.INFO: TCP Data received {"connection_id":187771,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:42:21] local.INFO: Processing buffer {"connection_id":187771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:42:21] local.INFO: IMEI packet received {"connection_id":187771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":187771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:42:23] local.INFO: TCP Data received {"connection_id":187771,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:42:23] local.INFO: Processing buffer {"connection_id":187771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc2c550012d34c14006aa4438000c01012c..."} 
[2026-09-17 10:42:23] local.INFO: Packet analysis {"connection_id":187771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:42:23] local.INFO: Extracted packet for processing {"connection_id":187771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc2"} 
[2026-09-17 10:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143057152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789621618000,"timestamp_ms":1789621618000,"timestamp_seconds":1789621618,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc2c550"} 
[2026-09-17 10:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 10:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143057152001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143057152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":187771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:42:23] local.INFO: GPS data processed {"connection_id":187771,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:42:23] local.INFO: Acknowledgment sent {"connection_id":187771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:42:23] local.INFO: TCP Data received {"connection_id":185029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc63438012d0c1580071eed280031013624..."} 
[2026-09-17 10:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc63438012d0c1580071eed280031013624..."} 
[2026-09-17 10:42:23] local.INFO: Processing buffer {"connection_id":185029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc63438012d0c1580071eed280031013624..."} 
[2026-09-17 10:42:23] local.INFO: Packet analysis {"connection_id":185029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:42:23] local.INFO: Extracted packet for processing {"connection_id":185029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:42:23] local.INFO: GPS Element Parsed {"raw_longitude":755766656,"raw_latitude":119467304,"longitude_deg":75.5766656,"latitude_deg":11.9467304,"altitude":49,"angle":310,"satellites":36,"speed":43,"hex_longitude":"2d0c1580","hex_latitude":"071eed28","is_valid_coordinates":true} 
[2026-09-17 10:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143191296001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21206186275635200,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872642827130460160,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789621843000,"timestamp_ms":1789621843000,"timestamp_seconds":1789621843,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc63438"} 
[2026-09-17 10:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-17 10:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143191296001,"66":14428,"242":206,"83":41984,"24":43,"16":21206186275635200,"45":872642827130460160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-17 10:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143191296001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:42:23] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-17 10:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21206186275635200,"km_value":21206186275635.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":872642827130460160,"description":"Unknown IO ID 45"} 
[2026-09-17 10:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143191296001,"power":14428,"unknown_242":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":872642827130460160}} 
[2026-09-17 10:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":185029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:42:23] local.INFO: GPS data processed {"connection_id":185029,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:42:23] local.INFO: Acknowledgment sent {"connection_id":185029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:42:40] local.INFO: TCP Data received {"connection_id":185158,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc6c4c0012d0267800701e5a0000601142b..."} 
[2026-09-17 10:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc6c4c0012d0267800701e5a0000601142b..."} 
[2026-09-17 10:42:40] local.INFO: Processing buffer {"connection_id":185158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc6c4c0012d0267800701e5a0000601142b..."} 
[2026-09-17 10:42:40] local.INFO: Packet analysis {"connection_id":185158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:42:40] local.INFO: Extracted packet for processing {"connection_id":185158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc6"} 
[2026-09-17 10:42:40] local.INFO: GPS Element Parsed {"raw_longitude":755132288,"raw_latitude":117564832,"longitude_deg":75.5132288,"latitude_deg":11.7564832,"altitude":6,"angle":276,"satellites":43,"speed":8,"hex_longitude":"2d026780","hex_latitude":"0701e5a0","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32683197884006400,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":174655253145544704,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789621880000,"timestamp_ms":1789621880000,"timestamp_seconds":1789621880,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc6c4c0"} 
[2026-09-17 10:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 10:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143199744001,"66":14407,"79":206,"94":11008,"24":8,"16":32683197884006400,"45":174655253145544704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-17 10:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:42:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-17 10:42:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32683197884006400,"km_value":32683197884006.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":174655253145544704,"description":"Unknown IO ID 45"} 
[2026-09-17 10:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143199744001,"power":14407,"unknown_79":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":174655253145544704}} 
[2026-09-17 10:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":185158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:42:41] local.INFO: GPS data processed {"connection_id":185158,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:42:41] local.INFO: Acknowledgment sent {"connection_id":185158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:42:48] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:42:48] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:42:48] local.INFO: IMEI packet received {"connection_id":185159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":185159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:42:53] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:42:53] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:42:53] local.INFO: IMEI packet received {"connection_id":185159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":185159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:42:54] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc72668012d0b5dc0071fb818001c012228..."} 
[2026-09-17 10:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc72668012d0b5dc0071fb818001c012228..."} 
[2026-09-17 10:42:54] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc72668012d0b5dc0071fb818001c012228..."} 
[2026-09-17 10:42:54] local.INFO: Packet analysis {"connection_id":185159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:42:54] local.INFO: Extracted packet for processing {"connection_id":185159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:42:54] local.INFO: GPS Element Parsed {"raw_longitude":755719616,"raw_latitude":119519256,"longitude_deg":75.5719616,"latitude_deg":11.9519256,"altitude":28,"angle":290,"satellites":40,"speed":37,"hex_longitude":"2d0b5dc0","hex_latitude":"071fb818","is_valid_coordinates":true} 
[2026-09-17 10:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143205376001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21209721033719808,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827114249659930624,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621905000,"timestamp_ms":1789621905000,"timestamp_seconds":1789621905,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc72668"} 
[2026-09-17 10:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-17 10:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143205376001,"66":14070,"243":206,"83":41984,"24":37,"16":21209721033719808,"45":827114249659930624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-17 10:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143205376001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:42:54] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-17 10:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21209721033719808,"km_value":21209721033719.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":827114249659930624,"description":"Unknown IO ID 45"} 
[2026-09-17 10:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143205376001,"power":14070,"unknown_243":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":827114249659930624}} 
[2026-09-17 10:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":185159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:42:54] local.INFO: GPS data processed {"connection_id":185159,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:42:54] local.INFO: Acknowledgment sent {"connection_id":185159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:42:57] local.INFO: TCP Data received {"connection_id":185031,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:42:57] local.INFO: Processing buffer {"connection_id":185031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:42:57] local.INFO: IMEI packet received {"connection_id":185031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":185031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:42:59] local.INFO: TCP Data received {"connection_id":187771,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:42:59] local.INFO: Processing buffer {"connection_id":187771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:42:59] local.INFO: Packet analysis {"connection_id":187771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:42:59] local.INFO: Extracted packet for processing {"connection_id":187771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:42:59] 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-09-17 10:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:42:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:42:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":187771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:42:59] local.INFO: GPS data processed {"connection_id":187771,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:42:59] local.INFO: Acknowledgment sent {"connection_id":187771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:43:16] local.INFO: TCP Data received {"connection_id":186454,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:43:16] local.INFO: Processing buffer {"connection_id":186454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:43:16] local.INFO: IMEI packet received {"connection_id":186454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":186454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:43:21] local.INFO: TCP Data received {"connection_id":186454,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:43:21] local.INFO: Processing buffer {"connection_id":186454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:43:21] local.INFO: IMEI packet received {"connection_id":186454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":186454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:43:21] local.INFO: TCP Data received {"connection_id":186454,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:43:21] local.INFO: Processing buffer {"connection_id":186454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:43:21] local.INFO: Packet analysis {"connection_id":186454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:43:21] local.INFO: Extracted packet for processing {"connection_id":186454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:43:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":186454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:43:21] local.INFO: GPS data processed {"connection_id":186454,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:43:21] local.INFO: Acknowledgment sent {"connection_id":186454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:43:31] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc74990012d0b3bc0071fc1c8001f011f26..."} 
[2026-09-17 10:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc74990012d0b3bc0071fc1c8001f011f26..."} 
[2026-09-17 10:43:31] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc74990012d0b3bc0071fc1c8001f011f26..."} 
[2026-09-17 10:43:31] local.INFO: Packet analysis {"connection_id":185159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:43:31] local.INFO: Extracted packet for processing {"connection_id":185159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:43:31] local.INFO: GPS Element Parsed {"raw_longitude":755710912,"raw_latitude":119521736,"longitude_deg":75.5710912,"latitude_deg":11.9521736,"altitude":31,"angle":287,"satellites":38,"speed":41,"hex_longitude":"2d0b3bc0","hex_latitude":"071fc1c8","is_valid_coordinates":true} 
[2026-09-17 10:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143207680001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21210150530449408,"note":"Value kept but may cause issues"} 
[2026-09-17 10:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819021844080760832,"note":"Value kept but may cause issues"} 
[2026-09-17 10:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789621914000,"timestamp_ms":1789621914000,"timestamp_seconds":1789621914,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc74990"} 
[2026-09-17 10:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 10:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:43:31] 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-09-17 10:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143207680001,"66":14026,"243":206,"83":41984,"24":41,"16":21210150530449408,"45":819021844080760832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-17 10:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143207680001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:43:31] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-17 10:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 10:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21210150530449408,"km_value":21210150530449.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":819021844080760832,"description":"Unknown IO ID 45"} 
[2026-09-17 10:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143207680001,"power":14026,"unknown_243":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":819021844080760832}} 
[2026-09-17 10:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":185159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:43:31] local.INFO: GPS data processed {"connection_id":185159,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:43:31] local.INFO: Acknowledgment sent {"connection_id":185159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:43:50] local.INFO: TCP Data received {"connection_id":185031,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:43:50] local.INFO: Processing buffer {"connection_id":185031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:43:50] local.INFO: IMEI packet received {"connection_id":185031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":185031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:43:55] local.INFO: TCP Data received {"connection_id":186454,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:43:55] local.INFO: Processing buffer {"connection_id":186454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:43:55] local.INFO: Packet analysis {"connection_id":186454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:43:55] local.INFO: Extracted packet for processing {"connection_id":186454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:43:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:43:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":186454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:43:55] local.INFO: GPS data processed {"connection_id":186454,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:43:55] local.INFO: Acknowledgment sent {"connection_id":186454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:44:02] local.INFO: TCP Data received {"connection_id":185161,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185161,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:44:02] local.INFO: Processing buffer {"connection_id":185161,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:44:02] local.INFO: IMEI packet received {"connection_id":185161,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":185161,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:44:15] local.INFO: TCP Data received {"connection_id":185162,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:44:15] local.INFO: Processing buffer {"connection_id":185162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:44:15] local.INFO: IMEI packet received {"connection_id":185162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":185162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:44:16] local.INFO: TCP Data received {"connection_id":185161,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185161,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:44:16] local.INFO: Processing buffer {"connection_id":185161,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:44:16] local.INFO: IMEI packet received {"connection_id":185161,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":185161,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:44:18] local.INFO: TCP Data received {"connection_id":185161,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc84390012d0208c00702d9380009015926..."} 
[2026-09-17 10:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc84390012d0208c00702d9380009015926..."} 
[2026-09-17 10:44:18] local.INFO: Processing buffer {"connection_id":185161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc84390012d0208c00702d9380009015926..."} 
[2026-09-17 10:44:18] local.INFO: Packet analysis {"connection_id":185161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc8"} 
[2026-09-17 10:44:18] local.INFO: Extracted packet for processing {"connection_id":185161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc8"} 
[2026-09-17 10:44:18] local.INFO: GPS Element Parsed {"raw_longitude":755108032,"raw_latitude":117627192,"longitude_deg":75.5108032,"latitude_deg":11.7627192,"altitude":9,"angle":345,"satellites":38,"speed":4,"hex_longitude":"2d0208c0","hex_latitude":"0702d938","is_valid_coordinates":true} 
[2026-09-17 10:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143221248001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32686543663529984,"note":"Value kept but may cause issues"} 
[2026-09-17 10:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":149041030278909952,"note":"Value kept but may cause issues"} 
[2026-09-17 10:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789621978000,"timestamp_ms":1789621978000,"timestamp_seconds":1789621978,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc84390"} 
[2026-09-17 10:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 10:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143221248001,"66":14450,"79":206,"94":11008,"24":4,"16":32686543663529984,"45":149041030278909952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-17 10:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143221248001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:44:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-17 10:44:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 10:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32686543663529984,"km_value":32686543663529.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":149041030278909952,"description":"Unknown IO ID 45"} 
[2026-09-17 10:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143221248001,"power":14450,"unknown_79":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":149041030278909952}} 
[2026-09-17 10:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":185161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:44:19] local.INFO: GPS data processed {"connection_id":185161,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:44:19] local.INFO: Acknowledgment sent {"connection_id":185161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:44:21] local.INFO: TCP Data received {"connection_id":185162,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:44:21] local.INFO: Processing buffer {"connection_id":185162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:44:21] local.INFO: IMEI packet received {"connection_id":185162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":185162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:44:22] local.INFO: TCP Data received {"connection_id":185162,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:44:22] local.INFO: Processing buffer {"connection_id":185162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:44:22] local.INFO: Packet analysis {"connection_id":185162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:44:22] local.INFO: Extracted packet for processing {"connection_id":185162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:44:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:44:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":185162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:44:22] local.INFO: GPS data processed {"connection_id":185162,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:44:22] local.INFO: Acknowledgment sent {"connection_id":185162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:44:54] local.INFO: TCP Data received {"connection_id":185162,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:44:54] local.INFO: Processing buffer {"connection_id":185162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:44:54] local.INFO: Packet analysis {"connection_id":185162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:44:54] local.INFO: Extracted packet for processing {"connection_id":185162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:44:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":185162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:44:54] local.INFO: GPS data processed {"connection_id":185162,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:44:54] local.INFO: Acknowledgment sent {"connection_id":185162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:45:02] local.INFO: TCP Data received {"connection_id":187773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:02] local.INFO: Processing buffer {"connection_id":187773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:02] local.INFO: IMEI packet received {"connection_id":187773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":187773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:45:06] local.INFO: TCP Data received {"connection_id":187773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:06] local.INFO: Processing buffer {"connection_id":187773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:06] local.INFO: IMEI packet received {"connection_id":187773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":187773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:45:07] local.INFO: TCP Data received {"connection_id":187773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc9ce18012d01adc0070358080009012f2b..."} 
[2026-09-17 10:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc9ce18012d01adc0070358080009012f2b..."} 
[2026-09-17 10:45:07] local.INFO: Processing buffer {"connection_id":187773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc9ce18012d01adc0070358080009012f2b..."} 
[2026-09-17 10:45:07] local.INFO: Packet analysis {"connection_id":187773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc9"} 
[2026-09-17 10:45:07] local.INFO: Extracted packet for processing {"connection_id":187773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc9"} 
[2026-09-17 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":755084736,"raw_latitude":117659656,"longitude_deg":75.5084736,"latitude_deg":11.7659656,"altitude":9,"angle":303,"satellites":43,"speed":47,"hex_longitude":"2d01adc0","hex_latitude":"07035808","is_valid_coordinates":true} 
[2026-09-17 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143250176001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32688527938420736,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":129056306941237248,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789622079000,"timestamp_ms":1789622079000,"timestamp_seconds":1789622079,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc9ce18"} 
[2026-09-17 10:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143250176001,"66":14450,"156":206,"94":10240,"24":47,"16":32688527938420736,"45":129056306941237248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,94,24,16,45]} 
[2026-09-17 10:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143250176001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:45:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 10:45:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32688527938420736,"km_value":32688527938420.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":129056306941237248,"description":"Unknown IO ID 45"} 
[2026-09-17 10:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143250176001,"power":14450,"unknown_156":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_45":129056306941237248}} 
[2026-09-17 10:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":187773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:45:07] local.INFO: GPS data processed {"connection_id":187773,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:45:07] local.INFO: Acknowledgment sent {"connection_id":187773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:45:08] local.INFO: TCP Data received {"connection_id":187773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc9f140012d018b0007036ab0000601232b..."} 
[2026-09-17 10:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc9f140012d018b0007036ab0000601232b..."} 
[2026-09-17 10:45:08] local.INFO: Processing buffer {"connection_id":187773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc9f140012d018b0007036ab0000601232b..."} 
[2026-09-17 10:45:08] local.INFO: Packet analysis {"connection_id":187773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc9"} 
[2026-09-17 10:45:08] local.INFO: Extracted packet for processing {"connection_id":187773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc9"} 
[2026-09-17 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":755075840,"raw_latitude":117664432,"longitude_deg":75.507584,"latitude_deg":11.7664432,"altitude":6,"angle":291,"satellites":43,"speed":47,"hex_longitude":"2d018b00","hex_latitude":"07036ab0","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143252224001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32689013269725184,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":120963901362276352,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789622088000,"timestamp_ms":1789622088000,"timestamp_seconds":1789622088,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc9f140"} 
[2026-09-17 10:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143252224001,"66":14461,"156":206,"94":10240,"24":47,"16":32689013269725184,"45":120963901362276352},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,94,24,16,45]} 
[2026-09-17 10:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143252224001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:45:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 10:45:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32689013269725184,"km_value":32689013269725.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":120963901362276352,"description":"Unknown IO ID 45"} 
[2026-09-17 10:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143252224001,"power":14461,"unknown_156":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_45":120963901362276352}} 
[2026-09-17 10:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":187773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854766,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:45:08] local.INFO: GPS data processed {"connection_id":187773,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:45:08] local.INFO: Acknowledgment sent {"connection_id":187773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:45:21] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:45:21] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:45:21] local.INFO: IMEI packet received {"connection_id":186455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":186455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:45:26] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:45:26] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:45:26] local.INFO: IMEI packet received {"connection_id":186455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":186455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:45:27] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:45:27] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:45:27] local.INFO: Packet analysis {"connection_id":186455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:45:27] local.INFO: Extracted packet for processing {"connection_id":186455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:45:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:45:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:45:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":186455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:45:27] local.INFO: GPS data processed {"connection_id":186455,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:45:27] local.INFO: Acknowledgment sent {"connection_id":186455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:45:31] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:45:31] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:45:31] local.INFO: Packet analysis {"connection_id":186455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:45:31] local.INFO: Extracted packet for processing {"connection_id":186455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:45:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:45:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":186455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:45:31] local.INFO: GPS data processed {"connection_id":186455,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:45:31] local.INFO: Acknowledgment sent {"connection_id":186455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:45:40] local.INFO: TCP Data received {"connection_id":187773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc9f140012d018b0007036ab0000601232b..."} 
[2026-09-17 10:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc9f140012d018b0007036ab0000601232b..."} 
[2026-09-17 10:45:40] local.INFO: Processing buffer {"connection_id":187773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc9f140012d018b0007036ab0000601232b..."} 
[2026-09-17 10:45:40] local.INFO: Packet analysis {"connection_id":187773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc9"} 
[2026-09-17 10:45:40] local.INFO: Extracted packet for processing {"connection_id":187773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc9"} 
[2026-09-17 10:45:40] local.INFO: GPS Element Parsed {"raw_longitude":755075840,"raw_latitude":117664432,"longitude_deg":75.507584,"latitude_deg":11.7664432,"altitude":6,"angle":291,"satellites":43,"speed":47,"hex_longitude":"2d018b00","hex_latitude":"07036ab0","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143254528001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32689013269725184,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":111182645922803712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789622088000,"timestamp_ms":1789622088000,"timestamp_seconds":1789622088,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc9f140"} 
[2026-09-17 10:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 10:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143254528001,"66":14461,"156":206,"94":10240,"24":47,"16":32689013269725184,"45":111182645922803712},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,94,24,16,45]} 
[2026-09-17 10:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143254528001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:45:40] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 10:45:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32689013269725184,"km_value":32689013269725.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":111182645922803712,"description":"Unknown IO ID 45"} 
[2026-09-17 10:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143254528001,"power":14461,"unknown_156":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_45":111182645922803712}} 
[2026-09-17 10:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":187773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854769,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:45:40] local.INFO: GPS data processed {"connection_id":187773,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:45:40] local.INFO: Acknowledgment sent {"connection_id":187773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:45:57] local.INFO: TCP Data received {"connection_id":185163,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:57] local.INFO: Processing buffer {"connection_id":185163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:57] local.INFO: IMEI packet received {"connection_id":185163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":185163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:45:59] local.INFO: TCP Data received {"connection_id":185163,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:59] local.INFO: Processing buffer {"connection_id":185163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:45:59] local.INFO: IMEI packet received {"connection_id":185163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":185163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:46:02] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:02] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:02] local.INFO: IMEI packet received {"connection_id":186457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":186457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:46:02] local.INFO: TCP Data received {"connection_id":185163,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185163,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:46:02] local.INFO: Processing buffer {"connection_id":185163,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:46:02] local.INFO: IMEI packet received {"connection_id":185163,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":185163,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:46:03] local.INFO: TCP Data received {"connection_id":185163,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adca1080012d016640070377500009011f2b..."} 
[2026-09-17 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adca1080012d016640070377500009011f2b..."} 
[2026-09-17 10:46:03] local.INFO: Processing buffer {"connection_id":185163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adca1080012d016640070377500009011f2b..."} 
[2026-09-17 10:46:03] local.INFO: Packet analysis {"connection_id":185163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:03] local.INFO: Extracted packet for processing {"connection_id":185163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":755066432,"raw_latitude":117667664,"longitude_deg":75.5066432,"latitude_deg":11.7667664,"altitude":9,"angle":287,"satellites":43,"speed":46,"hex_longitude":"2d016640","hex_latitude":"07037750","is_valid_coordinates":true} 
[2026-09-17 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143254528001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32689485716127744,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":111182645922803712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789622096000,"timestamp_ms":1789622096000,"timestamp_seconds":1789622096,"priority":1,"record_length":96,"hex_timestamp":"000001a0adca1080"} 
[2026-09-17 10:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 10:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143254528001,"66":14363,"156":206,"94":10240,"24":46,"16":32689485716127744,"45":111182645922803712},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,94,24,16,45]} 
[2026-09-17 10:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143254528001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:46:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 10:46:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32689485716127744,"km_value":32689485716127.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":111182645922803712,"description":"Unknown IO ID 45"} 
[2026-09-17 10:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143254528001,"power":14363,"unknown_156":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":111182645922803712}} 
[2026-09-17 10:46:03] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:03] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:03] local.INFO: IMEI packet received {"connection_id":186457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":186457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":185163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854770,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:46:03] local.INFO: GPS data processed {"connection_id":185163,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:46:03] local.INFO: Acknowledgment sent {"connection_id":185163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:46:05] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:05] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:05] local.INFO: IMEI packet received {"connection_id":186457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":186457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:46:05] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adca3790012d08e9c007213dc0001d012d20..."} 
[2026-09-17 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adca3790012d08e9c007213dc0001d012d20..."} 
[2026-09-17 10:46:05] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adca3790012d08e9c007213dc0001d012d20..."} 
[2026-09-17 10:46:05] local.INFO: Packet analysis {"connection_id":186457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:05] local.INFO: Extracted packet for processing {"connection_id":186457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":755558848,"raw_latitude":119619008,"longitude_deg":75.5558848,"latitude_deg":11.9619008,"altitude":29,"angle":301,"satellites":32,"speed":45,"hex_longitude":"2d08e9c0","hex_latitude":"07213dc0","is_valid_coordinates":true} 
[2026-09-17 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143258368001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21219852861571072,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":645703627196336128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789622106000,"timestamp_ms":1789622106000,"timestamp_seconds":1789622106,"priority":1,"record_length":96,"hex_timestamp":"000001a0adca3790"} 
[2026-09-17 10:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-17 10:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143258368001,"66":14080,"155":206,"83":41728,"24":45,"16":21219852861571072,"45":645703627196336128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 10:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143258368001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:46:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 10:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21219852861571072,"km_value":21219852861571.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":645703627196336128,"description":"Unknown IO ID 45"} 
[2026-09-17 10:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143258368001,"power":14080,"unknown_155":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_45":645703627196336128}} 
[2026-09-17 10:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":186457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:46:06] local.INFO: GPS data processed {"connection_id":186457,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:46:06] local.INFO: Acknowledgment sent {"connection_id":186457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:46:08] local.INFO: TCP Data received {"connection_id":185163,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adca33a8012d014240070382e80010012028..."} 
[2026-09-17 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adca33a8012d014240070382e80010012028..."} 
[2026-09-17 10:46:08] local.INFO: Processing buffer {"connection_id":185163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adca33a8012d014240070382e80010012028..."} 
[2026-09-17 10:46:08] local.INFO: Packet analysis {"connection_id":185163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:08] local.INFO: Extracted packet for processing {"connection_id":185163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":755057216,"raw_latitude":117670632,"longitude_deg":75.5057216,"latitude_deg":11.7670632,"altitude":16,"angle":288,"satellites":40,"speed":38,"hex_longitude":"2d014240","hex_latitude":"070382e8","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143256576001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32689945277628416,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":100838440529514496,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789622105000,"timestamp_ms":1789622105000,"timestamp_seconds":1789622105,"priority":1,"record_length":96,"hex_timestamp":"000001a0adca33a8"} 
[2026-09-17 10:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-17 10:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143256576001,"66":14428,"214":206,"94":10240,"24":38,"16":32689945277628416,"45":100838440529514496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,94,24,16,45]} 
[2026-09-17 10:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143256576001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:46:08] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 10:46:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32689945277628416,"km_value":32689945277628.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":100838440529514496,"description":"Unknown IO ID 45"} 
[2026-09-17 10:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143256576001,"power":14428,"unknown_214":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":100838440529514496}} 
[2026-09-17 10:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":185163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854772,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:46:08] local.INFO: GPS data processed {"connection_id":185163,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:46:08] local.INFO: Acknowledgment sent {"connection_id":185163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:46:16] local.INFO: TCP Data received {"connection_id":187775,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:46:16] local.INFO: Processing buffer {"connection_id":187775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:46:16] local.INFO: IMEI packet received {"connection_id":187775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":187775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:46:21] local.INFO: TCP Data received {"connection_id":187775,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:46:21] local.INFO: Processing buffer {"connection_id":187775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:46:21] local.INFO: IMEI packet received {"connection_id":187775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":187775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:46:21] local.INFO: TCP Data received {"connection_id":187775,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:46:21] local.INFO: Processing buffer {"connection_id":187775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:46:21] local.INFO: Packet analysis {"connection_id":187775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:46:21] local.INFO: Extracted packet for processing {"connection_id":187775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:46:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":187775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:46:21] local.INFO: GPS data processed {"connection_id":187775,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:46:21] local.INFO: Acknowledgment sent {"connection_id":187775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:46:25] local.INFO: TCP Data received {"connection_id":186456,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:46:25] local.INFO: Processing buffer {"connection_id":186456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:46:25] local.INFO: IMEI packet received {"connection_id":186456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":186456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:46:39] local.INFO: TCP Data received {"connection_id":185163,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcb8398012d0011800703ede80009012f28..."} 
[2026-09-17 10:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcb8398012d0011800703ede80009012f28..."} 
[2026-09-17 10:46:39] local.INFO: Processing buffer {"connection_id":185163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcb8398012d0011800703ede80009012f28..."} 
[2026-09-17 10:46:39] local.INFO: Packet analysis {"connection_id":185163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:46:39] local.INFO: Extracted packet for processing {"connection_id":185163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:46:39] local.INFO: GPS Element Parsed {"raw_longitude":754979200,"raw_latitude":117698024,"longitude_deg":75.49792,"latitude_deg":11.7698024,"altitude":9,"angle":303,"satellites":40,"speed":8,"hex_longitude":"2d001180","hex_latitude":"0703ede8","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143280384001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32693883762638848,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5348054688149504,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789622191000,"timestamp_ms":1789622191000,"timestamp_seconds":1789622191,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcb8398"} 
[2026-09-17 10:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-17 10:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185163,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143280384001,"66":14265,"89":206,"94":10240,"24":8,"16":32693883762638848,"45":5348054688149504},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-17 10:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143280384001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:46:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-17 10:46:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32693883762638848,"km_value":32693883762638.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5348054688149504,"description":"Unknown IO ID 45"} 
[2026-09-17 10:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143280384001,"power":14265,"unknown_89":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":5348054688149504}} 
[2026-09-17 10:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":185163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:46:39] local.INFO: GPS data processed {"connection_id":185163,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:46:39] local.INFO: Acknowledgment sent {"connection_id":185163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:46:49] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:49] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:49] local.INFO: IMEI packet received {"connection_id":187776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":187776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:46:50] local.INFO: TCP Data received {"connection_id":185032,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:46:50] local.INFO: Processing buffer {"connection_id":185032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:46:50] local.INFO: IMEI packet received {"connection_id":185032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":185032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:46:51] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:51] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:51] local.INFO: IMEI packet received {"connection_id":187776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":187776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:46:53] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:53] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:46:53] local.INFO: IMEI packet received {"connection_id":187776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":187776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:46:53] local.INFO: TCP Data received {"connection_id":187775,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:46:53] local.INFO: Processing buffer {"connection_id":187775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:46:53] local.INFO: Packet analysis {"connection_id":187775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:46:53] local.INFO: Extracted packet for processing {"connection_id":187775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":187775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:46:53] local.INFO: GPS data processed {"connection_id":187775,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:46:53] local.INFO: Acknowledgment sent {"connection_id":187775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:46:54] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcae758012d0898800721b340000a013622..."} 
[2026-09-17 10:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcae758012d0898800721b340000a013622..."} 
[2026-09-17 10:46:54] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcae758012d0898800721b340000a013622..."} 
[2026-09-17 10:46:54] local.INFO: Packet analysis {"connection_id":187776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:54] local.INFO: Extracted packet for processing {"connection_id":187776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:54] local.INFO: GPS Element Parsed {"raw_longitude":755538048,"raw_latitude":119649088,"longitude_deg":75.5538048,"latitude_deg":11.9649088,"altitude":10,"angle":310,"satellites":34,"speed":38,"hex_longitude":"2d089880","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-09-17 10:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143269888001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21221648157900800,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":621426410462537728,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789622151000,"timestamp_ms":1789622151000,"timestamp_seconds":1789622151,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcae758"} 
[2026-09-17 10:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143269888001,"66":14265,"155":206,"83":41728,"24":38,"16":21221648157900800,"45":621426410462537728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 10:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143269888001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:46:54] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 10:46:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21221648157900800,"km_value":21221648157900.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":621426410462537728,"description":"Unknown IO ID 45"} 
[2026-09-17 10:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143269888001,"power":14265,"unknown_155":206,"unknown_83":41728,"ignition":38,"odometer":null,"unknown_45":621426410462537728}} 
[2026-09-17 10:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":187776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:46:54] local.INFO: GPS data processed {"connection_id":187776,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:46:54] local.INFO: Acknowledgment sent {"connection_id":187776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:46:55] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcaef28012d0891400721b7580009012521..."} 
[2026-09-17 10:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcaef28012d0891400721b7580009012521..."} 
[2026-09-17 10:46:55] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcaef28012d0891400721b7580009012521..."} 
[2026-09-17 10:46:55] local.INFO: Packet analysis {"connection_id":187776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:55] local.INFO: Extracted packet for processing {"connection_id":187776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adca"} 
[2026-09-17 10:46:55] local.INFO: GPS Element Parsed {"raw_longitude":755536192,"raw_latitude":119650136,"longitude_deg":75.5536192,"latitude_deg":11.9650136,"altitude":9,"angle":293,"satellites":33,"speed":41,"hex_longitude":"2d089140","hex_latitude":"0721b758","is_valid_coordinates":true} 
[2026-09-17 10:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143270656001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21221746942148608,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":619385716881965056,"note":"Value kept but may cause issues"} 
[2026-09-17 10:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789622153000,"timestamp_ms":1789622153000,"timestamp_seconds":1789622153,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcaef28"} 
[2026-09-17 10:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143270656001,"66":14265,"155":206,"83":41728,"24":41,"16":21221746942148608,"45":619385716881965056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 10:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143270656001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:46:56] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 10:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21221746942148608,"km_value":21221746942148.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":619385716881965056,"description":"Unknown IO ID 45"} 
[2026-09-17 10:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143270656001,"power":14265,"unknown_155":206,"unknown_83":41728,"ignition":41,"odometer":null,"unknown_45":619385716881965056}} 
[2026-09-17 10:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":187776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:46:56] local.INFO: GPS data processed {"connection_id":187776,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:46:56] local.INFO: Acknowledgment sent {"connection_id":187776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:46:57] local.INFO: TCP Data received {"connection_id":185033,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:46:57] local.INFO: Processing buffer {"connection_id":185033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:46:57] local.INFO: IMEI packet received {"connection_id":185033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":185033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:47:02] local.INFO: TCP Data received {"connection_id":185033,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:47:02] local.INFO: Processing buffer {"connection_id":185033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:47:02] local.INFO: IMEI packet received {"connection_id":185033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":185033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:47:02] local.INFO: TCP Data received {"connection_id":185033,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcb8b68012d0010000703ef580008013f28..."} 
[2026-09-17 10:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcb8b68012d0010000703ef580008013f28..."} 
[2026-09-17 10:47:02] local.INFO: Processing buffer {"connection_id":185033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcb8b68012d0010000703ef580008013f28..."} 
[2026-09-17 10:47:02] local.INFO: Packet analysis {"connection_id":185033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:02] local.INFO: Extracted packet for processing {"connection_id":185033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:02] local.INFO: GPS Element Parsed {"raw_longitude":754978816,"raw_latitude":117698392,"longitude_deg":75.4978816,"latitude_deg":11.7698392,"altitude":8,"angle":319,"satellites":40,"speed":14,"hex_longitude":"2d001000","hex_latitude":"0703ef58","is_valid_coordinates":true} 
[2026-09-17 10:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143280896001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32693909532442624,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4925842223130624,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789622193000,"timestamp_ms":1789622193000,"timestamp_seconds":1789622193,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcb8b68"} 
[2026-09-17 10:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143280896001,"66":14352,"89":206,"94":10240,"24":14,"16":32693909532442624,"45":4925842223130624},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-17 10:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143280896001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:47:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-17 10:47:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32693909532442624,"km_value":32693909532442.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4925842223130624,"description":"Unknown IO ID 45"} 
[2026-09-17 10:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143280896001,"power":14352,"unknown_89":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":4925842223130624}} 
[2026-09-17 10:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":185033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854778,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:47:03] local.INFO: GPS data processed {"connection_id":185033,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:47:03] local.INFO: Acknowledgment sent {"connection_id":185033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:47:16] local.INFO: TCP Data received {"connection_id":187777,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:47:16] local.INFO: Processing buffer {"connection_id":187777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:47:16] local.INFO: IMEI packet received {"connection_id":187777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":187777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:47:21] local.INFO: TCP Data received {"connection_id":187777,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:47:21] local.INFO: Processing buffer {"connection_id":187777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:47:21] local.INFO: IMEI packet received {"connection_id":187777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":187777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:47:23] local.INFO: TCP Data received {"connection_id":187777,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:47:23] local.INFO: Processing buffer {"connection_id":187777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adc75d18012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:47:23] local.INFO: Packet analysis {"connection_id":187777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:47:23] local.INFO: Extracted packet for processing {"connection_id":187777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adc7"} 
[2026-09-17 10:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143134208001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789621919000,"timestamp_ms":1789621919000,"timestamp_seconds":1789621919,"priority":1,"record_length":96,"hex_timestamp":"000001a0adc75d18"} 
[2026-09-17 10:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 10:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143134208001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143134208001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143134208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":187777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:47:23] local.INFO: GPS data processed {"connection_id":187777,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:47:23] local.INFO: Acknowledgment sent {"connection_id":187777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:47:27] local.INFO: TCP Data received {"connection_id":187776,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbb278012d085f00072256980003003821..."} 
[2026-09-17 10:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbb278012d085f00072256980003003821..."} 
[2026-09-17 10:47:27] local.INFO: Processing buffer {"connection_id":187776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbb278012d085f00072256980003003821..."} 
[2026-09-17 10:47:27] local.INFO: Packet analysis {"connection_id":187776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:27] local.INFO: Extracted packet for processing {"connection_id":187776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:27] local.INFO: GPS Element Parsed {"raw_longitude":755523328,"raw_latitude":119690904,"longitude_deg":75.5523328,"latitude_deg":11.9690904,"altitude":3,"angle":56,"satellites":33,"speed":43,"hex_longitude":"2d085f00","hex_latitude":"07225698","is_valid_coordinates":true} 
[2026-09-17 10:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143283456001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21224538670891008,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":601230580894464000,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789622203000,"timestamp_ms":1789622203000,"timestamp_seconds":1789622203,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbb278"} 
[2026-09-17 10:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 10:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143283456001,"66":14070,"233":206,"83":44288,"24":43,"16":21224538670891008,"45":601230580894464000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-17 10:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143283456001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:47:27] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-17 10:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21224538670891008,"km_value":21224538670891.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":601230580894464000,"description":"Unknown IO ID 45"} 
[2026-09-17 10:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143283456001,"power":14070,"unknown_233":206,"unknown_83":44288,"ignition":43,"odometer":null,"unknown_45":601230580894464000}} 
[2026-09-17 10:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":187776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:47:27] local.INFO: GPS data processed {"connection_id":187776,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:47:27] local.INFO: Acknowledgment sent {"connection_id":187776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:47:34] local.INFO: TCP Data received {"connection_id":185033,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcb9720012d000c400703f2e00008012f28..."} 
[2026-09-17 10:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcb9720012d000c400703f2e00008012f28..."} 
[2026-09-17 10:47:34] local.INFO: Processing buffer {"connection_id":185033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcb9720012d000c400703f2e00008012f28..."} 
[2026-09-17 10:47:34] local.INFO: Packet analysis {"connection_id":185033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:34] local.INFO: Extracted packet for processing {"connection_id":185033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:34] local.INFO: GPS Element Parsed {"raw_longitude":754977856,"raw_latitude":117699296,"longitude_deg":75.4977856,"latitude_deg":11.7699296,"altitude":8,"angle":303,"satellites":40,"speed":20,"hex_longitude":"2d000c40","hex_latitude":"0703f2e0","is_valid_coordinates":true} 
[2026-09-17 10:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143281408001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32693969661984768,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4503629758158848,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789622196000,"timestamp_ms":1789622196000,"timestamp_seconds":1789622196,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcb9720"} 
[2026-09-17 10:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146368,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2915762864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":5912225051063552,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3221302528,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2389441304930025482,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504098478227456,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3411070977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3898605574,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926689238,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2639855822,"corrected_to":0} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84724591834366914,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,89,94,24,241,157,16,38,160,131,45,128,237,9,40,10,66,123,8,41,108,1,240,223,227,173,3,4,113,205,29,74,112,239,56,2,116,7,17,52,206,88],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2639855822,"validated":0}]} 
[2026-09-17 10:47:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576811668312293376,"timestamp_seconds":576811668312293.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143281408001,"66":14070,"89":206,"94":10240,"24":20,"16":32693969661984768,"45":4503629758158848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-17 10:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143281408001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:47:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-17 10:47:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32693969661984768,"km_value":32693969661984.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4503629758158848,"description":"Unknown IO ID 45"} 
[2026-09-17 10:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143281408001,"power":14070,"unknown_89":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":4503629758158848}} 
[2026-09-17 10:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":185033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:47:34] local.INFO: GPS data processed {"connection_id":185033,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:47:34] local.INFO: Acknowledgment sent {"connection_id":185033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:47:48] local.INFO: TCP Data received {"connection_id":185164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:47:48] local.INFO: Processing buffer {"connection_id":185164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:47:48] local.INFO: IMEI packet received {"connection_id":185164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":185164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:47:49] local.INFO: TCP Data received {"connection_id":185164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:47:49] local.INFO: Processing buffer {"connection_id":185164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:47:49] local.INFO: IMEI packet received {"connection_id":185164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":185164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:47:52] local.INFO: TCP Data received {"connection_id":185164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:47:52] local.INFO: Processing buffer {"connection_id":185164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:47:52] local.INFO: IMEI packet received {"connection_id":185164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":185164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:47:53] local.INFO: TCP Data received {"connection_id":185164,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbba48012d0866c007225a800003004520..."} 
[2026-09-17 10:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbba48012d0866c007225a800003004520..."} 
[2026-09-17 10:47:53] local.INFO: Processing buffer {"connection_id":185164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbba48012d0866c007225a800003004520..."} 
[2026-09-17 10:47:53] local.INFO: Packet analysis {"connection_id":185164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:53] local.INFO: Extracted packet for processing {"connection_id":185164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:53] local.INFO: GPS Element Parsed {"raw_longitude":755525312,"raw_latitude":119691904,"longitude_deg":75.5525312,"latitude_deg":11.9691904,"altitude":3,"angle":69,"satellites":32,"speed":44,"hex_longitude":"2d0866c0","hex_latitude":"07225a80","is_valid_coordinates":true} 
[2026-09-17 10:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143283968001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21224646045073408,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":603200905731807232,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789622205000,"timestamp_ms":1789622205000,"timestamp_seconds":1789622205,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbba48"} 
[2026-09-17 10:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 10:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143283968001,"66":14004,"128":206,"83":44288,"24":44,"16":21224646045073408,"45":603200905731807232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-09-17 10:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143283968001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:47:53] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-17 10:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21224646045073408,"km_value":21224646045073.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":603200905731807232,"description":"Unknown IO ID 45"} 
[2026-09-17 10:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143283968001,"power":14004,"unknown_128":206,"unknown_83":44288,"ignition":44,"odometer":null,"unknown_45":603200905731807232}} 
[2026-09-17 10:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":185164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:47:53] local.INFO: GPS data processed {"connection_id":185164,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:47:53] local.INFO: Acknowledgment sent {"connection_id":185164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:47:55] local.INFO: TCP Data received {"connection_id":187777,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:47:55] local.INFO: Processing buffer {"connection_id":187777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:47:55] local.INFO: Packet analysis {"connection_id":187777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:55] local.INFO: Extracted packet for processing {"connection_id":187777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:47:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:47:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":187777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:47:55] local.INFO: GPS data processed {"connection_id":187777,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:47:55] local.INFO: Acknowledgment sent {"connection_id":187777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:47:57] local.INFO: TCP Data received {"connection_id":185165,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185165,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:47:57] local.INFO: Processing buffer {"connection_id":185165,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:47:57] local.INFO: IMEI packet received {"connection_id":185165,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":185165,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:48:02] local.INFO: TCP Data received {"connection_id":185165,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185165,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:48:02] local.INFO: Processing buffer {"connection_id":185165,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:48:02] local.INFO: IMEI packet received {"connection_id":185165,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":185165,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:48:03] local.INFO: TCP Data received {"connection_id":185165,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcb9ef0012d0008400703f4c80008012128..."} 
[2026-09-17 10:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcb9ef0012d0008400703f4c80008012128..."} 
[2026-09-17 10:48:03] local.INFO: Processing buffer {"connection_id":185165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcb9ef0012d0008400703f4c80008012128..."} 
[2026-09-17 10:48:03] local.INFO: Packet analysis {"connection_id":185165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:48:03] local.INFO: Extracted packet for processing {"connection_id":185165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:48:03] local.INFO: GPS Element Parsed {"raw_longitude":754976832,"raw_latitude":117699784,"longitude_deg":75.4976832,"latitude_deg":11.7699784,"altitude":8,"angle":289,"satellites":40,"speed":26,"hex_longitude":"2d000840","hex_latitude":"0703f4c8","is_valid_coordinates":true} 
[2026-09-17 10:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143282176001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32694025496559616,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3448098595725312,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789622198000,"timestamp_ms":1789622198000,"timestamp_seconds":1789622198,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcb9ef0"} 
[2026-09-17 10:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 10:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143282176001,"66":14407,"89":206,"94":10240,"24":26,"16":32694025496559616,"45":3448098595725312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-17 10:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143282176001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:48:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-17 10:48:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32694025496559616,"km_value":32694025496559.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3448098595725312,"description":"Unknown IO ID 45"} 
[2026-09-17 10:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143282176001,"power":14407,"unknown_89":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":3448098595725312}} 
[2026-09-17 10:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":185165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:48:03] local.INFO: GPS data processed {"connection_id":185165,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:48:03] local.INFO: Acknowledgment sent {"connection_id":185165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:48:16] local.INFO: TCP Data received {"connection_id":187779,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:48:16] local.INFO: Processing buffer {"connection_id":187779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:48:16] local.INFO: IMEI packet received {"connection_id":187779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":187779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:48:21] local.INFO: TCP Data received {"connection_id":187779,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:48:21] local.INFO: Processing buffer {"connection_id":187779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:48:21] local.INFO: IMEI packet received {"connection_id":187779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":187779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:48:22] local.INFO: TCP Data received {"connection_id":187779,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:48:22] local.INFO: Processing buffer {"connection_id":187779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:48:22] local.INFO: Packet analysis {"connection_id":187779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:48:22] local.INFO: Extracted packet for processing {"connection_id":187779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:48:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:48:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":187779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:48:22] local.INFO: GPS data processed {"connection_id":187779,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:48:22] local.INFO: Acknowledgment sent {"connection_id":187779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:48:24] local.INFO: TCP Data received {"connection_id":185164,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcc7d98012d08e640072300a80009002d21..."} 
[2026-09-17 10:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcc7d98012d08e640072300a80009002d21..."} 
[2026-09-17 10:48:24] local.INFO: Processing buffer {"connection_id":185164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcc7d98012d08e640072300a80009002d21..."} 
[2026-09-17 10:48:24] local.INFO: Packet analysis {"connection_id":185164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcc"} 
[2026-09-17 10:48:24] local.INFO: Extracted packet for processing {"connection_id":185164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcc"} 
[2026-09-17 10:48:24] local.INFO: GPS Element Parsed {"raw_longitude":755557952,"raw_latitude":119734440,"longitude_deg":75.5557952,"latitude_deg":11.973444,"altitude":9,"angle":45,"satellites":33,"speed":46,"hex_longitude":"2d08e640","hex_latitude":"072300a8","is_valid_coordinates":true} 
[2026-09-17 10:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143296000001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21227506493292544,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":636907534202843136,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789622255000,"timestamp_ms":1789622255000,"timestamp_seconds":1789622255,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcc7d98"} 
[2026-09-17 10:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-17 10:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143296000001,"66":14341,"128":206,"83":44288,"24":46,"16":21227506493292544,"45":636907534202843136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-09-17 10:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143296000001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:48:24] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-17 10:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21227506493292544,"km_value":21227506493292.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":636907534202843136,"description":"Unknown IO ID 45"} 
[2026-09-17 10:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143296000001,"power":14341,"unknown_128":206,"unknown_83":44288,"ignition":46,"odometer":null,"unknown_45":636907534202843136}} 
[2026-09-17 10:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":185164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:48:24] local.INFO: GPS data processed {"connection_id":185164,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:48:24] local.INFO: Acknowledgment sent {"connection_id":185164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:48:34] local.INFO: TCP Data received {"connection_id":185165,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbc9e8012cffe40007040160000e012228..."} 
[2026-09-17 10:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbc9e8012cffe40007040160000e012228..."} 
[2026-09-17 10:48:34] local.INFO: Processing buffer {"connection_id":185165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbc9e8012cffe40007040160000e012228..."} 
[2026-09-17 10:48:34] local.INFO: Packet analysis {"connection_id":185165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:48:34] local.INFO: Extracted packet for processing {"connection_id":185165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:48:34] local.INFO: GPS Element Parsed {"raw_longitude":754967552,"raw_latitude":117703008,"longitude_deg":75.4967552,"latitude_deg":11.7703008,"altitude":14,"angle":290,"satellites":40,"speed":36,"hex_longitude":"2cffe400","hex_latitude":"07040160","is_valid_coordinates":true} 
[2026-09-17 10:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32694493647994880,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2322198689007616,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789622209000,"timestamp_ms":1789622209000,"timestamp_seconds":1789622209,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbc9e8"} 
[2026-09-17 10:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 10:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143282688001,"66":14515,"89":206,"94":10240,"24":36,"16":32694493647994880,"45":2322198689007616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-17 10:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:48:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-17 10:48:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32694493647994880,"km_value":32694493647994.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2322198689007616,"description":"Unknown IO ID 45"} 
[2026-09-17 10:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143282688001,"power":14515,"unknown_89":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":2322198689007616}} 
[2026-09-17 10:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":185165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854787,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:48:35] local.INFO: GPS data processed {"connection_id":185165,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:48:35] local.INFO: Acknowledgment sent {"connection_id":185165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:48:48] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:48:48] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:48:48] local.INFO: IMEI packet received {"connection_id":186458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":186458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:48:49] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:48:49] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:48:49] local.INFO: IMEI packet received {"connection_id":186458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":186458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:48:51] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:48:51] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:48:51] local.INFO: IMEI packet received {"connection_id":186458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":186458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:48:51] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcc8950012d08eec007230b300008002020..."} 
[2026-09-17 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcc8950012d08eec007230b300008002020..."} 
[2026-09-17 10:48:51] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcc8950012d08eec007230b300008002020..."} 
[2026-09-17 10:48:51] local.INFO: Packet analysis {"connection_id":186458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcc"} 
[2026-09-17 10:48:51] local.INFO: Extracted packet for processing {"connection_id":186458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcc"} 
[2026-09-17 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":755560128,"raw_latitude":119737136,"longitude_deg":75.5560128,"latitude_deg":11.9737136,"altitude":8,"angle":32,"satellites":32,"speed":47,"hex_longitude":"2d08eec0","hex_latitude":"07230b30","is_valid_coordinates":true} 
[2026-09-17 10:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143297280001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21227673997017088,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":641270396343068672,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789622258000,"timestamp_ms":1789622258000,"timestamp_seconds":1789622258,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcc8950"} 
[2026-09-17 10:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6990711808,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2915835864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1126050801135616,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503923512115200,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3425918977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1417674958,"corrected_to":0} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2415996168,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1074209445,"corrected_to":0} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837524,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84733506038997627,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,128,83,24,241,157,16,106,160,45,192,238,8,34,10,66,98,230,35,105,82,64,1,240,218,227,173,4,113,205,46,43,202,239,55,2,75,7,9,206,152],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1417674958,"validated":0},{"io_id":202,"original":1074209445,"validated":0}]} 
[2026-09-17 10:48:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648567966101536768,"timestamp_seconds":648567966101536.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143297280001,"66":14363,"128":206,"83":44288,"24":47,"16":21227673997017088,"45":641270396343068672},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-09-17 10:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143297280001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:48:51] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-17 10:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21227673997017088,"km_value":21227673997017.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":641270396343068672,"description":"Unknown IO ID 45"} 
[2026-09-17 10:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143297280001,"power":14363,"unknown_128":206,"unknown_83":44288,"ignition":47,"odometer":null,"unknown_45":641270396343068672}} 
[2026-09-17 10:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":186458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:48:51] local.INFO: GPS data processed {"connection_id":186458,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:48:51] local.INFO: Acknowledgment sent {"connection_id":186458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:48:54] local.INFO: TCP Data received {"connection_id":187779,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:48:54] local.INFO: Processing buffer {"connection_id":187779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:48:54] local.INFO: Packet analysis {"connection_id":187779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:48:54] local.INFO: Extracted packet for processing {"connection_id":187779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:48:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":187779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:48:54] local.INFO: GPS data processed {"connection_id":187779,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:48:54] local.INFO: Acknowledgment sent {"connection_id":187779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:48:57] local.INFO: TCP Data received {"connection_id":185034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:48:57] local.INFO: Processing buffer {"connection_id":185034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:48:57] local.INFO: IMEI packet received {"connection_id":185034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":185034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:49:02] local.INFO: TCP Data received {"connection_id":185034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:49:02] local.INFO: Processing buffer {"connection_id":185034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:49:02] local.INFO: IMEI packet received {"connection_id":185034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":185034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:49:03] local.INFO: TCP Data received {"connection_id":185034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcd2590012cfe7c800704c7180003013022..."} 
[2026-09-17 10:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcd2590012cfe7c800704c7180003013022..."} 
[2026-09-17 10:49:03] local.INFO: Processing buffer {"connection_id":185034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcd2590012cfe7c800704c7180003013022..."} 
[2026-09-17 10:49:03] local.INFO: Packet analysis {"connection_id":185034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:49:03] local.INFO: Extracted packet for processing {"connection_id":185034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:49:03] local.INFO: GPS Element Parsed {"raw_longitude":754875520,"raw_latitude":117753624,"longitude_deg":75.487552,"latitude_deg":11.7753624,"altitude":3,"angle":304,"satellites":34,"speed":33,"hex_longitude":"2cfe7c80","hex_latitude":"0704c718","is_valid_coordinates":true} 
[2026-09-17 10:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143306240001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32699557414436864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-100908749007247360,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789622298000,"timestamp_ms":1789622298000,"timestamp_seconds":1789622298,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcd2590"} 
[2026-09-17 10:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 10:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143306240001,"66":13754,"212":206,"94":10240,"24":33,"16":32699557414436864,"44":-100908749007247360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-17 10:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143306240001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:49:03] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 10:49:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32699557414436864,"km_value":32699557414436.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-100908749007247360,"description":"Unknown IO ID 44"} 
[2026-09-17 10:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143306240001,"power":13754,"unknown_212":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_44":-100908749007247360}} 
[2026-09-17 10:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":185034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854790,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:49:03] local.INFO: GPS data processed {"connection_id":185034,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:49:03] local.INFO: Acknowledgment sent {"connection_id":185034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:49:21] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:49:21] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:49:21] local.INFO: IMEI packet received {"connection_id":186460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":186460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:49:22] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcd73b0012d095680072393700019005121..."} 
[2026-09-17 10:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcd73b0012d095680072393700019005121..."} 
[2026-09-17 10:49:22] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcd73b0012d095680072393700019005121..."} 
[2026-09-17 10:49:22] local.INFO: Packet analysis {"connection_id":186458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:49:22] local.INFO: Extracted packet for processing {"connection_id":186458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:49:22] local.INFO: GPS Element Parsed {"raw_longitude":755586688,"raw_latitude":119772016,"longitude_deg":75.5586688,"latitude_deg":11.9772016,"altitude":25,"angle":81,"satellites":33,"speed":23,"hex_longitude":"2d095680","hex_latitude":"07239370","is_valid_coordinates":true} 
[2026-09-17 10:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143313152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21230302517002240,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":672232643790833664,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622318000,"timestamp_ms":1789622318000,"timestamp_seconds":1789622318,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcd73b0"} 
[2026-09-17 10:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 10:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143313152001,"66":13993,"128":206,"83":44288,"24":23,"16":21230302517002240,"45":672232643790833664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-09-17 10:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143313152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:49:22] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-17 10:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21230302517002240,"km_value":21230302517002.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":672232643790833664,"description":"Unknown IO ID 45"} 
[2026-09-17 10:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143313152001,"power":13993,"unknown_128":206,"unknown_83":44288,"ignition":23,"odometer":null,"unknown_45":672232643790833664}} 
[2026-09-17 10:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":186458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:49:22] local.INFO: GPS data processed {"connection_id":186458,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:49:22] local.INFO: Acknowledgment sent {"connection_id":186458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:49:26] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:49:26] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:49:26] local.INFO: IMEI packet received {"connection_id":186460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":186460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:49:27] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:49:27] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:49:27] local.INFO: Packet analysis {"connection_id":186460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:49:27] local.INFO: Extracted packet for processing {"connection_id":186460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:49:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:49:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:49:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":186460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:49:27] local.INFO: GPS data processed {"connection_id":186460,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:49:27] local.INFO: Acknowledgment sent {"connection_id":186460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:49:32] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:49:32] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:49:32] local.INFO: Packet analysis {"connection_id":186460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:49:32] local.INFO: Extracted packet for processing {"connection_id":186460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:49:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:49:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:49:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":186460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:49:32] local.INFO: GPS data processed {"connection_id":186460,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:49:32] local.INFO: Acknowledgment sent {"connection_id":186460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:49:34] local.INFO: TCP Data received {"connection_id":185034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcd67f8012cfe5f400704dc880005013325..."} 
[2026-09-17 10:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcd67f8012cfe5f400704dc880005013325..."} 
[2026-09-17 10:49:34] local.INFO: Processing buffer {"connection_id":185034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcd67f8012cfe5f400704dc880005013325..."} 
[2026-09-17 10:49:34] local.INFO: Packet analysis {"connection_id":185034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:49:34] local.INFO: Extracted packet for processing {"connection_id":185034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:49:34] local.INFO: GPS Element Parsed {"raw_longitude":754868032,"raw_latitude":117759112,"longitude_deg":75.4868032,"latitude_deg":11.7759112,"altitude":5,"angle":307,"satellites":37,"speed":33,"hex_longitude":"2cfe5f40","hex_latitude":"0704dc88","is_valid_coordinates":true} 
[2026-09-17 10:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143308288001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32700004091035648,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-109071523330451456,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789622315000,"timestamp_ms":1789622315000,"timestamp_seconds":1789622315,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcd67f8"} 
[2026-09-17 10:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-17 10:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143308288001,"66":14450,"212":206,"94":10240,"24":33,"16":32700004091035648,"44":-109071523330451456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-17 10:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143308288001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:49:34] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 10:49:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32700004091035648,"km_value":32700004091035.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-109071523330451456,"description":"Unknown IO ID 44"} 
[2026-09-17 10:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143308288001,"power":14450,"unknown_212":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_44":-109071523330451456}} 
[2026-09-17 10:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":185034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:49:34] local.INFO: GPS data processed {"connection_id":185034,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:49:34] local.INFO: Acknowledgment sent {"connection_id":185034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:49:47] local.INFO: TCP Data received {"connection_id":185035,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:49:47] local.INFO: Processing buffer {"connection_id":185035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:49:47] local.INFO: IMEI packet received {"connection_id":185035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":185035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:49:48] local.INFO: TCP Data received {"connection_id":185035,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:49:48] local.INFO: Processing buffer {"connection_id":185035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:49:48] local.INFO: IMEI packet received {"connection_id":185035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":185035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:49:53] local.INFO: TCP Data received {"connection_id":185035,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:49:53] local.INFO: Processing buffer {"connection_id":185035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:49:53] local.INFO: IMEI packet received {"connection_id":185035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":185035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:49:53] local.INFO: TCP Data received {"connection_id":185035,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcddd28012d097f000723bc70001c000322..."} 
[2026-09-17 10:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcddd28012d097f000723bc70001c000322..."} 
[2026-09-17 10:49:53] local.INFO: Processing buffer {"connection_id":185035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcddd28012d097f000723bc70001c000322..."} 
[2026-09-17 10:49:53] local.INFO: Packet analysis {"connection_id":185035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:49:53] local.INFO: Extracted packet for processing {"connection_id":185035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:49:53] local.INFO: GPS Element Parsed {"raw_longitude":755597056,"raw_latitude":119782512,"longitude_deg":75.5597056,"latitude_deg":11.9782512,"altitude":28,"angle":3,"satellites":34,"speed":27,"hex_longitude":"2d097f00","hex_latitude":"0723bc70","is_valid_coordinates":true} 
[2026-09-17 10:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143319552001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21231294654447616,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":684687911512354816,"note":"Value kept but may cause issues"} 
[2026-09-17 10:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789622345000,"timestamp_ms":1789622345000,"timestamp_seconds":1789622345,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcddd28"} 
[2026-09-17 10:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 10:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143319552001,"66":14265,"232":206,"83":44288,"24":27,"16":21231294654447616,"45":684687911512354816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-17 10:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143319552001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:49:53] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-17 10:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21231294654447616,"km_value":21231294654447.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":684687911512354816,"description":"Unknown IO ID 45"} 
[2026-09-17 10:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143319552001,"power":14265,"unknown_232":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":684687911512354816}} 
[2026-09-17 10:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":185035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:49:53] local.INFO: GPS data processed {"connection_id":185035,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:49:53] local.INFO: Acknowledgment sent {"connection_id":185035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:50:01] local.INFO: TCP Data received {"connection_id":185167,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185167,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:01] local.INFO: Processing buffer {"connection_id":185167,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:01] local.INFO: IMEI packet received {"connection_id":185167,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":185167,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:50:02] local.INFO: TCP Data received {"connection_id":185167,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185167,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:02] local.INFO: Processing buffer {"connection_id":185167,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:02] local.INFO: IMEI packet received {"connection_id":185167,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":185167,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:50:07] local.INFO: TCP Data received {"connection_id":185167,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185167,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:07] local.INFO: Processing buffer {"connection_id":185167,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:07] local.INFO: IMEI packet received {"connection_id":185167,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":185167,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:50:08] local.INFO: TCP Data received {"connection_id":185167,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcd8f08012cfe41000704f4300008013526..."} 
[2026-09-17 10:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcd8f08012cfe41000704f4300008013526..."} 
[2026-09-17 10:50:08] local.INFO: Processing buffer {"connection_id":185167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcd8f08012cfe41000704f4300008013526..."} 
[2026-09-17 10:50:08] local.INFO: Packet analysis {"connection_id":185167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:50:08] local.INFO: Extracted packet for processing {"connection_id":185167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:50:08] local.INFO: GPS Element Parsed {"raw_longitude":754860288,"raw_latitude":117765168,"longitude_deg":75.4860288,"latitude_deg":11.7765168,"altitude":8,"angle":309,"satellites":38,"speed":39,"hex_longitude":"2cfe4100","hex_latitude":"0704f430","is_valid_coordinates":true} 
[2026-09-17 10:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143312640001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32700472242470912,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-117304666397833216,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789622325000,"timestamp_ms":1789622325000,"timestamp_seconds":1789622325,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcd8f08"} 
[2026-09-17 10:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143312640001,"66":14374,"212":206,"94":10240,"24":39,"16":32700472242470912,"44":-117304666397833216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-17 10:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143312640001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:50:08] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 10:50:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32700472242470912,"km_value":32700472242470.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-117304666397833216,"description":"Unknown IO ID 44"} 
[2026-09-17 10:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143312640001,"power":14374,"unknown_212":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_44":-117304666397833216}} 
[2026-09-17 10:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":185167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854796,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:50:08] local.INFO: GPS data processed {"connection_id":185167,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:50:08] local.INFO: Acknowledgment sent {"connection_id":185167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:50:08] local.INFO: TCP Data received {"connection_id":185167,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcdb230012cfe268007050dc0000b01392a..."} 
[2026-09-17 10:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcdb230012cfe268007050dc0000b01392a..."} 
[2026-09-17 10:50:08] local.INFO: Processing buffer {"connection_id":185167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcdb230012cfe268007050dc0000b01392a..."} 
[2026-09-17 10:50:08] local.INFO: Packet analysis {"connection_id":185167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:50:08] local.INFO: Extracted packet for processing {"connection_id":185167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcd"} 
[2026-09-17 10:50:08] local.INFO: GPS Element Parsed {"raw_longitude":754853504,"raw_latitude":117771712,"longitude_deg":75.4853504,"latitude_deg":11.7771712,"altitude":11,"angle":313,"satellites":42,"speed":43,"hex_longitude":"2cfe2680","hex_latitude":"07050dc0","is_valid_coordinates":true} 
[2026-09-17 10:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143315200001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32700927509004288,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-125819284441780224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789622334000,"timestamp_ms":1789622334000,"timestamp_seconds":1789622334,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcdb230"} 
[2026-09-17 10:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 10:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143315200001,"66":14461,"213":206,"94":10240,"24":43,"16":32700927509004288,"44":-125819284441780224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 10:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143315200001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:50:08] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 10:50:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32700927509004288,"km_value":32700927509004.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-125819284441780224,"description":"Unknown IO ID 44"} 
[2026-09-17 10:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143315200001,"power":14461,"unknown_213":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-125819284441780224}} 
[2026-09-17 10:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":185167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854797,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:50:09] local.INFO: GPS data processed {"connection_id":185167,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:50:09] local.INFO: Acknowledgment sent {"connection_id":185167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:50:16] local.INFO: TCP Data received {"connection_id":185036,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:50:16] local.INFO: Processing buffer {"connection_id":185036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:50:16] local.INFO: IMEI packet received {"connection_id":185036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":185036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:50:21] local.INFO: TCP Data received {"connection_id":185036,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:50:21] local.INFO: Processing buffer {"connection_id":185036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:50:21] local.INFO: IMEI packet received {"connection_id":185036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":185036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:50:22] local.INFO: TCP Data received {"connection_id":185036,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:50:22] local.INFO: Processing buffer {"connection_id":185036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:50:22] local.INFO: Packet analysis {"connection_id":185036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:50:22] local.INFO: Extracted packet for processing {"connection_id":185036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:50:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":185036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:50:22] local.INFO: GPS data processed {"connection_id":185036,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:50:22] local.INFO: Acknowledgment sent {"connection_id":185036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:50:25] local.INFO: TCP Data received {"connection_id":185035,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adce61f8012d09cb0007241cc80013000722..."} 
[2026-09-17 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adce61f8012d09cb0007241cc80013000722..."} 
[2026-09-17 10:50:25] local.INFO: Processing buffer {"connection_id":185035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adce61f8012d09cb0007241cc80013000722..."} 
[2026-09-17 10:50:25] local.INFO: Packet analysis {"connection_id":185035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adce"} 
[2026-09-17 10:50:25] local.INFO: Extracted packet for processing {"connection_id":185035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adce"} 
[2026-09-17 10:50:25] local.INFO: GPS Element Parsed {"raw_longitude":755616512,"raw_latitude":119807176,"longitude_deg":75.5616512,"latitude_deg":11.9807176,"altitude":19,"angle":7,"satellites":34,"speed":29,"hex_longitude":"2d09cb00","hex_latitude":"07241cc8","is_valid_coordinates":true} 
[2026-09-17 10:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143328768001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21232952511823872,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705587428539877376,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789622379000,"timestamp_ms":1789622379000,"timestamp_seconds":1789622379,"priority":1,"record_length":96,"hex_timestamp":"000001a0adce61f8"} 
[2026-09-17 10:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143328768001,"66":13689,"232":206,"83":44288,"24":29,"16":21232952511823872,"45":705587428539877376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-17 10:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143328768001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:50:25] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-17 10:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21232952511823872,"km_value":21232952511823.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":705587428539877376,"description":"Unknown IO ID 45"} 
[2026-09-17 10:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143328768001,"power":13689,"unknown_232":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":705587428539877376}} 
[2026-09-17 10:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":185035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:50:25] local.INFO: GPS data processed {"connection_id":185035,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:50:25] local.INFO: Acknowledgment sent {"connection_id":185035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:50:40] local.INFO: TCP Data received {"connection_id":185167,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcf0220012cfcb940070647980008012e2e..."} 
[2026-09-17 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcf0220012cfcb940070647980008012e2e..."} 
[2026-09-17 10:50:40] local.INFO: Processing buffer {"connection_id":185167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcf0220012cfcb940070647980008012e2e..."} 
[2026-09-17 10:50:40] local.INFO: Packet analysis {"connection_id":185167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:50:40] local.INFO: Extracted packet for processing {"connection_id":185167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":754760000,"raw_latitude":117852056,"longitude_deg":75.476,"latitude_deg":11.7852056,"altitude":8,"angle":302,"satellites":46,"speed":58,"hex_longitude":"2cfcb940","hex_latitude":"07064798","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143337728001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32706833089036288,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-226798432316004352,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789622420000,"timestamp_ms":1789622420000,"timestamp_seconds":1789622420,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcf0220"} 
[2026-09-17 10:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 10:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143337728001,"66":14407,"213":206,"94":10240,"24":58,"16":32706833089036288,"44":-226798432316004352},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 10:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143337728001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:50:40] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 10:50:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32706833089036288,"km_value":32706833089036.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-226798432316004352,"description":"Unknown IO ID 44"} 
[2026-09-17 10:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143337728001,"power":14407,"unknown_213":206,"unknown_94":10240,"ignition":58,"odometer":null,"unknown_44":-226798432316004352}} 
[2026-09-17 10:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":185167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854800,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:50:40] local.INFO: GPS data processed {"connection_id":185167,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:50:40] local.INFO: Acknowledgment sent {"connection_id":185167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:50:48] local.INFO: TCP Data received {"connection_id":185037,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:48] local.INFO: Processing buffer {"connection_id":185037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:48] local.INFO: IMEI packet received {"connection_id":185037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":185037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:50:50] local.INFO: TCP Data received {"connection_id":185037,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:50] local.INFO: Processing buffer {"connection_id":185037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:50] local.INFO: IMEI packet received {"connection_id":185037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":185037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:50:52] local.INFO: TCP Data received {"connection_id":185037,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:52] local.INFO: Processing buffer {"connection_id":185037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:52] local.INFO: IMEI packet received {"connection_id":185037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":185037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:50:53] local.INFO: TCP Data received {"connection_id":185037,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:53] local.INFO: Processing buffer {"connection_id":185037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:50:53] local.INFO: IMEI packet received {"connection_id":185037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":185037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:50:53] local.INFO: TCP Data received {"connection_id":185037,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adce65e0012d09ca4007241fd80013015e23..."} 
[2026-09-17 10:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adce65e0012d09ca4007241fd80013015e23..."} 
[2026-09-17 10:50:53] local.INFO: Processing buffer {"connection_id":185037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adce65e0012d09ca4007241fd80013015e23..."} 
[2026-09-17 10:50:53] local.INFO: Packet analysis {"connection_id":185037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adce"} 
[2026-09-17 10:50:53] local.INFO: Extracted packet for processing {"connection_id":185037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adce"} 
[2026-09-17 10:50:53] local.INFO: GPS Element Parsed {"raw_longitude":755616320,"raw_latitude":119807960,"longitude_deg":75.561632,"latitude_deg":11.980796,"altitude":19,"angle":350,"satellites":35,"speed":29,"hex_longitude":"2d09ca40","hex_latitude":"07241fd8","is_valid_coordinates":true} 
[2026-09-17 10:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143329024001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21232991166529536,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705657797284251648,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789622380000,"timestamp_ms":1789622380000,"timestamp_seconds":1789622380,"priority":1,"record_length":96,"hex_timestamp":"000001a0adce65e0"} 
[2026-09-17 10:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-17 10:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143329024001,"66":13689,"232":206,"83":44288,"24":29,"16":21232991166529536,"45":705657797284251648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-17 10:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143329024001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:50:53] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-17 10:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21232991166529536,"km_value":21232991166529.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":705657797284251648,"description":"Unknown IO ID 45"} 
[2026-09-17 10:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143329024001,"power":13689,"unknown_232":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":705657797284251648}} 
[2026-09-17 10:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":185037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:50:53] local.INFO: GPS data processed {"connection_id":185037,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:50:53] local.INFO: Acknowledgment sent {"connection_id":185037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:50:53] local.INFO: TCP Data received {"connection_id":185036,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:50:53] local.INFO: Processing buffer {"connection_id":185036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:50:53] local.INFO: Packet analysis {"connection_id":185036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:50:53] local.INFO: Extracted packet for processing {"connection_id":185036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:50:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":185036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:50:53] local.INFO: GPS data processed {"connection_id":185036,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:50:53] local.INFO: Acknowledgment sent {"connection_id":185036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:50:54] local.INFO: TCP Data received {"connection_id":185037,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adce6db0012d09c640072426c80013014e23..."} 
[2026-09-17 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adce6db0012d09c640072426c80013014e23..."} 
[2026-09-17 10:50:54] local.INFO: Processing buffer {"connection_id":185037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adce6db0012d09c640072426c80013014e23..."} 
[2026-09-17 10:50:54] local.INFO: Packet analysis {"connection_id":185037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adce"} 
[2026-09-17 10:50:54] local.INFO: Extracted packet for processing {"connection_id":185037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adce"} 
[2026-09-17 10:50:54] local.INFO: GPS Element Parsed {"raw_longitude":755615296,"raw_latitude":119809736,"longitude_deg":75.5615296,"latitude_deg":11.9809736,"altitude":19,"angle":334,"satellites":35,"speed":39,"hex_longitude":"2d09c640","hex_latitude":"072426c8","is_valid_coordinates":true} 
[2026-09-17 10:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143329280001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21233089950777344,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705446691051919360,"note":"Value kept but may cause issues"} 
[2026-09-17 10:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789622382000,"timestamp_ms":1789622382000,"timestamp_seconds":1789622382,"priority":1,"record_length":96,"hex_timestamp":"000001a0adce6db0"} 
[2026-09-17 10:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-17 10:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143329280001,"66":14102,"232":206,"83":44288,"24":39,"16":21233089950777344,"45":705446691051919360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-17 10:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143329280001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:50:54] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-17 10:50:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21233089950777344,"km_value":21233089950777.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":705446691051919360,"description":"Unknown IO ID 45"} 
[2026-09-17 10:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143329280001,"power":14102,"unknown_232":206,"unknown_83":44288,"ignition":39,"odometer":null,"unknown_45":705446691051919360}} 
[2026-09-17 10:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":185037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:50:54] local.INFO: GPS data processed {"connection_id":185037,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:50:54] local.INFO: Acknowledgment sent {"connection_id":185037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:50:56] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:56] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:56] local.INFO: IMEI packet received {"connection_id":185038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":185038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:50:58] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:58] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:50:58] local.INFO: IMEI packet received {"connection_id":185038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":185038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:51:02] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:51:02] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:51:02] local.INFO: IMEI packet received {"connection_id":185038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":185038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:51:03] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcf1d78012cfc950007065b18000901272e..."} 
[2026-09-17 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcf1d78012cfc950007065b18000901272e..."} 
[2026-09-17 10:51:03] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcf1d78012cfc950007065b18000901272e..."} 
[2026-09-17 10:51:03] local.INFO: Packet analysis {"connection_id":185038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:03] local.INFO: Extracted packet for processing {"connection_id":185038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:03] local.INFO: GPS Element Parsed {"raw_longitude":754750720,"raw_latitude":117857048,"longitude_deg":75.475072,"latitude_deg":11.7857048,"altitude":9,"angle":295,"satellites":46,"speed":59,"hex_longitude":"2cfc9500","hex_latitude":"07065b18","is_valid_coordinates":true} 
[2026-09-17 10:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143339520001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32707335600209920,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-236087106545936384,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789622427000,"timestamp_ms":1789622427000,"timestamp_seconds":1789622427,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcf1d78"} 
[2026-09-17 10:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 10:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143339520001,"66":14461,"213":206,"94":10240,"24":59,"16":32707335600209920,"44":-236087106545936384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 10:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143339520001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:51:03] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 10:51:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32707335600209920,"km_value":32707335600209.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-236087106545936384,"description":"Unknown IO ID 44"} 
[2026-09-17 10:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143339520001,"power":14461,"unknown_213":206,"unknown_94":10240,"ignition":59,"odometer":null,"unknown_44":-236087106545936384}} 
[2026-09-17 10:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":185038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:51:03] local.INFO: GPS data processed {"connection_id":185038,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:51:03] local.INFO: Acknowledgment sent {"connection_id":185038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:51:04] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcf38d0012cfc6f0007066a48000901212d..."} 
[2026-09-17 10:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcf38d0012cfc6f0007066a48000901212d..."} 
[2026-09-17 10:51:04] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcf38d0012cfc6f0007066a48000901212d..."} 
[2026-09-17 10:51:04] local.INFO: Packet analysis {"connection_id":185038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:04] local.INFO: Extracted packet for processing {"connection_id":185038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:04] local.INFO: GPS Element Parsed {"raw_longitude":754740992,"raw_latitude":117860936,"longitude_deg":75.4740992,"latitude_deg":11.7860936,"altitude":9,"angle":289,"satellites":45,"speed":58,"hex_longitude":"2cfc6f00","hex_latitude":"07066a48","is_valid_coordinates":true} 
[2026-09-17 10:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143341312001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32707833816416256,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-246290574450419712,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789622434000,"timestamp_ms":1789622434000,"timestamp_seconds":1789622434,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcf38d0"} 
[2026-09-17 10:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 10:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143341312001,"66":14515,"213":206,"94":10240,"24":58,"16":32707833816416256,"44":-246290574450419712},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 10:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143341312001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:51:04] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 10:51:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32707833816416256,"km_value":32707833816416.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-246290574450419712,"description":"Unknown IO ID 44"} 
[2026-09-17 10:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143341312001,"power":14515,"unknown_213":206,"unknown_94":10240,"ignition":58,"odometer":null,"unknown_44":-246290574450419712}} 
[2026-09-17 10:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":185038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854805,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:51:04] local.INFO: GPS data processed {"connection_id":185038,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:51:04] local.INFO: Acknowledgment sent {"connection_id":185038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:51:17] local.INFO: TCP Data received {"connection_id":187781,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:51:17] local.INFO: Processing buffer {"connection_id":187781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:51:17] local.INFO: IMEI packet received {"connection_id":187781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":187781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:51:21] local.INFO: TCP Data received {"connection_id":187781,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:51:21] local.INFO: Processing buffer {"connection_id":187781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:51:21] local.INFO: IMEI packet received {"connection_id":187781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":187781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:51:25] local.INFO: TCP Data received {"connection_id":185037,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcf38d0012d09458007245540000d011c22..."} 
[2026-09-17 10:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcf38d0012d09458007245540000d011c22..."} 
[2026-09-17 10:51:25] local.INFO: Processing buffer {"connection_id":185037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcf38d0012d09458007245540000d011c22..."} 
[2026-09-17 10:51:25] local.INFO: Packet analysis {"connection_id":185037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:25] local.INFO: Extracted packet for processing {"connection_id":185037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:25] local.INFO: GPS Element Parsed {"raw_longitude":755582336,"raw_latitude":119821632,"longitude_deg":75.5582336,"latitude_deg":11.9821632,"altitude":13,"angle":284,"satellites":34,"speed":36,"hex_longitude":"2d094580","hex_latitude":"07245540","is_valid_coordinates":true} 
[2026-09-17 10:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143342592001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21235284679065600,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":670121581478193152,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789622434000,"timestamp_ms":1789622434000,"timestamp_seconds":1789622434,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcf38d0"} 
[2026-09-17 10:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 10:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143342592001,"66":13993,"233":206,"83":44288,"24":36,"16":21235284679065600,"45":670121581478193152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-17 10:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143342592001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:51:25] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-17 10:51:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21235284679065600,"km_value":21235284679065.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":670121581478193152,"description":"Unknown IO ID 45"} 
[2026-09-17 10:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143342592001,"power":13993,"unknown_233":206,"unknown_83":44288,"ignition":36,"odometer":null,"unknown_45":670121581478193152}} 
[2026-09-17 10:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":185037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:51:25] local.INFO: GPS data processed {"connection_id":185037,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:51:25] local.INFO: Acknowledgment sent {"connection_id":185037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:51:28] local.INFO: TCP Data received {"connection_id":187781,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:51:28] local.INFO: Processing buffer {"connection_id":187781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:51:28] local.INFO: Packet analysis {"connection_id":187781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:51:28] local.INFO: Extracted packet for processing {"connection_id":187781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:51:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:51:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":187781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:51:28] local.INFO: GPS data processed {"connection_id":187781,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:51:28] local.INFO: Acknowledgment sent {"connection_id":187781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:51:31] local.INFO: TCP Data received {"connection_id":187781,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:51:31] local.INFO: Processing buffer {"connection_id":187781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:51:31] local.INFO: Packet analysis {"connection_id":187781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:51:31] local.INFO: Extracted packet for processing {"connection_id":187781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":187781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:51:31] local.INFO: GPS data processed {"connection_id":187781,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:51:31] local.INFO: Acknowledgment sent {"connection_id":187781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:51:35] local.INFO: TCP Data received {"connection_id":185038,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcf5428012cfc4700070674f8000801192e..."} 
[2026-09-17 10:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcf5428012cfc4700070674f8000801192e..."} 
[2026-09-17 10:51:35] local.INFO: Processing buffer {"connection_id":185038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcf5428012cfc4700070674f8000801192e..."} 
[2026-09-17 10:51:35] local.INFO: Packet analysis {"connection_id":185038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:35] local.INFO: Extracted packet for processing {"connection_id":185038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:35] local.INFO: GPS Element Parsed {"raw_longitude":754730752,"raw_latitude":117863672,"longitude_deg":75.4730752,"latitude_deg":11.7863672,"altitude":8,"angle":281,"satellites":46,"speed":59,"hex_longitude":"2cfc4700","hex_latitude":"070674f8","is_valid_coordinates":true} 
[2026-09-17 10:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143343104001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32708340622557184,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-256986623564429312,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789622441000,"timestamp_ms":1789622441000,"timestamp_seconds":1789622441,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcf5428"} 
[2026-09-17 10:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 10:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143343104001,"66":14461,"213":206,"94":10240,"24":59,"16":32708340622557184,"44":-256986623564429312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 10:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143343104001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:51:35] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 10:51:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32708340622557184,"km_value":32708340622557.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:51:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-256986623564429312,"description":"Unknown IO ID 44"} 
[2026-09-17 10:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143343104001,"power":14461,"unknown_213":206,"unknown_94":10240,"ignition":59,"odometer":null,"unknown_44":-256986623564429312}} 
[2026-09-17 10:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":185038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:51:35] local.INFO: GPS data processed {"connection_id":185038,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:51:35] local.INFO: Acknowledgment sent {"connection_id":185038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:51:48] local.INFO: TCP Data received {"connection_id":187782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:51:48] local.INFO: Processing buffer {"connection_id":187782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:51:48] local.INFO: IMEI packet received {"connection_id":187782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":187782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:51:53] local.INFO: TCP Data received {"connection_id":187782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:51:53] local.INFO: Processing buffer {"connection_id":187782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:51:53] local.INFO: IMEI packet received {"connection_id":187782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":187782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:51:54] local.INFO: TCP Data received {"connection_id":187782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcf40a0012d093f4007245910000e013221..."} 
[2026-09-17 10:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcf40a0012d093f4007245910000e013221..."} 
[2026-09-17 10:51:54] local.INFO: Processing buffer {"connection_id":187782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcf40a0012d093f4007245910000e013221..."} 
[2026-09-17 10:51:54] local.INFO: Packet analysis {"connection_id":187782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:54] local.INFO: Extracted packet for processing {"connection_id":187782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:51:54] local.INFO: GPS Element Parsed {"raw_longitude":755580736,"raw_latitude":119822608,"longitude_deg":75.5580736,"latitude_deg":11.9822608,"altitude":14,"angle":306,"satellites":33,"speed":37,"hex_longitude":"2d093f40","hex_latitude":"07245910","is_valid_coordinates":true} 
[2026-09-17 10:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143343104001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21235374873378816,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":668080887897079808,"note":"Value kept but may cause issues"} 
[2026-09-17 10:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789622436000,"timestamp_ms":1789622436000,"timestamp_seconds":1789622436,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcf40a0"} 
[2026-09-17 10:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 10:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143343104001,"66":14070,"233":206,"83":44288,"24":37,"16":21235374873378816,"45":668080887897079808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-17 10:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143343104001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:51:54] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-17 10:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21235374873378816,"km_value":21235374873378.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":668080887897079808,"description":"Unknown IO ID 45"} 
[2026-09-17 10:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143343104001,"power":14070,"unknown_233":206,"unknown_83":44288,"ignition":37,"odometer":null,"unknown_45":668080887897079808}} 
[2026-09-17 10:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":187782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:51:54] local.INFO: GPS data processed {"connection_id":187782,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:51:54] local.INFO: Acknowledgment sent {"connection_id":187782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:51:57] local.INFO: TCP Data received {"connection_id":185039,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185039,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:51:57] local.INFO: Processing buffer {"connection_id":185039,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:51:57] local.INFO: IMEI packet received {"connection_id":185039,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":185039,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:52:02] local.INFO: TCP Data received {"connection_id":185039,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185039,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:52:02] local.INFO: Processing buffer {"connection_id":185039,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:52:02] local.INFO: IMEI packet received {"connection_id":185039,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":185039,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:52:03] local.INFO: TCP Data received {"connection_id":185039,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcf6f80012cfc1e8007067af8000801142c..."} 
[2026-09-17 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcf6f80012cfc1e8007067af8000801142c..."} 
[2026-09-17 10:52:03] local.INFO: Processing buffer {"connection_id":185039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcf6f80012cfc1e8007067af8000801142c..."} 
[2026-09-17 10:52:03] local.INFO: Packet analysis {"connection_id":185039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:52:03] local.INFO: Extracted packet for processing {"connection_id":185039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":754720384,"raw_latitude":117865208,"longitude_deg":75.4720384,"latitude_deg":11.7865208,"altitude":8,"angle":276,"satellites":44,"speed":59,"hex_longitude":"2cfc1e80","hex_latitude":"07067af8","is_valid_coordinates":true} 
[2026-09-17 10:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143344896001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32708838838763520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-268245622632155136,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789622448000,"timestamp_ms":1789622448000,"timestamp_seconds":1789622448,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcf6f80"} 
[2026-09-17 10:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 10:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143344896001,"66":14515,"213":206,"94":10240,"24":59,"16":32708838838763520,"44":-268245622632155136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 10:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143344896001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:52:03] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 10:52:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32708838838763520,"km_value":32708838838763.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:52:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-268245622632155136,"description":"Unknown IO ID 44"} 
[2026-09-17 10:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143344896001,"power":14515,"unknown_213":206,"unknown_94":10240,"ignition":59,"odometer":null,"unknown_44":-268245622632155136}} 
[2026-09-17 10:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":185039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:52:03] local.INFO: GPS data processed {"connection_id":185039,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:52:03] local.INFO: Acknowledgment sent {"connection_id":185039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:52:05] local.INFO: TCP Data received {"connection_id":186461,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:52:05] local.INFO: Processing buffer {"connection_id":186461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:52:05] local.INFO: IMEI packet received {"connection_id":186461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":186461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:52:16] local.INFO: TCP Data received {"connection_id":185168,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:52:16] local.INFO: Processing buffer {"connection_id":185168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:52:16] local.INFO: IMEI packet received {"connection_id":185168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":185168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:52:21] local.INFO: TCP Data received {"connection_id":185168,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:52:21] local.INFO: Processing buffer {"connection_id":185168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:52:21] local.INFO: IMEI packet received {"connection_id":185168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":185168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:52:22] local.INFO: TCP Data received {"connection_id":185168,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:52:22] local.INFO: Processing buffer {"connection_id":185168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcbf0f8012d34c14006aa4438000c01012d..."} 
[2026-09-17 10:52:22] local.INFO: Packet analysis {"connection_id":185168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:52:22] local.INFO: Extracted packet for processing {"connection_id":185168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcb"} 
[2026-09-17 10:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143211264001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622219000,"timestamp_ms":1789622219000,"timestamp_seconds":1789622219,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcbf0f8"} 
[2026-09-17 10:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 10:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143211264001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143211264001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:52:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143211264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":185168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:52:22] local.INFO: GPS data processed {"connection_id":185168,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:52:22] local.INFO: Acknowledgment sent {"connection_id":185168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:52:26] local.INFO: TCP Data received {"connection_id":187782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adcf4488012d093c8007245c38000e013d21..."} 
[2026-09-17 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adcf4488012d093c8007245c38000e013d21..."} 
[2026-09-17 10:52:26] local.INFO: Processing buffer {"connection_id":187782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adcf4488012d093c8007245c38000e013d21..."} 
[2026-09-17 10:52:26] local.INFO: Packet analysis {"connection_id":187782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:52:26] local.INFO: Extracted packet for processing {"connection_id":187782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adcf"} 
[2026-09-17 10:52:26] local.INFO: GPS Element Parsed {"raw_longitude":755580032,"raw_latitude":119823416,"longitude_deg":75.5580032,"latitude_deg":11.9823416,"altitude":14,"angle":317,"satellites":33,"speed":38,"hex_longitude":"2d093c80","hex_latitude":"07245c38","is_valid_coordinates":true} 
[2026-09-17 10:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143343616001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21235426412986368,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":666321669292888064,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789622437000,"timestamp_ms":1789622437000,"timestamp_seconds":1789622437,"priority":1,"record_length":96,"hex_timestamp":"000001a0adcf4488"} 
[2026-09-17 10:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 10:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143343616001,"66":14070,"233":206,"83":44288,"24":38,"16":21235426412986368,"45":666321669292888064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-17 10:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143343616001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:52:26] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-17 10:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21235426412986368,"km_value":21235426412986.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":666321669292888064,"description":"Unknown IO ID 45"} 
[2026-09-17 10:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143343616001,"power":14070,"unknown_233":206,"unknown_83":44288,"ignition":38,"odometer":null,"unknown_45":666321669292888064}} 
[2026-09-17 10:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":187782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:52:26] local.INFO: GPS data processed {"connection_id":187782,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:52:26] local.INFO: Acknowledgment sent {"connection_id":187782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:52:34] local.INFO: TCP Data received {"connection_id":185039,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add0c740012cfa23000706ac58000801152e..."} 
[2026-09-17 10:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add0c740012cfa23000706ac58000801152e..."} 
[2026-09-17 10:52:34] local.INFO: Processing buffer {"connection_id":185039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add0c740012cfa23000706ac58000801152e..."} 
[2026-09-17 10:52:34] local.INFO: Packet analysis {"connection_id":185039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:52:34] local.INFO: Extracted packet for processing {"connection_id":185039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:52:34] local.INFO: GPS Element Parsed {"raw_longitude":754590464,"raw_latitude":117877848,"longitude_deg":75.4590464,"latitude_deg":11.7877848,"altitude":8,"angle":277,"satellites":46,"speed":59,"hex_longitude":"2cfa2300","hex_latitude":"0706ac58","is_valid_coordinates":true} 
[2026-09-17 10:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143367424001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32715032181604352,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-411657123262904320,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789622536000,"timestamp_ms":1789622536000,"timestamp_seconds":1789622536,"priority":1,"record_length":96,"hex_timestamp":"000001a0add0c740"} 
[2026-09-17 10:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143367424001,"66":14450,"239":206,"94":10240,"24":59,"16":32715032181604352,"44":-411657123262904320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,94,24,16,44]} 
[2026-09-17 10:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143367424001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:52:34] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-17 10:52:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32715032181604352,"km_value":32715032181604.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:52:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-411657123262904320,"description":"Unknown IO ID 44"} 
[2026-09-17 10:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143367424001,"power":14450,"unknown_239":206,"unknown_94":10240,"ignition":59,"odometer":null,"unknown_44":-411657123262904320}} 
[2026-09-17 10:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":185039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:52:35] local.INFO: GPS data processed {"connection_id":185039,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:52:35] local.INFO: Acknowledgment sent {"connection_id":185039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:52:50] local.INFO: TCP Data received {"connection_id":185040,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:52:50] local.INFO: Processing buffer {"connection_id":185040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:52:50] local.INFO: IMEI packet received {"connection_id":185040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":185040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:52:52] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:52:52] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:52:52] local.INFO: IMEI packet received {"connection_id":187783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":187783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:52:53] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:52:53] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:52:53] local.INFO: IMEI packet received {"connection_id":187783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":187783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:52:55] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:52:55] local.INFO: TCP Data received {"connection_id":185168,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:52:55] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:52:55] local.INFO: IMEI packet received {"connection_id":187783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":187783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:52:55] local.INFO: Processing buffer {"connection_id":185168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:52:55] local.INFO: Packet analysis {"connection_id":185168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:52:55] local.INFO: Extracted packet for processing {"connection_id":185168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:52:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:52:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":185168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:52:55] local.INFO: GPS data processed {"connection_id":185168,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:52:55] local.INFO: Acknowledgment sent {"connection_id":185168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:52:55] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add03e88012d087a000724ab100016013f1f..."} 
[2026-09-17 10:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add03e88012d087a000724ab100016013f1f..."} 
[2026-09-17 10:52:55] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add03e88012d087a000724ab100016013f1f..."} 
[2026-09-17 10:52:55] local.INFO: Packet analysis {"connection_id":187783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:52:55] local.INFO: Extracted packet for processing {"connection_id":187783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:52:55] local.INFO: GPS Element Parsed {"raw_longitude":755530240,"raw_latitude":119843600,"longitude_deg":75.553024,"latitude_deg":11.98436,"altitude":22,"angle":319,"satellites":31,"speed":30,"hex_longitude":"2d087a00","hex_latitude":"0724ab10","is_valid_coordinates":true} 
[2026-09-17 10:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21238188076957696,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":612137736281157632,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789622501000,"timestamp_ms":1789622501000,"timestamp_seconds":1789622501,"priority":1,"record_length":96,"hex_timestamp":"000001a0add03e88"} 
[2026-09-17 10:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-17 10:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143359744001,"66":14265,"128":206,"83":44288,"24":30,"16":21238188076957696,"45":612137736281157632},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-09-17 10:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:52:55] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-17 10:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21238188076957696,"km_value":21238188076957.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":612137736281157632,"description":"Unknown IO ID 45"} 
[2026-09-17 10:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143359744001,"power":14265,"unknown_128":206,"unknown_83":44288,"ignition":30,"odometer":null,"unknown_45":612137736281157632}} 
[2026-09-17 10:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":187783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:52:56] local.INFO: GPS data processed {"connection_id":187783,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:52:56] local.INFO: Acknowledgment sent {"connection_id":187783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:52:57] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add06980012d0869000724c6800013014b1f..."} 
[2026-09-17 10:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add06980012d0869000724c6800013014b1f..."} 
[2026-09-17 10:52:57] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add06980012d0869000724c6800013014b1f..."} 
[2026-09-17 10:52:57] local.INFO: Packet analysis {"connection_id":187783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:52:57] local.INFO: Extracted packet for processing {"connection_id":187783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:52:57] local.INFO: GPS Element Parsed {"raw_longitude":755525888,"raw_latitude":119850624,"longitude_deg":75.5525888,"latitude_deg":11.9850624,"altitude":19,"angle":331,"satellites":31,"speed":28,"hex_longitude":"2d086900","hex_latitude":"0724c680","is_valid_coordinates":true} 
[2026-09-17 10:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143360256001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21238587508916224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":610800730142085120,"note":"Value kept but may cause issues"} 
[2026-09-17 10:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789622512000,"timestamp_ms":1789622512000,"timestamp_seconds":1789622512,"priority":1,"record_length":96,"hex_timestamp":"000001a0add06980"} 
[2026-09-17 10:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 10:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143360256001,"66":14352,"129":206,"83":44288,"24":28,"16":21238587508916224,"45":610800730142085120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-09-17 10:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143360256001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:52:57] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-17 10:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21238587508916224,"km_value":21238587508916.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":610800730142085120,"description":"Unknown IO ID 45"} 
[2026-09-17 10:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143360256001,"power":14352,"unknown_129":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":610800730142085120}} 
[2026-09-17 10:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":187783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:52:57] local.INFO: GPS data processed {"connection_id":187783,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:52:57] local.INFO: Acknowledgment sent {"connection_id":187783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:52:58] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:52:58] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:52:58] local.INFO: IMEI packet received {"connection_id":185169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":185169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:53:02] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:02] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:02] local.INFO: IMEI packet received {"connection_id":185169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":185169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:53:04] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:04] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:04] local.INFO: IMEI packet received {"connection_id":185169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":185169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:53:05] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add0e298012cf9fa800706b1d0000901162f..."} 
[2026-09-17 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add0e298012cf9fa800706b1d0000901162f..."} 
[2026-09-17 10:53:05] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add0e298012cf9fa800706b1d0000901162f..."} 
[2026-09-17 10:53:05] local.INFO: Packet analysis {"connection_id":185169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:53:05] local.INFO: Extracted packet for processing {"connection_id":185169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":754580096,"raw_latitude":117879248,"longitude_deg":75.4580096,"latitude_deg":11.7879248,"altitude":9,"angle":278,"satellites":47,"speed":59,"hex_longitude":"2cf9fa80","hex_latitude":"0706b1d0","is_valid_coordinates":true} 
[2026-09-17 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143369216001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32715530397810688,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-422493909865965568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789622543000,"timestamp_ms":1789622543000,"timestamp_seconds":1789622543,"priority":1,"record_length":96,"hex_timestamp":"000001a0add0e298"} 
[2026-09-17 10:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143369216001,"66":14450,"239":206,"94":10240,"24":59,"16":32715530397810688,"44":-422493909865965568},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,94,24,16,44]} 
[2026-09-17 10:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143369216001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:53:05] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-17 10:53:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32715530397810688,"km_value":32715530397810.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-422493909865965568,"description":"Unknown IO ID 44"} 
[2026-09-17 10:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143369216001,"power":14450,"unknown_239":206,"unknown_94":10240,"ignition":59,"odometer":null,"unknown_44":-422493909865965568}} 
[2026-09-17 10:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":185169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854818,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:53:05] local.INFO: GPS data processed {"connection_id":185169,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:53:05] local.INFO: Acknowledgment sent {"connection_id":185169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:53:08] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add0fdf0012cf9d2800706b9e8000c011e2f..."} 
[2026-09-17 10:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add0fdf0012cf9d2800706b9e8000c011e2f..."} 
[2026-09-17 10:53:08] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add0fdf0012cf9d2800706b9e8000c011e2f..."} 
[2026-09-17 10:53:08] local.INFO: Packet analysis {"connection_id":185169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:53:08] local.INFO: Extracted packet for processing {"connection_id":185169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:53:08] local.INFO: GPS Element Parsed {"raw_longitude":754569856,"raw_latitude":117881320,"longitude_deg":75.4569856,"latitude_deg":11.788132,"altitude":12,"angle":286,"satellites":47,"speed":58,"hex_longitude":"2cf9d280","hex_latitude":"0706b9e8","is_valid_coordinates":true} 
[2026-09-17 10:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143371008001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32716024319049728,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-433893646422388736,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789622550000,"timestamp_ms":1789622550000,"timestamp_seconds":1789622550,"priority":1,"record_length":96,"hex_timestamp":"000001a0add0fdf0"} 
[2026-09-17 10:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143371008001,"66":14450,"239":206,"94":10240,"24":58,"16":32716024319049728,"44":-433893646422388736},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,94,24,16,44]} 
[2026-09-17 10:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143371008001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:53:08] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-17 10:53:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 10:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32716024319049728,"km_value":32716024319049.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:53:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-433893646422388736,"description":"Unknown IO ID 44"} 
[2026-09-17 10:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143371008001,"power":14450,"unknown_239":206,"unknown_94":10240,"ignition":58,"odometer":null,"unknown_44":-433893646422388736}} 
[2026-09-17 10:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":185169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:53:08] local.INFO: GPS data processed {"connection_id":185169,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:53:08] local.INFO: Acknowledgment sent {"connection_id":185169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:53:16] local.INFO: TCP Data received {"connection_id":186462,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:53:16] local.INFO: Processing buffer {"connection_id":186462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:53:16] local.INFO: IMEI packet received {"connection_id":186462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":186462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:53:21] local.INFO: TCP Data received {"connection_id":186462,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:53:21] local.INFO: Processing buffer {"connection_id":186462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:53:21] local.INFO: IMEI packet received {"connection_id":186462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":186462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:53:21] local.INFO: TCP Data received {"connection_id":186462,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:53:21] local.INFO: Processing buffer {"connection_id":186462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:53:21] local.INFO: Packet analysis {"connection_id":186462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:53:21] local.INFO: Extracted packet for processing {"connection_id":186462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:53:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":186462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:53:21] local.INFO: GPS data processed {"connection_id":186462,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:53:21] local.INFO: Acknowledgment sent {"connection_id":186462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:53:28] local.INFO: TCP Data received {"connection_id":187783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add12118012d07ee4007250c50001401411f..."} 
[2026-09-17 10:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add12118012d07ee4007250c50001401411f..."} 
[2026-09-17 10:53:28] local.INFO: Processing buffer {"connection_id":187783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add12118012d07ee4007250c50001401411f..."} 
[2026-09-17 10:53:28] local.INFO: Packet analysis {"connection_id":187783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:53:28] local.INFO: Extracted packet for processing {"connection_id":187783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":755494464,"raw_latitude":119868496,"longitude_deg":75.5494464,"latitude_deg":11.9868496,"altitude":20,"angle":321,"satellites":31,"speed":29,"hex_longitude":"2d07ee40","hex_latitude":"07250c50","is_valid_coordinates":true} 
[2026-09-17 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143374336001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21240417164984320,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573153452012988416,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789622559000,"timestamp_ms":1789622559000,"timestamp_seconds":1789622559,"priority":1,"record_length":96,"hex_timestamp":"000001a0add12118"} 
[2026-09-17 10:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 10:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143374336001,"66":13939,"251":206,"83":44288,"24":29,"16":21240417164984320,"45":573153452012988416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-17 10:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143374336001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:53:28] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 10:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21240417164984320,"km_value":21240417164984.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":573153452012988416,"description":"Unknown IO ID 45"} 
[2026-09-17 10:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143374336001,"power":13939,"unknown_251":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":573153452012988416}} 
[2026-09-17 10:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":187783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:53:28] local.INFO: GPS data processed {"connection_id":187783,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:53:28] local.INFO: Acknowledgment sent {"connection_id":187783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:53:39] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add11560012cf9b2800706c6d8000d012a2f..."} 
[2026-09-17 10:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add11560012cf9b2800706c6d8000d012a2f..."} 
[2026-09-17 10:53:39] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add11560012cf9b2800706c6d8000d012a2f..."} 
[2026-09-17 10:53:39] local.INFO: Packet analysis {"connection_id":185169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:53:39] local.INFO: Extracted packet for processing {"connection_id":185169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:53:39] local.INFO: GPS Element Parsed {"raw_longitude":754561664,"raw_latitude":117884632,"longitude_deg":75.4561664,"latitude_deg":11.7884632,"altitude":13,"angle":298,"satellites":47,"speed":57,"hex_longitude":"2cf9b280","hex_latitude":"0706c6d8","is_valid_coordinates":true} 
[2026-09-17 10:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143372800001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32716445225844736,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-445152645490284544,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789622556000,"timestamp_ms":1789622556000,"timestamp_seconds":1789622556,"priority":1,"record_length":96,"hex_timestamp":"000001a0add11560"} 
[2026-09-17 10:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 10:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143372800001,"66":14450,"83":41728,"24":57,"16":32716445225844736,"44":-445152645490284544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-17 10:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143372800001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:53:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32716445225844736,"km_value":32716445225844.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:53:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-445152645490284544,"description":"Unknown IO ID 44"} 
[2026-09-17 10:53:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458143372800001,"power":14450,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-445152645490284544}} 
[2026-09-17 10:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":185169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:53:39] local.INFO: GPS data processed {"connection_id":185169,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:53:39] local.INFO: Acknowledgment sent {"connection_id":185169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:53:45] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:45] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:45] local.INFO: IMEI packet received {"connection_id":186463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":186463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:53:48] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:48] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:48] local.INFO: IMEI packet received {"connection_id":186463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":186463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:53:48] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:48] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:48] local.INFO: IMEI packet received {"connection_id":186463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":186463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:53:49] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:49] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:53:49] local.INFO: IMEI packet received {"connection_id":186463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":186463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:53:49] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add186a8012d07c940072542800014014120..."} 
[2026-09-17 10:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add186a8012d07c940072542800014014120..."} 
[2026-09-17 10:53:49] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add186a8012d07c940072542800014014120..."} 
[2026-09-17 10:53:49] local.INFO: Packet analysis {"connection_id":186463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:53:49] local.INFO: Extracted packet for processing {"connection_id":186463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:53:49] local.INFO: GPS Element Parsed {"raw_longitude":755484992,"raw_latitude":119882368,"longitude_deg":75.5484992,"latitude_deg":11.9882368,"altitude":20,"angle":321,"satellites":32,"speed":28,"hex_longitude":"2d07c940","hex_latitude":"07254280","is_valid_coordinates":true} 
[2026-09-17 10:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143381504001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241301928247296,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561472240483307520,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789622585000,"timestamp_ms":1789622585000,"timestamp_seconds":1789622585,"priority":1,"record_length":96,"hex_timestamp":"000001a0add186a8"} 
[2026-09-17 10:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 10:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143381504001,"66":13993,"251":206,"83":44288,"24":28,"16":21241301928247296,"45":561472240483307520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-17 10:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143381504001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:53:49] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 10:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241301928247296,"km_value":21241301928247.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":561472240483307520,"description":"Unknown IO ID 45"} 
[2026-09-17 10:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143381504001,"power":13993,"unknown_251":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":561472240483307520}} 
[2026-09-17 10:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":186463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:53:49] local.INFO: GPS data processed {"connection_id":186463,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:53:49] local.INFO: Acknowledgment sent {"connection_id":186463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:53:50] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add18e78012d07c500072546780013013521..."} 
[2026-09-17 10:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add18e78012d07c500072546780013013521..."} 
[2026-09-17 10:53:50] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add18e78012d07c500072546780013013521..."} 
[2026-09-17 10:53:50] local.INFO: Packet analysis {"connection_id":186463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:53:50] local.INFO: Extracted packet for processing {"connection_id":186463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:53:50] local.INFO: GPS Element Parsed {"raw_longitude":755483904,"raw_latitude":119883384,"longitude_deg":75.5483904,"latitude_deg":11.9883384,"altitude":19,"angle":309,"satellites":33,"speed":27,"hex_longitude":"2d07c500","hex_latitude":"07254678","is_valid_coordinates":true} 
[2026-09-17 10:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143381760001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241370647724032,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561050028018401280,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789622587000,"timestamp_ms":1789622587000,"timestamp_seconds":1789622587,"priority":1,"record_length":96,"hex_timestamp":"000001a0add18e78"} 
[2026-09-17 10:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 10:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143381760001,"66":14048,"251":206,"83":44288,"24":27,"16":21241370647724032,"45":561050028018401280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-17 10:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143381760001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:53:50] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 10:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241370647724032,"km_value":21241370647724.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":561050028018401280,"description":"Unknown IO ID 45"} 
[2026-09-17 10:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143381760001,"power":14048,"unknown_251":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":561050028018401280}} 
[2026-09-17 10:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":186463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:53:50] local.INFO: GPS data processed {"connection_id":186463,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:53:50] local.INFO: Acknowledgment sent {"connection_id":186463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:53:53] local.INFO: TCP Data received {"connection_id":186462,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:53:53] local.INFO: Processing buffer {"connection_id":186462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:53:53] local.INFO: Packet analysis {"connection_id":186462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:53:53] local.INFO: Extracted packet for processing {"connection_id":186462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":186462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:53:53] local.INFO: GPS data processed {"connection_id":186462,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:53:53] local.INFO: Acknowledgment sent {"connection_id":186462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:53:57] local.INFO: TCP Data received {"connection_id":185041,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185041,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:57] local.INFO: Processing buffer {"connection_id":185041,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:57] local.INFO: IMEI packet received {"connection_id":185041,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":185041,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:53:57] local.INFO: TCP Data received {"connection_id":185041,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185041,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:57] local.INFO: Processing buffer {"connection_id":185041,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:53:57] local.INFO: IMEI packet received {"connection_id":185041,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":185041,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:54:02] local.INFO: TCP Data received {"connection_id":185041,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185041,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:54:02] local.INFO: Processing buffer {"connection_id":185041,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:54:02] local.INFO: IMEI packet received {"connection_id":185041,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":185041,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:54:03] local.INFO: TCP Data received {"connection_id":185041,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add21b18012cf8f1000707fbc0000a01442e..."} 
[2026-09-17 10:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add21b18012cf8f1000707fbc0000a01442e..."} 
[2026-09-17 10:54:03] local.INFO: Processing buffer {"connection_id":185041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add21b18012cf8f1000707fbc0000a01442e..."} 
[2026-09-17 10:54:03] local.INFO: Packet analysis {"connection_id":185041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add2"} 
[2026-09-17 10:54:03] local.INFO: Extracted packet for processing {"connection_id":185041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add2"} 
[2026-09-17 10:54:03] local.INFO: GPS Element Parsed {"raw_longitude":754512128,"raw_latitude":117963712,"longitude_deg":75.4512128,"latitude_deg":11.7963712,"altitude":10,"angle":324,"satellites":46,"speed":59,"hex_longitude":"2cf8f100","hex_latitude":"0707fbc0","is_valid_coordinates":true} 
[2026-09-17 10:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143389952001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32721019366014976,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-502784646952550400,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789622623000,"timestamp_ms":1789622623000,"timestamp_seconds":1789622623,"priority":1,"record_length":96,"hex_timestamp":"000001a0add21b18"} 
[2026-09-17 10:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 10:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185041,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185041,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143389952001,"66":14439,"85":206,"83":41728,"24":59,"16":32721019366014976,"44":-502784646952550400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-17 10:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143389952001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-17 10:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32721019366014976,"km_value":32721019366014.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-502784646952550400,"description":"Unknown IO ID 44"} 
[2026-09-17 10:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143389952001,"power":14439,"unknown_85":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-502784646952550400}} 
[2026-09-17 10:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":185041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:54:03] local.INFO: GPS data processed {"connection_id":185041,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:54:03] local.INFO: Acknowledgment sent {"connection_id":185041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:54:16] local.INFO: TCP Data received {"connection_id":185042,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:54:16] local.INFO: Processing buffer {"connection_id":185042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:54:16] local.INFO: IMEI packet received {"connection_id":185042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":185042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:54:21] local.INFO: TCP Data received {"connection_id":185042,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:54:21] local.INFO: Processing buffer {"connection_id":185042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:54:21] local.INFO: IMEI packet received {"connection_id":185042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":185042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:54:21] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add19a30012d07bf4007254c080013014421..."} 
[2026-09-17 10:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add19a30012d07bf4007254c080013014421..."} 
[2026-09-17 10:54:21] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add19a30012d07bf4007254c080013014421..."} 
[2026-09-17 10:54:21] local.INFO: Packet analysis {"connection_id":186463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:54:21] local.INFO: Extracted packet for processing {"connection_id":186463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add1"} 
[2026-09-17 10:54:21] local.INFO: GPS Element Parsed {"raw_longitude":755482432,"raw_latitude":119884808,"longitude_deg":75.5482432,"latitude_deg":11.9884808,"altitude":19,"angle":324,"satellites":33,"speed":26,"hex_longitude":"2d07bf40","hex_latitude":"07254c08","is_valid_coordinates":true} 
[2026-09-17 10:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143382272001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21241473726939136,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":559853759367641088,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789622590000,"timestamp_ms":1789622590000,"timestamp_seconds":1789622590,"priority":1,"record_length":96,"hex_timestamp":"000001a0add19a30"} 
[2026-09-17 10:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 10:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 10:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 10:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 10:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143382272001,"66":14048,"251":206,"83":44288,"24":26,"16":21241473726939136,"45":559853759367641088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-17 10:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 10:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 10:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143382272001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:54:21] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 10:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 10:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21241473726939136,"km_value":21241473726939.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":559853759367641088,"description":"Unknown IO ID 45"} 
[2026-09-17 10:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143382272001,"power":14048,"unknown_251":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":559853759367641088}} 
[2026-09-17 10:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":186463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:54:21] local.INFO: GPS data processed {"connection_id":186463,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:54:21] local.INFO: Acknowledgment sent {"connection_id":186463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:54:22] local.INFO: TCP Data received {"connection_id":185042,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:54:22] local.INFO: Processing buffer {"connection_id":185042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:54:22] local.INFO: Packet analysis {"connection_id":185042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:54:22] local.INFO: Extracted packet for processing {"connection_id":185042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:54:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":185042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:54:22] local.INFO: GPS data processed {"connection_id":185042,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:54:22] local.INFO: Acknowledgment sent {"connection_id":185042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:54:34] local.INFO: TCP Data received {"connection_id":185041,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add23288012cf8dc4007081848000901442c..."} 
[2026-09-17 10:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add23288012cf8dc4007081848000901442c..."} 
[2026-09-17 10:54:34] local.INFO: Processing buffer {"connection_id":185041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add23288012cf8dc4007081848000901442c..."} 
[2026-09-17 10:54:34] local.INFO: Packet analysis {"connection_id":185041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add2"} 
[2026-09-17 10:54:34] local.INFO: Extracted packet for processing {"connection_id":185041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add2"} 
[2026-09-17 10:54:34] local.INFO: GPS Element Parsed {"raw_longitude":754506816,"raw_latitude":117971016,"longitude_deg":75.4506816,"latitude_deg":11.7971016,"altitude":9,"angle":324,"satellites":44,"speed":59,"hex_longitude":"2cf8dc40","hex_latitude":"07081848","is_valid_coordinates":true} 
[2026-09-17 10:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143391488001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32721453157711872,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-508625252717445120,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789622629000,"timestamp_ms":1789622629000,"timestamp_seconds":1789622629,"priority":1,"record_length":96,"hex_timestamp":"000001a0add23288"} 
[2026-09-17 10:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 10:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185041,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185041,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143391488001,"66":14515,"30":206,"83":41728,"24":59,"16":32721453157711872,"44":-508625252717445120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-09-17 10:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143391488001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:54:34] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-17 10:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32721453157711872,"km_value":32721453157711.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:54:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-508625252717445120,"description":"Unknown IO ID 44"} 
[2026-09-17 10:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143391488001,"power":14515,"unknown_30":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-508625252717445120}} 
[2026-09-17 10:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":185041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:54:34] local.INFO: GPS data processed {"connection_id":185041,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:54:34] local.INFO: Acknowledgment sent {"connection_id":185041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:54:46] local.INFO: TCP Data received {"connection_id":185170,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:46] local.INFO: Processing buffer {"connection_id":185170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:46] local.INFO: IMEI packet received {"connection_id":185170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":185170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:54:48] local.INFO: TCP Data received {"connection_id":185170,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:48] local.INFO: Processing buffer {"connection_id":185170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:48] local.INFO: IMEI packet received {"connection_id":185170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":185170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:54:48] local.INFO: TCP Data received {"connection_id":185170,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:48] local.INFO: Processing buffer {"connection_id":185170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:48] local.INFO: IMEI packet received {"connection_id":185170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":185170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:54:49] local.INFO: TCP Data received {"connection_id":185170,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:49] local.INFO: Processing buffer {"connection_id":185170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:54:49] local.INFO: IMEI packet received {"connection_id":185170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":185170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:54:55] local.INFO: TCP Data received {"connection_id":185042,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:54:55] local.INFO: Processing buffer {"connection_id":185042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:54:55] local.INFO: Packet analysis {"connection_id":185042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:54:55] local.INFO: Extracted packet for processing {"connection_id":185042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:54:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":185042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:54:55] local.INFO: GPS data processed {"connection_id":185042,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:54:55] local.INFO: Acknowledgment sent {"connection_id":185042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:54:55] local.INFO: TCP Data received {"connection_id":187786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:54:55] local.INFO: Processing buffer {"connection_id":187786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:54:55] local.INFO: IMEI packet received {"connection_id":187786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":187786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:54:57] local.INFO: TCP Data received {"connection_id":187786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:54:57] local.INFO: Processing buffer {"connection_id":187786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:54:57] local.INFO: IMEI packet received {"connection_id":187786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":187786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:55:02] local.INFO: TCP Data received {"connection_id":187786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:55:02] local.INFO: Processing buffer {"connection_id":187786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:55:02] local.INFO: IMEI packet received {"connection_id":187786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":187786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:55:03] local.INFO: TCP Data received {"connection_id":187786,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add24de0012cf8c48007083950000801442e..."} 
[2026-09-17 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add24de0012cf8c48007083950000801442e..."} 
[2026-09-17 10:55:03] local.INFO: Processing buffer {"connection_id":187786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add24de0012cf8c48007083950000801442e..."} 
[2026-09-17 10:55:03] local.INFO: Packet analysis {"connection_id":187786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add2"} 
[2026-09-17 10:55:03] local.INFO: Extracted packet for processing {"connection_id":187786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add2"} 
[2026-09-17 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":754500736,"raw_latitude":117979472,"longitude_deg":75.4500736,"latitude_deg":11.7979472,"altitude":8,"angle":324,"satellites":46,"speed":58,"hex_longitude":"2cf8c480","hex_latitude":"07083950","is_valid_coordinates":true} 
[2026-09-17 10:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143393024001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32721955668885504,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-514465858482321408,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789622636000,"timestamp_ms":1789622636000,"timestamp_seconds":1789622636,"priority":1,"record_length":96,"hex_timestamp":"000001a0add24de0"} 
[2026-09-17 10:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 10:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143393024001,"66":14515,"30":206,"83":41728,"24":58,"16":32721955668885504,"44":-514465858482321408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-09-17 10:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143393024001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:55:03] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-17 10:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32721955668885504,"km_value":32721955668885.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-514465858482321408,"description":"Unknown IO ID 44"} 
[2026-09-17 10:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143393024001,"power":14515,"unknown_30":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-514465858482321408}} 
[2026-09-17 10:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":187786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:55:03] local.INFO: GPS data processed {"connection_id":187786,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:55:03] local.INFO: Acknowledgment sent {"connection_id":187786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:55:15] local.INFO: TCP Data received {"connection_id":185172,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:55:15] local.INFO: Processing buffer {"connection_id":185172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:55:15] local.INFO: IMEI packet received {"connection_id":185172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":185172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:55:21] local.INFO: TCP Data received {"connection_id":185172,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:55:21] local.INFO: Processing buffer {"connection_id":185172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:55:21] local.INFO: IMEI packet received {"connection_id":185172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":185172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:55:23] local.INFO: TCP Data received {"connection_id":185172,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:55:23] local.INFO: Processing buffer {"connection_id":185172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:55:23] local.INFO: Packet analysis {"connection_id":185172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:55:23] local.INFO: Extracted packet for processing {"connection_id":185172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:55:23] 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-09-17 10:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":185172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:55:23] local.INFO: GPS data processed {"connection_id":185172,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:55:23] local.INFO: Acknowledgment sent {"connection_id":185172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:55:35] local.INFO: TCP Data received {"connection_id":187786,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add38660012cf7d840070996b00007014128..."} 
[2026-09-17 10:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add38660012cf7d840070996b00007014128..."} 
[2026-09-17 10:55:35] local.INFO: Processing buffer {"connection_id":187786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add38660012cf7d840070996b00007014128..."} 
[2026-09-17 10:55:35] local.INFO: Packet analysis {"connection_id":187786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:55:35] local.INFO: Extracted packet for processing {"connection_id":187786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:55:35] local.INFO: GPS Element Parsed {"raw_longitude":754440256,"raw_latitude":118068912,"longitude_deg":75.4440256,"latitude_deg":11.8068912,"altitude":7,"angle":321,"satellites":40,"speed":54,"hex_longitude":"2cf7d840","hex_latitude":"070996b0","is_valid_coordinates":true} 
[2026-09-17 10:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143413504001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32727195528986624,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-581316165427795968,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789622716000,"timestamp_ms":1789622716000,"timestamp_seconds":1789622716,"priority":1,"record_length":96,"hex_timestamp":"000001a0add38660"} 
[2026-09-17 10:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-17 10:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143413504001,"66":14428,"31":206,"83":41728,"24":54,"16":32727195528986624,"44":-581316165427795968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 10:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143413504001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:55:35] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 10:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32727195528986624,"km_value":32727195528986.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-581316165427795968,"description":"Unknown IO ID 44"} 
[2026-09-17 10:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143413504001,"power":14428,"unknown_31":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-581316165427795968}} 
[2026-09-17 10:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":187786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:55:35] local.INFO: GPS data processed {"connection_id":187786,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:55:35] local.INFO: Acknowledgment sent {"connection_id":187786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:55:57] local.INFO: TCP Data received {"connection_id":185172,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:55:57] local.INFO: Processing buffer {"connection_id":185172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:55:57] local.INFO: Packet analysis {"connection_id":185172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:55:57] local.INFO: Extracted packet for processing {"connection_id":185172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:55:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:55:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:55:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:55:57] local.INFO: TCP Data received {"connection_id":185044,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185044,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:55:57] local.INFO: Processing buffer {"connection_id":185044,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:55:57] local.INFO: IMEI packet received {"connection_id":185044,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":185044,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":185172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:55:57] local.INFO: GPS data processed {"connection_id":185172,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:55:57] local.INFO: Acknowledgment sent {"connection_id":185172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:56:07] local.INFO: TCP Data received {"connection_id":185044,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185044,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:56:07] local.INFO: Processing buffer {"connection_id":185044,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:56:07] local.INFO: IMEI packet received {"connection_id":185044,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":185044,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:56:09] local.INFO: TCP Data received {"connection_id":185044,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add3a1b8012cf7bec00709b5880008014121..."} 
[2026-09-17 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add3a1b8012cf7bec00709b5880008014121..."} 
[2026-09-17 10:56:09] local.INFO: Processing buffer {"connection_id":185044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add3a1b8012cf7bec00709b5880008014121..."} 
[2026-09-17 10:56:09] local.INFO: Packet analysis {"connection_id":185044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:56:09] local.INFO: Extracted packet for processing {"connection_id":185044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:56:09] local.INFO: GPS Element Parsed {"raw_longitude":754433728,"raw_latitude":118076808,"longitude_deg":75.4433728,"latitude_deg":11.8076808,"altitude":8,"angle":321,"satellites":33,"speed":59,"hex_longitude":"2cf7bec0","hex_latitude":"0709b588","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143415296001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32727685155258368,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-587649352402030592,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789622723000,"timestamp_ms":1789622723000,"timestamp_seconds":1789622723,"priority":1,"record_length":96,"hex_timestamp":"000001a0add3a1b8"} 
[2026-09-17 10:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185044,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185044,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143415296001,"66":14515,"31":206,"83":41728,"24":59,"16":32727685155258368,"44":-587649352402030592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 10:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143415296001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:56:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 10:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32727685155258368,"km_value":32727685155258.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-587649352402030592,"description":"Unknown IO ID 44"} 
[2026-09-17 10:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143415296001,"power":14515,"unknown_31":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-587649352402030592}} 
[2026-09-17 10:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":185044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:56:09] local.INFO: GPS data processed {"connection_id":185044,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:56:09] local.INFO: Acknowledgment sent {"connection_id":185044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:56:15] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:56:15] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:56:15] local.INFO: IMEI packet received {"connection_id":186464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:56:21] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:56:21] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:56:21] local.INFO: IMEI packet received {"connection_id":186464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":186464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:56:22] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:56:22] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:56:22] local.INFO: Packet analysis {"connection_id":186464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:56:22] local.INFO: Extracted packet for processing {"connection_id":186464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:56:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":186464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:56:22] local.INFO: GPS data processed {"connection_id":186464,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:56:22] local.INFO: Acknowledgment sent {"connection_id":186464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:56:40] local.INFO: TCP Data received {"connection_id":185044,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add3bd10012cf7a5000709d3f00007013d29..."} 
[2026-09-17 10:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add3bd10012cf7a5000709d3f00007013d29..."} 
[2026-09-17 10:56:40] local.INFO: Processing buffer {"connection_id":185044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add3bd10012cf7a5000709d3f00007013d29..."} 
[2026-09-17 10:56:40] local.INFO: Packet analysis {"connection_id":185044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:56:40] local.INFO: Extracted packet for processing {"connection_id":185044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:56:40] local.INFO: GPS Element Parsed {"raw_longitude":754427136,"raw_latitude":118084592,"longitude_deg":75.4427136,"latitude_deg":11.8084592,"altitude":7,"angle":317,"satellites":41,"speed":56,"hex_longitude":"2cf7a500","hex_latitude":"0709d3f0","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143417088001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32728179076497408,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-594826964306130944,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789622730000,"timestamp_ms":1789622730000,"timestamp_seconds":1789622730,"priority":1,"record_length":96,"hex_timestamp":"000001a0add3bd10"} 
[2026-09-17 10:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 10:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10: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-09-17 10:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185044,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185044,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143417088001,"66":14374,"31":206,"83":41728,"24":56,"16":32728179076497408,"44":-594826964306130944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 10:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143417088001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:56:40] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 10:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32728179076497408,"km_value":32728179076497.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:56:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-594826964306130944,"description":"Unknown IO ID 44"} 
[2026-09-17 10:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143417088001,"power":14374,"unknown_31":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-594826964306130944}} 
[2026-09-17 10:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":185044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:56:40] local.INFO: GPS data processed {"connection_id":185044,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:56:40] local.INFO: Acknowledgment sent {"connection_id":185044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:56:53] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:56:53] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:56:53] local.INFO: Packet analysis {"connection_id":186464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:56:53] local.INFO: Extracted packet for processing {"connection_id":186464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":186464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:56:53] local.INFO: GPS data processed {"connection_id":186464,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:56:53] local.INFO: Acknowledgment sent {"connection_id":186464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:56:57] local.INFO: TCP Data received {"connection_id":185173,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185173,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:56:57] local.INFO: Processing buffer {"connection_id":185173,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:56:57] local.INFO: IMEI packet received {"connection_id":185173,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":185173,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:56:59] local.INFO: TCP Data received {"connection_id":185173,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185173,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:56:59] local.INFO: Processing buffer {"connection_id":185173,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:56:59] local.INFO: IMEI packet received {"connection_id":185173,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":185173,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:57:02] local.INFO: TCP Data received {"connection_id":185173,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185173,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:57:02] local.INFO: Processing buffer {"connection_id":185173,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:57:02] local.INFO: IMEI packet received {"connection_id":185173,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":185173,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:57:03] local.INFO: TCP Data received {"connection_id":185173,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add3d868012cf78a000709f0600008013c23..."} 
[2026-09-17 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add3d868012cf78a000709f0600008013c23..."} 
[2026-09-17 10:57:03] local.INFO: Processing buffer {"connection_id":185173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add3d868012cf78a000709f0600008013c23..."} 
[2026-09-17 10:57:03] local.INFO: Packet analysis {"connection_id":185173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:57:03] local.INFO: Extracted packet for processing {"connection_id":185173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":754420224,"raw_latitude":118091872,"longitude_deg":75.4420224,"latitude_deg":11.8091872,"altitude":8,"angle":316,"satellites":35,"speed":48,"hex_longitude":"2cf78a00","hex_latitude":"0709f060","is_valid_coordinates":true} 
[2026-09-17 10:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143418880001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32728660112834560,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-602074944954437632,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789622737000,"timestamp_ms":1789622737000,"timestamp_seconds":1789622737,"priority":1,"record_length":96,"hex_timestamp":"000001a0add3d868"} 
[2026-09-17 10:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 10:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143418880001,"66":14374,"31":206,"83":41728,"24":48,"16":32728660112834560,"44":-602074944954437632},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 10:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143418880001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:57:03] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 10:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32728660112834560,"km_value":32728660112834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-602074944954437632,"description":"Unknown IO ID 44"} 
[2026-09-17 10:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143418880001,"power":14374,"unknown_31":206,"unknown_83":41728,"ignition":48,"odometer":null,"unknown_44":-602074944954437632}} 
[2026-09-17 10:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":185173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:57:03] local.INFO: GPS data processed {"connection_id":185173,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:57:03] local.INFO: Acknowledgment sent {"connection_id":185173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:57:15] local.INFO: TCP Data received {"connection_id":187789,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:57:15] local.INFO: Processing buffer {"connection_id":187789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:57:15] local.INFO: IMEI packet received {"connection_id":187789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":187789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:57:21] local.INFO: TCP Data received {"connection_id":187789,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:57:21] local.INFO: Processing buffer {"connection_id":187789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:57:21] local.INFO: IMEI packet received {"connection_id":187789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":187789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:57:22] local.INFO: TCP Data received {"connection_id":187789,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:57:22] local.INFO: Processing buffer {"connection_id":187789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add088c0012d34c14006aa4438000c01012b..."} 
[2026-09-17 10:57:22] local.INFO: Packet analysis {"connection_id":187789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:57:22] local.INFO: Extracted packet for processing {"connection_id":187789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add0"} 
[2026-09-17 10:57:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143288064001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622520000,"timestamp_ms":1789622520000,"timestamp_seconds":1789622520,"priority":1,"record_length":96,"hex_timestamp":"000001a0add088c0"} 
[2026-09-17 10:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143288064001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143288064001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:57:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:57:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143288064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":187789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:57:22] local.INFO: GPS data processed {"connection_id":187789,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:57:22] local.INFO: Acknowledgment sent {"connection_id":187789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:57:34] local.INFO: TCP Data received {"connection_id":185173,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add3f7a8012cf77200070a0b20000801402a..."} 
[2026-09-17 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add3f7a8012cf77200070a0b20000801402a..."} 
[2026-09-17 10:57:34] local.INFO: Processing buffer {"connection_id":185173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add3f7a8012cf77200070a0b20000801402a..."} 
[2026-09-17 10:57:34] local.INFO: Packet analysis {"connection_id":185173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:57:34] local.INFO: Extracted packet for processing {"connection_id":185173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add3"} 
[2026-09-17 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":754414080,"raw_latitude":118098720,"longitude_deg":75.441408,"latitude_deg":11.809872,"altitude":8,"angle":320,"satellites":42,"speed":51,"hex_longitude":"2cf77200","hex_latitude":"070a0b20","is_valid_coordinates":true} 
[2026-09-17 10:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143420672001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32729102494466048,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-609674769323761664,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789622745000,"timestamp_ms":1789622745000,"timestamp_seconds":1789622745,"priority":1,"record_length":96,"hex_timestamp":"000001a0add3f7a8"} 
[2026-09-17 10:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 10:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143420672001,"66":14374,"31":206,"83":41728,"24":51,"16":32729102494466048,"44":-609674769323761664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 10:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143420672001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:57:34] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 10:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32729102494466048,"km_value":32729102494466.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:57:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-609674769323761664,"description":"Unknown IO ID 44"} 
[2026-09-17 10:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143420672001,"power":14374,"unknown_31":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-609674769323761664}} 
[2026-09-17 10:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":185173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854841,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:57:34] local.INFO: GPS data processed {"connection_id":185173,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:57:34] local.INFO: Acknowledgment sent {"connection_id":185173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:57:54] local.INFO: TCP Data received {"connection_id":187789,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:57:54] local.INFO: Processing buffer {"connection_id":187789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:57:54] local.INFO: Packet analysis {"connection_id":187789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:57:54] local.INFO: Extracted packet for processing {"connection_id":187789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 10:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:57:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":187789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:57:54] local.INFO: GPS data processed {"connection_id":187789,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:57:54] local.INFO: Acknowledgment sent {"connection_id":187789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:58:06] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:06] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:06] local.INFO: IMEI packet received {"connection_id":186468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":186468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:58:07] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:07] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:07] local.INFO: IMEI packet received {"connection_id":186468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":186468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:58:12] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:12] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:12] local.INFO: IMEI packet received {"connection_id":186468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":186468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:58:13] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add5e3d8012cf68040070b36980005013c2b..."} 
[2026-09-17 10:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add5e3d8012cf68040070b36980005013c2b..."} 
[2026-09-17 10:58:13] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add5e3d8012cf68040070b36980005013c2b..."} 
[2026-09-17 10:58:13] local.INFO: Packet analysis {"connection_id":186468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:58:13] local.INFO: Extracted packet for processing {"connection_id":186468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:58:13] local.INFO: GPS Element Parsed {"raw_longitude":754352192,"raw_latitude":118175384,"longitude_deg":75.4352192,"latitude_deg":11.8175384,"altitude":5,"angle":316,"satellites":43,"speed":48,"hex_longitude":"2cf68040","hex_latitude":"070b3698","is_valid_coordinates":true} 
[2026-09-17 10: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-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143452672001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32733852728295424,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-676876919993833472,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789622871000,"timestamp_ms":1789622871000,"timestamp_seconds":1789622871,"priority":1,"record_length":96,"hex_timestamp":"000001a0add5e3d8"} 
[2026-09-17 10:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144576,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2734692352,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2818649335,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916403864,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825555724,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2910322693,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4479955772276473866,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099058483200,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3574910977,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1594622158,"corrected_to":0} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84714303240211024,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Large IO value detected {"io_id":208,"raw_value":1690229266194688,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:13] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":5638514473873965062,"corrected_to":0} 
[2026-09-17 10:58:13] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,31,83,24,241,157,16,74,160,149,44,253,4,10,66,12,79,192,224,40,73,52,128,1,240,92,227,173,113,205,6,64,43,239,56,2,116,7,41,206,136,208,247],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1594622158,"validated":0},{"io_id":247,"original":5638514473873965062,"validated":0}]} 
[2026-09-17 10:58:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288581305047056384,"timestamp_seconds":288581305047056.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 10:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143452672001,"66":14428,"31":206,"83":41728,"24":48,"16":32733852728295424,"44":-676876919993833472},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 10:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143452672001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:58:13] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 10:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32733852728295424,"km_value":32733852728295.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-676876919993833472,"description":"Unknown IO ID 44"} 
[2026-09-17 10:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143452672001,"power":14428,"unknown_31":206,"unknown_83":41728,"ignition":48,"odometer":null,"unknown_44":-676876919993833472}} 
[2026-09-17 10:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":186468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:58:13] local.INFO: GPS data processed {"connection_id":186468,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:58:13] local.INFO: Acknowledgment sent {"connection_id":186468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:58:15] local.INFO: TCP Data received {"connection_id":186467,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:58:15] local.INFO: Processing buffer {"connection_id":186467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:58:15] local.INFO: IMEI packet received {"connection_id":186467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":186467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:58:16] local.INFO: TCP Data received {"connection_id":185045,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:58:16] local.INFO: Processing buffer {"connection_id":185045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:58:16] local.INFO: IMEI packet received {"connection_id":185045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":185045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:58:21] local.INFO: TCP Data received {"connection_id":185045,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:58:21] local.INFO: Processing buffer {"connection_id":185045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:58:21] local.INFO: IMEI packet received {"connection_id":185045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":185045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:58:22] local.INFO: TCP Data received {"connection_id":185045,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:58:22] local.INFO: Processing buffer {"connection_id":185045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:58:22] local.INFO: Packet analysis {"connection_id":185045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:58:22] local.INFO: Extracted packet for processing {"connection_id":185045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 10:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:58:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":185045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:58:22] local.INFO: GPS data processed {"connection_id":185045,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:58:22] local.INFO: Acknowledgment sent {"connection_id":185045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:58:50] local.INFO: TCP Data received {"connection_id":186470,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:58:50] local.INFO: Processing buffer {"connection_id":186470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 10:58:50] local.INFO: IMEI packet received {"connection_id":186470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 10:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":186470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:58:54] local.INFO: TCP Data received {"connection_id":185045,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:58:54] local.INFO: Processing buffer {"connection_id":185045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:58:54] local.INFO: Packet analysis {"connection_id":185045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:58:54] local.INFO: Extracted packet for processing {"connection_id":185045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 10:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:58:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":185045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:58:54] local.INFO: GPS data processed {"connection_id":185045,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:58:54] local.INFO: Acknowledgment sent {"connection_id":185045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:58:57] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:57] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:57] local.INFO: IMEI packet received {"connection_id":186471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":186471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:58:58] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:58] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:58:58] local.INFO: IMEI packet received {"connection_id":186471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":186471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:59:00] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:59:00] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:59:00] local.INFO: IMEI packet received {"connection_id":186471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 10:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":186471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:59:02] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add5ff30012cf66740070b4f400006013b2c..."} 
[2026-09-17 10:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add5ff30012cf66740070b4f400006013b2c..."} 
[2026-09-17 10:59:02] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add5ff30012cf66740070b4f400006013b2c..."} 
[2026-09-17 10:59:02] local.INFO: Packet analysis {"connection_id":186471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:59:02] local.INFO: Extracted packet for processing {"connection_id":186471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":754345792,"raw_latitude":118181696,"longitude_deg":75.4345792,"latitude_deg":11.8181696,"altitude":6,"angle":315,"satellites":44,"speed":51,"hex_longitude":"2cf66740","hex_latitude":"070b4f40","is_valid_coordinates":true} 
[2026-09-17 10:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143454976001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32734282225025024,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-684476744363239424,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789622878000,"timestamp_ms":1789622878000,"timestamp_seconds":1789622878,"priority":1,"record_length":96,"hex_timestamp":"000001a0add5ff30"} 
[2026-09-17 10:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143454976001,"66":14559,"31":206,"83":41728,"24":51,"16":32734282225025024,"44":-684476744363239424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 10:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143454976001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:59:02] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 10:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32734282225025024,"km_value":32734282225025.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-684476744363239424,"description":"Unknown IO ID 44"} 
[2026-09-17 10:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143454976001,"power":14559,"unknown_31":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-684476744363239424}} 
[2026-09-17 10:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":186471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:59:02] local.INFO: GPS data processed {"connection_id":186471,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:59:02] local.INFO: Acknowledgment sent {"connection_id":186471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:59:16] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:59:16] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:59:16] local.INFO: IMEI packet received {"connection_id":186472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 10:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":186472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:59:21] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:59:21] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 10:59:21] local.INFO: IMEI packet received {"connection_id":186472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 10:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":186472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:59:22] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:59:22] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:59:22] local.INFO: Packet analysis {"connection_id":186472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:59:22] local.INFO: Extracted packet for processing {"connection_id":186472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 10:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:59:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":186472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:59:22] local.INFO: GPS data processed {"connection_id":186472,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:59:22] local.INFO: Acknowledgment sent {"connection_id":186472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:59:33] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add70100012cf611c0070b99a8000801562c..."} 
[2026-09-17 10:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add70100012cf611c0070b99a8000801562c..."} 
[2026-09-17 10:59:33] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add70100012cf611c0070b99a8000801562c..."} 
[2026-09-17 10:59:33] local.INFO: Packet analysis {"connection_id":186471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add7"} 
[2026-09-17 10:59:33] local.INFO: Extracted packet for processing {"connection_id":186471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add7"} 
[2026-09-17 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":754323904,"raw_latitude":118200744,"longitude_deg":75.4323904,"latitude_deg":11.8200744,"altitude":8,"angle":342,"satellites":44,"speed":10,"hex_longitude":"2cf611c0","hex_latitude":"070b99a8","is_valid_coordinates":true} 
[2026-09-17 10:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143473152001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715438991795025920,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32735742513905664,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 10:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789622944000,"timestamp_ms":1789622944000,"timestamp_seconds":1789622944,"priority":1,"record_length":96,"hex_timestamp":"000001a0add70100"} 
[2026-09-17 10:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 10:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 10:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 10:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 10:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 10:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143473152001,"66":14450,"44":-715438991795025920,"83":41728,"24":10,"16":32735742513905664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 10:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 10:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 10:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143473152001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:59:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715438991795025920,"description":"Unknown IO ID 44"} 
[2026-09-17 10:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 10:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32735742513905664,"km_value":32735742513905.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:59:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458143473152001,"power":14450,"unknown_44":-715438991795025920,"unknown_83":41728,"ignition":10,"odometer":null}} 
[2026-09-17 10:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":186471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:59:33] local.INFO: GPS data processed {"connection_id":186471,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:59:33] local.INFO: Acknowledgment sent {"connection_id":186471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:59:54] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:59:54] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 10:59:54] local.INFO: Packet analysis {"connection_id":186472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:59:54] local.INFO: Extracted packet for processing {"connection_id":186472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 10:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 10:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 10:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 10:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 10:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 10:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 10:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 10:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 10:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 10:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 10:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 10:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 10:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 10:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 10:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 10:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 10:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 10:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 10:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 10:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 10:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 10:59:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 10:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 10:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 10:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 10:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 10:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":186472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 10:59:54] local.INFO: GPS data processed {"connection_id":186472,"processed":1,"errors":0,"total":1} 
[2026-09-17 10:59:54] local.INFO: Acknowledgment sent {"connection_id":186472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 10:59:57] local.INFO: TCP Data received {"connection_id":185176,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:59:57] local.INFO: Processing buffer {"connection_id":185176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:59:57] local.INFO: IMEI packet received {"connection_id":185176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 10:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":185176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:59:57] local.INFO: TCP Data received {"connection_id":185175,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:59:57] local.INFO: Processing buffer {"connection_id":185175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 10:59:57] local.INFO: IMEI packet received {"connection_id":185175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 10:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":185175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 10:59:58] local.INFO: TCP Data received {"connection_id":185176,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:59:58] local.INFO: Processing buffer {"connection_id":185176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:59:58] local.INFO: IMEI packet received {"connection_id":185176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":185176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 10:59:59] local.INFO: TCP Data received {"connection_id":185176,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:59:59] local.INFO: Processing buffer {"connection_id":185176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 10:59:59] local.INFO: IMEI packet received {"connection_id":185176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 10:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":185176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:00:01] local.INFO: TCP Data received {"connection_id":185175,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:00:01] local.INFO: Processing buffer {"connection_id":185175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:00:01] local.INFO: IMEI packet received {"connection_id":185175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":185175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:00:02] local.INFO: TCP Data received {"connection_id":185176,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:00:02] local.INFO: Processing buffer {"connection_id":185176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:00:02] local.INFO: IMEI packet received {"connection_id":185176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":185176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:00:02] local.INFO: TCP Data received {"connection_id":185175,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add737b0012cf60900070bbe40000801572c..."} 
[2026-09-17 11:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add737b0012cf60900070bbe40000801572c..."} 
[2026-09-17 11:00:02] local.INFO: Processing buffer {"connection_id":185175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add737b0012cf60900070bbe40000801572c..."} 
[2026-09-17 11:00:02] local.INFO: Packet analysis {"connection_id":185175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add7"} 
[2026-09-17 11:00:02] local.INFO: Extracted packet for processing {"connection_id":185175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add7"} 
[2026-09-17 11:00:02] local.INFO: GPS Element Parsed {"raw_longitude":754321664,"raw_latitude":118210112,"longitude_deg":75.4321664,"latitude_deg":11.8210112,"altitude":8,"angle":343,"satellites":44,"speed":38,"hex_longitude":"2cf60900","hex_latitude":"070bbe40","is_valid_coordinates":true} 
[2026-09-17 11:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143473664001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715579729283274752,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32736210665340928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 11:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789622958000,"timestamp_ms":1789622958000,"timestamp_seconds":1789622958,"priority":1,"record_length":96,"hex_timestamp":"000001a0add737b0"} 
[2026-09-17 11:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 11:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143473664001,"66":14515,"44":-715579729283274752,"83":41728,"24":38,"16":32736210665340928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 11:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143473664001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:00:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715579729283274752,"description":"Unknown IO ID 44"} 
[2026-09-17 11:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32736210665340928,"km_value":32736210665340.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:00:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458143473664001,"power":14515,"unknown_44":-715579729283274752,"unknown_83":41728,"ignition":38,"odometer":null}} 
[2026-09-17 11:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":185175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854850,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:00:03] local.INFO: GPS data processed {"connection_id":185175,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:00:03] local.INFO: Acknowledgment sent {"connection_id":185175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:00:03] local.INFO: TCP Data received {"connection_id":185176,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add6d9f0012d065c40072801980058012922..."} 
[2026-09-17 11:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add6d9f0012d065c40072801980058012922..."} 
[2026-09-17 11:00:03] local.INFO: Processing buffer {"connection_id":185176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add6d9f0012d065c40072801980058012922..."} 
[2026-09-17 11:00:03] local.INFO: Packet analysis {"connection_id":185176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add6"} 
[2026-09-17 11:00:03] local.INFO: Extracted packet for processing {"connection_id":185176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add6"} 
[2026-09-17 11:00:03] local.INFO: GPS Element Parsed {"raw_longitude":755391552,"raw_latitude":120062360,"longitude_deg":75.5391552,"latitude_deg":12.006236,"altitude":88,"angle":297,"satellites":34,"speed":32,"hex_longitude":"2d065c40","hex_latitude":"07280198","is_valid_coordinates":true} 
[2026-09-17 11:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143470848001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21254852550066176,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":459085717750945792,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789622934000,"timestamp_ms":1789622934000,"timestamp_seconds":1789622934,"priority":1,"record_length":96,"hex_timestamp":"000001a0add6d9f0"} 
[2026-09-17 11:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6990714535,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":25334058456193792,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":20481,"corrected_to":0} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503923943669760,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3602046977,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3845128282,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2025783502,"corrected_to":0} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4160826630,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247736,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2194276352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84731004220549086,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,191,83,24,241,157,16,131,160,206,45,192,251,88,33,10,66,202,248,182,1,240,180,227,130,173,39,4,113,205,27,174,99,239,54,2,75,7,90,25,40],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":202,"original":20481,"validated":0},{"io_id":205,"original":2025783502,"validated":0}]} 
[2026-09-17 11:00:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269352771151855616,"timestamp_seconds":6269352771151856.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143470848001,"66":14341,"191":206,"83":44288,"24":32,"16":21254852550066176,"45":459085717750945792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,45]} 
[2026-09-17 11:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143470848001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:00:03] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-17 11:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21254852550066176,"km_value":21254852550066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":459085717750945792,"description":"Unknown IO ID 45"} 
[2026-09-17 11:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143470848001,"power":14341,"unknown_191":206,"unknown_83":44288,"ignition":32,"odometer":null,"unknown_45":459085717750945792}} 
[2026-09-17 11:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":185176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:00:03] local.INFO: GPS data processed {"connection_id":185176,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:00:03] local.INFO: Acknowledgment sent {"connection_id":185176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:00:15] local.INFO: TCP Data received {"connection_id":185046,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:00:15] local.INFO: Processing buffer {"connection_id":185046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:00:15] local.INFO: IMEI packet received {"connection_id":185046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":185046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:00:21] local.INFO: TCP Data received {"connection_id":185046,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:00:21] local.INFO: Processing buffer {"connection_id":185046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:00:21] local.INFO: IMEI packet received {"connection_id":185046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":185046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:00:21] local.INFO: TCP Data received {"connection_id":185046,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:00:21] local.INFO: Processing buffer {"connection_id":185046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:00:21] local.INFO: Packet analysis {"connection_id":185046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:00:21] local.INFO: Extracted packet for processing {"connection_id":185046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 11:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:00:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":185046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:00:21] local.INFO: GPS data processed {"connection_id":185046,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:00:21] local.INFO: Acknowledgment sent {"connection_id":185046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:00:40] local.INFO: TCP Data received {"connection_id":185175,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add75ec0012cf5fac0070bdff80006015028..."} 
[2026-09-17 11:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add75ec0012cf5fac0070bdff80006015028..."} 
[2026-09-17 11:00:40] local.INFO: Processing buffer {"connection_id":185175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add75ec0012cf5fac0070bdff80006015028..."} 
[2026-09-17 11:00:40] local.INFO: Packet analysis {"connection_id":185175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add7"} 
[2026-09-17 11:00:40] local.INFO: Extracted packet for processing {"connection_id":185175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add7"} 
[2026-09-17 11:00:40] local.INFO: GPS Element Parsed {"raw_longitude":754318016,"raw_latitude":118218744,"longitude_deg":75.4318016,"latitude_deg":11.8218744,"altitude":6,"angle":336,"satellites":40,"speed":40,"hex_longitude":"2cf5fac0","hex_latitude":"070bdff8","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143477248001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-718042635327094784,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32736665931874304,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 11:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789622968000,"timestamp_ms":1789622968000,"timestamp_seconds":1789622968,"priority":1,"record_length":96,"hex_timestamp":"000001a0add75ec0"} 
[2026-09-17 11:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 11:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143477248001,"66":14428,"44":-718042635327094784,"83":41728,"24":40,"16":32736665931874304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 11:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143477248001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:00:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-718042635327094784,"description":"Unknown IO ID 44"} 
[2026-09-17 11:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32736665931874304,"km_value":32736665931874.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:00:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458143477248001,"power":14428,"unknown_44":-718042635327094784,"unknown_83":41728,"ignition":40,"odometer":null}} 
[2026-09-17 11:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":185175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:00:40] local.INFO: GPS data processed {"connection_id":185175,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:00:40] local.INFO: Acknowledgment sent {"connection_id":185175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:00:48] local.INFO: TCP Data received {"connection_id":185047,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:00:48] local.INFO: Processing buffer {"connection_id":185047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:00:48] local.INFO: IMEI packet received {"connection_id":185047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":185047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:00:53] local.INFO: TCP Data received {"connection_id":185047,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:00:53] local.INFO: Processing buffer {"connection_id":185047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:00:53] local.INFO: IMEI packet received {"connection_id":185047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":185047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:00:53] local.INFO: TCP Data received {"connection_id":185046,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:00:53] local.INFO: Processing buffer {"connection_id":185046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:00:53] local.INFO: Packet analysis {"connection_id":185046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:00:53] local.INFO: Extracted packet for processing {"connection_id":185046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 11:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":185046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:00:53] local.INFO: GPS data processed {"connection_id":185046,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:00:53] local.INFO: Acknowledgment sent {"connection_id":185046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:00:54] local.INFO: TCP Data received {"connection_id":185047,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add79188012d063c4007289330004c015021..."} 
[2026-09-17 11:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add79188012d063c4007289330004c015021..."} 
[2026-09-17 11:00:54] local.INFO: Processing buffer {"connection_id":185047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add79188012d063c4007289330004c015021..."} 
[2026-09-17 11:00:54] local.INFO: Packet analysis {"connection_id":185047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add7"} 
[2026-09-17 11:00:54] local.INFO: Extracted packet for processing {"connection_id":185047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add7"} 
[2026-09-17 11:00:54] local.INFO: GPS Element Parsed {"raw_longitude":755383360,"raw_latitude":120099632,"longitude_deg":75.538336,"latitude_deg":12.0099632,"altitude":76,"angle":336,"satellites":33,"speed":33,"hex_longitude":"2d063c40","hex_latitude":"07289330","is_valid_coordinates":true} 
[2026-09-17 11:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143482624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21256995738746880,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":450078518505443328,"note":"Value kept but may cause issues"} 
[2026-09-17 11:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789622981000,"timestamp_ms":1789622981000,"timestamp_seconds":1789622981,"priority":1,"record_length":96,"hex_timestamp":"000001a0add79188"} 
[2026-09-17 11:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 11:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143482624001,"66":13993,"76":206,"83":44288,"24":33,"16":21256995738746880,"45":450078518505443328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,45]} 
[2026-09-17 11:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143482624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:00:54] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-17 11:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21256995738746880,"km_value":21256995738746.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":450078518505443328,"description":"Unknown IO ID 45"} 
[2026-09-17 11:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143482624001,"power":13993,"unknown_76":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":450078518505443328}} 
[2026-09-17 11:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":185047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:00:54] local.INFO: GPS data processed {"connection_id":185047,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:00:54] local.INFO: Acknowledgment sent {"connection_id":185047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:00:57] local.INFO: TCP Data received {"connection_id":185048,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:00:57] local.INFO: Processing buffer {"connection_id":185048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:00:57] local.INFO: IMEI packet received {"connection_id":185048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":185048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:01:02] local.INFO: TCP Data received {"connection_id":185048,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:01:02] local.INFO: Processing buffer {"connection_id":185048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:01:02] local.INFO: IMEI packet received {"connection_id":185048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":185048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:01:03] local.INFO: TCP Data received {"connection_id":185048,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add86478012cf561c0070d0388000a01452c..."} 
[2026-09-17 11:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add86478012cf561c0070d0388000a01452c..."} 
[2026-09-17 11:01:03] local.INFO: Processing buffer {"connection_id":185048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add86478012cf561c0070d0388000a01452c..."} 
[2026-09-17 11:01:03] local.INFO: Packet analysis {"connection_id":185048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add8"} 
[2026-09-17 11:01:03] local.INFO: Extracted packet for processing {"connection_id":185048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add8"} 
[2026-09-17 11:01:03] local.INFO: GPS Element Parsed {"raw_longitude":754278848,"raw_latitude":118293384,"longitude_deg":75.4278848,"latitude_deg":11.8293384,"altitude":10,"angle":325,"satellites":44,"speed":51,"hex_longitude":"2cf561c0","hex_latitude":"070d0388","is_valid_coordinates":true} 
[2026-09-17 11:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143496448001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32740763330674688,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-763782319021821952,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623035000,"timestamp_ms":1789623035000,"timestamp_seconds":1789623035,"priority":1,"record_length":96,"hex_timestamp":"000001a0add86478"} 
[2026-09-17 11:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 11:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143496448001,"66":14450,"38":206,"83":41728,"24":51,"16":32740763330674688,"44":-763782319021821952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 11:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143496448001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:01:03] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 11:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32740763330674688,"km_value":32740763330674.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-763782319021821952,"description":"Unknown IO ID 44"} 
[2026-09-17 11:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143496448001,"power":14450,"unknown_38":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-763782319021821952}} 
[2026-09-17 11:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":185048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:01:04] local.INFO: GPS data processed {"connection_id":185048,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:01:04] local.INFO: Acknowledgment sent {"connection_id":185048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:01:15] local.INFO: TCP Data received {"connection_id":185177,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:01:15] local.INFO: Processing buffer {"connection_id":185177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:01:15] local.INFO: IMEI packet received {"connection_id":185177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":185177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:01:21] local.INFO: TCP Data received {"connection_id":185177,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:01:21] local.INFO: Processing buffer {"connection_id":185177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:01:21] local.INFO: IMEI packet received {"connection_id":185177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":185177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:01:22] local.INFO: TCP Data received {"connection_id":185177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:01:22] local.INFO: Processing buffer {"connection_id":185177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:01:22] local.INFO: Packet analysis {"connection_id":185177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:01:22] local.INFO: Extracted packet for processing {"connection_id":185177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 11:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:01:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:01:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":185177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:01:22] local.INFO: GPS data processed {"connection_id":185177,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:01:22] local.INFO: Acknowledgment sent {"connection_id":185177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:01:27] local.INFO: TCP Data received {"connection_id":185047,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add84d08012d05c7400728fb800048015620..."} 
[2026-09-17 11:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add84d08012d05c7400728fb800048015620..."} 
[2026-09-17 11:01:27] local.INFO: Processing buffer {"connection_id":185047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add84d08012d05c7400728fb800048015620..."} 
[2026-09-17 11:01:27] local.INFO: Packet analysis {"connection_id":185047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add8"} 
[2026-09-17 11:01:27] local.INFO: Extracted packet for processing {"connection_id":185047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add8"} 
[2026-09-17 11:01:27] local.INFO: GPS Element Parsed {"raw_longitude":755353408,"raw_latitude":120126336,"longitude_deg":75.5353408,"latitude_deg":12.0126336,"altitude":72,"angle":342,"satellites":32,"speed":38,"hex_longitude":"2d05c740","hex_latitude":"0728fb80","is_valid_coordinates":true} 
[2026-09-17 11:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143494912001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21259151812329472,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":416723733771997184,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789623029000,"timestamp_ms":1789623029000,"timestamp_seconds":1789623029,"priority":1,"record_length":96,"hex_timestamp":"000001a0add84d08"} 
[2026-09-17 11:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-17 11:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143494912001,"66":13972,"75":206,"83":44288,"24":38,"16":21259151812329472,"45":416723733771997184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-09-17 11:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143494912001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:01:27] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-17 11:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21259151812329472,"km_value":21259151812329.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":416723733771997184,"description":"Unknown IO ID 45"} 
[2026-09-17 11:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143494912001,"power":13972,"unknown_75":206,"unknown_83":44288,"ignition":38,"odometer":null,"unknown_45":416723733771997184}} 
[2026-09-17 11:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":185047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:01:27] local.INFO: GPS data processed {"connection_id":185047,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:01:27] local.INFO: Acknowledgment sent {"connection_id":185047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:01:36] local.INFO: TCP Data received {"connection_id":185048,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add87800012cf55440070d1a68000a015129..."} 
[2026-09-17 11:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add87800012cf55440070d1a68000a015129..."} 
[2026-09-17 11:01:36] local.INFO: Processing buffer {"connection_id":185048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add87800012cf55440070d1a68000a015129..."} 
[2026-09-17 11:01:36] local.INFO: Packet analysis {"connection_id":185048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add8"} 
[2026-09-17 11:01:36] local.INFO: Extracted packet for processing {"connection_id":185048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add8"} 
[2026-09-17 11:01:36] local.INFO: GPS Element Parsed {"raw_longitude":754275392,"raw_latitude":118299240,"longitude_deg":75.4275392,"latitude_deg":11.829924,"altitude":10,"angle":337,"satellites":41,"speed":54,"hex_longitude":"2cf55440","hex_latitude":"070d1a68","is_valid_coordinates":true} 
[2026-09-17 11:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143496960001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32741094043156480,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-765119325160634368,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789623040000,"timestamp_ms":1789623040000,"timestamp_seconds":1789623040,"priority":1,"record_length":96,"hex_timestamp":"000001a0add87800"} 
[2026-09-17 11:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 11:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143496960001,"66":14439,"38":206,"83":41728,"24":54,"16":32741094043156480,"44":-765119325160634368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 11:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143496960001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:01:36] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 11:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32741094043156480,"km_value":32741094043156.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-765119325160634368,"description":"Unknown IO ID 44"} 
[2026-09-17 11:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143496960001,"power":14439,"unknown_38":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-765119325160634368}} 
[2026-09-17 11:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":185048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854859,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:01:36] local.INFO: GPS data processed {"connection_id":185048,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:01:36] local.INFO: Acknowledgment sent {"connection_id":185048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:01:48] local.INFO: TCP Data received {"connection_id":185049,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:01:48] local.INFO: Processing buffer {"connection_id":185049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:01:48] local.INFO: IMEI packet received {"connection_id":185049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":185049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:01:50] local.INFO: TCP Data received {"connection_id":185049,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:01:50] local.INFO: Processing buffer {"connection_id":185049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:01:50] local.INFO: IMEI packet received {"connection_id":185049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":185049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:01:53] local.INFO: TCP Data received {"connection_id":185049,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:01:53] local.INFO: Processing buffer {"connection_id":185049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:01:53] local.INFO: IMEI packet received {"connection_id":185049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":185049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:01:54] local.INFO: TCP Data received {"connection_id":185177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:01:54] local.INFO: Processing buffer {"connection_id":185177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:01:54] local.INFO: Packet analysis {"connection_id":185177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:01:54] local.INFO: Extracted packet for processing {"connection_id":185177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 11:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":185177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:01:54] local.INFO: GPS data processed {"connection_id":185177,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:01:54] local.INFO: Acknowledgment sent {"connection_id":185177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:01:54] local.INFO: TCP Data received {"connection_id":185049,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add8d1d8012d058ec007295cd8003c00ff1f..."} 
[2026-09-17 11:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add8d1d8012d058ec007295cd8003c00ff1f..."} 
[2026-09-17 11:01:54] local.INFO: Processing buffer {"connection_id":185049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add8d1d8012d058ec007295cd8003c00ff1f..."} 
[2026-09-17 11:01:54] local.INFO: Packet analysis {"connection_id":185049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add8"} 
[2026-09-17 11:01:54] local.INFO: Extracted packet for processing {"connection_id":185049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add8"} 
[2026-09-17 11:01:54] local.INFO: GPS Element Parsed {"raw_longitude":755338944,"raw_latitude":120151256,"longitude_deg":75.5338944,"latitude_deg":12.0151256,"altitude":60,"angle":255,"satellites":31,"speed":28,"hex_longitude":"2d058ec0","hex_latitude":"07295cd8","is_valid_coordinates":true} 
[2026-09-17 11:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143503872001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260663640817664,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":401312978804011008,"note":"Value kept but may cause issues"} 
[2026-09-17 11:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789623063000,"timestamp_ms":1789623063000,"timestamp_seconds":1789623063,"priority":1,"record_length":96,"hex_timestamp":"000001a0add8d1d8"} 
[2026-09-17 11:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143503872001,"66":13993,"77":206,"83":44288,"24":28,"16":21260663640817664,"45":401312978804011008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-17 11:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143503872001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:01:54] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-17 11:01:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260663640817664,"km_value":21260663640817.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":401312978804011008,"description":"Unknown IO ID 45"} 
[2026-09-17 11:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143503872001,"power":13993,"unknown_77":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":401312978804011008}} 
[2026-09-17 11:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":185049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:01:54] local.INFO: GPS data processed {"connection_id":185049,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:01:54] local.INFO: Acknowledgment sent {"connection_id":185049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:02:11] local.INFO: TCP Data received {"connection_id":187791,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187791,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:11] local.INFO: Processing buffer {"connection_id":187791,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:11] local.INFO: IMEI packet received {"connection_id":187791,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":187791,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:02:12] local.INFO: TCP Data received {"connection_id":187791,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187791,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:12] local.INFO: Processing buffer {"connection_id":187791,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:12] local.INFO: IMEI packet received {"connection_id":187791,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":187791,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:02:14] local.INFO: TCP Data received {"connection_id":187791,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187791,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:14] local.INFO: Processing buffer {"connection_id":187791,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:14] local.INFO: IMEI packet received {"connection_id":187791,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":187791,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:02:15] local.INFO: TCP Data received {"connection_id":187791,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add952c0012cf4ef00070df7200014014b28..."} 
[2026-09-17 11:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add952c0012cf4ef00070df7200014014b28..."} 
[2026-09-17 11:02:15] local.INFO: Processing buffer {"connection_id":187791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add952c0012cf4ef00070df7200014014b28..."} 
[2026-09-17 11:02:15] local.INFO: Packet analysis {"connection_id":187791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:15] local.INFO: Extracted packet for processing {"connection_id":187791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:15] local.INFO: GPS Element Parsed {"raw_longitude":754249472,"raw_latitude":118355744,"longitude_deg":75.4249472,"latitude_deg":11.8355744,"altitude":20,"angle":331,"satellites":40,"speed":33,"hex_longitude":"2cf4ef00","hex_latitude":"070df720","is_valid_coordinates":true} 
[2026-09-17 11:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143512320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32744396873007104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-796855628768980992,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789623096000,"timestamp_ms":1789623096000,"timestamp_seconds":1789623096,"priority":1,"record_length":96,"hex_timestamp":"000001a0add952c0"} 
[2026-09-17 11:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 11:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143512320001,"66":14407,"39":206,"83":41728,"24":33,"16":32744396873007104,"44":-796855628768980992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-17 11:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143512320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:02:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 11:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32744396873007104,"km_value":32744396873007.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-796855628768980992,"description":"Unknown IO ID 44"} 
[2026-09-17 11:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143512320001,"power":14407,"unknown_39":206,"unknown_83":41728,"ignition":33,"odometer":null,"unknown_44":-796855628768980992}} 
[2026-09-17 11:02:15] local.INFO: TCP Data received {"connection_id":186473,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:02:15] local.INFO: Processing buffer {"connection_id":186473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:02:15] local.INFO: IMEI packet received {"connection_id":186473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":186473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":187791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854862,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:02:15] local.INFO: GPS data processed {"connection_id":187791,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:02:15] local.INFO: Acknowledgment sent {"connection_id":187791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:02:17] local.INFO: TCP Data received {"connection_id":187791,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0add956a8012cf4ee00070dfa500014015628..."} 
[2026-09-17 11:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add956a8012cf4ee00070dfa500014015628..."} 
[2026-09-17 11:02:17] local.INFO: Processing buffer {"connection_id":187791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add956a8012cf4ee00070dfa500014015628..."} 
[2026-09-17 11:02:17] local.INFO: Packet analysis {"connection_id":187791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:17] local.INFO: Extracted packet for processing {"connection_id":187791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:17] local.INFO: GPS Element Parsed {"raw_longitude":754249216,"raw_latitude":118356560,"longitude_deg":75.4249216,"latitude_deg":11.835656,"altitude":20,"angle":342,"satellites":40,"speed":35,"hex_longitude":"2cf4ee00","hex_latitude":"070dfa50","is_valid_coordinates":true} 
[2026-09-17 11:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143512576001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32744439822680064,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-797418578722217984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789623097000,"timestamp_ms":1789623097000,"timestamp_seconds":1789623097,"priority":1,"record_length":96,"hex_timestamp":"000001a0add956a8"} 
[2026-09-17 11:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 11:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187791,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143512576001,"66":14407,"39":206,"83":41728,"24":35,"16":32744439822680064,"44":-797418578722217984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-17 11:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143512576001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:02:17] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 11:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32744439822680064,"km_value":32744439822680.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-797418578722217984,"description":"Unknown IO ID 44"} 
[2026-09-17 11:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143512576001,"power":14407,"unknown_39":206,"unknown_83":41728,"ignition":35,"odometer":null,"unknown_44":-797418578722217984}} 
[2026-09-17 11:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":187791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854863,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:02:17] local.INFO: GPS data processed {"connection_id":187791,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:02:17] local.INFO: Acknowledgment sent {"connection_id":187791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:02:21] local.INFO: TCP Data received {"connection_id":186473,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:02:21] local.INFO: Processing buffer {"connection_id":186473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:02:21] local.INFO: IMEI packet received {"connection_id":186473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":186473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:02:22] local.INFO: TCP Data received {"connection_id":186473,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:02:22] local.INFO: Processing buffer {"connection_id":186473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add52088012d34c14006aa4438000c010129..."} 
[2026-09-17 11:02:22] local.INFO: Packet analysis {"connection_id":186473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:02:22] local.INFO: Extracted packet for processing {"connection_id":186473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add5"} 
[2026-09-17 11:02:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143365120001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789622821000,"timestamp_ms":1789622821000,"timestamp_seconds":1789622821,"priority":1,"record_length":96,"hex_timestamp":"000001a0add52088"} 
[2026-09-17 11:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143365120001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143365120001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:02:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143365120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":186473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:02:22] local.INFO: GPS data processed {"connection_id":186473,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:02:22] local.INFO: Acknowledgment sent {"connection_id":186473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:02:25] local.INFO: TCP Data received {"connection_id":185049,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add94af0012d053dc007296860002e012a1f..."} 
[2026-09-17 11:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add94af0012d053dc007296860002e012a1f..."} 
[2026-09-17 11:02:25] local.INFO: Processing buffer {"connection_id":185049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add94af0012d053dc007296860002e012a1f..."} 
[2026-09-17 11:02:25] local.INFO: Packet analysis {"connection_id":185049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:25] local.INFO: Extracted packet for processing {"connection_id":185049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:25] local.INFO: GPS Element Parsed {"raw_longitude":755318208,"raw_latitude":120154208,"longitude_deg":75.5318208,"latitude_deg":12.0154208,"altitude":46,"angle":298,"satellites":31,"speed":25,"hex_longitude":"2d053dc0","hex_latitude":"07296860","is_valid_coordinates":true} 
[2026-09-17 11:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143511808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21261818987020288,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":378372768202635264,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789623094000,"timestamp_ms":1789623094000,"timestamp_seconds":1789623094,"priority":1,"record_length":96,"hex_timestamp":"000001a0add94af0"} 
[2026-09-17 11:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-17 11:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143511808001,"66":14102,"77":206,"83":44288,"24":25,"16":21261818987020288,"45":378372768202635264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-17 11:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143511808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:02:25] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-17 11:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21261818987020288,"km_value":21261818987020.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":378372768202635264,"description":"Unknown IO ID 45"} 
[2026-09-17 11:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143511808001,"power":14102,"unknown_77":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":378372768202635264}} 
[2026-09-17 11:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":185049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:02:25] local.INFO: GPS data processed {"connection_id":185049,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:02:25] local.INFO: Acknowledgment sent {"connection_id":185049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:02:48] local.INFO: TCP Data received {"connection_id":187792,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:48] local.INFO: Processing buffer {"connection_id":187792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:48] local.INFO: IMEI packet received {"connection_id":187792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":187792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:02:50] local.INFO: TCP Data received {"connection_id":187792,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:50] local.INFO: Processing buffer {"connection_id":187792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:50] local.INFO: IMEI packet received {"connection_id":187792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":187792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:02:51] local.INFO: TCP Data received {"connection_id":187792,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:51] local.INFO: Processing buffer {"connection_id":187792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:51] local.INFO: IMEI packet received {"connection_id":187792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":187792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:02:53] local.INFO: TCP Data received {"connection_id":187792,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:53] local.INFO: Processing buffer {"connection_id":187792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:02:53] local.INFO: IMEI packet received {"connection_id":187792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":187792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:02:54] local.INFO: TCP Data received {"connection_id":187792,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add94ed8012d053b8007296b10002e01371f..."} 
[2026-09-17 11:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add94ed8012d053b8007296b10002e01371f..."} 
[2026-09-17 11:02:54] local.INFO: Processing buffer {"connection_id":187792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add94ed8012d053b8007296b10002e01371f..."} 
[2026-09-17 11:02:54] local.INFO: Packet analysis {"connection_id":187792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:54] local.INFO: Extracted packet for processing {"connection_id":187792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:54] local.INFO: GPS Element Parsed {"raw_longitude":755317632,"raw_latitude":120154896,"longitude_deg":75.5317632,"latitude_deg":12.0154896,"altitude":46,"angle":311,"satellites":31,"speed":30,"hex_longitude":"2d053b80","hex_latitude":"07296b10","is_valid_coordinates":true} 
[2026-09-17 11:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143512064001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21261861936693248,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":377669080760999936,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789623095000,"timestamp_ms":1789623095000,"timestamp_seconds":1789623095,"priority":1,"record_length":96,"hex_timestamp":"000001a0add94ed8"} 
[2026-09-17 11:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-17 11:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143512064001,"66":14298,"77":206,"83":44288,"24":30,"16":21261861936693248,"45":377669080760999936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-17 11:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143512064001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:02:54] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-17 11:02:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21261861936693248,"km_value":21261861936693.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":377669080760999936,"description":"Unknown IO ID 45"} 
[2026-09-17 11:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143512064001,"power":14298,"unknown_77":206,"unknown_83":44288,"ignition":30,"odometer":null,"unknown_45":377669080760999936}} 
[2026-09-17 11:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":187792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:02:54] local.INFO: GPS data processed {"connection_id":187792,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:02:54] local.INFO: Acknowledgment sent {"connection_id":187792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:02:54] local.INFO: TCP Data received {"connection_id":186473,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:02:54] local.INFO: Processing buffer {"connection_id":186473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:02:54] local.INFO: Packet analysis {"connection_id":186473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:54] local.INFO: Extracted packet for processing {"connection_id":186473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":186473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:02:54] local.INFO: GPS data processed {"connection_id":186473,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:02:54] local.INFO: Acknowledgment sent {"connection_id":186473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:02:59] local.INFO: TCP Data received {"connection_id":187794,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187794,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:59] local.INFO: Processing buffer {"connection_id":187794,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:02:59] local.INFO: IMEI packet received {"connection_id":187794,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":187794,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:03:02] local.INFO: TCP Data received {"connection_id":187794,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187794,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:03:02] local.INFO: Processing buffer {"connection_id":187794,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:03:02] local.INFO: IMEI packet received {"connection_id":187794,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":187794,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:03:03] local.INFO: TCP Data received {"connection_id":187794,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adda19f8012cf49380070e7388002401472b..."} 
[2026-09-17 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adda19f8012cf49380070e7388002401472b..."} 
[2026-09-17 11:03:03] local.INFO: Processing buffer {"connection_id":187794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adda19f8012cf49380070e7388002401472b..."} 
[2026-09-17 11:03:03] local.INFO: Packet analysis {"connection_id":187794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:03] local.INFO: Extracted packet for processing {"connection_id":187794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":754226048,"raw_latitude":118387592,"longitude_deg":75.4226048,"latitude_deg":11.8387592,"altitude":36,"angle":327,"satellites":43,"speed":36,"hex_longitude":"2cf49380","hex_latitude":"070e7388","is_valid_coordinates":true} 
[2026-09-17 11:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143522048001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32746376852930560,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-816840352109010944,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623147000,"timestamp_ms":1789623147000,"timestamp_seconds":1789623147,"priority":1,"record_length":96,"hex_timestamp":"000001a0adda19f8"} 
[2026-09-17 11:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 11:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143522048001,"66":14428,"29":206,"83":41728,"24":36,"16":32746376852930560,"44":-816840352109010944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-17 11:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143522048001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:03:03] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-17 11:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32746376852930560,"km_value":32746376852930.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:03:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-816840352109010944,"description":"Unknown IO ID 44"} 
[2026-09-17 11:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143522048001,"power":14428,"unknown_29":206,"unknown_83":41728,"ignition":36,"odometer":null,"unknown_44":-816840352109010944}} 
[2026-09-17 11:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":187794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854868,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:03:03] local.INFO: GPS data processed {"connection_id":187794,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:03:03] local.INFO: Acknowledgment sent {"connection_id":187794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:03:04] local.INFO: TCP Data received {"connection_id":187794,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adda3d20012cf48080070e91380026014529..."} 
[2026-09-17 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adda3d20012cf48080070e91380026014529..."} 
[2026-09-17 11:03:04] local.INFO: Processing buffer {"connection_id":187794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adda3d20012cf48080070e91380026014529..."} 
[2026-09-17 11:03:04] local.INFO: Packet analysis {"connection_id":187794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:04] local.INFO: Extracted packet for processing {"connection_id":187794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:04] local.INFO: GPS Element Parsed {"raw_longitude":754221184,"raw_latitude":118395192,"longitude_deg":75.4221184,"latitude_deg":11.8395192,"altitude":38,"angle":325,"satellites":41,"speed":39,"hex_longitude":"2cf48080","hex_latitude":"070e9138","is_valid_coordinates":true} 
[2026-09-17 11:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143525632001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32746810644627456,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-823173539083089920,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789623156000,"timestamp_ms":1789623156000,"timestamp_seconds":1789623156,"priority":1,"record_length":96,"hex_timestamp":"000001a0adda3d20"} 
[2026-09-17 11:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 11:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143525632001,"66":14407,"132":206,"83":41728,"24":39,"16":32746810644627456,"44":-823173539083089920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,44]} 
[2026-09-17 11:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143525632001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:03:04] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-17 11:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32746810644627456,"km_value":32746810644627.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-823173539083089920,"description":"Unknown IO ID 44"} 
[2026-09-17 11:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143525632001,"power":14407,"unknown_132":206,"unknown_83":41728,"ignition":39,"odometer":null,"unknown_44":-823173539083089920}} 
[2026-09-17 11:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":187794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:03:04] local.INFO: GPS data processed {"connection_id":187794,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:03:04] local.INFO: Acknowledgment sent {"connection_id":187794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:03:16] local.INFO: TCP Data received {"connection_id":185179,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:03:16] local.INFO: Processing buffer {"connection_id":185179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:03:16] local.INFO: IMEI packet received {"connection_id":185179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":185179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:03:21] local.INFO: TCP Data received {"connection_id":185179,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:03:21] local.INFO: Processing buffer {"connection_id":185179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:03:21] local.INFO: IMEI packet received {"connection_id":185179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":185179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:03:22] local.INFO: TCP Data received {"connection_id":185179,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:03:22] local.INFO: Processing buffer {"connection_id":185179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:03:22] local.INFO: Packet analysis {"connection_id":185179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:03:22] local.INFO: Extracted packet for processing {"connection_id":185179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:03:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:03:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:03:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":185179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:03:22] local.INFO: GPS data processed {"connection_id":185179,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:03:22] local.INFO: Acknowledgment sent {"connection_id":185179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:03:36] local.INFO: TCP Data received {"connection_id":187792,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0add96260012d052c80072975d0002a01281f..."} 
[2026-09-17 11:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add96260012d052c80072975d0002a01281f..."} 
[2026-09-17 11:03:36] local.INFO: Processing buffer {"connection_id":187792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add96260012d052c80072975d0002a01281f..."} 
[2026-09-17 11:03:36] local.INFO: Packet analysis {"connection_id":187792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:03:36] local.INFO: Extracted packet for processing {"connection_id":187792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":755313792,"raw_latitude":120157648,"longitude_deg":75.5313792,"latitude_deg":12.0157648,"altitude":42,"angle":296,"satellites":31,"speed":38,"hex_longitude":"2d052c80","hex_latitude":"072975d0","is_valid_coordinates":true} 
[2026-09-17 11:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143512320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262089569959936,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":377035762063577088,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789623100000,"timestamp_ms":1789623100000,"timestamp_seconds":1789623100,"priority":1,"record_length":96,"hex_timestamp":"000001a0add96260"} 
[2026-09-17 11:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 11:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143512320001,"66":14396,"77":206,"83":44288,"24":38,"16":21262089569959936,"45":377035762063577088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-17 11:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143512320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:03:36] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-17 11:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262089569959936,"km_value":21262089569959.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":377035762063577088,"description":"Unknown IO ID 45"} 
[2026-09-17 11:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143512320001,"power":14396,"unknown_77":206,"unknown_83":44288,"ignition":38,"odometer":null,"unknown_45":377035762063577088}} 
[2026-09-17 11:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":187792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:03:36] local.INFO: GPS data processed {"connection_id":187792,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:03:36] local.INFO: Acknowledgment sent {"connection_id":187792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:03:36] local.INFO: TCP Data received {"connection_id":187794,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adda5878012cf46fc0070ea450002601392b..."} 
[2026-09-17 11:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adda5878012cf46fc0070ea450002601392b..."} 
[2026-09-17 11:03:36] local.INFO: Processing buffer {"connection_id":187794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adda5878012cf46fc0070ea450002601392b..."} 
[2026-09-17 11:03:36] local.INFO: Packet analysis {"connection_id":187794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:36] local.INFO: Extracted packet for processing {"connection_id":187794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":754216896,"raw_latitude":118400080,"longitude_deg":75.4216896,"latitude_deg":11.840008,"altitude":38,"angle":313,"satellites":43,"speed":36,"hex_longitude":"2cf46fc0","hex_latitude":"070ea450","is_valid_coordinates":true} 
[2026-09-17 11:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143527936001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32747124177240064,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-828521563638646784,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789623163000,"timestamp_ms":1789623163000,"timestamp_seconds":1789623163,"priority":1,"record_length":96,"hex_timestamp":"000001a0adda5878"} 
[2026-09-17 11:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 11:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":187794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":187794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":187794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143527936001,"66":14439,"132":206,"83":41728,"24":36,"16":32747124177240064,"44":-828521563638646784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,44]} 
[2026-09-17 11:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143527936001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:03:36] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-17 11:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32747124177240064,"km_value":32747124177240.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:03:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-828521563638646784,"description":"Unknown IO ID 44"} 
[2026-09-17 11:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143527936001,"power":14439,"unknown_132":206,"unknown_83":41728,"ignition":36,"odometer":null,"unknown_44":-828521563638646784}} 
[2026-09-17 11:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":187794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:03:36] local.INFO: GPS data processed {"connection_id":187794,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:03:36] local.INFO: Acknowledgment sent {"connection_id":187794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:03:53] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:03:53] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:03:53] local.INFO: IMEI packet received {"connection_id":185180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":185180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:03:53] local.INFO: TCP Data received {"connection_id":185179,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:03:53] local.INFO: Processing buffer {"connection_id":185179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:03:53] local.INFO: Packet analysis {"connection_id":185179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:03:53] local.INFO: Extracted packet for processing {"connection_id":185179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":185179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:03:53] local.INFO: GPS data processed {"connection_id":185179,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:03:53] local.INFO: Acknowledgment sent {"connection_id":185179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:03:53] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:03:53] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:03:53] local.INFO: IMEI packet received {"connection_id":185180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":185180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:03:55] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:03:55] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:03:55] local.INFO: IMEI packet received {"connection_id":185180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":185180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:03:55] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adda5878012d048f40072966300024011c22..."} 
[2026-09-17 11:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adda5878012d048f40072966300024011c22..."} 
[2026-09-17 11:03:55] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adda5878012d048f40072966300024011c22..."} 
[2026-09-17 11:03:55] local.INFO: Packet analysis {"connection_id":185180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:55] local.INFO: Extracted packet for processing {"connection_id":185180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755273536,"raw_latitude":120153648,"longitude_deg":75.5273536,"latitude_deg":12.0153648,"altitude":36,"angle":284,"satellites":34,"speed":33,"hex_longitude":"2d048f40","hex_latitude":"07296630","is_valid_coordinates":true} 
[2026-09-17 11:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143528192001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21264305773084672,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":334392303091343360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789623163000,"timestamp_ms":1789623163000,"timestamp_seconds":1789623163,"priority":1,"record_length":96,"hex_timestamp":"000001a0adda5878"} 
[2026-09-17 11:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 11:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143528192001,"66":13961,"77":206,"83":44288,"24":33,"16":21264305773084672,"45":334392303091343360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-17 11:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143528192001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:03:55] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-17 11:03:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21264305773084672,"km_value":21264305773084.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":334392303091343360,"description":"Unknown IO ID 45"} 
[2026-09-17 11:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143528192001,"power":13961,"unknown_77":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":334392303091343360}} 
[2026-09-17 11:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":185180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:03:55] local.INFO: GPS data processed {"connection_id":185180,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:03:55] local.INFO: Acknowledgment sent {"connection_id":185180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:03:57] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adda8f28012d046d00072971e8002d011521..."} 
[2026-09-17 11:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adda8f28012d046d00072971e8002d011521..."} 
[2026-09-17 11:03:57] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adda8f28012d046d00072971e8002d011521..."} 
[2026-09-17 11:03:57] local.INFO: Packet analysis {"connection_id":185180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:57] local.INFO: Extracted packet for processing {"connection_id":185180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:03:57] local.INFO: GPS Element Parsed {"raw_longitude":755264768,"raw_latitude":120156648,"longitude_deg":75.5264768,"latitude_deg":12.0156648,"altitude":45,"angle":277,"satellites":33,"speed":19,"hex_longitude":"2d046d00","hex_latitude":"072971e8","is_valid_coordinates":true} 
[2026-09-17 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143529728001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21264748154716160,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":328551697324847104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789623177000,"timestamp_ms":1789623177000,"timestamp_seconds":1789623177,"priority":1,"record_length":96,"hex_timestamp":"000001a0adda8f28"} 
[2026-09-17 11:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-17 11:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143529728001,"66":14004,"77":206,"83":44288,"24":19,"16":21264748154716160,"45":328551697324847104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-17 11:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143529728001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21264748154716160,"km_value":21264748154716.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":328551697324847104,"description":"Unknown IO ID 45"} 
[2026-09-17 11:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143529728001,"power":14004,"unknown_77":206,"unknown_83":44288,"ignition":19,"odometer":null,"unknown_45":328551697324847104}} 
[2026-09-17 11:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":185180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:03:57] local.INFO: GPS data processed {"connection_id":185180,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:03:57] local.INFO: Acknowledgment sent {"connection_id":185180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:03:57] local.INFO: TCP Data received {"connection_id":185182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:03:57] local.INFO: Processing buffer {"connection_id":185182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:03:57] local.INFO: IMEI packet received {"connection_id":185182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":185182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:04:03] local.INFO: TCP Data received {"connection_id":185182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:03] local.INFO: Processing buffer {"connection_id":185182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:03] local.INFO: IMEI packet received {"connection_id":185182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":185182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:04:10] local.INFO: TCP Data received {"connection_id":185181,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:04:10] local.INFO: Processing buffer {"connection_id":185181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:04:10] local.INFO: IMEI packet received {"connection_id":185181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":185181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:04:13] local.INFO: TCP Data received {"connection_id":185182,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adda7ba0012cf45340070ebd00002601382a..."} 
[2026-09-17 11:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adda7ba0012cf45340070ebd00002601382a..."} 
[2026-09-17 11:04:13] local.INFO: Processing buffer {"connection_id":185182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adda7ba0012cf45340070ebd00002601382a..."} 
[2026-09-17 11:04:13] local.INFO: Packet analysis {"connection_id":185182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:04:13] local.INFO: Extracted packet for processing {"connection_id":185182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":754209600,"raw_latitude":118406400,"longitude_deg":75.42096,"latitude_deg":11.84064,"altitude":38,"angle":312,"satellites":42,"speed":46,"hex_longitude":"2cf45340","hex_latitude":"070ebd00","is_valid_coordinates":true} 
[2026-09-17 11:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143529728001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32747588033708032,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-833236269497298944,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789623172000,"timestamp_ms":1789623172000,"timestamp_seconds":1789623172,"priority":1,"record_length":96,"hex_timestamp":"000001a0adda7ba0"} 
[2026-09-17 11:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 11:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143529728001,"66":14461,"132":206,"83":41728,"24":46,"16":32747588033708032,"44":-833236269497298944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,44]} 
[2026-09-17 11:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143529728001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:04:13] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-17 11:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 11:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32747588033708032,"km_value":32747588033708.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-833236269497298944,"description":"Unknown IO ID 44"} 
[2026-09-17 11:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143529728001,"power":14461,"unknown_132":206,"unknown_83":41728,"ignition":46,"odometer":null,"unknown_44":-833236269497298944}} 
[2026-09-17 11:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":185182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:04:13] local.INFO: GPS data processed {"connection_id":185182,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:04:13] local.INFO: Acknowledgment sent {"connection_id":185182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:04:16] local.INFO: TCP Data received {"connection_id":186474,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:04:16] local.INFO: Processing buffer {"connection_id":186474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:04:16] local.INFO: IMEI packet received {"connection_id":186474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":186474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:04:21] local.INFO: TCP Data received {"connection_id":186474,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:04:21] local.INFO: Processing buffer {"connection_id":186474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:04:21] local.INFO: IMEI packet received {"connection_id":186474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":186474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:04:22] local.INFO: TCP Data received {"connection_id":186474,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:04:22] local.INFO: Processing buffer {"connection_id":186474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:04:22] local.INFO: Packet analysis {"connection_id":186474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:04:22] local.INFO: Extracted packet for processing {"connection_id":186474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:04:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":186474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:04:22] local.INFO: GPS data processed {"connection_id":186474,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:04:22] local.INFO: Acknowledgment sent {"connection_id":186474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:04:28] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0addabe08012d045540072973c0003401211f..."} 
[2026-09-17 11:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addabe08012d045540072973c0003401211f..."} 
[2026-09-17 11:04:28] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addabe08012d045540072973c0003401211f..."} 
[2026-09-17 11:04:28] local.INFO: Packet analysis {"connection_id":185180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:04:28] local.INFO: Extracted packet for processing {"connection_id":185180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adda"} 
[2026-09-17 11:04:28] local.INFO: GPS Element Parsed {"raw_longitude":755258688,"raw_latitude":120157120,"longitude_deg":75.5258688,"latitude_deg":12.015712,"altitude":52,"angle":289,"satellites":31,"speed":20,"hex_longitude":"2d045540","hex_latitude":"072973c0","is_valid_coordinates":true} 
[2026-09-17 11:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143533312001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21265035917524992,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":318911179373275136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789623189000,"timestamp_ms":1789623189000,"timestamp_seconds":1789623189,"priority":1,"record_length":96,"hex_timestamp":"000001a0addabe08"} 
[2026-09-17 11:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 11:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143533312001,"66":13961,"207":206,"83":44288,"24":20,"16":21265035917524992,"45":318911179373275136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-09-17 11:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143533312001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:04:28] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 11:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21265035917524992,"km_value":21265035917524.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":318911179373275136,"description":"Unknown IO ID 45"} 
[2026-09-17 11:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143533312001,"power":13961,"unknown_207":206,"unknown_83":44288,"ignition":20,"odometer":null,"unknown_45":318911179373275136}} 
[2026-09-17 11:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":185180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:04:28] local.INFO: GPS data processed {"connection_id":185180,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:04:28] local.INFO: Acknowledgment sent {"connection_id":185180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:04:44] local.INFO: TCP Data received {"connection_id":187795,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:44] local.INFO: Processing buffer {"connection_id":187795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:44] local.INFO: IMEI packet received {"connection_id":187795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":187795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:04:45] local.INFO: TCP Data received {"connection_id":187795,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:45] local.INFO: Processing buffer {"connection_id":187795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:45] local.INFO: IMEI packet received {"connection_id":187795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":187795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:04:47] local.INFO: TCP Data received {"connection_id":187795,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:47] local.INFO: Processing buffer {"connection_id":187795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:47] local.INFO: IMEI packet received {"connection_id":187795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":187795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:04:47] local.INFO: TCP Data received {"connection_id":187795,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:47] local.INFO: Processing buffer {"connection_id":187795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:04:47] local.INFO: IMEI packet received {"connection_id":187795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":187795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:04:50] local.INFO: TCP Data received {"connection_id":185183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:04:50] local.INFO: Processing buffer {"connection_id":185183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:04:50] local.INFO: IMEI packet received {"connection_id":185183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":185183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:04:54] local.INFO: TCP Data received {"connection_id":186474,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:04:54] local.INFO: Processing buffer {"connection_id":186474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:04:54] local.INFO: Packet analysis {"connection_id":186474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:04:54] local.INFO: Extracted packet for processing {"connection_id":186474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":186474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:04:54] local.INFO: GPS data processed {"connection_id":186474,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:04:54] local.INFO: Acknowledgment sent {"connection_id":186474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:04:55] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:55] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:55] local.INFO: IMEI packet received {"connection_id":186475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":186475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:04:55] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:55] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:55] local.INFO: IMEI packet received {"connection_id":186475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":186475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:04:58] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:58] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:04:58] local.INFO: IMEI packet received {"connection_id":186475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":186475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:05:02] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:05:02] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:05:02] local.INFO: IMEI packet received {"connection_id":186475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":186475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:05:03] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0addbeeb8012cf3eb40070fbd880026002e2a..."} 
[2026-09-17 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addbeeb8012cf3eb40070fbd880026002e2a..."} 
[2026-09-17 11:05:03] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addbeeb8012cf3eb40070fbd880026002e2a..."} 
[2026-09-17 11:05:03] local.INFO: Packet analysis {"connection_id":186475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addb"} 
[2026-09-17 11:05:03] local.INFO: Extracted packet for processing {"connection_id":186475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addb"} 
[2026-09-17 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":754182976,"raw_latitude":118472072,"longitude_deg":75.4182976,"latitude_deg":11.8472072,"altitude":38,"angle":46,"satellites":42,"speed":13,"hex_longitude":"2cf3eb40","hex_latitude":"070fbd88","is_valid_coordinates":true} 
[2026-09-17 11:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143555840001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751114201858048,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-870953916358221824,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623267000,"timestamp_ms":1789623267000,"timestamp_seconds":1789623267,"priority":1,"record_length":96,"hex_timestamp":"000001a0addbeeb8"} 
[2026-09-17 11:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 11:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143555840001,"66":14450,"35":206,"83":41472,"24":13,"16":32751114201858048,"44":-870953916358221824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143555840001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:05:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751114201858048,"km_value":32751114201858.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:05:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-870953916358221824,"description":"Unknown IO ID 44"} 
[2026-09-17 11:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143555840001,"power":14450,"unknown_35":206,"unknown_83":41472,"ignition":13,"odometer":null,"unknown_44":-870953916358221824}} 
[2026-09-17 11:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":186475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:05:03] local.INFO: GPS data processed {"connection_id":186475,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:05:03] local.INFO: Acknowledgment sent {"connection_id":186475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:05:15] local.INFO: TCP Data received {"connection_id":185050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:05:15] local.INFO: Processing buffer {"connection_id":185050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:05:15] local.INFO: IMEI packet received {"connection_id":185050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":185050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:05:21] local.INFO: TCP Data received {"connection_id":185050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:05:21] local.INFO: Processing buffer {"connection_id":185050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:05:21] local.INFO: IMEI packet received {"connection_id":185050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":185050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:05:22] local.INFO: TCP Data received {"connection_id":185050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:05:22] local.INFO: Processing buffer {"connection_id":185050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:05:22] local.INFO: Packet analysis {"connection_id":185050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:05:22] local.INFO: Extracted packet for processing {"connection_id":185050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:05:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":185050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:05:22] local.INFO: GPS data processed {"connection_id":185050,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:05:22] local.INFO: Acknowledgment sent {"connection_id":185050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:05:34] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0addbf2a0012cf3ec80070fbe600026003a2a..."} 
[2026-09-17 11:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addbf2a0012cf3ec80070fbe600026003a2a..."} 
[2026-09-17 11:05:34] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addbf2a0012cf3ec80070fbe600026003a2a..."} 
[2026-09-17 11:05:34] local.INFO: Packet analysis {"connection_id":186475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addb"} 
[2026-09-17 11:05:34] local.INFO: Extracted packet for processing {"connection_id":186475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addb"} 
[2026-09-17 11:05:34] local.INFO: GPS Element Parsed {"raw_longitude":754183296,"raw_latitude":118472288,"longitude_deg":75.4183296,"latitude_deg":11.8472288,"altitude":38,"angle":58,"satellites":42,"speed":15,"hex_longitude":"2cf3ec80","hex_latitude":"070fbe60","is_valid_coordinates":true} 
[2026-09-17 11:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143556352001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751131381727232,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-870531703893030912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623268000,"timestamp_ms":1789623268000,"timestamp_seconds":1789623268,"priority":1,"record_length":96,"hex_timestamp":"000001a0addbf2a0"} 
[2026-09-17 11:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 11:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143556352001,"66":14450,"35":206,"83":41472,"24":15,"16":32751131381727232,"44":-870531703893030912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143556352001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:05:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751131381727232,"km_value":32751131381727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:05:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-870531703893030912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143556352001,"power":14450,"unknown_35":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-870531703893030912}} 
[2026-09-17 11:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":186475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:05:35] local.INFO: GPS data processed {"connection_id":186475,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:05:35] local.INFO: Acknowledgment sent {"connection_id":186475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:05:56] local.INFO: TCP Data received {"connection_id":185050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:05:56] local.INFO: Processing buffer {"connection_id":185050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:05:56] local.INFO: Packet analysis {"connection_id":185050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:05:56] local.INFO: Extracted packet for processing {"connection_id":185050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:05:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:05:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":185050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:05:56] local.INFO: GPS data processed {"connection_id":185050,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:05:56] local.INFO: Acknowledgment sent {"connection_id":185050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:05:57] local.INFO: TCP Data received {"connection_id":185051,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185051,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:05:57] local.INFO: Processing buffer {"connection_id":185051,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:05:57] local.INFO: IMEI packet received {"connection_id":185051,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":185051,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:06:02] local.INFO: TCP Data received {"connection_id":185051,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185051,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:06:02] local.INFO: Processing buffer {"connection_id":185051,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:06:02] local.INFO: IMEI packet received {"connection_id":185051,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":185051,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:06:03] local.INFO: TCP Data received {"connection_id":185051,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0addbfa70012cf3f000070fbfd80026004826..."} 
[2026-09-17 11:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addbfa70012cf3f000070fbfd80026004826..."} 
[2026-09-17 11:06:03] local.INFO: Processing buffer {"connection_id":185051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addbfa70012cf3f000070fbfd80026004826..."} 
[2026-09-17 11:06:03] local.INFO: Packet analysis {"connection_id":185051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addb"} 
[2026-09-17 11:06:03] local.INFO: Extracted packet for processing {"connection_id":185051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addb"} 
[2026-09-17 11:06:03] local.INFO: GPS Element Parsed {"raw_longitude":754184192,"raw_latitude":118472664,"longitude_deg":75.4184192,"latitude_deg":11.8472664,"altitude":38,"angle":72,"satellites":38,"speed":20,"hex_longitude":"2cf3f000","hex_latitude":"070fbfd8","is_valid_coordinates":true} 
[2026-09-17 11:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143556608001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751178626367488,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-870179860172087296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623270000,"timestamp_ms":1789623270000,"timestamp_seconds":1789623270,"priority":1,"record_length":96,"hex_timestamp":"000001a0addbfa70"} 
[2026-09-17 11:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 11:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143556608001,"66":14374,"35":206,"83":41472,"24":20,"16":32751178626367488,"44":-870179860172087296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143556608001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:06:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751178626367488,"km_value":32751178626367.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-870179860172087296,"description":"Unknown IO ID 44"} 
[2026-09-17 11:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143556608001,"power":14374,"unknown_35":206,"unknown_83":41472,"ignition":20,"odometer":null,"unknown_44":-870179860172087296}} 
[2026-09-17 11:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":185051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854884,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:06:03] local.INFO: GPS data processed {"connection_id":185051,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:06:03] local.INFO: Acknowledgment sent {"connection_id":185051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:06:15] local.INFO: TCP Data received {"connection_id":187797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:06:15] local.INFO: Processing buffer {"connection_id":187797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:06:15] local.INFO: IMEI packet received {"connection_id":187797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":187797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:06:20] local.INFO: TCP Data received {"connection_id":187797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:06:20] local.INFO: Processing buffer {"connection_id":187797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:06:20] local.INFO: IMEI packet received {"connection_id":187797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":187797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:06:21] local.INFO: TCP Data received {"connection_id":187797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:06:21] local.INFO: Processing buffer {"connection_id":187797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:06:21] local.INFO: Packet analysis {"connection_id":187797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:06:21] local.INFO: Extracted packet for processing {"connection_id":187797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:06:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":187797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:06:21] local.INFO: GPS data processed {"connection_id":187797,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:06:21] local.INFO: Acknowledgment sent {"connection_id":187797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:06:34] local.INFO: TCP Data received {"connection_id":185051,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0addc40c0012cf41200070fc9500027004c26..."} 
[2026-09-17 11:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addc40c0012cf41200070fc9500027004c26..."} 
[2026-09-17 11:06:34] local.INFO: Processing buffer {"connection_id":185051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addc40c0012cf41200070fc9500027004c26..."} 
[2026-09-17 11:06:34] local.INFO: Packet analysis {"connection_id":185051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:06:34] local.INFO: Extracted packet for processing {"connection_id":185051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:06:34] local.INFO: GPS Element Parsed {"raw_longitude":754192896,"raw_latitude":118475088,"longitude_deg":75.4192896,"latitude_deg":11.8475088,"altitude":39,"angle":76,"satellites":38,"speed":4,"hex_longitude":"2cf41200","hex_latitude":"070fc950","is_valid_coordinates":true} 
[2026-09-17 11:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143557120001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751608123097088,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-869194697753503744,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623288000,"timestamp_ms":1789623288000,"timestamp_seconds":1789623288,"priority":1,"record_length":96,"hex_timestamp":"000001a0addc40c0"} 
[2026-09-17 11:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 11:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143557120001,"66":14298,"35":206,"83":41472,"24":4,"16":32751608123097088,"44":-869194697753503744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143557120001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:06:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751608123097088,"km_value":32751608123097.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-869194697753503744,"description":"Unknown IO ID 44"} 
[2026-09-17 11:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143557120001,"power":14298,"unknown_35":206,"unknown_83":41472,"ignition":4,"odometer":null,"unknown_44":-869194697753503744}} 
[2026-09-17 11:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":185051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854886,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:06:34] local.INFO: GPS data processed {"connection_id":185051,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:06:34] local.INFO: Acknowledgment sent {"connection_id":185051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:06:52] local.INFO: TCP Data received {"connection_id":187797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:06:52] local.INFO: Processing buffer {"connection_id":187797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:06:52] local.INFO: Packet analysis {"connection_id":187797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:06:52] local.INFO: Extracted packet for processing {"connection_id":187797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":187797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:06:52] local.INFO: GPS data processed {"connection_id":187797,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:06:52] local.INFO: Acknowledgment sent {"connection_id":187797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:06:57] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:06:57] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:06:57] local.INFO: IMEI packet received {"connection_id":186477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":186477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:07:02] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:07:02] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:07:02] local.INFO: IMEI packet received {"connection_id":186477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":186477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:07:03] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0addc5448012cf41380070fc9680028004c29..."} 
[2026-09-17 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addc5448012cf41380070fc9680028004c29..."} 
[2026-09-17 11:07:03] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addc5448012cf41380070fc9680028004c29..."} 
[2026-09-17 11:07:03] local.INFO: Packet analysis {"connection_id":186477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:07:03] local.INFO: Extracted packet for processing {"connection_id":186477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:07:03] local.INFO: GPS Element Parsed {"raw_longitude":754193280,"raw_latitude":118475112,"longitude_deg":75.419328,"latitude_deg":11.8475112,"altitude":40,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2cf41380","hex_latitude":"070fc968","is_valid_coordinates":true} 
[2026-09-17 11:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143561728001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859624548544720896,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623293000,"timestamp_ms":1789623293000,"timestamp_seconds":1789623293,"priority":1,"record_length":96,"hex_timestamp":"000001a0addc5448"} 
[2026-09-17 11:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 11:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143561728001,"66":13722,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859624548544720896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143561728001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:07:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859624548544720896,"description":"Unknown IO ID 44"} 
[2026-09-17 11:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143561728001,"power":13722,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859624548544720896}} 
[2026-09-17 11:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":186477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854888,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:07:03] local.INFO: GPS data processed {"connection_id":186477,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:07:03] local.INFO: Acknowledgment sent {"connection_id":186477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:07:15] local.INFO: TCP Data received {"connection_id":185186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:07:15] local.INFO: Processing buffer {"connection_id":185186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:07:15] local.INFO: IMEI packet received {"connection_id":185186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":185186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:07:22] local.INFO: TCP Data received {"connection_id":185186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:07:22] local.INFO: Processing buffer {"connection_id":185186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:07:22] local.INFO: IMEI packet received {"connection_id":185186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":185186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:07:23] local.INFO: TCP Data received {"connection_id":185186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:07:23] local.INFO: Processing buffer {"connection_id":185186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0add9b850012d34c14006aa4438000c010129..."} 
[2026-09-17 11:07:23] local.INFO: Packet analysis {"connection_id":185186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:07:23] local.INFO: Extracted packet for processing {"connection_id":185186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0add9"} 
[2026-09-17 11:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143442176001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789623122000,"timestamp_ms":1789623122000,"timestamp_seconds":1789623122,"priority":1,"record_length":96,"hex_timestamp":"000001a0add9b850"} 
[2026-09-17 11:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143442176001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143442176001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143442176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":185186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:07:23] local.INFO: GPS data processed {"connection_id":185186,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:07:23] local.INFO: Acknowledgment sent {"connection_id":185186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:07:34] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0addc5448012cf41380070fc9680028004c29..."} 
[2026-09-17 11:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addc5448012cf41380070fc9680028004c29..."} 
[2026-09-17 11:07:34] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addc5448012cf41380070fc9680028004c29..."} 
[2026-09-17 11:07:34] local.INFO: Packet analysis {"connection_id":186477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:07:34] local.INFO: Extracted packet for processing {"connection_id":186477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:07:34] local.INFO: GPS Element Parsed {"raw_longitude":754193280,"raw_latitude":118475112,"longitude_deg":75.419328,"latitude_deg":11.8475112,"altitude":40,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2cf41380","hex_latitude":"070fc968","is_valid_coordinates":true} 
[2026-09-17 11:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143563008001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859202336079648768,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623293000,"timestamp_ms":1789623293000,"timestamp_seconds":1789623293,"priority":1,"record_length":96,"hex_timestamp":"000001a0addc5448"} 
[2026-09-17 11:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 11:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143563008001,"66":13722,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859202336079648768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143563008001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:07:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:07:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859202336079648768,"description":"Unknown IO ID 44"} 
[2026-09-17 11:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143563008001,"power":13722,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859202336079648768}} 
[2026-09-17 11:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":186477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854890,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:07:34] local.INFO: GPS data processed {"connection_id":186477,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:07:34] local.INFO: Acknowledgment sent {"connection_id":186477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:07:57] local.INFO: TCP Data received {"connection_id":185186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:07:57] local.INFO: Processing buffer {"connection_id":185186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:07:57] local.INFO: Packet analysis {"connection_id":185186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:07:57] local.INFO: Extracted packet for processing {"connection_id":185186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:07:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:07:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":185186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:07:57] local.INFO: GPS data processed {"connection_id":185186,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:07:57] local.INFO: Acknowledgment sent {"connection_id":185186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:08:02] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:08:02] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:08:02] local.INFO: IMEI packet received {"connection_id":186479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":186479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:08:07] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:08:07] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:08:07] local.INFO: IMEI packet received {"connection_id":186479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":186479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:08:08] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0addcb5f0012cf41340070fc9980028004c2b..."} 
[2026-09-17 11:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addcb5f0012cf41340070fc9980028004c2b..."} 
[2026-09-17 11:08:08] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addcb5f0012cf41340070fc9980028004c2b..."} 
[2026-09-17 11:08:08] local.INFO: Packet analysis {"connection_id":186479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:08:08] local.INFO: Extracted packet for processing {"connection_id":186479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:08:08] local.INFO: GPS Element Parsed {"raw_longitude":754193216,"raw_latitude":118475160,"longitude_deg":75.4193216,"latitude_deg":11.847516,"altitude":40,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2cf41340","hex_latitude":"070fc998","is_valid_coordinates":true} 
[2026-09-17 11:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143563008001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859202336079648768,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789623318000,"timestamp_ms":1789623318000,"timestamp_seconds":1789623318,"priority":1,"record_length":96,"hex_timestamp":"000001a0addcb5f0"} 
[2026-09-17 11:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 11:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143563008001,"66":12906,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859202336079648768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143563008001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:08:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:08:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859202336079648768,"description":"Unknown IO ID 44"} 
[2026-09-17 11:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143563008001,"power":12906,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859202336079648768}} 
[2026-09-17 11:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":186479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854892,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:08:08] local.INFO: GPS data processed {"connection_id":186479,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:08:08] local.INFO: Acknowledgment sent {"connection_id":186479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:08:12] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0addcb5f0012cf41340070fc9980028004c2b..."} 
[2026-09-17 11:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addcb5f0012cf41340070fc9980028004c2b..."} 
[2026-09-17 11:08:12] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addcb5f0012cf41340070fc9980028004c2b..."} 
[2026-09-17 11:08:12] local.INFO: Packet analysis {"connection_id":186479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:08:12] local.INFO: Extracted packet for processing {"connection_id":186479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addc"} 
[2026-09-17 11:08:12] local.INFO: GPS Element Parsed {"raw_longitude":754193216,"raw_latitude":118475160,"longitude_deg":75.4193216,"latitude_deg":11.847516,"altitude":40,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2cf41340","hex_latitude":"070fc998","is_valid_coordinates":true} 
[2026-09-17 11:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143569408001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859272704823814144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789623318000,"timestamp_ms":1789623318000,"timestamp_seconds":1789623318,"priority":1,"record_length":96,"hex_timestamp":"000001a0addcb5f0"} 
[2026-09-17 11:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143569408001,"66":12906,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859272704823814144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143569408001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:08:12] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859272704823814144,"description":"Unknown IO ID 44"} 
[2026-09-17 11:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143569408001,"power":12906,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859272704823814144}} 
[2026-09-17 11:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":186479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854893,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:08:13] local.INFO: GPS data processed {"connection_id":186479,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:08:13] local.INFO: Acknowledgment sent {"connection_id":186479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:08:15] local.INFO: TCP Data received {"connection_id":187798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:08:15] local.INFO: Processing buffer {"connection_id":187798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:08:15] local.INFO: IMEI packet received {"connection_id":187798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":187798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:08:20] local.INFO: TCP Data received {"connection_id":187798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:08:20] local.INFO: Processing buffer {"connection_id":187798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:08:20] local.INFO: IMEI packet received {"connection_id":187798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":187798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:08:22] local.INFO: TCP Data received {"connection_id":187798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:08:22] local.INFO: Processing buffer {"connection_id":187798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:08:22] local.INFO: Packet analysis {"connection_id":187798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:08:22] local.INFO: Extracted packet for processing {"connection_id":187798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:08:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:08:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:08:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":187798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:08:22] local.INFO: GPS data processed {"connection_id":187798,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:08:22] local.INFO: Acknowledgment sent {"connection_id":187798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:08:53] local.INFO: TCP Data received {"connection_id":187798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:08:53] local.INFO: Processing buffer {"connection_id":187798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:08:53] local.INFO: Packet analysis {"connection_id":187798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:08:53] local.INFO: Extracted packet for processing {"connection_id":187798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":187798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:08:53] local.INFO: GPS data processed {"connection_id":187798,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:08:53] local.INFO: Acknowledgment sent {"connection_id":187798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:08:57] local.INFO: TCP Data received {"connection_id":185188,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:08:57] local.INFO: Processing buffer {"connection_id":185188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:08:57] local.INFO: IMEI packet received {"connection_id":185188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":185188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:09:02] local.INFO: TCP Data received {"connection_id":185188,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:09:02] local.INFO: Processing buffer {"connection_id":185188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:09:02] local.INFO: IMEI packet received {"connection_id":185188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":185188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:09:03] local.INFO: TCP Data received {"connection_id":185188,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0addd0fc8012cf413c0070fc9880028004c28..."} 
[2026-09-17 11:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addd0fc8012cf413c0070fc9880028004c28..."} 
[2026-09-17 11:09:03] local.INFO: Processing buffer {"connection_id":185188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addd0fc8012cf413c0070fc9880028004c28..."} 
[2026-09-17 11:09:03] local.INFO: Packet analysis {"connection_id":185188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addd"} 
[2026-09-17 11:09:03] local.INFO: Extracted packet for processing {"connection_id":185188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addd"} 
[2026-09-17 11:09:03] local.INFO: GPS Element Parsed {"raw_longitude":754193344,"raw_latitude":118475144,"longitude_deg":75.4193344,"latitude_deg":11.8475144,"altitude":40,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2cf413c0","hex_latitude":"070fc988","is_valid_coordinates":true} 
[2026-09-17 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143569408001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859272704823814144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623341000,"timestamp_ms":1789623341000,"timestamp_seconds":1789623341,"priority":1,"record_length":96,"hex_timestamp":"000001a0addd0fc8"} 
[2026-09-17 11:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143569408001,"66":12428,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859272704823814144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143569408001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:09:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859272704823814144,"description":"Unknown IO ID 44"} 
[2026-09-17 11:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143569408001,"power":12428,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859272704823814144}} 
[2026-09-17 11:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":185188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854896,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:09:03] local.INFO: GPS data processed {"connection_id":185188,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:09:03] local.INFO: Acknowledgment sent {"connection_id":185188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:09:15] local.INFO: TCP Data received {"connection_id":185054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:09:15] local.INFO: Processing buffer {"connection_id":185054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:09:15] local.INFO: IMEI packet received {"connection_id":185054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":185054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:09:20] local.INFO: TCP Data received {"connection_id":185054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:09:20] local.INFO: Processing buffer {"connection_id":185054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:09:20] local.INFO: IMEI packet received {"connection_id":185054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":185054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:09:21] local.INFO: TCP Data received {"connection_id":185054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:09:21] local.INFO: Processing buffer {"connection_id":185054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:09:21] local.INFO: Packet analysis {"connection_id":185054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:09:21] local.INFO: Extracted packet for processing {"connection_id":185054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:09:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":185054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:09:21] local.INFO: GPS data processed {"connection_id":185054,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:09:21] local.INFO: Acknowledgment sent {"connection_id":185054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:09:34] local.INFO: TCP Data received {"connection_id":185188,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0addd1798012cf413c0070fc9880028004c29..."} 
[2026-09-17 11:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addd1798012cf413c0070fc9880028004c29..."} 
[2026-09-17 11:09:34] local.INFO: Processing buffer {"connection_id":185188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addd1798012cf413c0070fc9880028004c29..."} 
[2026-09-17 11:09:34] local.INFO: Packet analysis {"connection_id":185188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addd"} 
[2026-09-17 11:09:34] local.INFO: Extracted packet for processing {"connection_id":185188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addd"} 
[2026-09-17 11:09:34] local.INFO: GPS Element Parsed {"raw_longitude":754193344,"raw_latitude":118475144,"longitude_deg":75.4193344,"latitude_deg":11.8475144,"altitude":40,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2cf413c0","hex_latitude":"070fc988","is_valid_coordinates":true} 
[2026-09-17 11:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575296001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623343000,"timestamp_ms":1789623343000,"timestamp_seconds":1789623343,"priority":1,"record_length":96,"hex_timestamp":"000001a0addd1798"} 
[2026-09-17 11:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-17 11:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575296001,"66":12406,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575296001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:09:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575296001,"power":12406,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":185188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854898,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:09:34] local.INFO: GPS data processed {"connection_id":185188,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:09:34] local.INFO: Acknowledgment sent {"connection_id":185188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:09:53] local.INFO: TCP Data received {"connection_id":185054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:09:53] local.INFO: Processing buffer {"connection_id":185054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:09:53] local.INFO: Packet analysis {"connection_id":185054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:09:53] local.INFO: Extracted packet for processing {"connection_id":185054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":185054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:09:53] local.INFO: GPS data processed {"connection_id":185054,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:09:53] local.INFO: Acknowledgment sent {"connection_id":185054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:09:57] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:09:57] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:09:57] local.INFO: IMEI packet received {"connection_id":186481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":186481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:10:02] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:10:02] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:10:02] local.INFO: IMEI packet received {"connection_id":186481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":186481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:10:03] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0addd1798012cf413c0070fc9880028004c29..."} 
[2026-09-17 11:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addd1798012cf413c0070fc9880028004c29..."} 
[2026-09-17 11:10:03] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addd1798012cf413c0070fc9880028004c29..."} 
[2026-09-17 11:10:03] local.INFO: Packet analysis {"connection_id":186481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addd"} 
[2026-09-17 11:10:03] local.INFO: Extracted packet for processing {"connection_id":186481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addd"} 
[2026-09-17 11:10:03] local.INFO: GPS Element Parsed {"raw_longitude":754193344,"raw_latitude":118475144,"longitude_deg":75.4193344,"latitude_deg":11.8475144,"altitude":40,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2cf413c0","hex_latitude":"070fc988","is_valid_coordinates":true} 
[2026-09-17 11:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623343000,"timestamp_ms":1789623343000,"timestamp_seconds":1789623343,"priority":1,"record_length":96,"hex_timestamp":"000001a0addd1798"} 
[2026-09-17 11:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12406,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:10:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12406,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":186481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854900,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:10:03] local.INFO: GPS data processed {"connection_id":186481,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:10:03] local.INFO: Acknowledgment sent {"connection_id":186481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:10:05] local.INFO: TCP Data received {"connection_id":186480,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:10:05] local.INFO: Processing buffer {"connection_id":186480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:10:05] local.INFO: IMEI packet received {"connection_id":186480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":186480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:10:16] local.INFO: TCP Data received {"connection_id":185055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:10:16] local.INFO: Processing buffer {"connection_id":185055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:10:16] local.INFO: IMEI packet received {"connection_id":185055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":185055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:10:21] local.INFO: TCP Data received {"connection_id":185055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:10:21] local.INFO: Processing buffer {"connection_id":185055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:10:21] local.INFO: IMEI packet received {"connection_id":185055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":185055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:10:23] local.INFO: TCP Data received {"connection_id":185055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:10:23] local.INFO: Processing buffer {"connection_id":185055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:10:23] local.INFO: Packet analysis {"connection_id":185055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:10:23] local.INFO: Extracted packet for processing {"connection_id":185055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":185055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:10:23] local.INFO: GPS data processed {"connection_id":185055,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:10:23] local.INFO: Acknowledgment sent {"connection_id":185055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:10:34] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0addd1798012cf413c0070fc9880028004c29..."} 
[2026-09-17 11:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0addd1798012cf413c0070fc9880028004c29..."} 
[2026-09-17 11:10:34] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0addd1798012cf413c0070fc9880028004c29..."} 
[2026-09-17 11:10:34] local.INFO: Packet analysis {"connection_id":186481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0addd"} 
[2026-09-17 11:10:34] local.INFO: Extracted packet for processing {"connection_id":186481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0addd"} 
[2026-09-17 11:10:34] local.INFO: GPS Element Parsed {"raw_longitude":754193344,"raw_latitude":118475144,"longitude_deg":75.4193344,"latitude_deg":11.8475144,"altitude":40,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2cf413c0","hex_latitude":"070fc988","is_valid_coordinates":true} 
[2026-09-17 11:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623343000,"timestamp_ms":1789623343000,"timestamp_seconds":1789623343,"priority":1,"record_length":96,"hex_timestamp":"000001a0addd1798"} 
[2026-09-17 11:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12406,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:10:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12406,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":186481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854902,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:10:34] local.INFO: GPS data processed {"connection_id":186481,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:10:34] local.INFO: Acknowledgment sent {"connection_id":186481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:10:55] local.INFO: TCP Data received {"connection_id":185055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:10:55] local.INFO: Processing buffer {"connection_id":185055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:10:55] local.INFO: Packet analysis {"connection_id":185055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:10:55] local.INFO: Extracted packet for processing {"connection_id":185055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:10:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:10:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":185055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:10:55] local.INFO: GPS data processed {"connection_id":185055,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:10:55] local.INFO: Acknowledgment sent {"connection_id":185055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:10:55] local.INFO: TCP Data received {"connection_id":186482,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:10:55] local.INFO: Processing buffer {"connection_id":186482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:10:55] local.INFO: IMEI packet received {"connection_id":186482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":186482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:10:57] local.INFO: TCP Data received {"connection_id":187799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:10:57] local.INFO: Processing buffer {"connection_id":187799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:10:57] local.INFO: IMEI packet received {"connection_id":187799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":187799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:10:58] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:10:58] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:10:58] local.INFO: IMEI packet received {"connection_id":186483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":186483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:10:59] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:10:59] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:10:59] local.INFO: IMEI packet received {"connection_id":186483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":186483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:11:02] local.INFO: TCP Data received {"connection_id":187799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:11:02] local.INFO: Processing buffer {"connection_id":187799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:11:02] local.INFO: IMEI packet received {"connection_id":187799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":187799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:11:03] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:03] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:03] local.INFO: IMEI packet received {"connection_id":186483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":186483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:11:03] local.INFO: TCP Data received {"connection_id":187799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:11:03] local.INFO: Processing buffer {"connection_id":187799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:11:03] local.INFO: Packet analysis {"connection_id":187799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:03] local.INFO: Extracted packet for processing {"connection_id":187799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:11:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:11:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:11:03] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:03] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:03] local.INFO: IMEI packet received {"connection_id":186483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":186483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":187799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:11:03] local.INFO: GPS data processed {"connection_id":187799,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:11:03] local.INFO: Acknowledgment sent {"connection_id":187799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:11:05] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade14200012d01eb40072b39d0001f013120..."} 
[2026-09-17 11:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade14200012d01eb40072b39d0001f013120..."} 
[2026-09-17 11:11:05] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade14200012d01eb40072b39d0001f013120..."} 
[2026-09-17 11:11:05] local.INFO: Packet analysis {"connection_id":186483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:05] local.INFO: Extracted packet for processing {"connection_id":186483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:05] local.INFO: GPS Element Parsed {"raw_longitude":755100480,"raw_latitude":120273360,"longitude_deg":75.510048,"latitude_deg":12.027336,"altitude":31,"angle":305,"satellites":32,"speed":17,"hex_longitude":"2d01eb40","hex_latitude":"072b39d0","is_valid_coordinates":true} 
[2026-09-17 11:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143644672001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21278126977843200,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":139752356726521856,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789623616000,"timestamp_ms":1789623616000,"timestamp_seconds":1789623616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade14200"} 
[2026-09-17 11:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-17 11:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143644672001,"66":14048,"255":206,"83":44288,"24":17,"16":21278126977843200,"45":139752356726521856},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,45]} 
[2026-09-17 11:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143644672001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:11:05] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-17 11:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21278126977843200,"km_value":21278126977843.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":139752356726521856,"description":"Unknown IO ID 45"} 
[2026-09-17 11:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143644672001,"power":14048,"unknown_255":206,"unknown_83":44288,"ignition":17,"odometer":null,"unknown_45":139752356726521856}} 
[2026-09-17 11:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":186483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:11:05] local.INFO: GPS data processed {"connection_id":186483,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:11:05] local.INFO: Acknowledgment sent {"connection_id":186483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:11:07] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade14db8012d01e680072b3c28001c012021..."} 
[2026-09-17 11:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade14db8012d01e680072b3c28001c012021..."} 
[2026-09-17 11:11:07] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade14db8012d01e680072b3c28001c012021..."} 
[2026-09-17 11:11:07] local.INFO: Packet analysis {"connection_id":186483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:07] local.INFO: Extracted packet for processing {"connection_id":186483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:07] local.INFO: GPS Element Parsed {"raw_longitude":755099264,"raw_latitude":120273960,"longitude_deg":75.5099264,"latitude_deg":12.027396,"altitude":28,"angle":288,"satellites":33,"speed":19,"hex_longitude":"2d01e680","hex_latitude":"072b3c28","is_valid_coordinates":true} 
[2026-09-17 11:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143645696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21278191402352640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":138274613099089920,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789623619000,"timestamp_ms":1789623619000,"timestamp_seconds":1789623619,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade14db8"} 
[2026-09-17 11:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 11:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143645696001,"66":13928,"255":206,"83":44288,"24":19,"16":21278191402352640,"45":138274613099089920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,45]} 
[2026-09-17 11:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143645696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:11:07] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-17 11:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21278191402352640,"km_value":21278191402352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":138274613099089920,"description":"Unknown IO ID 45"} 
[2026-09-17 11:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143645696001,"power":13928,"unknown_255":206,"unknown_83":44288,"ignition":19,"odometer":null,"unknown_45":138274613099089920}} 
[2026-09-17 11:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":186483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:11:08] local.INFO: GPS data processed {"connection_id":186483,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:11:08] local.INFO: Acknowledgment sent {"connection_id":186483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:11:15] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:11:15] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:11:15] local.INFO: IMEI packet received {"connection_id":186484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":186484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:11:24] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:11:24] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:11:24] local.INFO: IMEI packet received {"connection_id":186484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":186484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:11:26] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:11:26] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:11:26] local.INFO: Packet analysis {"connection_id":186484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:11:26] local.INFO: Extracted packet for processing {"connection_id":186484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:11:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:11:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":186484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:11:26] local.INFO: GPS data processed {"connection_id":186484,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:11:26] local.INFO: Acknowledgment sent {"connection_id":186484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:11:34] local.INFO: TCP Data received {"connection_id":187799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:11:34] local.INFO: Processing buffer {"connection_id":187799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:11:34] local.INFO: Packet analysis {"connection_id":187799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:34] local.INFO: Extracted packet for processing {"connection_id":187799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:11:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:11:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":187799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854908,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:11:34] local.INFO: GPS data processed {"connection_id":187799,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:11:34] local.INFO: Acknowledgment sent {"connection_id":187799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:11:54] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:54] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:54] local.INFO: IMEI packet received {"connection_id":186485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":186485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:11:57] local.INFO: TCP Data received {"connection_id":185189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:11:57] local.INFO: Processing buffer {"connection_id":185189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:11:57] local.INFO: IMEI packet received {"connection_id":185189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":185189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:11:57] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:11:57] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:11:57] local.INFO: Packet analysis {"connection_id":186484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:11:57] local.INFO: Extracted packet for processing {"connection_id":186484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:11:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:11:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:11:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":186484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:11:57] local.INFO: GPS data processed {"connection_id":186484,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:11:57] local.INFO: Acknowledgment sent {"connection_id":186484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:11:57] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:57] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:11:57] local.INFO: IMEI packet received {"connection_id":186485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":186485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:11:59] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1d288012d01c000072b3390000a00de1d..."} 
[2026-09-17 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1d288012d01c000072b3390000a00de1d..."} 
[2026-09-17 11:11:59] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1d288012d01c000072b3390000a00de1d..."} 
[2026-09-17 11:11:59] local.INFO: Packet analysis {"connection_id":186485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:59] local.INFO: Extracted packet for processing {"connection_id":186485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:11:59] local.INFO: GPS Element Parsed {"raw_longitude":755089408,"raw_latitude":120271760,"longitude_deg":75.5089408,"latitude_deg":12.027176,"altitude":10,"angle":222,"satellites":29,"speed":11,"hex_longitude":"2d01c000","hex_latitude":"072b3390","is_valid_coordinates":true} 
[2026-09-17 11:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653632001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21278796992741376,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":126945245286533120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789623653000,"timestamp_ms":1789623653000,"timestamp_seconds":1789623653,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1d288"} 
[2026-09-17 11:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-17 11:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653632001,"66":14428,"214":206,"83":44288,"24":11,"16":21278796992741376,"45":126945245286533120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653632001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:11:59] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21278796992741376,"km_value":21278796992741.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":126945245286533120,"description":"Unknown IO ID 45"} 
[2026-09-17 11:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653632001,"power":14428,"unknown_214":206,"unknown_83":44288,"ignition":11,"odometer":null,"unknown_45":126945245286533120}} 
[2026-09-17 11:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":186485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:11:59] local.INFO: GPS data processed {"connection_id":186485,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:11:59] local.INFO: Acknowledgment sent {"connection_id":186485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:12:00] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1de40012d01bd00072b3218000700eb1e..."} 
[2026-09-17 11:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1de40012d01bd00072b3218000700eb1e..."} 
[2026-09-17 11:12:00] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1de40012d01bd00072b3218000700eb1e..."} 
[2026-09-17 11:12:00] local.INFO: Packet analysis {"connection_id":186485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:12:00] local.INFO: Extracted packet for processing {"connection_id":186485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":755088640,"raw_latitude":120271384,"longitude_deg":75.508864,"latitude_deg":12.0271384,"altitude":7,"angle":235,"satellites":30,"speed":13,"hex_longitude":"2d01bd00","hex_latitude":"072b3218","is_valid_coordinates":true} 
[2026-09-17 11:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143655168001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21278839942414336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":126100820355944448,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789623656000,"timestamp_ms":1789623656000,"timestamp_seconds":1789623656,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1de40"} 
[2026-09-17 11:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 11:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143655168001,"66":14330,"214":206,"83":44288,"24":13,"16":21278839942414336,"45":126100820355944448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143655168001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:12:00] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21278839942414336,"km_value":21278839942414.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":126100820355944448,"description":"Unknown IO ID 45"} 
[2026-09-17 11:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143655168001,"power":14330,"unknown_214":206,"unknown_83":44288,"ignition":13,"odometer":null,"unknown_45":126100820355944448}} 
[2026-09-17 11:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":186485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:12:00] local.INFO: GPS data processed {"connection_id":186485,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:12:00] local.INFO: Acknowledgment sent {"connection_id":186485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:12:02] local.INFO: TCP Data received {"connection_id":185189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:12:02] local.INFO: Processing buffer {"connection_id":185189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:12:02] local.INFO: IMEI packet received {"connection_id":185189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":185189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:12:03] local.INFO: TCP Data received {"connection_id":185189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:12:03] local.INFO: Processing buffer {"connection_id":185189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:12:03] local.INFO: Packet analysis {"connection_id":185189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:12:03] local.INFO: Extracted packet for processing {"connection_id":185189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:12:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:12:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":185189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854912,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:12:03] local.INFO: GPS data processed {"connection_id":185189,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:12:03] local.INFO: Acknowledgment sent {"connection_id":185189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:12:15] local.INFO: TCP Data received {"connection_id":185057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:12:15] local.INFO: Processing buffer {"connection_id":185057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:12:15] local.INFO: IMEI packet received {"connection_id":185057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":185057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:12:20] local.INFO: TCP Data received {"connection_id":185057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:12:20] local.INFO: Processing buffer {"connection_id":185057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:12:20] local.INFO: IMEI packet received {"connection_id":185057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":185057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:12:22] local.INFO: TCP Data received {"connection_id":185057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:12:22] local.INFO: Processing buffer {"connection_id":185057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adde5018012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:12:22] local.INFO: Packet analysis {"connection_id":185057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:12:22] local.INFO: Extracted packet for processing {"connection_id":185057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adde"} 
[2026-09-17 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143519232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789623423000,"timestamp_ms":1789623423000,"timestamp_seconds":1789623423,"priority":1,"record_length":96,"hex_timestamp":"000001a0adde5018"} 
[2026-09-17 11:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143519232001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143519232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:12:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:12:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143519232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":185057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:12:22] local.INFO: GPS data processed {"connection_id":185057,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:12:22] local.INFO: Acknowledgment sent {"connection_id":185057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:12:31] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade29da8012d019480072b3a40000201501f..."} 
[2026-09-17 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade29da8012d019480072b3a40000201501f..."} 
[2026-09-17 11:12:31] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade29da8012d019480072b3a40000201501f..."} 
[2026-09-17 11:12:31] local.INFO: Packet analysis {"connection_id":186485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:12:31] local.INFO: Extracted packet for processing {"connection_id":186485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":755078272,"raw_latitude":120273472,"longitude_deg":75.5078272,"latitude_deg":12.0273472,"altitude":2,"angle":336,"satellites":31,"speed":10,"hex_longitude":"2d019480","hex_latitude":"072b3a40","is_valid_coordinates":true} 
[2026-09-17 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143668224001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21279393993195520,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":113927027613587456,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789623705000,"timestamp_ms":1789623705000,"timestamp_seconds":1789623705,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade29da8"} 
[2026-09-17 11:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-17 11:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143668224001,"66":14515,"119":206,"83":44288,"24":10,"16":21279393993195520,"45":113927027613587456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143668224001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:12:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21279393993195520,"km_value":21279393993195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":113927027613587456,"description":"Unknown IO ID 45"} 
[2026-09-17 11:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143668224001,"power":14515,"unknown_119":206,"unknown_83":44288,"ignition":10,"odometer":null,"unknown_45":113927027613587456}} 
[2026-09-17 11:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":186485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:12:31] local.INFO: GPS data processed {"connection_id":186485,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:12:31] local.INFO: Acknowledgment sent {"connection_id":186485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:12:34] local.INFO: TCP Data received {"connection_id":185189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:12:34] local.INFO: Processing buffer {"connection_id":185189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:12:34] local.INFO: Packet analysis {"connection_id":185189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:12:34] local.INFO: Extracted packet for processing {"connection_id":185189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:12:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:12:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:12:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":185189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854915,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:12:34] local.INFO: GPS data processed {"connection_id":185189,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:12:34] local.INFO: Acknowledgment sent {"connection_id":185189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:12:57] local.INFO: TCP Data received {"connection_id":185057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:12:57] local.INFO: Processing buffer {"connection_id":185057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:12:57] local.INFO: Packet analysis {"connection_id":185057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:12:57] local.INFO: Extracted packet for processing {"connection_id":185057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:12:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:12:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":185057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:12:57] local.INFO: GPS data processed {"connection_id":185057,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:12:57] local.INFO: Acknowledgment sent {"connection_id":185057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:13:02] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:13:02] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:13:02] local.INFO: IMEI packet received {"connection_id":186486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":186486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:13:06] local.INFO: TCP Data received {"connection_id":187802,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:13:06] local.INFO: Processing buffer {"connection_id":187802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:13:06] local.INFO: IMEI packet received {"connection_id":187802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":187802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:13:07] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:13:07] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:13:07] local.INFO: IMEI packet received {"connection_id":186486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":186486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:13:08] local.INFO: TCP Data received {"connection_id":187802,"ip":"42.109.136.8","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 11:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187802,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 11:13:08] local.INFO: Processing buffer {"connection_id":187802,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-17 11:13:08] local.INFO: IMEI packet received {"connection_id":187802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":187802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:13:08] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:13:08] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:13:08] local.INFO: Packet analysis {"connection_id":186486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:13:08] local.INFO: Extracted packet for processing {"connection_id":186486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:13:08] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11: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-09-17 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:13:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:13:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:13:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":186486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:13:08] local.INFO: GPS data processed {"connection_id":186486,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:13:08] local.INFO: Acknowledgment sent {"connection_id":186486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:13:12] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:13:12] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:13:12] local.INFO: Packet analysis {"connection_id":186486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:13:12] local.INFO: Extracted packet for processing {"connection_id":186486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:13:12] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:13: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-09-17 11:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:13:12] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":186486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854918,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:13:13] local.INFO: GPS data processed {"connection_id":186486,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:13:13] local.INFO: Acknowledgment sent {"connection_id":186486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:13:15] local.INFO: TCP Data received {"connection_id":185191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:13:15] local.INFO: Processing buffer {"connection_id":185191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:13:15] local.INFO: IMEI packet received {"connection_id":185191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":185191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:13:20] local.INFO: TCP Data received {"connection_id":185191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:13:20] local.INFO: Processing buffer {"connection_id":185191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:13:20] local.INFO: IMEI packet received {"connection_id":185191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":185191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:13:22] local.INFO: TCP Data received {"connection_id":185191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:13:22] local.INFO: Processing buffer {"connection_id":185191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:13:22] local.INFO: Packet analysis {"connection_id":185191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:13:22] local.INFO: Extracted packet for processing {"connection_id":185191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:13:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:13:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":185191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:13:22] local.INFO: GPS data processed {"connection_id":185191,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:13:22] local.INFO: Acknowledgment sent {"connection_id":185191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:13:53] local.INFO: TCP Data received {"connection_id":185191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:13:53] local.INFO: Processing buffer {"connection_id":185191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:13:53] local.INFO: Packet analysis {"connection_id":185191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:13:53] local.INFO: Extracted packet for processing {"connection_id":185191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":185191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:13:53] local.INFO: GPS data processed {"connection_id":185191,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:13:53] local.INFO: Acknowledgment sent {"connection_id":185191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:13:58] local.INFO: TCP Data received {"connection_id":185058,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185058,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:13:58] local.INFO: Processing buffer {"connection_id":185058,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:13:58] local.INFO: IMEI packet received {"connection_id":185058,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":185058,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:14:02] local.INFO: TCP Data received {"connection_id":185058,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185058,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:14:02] local.INFO: Processing buffer {"connection_id":185058,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:14:02] local.INFO: IMEI packet received {"connection_id":185058,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":185058,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:14:03] local.INFO: TCP Data received {"connection_id":185058,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:14:03] local.INFO: Processing buffer {"connection_id":185058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:14:03] local.INFO: Packet analysis {"connection_id":185058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:14:03] local.INFO: Extracted packet for processing {"connection_id":185058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:14:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:14:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":185058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854921,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:14:03] local.INFO: GPS data processed {"connection_id":185058,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:14:03] local.INFO: Acknowledgment sent {"connection_id":185058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:14:15] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:14:15] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:14:15] local.INFO: IMEI packet received {"connection_id":186488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:14:20] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:14:20] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:14:20] local.INFO: IMEI packet received {"connection_id":186488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":186488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:14:21] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:14:21] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:14:21] local.INFO: Packet analysis {"connection_id":186488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:14:21] local.INFO: Extracted packet for processing {"connection_id":186488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:14:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":186488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:14:21] local.INFO: GPS data processed {"connection_id":186488,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:14:21] local.INFO: Acknowledgment sent {"connection_id":186488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:14:34] local.INFO: TCP Data received {"connection_id":185058,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:14:34] local.INFO: Processing buffer {"connection_id":185058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:14:34] local.INFO: Packet analysis {"connection_id":185058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:14:34] local.INFO: Extracted packet for processing {"connection_id":185058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:14:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:14:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:14:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":185058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:14:34] local.INFO: GPS data processed {"connection_id":185058,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:14:34] local.INFO: Acknowledgment sent {"connection_id":185058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:14:53] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:14:53] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:14:53] local.INFO: Packet analysis {"connection_id":186488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:14:53] local.INFO: Extracted packet for processing {"connection_id":186488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":186488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:14:53] local.INFO: GPS data processed {"connection_id":186488,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:14:53] local.INFO: Acknowledgment sent {"connection_id":186488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:14:57] local.INFO: TCP Data received {"connection_id":187805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187805,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:14:57] local.INFO: Processing buffer {"connection_id":187805,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:14:57] local.INFO: IMEI packet received {"connection_id":187805,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":187805,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:15:02] local.INFO: TCP Data received {"connection_id":187805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187805,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:15:02] local.INFO: Processing buffer {"connection_id":187805,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:15:02] local.INFO: IMEI packet received {"connection_id":187805,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":187805,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:15:09] local.INFO: TCP Data received {"connection_id":187805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:15:09] local.INFO: Processing buffer {"connection_id":187805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:15:09] local.INFO: Packet analysis {"connection_id":187805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:15:09] local.INFO: Extracted packet for processing {"connection_id":187805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:15:09] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11: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-09-17 11:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:15:09] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":187805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:15:09] local.INFO: GPS data processed {"connection_id":187805,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:15:09] local.INFO: Acknowledgment sent {"connection_id":187805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:15:15] local.INFO: TCP Data received {"connection_id":187806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:15:15] local.INFO: Processing buffer {"connection_id":187806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:15:15] local.INFO: IMEI packet received {"connection_id":187806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":187806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:15:20] local.INFO: TCP Data received {"connection_id":187806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:15:20] local.INFO: Processing buffer {"connection_id":187806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:15:20] local.INFO: IMEI packet received {"connection_id":187806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":187806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:15:22] local.INFO: TCP Data received {"connection_id":187806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:15:22] local.INFO: Processing buffer {"connection_id":187806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:15:22] local.INFO: Packet analysis {"connection_id":187806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:15:22] local.INFO: Extracted packet for processing {"connection_id":187806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:15:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:15:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":187806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:15:22] local.INFO: GPS data processed {"connection_id":187806,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:15:22] local.INFO: Acknowledgment sent {"connection_id":187806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:15:40] local.INFO: TCP Data received {"connection_id":187805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:15:40] local.INFO: Processing buffer {"connection_id":187805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade1b730012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:15:40] local.INFO: Packet analysis {"connection_id":187805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:15:40] local.INFO: Extracted packet for processing {"connection_id":187805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade1"} 
[2026-09-17 11:15:40] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143575808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789623646000,"timestamp_ms":1789623646000,"timestamp_seconds":1789623646,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade1b730"} 
[2026-09-17 11:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11: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-09-17 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143575808001,"66":12819,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143575808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:15:40] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143575808001,"power":12819,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":187805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854927,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:15:40] local.INFO: GPS data processed {"connection_id":187805,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:15:40] local.INFO: Acknowledgment sent {"connection_id":187805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:15:54] local.INFO: TCP Data received {"connection_id":187806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:15:54] local.INFO: Processing buffer {"connection_id":187806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:15:54] local.INFO: Packet analysis {"connection_id":187806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:15:54] local.INFO: Extracted packet for processing {"connection_id":187806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":187806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:15:54] local.INFO: GPS data processed {"connection_id":187806,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:15:54] local.INFO: Acknowledgment sent {"connection_id":187806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:15:57] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:15:57] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:15:57] local.INFO: IMEI packet received {"connection_id":186490,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":186490,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:16:02] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:16:02] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:16:02] local.INFO: IMEI packet received {"connection_id":186490,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":186490,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:16:03] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:16:03] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:16:03] local.INFO: Packet analysis {"connection_id":186490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:16:03] local.INFO: Extracted packet for processing {"connection_id":186490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:16:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186490,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186490,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:16:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:16:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":186490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854929,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:16:03] local.INFO: GPS data processed {"connection_id":186490,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:16:03] local.INFO: Acknowledgment sent {"connection_id":186490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:16:15] local.INFO: TCP Data received {"connection_id":185193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:16:15] local.INFO: Processing buffer {"connection_id":185193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:16:15] local.INFO: IMEI packet received {"connection_id":185193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":185193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:16:20] local.INFO: TCP Data received {"connection_id":185193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:16:20] local.INFO: Processing buffer {"connection_id":185193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:16:20] local.INFO: IMEI packet received {"connection_id":185193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:16:20] local.INFO: TCP Data received {"connection_id":185059,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:16:20] local.INFO: Processing buffer {"connection_id":185059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:16:20] local.INFO: IMEI packet received {"connection_id":185059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:16:22] local.INFO: TCP Data received {"connection_id":185193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:16:22] local.INFO: Processing buffer {"connection_id":185193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:16:22] local.INFO: Packet analysis {"connection_id":185193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:16:22] local.INFO: Extracted packet for processing {"connection_id":185193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:16:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:16:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:16:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":185193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:16:22] local.INFO: GPS data processed {"connection_id":185193,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:16:22] local.INFO: Acknowledgment sent {"connection_id":185193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:16:34] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:16:34] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:16:34] local.INFO: Packet analysis {"connection_id":186490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:16:34] local.INFO: Extracted packet for processing {"connection_id":186490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:16:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:16:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186490,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186490,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:16:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:16:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":186490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:16:35] local.INFO: GPS data processed {"connection_id":186490,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:16:35] local.INFO: Acknowledgment sent {"connection_id":186490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:16:55] local.INFO: TCP Data received {"connection_id":185194,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:16:55] local.INFO: Processing buffer {"connection_id":185194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:16:55] local.INFO: IMEI packet received {"connection_id":185194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":185194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:16:55] local.INFO: TCP Data received {"connection_id":185193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:16:56] local.INFO: Processing buffer {"connection_id":185193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:16:56] local.INFO: Packet analysis {"connection_id":185193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:16:56] local.INFO: Extracted packet for processing {"connection_id":185193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:16:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:16:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:16:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":185193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:16:56] local.INFO: GPS data processed {"connection_id":185193,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:16:56] local.INFO: Acknowledgment sent {"connection_id":185193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:17:02] local.INFO: TCP Data received {"connection_id":187807,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:17:02] local.INFO: Processing buffer {"connection_id":187807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:17:02] local.INFO: IMEI packet received {"connection_id":187807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":187807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:17:07] local.INFO: TCP Data received {"connection_id":187807,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:17:07] local.INFO: Processing buffer {"connection_id":187807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:17:07] local.INFO: IMEI packet received {"connection_id":187807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":187807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:17:08] local.INFO: TCP Data received {"connection_id":187807,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:17:08] local.INFO: Processing buffer {"connection_id":187807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:17:08] local.INFO: Packet analysis {"connection_id":187807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:17:08] local.INFO: Extracted packet for processing {"connection_id":187807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:17:08] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11: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-09-17 11: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:17:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:17:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:17:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":187807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854933,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:17:08] local.INFO: GPS data processed {"connection_id":187807,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:17:08] local.INFO: Acknowledgment sent {"connection_id":187807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:17:12] local.INFO: TCP Data received {"connection_id":187807,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:17:12] local.INFO: Processing buffer {"connection_id":187807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:17:12] local.INFO: Packet analysis {"connection_id":187807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:17:12] local.INFO: Extracted packet for processing {"connection_id":187807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:17:12] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:17: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-09-17 11:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:17:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:17:12] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":187807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:17:13] local.INFO: GPS data processed {"connection_id":187807,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:17:13] local.INFO: Acknowledgment sent {"connection_id":187807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:17:20] local.INFO: TCP Data received {"connection_id":185195,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:17:20] local.INFO: Processing buffer {"connection_id":185195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:17:20] local.INFO: IMEI packet received {"connection_id":185195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":185195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:17:25] local.INFO: TCP Data received {"connection_id":185195,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:17:25] local.INFO: Processing buffer {"connection_id":185195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:17:25] local.INFO: IMEI packet received {"connection_id":185195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":185195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:17:44] local.INFO: TCP Data received {"connection_id":185195,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:17:44] local.INFO: Processing buffer {"connection_id":185195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade2e7e0012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:17:44] local.INFO: Packet analysis {"connection_id":185195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:17:44] local.INFO: Extracted packet for processing {"connection_id":185195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade2"} 
[2026-09-17 11:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:17: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-09-17 11:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143596288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789623724000,"timestamp_ms":1789623724000,"timestamp_seconds":1789623724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade2e7e0"} 
[2026-09-17 11:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:17: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-09-17 11:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:17: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-09-17 11:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143596288001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143596288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143596288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":185195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:17:44] local.INFO: GPS data processed {"connection_id":185195,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:17:44] local.INFO: Acknowledgment sent {"connection_id":185195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:17:57] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:17:57] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:17:57] local.INFO: IMEI packet received {"connection_id":186492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":186492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:18:02] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:18:02] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:18:02] local.INFO: IMEI packet received {"connection_id":186492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":186492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:18:03] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:18:03] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:18:03] local.INFO: Packet analysis {"connection_id":186492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:18:03] local.INFO: Extracted packet for processing {"connection_id":186492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:18:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:18:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:18:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":186492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:18:03] local.INFO: GPS data processed {"connection_id":186492,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:18:03] local.INFO: Acknowledgment sent {"connection_id":186492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:18:07] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:18:07] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:18:07] local.INFO: Packet analysis {"connection_id":186492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:18:07] local.INFO: Extracted packet for processing {"connection_id":186492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:18:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:18:07] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:18:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":186492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:18:08] local.INFO: GPS data processed {"connection_id":186492,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:18:08] local.INFO: Acknowledgment sent {"connection_id":186492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:18:08] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:18:08] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:18:08] local.INFO: IMEI packet received {"connection_id":186493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":186493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:18:08] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade5c258012d018440072b64880011015924..."} 
[2026-09-17 11:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade5c258012d018440072b64880011015924..."} 
[2026-09-17 11:18:08] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade5c258012d018440072b64880011015924..."} 
[2026-09-17 11:18:08] local.INFO: Packet analysis {"connection_id":186493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade5"} 
[2026-09-17 11:18:08] local.INFO: Extracted packet for processing {"connection_id":186493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade5"} 
[2026-09-17 11:18:08] local.INFO: GPS Element Parsed {"raw_longitude":755074112,"raw_latitude":120284296,"longitude_deg":75.5074112,"latitude_deg":12.0284296,"altitude":17,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d018440","hex_latitude":"072b6488","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143715840001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789623911000,"timestamp_ms":1789623911000,"timestamp_seconds":1789623911,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade5c258"} 
[2026-09-17 11:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-17 11:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143715840001,"66":12689,"212":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,83,24,16,45]} 
[2026-09-17 11:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143715840001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:18:08] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 11:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143715840001,"power":12689,"unknown_212":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":186493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:18:08] local.INFO: GPS data processed {"connection_id":186493,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:18:08] local.INFO: Acknowledgment sent {"connection_id":186493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:18:15] local.INFO: TCP Data received {"connection_id":187808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:18:15] local.INFO: Processing buffer {"connection_id":187808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:18:15] local.INFO: IMEI packet received {"connection_id":187808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":187808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:18:20] local.INFO: TCP Data received {"connection_id":187808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:18:20] local.INFO: Processing buffer {"connection_id":187808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:18:20] local.INFO: IMEI packet received {"connection_id":187808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":187808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:18:22] local.INFO: TCP Data received {"connection_id":187808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:18:22] local.INFO: Processing buffer {"connection_id":187808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:18:22] local.INFO: Packet analysis {"connection_id":187808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:18:22] local.INFO: Extracted packet for processing {"connection_id":187808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:18:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:18:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:18:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":187808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:18:22] local.INFO: GPS data processed {"connection_id":187808,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:18:22] local.INFO: Acknowledgment sent {"connection_id":187808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:18:38] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:18:38] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:18:38] local.INFO: Packet analysis {"connection_id":186492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:18:38] local.INFO: Extracted packet for processing {"connection_id":186492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:18:38] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:18:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:18:38] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:18:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":186492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854940,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:18:38] local.INFO: GPS data processed {"connection_id":186492,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:18:38] local.INFO: Acknowledgment sent {"connection_id":186492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:18:54] local.INFO: TCP Data received {"connection_id":187808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:18:54] local.INFO: Processing buffer {"connection_id":187808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:18:54] local.INFO: Packet analysis {"connection_id":187808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:18:54] local.INFO: Extracted packet for processing {"connection_id":187808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:18:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:18:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":187808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:18:54] local.INFO: GPS data processed {"connection_id":187808,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:18:54] local.INFO: Acknowledgment sent {"connection_id":187808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:18:57] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:18:57] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:18:57] local.INFO: IMEI packet received {"connection_id":186495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":186495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:19:02] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:19:02] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:19:02] local.INFO: IMEI packet received {"connection_id":186495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":186495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:19:03] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:19:03] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:19:03] local.INFO: Packet analysis {"connection_id":186495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:19:03] local.INFO: Extracted packet for processing {"connection_id":186495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:19:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:19:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":186495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:19:03] local.INFO: GPS data processed {"connection_id":186495,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:19:03] local.INFO: Acknowledgment sent {"connection_id":186495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:19:15] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:19:15] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:19:15] local.INFO: IMEI packet received {"connection_id":186496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":186496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:19:20] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:19:20] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:19:20] local.INFO: IMEI packet received {"connection_id":186496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":186496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:19:21] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:19:21] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:19:21] local.INFO: Packet analysis {"connection_id":186496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:19:21] local.INFO: Extracted packet for processing {"connection_id":186496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:19:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":186496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:19:21] local.INFO: GPS data processed {"connection_id":186496,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:19:21] local.INFO: Acknowledgment sent {"connection_id":186496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:19:22] local.INFO: TCP Data received {"connection_id":185061,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:22] local.INFO: Processing buffer {"connection_id":185061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:22] local.INFO: IMEI packet received {"connection_id":185061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":185061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:19:28] local.INFO: TCP Data received {"connection_id":185061,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:28] local.INFO: Processing buffer {"connection_id":185061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:28] local.INFO: IMEI packet received {"connection_id":185061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":185061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:19:29] local.INFO: TCP Data received {"connection_id":185061,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade61460012d018440072b64880011015925..."} 
[2026-09-17 11:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade61460012d018440072b64880011015925..."} 
[2026-09-17 11:19:29] local.INFO: Processing buffer {"connection_id":185061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade61460012d018440072b64880011015925..."} 
[2026-09-17 11:19:29] local.INFO: Packet analysis {"connection_id":185061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:19:29] local.INFO: Extracted packet for processing {"connection_id":185061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:19:29] local.INFO: GPS Element Parsed {"raw_longitude":755074112,"raw_latitude":120284296,"longitude_deg":75.5074112,"latitude_deg":12.0284296,"altitude":17,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d018440","hex_latitude":"072b6488","is_valid_coordinates":true} 
[2026-09-17 11:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143721216001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789623932000,"timestamp_ms":1789623932000,"timestamp_seconds":1789623932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade61460"} 
[2026-09-17 11:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 11:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143721216001,"66":13798,"212":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,83,24,16,45]} 
[2026-09-17 11:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143721216001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:19:29] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 11:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143721216001,"power":13798,"unknown_212":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":185061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:19:29] local.INFO: GPS data processed {"connection_id":185061,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:19:29] local.INFO: Acknowledgment sent {"connection_id":185061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:19:34] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:19:34] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:19:34] local.INFO: Packet analysis {"connection_id":186495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:19:34] local.INFO: Extracted packet for processing {"connection_id":186495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:19:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:19:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:19:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":186495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:19:34] local.INFO: GPS data processed {"connection_id":186495,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:19:34] local.INFO: Acknowledgment sent {"connection_id":186495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:19:47] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:47] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:47] local.INFO: IMEI packet received {"connection_id":185062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":185062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:19:55] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:19:55] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:19:55] local.INFO: Packet analysis {"connection_id":186496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:19:55] local.INFO: Extracted packet for processing {"connection_id":186496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:19:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:19:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":186496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:19:55] local.INFO: GPS data processed {"connection_id":186496,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:19:55] local.INFO: Acknowledgment sent {"connection_id":186496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:19:57] local.INFO: TCP Data received {"connection_id":185064,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:19:57] local.INFO: Processing buffer {"connection_id":185064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:19:57] local.INFO: IMEI packet received {"connection_id":185064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":185064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:19:59] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:59] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:19:59] local.INFO: IMEI packet received {"connection_id":185062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":185062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:20:00] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:00] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:00] local.INFO: IMEI packet received {"connection_id":185062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":185062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:20:02] local.INFO: TCP Data received {"connection_id":185064,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:20:02] local.INFO: Processing buffer {"connection_id":185064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:20:02] local.INFO: IMEI packet received {"connection_id":185064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":185064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:20:03] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:03] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:03] local.INFO: IMEI packet received {"connection_id":185062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":185062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:20:03] local.INFO: TCP Data received {"connection_id":185064,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:20:03] local.INFO: Processing buffer {"connection_id":185064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:20:03] local.INFO: Packet analysis {"connection_id":185064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:03] local.INFO: Extracted packet for processing {"connection_id":185064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:20:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:20:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":185064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854947,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:20:03] local.INFO: GPS data processed {"connection_id":185064,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:20:03] local.INFO: Acknowledgment sent {"connection_id":185064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:20:04] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade62400012d018440072b64880011015923..."} 
[2026-09-17 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade62400012d018440072b64880011015923..."} 
[2026-09-17 11:20:04] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade62400012d018440072b64880011015923..."} 
[2026-09-17 11:20:04] local.INFO: Packet analysis {"connection_id":185062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:04] local.INFO: Extracted packet for processing {"connection_id":185062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:04] local.INFO: GPS Element Parsed {"raw_longitude":755074112,"raw_latitude":120284296,"longitude_deg":75.5074112,"latitude_deg":12.0284296,"altitude":17,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d018440","hex_latitude":"072b6488","is_valid_coordinates":true} 
[2026-09-17 11:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143726592001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789623936000,"timestamp_ms":1789623936000,"timestamp_seconds":1789623936,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade62400"} 
[2026-09-17 11:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-17 11:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143726592001,"66":12798,"212":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,83,24,16,45]} 
[2026-09-17 11:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143726592001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:20:04] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 11:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143726592001,"power":12798,"unknown_212":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":185062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:20:04] local.INFO: GPS data processed {"connection_id":185062,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:20:04] local.INFO: Acknowledgment sent {"connection_id":185062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:20:15] local.INFO: TCP Data received {"connection_id":187809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:20:15] local.INFO: Processing buffer {"connection_id":187809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:20:15] local.INFO: IMEI packet received {"connection_id":187809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":187809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:20:16] local.INFO: TCP Data received {"connection_id":185062,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade62400012d018440072b64880011015923..."} 
[2026-09-17 11:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade62400012d018440072b64880011015923..."} 
[2026-09-17 11:20:16] local.INFO: Processing buffer {"connection_id":185062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade62400012d018440072b64880011015923..."} 
[2026-09-17 11:20:16] local.INFO: Packet analysis {"connection_id":185062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:16] local.INFO: Extracted packet for processing {"connection_id":185062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:16] local.INFO: GPS Element Parsed {"raw_longitude":755074112,"raw_latitude":120284296,"longitude_deg":75.5074112,"latitude_deg":12.0284296,"altitude":17,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d018440","hex_latitude":"072b6488","is_valid_coordinates":true} 
[2026-09-17 11:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789623936000,"timestamp_ms":1789623936000,"timestamp_seconds":1789623936,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade62400"} 
[2026-09-17 11:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":12798,"212":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,83,24,16,45]} 
[2026-09-17 11:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:20:16] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 11:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":12798,"unknown_212":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":185062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:20:16] local.INFO: GPS data processed {"connection_id":185062,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:20:16] local.INFO: Acknowledgment sent {"connection_id":185062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:20:21] local.INFO: TCP Data received {"connection_id":187809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:20:21] local.INFO: Processing buffer {"connection_id":187809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:20:21] local.INFO: IMEI packet received {"connection_id":187809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":187809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:20:23] local.INFO: TCP Data received {"connection_id":187809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:20:23] local.INFO: Processing buffer {"connection_id":187809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:20:23] local.INFO: Packet analysis {"connection_id":187809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:20:23] local.INFO: Extracted packet for processing {"connection_id":187809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:20:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":187809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:20:23] local.INFO: GPS data processed {"connection_id":187809,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:20:23] local.INFO: Acknowledgment sent {"connection_id":187809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:20:34] local.INFO: TCP Data received {"connection_id":185064,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:20:34] local.INFO: Processing buffer {"connection_id":185064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade64ef8012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:20:34] local.INFO: Packet analysis {"connection_id":185064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:34] local.INFO: Extracted packet for processing {"connection_id":185064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143653376001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789623947000,"timestamp_ms":1789623947000,"timestamp_seconds":1789623947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade64ef8"} 
[2026-09-17 11:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916897864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094902279,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84710851160248265,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3382181928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099377577984,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8728821388940541976,"corrected_to":0} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124597016985600,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648671706657197,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":10977851146765312,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,23,44,192,201,40,41,10,66,15,1,240,140,227,173,4,113,205,181,19,152,43,239,50,2,116,7,53,162,111,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8728821388940541976,"validated":0}]} 
[2026-09-17 11:20:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143653376001,"66":12809,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143653376001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:20:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143653376001,"power":12809,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":185064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854951,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:20:34] local.INFO: GPS data processed {"connection_id":185064,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:20:34] local.INFO: Acknowledgment sent {"connection_id":185064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:20:49] local.INFO: TCP Data received {"connection_id":187810,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:49] local.INFO: Processing buffer {"connection_id":187810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:49] local.INFO: IMEI packet received {"connection_id":187810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":187810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:20:53] local.INFO: TCP Data received {"connection_id":187810,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:53] local.INFO: Processing buffer {"connection_id":187810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:20:53] local.INFO: IMEI packet received {"connection_id":187810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":187810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:20:54] local.INFO: TCP Data received {"connection_id":187810,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade62400012d018440072b64880011015923..."} 
[2026-09-17 11:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade62400012d018440072b64880011015923..."} 
[2026-09-17 11:20:54] local.INFO: Processing buffer {"connection_id":187810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade62400012d018440072b64880011015923..."} 
[2026-09-17 11:20:54] local.INFO: Packet analysis {"connection_id":187810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:54] local.INFO: Extracted packet for processing {"connection_id":187810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade6"} 
[2026-09-17 11:20:54] local.INFO: GPS Element Parsed {"raw_longitude":755074112,"raw_latitude":120284296,"longitude_deg":75.5074112,"latitude_deg":12.0284296,"altitude":17,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d018440","hex_latitude":"072b6488","is_valid_coordinates":true} 
[2026-09-17 11:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789623936000,"timestamp_ms":1789623936000,"timestamp_seconds":1789623936,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade62400"} 
[2026-09-17 11:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":12798,"212":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,83,24,16,45]} 
[2026-09-17 11:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:20:54] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 11:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":12798,"unknown_212":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":187810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:20:54] local.INFO: GPS data processed {"connection_id":187810,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:20:54] local.INFO: Acknowledgment sent {"connection_id":187810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:20:56] local.INFO: TCP Data received {"connection_id":187809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:20:56] local.INFO: Processing buffer {"connection_id":187809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:20:56] local.INFO: Packet analysis {"connection_id":187809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:20:56] local.INFO: Extracted packet for processing {"connection_id":187809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:20:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:20:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:20:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":187809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:20:56] local.INFO: GPS data processed {"connection_id":187809,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:20:56] local.INFO: Acknowledgment sent {"connection_id":187809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:20:57] local.INFO: TCP Data received {"connection_id":187812,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:20:57] local.INFO: Processing buffer {"connection_id":187812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:20:57] local.INFO: IMEI packet received {"connection_id":187812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":187812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:21:02] local.INFO: TCP Data received {"connection_id":187812,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:21:02] local.INFO: Processing buffer {"connection_id":187812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:21:02] local.INFO: IMEI packet received {"connection_id":187812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":187812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:21:03] local.INFO: TCP Data received {"connection_id":187812,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:21:03] local.INFO: Processing buffer {"connection_id":187812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:21:03] local.INFO: Packet analysis {"connection_id":187812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:21:03] local.INFO: Extracted packet for processing {"connection_id":187812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:21:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:21:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:21:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":187812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:21:03] local.INFO: GPS data processed {"connection_id":187812,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:21:03] local.INFO: Acknowledgment sent {"connection_id":187812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:21:15] local.INFO: TCP Data received {"connection_id":186497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:21:15] local.INFO: Processing buffer {"connection_id":186497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:21:15] local.INFO: IMEI packet received {"connection_id":186497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":186497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:21:20] local.INFO: TCP Data received {"connection_id":186497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:21:20] local.INFO: Processing buffer {"connection_id":186497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:21:20] local.INFO: IMEI packet received {"connection_id":186497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":186497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:21:21] local.INFO: TCP Data received {"connection_id":186497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:21:21] local.INFO: Processing buffer {"connection_id":186497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:21:21] local.INFO: Packet analysis {"connection_id":186497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:21:21] local.INFO: Extracted packet for processing {"connection_id":186497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:21:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":186497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:21:21] local.INFO: GPS data processed {"connection_id":186497,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:21:21] local.INFO: Acknowledgment sent {"connection_id":186497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:21:25] local.INFO: TCP Data received {"connection_id":187810,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:21:25] local.INFO: Processing buffer {"connection_id":187810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:21:25] local.INFO: Packet analysis {"connection_id":187810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:21:25] local.INFO: Extracted packet for processing {"connection_id":187810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:21:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:21:25] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":187810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:21:25] local.INFO: GPS data processed {"connection_id":187810,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:21:25] local.INFO: Acknowledgment sent {"connection_id":187810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:21:34] local.INFO: TCP Data received {"connection_id":187812,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:21:34] local.INFO: Processing buffer {"connection_id":187812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:21:34] local.INFO: Packet analysis {"connection_id":187812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:21:34] local.INFO: Extracted packet for processing {"connection_id":187812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:21:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:21:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:21:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:21:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":187812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854957,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:21:34] local.INFO: GPS data processed {"connection_id":187812,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:21:34] local.INFO: Acknowledgment sent {"connection_id":187812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:21:53] local.INFO: TCP Data received {"connection_id":186497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:21:53] local.INFO: Processing buffer {"connection_id":186497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:21:53] local.INFO: Packet analysis {"connection_id":186497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:21:53] local.INFO: Extracted packet for processing {"connection_id":186497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":186497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:21:53] local.INFO: GPS data processed {"connection_id":186497,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:21:53] local.INFO: Acknowledgment sent {"connection_id":186497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:22:02] local.INFO: TCP Data received {"connection_id":185065,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:02] local.INFO: Processing buffer {"connection_id":185065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:02] local.INFO: IMEI packet received {"connection_id":185065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":185065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:22:06] local.INFO: TCP Data received {"connection_id":185065,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:06] local.INFO: Processing buffer {"connection_id":185065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:06] local.INFO: IMEI packet received {"connection_id":185065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":185065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:22:07] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:22:07] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:22:07] local.INFO: IMEI packet received {"connection_id":186499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":186499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:22:08] local.INFO: TCP Data received {"connection_id":185065,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:08] local.INFO: Processing buffer {"connection_id":185065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:08] local.INFO: Packet analysis {"connection_id":185065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:08] local.INFO: Extracted packet for processing {"connection_id":185065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:08] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:22:08] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":185065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:22:08] local.INFO: GPS data processed {"connection_id":185065,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:22:08] local.INFO: Acknowledgment sent {"connection_id":185065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:22:09] local.INFO: TCP Data received {"connection_id":185065,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:09] local.INFO: Processing buffer {"connection_id":185065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:09] local.INFO: Packet analysis {"connection_id":185065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:09] local.INFO: Extracted packet for processing {"connection_id":185065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:09] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:22:09] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":185065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:22:09] local.INFO: GPS data processed {"connection_id":185065,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:22:09] local.INFO: Acknowledgment sent {"connection_id":185065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:22:12] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:22:12] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:22:12] local.INFO: IMEI packet received {"connection_id":186499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":186499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:22:12] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:22:12] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:22:12] local.INFO: Packet analysis {"connection_id":186499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:12] local.INFO: Extracted packet for processing {"connection_id":186499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:12] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:22: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-09-17 11:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:22:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:22:12] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":186499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854961,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:22:13] local.INFO: GPS data processed {"connection_id":186499,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:22:13] local.INFO: Acknowledgment sent {"connection_id":186499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:22:17] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:22:17] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:22:17] local.INFO: Packet analysis {"connection_id":186499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:17] local.INFO: Extracted packet for processing {"connection_id":186499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:17] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:22: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-09-17 11:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:22:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:22:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":186499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:22:18] local.INFO: GPS data processed {"connection_id":186499,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:22:18] local.INFO: Acknowledgment sent {"connection_id":186499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:22:20] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:22:20] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:22:20] local.INFO: IMEI packet received {"connection_id":186500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":186500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:22:25] local.INFO: TCP Data received {"connection_id":186498,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:22:25] local.INFO: Processing buffer {"connection_id":186498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:22:25] local.INFO: IMEI packet received {"connection_id":186498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":186498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:22:28] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:22:28] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:22:28] local.INFO: IMEI packet received {"connection_id":186500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":186500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:22:30] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:22:30] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:22:30] local.INFO: Packet analysis {"connection_id":186500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:22:30] local.INFO: Extracted packet for processing {"connection_id":186500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:22:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:22:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":186500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:22:30] local.INFO: GPS data processed {"connection_id":186500,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:22:30] local.INFO: Acknowledgment sent {"connection_id":186500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:22:31] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:22:31] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ade77fa8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:22:31] local.INFO: Packet analysis {"connection_id":186500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:22:31] local.INFO: Extracted packet for processing {"connection_id":186500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ade7"} 
[2026-09-17 11:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143673344001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789624025000,"timestamp_ms":1789624025000,"timestamp_seconds":1789624025,"priority":1,"record_length":96,"hex_timestamp":"000001a0ade77fa8"} 
[2026-09-17 11:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143673344001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143673344001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143673344001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":186500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:22:31] local.INFO: GPS data processed {"connection_id":186500,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:22:31] local.INFO: Acknowledgment sent {"connection_id":186500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:22:50] local.INFO: TCP Data received {"connection_id":186501,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:22:50] local.INFO: Processing buffer {"connection_id":186501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:22:50] local.INFO: IMEI packet received {"connection_id":186501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":186501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:22:51] local.INFO: TCP Data received {"connection_id":187813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:51] local.INFO: Processing buffer {"connection_id":187813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:51] local.INFO: IMEI packet received {"connection_id":187813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":187813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:22:52] local.INFO: TCP Data received {"connection_id":187813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:52] local.INFO: Processing buffer {"connection_id":187813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:22:52] local.INFO: IMEI packet received {"connection_id":187813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":187813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:22:53] local.INFO: TCP Data received {"connection_id":187813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:53] local.INFO: Processing buffer {"connection_id":187813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:53] local.INFO: Packet analysis {"connection_id":187813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:53] local.INFO: Extracted packet for processing {"connection_id":187813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:53] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:22:53] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":187813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:22:53] local.INFO: GPS data processed {"connection_id":187813,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:22:53] local.INFO: Acknowledgment sent {"connection_id":187813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:22:57] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:22:57] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:22:57] local.INFO: IMEI packet received {"connection_id":186502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":186502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:22:59] local.INFO: TCP Data received {"connection_id":187813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:59] local.INFO: Processing buffer {"connection_id":187813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:22:59] local.INFO: Packet analysis {"connection_id":187813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:59] local.INFO: Extracted packet for processing {"connection_id":187813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:22:59] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:22:59] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":187813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:22:59] local.INFO: GPS data processed {"connection_id":187813,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:22:59] local.INFO: Acknowledgment sent {"connection_id":187813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:23:02] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:23:02] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:23:02] local.INFO: IMEI packet received {"connection_id":186502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":186502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:23:03] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:23:03] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:23:03] local.INFO: Packet analysis {"connection_id":186502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:23:03] local.INFO: Extracted packet for processing {"connection_id":186502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:23:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:23:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:23:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":186502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854967,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:23:03] local.INFO: GPS data processed {"connection_id":186502,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:23:03] local.INFO: Acknowledgment sent {"connection_id":186502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:23:15] local.INFO: TCP Data received {"connection_id":185196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:23:15] local.INFO: Processing buffer {"connection_id":185196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:23:15] local.INFO: IMEI packet received {"connection_id":185196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":185196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:23:23] local.INFO: TCP Data received {"connection_id":185196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:23:23] local.INFO: Processing buffer {"connection_id":185196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:23:23] local.INFO: IMEI packet received {"connection_id":185196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":185196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:23:24] local.INFO: TCP Data received {"connection_id":185196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:23:24] local.INFO: Processing buffer {"connection_id":185196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:23:24] local.INFO: Packet analysis {"connection_id":185196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:23:24] local.INFO: Extracted packet for processing {"connection_id":185196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143750400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789624326000,"timestamp_ms":1789624326000,"timestamp_seconds":1789624326,"priority":1,"record_length":96,"hex_timestamp":"000001a0adec1770"} 
[2026-09-17 11:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143750400001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143750400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:23:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143750400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":185196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:23:24] local.INFO: GPS data processed {"connection_id":185196,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:23:24] local.INFO: Acknowledgment sent {"connection_id":185196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:23:30] local.INFO: TCP Data received {"connection_id":187813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:23:30] local.INFO: Processing buffer {"connection_id":187813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:23:30] local.INFO: Packet analysis {"connection_id":187813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:23:30] local.INFO: Extracted packet for processing {"connection_id":187813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:23:30] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":187813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:23:30] local.INFO: GPS data processed {"connection_id":187813,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:23:30] local.INFO: Acknowledgment sent {"connection_id":187813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:23:34] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:23:34] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:23:34] local.INFO: Packet analysis {"connection_id":186502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:23:34] local.INFO: Extracted packet for processing {"connection_id":186502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:23:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:23:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:23:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:23:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":186502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854970,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:23:35] local.INFO: GPS data processed {"connection_id":186502,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:23:35] local.INFO: Acknowledgment sent {"connection_id":186502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:23:47] local.INFO: TCP Data received {"connection_id":185197,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:23:47] local.INFO: Processing buffer {"connection_id":185197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:23:47] local.INFO: IMEI packet received {"connection_id":185197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":185197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:23:53] local.INFO: TCP Data received {"connection_id":185197,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:23:53] local.INFO: Processing buffer {"connection_id":185197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:23:53] local.INFO: IMEI packet received {"connection_id":185197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":185197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:23:54] local.INFO: TCP Data received {"connection_id":185197,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:23:54] local.INFO: Processing buffer {"connection_id":185197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:23:54] local.INFO: Packet analysis {"connection_id":185197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:23:54] local.INFO: Extracted packet for processing {"connection_id":185197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:23:54] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":185197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:23:54] local.INFO: GPS data processed {"connection_id":185197,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:23:54] local.INFO: Acknowledgment sent {"connection_id":185197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:23:56] local.INFO: TCP Data received {"connection_id":185196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:23:56] local.INFO: Processing buffer {"connection_id":185196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:23:56] local.INFO: Packet analysis {"connection_id":185196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:23:56] local.INFO: Extracted packet for processing {"connection_id":185196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:23:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143750400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789624326000,"timestamp_ms":1789624326000,"timestamp_seconds":1789624326,"priority":1,"record_length":96,"hex_timestamp":"000001a0adec1770"} 
[2026-09-17 11:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143750400001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143750400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:23:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:23:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143750400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":185196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:23:56] local.INFO: GPS data processed {"connection_id":185196,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:23:56] local.INFO: Acknowledgment sent {"connection_id":185196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:23:57] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:23:57] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:23:57] local.INFO: IMEI packet received {"connection_id":186503,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":186503,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:24:05] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:24:05] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:24:05] local.INFO: IMEI packet received {"connection_id":186503,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":186503,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:24:06] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:24:06] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:24:06] local.INFO: Packet analysis {"connection_id":186503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:06] local.INFO: Extracted packet for processing {"connection_id":186503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:24:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:24:06] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":186503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854973,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:24:06] local.INFO: GPS data processed {"connection_id":186503,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:24:06] local.INFO: Acknowledgment sent {"connection_id":186503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:24:07] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:24:07] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:24:07] local.INFO: Packet analysis {"connection_id":186503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:07] local.INFO: Extracted packet for processing {"connection_id":186503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:24:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:24:07] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":186503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:24:07] local.INFO: GPS data processed {"connection_id":186503,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:24:07] local.INFO: Acknowledgment sent {"connection_id":186503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:24:15] local.INFO: TCP Data received {"connection_id":187814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:24:15] local.INFO: Processing buffer {"connection_id":187814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:24:15] local.INFO: IMEI packet received {"connection_id":187814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":187814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:24:21] local.INFO: TCP Data received {"connection_id":187814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:24:21] local.INFO: Processing buffer {"connection_id":187814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:24:21] local.INFO: IMEI packet received {"connection_id":187814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":187814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:24:22] local.INFO: TCP Data received {"connection_id":187814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:24:22] local.INFO: Processing buffer {"connection_id":187814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:24:22] local.INFO: Packet analysis {"connection_id":187814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:24:22] local.INFO: Extracted packet for processing {"connection_id":187814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:24:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143750400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789624326000,"timestamp_ms":1789624326000,"timestamp_seconds":1789624326,"priority":1,"record_length":96,"hex_timestamp":"000001a0adec1770"} 
[2026-09-17 11:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143750400001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143750400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:24:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:24:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143750400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":187814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:24:22] local.INFO: GPS data processed {"connection_id":187814,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:24:22] local.INFO: Acknowledgment sent {"connection_id":187814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:24:27] local.INFO: TCP Data received {"connection_id":185197,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:24:27] local.INFO: Processing buffer {"connection_id":185197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:24:27] local.INFO: Packet analysis {"connection_id":185197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:27] local.INFO: Extracted packet for processing {"connection_id":185197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:27] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:24:27] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":185197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:24:28] local.INFO: GPS data processed {"connection_id":185197,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:24:28] local.INFO: Acknowledgment sent {"connection_id":185197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:24:38] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:24:38] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:24:38] local.INFO: Packet analysis {"connection_id":186503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:38] local.INFO: Extracted packet for processing {"connection_id":186503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:38] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:24:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:24:38] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:24:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":186503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854977,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:24:38] local.INFO: GPS data processed {"connection_id":186503,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:24:38] local.INFO: Acknowledgment sent {"connection_id":186503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:24:48] local.INFO: TCP Data received {"connection_id":187815,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:24:48] local.INFO: Processing buffer {"connection_id":187815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:24:48] local.INFO: IMEI packet received {"connection_id":187815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":187815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:24:53] local.INFO: TCP Data received {"connection_id":187814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:24:53] local.INFO: Processing buffer {"connection_id":187814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:24:53] local.INFO: Packet analysis {"connection_id":187814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:24:53] local.INFO: Extracted packet for processing {"connection_id":187814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143750400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789624326000,"timestamp_ms":1789624326000,"timestamp_seconds":1789624326,"priority":1,"record_length":96,"hex_timestamp":"000001a0adec1770"} 
[2026-09-17 11:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143750400001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143750400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143750400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":187814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:24:53] local.INFO: GPS data processed {"connection_id":187814,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:24:53] local.INFO: Acknowledgment sent {"connection_id":187814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:24:53] local.INFO: TCP Data received {"connection_id":187815,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:24:53] local.INFO: Processing buffer {"connection_id":187815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:24:53] local.INFO: IMEI packet received {"connection_id":187815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":187815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:24:54] local.INFO: TCP Data received {"connection_id":187815,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:24:54] local.INFO: Processing buffer {"connection_id":187815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:24:54] local.INFO: Packet analysis {"connection_id":187815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:54] local.INFO: Extracted packet for processing {"connection_id":187815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:24:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:24:54] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":187815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:24:54] local.INFO: GPS data processed {"connection_id":187815,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:24:54] local.INFO: Acknowledgment sent {"connection_id":187815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:24:57] local.INFO: TCP Data received {"connection_id":185067,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:24:57] local.INFO: Processing buffer {"connection_id":185067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:24:57] local.INFO: IMEI packet received {"connection_id":185067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":185067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:25:02] local.INFO: TCP Data received {"connection_id":185067,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:25:02] local.INFO: Processing buffer {"connection_id":185067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:25:02] local.INFO: IMEI packet received {"connection_id":185067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":185067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:25:03] local.INFO: TCP Data received {"connection_id":185067,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:25:03] local.INFO: Processing buffer {"connection_id":185067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:25:03] local.INFO: Packet analysis {"connection_id":185067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:25:03] local.INFO: Extracted packet for processing {"connection_id":185067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:25:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:25:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:25:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":185067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854980,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:25:03] local.INFO: GPS data processed {"connection_id":185067,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:25:03] local.INFO: Acknowledgment sent {"connection_id":185067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:25:15] local.INFO: TCP Data received {"connection_id":185199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:25:15] local.INFO: Processing buffer {"connection_id":185199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:25:15] local.INFO: IMEI packet received {"connection_id":185199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":185199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:25:20] local.INFO: TCP Data received {"connection_id":185199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:25:20] local.INFO: Processing buffer {"connection_id":185199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:25:20] local.INFO: IMEI packet received {"connection_id":185199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":185199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:25:21] local.INFO: TCP Data received {"connection_id":185199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:25:21] local.INFO: Processing buffer {"connection_id":185199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:25:21] local.INFO: Packet analysis {"connection_id":185199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:25:21] local.INFO: Extracted packet for processing {"connection_id":185199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143750400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789624326000,"timestamp_ms":1789624326000,"timestamp_seconds":1789624326,"priority":1,"record_length":96,"hex_timestamp":"000001a0adec1770"} 
[2026-09-17 11:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143750400001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143750400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:25:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143750400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":185199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:25:21] local.INFO: GPS data processed {"connection_id":185199,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:25:21] local.INFO: Acknowledgment sent {"connection_id":185199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:25:25] local.INFO: TCP Data received {"connection_id":187815,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:25:25] local.INFO: Processing buffer {"connection_id":187815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:25:25] local.INFO: Packet analysis {"connection_id":187815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:25:25] local.INFO: Extracted packet for processing {"connection_id":187815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:25:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:25:25] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:25:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":187815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:25:25] local.INFO: GPS data processed {"connection_id":187815,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:25:25] local.INFO: Acknowledgment sent {"connection_id":187815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:25:34] local.INFO: TCP Data received {"connection_id":185067,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:25:34] local.INFO: Processing buffer {"connection_id":185067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeae2d8012cf41580070fc9a00028004c2e..."} 
[2026-09-17 11:25:34] local.INFO: Packet analysis {"connection_id":185067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:25:34] local.INFO: Extracted packet for processing {"connection_id":185067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:25:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":46,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143730432001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789624247000,"timestamp_ms":1789624247000,"timestamp_seconds":1789624247,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeae2d8"} 
[2026-09-17 11:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2916922864,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094935047,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-2570350317435350144,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3381133352,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2032337102,"corrected_to":0} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026608884,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330888182353491,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1137554730768157737,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,83,24,241,157,16,91,160,183,44,128,201,40,42,10,66,23,192,41,240,118,227,173,15,4,113,205,181,19,152,43,239,1,50,2,116,7,162,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2032337102,"validated":0}]} 
[2026-09-17 11:25:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882387504789454848,"timestamp_seconds":2882387504789455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 11:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143730432001,"66":12765,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143730432001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:25:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143730432001,"power":12765,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":185067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:25:34] local.INFO: GPS data processed {"connection_id":185067,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:25:34] local.INFO: Acknowledgment sent {"connection_id":185067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:25:48] local.INFO: TCP Data received {"connection_id":187816,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:25:48] local.INFO: Processing buffer {"connection_id":187816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:25:48] local.INFO: IMEI packet received {"connection_id":187816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":187816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:25:53] local.INFO: TCP Data received {"connection_id":187816,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:25:53] local.INFO: Processing buffer {"connection_id":187816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:25:53] local.INFO: IMEI packet received {"connection_id":187816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":187816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:25:53] local.INFO: TCP Data received {"connection_id":185199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:25:53] local.INFO: Processing buffer {"connection_id":185199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:25:53] local.INFO: Packet analysis {"connection_id":185199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:25:53] local.INFO: Extracted packet for processing {"connection_id":185199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143750400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789624326000,"timestamp_ms":1789624326000,"timestamp_seconds":1789624326,"priority":1,"record_length":96,"hex_timestamp":"000001a0adec1770"} 
[2026-09-17 11:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143750400001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143750400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143750400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":185199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:25:53] local.INFO: GPS data processed {"connection_id":185199,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:25:53] local.INFO: Acknowledgment sent {"connection_id":185199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:25:58] local.INFO: TCP Data received {"connection_id":187816,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:25:58] local.INFO: Processing buffer {"connection_id":187816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adeacb68012d0182c0072b64d80015015925..."} 
[2026-09-17 11:25:58] local.INFO: Packet analysis {"connection_id":187816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:25:58] local.INFO: Extracted packet for processing {"connection_id":187816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adea"} 
[2026-09-17 11:25:58] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282690500691968,"note":"Value kept but may cause issues"} 
[2026-09-17 11:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789624241000,"timestamp_ms":1789624241000,"timestamp_seconds":1789624241,"priority":1,"record_length":96,"hex_timestamp":"000001a0adeacb68"} 
[2026-09-17 11:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 11:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143727616001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":109282690500691968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:25:58] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282690500691968,"description":"Unknown IO ID 45"} 
[2026-09-17 11:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143727616001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":109282690500691968}} 
[2026-09-17 11:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":187816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:25:58] local.INFO: GPS data processed {"connection_id":187816,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:25:58] local.INFO: Acknowledgment sent {"connection_id":187816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:26:02] local.INFO: TCP Data received {"connection_id":185069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185069,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:26:02] local.INFO: Processing buffer {"connection_id":185069,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:26:02] local.INFO: IMEI packet received {"connection_id":185069,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":185069,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:26:07] local.INFO: TCP Data received {"connection_id":185069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185069,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:26:07] local.INFO: Processing buffer {"connection_id":185069,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:26:07] local.INFO: IMEI packet received {"connection_id":185069,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":185069,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:26:08] local.INFO: TCP Data received {"connection_id":185069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef7aa0012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef7aa0012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:26:08] local.INFO: Processing buffer {"connection_id":185069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef7aa0012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:26:08] local.INFO: Packet analysis {"connection_id":185069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:26:08] local.INFO: Extracted packet for processing {"connection_id":185069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:26:08] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143807232001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789624548000,"timestamp_ms":1789624548000,"timestamp_seconds":1789624548,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef7aa0"} 
[2026-09-17 11:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11: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-09-17 11: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 11:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185069,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185069,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143807232001,"66":12722,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143807232001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:26:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:26:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143807232001,"power":12722,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":185069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:26:08] local.INFO: GPS data processed {"connection_id":185069,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:26:08] local.INFO: Acknowledgment sent {"connection_id":185069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:26:15] local.INFO: TCP Data received {"connection_id":185069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef8e28012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef8e28012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:26:15] local.INFO: Processing buffer {"connection_id":185069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef8e28012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:26:15] local.INFO: Packet analysis {"connection_id":185069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:26:15] local.INFO: Extracted packet for processing {"connection_id":185069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:26:15] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143884288001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789624553000,"timestamp_ms":1789624553000,"timestamp_seconds":1789624553,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef8e28"} 
[2026-09-17 11:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 11:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185069,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185069,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143884288001,"66":12678,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143884288001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:26:15] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143884288001,"power":12678,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":185069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854987,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:26:16] local.INFO: GPS data processed {"connection_id":185069,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:26:16] local.INFO: Acknowledgment sent {"connection_id":185069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:26:27] local.INFO: TCP Data received {"connection_id":185200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:26:27] local.INFO: Processing buffer {"connection_id":185200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:26:27] local.INFO: IMEI packet received {"connection_id":185200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":185200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:26:27] local.INFO: TCP Data received {"connection_id":185200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:26:27] local.INFO: Processing buffer {"connection_id":185200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:26:27] local.INFO: IMEI packet received {"connection_id":185200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":185200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:26:30] local.INFO: TCP Data received {"connection_id":185200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:26:30] local.INFO: Processing buffer {"connection_id":185200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:26:30] local.INFO: Packet analysis {"connection_id":185200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:26:30] local.INFO: Extracted packet for processing {"connection_id":185200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143750400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789624326000,"timestamp_ms":1789624326000,"timestamp_seconds":1789624326,"priority":1,"record_length":96,"hex_timestamp":"000001a0adec1770"} 
[2026-09-17 11:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143750400001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143750400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:26:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143750400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":185200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:26:30] local.INFO: GPS data processed {"connection_id":185200,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:26:30] local.INFO: Acknowledgment sent {"connection_id":185200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:26:31] local.INFO: TCP Data received {"connection_id":185200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:26:31] local.INFO: Processing buffer {"connection_id":185200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:26:31] local.INFO: Packet analysis {"connection_id":185200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:26:31] local.INFO: Extracted packet for processing {"connection_id":185200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143750400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789624326000,"timestamp_ms":1789624326000,"timestamp_seconds":1789624326,"priority":1,"record_length":96,"hex_timestamp":"000001a0adec1770"} 
[2026-09-17 11:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143750400001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143750400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:26:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143750400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":185200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:26:31] local.INFO: GPS data processed {"connection_id":185200,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:26:31] local.INFO: Acknowledgment sent {"connection_id":185200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:26:31] local.INFO: TCP Data received {"connection_id":187816,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:26:31] local.INFO: Processing buffer {"connection_id":187816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:26:31] local.INFO: Packet analysis {"connection_id":187816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:26:31] local.INFO: Extracted packet for processing {"connection_id":187816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:26:31] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:26:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":187816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:26:31] local.INFO: GPS data processed {"connection_id":187816,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:26:31] local.INFO: Acknowledgment sent {"connection_id":187816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:26:57] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:26:57] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:26:57] local.INFO: IMEI packet received {"connection_id":185202,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":185202,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:27:00] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:27:00] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:27:00] local.INFO: IMEI packet received {"connection_id":185202,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":185202,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:27:02] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:27:02] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:27:02] local.INFO: IMEI packet received {"connection_id":185202,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":185202,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:27:03] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef8e28012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef8e28012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:27:03] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef8e28012cf41580070fc9a00028004c2a..."} 
[2026-09-17 11:27:03] local.INFO: Packet analysis {"connection_id":185202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:03] local.INFO: Extracted packet for processing {"connection_id":185202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475168,"longitude_deg":75.4193792,"latitude_deg":11.8475168,"altitude":40,"angle":76,"satellites":42,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fc9a0","is_valid_coordinates":true} 
[2026-09-17 11:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143885568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624553000,"timestamp_ms":1789624553000,"timestamp_seconds":1789624553,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef8e28"} 
[2026-09-17 11:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 11:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143885568001,"66":12678,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143885568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:27:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143885568001,"power":12678,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":185202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854991,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:27:03] local.INFO: GPS data processed {"connection_id":185202,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:27:03] local.INFO: Acknowledgment sent {"connection_id":185202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:27:07] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adefe418012cf413c0070fc9880028004c2b..."} 
[2026-09-17 11:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adefe418012cf413c0070fc9880028004c2b..."} 
[2026-09-17 11:27:07] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adefe418012cf413c0070fc9880028004c2b..."} 
[2026-09-17 11:27:07] local.INFO: Packet analysis {"connection_id":185202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:07] local.INFO: Extracted packet for processing {"connection_id":185202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":754193344,"raw_latitude":118475144,"longitude_deg":75.4193344,"latitude_deg":11.8475144,"altitude":40,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2cf413c0","hex_latitude":"070fc988","is_valid_coordinates":true} 
[2026-09-17 11:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143885568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751629597933568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126213120,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789624575000,"timestamp_ms":1789624575000,"timestamp_seconds":1789624575,"priority":1,"record_length":96,"hex_timestamp":"000001a0adefe418"} 
[2026-09-17 11:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 11:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143885568001,"66":14265,"35":206,"83":41472,"24":0,"16":32751629597933568,"44":-858639386126213120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143885568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:27:07] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751629597933568,"km_value":32751629597933.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:27:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126213120,"description":"Unknown IO ID 44"} 
[2026-09-17 11:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143885568001,"power":14265,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126213120}} 
[2026-09-17 11:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":185202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:27:08] local.INFO: GPS data processed {"connection_id":185202,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:27:08] local.INFO: Acknowledgment sent {"connection_id":185202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:27:12] local.INFO: TCP Data received {"connection_id":185070,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:12] local.INFO: Processing buffer {"connection_id":185070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:12] local.INFO: IMEI packet received {"connection_id":185070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":185070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:27:13] local.INFO: TCP Data received {"connection_id":185070,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:13] local.INFO: Processing buffer {"connection_id":185070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:13] local.INFO: IMEI packet received {"connection_id":185070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":185070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:27:13] local.INFO: TCP Data received {"connection_id":185070,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:27:13] local.INFO: Processing buffer {"connection_id":185070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:27:13] local.INFO: Packet analysis {"connection_id":185070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:13] local.INFO: Extracted packet for processing {"connection_id":185070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:27:13] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":185070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:27:13] local.INFO: GPS data processed {"connection_id":185070,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:27:13] local.INFO: Acknowledgment sent {"connection_id":185070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:27:15] local.INFO: TCP Data received {"connection_id":185203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:27:15] local.INFO: Processing buffer {"connection_id":185203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:27:15] local.INFO: IMEI packet received {"connection_id":185203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":185203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:27:19] local.INFO: TCP Data received {"connection_id":185070,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:27:19] local.INFO: Processing buffer {"connection_id":185070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:27:19] local.INFO: Packet analysis {"connection_id":185070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:19] local.INFO: Extracted packet for processing {"connection_id":185070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:19] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:27:19] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":185070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:27:19] local.INFO: GPS data processed {"connection_id":185070,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:27:19] local.INFO: Acknowledgment sent {"connection_id":185070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:27:20] local.INFO: TCP Data received {"connection_id":185203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:27:20] local.INFO: Processing buffer {"connection_id":185203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:27:20] local.INFO: IMEI packet received {"connection_id":185203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":185203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:27:21] local.INFO: TCP Data received {"connection_id":185203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:27:21] local.INFO: Processing buffer {"connection_id":185203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adec1770012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:27:21] local.INFO: Packet analysis {"connection_id":185203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:27:21] local.INFO: Extracted packet for processing {"connection_id":185203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adec"} 
[2026-09-17 11:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143750400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789624326000,"timestamp_ms":1789624326000,"timestamp_seconds":1789624326,"priority":1,"record_length":96,"hex_timestamp":"000001a0adec1770"} 
[2026-09-17 11:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143750400001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143750400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:27:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143750400001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":185203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:27:21] local.INFO: GPS data processed {"connection_id":185203,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:27:21] local.INFO: Acknowledgment sent {"connection_id":185203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:27:39] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf03620012cf41440070fca38002a005229..."} 
[2026-09-17 11:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf03620012cf41440070fca38002a005229..."} 
[2026-09-17 11:27:39] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf03620012cf41440070fca38002a005229..."} 
[2026-09-17 11:27:39] local.INFO: Packet analysis {"connection_id":185202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:27:39] local.INFO: Extracted packet for processing {"connection_id":185202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:27:39] local.INFO: GPS Element Parsed {"raw_longitude":754193472,"raw_latitude":118475320,"longitude_deg":75.4193472,"latitude_deg":11.847532,"altitude":42,"angle":82,"satellites":41,"speed":3,"hex_longitude":"2cf41440","hex_latitude":"070fca38","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143891200001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751638187868160,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859131967335462912,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789624596000,"timestamp_ms":1789624596000,"timestamp_seconds":1789624596,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf03620"} 
[2026-09-17 11:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 11:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143891200001,"66":14363,"35":206,"83":41472,"24":3,"16":32751638187868160,"44":-859131967335462912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143891200001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:27:39] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751638187868160,"km_value":32751638187868.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859131967335462912,"description":"Unknown IO ID 44"} 
[2026-09-17 11:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143891200001,"power":14363,"unknown_35":206,"unknown_83":41472,"ignition":3,"odometer":null,"unknown_44":-859131967335462912}} 
[2026-09-17 11:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":185202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:27:39] local.INFO: GPS data processed {"connection_id":185202,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:27:39] local.INFO: Acknowledgment sent {"connection_id":185202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:27:48] local.INFO: TCP Data received {"connection_id":185071,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:48] local.INFO: Processing buffer {"connection_id":185071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:48] local.INFO: IMEI packet received {"connection_id":185071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":185071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:27:53] local.INFO: TCP Data received {"connection_id":185071,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:53] local.INFO: Processing buffer {"connection_id":185071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:27:53] local.INFO: IMEI packet received {"connection_id":185071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":185071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:27:54] local.INFO: TCP Data received {"connection_id":185071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:27:54] local.INFO: Processing buffer {"connection_id":185071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:27:54] local.INFO: Packet analysis {"connection_id":185071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:54] local.INFO: Extracted packet for processing {"connection_id":185071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:27:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:27:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:27:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":185071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:27:54] local.INFO: GPS data processed {"connection_id":185071,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:27:54] local.INFO: Acknowledgment sent {"connection_id":185071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:27:55] local.INFO: TCP Data received {"connection_id":185203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:27:55] local.INFO: Processing buffer {"connection_id":185203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:27:55] local.INFO: Packet analysis {"connection_id":185203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:27:55] local.INFO: Extracted packet for processing {"connection_id":185203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:27:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:27:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":185203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:27:55] local.INFO: GPS data processed {"connection_id":185203,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:27:55] local.INFO: Acknowledgment sent {"connection_id":185203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:27:59] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:27:59] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:27:59] local.INFO: IMEI packet received {"connection_id":186505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":186505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:28:00] local.INFO: TCP Data received {"connection_id":186504,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:28:00] local.INFO: Processing buffer {"connection_id":186504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:28:00] local.INFO: IMEI packet received {"connection_id":186504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":186504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:28:02] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:28:02] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:28:02] local.INFO: IMEI packet received {"connection_id":186505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":186505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:28:03] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf08828012cf41580070fca680029005c28..."} 
[2026-09-17 11:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf08828012cf41580070fca680029005c28..."} 
[2026-09-17 11:28:03] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf08828012cf41580070fca680029005c28..."} 
[2026-09-17 11:28:03] local.INFO: Packet analysis {"connection_id":186505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:28:03] local.INFO: Extracted packet for processing {"connection_id":186505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:28:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118475368,"longitude_deg":75.4193792,"latitude_deg":11.8475368,"altitude":41,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2cf41580","hex_latitude":"070fca68","is_valid_coordinates":true} 
[2026-09-17 11:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143896576001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751655367737344,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858991229847062528,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624617000,"timestamp_ms":1789624617000,"timestamp_seconds":1789624617,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf08828"} 
[2026-09-17 11:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-17 11:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143896576001,"66":14407,"35":206,"83":41472,"24":0,"16":32751655367737344,"44":-858991229847062528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143896576001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:28:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751655367737344,"km_value":32751655367737.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858991229847062528,"description":"Unknown IO ID 44"} 
[2026-09-17 11:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143896576001,"power":14407,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858991229847062528}} 
[2026-09-17 11:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":186505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:28:03] local.INFO: GPS data processed {"connection_id":186505,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:28:03] local.INFO: Acknowledgment sent {"connection_id":186505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:28:15] local.INFO: TCP Data received {"connection_id":187818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:28:15] local.INFO: Processing buffer {"connection_id":187818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:28:15] local.INFO: IMEI packet received {"connection_id":187818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":187818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:28:20] local.INFO: TCP Data received {"connection_id":187818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:28:20] local.INFO: Processing buffer {"connection_id":187818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:28:20] local.INFO: IMEI packet received {"connection_id":187818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":187818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:28:22] local.INFO: TCP Data received {"connection_id":187818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:28:22] local.INFO: Processing buffer {"connection_id":187818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:28:22] local.INFO: Packet analysis {"connection_id":187818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:28:22] local.INFO: Extracted packet for processing {"connection_id":187818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:28:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:28:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:28:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":187818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:28:22] local.INFO: GPS data processed {"connection_id":187818,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:28:22] local.INFO: Acknowledgment sent {"connection_id":187818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:28:25] local.INFO: TCP Data received {"connection_id":185071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:28:25] local.INFO: Processing buffer {"connection_id":185071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:28:25] local.INFO: Packet analysis {"connection_id":185071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:28:25] local.INFO: Extracted packet for processing {"connection_id":185071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:28:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:28:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:28:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":185071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:28:26] local.INFO: GPS data processed {"connection_id":185071,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:28:26] local.INFO: Acknowledgment sent {"connection_id":185071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:28:43] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0a768012cf41400070fca680028010a2a..."} 
[2026-09-17 11:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0a768012cf41400070fca680028010a2a..."} 
[2026-09-17 11:28:43] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0a768012cf41400070fca680028010a2a..."} 
[2026-09-17 11:28:43] local.INFO: Packet analysis {"connection_id":186505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:28:43] local.INFO: Extracted packet for processing {"connection_id":186505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:28:43] local.INFO: GPS Element Parsed {"raw_longitude":754193408,"raw_latitude":118475368,"longitude_deg":75.4193408,"latitude_deg":11.8475368,"altitude":40,"angle":266,"satellites":42,"speed":1,"hex_longitude":"2cf41400","hex_latitude":"070fca68","is_valid_coordinates":true} 
[2026-09-17 11:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143901952001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751672547606528,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126161920,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789624625000,"timestamp_ms":1789624625000,"timestamp_seconds":1789624625,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0a768"} 
[2026-09-17 11:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 11:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143901952001,"66":14439,"35":206,"83":41472,"24":1,"16":32751672547606528,"44":-858639386126161920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143901952001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:28:43] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:28:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751672547606528,"km_value":32751672547606.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126161920,"description":"Unknown IO ID 44"} 
[2026-09-17 11:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143901952001,"power":14439,"unknown_35":206,"unknown_83":41472,"ignition":1,"odometer":null,"unknown_44":-858639386126161920}} 
[2026-09-17 11:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":186505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:28:43] local.INFO: GPS data processed {"connection_id":186505,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:28:43] local.INFO: Acknowledgment sent {"connection_id":186505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:28:48] local.INFO: TCP Data received {"connection_id":185204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:28:48] local.INFO: Processing buffer {"connection_id":185204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:28:48] local.INFO: IMEI packet received {"connection_id":185204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":185204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:28:53] local.INFO: TCP Data received {"connection_id":185204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:28:53] local.INFO: Processing buffer {"connection_id":185204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:28:53] local.INFO: IMEI packet received {"connection_id":185204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":185204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:28:53] local.INFO: TCP Data received {"connection_id":187818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:28:53] local.INFO: Processing buffer {"connection_id":187818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:28:53] local.INFO: Packet analysis {"connection_id":187818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:28:53] local.INFO: Extracted packet for processing {"connection_id":187818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":187818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:28:53] local.INFO: GPS data processed {"connection_id":187818,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:28:53] local.INFO: Acknowledgment sent {"connection_id":187818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:28:54] local.INFO: TCP Data received {"connection_id":185204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:28:54] local.INFO: Processing buffer {"connection_id":185204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:28:54] local.INFO: Packet analysis {"connection_id":185204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:28:54] local.INFO: Extracted packet for processing {"connection_id":185204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:28:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:28:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":185204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:28:54] local.INFO: GPS data processed {"connection_id":185204,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:28:54] local.INFO: Acknowledgment sent {"connection_id":185204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:28:57] local.INFO: TCP Data received {"connection_id":185073,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:28:57] local.INFO: Processing buffer {"connection_id":185073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:28:57] local.INFO: IMEI packet received {"connection_id":185073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":185073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:29:02] local.INFO: TCP Data received {"connection_id":185073,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:29:02] local.INFO: Processing buffer {"connection_id":185073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:29:02] local.INFO: IMEI packet received {"connection_id":185073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":185073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:29:03] local.INFO: TCP Data received {"connection_id":185073,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0b320012cf41340070fca30002800fd2b..."} 
[2026-09-17 11:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0b320012cf41340070fca30002800fd2b..."} 
[2026-09-17 11:29:03] local.INFO: Processing buffer {"connection_id":185073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0b320012cf41340070fca30002800fd2b..."} 
[2026-09-17 11:29:03] local.INFO: Packet analysis {"connection_id":185073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:29:03] local.INFO: Extracted packet for processing {"connection_id":185073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:29:03] local.INFO: GPS Element Parsed {"raw_longitude":754193216,"raw_latitude":118475312,"longitude_deg":75.4193216,"latitude_deg":11.8475312,"altitude":40,"angle":253,"satellites":43,"speed":2,"hex_longitude":"2cf41340","hex_latitude":"070fca30","is_valid_coordinates":true} 
[2026-09-17 11:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904000001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751685432508416,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859061598591227904,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624628000,"timestamp_ms":1789624628000,"timestamp_seconds":1789624628,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0b320"} 
[2026-09-17 11:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 11:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904000001,"66":14450,"35":206,"83":41472,"24":2,"16":32751685432508416,"44":-859061598591227904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904000001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:29:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751685432508416,"km_value":32751685432508.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859061598591227904,"description":"Unknown IO ID 44"} 
[2026-09-17 11:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904000001,"power":14450,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-859061598591227904}} 
[2026-09-17 11:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":185073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:29:03] local.INFO: GPS data processed {"connection_id":185073,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:29:03] local.INFO: Acknowledgment sent {"connection_id":185073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:29:15] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:29:15] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:29:15] local.INFO: IMEI packet received {"connection_id":186506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":186506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:29:21] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:29:21] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:29:21] local.INFO: IMEI packet received {"connection_id":186506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":186506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:29:22] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:29:22] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:29:22] local.INFO: Packet analysis {"connection_id":186506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:29:22] local.INFO: Extracted packet for processing {"connection_id":186506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:29:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:29:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":186506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:29:22] local.INFO: GPS data processed {"connection_id":186506,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:29:22] local.INFO: Acknowledgment sent {"connection_id":186506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:29:25] local.INFO: TCP Data received {"connection_id":185204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:29:25] local.INFO: Processing buffer {"connection_id":185204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:29:25] local.INFO: Packet analysis {"connection_id":185204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:29:25] local.INFO: Extracted packet for processing {"connection_id":185204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:29:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:29:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:29:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":185204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:29:26] local.INFO: GPS data processed {"connection_id":185204,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:29:26] local.INFO: Acknowledgment sent {"connection_id":185204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:29:35] local.INFO: TCP Data received {"connection_id":185073,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0baf0012cf412c0070fc9f8002800f02a..."} 
[2026-09-17 11:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0baf0012cf412c0070fc9f8002800f02a..."} 
[2026-09-17 11:29:35] local.INFO: Processing buffer {"connection_id":185073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0baf0012cf412c0070fc9f8002800f02a..."} 
[2026-09-17 11:29:35] local.INFO: Packet analysis {"connection_id":185073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:29:35] local.INFO: Extracted packet for processing {"connection_id":185073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:29:35] local.INFO: GPS Element Parsed {"raw_longitude":754193088,"raw_latitude":118475256,"longitude_deg":75.4193088,"latitude_deg":11.8475256,"altitude":40,"angle":240,"satellites":42,"speed":2,"hex_longitude":"2cf412c0","hex_latitude":"070fc9f8","is_valid_coordinates":true} 
[2026-09-17 11:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904768001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751689727475712,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859272704823775232,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789624630000,"timestamp_ms":1789624630000,"timestamp_seconds":1789624630,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0baf0"} 
[2026-09-17 11:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 11:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904768001,"66":14559,"35":206,"83":41472,"24":2,"16":32751689727475712,"44":-859272704823775232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904768001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:29:35] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751689727475712,"km_value":32751689727475.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859272704823775232,"description":"Unknown IO ID 44"} 
[2026-09-17 11:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904768001,"power":14559,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-859272704823775232}} 
[2026-09-17 11:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":185073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:29:35] local.INFO: GPS data processed {"connection_id":185073,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:29:35] local.INFO: Acknowledgment sent {"connection_id":185073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:29:52] local.INFO: TCP Data received {"connection_id":187820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:29:52] local.INFO: Processing buffer {"connection_id":187820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:29:52] local.INFO: IMEI packet received {"connection_id":187820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":187820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:29:54] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:29:54] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:29:54] local.INFO: Packet analysis {"connection_id":186506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:29:54] local.INFO: Extracted packet for processing {"connection_id":186506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":186506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:29:54] local.INFO: GPS data processed {"connection_id":186506,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:29:54] local.INFO: Acknowledgment sent {"connection_id":186506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:29:57] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:29:57] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:29:57] local.INFO: IMEI packet received {"connection_id":186507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":186507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:29:58] local.INFO: TCP Data received {"connection_id":187820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:29:58] local.INFO: Processing buffer {"connection_id":187820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:29:58] local.INFO: IMEI packet received {"connection_id":187820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":187820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:29:59] local.INFO: TCP Data received {"connection_id":187820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:29:59] local.INFO: Processing buffer {"connection_id":187820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:29:59] local.INFO: Packet analysis {"connection_id":187820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:29:59] local.INFO: Extracted packet for processing {"connection_id":187820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:29:59] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:29:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":187820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:29:59] local.INFO: GPS data processed {"connection_id":187820,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:29:59] local.INFO: Acknowledgment sent {"connection_id":187820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:30:02] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:30:02] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:30:02] local.INFO: IMEI packet received {"connection_id":186507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":186507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:30:03] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0d260012cf41100070fc920002800fb2a..."} 
[2026-09-17 11:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0d260012cf41100070fc920002800fb2a..."} 
[2026-09-17 11:30:03] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0d260012cf41100070fc920002800fb2a..."} 
[2026-09-17 11:30:03] local.INFO: Packet analysis {"connection_id":186507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:30:03] local.INFO: Extracted packet for processing {"connection_id":186507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:30:03] local.INFO: GPS Element Parsed {"raw_longitude":754192640,"raw_latitude":118475040,"longitude_deg":75.419264,"latitude_deg":11.847504,"altitude":40,"angle":251,"satellites":42,"speed":3,"hex_longitude":"2cf41100","hex_latitude":"070fc920","is_valid_coordinates":true} 
[2026-09-17 11:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143905280001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751715497279488,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859413442312144896,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624636000,"timestamp_ms":1789624636000,"timestamp_seconds":1789624636,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0d260"} 
[2026-09-17 11:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 11:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143905280001,"66":14580,"35":206,"83":41472,"24":3,"16":32751715497279488,"44":-859413442312144896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143905280001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:30:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751715497279488,"km_value":32751715497279.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859413442312144896,"description":"Unknown IO ID 44"} 
[2026-09-17 11:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143905280001,"power":14580,"unknown_35":206,"unknown_83":41472,"ignition":3,"odometer":null,"unknown_44":-859413442312144896}} 
[2026-09-17 11:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":186507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:30:03] local.INFO: GPS data processed {"connection_id":186507,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:30:03] local.INFO: Acknowledgment sent {"connection_id":186507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:30:15] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:30:15] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:30:15] local.INFO: IMEI packet received {"connection_id":186508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":186508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:30:20] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:30:20] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:30:20] local.INFO: IMEI packet received {"connection_id":186508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":186508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:30:22] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:30:22] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:30:22] local.INFO: Packet analysis {"connection_id":186508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:30:22] local.INFO: Extracted packet for processing {"connection_id":186508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:30:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:30:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":186508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:30:22] local.INFO: GPS data processed {"connection_id":186508,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:30:22] local.INFO: Acknowledgment sent {"connection_id":186508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:30:36] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf10140012cf40e00070fc7f8002800ee29..."} 
[2026-09-17 11:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf10140012cf40e00070fc7f8002800ee29..."} 
[2026-09-17 11:30:36] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf10140012cf40e00070fc7f8002800ee29..."} 
[2026-09-17 11:30:36] local.INFO: Packet analysis {"connection_id":186507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:30:36] local.INFO: Extracted packet for processing {"connection_id":186507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:30:36] local.INFO: GPS Element Parsed {"raw_longitude":754191872,"raw_latitude":118474744,"longitude_deg":75.4191872,"latitude_deg":11.8474744,"altitude":40,"angle":238,"satellites":41,"speed":2,"hex_longitude":"2cf40e00","hex_latitude":"070fc7f8","is_valid_coordinates":true} 
[2026-09-17 11:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143906816001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751754151985152,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859906023521443840,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789624648000,"timestamp_ms":1789624648000,"timestamp_seconds":1789624648,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf10140"} 
[2026-09-17 11:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-17 11:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143906816001,"66":14537,"35":206,"83":41472,"24":2,"16":32751754151985152,"44":-859906023521443840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143906816001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:30:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751754151985152,"km_value":32751754151985.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859906023521443840,"description":"Unknown IO ID 44"} 
[2026-09-17 11:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143906816001,"power":14537,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-859906023521443840}} 
[2026-09-17 11:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":186507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855013,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:30:36] local.INFO: GPS data processed {"connection_id":186507,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:30:36] local.INFO: Acknowledgment sent {"connection_id":186507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:30:39] local.INFO: TCP Data received {"connection_id":187820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:30:39] local.INFO: Processing buffer {"connection_id":187820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:30:39] local.INFO: Packet analysis {"connection_id":187820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:30:39] local.INFO: Extracted packet for processing {"connection_id":187820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:30:39] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:30:39] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:30:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":187820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:30:39] local.INFO: GPS data processed {"connection_id":187820,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:30:39] local.INFO: Acknowledgment sent {"connection_id":187820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:30:53] local.INFO: TCP Data received {"connection_id":185074,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:30:53] local.INFO: Processing buffer {"connection_id":185074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:30:53] local.INFO: IMEI packet received {"connection_id":185074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":185074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:30:53] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:30:53] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:30:53] local.INFO: Packet analysis {"connection_id":186508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:30:53] local.INFO: Extracted packet for processing {"connection_id":186508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":186508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:30:53] local.INFO: GPS data processed {"connection_id":186508,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:30:53] local.INFO: Acknowledgment sent {"connection_id":186508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:30:58] local.INFO: TCP Data received {"connection_id":185074,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:30:58] local.INFO: Processing buffer {"connection_id":185074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:30:58] local.INFO: IMEI packet received {"connection_id":185074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":185074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:30:59] local.INFO: TCP Data received {"connection_id":185074,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:30:59] local.INFO: Processing buffer {"connection_id":185074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:30:59] local.INFO: Packet analysis {"connection_id":185074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:30:59] local.INFO: Extracted packet for processing {"connection_id":185074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:30:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":185074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:30:59] local.INFO: GPS data processed {"connection_id":185074,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:30:59] local.INFO: Acknowledgment sent {"connection_id":185074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:31:02] local.INFO: TCP Data received {"connection_id":185075,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:31:02] local.INFO: Processing buffer {"connection_id":185075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:31:02] local.INFO: IMEI packet received {"connection_id":185075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":185075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:31:03] local.INFO: TCP Data received {"connection_id":185074,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:31:03] local.INFO: Processing buffer {"connection_id":185074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adef6330012d0182c0072b64d80015015924..."} 
[2026-09-17 11:31:03] local.INFO: Packet analysis {"connection_id":185074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:31:03] local.INFO: Extracted packet for processing {"connection_id":185074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adef"} 
[2026-09-17 11:31:03] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143805696001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624542000,"timestamp_ms":1789624542000,"timestamp_seconds":1789624542,"priority":1,"record_length":96,"hex_timestamp":"000001a0adef6330"} 
[2026-09-17 11:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143805696001,"66":2166,"119":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,45]} 
[2026-09-17 11:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143805696001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:31:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-17 11:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143805696001,"power":2166,"unknown_119":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":185074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:31:03] local.INFO: GPS data processed {"connection_id":185074,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:31:03] local.INFO: Acknowledgment sent {"connection_id":185074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:31:07] local.INFO: TCP Data received {"connection_id":185075,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:31:07] local.INFO: Processing buffer {"connection_id":185075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:31:07] local.INFO: IMEI packet received {"connection_id":185075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":185075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:31:08] local.INFO: TCP Data received {"connection_id":185075,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf14f60012cf40dc0070fc7d8002800f129..."} 
[2026-09-17 11:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf14f60012cf40dc0070fc7d8002800f129..."} 
[2026-09-17 11:31:08] local.INFO: Processing buffer {"connection_id":185075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf14f60012cf40dc0070fc7d8002800f129..."} 
[2026-09-17 11:31:08] local.INFO: Packet analysis {"connection_id":185075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:31:08] local.INFO: Extracted packet for processing {"connection_id":185075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:31:08] local.INFO: GPS Element Parsed {"raw_longitude":754191808,"raw_latitude":118474712,"longitude_deg":75.4191808,"latitude_deg":11.8474712,"altitude":40,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2cf40dc0","hex_latitude":"070fc7d8","is_valid_coordinates":true} 
[2026-09-17 11:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143909888001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751758446952448,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-860750448451651584,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789624668000,"timestamp_ms":1789624668000,"timestamp_seconds":1789624668,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf14f60"} 
[2026-09-17 11:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 11:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143909888001,"66":14407,"35":206,"83":41472,"24":0,"16":32751758446952448,"44":-860750448451651584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143909888001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:31:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751758446952448,"km_value":32751758446952.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:31:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-860750448451651584,"description":"Unknown IO ID 44"} 
[2026-09-17 11:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143909888001,"power":14407,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-860750448451651584}} 
[2026-09-17 11:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":185075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:31:08] local.INFO: GPS data processed {"connection_id":185075,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:31:08] local.INFO: Acknowledgment sent {"connection_id":185075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:31:12] local.INFO: TCP Data received {"connection_id":185075,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf1a168012cf40dc0070fc7d8002800f129..."} 
[2026-09-17 11:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf1a168012cf40dc0070fc7d8002800f129..."} 
[2026-09-17 11:31:13] local.INFO: Processing buffer {"connection_id":185075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf1a168012cf40dc0070fc7d8002800f129..."} 
[2026-09-17 11:31:13] local.INFO: Packet analysis {"connection_id":185075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:31:13] local.INFO: Extracted packet for processing {"connection_id":185075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:31:13] local.INFO: GPS Element Parsed {"raw_longitude":754191808,"raw_latitude":118474712,"longitude_deg":75.4191808,"latitude_deg":11.8474712,"altitude":40,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2cf40dc0","hex_latitude":"070fc7d8","is_valid_coordinates":true} 
[2026-09-17 11:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143915008001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751758446952448,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-860820817195837440,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789624689000,"timestamp_ms":1789624689000,"timestamp_seconds":1789624689,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf1a168"} 
[2026-09-17 11:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 11:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143915008001,"66":14646,"35":206,"83":41472,"24":0,"16":32751758446952448,"44":-860820817195837440},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143915008001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:31:13] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751758446952448,"km_value":32751758446952.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-860820817195837440,"description":"Unknown IO ID 44"} 
[2026-09-17 11:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143915008001,"power":14646,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-860820817195837440}} 
[2026-09-17 11:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":185075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855019,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:31:13] local.INFO: GPS data processed {"connection_id":185075,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:31:13] local.INFO: Acknowledgment sent {"connection_id":185075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:31:15] local.INFO: TCP Data received {"connection_id":185205,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:31:15] local.INFO: Processing buffer {"connection_id":185205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:31:15] local.INFO: IMEI packet received {"connection_id":185205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":185205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:31:20] local.INFO: TCP Data received {"connection_id":185205,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:31:20] local.INFO: Processing buffer {"connection_id":185205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:31:20] local.INFO: IMEI packet received {"connection_id":185205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":185205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:31:22] local.INFO: TCP Data received {"connection_id":185205,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:31:22] local.INFO: Processing buffer {"connection_id":185205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:31:22] local.INFO: Packet analysis {"connection_id":185205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:31:22] local.INFO: Extracted packet for processing {"connection_id":185205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":185205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:31:22] local.INFO: GPS data processed {"connection_id":185205,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:31:22] local.INFO: Acknowledgment sent {"connection_id":185205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:31:47] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:31:47] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:31:47] local.INFO: IMEI packet received {"connection_id":185076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":185076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:31:54] local.INFO: TCP Data received {"connection_id":185205,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:31:54] local.INFO: Processing buffer {"connection_id":185205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:31:54] local.INFO: Packet analysis {"connection_id":185205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:31:54] local.INFO: Extracted packet for processing {"connection_id":185205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:31:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":185205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:31:54] local.INFO: GPS data processed {"connection_id":185205,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:31:54] local.INFO: Acknowledgment sent {"connection_id":185205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:31:54] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:31:54] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:31:54] local.INFO: IMEI packet received {"connection_id":185076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":185076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:31:56] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:31:56] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:31:56] local.INFO: Packet analysis {"connection_id":185076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:31:56] local.INFO: Extracted packet for processing {"connection_id":185076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:31:56] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143882752001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789624843000,"timestamp_ms":1789624843000,"timestamp_seconds":1789624843,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf3faf8"} 
[2026-09-17 11:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143882752001,"66":2155,"214":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143882752001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:31:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143882752001,"power":2155,"unknown_214":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":185076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:31:56] local.INFO: GPS data processed {"connection_id":185076,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:31:56] local.INFO: Acknowledgment sent {"connection_id":185076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:31:57] local.INFO: TCP Data received {"connection_id":185078,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:31:57] local.INFO: Processing buffer {"connection_id":185078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:31:57] local.INFO: IMEI packet received {"connection_id":185078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":185078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:32:02] local.INFO: TCP Data received {"connection_id":185078,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:32:02] local.INFO: Processing buffer {"connection_id":185078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:32:02] local.INFO: IMEI packet received {"connection_id":185078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":185078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:32:03] local.INFO: TCP Data received {"connection_id":185078,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf1c490012cf40f80070fc7b0002700672a..."} 
[2026-09-17 11:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf1c490012cf40f80070fc7b0002700672a..."} 
[2026-09-17 11:32:03] local.INFO: Processing buffer {"connection_id":185078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf1c490012cf40f80070fc7b0002700672a..."} 
[2026-09-17 11:32:03] local.INFO: Packet analysis {"connection_id":185078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:32:03] local.INFO: Extracted packet for processing {"connection_id":185078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:32:03] local.INFO: GPS Element Parsed {"raw_longitude":754192256,"raw_latitude":118474672,"longitude_deg":75.4192256,"latitude_deg":11.8474672,"altitude":39,"angle":103,"satellites":42,"speed":2,"hex_longitude":"2cf40f80","hex_latitude":"070fc7b0","is_valid_coordinates":true} 
[2026-09-17 11:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143920384001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751779921788928,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-860820817195837440,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624698000,"timestamp_ms":1789624698000,"timestamp_seconds":1789624698,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf1c490"} 
[2026-09-17 11:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-17 11:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143920384001,"66":14613,"35":206,"83":41472,"24":2,"16":32751779921788928,"44":-860820817195837440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143920384001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:32:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751779921788928,"km_value":32751779921788.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-860820817195837440,"description":"Unknown IO ID 44"} 
[2026-09-17 11:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143920384001,"power":14613,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-860820817195837440}} 
[2026-09-17 11:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":185078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855023,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:32:03] local.INFO: GPS data processed {"connection_id":185078,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:32:03] local.INFO: Acknowledgment sent {"connection_id":185078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:32:15] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:32:15] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:32:15] local.INFO: IMEI packet received {"connection_id":186509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":186509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:32:21] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:32:21] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:32:21] local.INFO: IMEI packet received {"connection_id":186509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":186509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:32:23] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:32:23] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf0af38012d34c14006aa4438000c010127..."} 
[2026-09-17 11:32:23] local.INFO: Packet analysis {"connection_id":186509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:32:23] local.INFO: Extracted packet for processing {"connection_id":186509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf0"} 
[2026-09-17 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143827456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789624627000,"timestamp_ms":1789624627000,"timestamp_seconds":1789624627,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf0af38"} 
[2026-09-17 11:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143827456001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143827456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:32:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143827456001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":186509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:32:23] local.INFO: GPS data processed {"connection_id":186509,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:32:23] local.INFO: Acknowledgment sent {"connection_id":186509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:32:28] local.INFO: TCP Data received {"connection_id":185076,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:32:28] local.INFO: Processing buffer {"connection_id":185076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:32:28] local.INFO: Packet analysis {"connection_id":185076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:32:28] local.INFO: Extracted packet for processing {"connection_id":185076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:32:28] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143882752001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789624843000,"timestamp_ms":1789624843000,"timestamp_seconds":1789624843,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf3faf8"} 
[2026-09-17 11:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143882752001,"66":2155,"214":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143882752001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:32:28] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143882752001,"power":2155,"unknown_214":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":185076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:32:28] local.INFO: GPS data processed {"connection_id":185076,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:32:28] local.INFO: Acknowledgment sent {"connection_id":185076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:32:34] local.INFO: TCP Data received {"connection_id":185078,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf1d430012cf410c0070fc7980027005728..."} 
[2026-09-17 11:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf1d430012cf410c0070fc7980027005728..."} 
[2026-09-17 11:32:34] local.INFO: Processing buffer {"connection_id":185078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf1d430012cf410c0070fc7980027005728..."} 
[2026-09-17 11:32:34] local.INFO: Packet analysis {"connection_id":185078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:32:34] local.INFO: Extracted packet for processing {"connection_id":185078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf1"} 
[2026-09-17 11:32:34] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474648,"longitude_deg":75.4192576,"latitude_deg":11.8474648,"altitude":39,"angle":87,"satellites":40,"speed":2,"hex_longitude":"2cf410c0","hex_latitude":"070fc798","is_valid_coordinates":true} 
[2026-09-17 11:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143922688001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751797101658112,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-860328235986604032,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789624702000,"timestamp_ms":1789624702000,"timestamp_seconds":1789624702,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf1d430"} 
[2026-09-17 11:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-17 11:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143922688001,"66":14439,"35":206,"83":41472,"24":2,"16":32751797101658112,"44":-860328235986604032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143922688001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:32:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751797101658112,"km_value":32751797101658.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:32:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-860328235986604032,"description":"Unknown IO ID 44"} 
[2026-09-17 11:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143922688001,"power":14439,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-860328235986604032}} 
[2026-09-17 11:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":185078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:32:34] local.INFO: GPS data processed {"connection_id":185078,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:32:34] local.INFO: Acknowledgment sent {"connection_id":185078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:32:48] local.INFO: TCP Data received {"connection_id":185206,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:32:48] local.INFO: Processing buffer {"connection_id":185206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:32:48] local.INFO: IMEI packet received {"connection_id":185206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":185206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:32:57] local.INFO: TCP Data received {"connection_id":187822,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:32:57] local.INFO: Processing buffer {"connection_id":187822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:32:57] local.INFO: IMEI packet received {"connection_id":187822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":187822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:32:57] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:32:57] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:32:57] local.INFO: Packet analysis {"connection_id":186509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:32:57] local.INFO: Extracted packet for processing {"connection_id":186509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:32:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:32:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:32:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":186509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:32:57] local.INFO: GPS data processed {"connection_id":186509,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:32:57] local.INFO: Acknowledgment sent {"connection_id":186509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:32:58] local.INFO: TCP Data received {"connection_id":185206,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:32:58] local.INFO: Processing buffer {"connection_id":185206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:32:58] local.INFO: IMEI packet received {"connection_id":185206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":185206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:33:00] local.INFO: TCP Data received {"connection_id":185206,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:33:00] local.INFO: Processing buffer {"connection_id":185206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:33:00] local.INFO: Packet analysis {"connection_id":185206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:33:00] local.INFO: Extracted packet for processing {"connection_id":185206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:33:00] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143882752001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789624843000,"timestamp_ms":1789624843000,"timestamp_seconds":1789624843,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf3faf8"} 
[2026-09-17 11:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143882752001,"66":2155,"214":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143882752001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:33:00] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:33:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143882752001,"power":2155,"unknown_214":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":185206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:33:00] local.INFO: GPS data processed {"connection_id":185206,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:33:00] local.INFO: Acknowledgment sent {"connection_id":185206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:33:02] local.INFO: TCP Data received {"connection_id":187822,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:33:02] local.INFO: Processing buffer {"connection_id":187822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:33:02] local.INFO: IMEI packet received {"connection_id":187822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":187822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:33:03] local.INFO: TCP Data received {"connection_id":187822,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf22250012cf41140070fc7b80027005128..."} 
[2026-09-17 11:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf22250012cf41140070fc7b80027005128..."} 
[2026-09-17 11:33:03] local.INFO: Processing buffer {"connection_id":187822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf22250012cf41140070fc7b80027005128..."} 
[2026-09-17 11:33:03] local.INFO: Packet analysis {"connection_id":187822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf2"} 
[2026-09-17 11:33:03] local.INFO: Extracted packet for processing {"connection_id":187822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf2"} 
[2026-09-17 11:33:03] local.INFO: GPS Element Parsed {"raw_longitude":754192704,"raw_latitude":118474680,"longitude_deg":75.4192704,"latitude_deg":11.847468,"altitude":39,"angle":81,"satellites":40,"speed":0,"hex_longitude":"2cf41140","hex_latitude":"070fc7b8","is_valid_coordinates":true} 
[2026-09-17 11:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143923712001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859976392265721856,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624722000,"timestamp_ms":1789624722000,"timestamp_seconds":1789624722,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf22250"} 
[2026-09-17 11:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 11:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143923712001,"66":14461,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859976392265721856},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143923712001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:33:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859976392265721856,"description":"Unknown IO ID 44"} 
[2026-09-17 11:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143923712001,"power":14461,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859976392265721856}} 
[2026-09-17 11:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":187822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855029,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:33:03] local.INFO: GPS data processed {"connection_id":187822,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:33:03] local.INFO: Acknowledgment sent {"connection_id":187822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:33:20] local.INFO: TCP Data received {"connection_id":185079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:33:20] local.INFO: Processing buffer {"connection_id":185079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:33:20] local.INFO: IMEI packet received {"connection_id":185079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":185079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:33:27] local.INFO: TCP Data received {"connection_id":185079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:33:27] local.INFO: Processing buffer {"connection_id":185079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:33:27] local.INFO: IMEI packet received {"connection_id":185079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":185079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:33:29] local.INFO: TCP Data received {"connection_id":185079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:33:29] local.INFO: Processing buffer {"connection_id":185079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:33:29] local.INFO: Packet analysis {"connection_id":185079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:33:29] local.INFO: Extracted packet for processing {"connection_id":185079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:33:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:33:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:33:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":185079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:33:29] local.INFO: GPS data processed {"connection_id":185079,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:33:29] local.INFO: Acknowledgment sent {"connection_id":185079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:33:33] local.INFO: TCP Data received {"connection_id":185206,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:33:33] local.INFO: Processing buffer {"connection_id":185206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:33:33] local.INFO: Packet analysis {"connection_id":185206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:33:33] local.INFO: Extracted packet for processing {"connection_id":185206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:33:33] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143882752001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789624843000,"timestamp_ms":1789624843000,"timestamp_seconds":1789624843,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf3faf8"} 
[2026-09-17 11:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143882752001,"66":2155,"214":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143882752001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:33:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143882752001,"power":2155,"unknown_214":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":185206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:33:34] local.INFO: GPS data processed {"connection_id":185206,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:33:34] local.INFO: Acknowledgment sent {"connection_id":185206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:33:34] local.INFO: TCP Data received {"connection_id":187822,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf22250012cf41140070fc7b80027005128..."} 
[2026-09-17 11:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf22250012cf41140070fc7b80027005128..."} 
[2026-09-17 11:33:34] local.INFO: Processing buffer {"connection_id":187822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf22250012cf41140070fc7b80027005128..."} 
[2026-09-17 11:33:34] local.INFO: Packet analysis {"connection_id":187822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf2"} 
[2026-09-17 11:33:34] local.INFO: Extracted packet for processing {"connection_id":187822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf2"} 
[2026-09-17 11:33:34] local.INFO: GPS Element Parsed {"raw_longitude":754192704,"raw_latitude":118474680,"longitude_deg":75.4192704,"latitude_deg":11.847468,"altitude":39,"angle":81,"satellites":40,"speed":0,"hex_longitude":"2cf41140","hex_latitude":"070fc7b8","is_valid_coordinates":true} 
[2026-09-17 11:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789624722000,"timestamp_ms":1789624722000,"timestamp_seconds":1789624722,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf22250"} 
[2026-09-17 11:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":14461,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:33:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:33:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":14461,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":187822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855032,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:33:35] local.INFO: GPS data processed {"connection_id":187822,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:33:35] local.INFO: Acknowledgment sent {"connection_id":187822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:33:53] local.INFO: TCP Data received {"connection_id":185080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:33:53] local.INFO: Processing buffer {"connection_id":185080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:33:53] local.INFO: IMEI packet received {"connection_id":185080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":185080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:33:55] local.INFO: TCP Data received {"connection_id":185081,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:33:55] local.INFO: Processing buffer {"connection_id":185081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:33:55] local.INFO: IMEI packet received {"connection_id":185081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":185081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:33:57] local.INFO: TCP Data received {"connection_id":185208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:33:57] local.INFO: Processing buffer {"connection_id":185208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:33:57] local.INFO: IMEI packet received {"connection_id":185208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":185208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:33:58] local.INFO: TCP Data received {"connection_id":185080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:33:58] local.INFO: Processing buffer {"connection_id":185080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:33:58] local.INFO: IMEI packet received {"connection_id":185080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":185080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:33:59] local.INFO: TCP Data received {"connection_id":185080,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:33:59] local.INFO: Processing buffer {"connection_id":185080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:33:59] local.INFO: Packet analysis {"connection_id":185080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:33:59] local.INFO: Extracted packet for processing {"connection_id":185080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:33:59] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143882752001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789624843000,"timestamp_ms":1789624843000,"timestamp_seconds":1789624843,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf3faf8"} 
[2026-09-17 11:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143882752001,"66":2155,"214":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143882752001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:33:59] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143882752001,"power":2155,"unknown_214":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":185080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:33:59] local.INFO: GPS data processed {"connection_id":185080,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:33:59] local.INFO: Acknowledgment sent {"connection_id":185080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:34:02] local.INFO: TCP Data received {"connection_id":185208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:34:02] local.INFO: Processing buffer {"connection_id":185208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:34:02] local.INFO: IMEI packet received {"connection_id":185208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":185208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:34:03] local.INFO: TCP Data received {"connection_id":185208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf22250012cf41140070fc7b80027005128..."} 
[2026-09-17 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf22250012cf41140070fc7b80027005128..."} 
[2026-09-17 11:34:03] local.INFO: Processing buffer {"connection_id":185208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf22250012cf41140070fc7b80027005128..."} 
[2026-09-17 11:34:03] local.INFO: Packet analysis {"connection_id":185208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf2"} 
[2026-09-17 11:34:03] local.INFO: Extracted packet for processing {"connection_id":185208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf2"} 
[2026-09-17 11:34:03] local.INFO: GPS Element Parsed {"raw_longitude":754192704,"raw_latitude":118474680,"longitude_deg":75.4192704,"latitude_deg":11.847468,"altitude":39,"angle":81,"satellites":40,"speed":0,"hex_longitude":"2cf41140","hex_latitude":"070fc7b8","is_valid_coordinates":true} 
[2026-09-17 11:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624722000,"timestamp_ms":1789624722000,"timestamp_seconds":1789624722,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf22250"} 
[2026-09-17 11:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":14461,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:34:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":14461,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:34:03] local.INFO: TCP Data received {"connection_id":185079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:34:03] local.INFO: Processing buffer {"connection_id":185079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:34:03] local.INFO: Packet analysis {"connection_id":185079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:34:03] local.INFO: Extracted packet for processing {"connection_id":185079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":185208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855034,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:34:03] local.INFO: GPS data processed {"connection_id":185208,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:34:03] local.INFO: Acknowledgment sent {"connection_id":185208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":185079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:34:03] local.INFO: GPS data processed {"connection_id":185079,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:34:03] local.INFO: Acknowledgment sent {"connection_id":185079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:34:04] local.INFO: TCP Data received {"connection_id":185080,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:34:04] local.INFO: Processing buffer {"connection_id":185080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:34:04] local.INFO: Packet analysis {"connection_id":185080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:34:04] local.INFO: Extracted packet for processing {"connection_id":185080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143882752001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789624843000,"timestamp_ms":1789624843000,"timestamp_seconds":1789624843,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf3faf8"} 
[2026-09-17 11:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143882752001,"66":2155,"214":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143882752001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:34:04] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143882752001,"power":2155,"unknown_214":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":185080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:34:04] local.INFO: GPS data processed {"connection_id":185080,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:34:04] local.INFO: Acknowledgment sent {"connection_id":185080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:34:15] local.INFO: TCP Data received {"connection_id":185209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:34:15] local.INFO: Processing buffer {"connection_id":185209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:34:15] local.INFO: IMEI packet received {"connection_id":185209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":185209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:34:20] local.INFO: TCP Data received {"connection_id":185209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:34:20] local.INFO: Processing buffer {"connection_id":185209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:34:20] local.INFO: IMEI packet received {"connection_id":185209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":185209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:34:24] local.INFO: TCP Data received {"connection_id":185209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:34:24] local.INFO: Processing buffer {"connection_id":185209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:34:24] local.INFO: Packet analysis {"connection_id":185209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:34:24] local.INFO: Extracted packet for processing {"connection_id":185209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":185209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:34:24] local.INFO: GPS data processed {"connection_id":185209,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:34:24] local.INFO: Acknowledgment sent {"connection_id":185209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:34:35] local.INFO: TCP Data received {"connection_id":185208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:34:35] local.INFO: Processing buffer {"connection_id":185208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:34:35] local.INFO: Packet analysis {"connection_id":185208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:34:35] local.INFO: Extracted packet for processing {"connection_id":185208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:34:35] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789625025000,"timestamp_ms":1789625025000,"timestamp_seconds":1789625025,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf6c1e8"} 
[2026-09-17 11:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":12113,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:34:35] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":12113,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":185208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:34:35] local.INFO: GPS data processed {"connection_id":185208,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:34:35] local.INFO: Acknowledgment sent {"connection_id":185208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:34:49] local.INFO: TCP Data received {"connection_id":185210,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:34:49] local.INFO: Processing buffer {"connection_id":185210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:34:49] local.INFO: IMEI packet received {"connection_id":185210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":185210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:34:53] local.INFO: TCP Data received {"connection_id":185210,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:34:53] local.INFO: Processing buffer {"connection_id":185210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:34:53] local.INFO: IMEI packet received {"connection_id":185210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":185210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:34:56] local.INFO: TCP Data received {"connection_id":185209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:34:56] local.INFO: Processing buffer {"connection_id":185209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:34:56] local.INFO: Packet analysis {"connection_id":185209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:34:56] local.INFO: Extracted packet for processing {"connection_id":185209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:34:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:34:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":185209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:34:56] local.INFO: GPS data processed {"connection_id":185209,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:34:56] local.INFO: Acknowledgment sent {"connection_id":185209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:34:58] local.INFO: TCP Data received {"connection_id":185082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:34:58] local.INFO: Processing buffer {"connection_id":185082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:34:58] local.INFO: IMEI packet received {"connection_id":185082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":185082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:35:01] local.INFO: TCP Data received {"connection_id":185210,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:35:01] local.INFO: Processing buffer {"connection_id":185210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:35:01] local.INFO: Packet analysis {"connection_id":185210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:35:01] local.INFO: Extracted packet for processing {"connection_id":185210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:35:01] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143882752001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789624843000,"timestamp_ms":1789624843000,"timestamp_seconds":1789624843,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf3faf8"} 
[2026-09-17 11:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143882752001,"66":2155,"214":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143882752001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:35:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143882752001,"power":2155,"unknown_214":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":185210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:35:01] local.INFO: GPS data processed {"connection_id":185210,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:35:01] local.INFO: Acknowledgment sent {"connection_id":185210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:35:02] local.INFO: TCP Data received {"connection_id":185210,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:35:02] local.INFO: Processing buffer {"connection_id":185210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf3faf8012d0182c0072b64d80015015923..."} 
[2026-09-17 11:35:02] local.INFO: Packet analysis {"connection_id":185210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:35:02] local.INFO: Extracted packet for processing {"connection_id":185210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf3"} 
[2026-09-17 11:35:02] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143882752001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789624843000,"timestamp_ms":1789624843000,"timestamp_seconds":1789624843,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf3faf8"} 
[2026-09-17 11:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143882752001,"66":2155,"214":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-17 11:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143882752001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:35:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-17 11:35:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143882752001,"power":2155,"unknown_214":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":185210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:35:02] local.INFO: GPS data processed {"connection_id":185210,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:35:02] local.INFO: Acknowledgment sent {"connection_id":185210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:35:02] local.INFO: TCP Data received {"connection_id":185082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:35:02] local.INFO: Processing buffer {"connection_id":185082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:35:02] local.INFO: IMEI packet received {"connection_id":185082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":185082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:35:03] local.INFO: TCP Data received {"connection_id":185082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:35:03] local.INFO: Processing buffer {"connection_id":185082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:35:03] local.INFO: Packet analysis {"connection_id":185082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:35:03] local.INFO: Extracted packet for processing {"connection_id":185082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:35:03] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625025000,"timestamp_ms":1789625025000,"timestamp_seconds":1789625025,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf6c1e8"} 
[2026-09-17 11:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":12113,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:35:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:35:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":12113,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":185082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:35:03] local.INFO: GPS data processed {"connection_id":185082,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:35:03] local.INFO: Acknowledgment sent {"connection_id":185082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:35:16] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:35:16] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:35:16] local.INFO: IMEI packet received {"connection_id":186510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":186510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:35:22] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:35:22] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:35:22] local.INFO: IMEI packet received {"connection_id":186510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":186510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:35:23] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:35:23] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:35:23] local.INFO: Packet analysis {"connection_id":186510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:35:23] local.INFO: Extracted packet for processing {"connection_id":186510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:35:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:35:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:35:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":186510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:35:23] local.INFO: GPS data processed {"connection_id":186510,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:35:23] local.INFO: Acknowledgment sent {"connection_id":186510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:35:34] local.INFO: TCP Data received {"connection_id":185082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:35:34] local.INFO: Processing buffer {"connection_id":185082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:35:34] local.INFO: Packet analysis {"connection_id":185082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:35:34] local.INFO: Extracted packet for processing {"connection_id":185082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:35:34] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625025000,"timestamp_ms":1789625025000,"timestamp_seconds":1789625025,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf6c1e8"} 
[2026-09-17 11:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":12113,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:35:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:35:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":12113,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":185082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855044,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:35:35] local.INFO: GPS data processed {"connection_id":185082,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:35:35] local.INFO: Acknowledgment sent {"connection_id":185082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:35:54] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:35:54] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:35:54] local.INFO: Packet analysis {"connection_id":186510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:35:54] local.INFO: Extracted packet for processing {"connection_id":186510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:35:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":186510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:35:54] local.INFO: GPS data processed {"connection_id":186510,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:35:54] local.INFO: Acknowledgment sent {"connection_id":186510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:35:57] local.INFO: TCP Data received {"connection_id":185212,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185212,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:35:57] local.INFO: Processing buffer {"connection_id":185212,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:35:57] local.INFO: IMEI packet received {"connection_id":185212,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":185212,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:36:02] local.INFO: TCP Data received {"connection_id":185212,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185212,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:36:02] local.INFO: Processing buffer {"connection_id":185212,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:36:02] local.INFO: IMEI packet received {"connection_id":185212,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":185212,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:36:03] local.INFO: TCP Data received {"connection_id":185213,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:36:03] local.INFO: Processing buffer {"connection_id":185213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:36:03] local.INFO: IMEI packet received {"connection_id":185213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":185213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:36:03] local.INFO: TCP Data received {"connection_id":185212,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:36:03] local.INFO: Processing buffer {"connection_id":185212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:36:03] local.INFO: Packet analysis {"connection_id":185212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:36:03] local.INFO: Extracted packet for processing {"connection_id":185212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:36:03] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625025000,"timestamp_ms":1789625025000,"timestamp_seconds":1789625025,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf6c1e8"} 
[2026-09-17 11:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185212,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185212,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":12113,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:36:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":12113,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":185212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:36:03] local.INFO: GPS data processed {"connection_id":185212,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:36:03] local.INFO: Acknowledgment sent {"connection_id":185212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:36:16] local.INFO: TCP Data received {"connection_id":185214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:36:16] local.INFO: Processing buffer {"connection_id":185214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:36:16] local.INFO: IMEI packet received {"connection_id":185214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":185214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:36:20] local.INFO: TCP Data received {"connection_id":185214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:36:20] local.INFO: Processing buffer {"connection_id":185214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:36:20] local.INFO: IMEI packet received {"connection_id":185214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":185214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:36:21] local.INFO: TCP Data received {"connection_id":185214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:36:21] local.INFO: Processing buffer {"connection_id":185214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:36:21] local.INFO: Packet analysis {"connection_id":185214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:36:21] local.INFO: Extracted packet for processing {"connection_id":185214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":185214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:36:21] local.INFO: GPS data processed {"connection_id":185214,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:36:21] local.INFO: Acknowledgment sent {"connection_id":185214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:36:22] local.INFO: TCP Data received {"connection_id":185213,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:36:22] local.INFO: Processing buffer {"connection_id":185213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:36:22] local.INFO: IMEI packet received {"connection_id":185213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":185213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:36:34] local.INFO: TCP Data received {"connection_id":185212,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:36:34] local.INFO: Processing buffer {"connection_id":185212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:36:34] local.INFO: Packet analysis {"connection_id":185212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:36:34] local.INFO: Extracted packet for processing {"connection_id":185212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:36:34] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625025000,"timestamp_ms":1789625025000,"timestamp_seconds":1789625025,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf6c1e8"} 
[2026-09-17 11:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185212,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185212,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":12113,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:36:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":12113,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":185212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855048,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:36:34] local.INFO: GPS data processed {"connection_id":185212,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:36:35] local.INFO: Acknowledgment sent {"connection_id":185212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:36:53] local.INFO: TCP Data received {"connection_id":185214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:36:53] local.INFO: Processing buffer {"connection_id":185214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:36:53] local.INFO: Packet analysis {"connection_id":185214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:36:53] local.INFO: Extracted packet for processing {"connection_id":185214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:36:53] local.INFO: TCP Data received {"connection_id":185083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:36:53] local.INFO: Processing buffer {"connection_id":185083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:36:53] local.INFO: IMEI packet received {"connection_id":185083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":185083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":185214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:36:53] local.INFO: GPS data processed {"connection_id":185214,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:36:53] local.INFO: Acknowledgment sent {"connection_id":185214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:36:57] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:36:57] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:36:57] local.INFO: IMEI packet received {"connection_id":186512,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":186512,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:37:00] local.INFO: TCP Data received {"connection_id":185083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:37:00] local.INFO: Processing buffer {"connection_id":185083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:37:00] local.INFO: IMEI packet received {"connection_id":185083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":185083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:37:01] local.INFO: TCP Data received {"connection_id":185083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:37:01] local.INFO: Processing buffer {"connection_id":185083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:37:01] local.INFO: Packet analysis {"connection_id":185083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:37:01] local.INFO: Extracted packet for processing {"connection_id":185083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:37:01] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143959808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789625144000,"timestamp_ms":1789625144000,"timestamp_seconds":1789625144,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf892c0"} 
[2026-09-17 11:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 11:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143959808001,"66":2166,"18":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-17 11:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143959808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:37:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 11:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143959808001,"power":2166,"unknown_18":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":185083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:37:02] local.INFO: GPS data processed {"connection_id":185083,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:37:02] local.INFO: Acknowledgment sent {"connection_id":185083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:37:02] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:37:02] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:37:02] local.INFO: IMEI packet received {"connection_id":186512,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":186512,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:37:03] local.INFO: TCP Data received {"connection_id":185083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:37:03] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:37:03] local.INFO: Processing buffer {"connection_id":185083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:37:03] local.INFO: Packet analysis {"connection_id":185083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:37:03] local.INFO: Extracted packet for processing {"connection_id":185083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:37:03] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143959808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625144000,"timestamp_ms":1789625144000,"timestamp_seconds":1789625144,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf892c0"} 
[2026-09-17 11:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 11:37:03] 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-09-17 11:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:37:03] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:37:03] local.INFO: Packet analysis {"connection_id":186512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:37:03] local.INFO: Extracted packet for processing {"connection_id":186512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:37:03] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625025000,"timestamp_ms":1789625025000,"timestamp_seconds":1789625025,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf6c1e8"} 
[2026-09-17 11:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143959808001,"66":2166,"18":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-17 11:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":12113,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143959808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:37:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 11:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143959808001,"power":2166,"unknown_18":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:37:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":12113,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":185083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:37:03] local.INFO: GPS data processed {"connection_id":185083,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:37:03] local.INFO: Acknowledgment sent {"connection_id":185083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":186512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:37:03] local.INFO: GPS data processed {"connection_id":186512,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:37:03] local.INFO: Acknowledgment sent {"connection_id":186512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:37:15] local.INFO: TCP Data received {"connection_id":185084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:37:15] local.INFO: Processing buffer {"connection_id":185084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:37:15] local.INFO: IMEI packet received {"connection_id":185084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":185084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:37:20] local.INFO: TCP Data received {"connection_id":185084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:37:20] local.INFO: Processing buffer {"connection_id":185084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:37:20] local.INFO: IMEI packet received {"connection_id":185084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":185084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:37:21] local.INFO: TCP Data received {"connection_id":185084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:37:21] local.INFO: Processing buffer {"connection_id":185084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf54700012d34c14006aa4438000c010128..."} 
[2026-09-17 11:37:21] local.INFO: Packet analysis {"connection_id":185084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:37:21] local.INFO: Extracted packet for processing {"connection_id":185084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf5"} 
[2026-09-17 11:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143904512001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789624928000,"timestamp_ms":1789624928000,"timestamp_seconds":1789624928,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf54700"} 
[2026-09-17 11:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143904512001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143904512001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:37:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143904512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":185084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:37:21] local.INFO: GPS data processed {"connection_id":185084,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:37:21] local.INFO: Acknowledgment sent {"connection_id":185084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:37:35] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:37:35] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:37:35] local.INFO: Packet analysis {"connection_id":186512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:37:35] local.INFO: Extracted packet for processing {"connection_id":186512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:37:35] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789625025000,"timestamp_ms":1789625025000,"timestamp_seconds":1789625025,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf6c1e8"} 
[2026-09-17 11:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":12113,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:37:35] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":12113,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":186512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855054,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:37:35] local.INFO: GPS data processed {"connection_id":186512,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:37:35] local.INFO: Acknowledgment sent {"connection_id":186512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:37:48] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:37:48] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:37:48] local.INFO: IMEI packet received {"connection_id":186513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":186513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:37:52] local.INFO: TCP Data received {"connection_id":185084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:37:52] local.INFO: Processing buffer {"connection_id":185084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:37:52] local.INFO: Packet analysis {"connection_id":185084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:37:52] local.INFO: Extracted packet for processing {"connection_id":185084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":185084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:37:52] local.INFO: GPS data processed {"connection_id":185084,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:37:52] local.INFO: Acknowledgment sent {"connection_id":185084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:37:53] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:37:53] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:37:53] local.INFO: IMEI packet received {"connection_id":186513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":186513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:37:54] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:37:54] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:37:54] local.INFO: Packet analysis {"connection_id":186513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:37:54] local.INFO: Extracted packet for processing {"connection_id":186513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:37:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143959808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625144000,"timestamp_ms":1789625144000,"timestamp_seconds":1789625144,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf892c0"} 
[2026-09-17 11:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 11:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143959808001,"66":2166,"18":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-17 11:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143959808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:37:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 11:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143959808001,"power":2166,"unknown_18":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":186513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:37:54] local.INFO: GPS data processed {"connection_id":186513,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:37:54] local.INFO: Acknowledgment sent {"connection_id":186513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:38:02] local.INFO: TCP Data received {"connection_id":187824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187824,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:38:02] local.INFO: Processing buffer {"connection_id":187824,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:38:02] local.INFO: IMEI packet received {"connection_id":187824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":187824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:38:07] local.INFO: TCP Data received {"connection_id":187824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187824,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:38:07] local.INFO: Processing buffer {"connection_id":187824,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:38:07] local.INFO: IMEI packet received {"connection_id":187824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":187824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:38:08] local.INFO: TCP Data received {"connection_id":187824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:38:08] local.INFO: Processing buffer {"connection_id":187824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf6c1e8012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:38:08] local.INFO: Packet analysis {"connection_id":187824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:38:08] local.INFO: Extracted packet for processing {"connection_id":187824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf6"} 
[2026-09-17 11:38:08] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143928832001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654777358336,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789625025000,"timestamp_ms":1789625025000,"timestamp_seconds":1789625025,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf6c1e8"} 
[2026-09-17 11:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11: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-09-17 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 11:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143928832001,"66":12113,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859835654777358336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143928832001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:38:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654777358336,"description":"Unknown IO ID 44"} 
[2026-09-17 11:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143928832001,"power":12113,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859835654777358336}} 
[2026-09-17 11:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":187824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:38:08] local.INFO: GPS data processed {"connection_id":187824,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:38:08] local.INFO: Acknowledgment sent {"connection_id":187824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:38:20] local.INFO: TCP Data received {"connection_id":185086,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:38:20] local.INFO: Processing buffer {"connection_id":185086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:38:20] local.INFO: IMEI packet received {"connection_id":185086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":185086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:38:25] local.INFO: TCP Data received {"connection_id":185086,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:38:25] local.INFO: Processing buffer {"connection_id":185086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:38:25] local.INFO: IMEI packet received {"connection_id":185086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":185086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:38:25] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:38:25] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:38:25] local.INFO: Packet analysis {"connection_id":186513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:38:25] local.INFO: Extracted packet for processing {"connection_id":186513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:38:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143959808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789625144000,"timestamp_ms":1789625144000,"timestamp_seconds":1789625144,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf892c0"} 
[2026-09-17 11:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 11:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143959808001,"66":2166,"18":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-17 11:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143959808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:38:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 11:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143959808001,"power":2166,"unknown_18":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":186513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:38:25] local.INFO: GPS data processed {"connection_id":186513,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:38:25] local.INFO: Acknowledgment sent {"connection_id":186513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:38:28] local.INFO: TCP Data received {"connection_id":185086,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:38:28] local.INFO: Processing buffer {"connection_id":185086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:38:28] local.INFO: Packet analysis {"connection_id":185086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:38:28] local.INFO: Extracted packet for processing {"connection_id":185086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:38:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:38:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:38:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":185086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:38:28] local.INFO: GPS data processed {"connection_id":185086,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:38:28] local.INFO: Acknowledgment sent {"connection_id":185086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:38:39] local.INFO: TCP Data received {"connection_id":187824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfb1748012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfb1748012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:38:39] local.INFO: Processing buffer {"connection_id":187824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfb1748012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:38:39] local.INFO: Packet analysis {"connection_id":187824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfb"} 
[2026-09-17 11:38:39] local.INFO: Extracted packet for processing {"connection_id":187824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfb"} 
[2026-09-17 11:38:39] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144006400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859976392265703424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789625309000,"timestamp_ms":1789625309000,"timestamp_seconds":1789625309,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfb1748"} 
[2026-09-17 11:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-17 11:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144006400001,"66":12928,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859976392265703424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144006400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:38:39] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:38:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859976392265703424,"description":"Unknown IO ID 44"} 
[2026-09-17 11:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144006400001,"power":12928,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859976392265703424}} 
[2026-09-17 11:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":187824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:38:39] local.INFO: GPS data processed {"connection_id":187824,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:38:39] local.INFO: Acknowledgment sent {"connection_id":187824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:38:58] local.INFO: TCP Data received {"connection_id":185216,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:38:58] local.INFO: Processing buffer {"connection_id":185216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:38:58] local.INFO: IMEI packet received {"connection_id":185216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":185216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:39:00] local.INFO: TCP Data received {"connection_id":185086,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:39:00] local.INFO: Processing buffer {"connection_id":185086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:39:00] local.INFO: Packet analysis {"connection_id":185086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:39:00] local.INFO: Extracted packet for processing {"connection_id":185086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:39:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:39:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":185086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:39:00] local.INFO: GPS data processed {"connection_id":185086,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:39:00] local.INFO: Acknowledgment sent {"connection_id":185086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:39:06] local.INFO: TCP Data received {"connection_id":185216,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:39:06] local.INFO: Processing buffer {"connection_id":185216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:39:06] local.INFO: IMEI packet received {"connection_id":185216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":185216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:39:07] local.INFO: TCP Data received {"connection_id":185216,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:39:07] local.INFO: Processing buffer {"connection_id":185216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:39:07] local.INFO: Packet analysis {"connection_id":185216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:39:07] local.INFO: Extracted packet for processing {"connection_id":185216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:39:07] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143959808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789625144000,"timestamp_ms":1789625144000,"timestamp_seconds":1789625144,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf892c0"} 
[2026-09-17 11:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 11:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143959808001,"66":2166,"18":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-17 11:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143959808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:39:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 11:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143959808001,"power":2166,"unknown_18":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":185216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:39:07] local.INFO: GPS data processed {"connection_id":185216,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:39:07] local.INFO: Acknowledgment sent {"connection_id":185216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:39:07] local.INFO: TCP Data received {"connection_id":187825,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:39:07] local.INFO: Processing buffer {"connection_id":187825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:39:07] local.INFO: IMEI packet received {"connection_id":187825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":187825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:39:12] local.INFO: TCP Data received {"connection_id":187825,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:39:12] local.INFO: Processing buffer {"connection_id":187825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:39:12] local.INFO: IMEI packet received {"connection_id":187825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":187825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:39:13] local.INFO: TCP Data received {"connection_id":187825,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfb1748012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfb1748012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:39:13] local.INFO: Processing buffer {"connection_id":187825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfb1748012cf410c0070fc7e0002700512a..."} 
[2026-09-17 11:39:13] local.INFO: Packet analysis {"connection_id":187825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfb"} 
[2026-09-17 11:39:13] local.INFO: Extracted packet for processing {"connection_id":187825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfb"} 
[2026-09-17 11:39:13] local.INFO: GPS Element Parsed {"raw_longitude":754192576,"raw_latitude":118474720,"longitude_deg":75.4192576,"latitude_deg":11.847472,"altitude":39,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2cf410c0","hex_latitude":"070fc7e0","is_valid_coordinates":true} 
[2026-09-17 11:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144079104001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751805691592704,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859976392265703424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789625309000,"timestamp_ms":1789625309000,"timestamp_seconds":1789625309,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfb1748"} 
[2026-09-17 11:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-17 11:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144079104001,"66":12928,"35":206,"83":41472,"24":0,"16":32751805691592704,"44":-859976392265703424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144079104001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:39:13] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751805691592704,"km_value":32751805691592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859976392265703424,"description":"Unknown IO ID 44"} 
[2026-09-17 11:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144079104001,"power":12928,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-859976392265703424}} 
[2026-09-17 11:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":187825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:39:13] local.INFO: GPS data processed {"connection_id":187825,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:39:13] local.INFO: Acknowledgment sent {"connection_id":187825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:39:14] local.INFO: TCP Data received {"connection_id":187825,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfb4628012cf411c0070fc7d0002a00352d..."} 
[2026-09-17 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfb4628012cf411c0070fc7d0002a00352d..."} 
[2026-09-17 11:39:14] local.INFO: Processing buffer {"connection_id":187825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfb4628012cf411c0070fc7d0002a00352d..."} 
[2026-09-17 11:39:14] local.INFO: Packet analysis {"connection_id":187825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfb"} 
[2026-09-17 11:39:14] local.INFO: Extracted packet for processing {"connection_id":187825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfb"} 
[2026-09-17 11:39:14] local.INFO: GPS Element Parsed {"raw_longitude":754192832,"raw_latitude":118474704,"longitude_deg":75.4192832,"latitude_deg":11.8474704,"altitude":42,"angle":53,"satellites":45,"speed":4,"hex_longitude":"2cf411c0","hex_latitude":"070fc7d0","is_valid_coordinates":true} 
[2026-09-17 11:39: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-09-17 11:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144079104001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32751809986560000,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859976392265703424,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789625321000,"timestamp_ms":1789625321000,"timestamp_seconds":1789625321,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfb4628"} 
[2026-09-17 11:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-17 11:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:39: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-09-17 11:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144079104001,"66":14428,"35":206,"83":41472,"24":4,"16":32751809986560000,"44":-859976392265703424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144079104001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:39:14] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32751809986560000,"km_value":32751809986560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:39:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859976392265703424,"description":"Unknown IO ID 44"} 
[2026-09-17 11:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144079104001,"power":14428,"unknown_35":206,"unknown_83":41472,"ignition":4,"odometer":null,"unknown_44":-859976392265703424}} 
[2026-09-17 11:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":187825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855064,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:39:14] local.INFO: GPS data processed {"connection_id":187825,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:39:14] local.INFO: Acknowledgment sent {"connection_id":187825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:39:15] local.INFO: TCP Data received {"connection_id":185087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:39:15] local.INFO: Processing buffer {"connection_id":185087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:39:15] local.INFO: IMEI packet received {"connection_id":185087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":185087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:39:20] local.INFO: TCP Data received {"connection_id":185087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:39:20] local.INFO: Processing buffer {"connection_id":185087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:39:20] local.INFO: IMEI packet received {"connection_id":185087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":185087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:39:22] local.INFO: TCP Data received {"connection_id":185087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:39:22] local.INFO: Processing buffer {"connection_id":185087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:39:22] local.INFO: Packet analysis {"connection_id":185087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:39:22] local.INFO: Extracted packet for processing {"connection_id":185087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:39:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:39:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":185087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:39:22] local.INFO: GPS data processed {"connection_id":185087,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:39:22] local.INFO: Acknowledgment sent {"connection_id":185087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:39:25] local.INFO: TCP Data received {"connection_id":185215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:39:25] local.INFO: Processing buffer {"connection_id":185215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:39:25] local.INFO: IMEI packet received {"connection_id":185215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":185215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:39:49] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:39:49] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:39:49] local.INFO: IMEI packet received {"connection_id":186514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":186514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:39:50] local.INFO: TCP Data received {"connection_id":186515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:39:50] local.INFO: Processing buffer {"connection_id":186515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:39:50] local.INFO: IMEI packet received {"connection_id":186515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":186515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:39:53] local.INFO: TCP Data received {"connection_id":185087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:39:53] local.INFO: Processing buffer {"connection_id":185087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:39:53] local.INFO: Packet analysis {"connection_id":185087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:39:53] local.INFO: Extracted packet for processing {"connection_id":185087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":185087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:39:53] local.INFO: GPS data processed {"connection_id":185087,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:39:53] local.INFO: Acknowledgment sent {"connection_id":185087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:39:53] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:39:53] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:39:53] local.INFO: IMEI packet received {"connection_id":186514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":186514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:39:54] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:39:54] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:39:54] local.INFO: Packet analysis {"connection_id":186514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:39:54] local.INFO: Extracted packet for processing {"connection_id":186514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:39:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143959808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625144000,"timestamp_ms":1789625144000,"timestamp_seconds":1789625144,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf892c0"} 
[2026-09-17 11:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 11:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143959808001,"66":2166,"18":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-17 11:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143959808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:39:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 11:39:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143959808001,"power":2166,"unknown_18":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":186514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:39:54] local.INFO: GPS data processed {"connection_id":186514,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:39:54] local.INFO: Acknowledgment sent {"connection_id":186514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:40:02] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:02] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:02] local.INFO: IMEI packet received {"connection_id":185088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":185088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:40:04] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:04] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:04] local.INFO: IMEI packet received {"connection_id":185088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":185088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:40:05] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfc1d00012cf41a00070fc760002a011d2e..."} 
[2026-09-17 11:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfc1d00012cf41a00070fc760002a011d2e..."} 
[2026-09-17 11:40:05] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfc1d00012cf41a00070fc760002a011d2e..."} 
[2026-09-17 11:40:05] local.INFO: Packet analysis {"connection_id":185088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:40:05] local.INFO: Extracted packet for processing {"connection_id":185088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":754194944,"raw_latitude":118474592,"longitude_deg":75.4194944,"latitude_deg":11.8474592,"altitude":42,"angle":285,"satellites":46,"speed":2,"hex_longitude":"2cf41a00","hex_latitude":"070fc760","is_valid_coordinates":true} 
[2026-09-17 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144095744001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752054799695872,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-857091273754439680,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789625376000,"timestamp_ms":1789625376000,"timestamp_seconds":1789625376,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfc1d00"} 
[2026-09-17 11:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-17 11:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144095744001,"66":14580,"35":206,"83":41472,"24":2,"16":32752054799695872,"44":-857091273754439680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144095744001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:40:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752054799695872,"km_value":32752054799695.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-857091273754439680,"description":"Unknown IO ID 44"} 
[2026-09-17 11:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144095744001,"power":14580,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-857091273754439680}} 
[2026-09-17 11:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":185088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855068,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:40:05] local.INFO: GPS data processed {"connection_id":185088,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:40:05] local.INFO: Acknowledgment sent {"connection_id":185088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:40:06] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfc20e8012cf419c0070fc738002a01112d..."} 
[2026-09-17 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfc20e8012cf419c0070fc738002a01112d..."} 
[2026-09-17 11:40:06] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfc20e8012cf419c0070fc738002a01112d..."} 
[2026-09-17 11:40:06] local.INFO: Packet analysis {"connection_id":185088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:40:06] local.INFO: Extracted packet for processing {"connection_id":185088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":754194880,"raw_latitude":118474552,"longitude_deg":75.419488,"latitude_deg":11.8474552,"altitude":42,"angle":273,"satellites":45,"speed":2,"hex_longitude":"2cf419c0","hex_latitude":"070fc738","is_valid_coordinates":true} 
[2026-09-17 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144096256001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752059094663168,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-857372748731162624,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789625377000,"timestamp_ms":1789625377000,"timestamp_seconds":1789625377,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfc20e8"} 
[2026-09-17 11:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-17 11:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144096256001,"66":14580,"35":206,"83":41472,"24":2,"16":32752059094663168,"44":-857372748731162624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 11:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144096256001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:40:06] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 11:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752059094663168,"km_value":32752059094663.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-857372748731162624,"description":"Unknown IO ID 44"} 
[2026-09-17 11:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144096256001,"power":14580,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-857372748731162624}} 
[2026-09-17 11:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":185088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855069,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:40:06] local.INFO: GPS data processed {"connection_id":185088,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:40:06] local.INFO: Acknowledgment sent {"connection_id":185088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:40:15] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:40:15] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:40:15] local.INFO: IMEI packet received {"connection_id":186516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":186516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:40:20] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:40:20] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:40:20] local.INFO: IMEI packet received {"connection_id":186516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":186516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:40:21] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:40:21] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:40:21] local.INFO: Packet analysis {"connection_id":186516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:40:21] local.INFO: Extracted packet for processing {"connection_id":186516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:40:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":186516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:40:21] local.INFO: GPS data processed {"connection_id":186516,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:40:21] local.INFO: Acknowledgment sent {"connection_id":186516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:40:25] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:40:25] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:40:25] local.INFO: Packet analysis {"connection_id":186514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:40:25] local.INFO: Extracted packet for processing {"connection_id":186514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:40:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143959808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789625144000,"timestamp_ms":1789625144000,"timestamp_seconds":1789625144,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf892c0"} 
[2026-09-17 11:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 11:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143959808001,"66":2166,"18":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-17 11:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143959808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:40:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 11:40:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143959808001,"power":2166,"unknown_18":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":186514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:40:26] local.INFO: GPS data processed {"connection_id":186514,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:40:26] local.INFO: Acknowledgment sent {"connection_id":186514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:40:37] local.INFO: TCP Data received {"connection_id":185088,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfcf3d8012cf40ac0070fc3100030016428..."} 
[2026-09-17 11:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfcf3d8012cf40ac0070fc3100030016428..."} 
[2026-09-17 11:40:37] local.INFO: Processing buffer {"connection_id":185088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfcf3d8012cf40ac0070fc3100030016428..."} 
[2026-09-17 11:40:37] local.INFO: Packet analysis {"connection_id":185088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:40:37] local.INFO: Extracted packet for processing {"connection_id":185088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:40:37] local.INFO: GPS Element Parsed {"raw_longitude":754191040,"raw_latitude":118473488,"longitude_deg":75.419104,"latitude_deg":11.8473488,"altitude":48,"angle":356,"satellites":40,"speed":0,"hex_longitude":"2cf40ac0","hex_latitude":"070fc310","is_valid_coordinates":true} 
[2026-09-17 11:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144109312001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752321087668224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861665242126305280,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789625431000,"timestamp_ms":1789625431000,"timestamp_seconds":1789625431,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfcf3d8"} 
[2026-09-17 11:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 11:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144109312001,"66":14363,"216":206,"83":41472,"24":0,"16":32752321087668224,"44":-861665242126305280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144109312001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:40:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752321087668224,"km_value":32752321087668.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861665242126305280,"description":"Unknown IO ID 44"} 
[2026-09-17 11:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144109312001,"power":14363,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861665242126305280}} 
[2026-09-17 11:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":185088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855072,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:40:37] local.INFO: GPS data processed {"connection_id":185088,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:40:37] local.INFO: Acknowledgment sent {"connection_id":185088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:40:47] local.INFO: TCP Data received {"connection_id":185217,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:40:47] local.INFO: Processing buffer {"connection_id":185217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:40:47] local.INFO: IMEI packet received {"connection_id":185217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":185217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:40:53] local.INFO: TCP Data received {"connection_id":185217,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:40:53] local.INFO: Processing buffer {"connection_id":185217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:40:53] local.INFO: IMEI packet received {"connection_id":185217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":185217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:40:54] local.INFO: TCP Data received {"connection_id":185217,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:40:54] local.INFO: Processing buffer {"connection_id":185217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf892c0012d0182c0072b64d80015015924..."} 
[2026-09-17 11:40:54] local.INFO: Packet analysis {"connection_id":185217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:40:54] local.INFO: Extracted packet for processing {"connection_id":185217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf8"} 
[2026-09-17 11:40:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":21,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143959808001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625144000,"timestamp_ms":1789625144000,"timestamp_seconds":1789625144,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf892c0"} 
[2026-09-17 11:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 11:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143959808001,"66":2166,"18":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-17 11:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143959808001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:40:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 11:40:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143959808001,"power":2166,"unknown_18":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":185217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:40:54] local.INFO: GPS data processed {"connection_id":185217,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:40:54] local.INFO: Acknowledgment sent {"connection_id":185217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:40:54] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:40:54] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:40:54] local.INFO: Packet analysis {"connection_id":186516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:40:54] local.INFO: Extracted packet for processing {"connection_id":186516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:40:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":186516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:40:54] local.INFO: GPS data processed {"connection_id":186516,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:40:54] local.INFO: Acknowledgment sent {"connection_id":186516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:40:55] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:55] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:55] local.INFO: IMEI packet received {"connection_id":185218,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":185218,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:40:57] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:57] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:57] local.INFO: IMEI packet received {"connection_id":185218,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":185218,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:40:57] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:57] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:40:57] local.INFO: IMEI packet received {"connection_id":185218,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":185218,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:41:02] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:41:02] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:41:02] local.INFO: IMEI packet received {"connection_id":185218,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":185218,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:41:03] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfcf7c0012cf40ac0070fc3800030015829..."} 
[2026-09-17 11:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfcf7c0012cf40ac0070fc3800030015829..."} 
[2026-09-17 11:41:03] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfcf7c0012cf40ac0070fc3800030015829..."} 
[2026-09-17 11:41:03] local.INFO: Packet analysis {"connection_id":185218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:41:03] local.INFO: Extracted packet for processing {"connection_id":185218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:41:03] local.INFO: GPS Element Parsed {"raw_longitude":754191040,"raw_latitude":118473600,"longitude_deg":75.419104,"latitude_deg":11.84736,"altitude":48,"angle":344,"satellites":41,"speed":2,"hex_longitude":"2cf40ac0","hex_latitude":"070fc380","is_valid_coordinates":true} 
[2026-09-17 11:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144110336001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752325382635520,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861665242126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625432000,"timestamp_ms":1789625432000,"timestamp_seconds":1789625432,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfcf7c0"} 
[2026-09-17 11:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-17 11:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144110336001,"66":14363,"216":206,"83":41472,"24":2,"16":32752325382635520,"44":-861665242126282752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144110336001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:41:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752325382635520,"km_value":32752325382635.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861665242126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 11:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144110336001,"power":14363,"unknown_216":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-861665242126282752}} 
[2026-09-17 11:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":185218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:41:03] local.INFO: GPS data processed {"connection_id":185218,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:41:03] local.INFO: Acknowledgment sent {"connection_id":185218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:41:07] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfcfba8012cf40ac0070fc3b8003001642a..."} 
[2026-09-17 11:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfcfba8012cf40ac0070fc3b8003001642a..."} 
[2026-09-17 11:41:07] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfcfba8012cf40ac0070fc3b8003001642a..."} 
[2026-09-17 11:41:07] local.INFO: Packet analysis {"connection_id":185218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:41:07] local.INFO: Extracted packet for processing {"connection_id":185218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfc"} 
[2026-09-17 11:41:07] local.INFO: GPS Element Parsed {"raw_longitude":754191040,"raw_latitude":118473656,"longitude_deg":75.419104,"latitude_deg":11.8473656,"altitude":48,"angle":356,"satellites":42,"speed":0,"hex_longitude":"2cf40ac0","hex_latitude":"070fc3b8","is_valid_coordinates":true} 
[2026-09-17 11:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144110592001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752329677602816,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861665242126254080,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789625433000,"timestamp_ms":1789625433000,"timestamp_seconds":1789625433,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfcfba8"} 
[2026-09-17 11:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-17 11:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144110592001,"66":14428,"216":206,"83":41472,"24":0,"16":32752329677602816,"44":-861665242126254080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144110592001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:41:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752329677602816,"km_value":32752329677602.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:41:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861665242126254080,"description":"Unknown IO ID 44"} 
[2026-09-17 11:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144110592001,"power":14428,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861665242126254080}} 
[2026-09-17 11:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":185218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855076,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:41:08] local.INFO: GPS data processed {"connection_id":185218,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:41:08] local.INFO: Acknowledgment sent {"connection_id":185218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:41:15] local.INFO: TCP Data received {"connection_id":187826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:41:15] local.INFO: Processing buffer {"connection_id":187826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:41:15] local.INFO: IMEI packet received {"connection_id":187826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":187826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:41:20] local.INFO: TCP Data received {"connection_id":187826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:41:20] local.INFO: Processing buffer {"connection_id":187826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:41:20] local.INFO: IMEI packet received {"connection_id":187826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":187826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:41:21] local.INFO: TCP Data received {"connection_id":187826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:41:21] local.INFO: Processing buffer {"connection_id":187826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:41:21] local.INFO: Packet analysis {"connection_id":187826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:41:21] local.INFO: Extracted packet for processing {"connection_id":187826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:41:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":187826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:41:22] local.INFO: GPS data processed {"connection_id":187826,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:41:22] local.INFO: Acknowledgment sent {"connection_id":187826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:41:25] local.INFO: TCP Data received {"connection_id":185217,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:41:25] local.INFO: Processing buffer {"connection_id":185217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:41:25] local.INFO: Packet analysis {"connection_id":185217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:41:25] local.INFO: Extracted packet for processing {"connection_id":185217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:41:25] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:41:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":185217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:41:25] local.INFO: GPS data processed {"connection_id":185217,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:41:25] local.INFO: Acknowledgment sent {"connection_id":185217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:41:38] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd49c8012cf40ac0070fc3c00030016426..."} 
[2026-09-17 11:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd49c8012cf40ac0070fc3c00030016426..."} 
[2026-09-17 11:41:38] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd49c8012cf40ac0070fc3c00030016426..."} 
[2026-09-17 11:41:38] local.INFO: Packet analysis {"connection_id":185218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:41:38] local.INFO: Extracted packet for processing {"connection_id":185218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":754191040,"raw_latitude":118473664,"longitude_deg":75.419104,"latitude_deg":11.8473664,"altitude":48,"angle":356,"satellites":38,"speed":0,"hex_longitude":"2cf40ac0","hex_latitude":"070fc3c0","is_valid_coordinates":true} 
[2026-09-17 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144110848001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752333972570112,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861665242126239744,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789625453000,"timestamp_ms":1789625453000,"timestamp_seconds":1789625453,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd49c8"} 
[2026-09-17 11:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 11:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144110848001,"66":14439,"216":206,"83":41472,"24":0,"16":32752333972570112,"44":-861665242126239744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144110848001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:41:38] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752333972570112,"km_value":32752333972570.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:41:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861665242126239744,"description":"Unknown IO ID 44"} 
[2026-09-17 11:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144110848001,"power":14439,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861665242126239744}} 
[2026-09-17 11:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":185218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855079,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:41:39] local.INFO: GPS data processed {"connection_id":185218,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:41:39] local.INFO: Acknowledgment sent {"connection_id":185218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:41:52] local.INFO: TCP Data received {"connection_id":187827,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:41:52] local.INFO: Processing buffer {"connection_id":187827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:41:52] local.INFO: IMEI packet received {"connection_id":187827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":187827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:41:53] local.INFO: TCP Data received {"connection_id":187826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:41:53] local.INFO: Processing buffer {"connection_id":187826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:41:53] local.INFO: Packet analysis {"connection_id":187826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:41:53] local.INFO: Extracted packet for processing {"connection_id":187826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":187826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:41:53] local.INFO: GPS data processed {"connection_id":187826,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:41:53] local.INFO: Acknowledgment sent {"connection_id":187826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:41:57] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:41:57] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:41:57] local.INFO: IMEI packet received {"connection_id":186518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":186518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:41:58] local.INFO: TCP Data received {"connection_id":187827,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:41:58] local.INFO: Processing buffer {"connection_id":187827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:41:58] local.INFO: IMEI packet received {"connection_id":187827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":187827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:41:59] local.INFO: TCP Data received {"connection_id":187827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:41:59] local.INFO: Processing buffer {"connection_id":187827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:41:59] local.INFO: Packet analysis {"connection_id":187827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:41:59] local.INFO: Extracted packet for processing {"connection_id":187827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:41:59] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:41:59] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":187827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:41:59] local.INFO: GPS data processed {"connection_id":187827,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:41:59] local.INFO: Acknowledgment sent {"connection_id":187827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:42:02] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:42:02] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:42:02] local.INFO: IMEI packet received {"connection_id":186518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":186518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:42:03] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd5198012cf40ac0070fc3880030015425..."} 
[2026-09-17 11:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd5198012cf40ac0070fc3880030015425..."} 
[2026-09-17 11:42:03] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd5198012cf40ac0070fc3880030015425..."} 
[2026-09-17 11:42:03] local.INFO: Packet analysis {"connection_id":186518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:42:03] local.INFO: Extracted packet for processing {"connection_id":186518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:42:03] local.INFO: GPS Element Parsed {"raw_longitude":754191040,"raw_latitude":118473608,"longitude_deg":75.419104,"latitude_deg":11.8473608,"altitude":48,"angle":340,"satellites":37,"speed":3,"hex_longitude":"2cf40ac0","hex_latitude":"070fc388","is_valid_coordinates":true} 
[2026-09-17 11:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144115968001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752338267537408,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861665242126237696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625455000,"timestamp_ms":1789625455000,"timestamp_seconds":1789625455,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd5198"} 
[2026-09-17 11:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 11:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144115968001,"66":14559,"216":206,"83":41472,"24":3,"16":32752338267537408,"44":-861665242126237696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144115968001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:42:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752338267537408,"km_value":32752338267537.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861665242126237696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144115968001,"power":14559,"unknown_216":206,"unknown_83":41472,"ignition":3,"odometer":null,"unknown_44":-861665242126237696}} 
[2026-09-17 11:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":186518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855082,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:42:03] local.INFO: GPS data processed {"connection_id":186518,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:42:03] local.INFO: Acknowledgment sent {"connection_id":186518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:42:15] local.INFO: TCP Data received {"connection_id":187828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:42:15] local.INFO: Processing buffer {"connection_id":187828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:42:15] local.INFO: IMEI packet received {"connection_id":187828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":187828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:42:20] local.INFO: TCP Data received {"connection_id":187828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:42:20] local.INFO: Processing buffer {"connection_id":187828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:42:20] local.INFO: IMEI packet received {"connection_id":187828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":187828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:42:21] local.INFO: TCP Data received {"connection_id":187828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:42:21] local.INFO: Processing buffer {"connection_id":187828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adf9dec8012d34c14006aa4438000c01012b..."} 
[2026-09-17 11:42:21] local.INFO: Packet analysis {"connection_id":187828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:42:21] local.INFO: Extracted packet for processing {"connection_id":187828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adf9"} 
[2026-09-17 11:42:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458143981568001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789625229000,"timestamp_ms":1789625229000,"timestamp_seconds":1789625229,"priority":1,"record_length":96,"hex_timestamp":"000001a0adf9dec8"} 
[2026-09-17 11:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458143981568001,"66":25430,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458143981568001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:42:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:42:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458143981568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":187828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:42:22] local.INFO: GPS data processed {"connection_id":187828,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:42:22] local.INFO: Acknowledgment sent {"connection_id":187828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:42:31] local.INFO: TCP Data received {"connection_id":187827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:42:31] local.INFO: Processing buffer {"connection_id":187827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:42:31] local.INFO: Packet analysis {"connection_id":187827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:42:31] local.INFO: Extracted packet for processing {"connection_id":187827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:42:31] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:42:31] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:42:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":187827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:42:31] local.INFO: GPS data processed {"connection_id":187827,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:42:31] local.INFO: Acknowledgment sent {"connection_id":187827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:42:34] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:42:34] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:42:34] local.INFO: Packet analysis {"connection_id":186518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:42:34] local.INFO: Extracted packet for processing {"connection_id":186518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:42:34] local.INFO: GPS Element Parsed {"raw_longitude":754190976,"raw_latitude":118473784,"longitude_deg":75.4190976,"latitude_deg":11.8473784,"altitude":47,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2cf40a80","hex_latitude":"070fc438","is_valid_coordinates":true} 
[2026-09-17 11:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144116480001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861665242126252032,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625470000,"timestamp_ms":1789625470000,"timestamp_seconds":1789625470,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd8c30"} 
[2026-09-17 11:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 11:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 11:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144116480001,"66":14396,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861665242126252032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144116480001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:42:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:42:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861665242126252032,"description":"Unknown IO ID 44"} 
[2026-09-17 11:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144116480001,"power":14396,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861665242126252032}} 
[2026-09-17 11:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":186518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855085,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:42:34] local.INFO: GPS data processed {"connection_id":186518,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:42:34] local.INFO: Acknowledgment sent {"connection_id":186518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:42:53] local.INFO: TCP Data received {"connection_id":187828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:42:53] local.INFO: Processing buffer {"connection_id":187828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:42:53] local.INFO: Packet analysis {"connection_id":187828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:42:53] local.INFO: Extracted packet for processing {"connection_id":187828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:42:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":187828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:42:53] local.INFO: GPS data processed {"connection_id":187828,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:42:53] local.INFO: Acknowledgment sent {"connection_id":187828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:42:53] local.INFO: TCP Data received {"connection_id":187829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:42:53] local.INFO: Processing buffer {"connection_id":187829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:42:53] local.INFO: IMEI packet received {"connection_id":187829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":187829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:42:57] local.INFO: TCP Data received {"connection_id":185219,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:42:57] local.INFO: Processing buffer {"connection_id":185219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:42:57] local.INFO: IMEI packet received {"connection_id":185219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":185219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:42:58] local.INFO: TCP Data received {"connection_id":187829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:42:58] local.INFO: Processing buffer {"connection_id":187829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:42:58] local.INFO: IMEI packet received {"connection_id":187829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":187829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:42:59] local.INFO: TCP Data received {"connection_id":187829,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:42:59] local.INFO: Processing buffer {"connection_id":187829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:42:59] local.INFO: Packet analysis {"connection_id":187829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:42:59] local.INFO: Extracted packet for processing {"connection_id":187829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:42:59] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:42:59] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":187829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:42:59] local.INFO: GPS data processed {"connection_id":187829,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:42:59] local.INFO: Acknowledgment sent {"connection_id":187829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:43:02] local.INFO: TCP Data received {"connection_id":185219,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:43:02] local.INFO: Processing buffer {"connection_id":185219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:43:02] local.INFO: IMEI packet received {"connection_id":185219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":185219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:43:03] local.INFO: TCP Data received {"connection_id":185219,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:43:03] local.INFO: Processing buffer {"connection_id":185219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:43:03] local.INFO: Packet analysis {"connection_id":185219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:43:03] local.INFO: Extracted packet for processing {"connection_id":185219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:43:03] local.INFO: GPS Element Parsed {"raw_longitude":754190976,"raw_latitude":118473784,"longitude_deg":75.4190976,"latitude_deg":11.8473784,"altitude":47,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2cf40a80","hex_latitude":"070fc438","is_valid_coordinates":true} 
[2026-09-17 11:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625470000,"timestamp_ms":1789625470000,"timestamp_seconds":1789625470,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd8c30"} 
[2026-09-17 11:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":14396,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:43:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:43:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":14396,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":185219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:43:03] local.INFO: GPS data processed {"connection_id":185219,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:43:03] local.INFO: Acknowledgment sent {"connection_id":185219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:43:04] local.INFO: TCP Data received {"connection_id":187829,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:43:04] local.INFO: Processing buffer {"connection_id":187829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:43:04] local.INFO: Packet analysis {"connection_id":187829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:43:04] local.INFO: Extracted packet for processing {"connection_id":187829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:43:04] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:43:04] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":187829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:43:04] local.INFO: GPS data processed {"connection_id":187829,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:43:04] local.INFO: Acknowledgment sent {"connection_id":187829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:43:15] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:43:15] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:43:15] local.INFO: IMEI packet received {"connection_id":186519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:43:20] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:43:20] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:43:20] local.INFO: IMEI packet received {"connection_id":186519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":186519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:43:21] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:43:21] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:43:21] local.INFO: Packet analysis {"connection_id":186519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:43:21] local.INFO: Extracted packet for processing {"connection_id":186519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:43:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":186519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:43:21] local.INFO: GPS data processed {"connection_id":186519,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:43:21] local.INFO: Acknowledgment sent {"connection_id":186519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:43:34] local.INFO: TCP Data received {"connection_id":185219,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:43:34] local.INFO: Processing buffer {"connection_id":185219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:43:34] local.INFO: Packet analysis {"connection_id":185219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:43:34] local.INFO: Extracted packet for processing {"connection_id":185219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:43:34] local.INFO: GPS Element Parsed {"raw_longitude":754190976,"raw_latitude":118473784,"longitude_deg":75.4190976,"latitude_deg":11.8473784,"altitude":47,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2cf40a80","hex_latitude":"070fc438","is_valid_coordinates":true} 
[2026-09-17 11:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625470000,"timestamp_ms":1789625470000,"timestamp_seconds":1789625470,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd8c30"} 
[2026-09-17 11:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":14396,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:43:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:43:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":14396,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":185219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855091,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:43:34] local.INFO: GPS data processed {"connection_id":185219,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:43:34] local.INFO: Acknowledgment sent {"connection_id":185219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:43:48] local.INFO: TCP Data received {"connection_id":187831,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:43:48] local.INFO: Processing buffer {"connection_id":187831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:43:48] local.INFO: IMEI packet received {"connection_id":187831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":187831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:43:53] local.INFO: TCP Data received {"connection_id":187831,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:43:53] local.INFO: Processing buffer {"connection_id":187831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:43:53] local.INFO: IMEI packet received {"connection_id":187831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":187831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:43:53] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:43:53] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:43:53] local.INFO: Packet analysis {"connection_id":186519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:43:53] local.INFO: Extracted packet for processing {"connection_id":186519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":186519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:43:53] local.INFO: GPS data processed {"connection_id":186519,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:43:53] local.INFO: Acknowledgment sent {"connection_id":186519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:43:54] local.INFO: TCP Data received {"connection_id":187831,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:43:54] local.INFO: Processing buffer {"connection_id":187831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:43:54] local.INFO: Packet analysis {"connection_id":187831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:43:54] local.INFO: Extracted packet for processing {"connection_id":187831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:43:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:43:54] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:43:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":187831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:43:54] local.INFO: GPS data processed {"connection_id":187831,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:43:54] local.INFO: Acknowledgment sent {"connection_id":187831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:43:57] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:43:57] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:43:57] local.INFO: IMEI packet received {"connection_id":186520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":186520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:44:02] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:44:02] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:44:02] local.INFO: IMEI packet received {"connection_id":186520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":186520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:44:03] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:44:03] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:44:03] local.INFO: Packet analysis {"connection_id":186520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:44:03] local.INFO: Extracted packet for processing {"connection_id":186520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:44:03] local.INFO: GPS Element Parsed {"raw_longitude":754190976,"raw_latitude":118473784,"longitude_deg":75.4190976,"latitude_deg":11.8473784,"altitude":47,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2cf40a80","hex_latitude":"070fc438","is_valid_coordinates":true} 
[2026-09-17 11:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625470000,"timestamp_ms":1789625470000,"timestamp_seconds":1789625470,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd8c30"} 
[2026-09-17 11:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":14396,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:44:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":14396,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":186520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855094,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:44:03] local.INFO: GPS data processed {"connection_id":186520,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:44:03] local.INFO: Acknowledgment sent {"connection_id":186520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:44:20] local.INFO: TCP Data received {"connection_id":187832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:44:20] local.INFO: Processing buffer {"connection_id":187832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:44:20] local.INFO: IMEI packet received {"connection_id":187832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":187832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:44:25] local.INFO: TCP Data received {"connection_id":187832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:44:25] local.INFO: Processing buffer {"connection_id":187832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:44:25] local.INFO: IMEI packet received {"connection_id":187832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":187832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:44:26] local.INFO: TCP Data received {"connection_id":187831,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:44:26] local.INFO: Processing buffer {"connection_id":187831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:44:26] local.INFO: Packet analysis {"connection_id":187831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:44:26] local.INFO: Extracted packet for processing {"connection_id":187831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:44:26] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:44:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":187831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:44:26] local.INFO: GPS data processed {"connection_id":187831,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:44:26] local.INFO: Acknowledgment sent {"connection_id":187831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:44:26] local.INFO: TCP Data received {"connection_id":187832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:44:26] local.INFO: Processing buffer {"connection_id":187832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:44:26] local.INFO: Packet analysis {"connection_id":187832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:44:26] local.INFO: Extracted packet for processing {"connection_id":187832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:44:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":187832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:44:26] local.INFO: GPS data processed {"connection_id":187832,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:44:26] local.INFO: Acknowledgment sent {"connection_id":187832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:44:32] local.INFO: TCP Data received {"connection_id":187832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:44:32] local.INFO: Processing buffer {"connection_id":187832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:44:32] local.INFO: Packet analysis {"connection_id":187832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:44:32] local.INFO: Extracted packet for processing {"connection_id":187832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":187832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:44:32] local.INFO: GPS data processed {"connection_id":187832,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:44:32] local.INFO: Acknowledgment sent {"connection_id":187832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:44:34] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:44:34] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:44:34] local.INFO: Packet analysis {"connection_id":186520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:44:34] local.INFO: Extracted packet for processing {"connection_id":186520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:44:34] local.INFO: GPS Element Parsed {"raw_longitude":754190976,"raw_latitude":118473784,"longitude_deg":75.4190976,"latitude_deg":11.8473784,"altitude":47,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2cf40a80","hex_latitude":"070fc438","is_valid_coordinates":true} 
[2026-09-17 11:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625470000,"timestamp_ms":1789625470000,"timestamp_seconds":1789625470,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd8c30"} 
[2026-09-17 11:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":14396,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:44:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":14396,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":186520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855098,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:44:35] local.INFO: GPS data processed {"connection_id":186520,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:44:35] local.INFO: Acknowledgment sent {"connection_id":186520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:44:48] local.INFO: TCP Data received {"connection_id":185090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:44:48] local.INFO: Processing buffer {"connection_id":185090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:44:48] local.INFO: IMEI packet received {"connection_id":185090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":185090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:44:53] local.INFO: TCP Data received {"connection_id":185090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:44:53] local.INFO: Processing buffer {"connection_id":185090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:44:53] local.INFO: IMEI packet received {"connection_id":185090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":185090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:44:54] local.INFO: TCP Data received {"connection_id":185090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:44:54] local.INFO: Processing buffer {"connection_id":185090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:44:54] local.INFO: Packet analysis {"connection_id":185090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:44:54] local.INFO: Extracted packet for processing {"connection_id":185090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:44:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:44:54] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":185090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:44:54] local.INFO: GPS data processed {"connection_id":185090,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:44:54] local.INFO: Acknowledgment sent {"connection_id":185090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:44:57] local.INFO: TCP Data received {"connection_id":185091,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185091,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:44:57] local.INFO: Processing buffer {"connection_id":185091,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:44:57] local.INFO: IMEI packet received {"connection_id":185091,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":185091,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:45:02] local.INFO: TCP Data received {"connection_id":185091,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185091,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:45:02] local.INFO: Processing buffer {"connection_id":185091,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:45:02] local.INFO: IMEI packet received {"connection_id":185091,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":185091,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:45:03] local.INFO: TCP Data received {"connection_id":185091,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:45:03] local.INFO: Processing buffer {"connection_id":185091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:45:03] local.INFO: Packet analysis {"connection_id":185091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:03] local.INFO: Extracted packet for processing {"connection_id":185091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:03] local.INFO: GPS Element Parsed {"raw_longitude":754190976,"raw_latitude":118473784,"longitude_deg":75.4190976,"latitude_deg":11.8473784,"altitude":47,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2cf40a80","hex_latitude":"070fc438","is_valid_coordinates":true} 
[2026-09-17 11:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625470000,"timestamp_ms":1789625470000,"timestamp_seconds":1789625470,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd8c30"} 
[2026-09-17 11:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":14396,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:45:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:45:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":14396,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":185091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855100,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:45:03] local.INFO: GPS data processed {"connection_id":185091,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:45:03] local.INFO: Acknowledgment sent {"connection_id":185091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:45:15] local.INFO: TCP Data received {"connection_id":185221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:45:15] local.INFO: Processing buffer {"connection_id":185221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:45:15] local.INFO: IMEI packet received {"connection_id":185221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":185221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:45:16] local.INFO: TCP Data received {"connection_id":187833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:45:16] local.INFO: Processing buffer {"connection_id":187833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:45:16] local.INFO: IMEI packet received {"connection_id":187833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":187833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:45:20] local.INFO: TCP Data received {"connection_id":187833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:45:21] local.INFO: Processing buffer {"connection_id":187833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:45:21] local.INFO: IMEI packet received {"connection_id":187833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":187833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:45:26] local.INFO: TCP Data received {"connection_id":185090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:45:26] local.INFO: Processing buffer {"connection_id":185090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:45:26] local.INFO: Packet analysis {"connection_id":185090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:26] local.INFO: Extracted packet for processing {"connection_id":185090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:45:26] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":185090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:45:26] local.INFO: GPS data processed {"connection_id":185090,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:45:26] local.INFO: Acknowledgment sent {"connection_id":185090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:45:34] local.INFO: TCP Data received {"connection_id":187833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:45:34] local.INFO: Processing buffer {"connection_id":187833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:45:34] local.INFO: Packet analysis {"connection_id":187833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:45:34] local.INFO: Extracted packet for processing {"connection_id":187833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":187833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:45:34] local.INFO: GPS data processed {"connection_id":187833,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:45:34] local.INFO: Acknowledgment sent {"connection_id":187833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:45:34] local.INFO: TCP Data received {"connection_id":185091,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:45:34] local.INFO: Processing buffer {"connection_id":185091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:45:34] local.INFO: Packet analysis {"connection_id":185091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:34] local.INFO: Extracted packet for processing {"connection_id":185091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:34] local.INFO: GPS Element Parsed {"raw_longitude":754190976,"raw_latitude":118473784,"longitude_deg":75.4190976,"latitude_deg":11.8473784,"altitude":47,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2cf40a80","hex_latitude":"070fc438","is_valid_coordinates":true} 
[2026-09-17 11:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625470000,"timestamp_ms":1789625470000,"timestamp_seconds":1789625470,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd8c30"} 
[2026-09-17 11:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":14396,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:45:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:45:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":14396,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":185091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855103,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:45:34] local.INFO: GPS data processed {"connection_id":185091,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:45:34] local.INFO: Acknowledgment sent {"connection_id":185091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:45:35] local.INFO: TCP Data received {"connection_id":187833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:45:35] local.INFO: Processing buffer {"connection_id":187833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:45:35] local.INFO: Packet analysis {"connection_id":187833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:45:35] local.INFO: Extracted packet for processing {"connection_id":187833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":187833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:45:35] local.INFO: GPS data processed {"connection_id":187833,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:45:35] local.INFO: Acknowledgment sent {"connection_id":187833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:45:50] local.INFO: TCP Data received {"connection_id":185092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:45:50] local.INFO: Processing buffer {"connection_id":185092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:45:50] local.INFO: IMEI packet received {"connection_id":185092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":185092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:45:52] local.INFO: TCP Data received {"connection_id":187834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:45:52] local.INFO: Processing buffer {"connection_id":187834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:45:52] local.INFO: IMEI packet received {"connection_id":187834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":187834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:45:52] local.INFO: TCP Data received {"connection_id":187834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:45:52] local.INFO: Processing buffer {"connection_id":187834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:45:52] local.INFO: IMEI packet received {"connection_id":187834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":187834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:45:53] local.INFO: TCP Data received {"connection_id":187834,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:45:53] local.INFO: Processing buffer {"connection_id":187834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:45:53] local.INFO: Packet analysis {"connection_id":187834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:53] local.INFO: Extracted packet for processing {"connection_id":187834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:45:53] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":187834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:45:53] local.INFO: GPS data processed {"connection_id":187834,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:45:53] local.INFO: Acknowledgment sent {"connection_id":187834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:45:57] local.INFO: TCP Data received {"connection_id":185093,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:45:57] local.INFO: Processing buffer {"connection_id":185093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:45:57] local.INFO: IMEI packet received {"connection_id":185093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":185093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:45:58] local.INFO: TCP Data received {"connection_id":187834,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:45:58] local.INFO: Processing buffer {"connection_id":187834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd2a88012d0182c0072b64d8001e015923..."} 
[2026-09-17 11:45:58] local.INFO: Packet analysis {"connection_id":187834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:58] local.INFO: Extracted packet for processing {"connection_id":187834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:45:58] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144036864001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789625445000,"timestamp_ms":1789625445000,"timestamp_seconds":1789625445,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd2a88"} 
[2026-09-17 11:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144036864001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144036864001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:45:58] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144036864001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":187834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:45:58] local.INFO: GPS data processed {"connection_id":187834,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:45:58] local.INFO: Acknowledgment sent {"connection_id":187834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:46:02] local.INFO: TCP Data received {"connection_id":185093,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:46:02] local.INFO: Processing buffer {"connection_id":185093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:46:02] local.INFO: IMEI packet received {"connection_id":185093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":185093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:46:03] local.INFO: TCP Data received {"connection_id":185093,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:46:03] local.INFO: Processing buffer {"connection_id":185093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfd8c30012cf40a80070fc438002f015b27..."} 
[2026-09-17 11:46:03] local.INFO: Packet analysis {"connection_id":185093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:46:03] local.INFO: Extracted packet for processing {"connection_id":185093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfd"} 
[2026-09-17 11:46:03] local.INFO: GPS Element Parsed {"raw_longitude":754190976,"raw_latitude":118473784,"longitude_deg":75.4190976,"latitude_deg":11.8473784,"altitude":47,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2cf40a80","hex_latitude":"070fc438","is_valid_coordinates":true} 
[2026-09-17 11:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625470000,"timestamp_ms":1789625470000,"timestamp_seconds":1789625470,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfd8c30"} 
[2026-09-17 11:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":14396,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:46:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":14396,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":185093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855107,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:46:03] local.INFO: GPS data processed {"connection_id":185093,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:46:03] local.INFO: Acknowledgment sent {"connection_id":185093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:46:15] local.INFO: TCP Data received {"connection_id":185094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:46:15] local.INFO: Processing buffer {"connection_id":185094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:46:15] local.INFO: IMEI packet received {"connection_id":185094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":185094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:46:20] local.INFO: TCP Data received {"connection_id":185094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:46:20] local.INFO: Processing buffer {"connection_id":185094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:46:20] local.INFO: IMEI packet received {"connection_id":185094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":185094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:46:22] local.INFO: TCP Data received {"connection_id":185094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:46:22] local.INFO: Processing buffer {"connection_id":185094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:46:22] local.INFO: Packet analysis {"connection_id":185094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:46:22] local.INFO: Extracted packet for processing {"connection_id":185094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:46:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:46:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:46:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":185094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:46:22] local.INFO: GPS data processed {"connection_id":185094,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:46:22] local.INFO: Acknowledgment sent {"connection_id":185094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:46:30] local.INFO: TCP Data received {"connection_id":187834,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:46:30] local.INFO: Processing buffer {"connection_id":187834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:46:30] local.INFO: Packet analysis {"connection_id":187834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:46:30] local.INFO: Extracted packet for processing {"connection_id":187834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:46:30] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:46:30] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":187834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:46:31] local.INFO: GPS data processed {"connection_id":187834,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:46:31] local.INFO: Acknowledgment sent {"connection_id":187834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:46:35] local.INFO: TCP Data received {"connection_id":185093,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:46:35] local.INFO: Processing buffer {"connection_id":185093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:46:35] local.INFO: Packet analysis {"connection_id":185093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:46:35] local.INFO: Extracted packet for processing {"connection_id":185093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:46:35] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:46:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":185093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855110,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:46:35] local.INFO: GPS data processed {"connection_id":185093,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:46:35] local.INFO: Acknowledgment sent {"connection_id":185093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:46:53] local.INFO: TCP Data received {"connection_id":185222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:46:53] local.INFO: Processing buffer {"connection_id":185222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:46:53] local.INFO: IMEI packet received {"connection_id":185222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":185222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:46:53] local.INFO: TCP Data received {"connection_id":185094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:46:53] local.INFO: Processing buffer {"connection_id":185094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:46:53] local.INFO: Packet analysis {"connection_id":185094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:46:53] local.INFO: Extracted packet for processing {"connection_id":185094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":185094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:46:53] local.INFO: GPS data processed {"connection_id":185094,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:46:53] local.INFO: Acknowledgment sent {"connection_id":185094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:46:57] local.INFO: TCP Data received {"connection_id":187836,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187836,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:46:57] local.INFO: Processing buffer {"connection_id":187836,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:46:57] local.INFO: IMEI packet received {"connection_id":187836,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":187836,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:46:58] local.INFO: TCP Data received {"connection_id":185222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:46:58] local.INFO: Processing buffer {"connection_id":185222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:46:58] local.INFO: IMEI packet received {"connection_id":185222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":185222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:46:59] local.INFO: TCP Data received {"connection_id":185222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:46:59] local.INFO: Processing buffer {"connection_id":185222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:46:59] local.INFO: Packet analysis {"connection_id":185222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:46:59] local.INFO: Extracted packet for processing {"connection_id":185222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:46:59] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:46:59] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":185222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:46:59] local.INFO: GPS data processed {"connection_id":185222,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:46:59] local.INFO: Acknowledgment sent {"connection_id":185222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:47:02] local.INFO: TCP Data received {"connection_id":187836,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187836,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:47:02] local.INFO: Processing buffer {"connection_id":187836,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:47:02] local.INFO: IMEI packet received {"connection_id":187836,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":187836,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:47:03] local.INFO: TCP Data received {"connection_id":187836,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:47:03] local.INFO: Processing buffer {"connection_id":187836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:47:03] local.INFO: Packet analysis {"connection_id":187836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:47:03] local.INFO: Extracted packet for processing {"connection_id":187836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:47:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:47:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":187836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855113,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:47:03] local.INFO: GPS data processed {"connection_id":187836,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:47:03] local.INFO: Acknowledgment sent {"connection_id":187836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:47:03] local.INFO: TCP Data received {"connection_id":185222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:47:03] local.INFO: Processing buffer {"connection_id":185222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:47:03] local.INFO: Packet analysis {"connection_id":185222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:47:03] local.INFO: Extracted packet for processing {"connection_id":185222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:47:03] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:47:03] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":185222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:47:03] local.INFO: GPS data processed {"connection_id":185222,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:47:03] local.INFO: Acknowledgment sent {"connection_id":185222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:47:15] local.INFO: TCP Data received {"connection_id":187837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:47:15] local.INFO: Processing buffer {"connection_id":187837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:47:15] local.INFO: IMEI packet received {"connection_id":187837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":187837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:47:20] local.INFO: TCP Data received {"connection_id":187837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:47:20] local.INFO: Processing buffer {"connection_id":187837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:47:20] local.INFO: IMEI packet received {"connection_id":187837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":187837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:47:21] local.INFO: TCP Data received {"connection_id":187837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:47:21] local.INFO: Processing buffer {"connection_id":187837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0adfe7690012d34c14006aa4438000c010128..."} 
[2026-09-17 11:47:21] local.INFO: Packet analysis {"connection_id":187837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:47:21] local.INFO: Extracted packet for processing {"connection_id":187837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0adfe"} 
[2026-09-17 11:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144058624001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789625530000,"timestamp_ms":1789625530000,"timestamp_seconds":1789625530,"priority":1,"record_length":96,"hex_timestamp":"000001a0adfe7690"} 
[2026-09-17 11:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 11:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144058624001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144058624001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:47:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144058624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":187837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:47:21] local.INFO: GPS data processed {"connection_id":187837,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:47:21] local.INFO: Acknowledgment sent {"connection_id":187837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:47:34] local.INFO: TCP Data received {"connection_id":187836,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:47:34] local.INFO: Processing buffer {"connection_id":187836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:47:34] local.INFO: Packet analysis {"connection_id":187836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:47:34] local.INFO: Extracted packet for processing {"connection_id":187836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:47:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:47:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:47:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":187836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855116,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:47:34] local.INFO: GPS data processed {"connection_id":187836,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:47:34] local.INFO: Acknowledgment sent {"connection_id":187836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:47:48] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:47:48] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:47:48] local.INFO: IMEI packet received {"connection_id":186521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":186521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:47:53] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:47:53] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:47:53] local.INFO: IMEI packet received {"connection_id":186521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":186521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:47:53] local.INFO: TCP Data received {"connection_id":187837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:47:53] local.INFO: Processing buffer {"connection_id":187837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:47:53] local.INFO: Packet analysis {"connection_id":187837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:47:53] local.INFO: Extracted packet for processing {"connection_id":187837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":187837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:47:53] local.INFO: GPS data processed {"connection_id":187837,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:47:53] local.INFO: Acknowledgment sent {"connection_id":187837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:47:54] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:47:54] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:47:54] local.INFO: Packet analysis {"connection_id":186521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:47:54] local.INFO: Extracted packet for processing {"connection_id":186521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:47:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:47:54] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:47:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":186521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:47:54] local.INFO: GPS data processed {"connection_id":186521,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:47:54] local.INFO: Acknowledgment sent {"connection_id":186521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:47:57] local.INFO: TCP Data received {"connection_id":185095,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185095,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:47:57] local.INFO: Processing buffer {"connection_id":185095,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:47:57] local.INFO: IMEI packet received {"connection_id":185095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":185095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:48:02] local.INFO: TCP Data received {"connection_id":185095,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185095,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:48:02] local.INFO: Processing buffer {"connection_id":185095,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:48:02] local.INFO: IMEI packet received {"connection_id":185095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":185095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:48:03] local.INFO: TCP Data received {"connection_id":185095,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:48:03] local.INFO: Processing buffer {"connection_id":185095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:48:03] local.INFO: Packet analysis {"connection_id":185095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:48:03] local.INFO: Extracted packet for processing {"connection_id":185095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:48:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:48:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:48:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":185095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855119,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:48:03] local.INFO: GPS data processed {"connection_id":185095,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:48:03] local.INFO: Acknowledgment sent {"connection_id":185095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:48:15] local.INFO: TCP Data received {"connection_id":187838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:48:15] local.INFO: Processing buffer {"connection_id":187838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:48:15] local.INFO: IMEI packet received {"connection_id":187838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":187838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:48:20] local.INFO: TCP Data received {"connection_id":187838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:48:20] local.INFO: Processing buffer {"connection_id":187838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:48:20] local.INFO: IMEI packet received {"connection_id":187838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":187838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:48:21] local.INFO: TCP Data received {"connection_id":187838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:48:21] local.INFO: Processing buffer {"connection_id":187838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:48:21] local.INFO: Packet analysis {"connection_id":187838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:48:21] local.INFO: Extracted packet for processing {"connection_id":187838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:48:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":187838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:48:21] local.INFO: GPS data processed {"connection_id":187838,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:48:21] local.INFO: Acknowledgment sent {"connection_id":187838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:48:25] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:48:25] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:48:25] local.INFO: Packet analysis {"connection_id":186521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:48:25] local.INFO: Extracted packet for processing {"connection_id":186521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:48:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:48:25] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:48:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":186521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:48:25] local.INFO: GPS data processed {"connection_id":186521,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:48:25] local.INFO: Acknowledgment sent {"connection_id":186521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:48:34] local.INFO: TCP Data received {"connection_id":185095,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:48:34] local.INFO: Processing buffer {"connection_id":185095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:48:34] local.INFO: Packet analysis {"connection_id":185095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:48:34] local.INFO: Extracted packet for processing {"connection_id":185095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:48:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:48:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:48:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":185095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855122,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:48:35] local.INFO: GPS data processed {"connection_id":185095,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:48:35] local.INFO: Acknowledgment sent {"connection_id":185095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:48:48] local.INFO: TCP Data received {"connection_id":187839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:48:48] local.INFO: Processing buffer {"connection_id":187839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:48:48] local.INFO: IMEI packet received {"connection_id":187839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":187839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:48:53] local.INFO: TCP Data received {"connection_id":187838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:48:53] local.INFO: Processing buffer {"connection_id":187838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:48:53] local.INFO: Packet analysis {"connection_id":187838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:48:53] local.INFO: Extracted packet for processing {"connection_id":187838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":187838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:48:53] local.INFO: GPS data processed {"connection_id":187838,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:48:53] local.INFO: Acknowledgment sent {"connection_id":187838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:48:53] local.INFO: TCP Data received {"connection_id":187839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:48:53] local.INFO: Processing buffer {"connection_id":187839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:48:53] local.INFO: IMEI packet received {"connection_id":187839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":187839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:48:54] local.INFO: TCP Data received {"connection_id":187839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:48:54] local.INFO: Processing buffer {"connection_id":187839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:48:54] local.INFO: Packet analysis {"connection_id":187839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:48:54] local.INFO: Extracted packet for processing {"connection_id":187839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:48:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:48:54] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:48:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":187839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:48:54] local.INFO: GPS data processed {"connection_id":187839,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:48:54] local.INFO: Acknowledgment sent {"connection_id":187839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:48:57] local.INFO: TCP Data received {"connection_id":185096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185096,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:48:57] local.INFO: Processing buffer {"connection_id":185096,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:48:57] local.INFO: IMEI packet received {"connection_id":185096,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":185096,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:49:02] local.INFO: TCP Data received {"connection_id":185096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185096,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:49:02] local.INFO: Processing buffer {"connection_id":185096,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:49:02] local.INFO: IMEI packet received {"connection_id":185096,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":185096,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:49:03] local.INFO: TCP Data received {"connection_id":185096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:49:03] local.INFO: Processing buffer {"connection_id":185096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:49:03] local.INFO: Packet analysis {"connection_id":185096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:49:03] local.INFO: Extracted packet for processing {"connection_id":185096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:49:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:49:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":185096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855125,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:49:03] local.INFO: GPS data processed {"connection_id":185096,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:49:03] local.INFO: Acknowledgment sent {"connection_id":185096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:49:20] local.INFO: TCP Data received {"connection_id":187841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:49:20] local.INFO: Processing buffer {"connection_id":187841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:49:20] local.INFO: IMEI packet received {"connection_id":187841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":187841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:49:26] local.INFO: TCP Data received {"connection_id":187841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:49:26] local.INFO: Processing buffer {"connection_id":187841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:49:26] local.INFO: IMEI packet received {"connection_id":187841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":187841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:49:27] local.INFO: TCP Data received {"connection_id":187839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:49:27] local.INFO: Processing buffer {"connection_id":187839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:49:27] local.INFO: Packet analysis {"connection_id":187839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:49:27] local.INFO: Extracted packet for processing {"connection_id":187839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:49:27] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:49:27] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":187839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:49:27] local.INFO: GPS data processed {"connection_id":187839,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:49:27] local.INFO: Acknowledgment sent {"connection_id":187839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:49:28] local.INFO: TCP Data received {"connection_id":187841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:49:28] local.INFO: Processing buffer {"connection_id":187841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:49:28] local.INFO: Packet analysis {"connection_id":187841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:49:28] local.INFO: Extracted packet for processing {"connection_id":187841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:49:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:49:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:49:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":187841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:49:28] local.INFO: GPS data processed {"connection_id":187841,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:49:28] local.INFO: Acknowledgment sent {"connection_id":187841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:49:33] local.INFO: TCP Data received {"connection_id":187841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:49:33] local.INFO: Processing buffer {"connection_id":187841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:49:33] local.INFO: Packet analysis {"connection_id":187841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:49:33] local.INFO: Extracted packet for processing {"connection_id":187841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:49:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:49:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:49:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":187841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:49:33] local.INFO: GPS data processed {"connection_id":187841,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:49:33] local.INFO: Acknowledgment sent {"connection_id":187841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:49:34] local.INFO: TCP Data received {"connection_id":185096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:49:34] local.INFO: Processing buffer {"connection_id":185096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:49:34] local.INFO: Packet analysis {"connection_id":185096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:49:34] local.INFO: Extracted packet for processing {"connection_id":185096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:49:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:49:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":185096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855129,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:49:35] local.INFO: GPS data processed {"connection_id":185096,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:49:35] local.INFO: Acknowledgment sent {"connection_id":185096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:49:48] local.INFO: TCP Data received {"connection_id":185098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:49:48] local.INFO: Processing buffer {"connection_id":185098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:49:48] local.INFO: IMEI packet received {"connection_id":185098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":185098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:49:53] local.INFO: TCP Data received {"connection_id":185098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:49:53] local.INFO: Processing buffer {"connection_id":185098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:49:53] local.INFO: IMEI packet received {"connection_id":185098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":185098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:49:54] local.INFO: TCP Data received {"connection_id":185098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:49:54] local.INFO: Processing buffer {"connection_id":185098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:49:54] local.INFO: Packet analysis {"connection_id":185098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:49:54] local.INFO: Extracted packet for processing {"connection_id":185098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:49:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:49:54] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:49:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":185098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:49:54] local.INFO: GPS data processed {"connection_id":185098,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:49:54] local.INFO: Acknowledgment sent {"connection_id":185098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:49:57] local.INFO: TCP Data received {"connection_id":187842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187842,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:49:57] local.INFO: Processing buffer {"connection_id":187842,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:49:57] local.INFO: IMEI packet received {"connection_id":187842,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":187842,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:50:02] local.INFO: TCP Data received {"connection_id":187842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187842,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:50:02] local.INFO: Processing buffer {"connection_id":187842,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:50:02] local.INFO: IMEI packet received {"connection_id":187842,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":187842,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:50:03] local.INFO: TCP Data received {"connection_id":187842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:50:03] local.INFO: Processing buffer {"connection_id":187842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:50:03] local.INFO: Packet analysis {"connection_id":187842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:50:03] local.INFO: Extracted packet for processing {"connection_id":187842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:50:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:50:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":187842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:50:03] local.INFO: GPS data processed {"connection_id":187842,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:50:03] local.INFO: Acknowledgment sent {"connection_id":187842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:50:15] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:50:15] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:50:15] local.INFO: IMEI packet received {"connection_id":186523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":186523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:50:20] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:50:20] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:50:20] local.INFO: IMEI packet received {"connection_id":186523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":186523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:50:22] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:50:22] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:50:22] local.INFO: Packet analysis {"connection_id":186523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:50:22] local.INFO: Extracted packet for processing {"connection_id":186523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:50:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":186523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:50:22] local.INFO: GPS data processed {"connection_id":186523,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:50:22] local.INFO: Acknowledgment sent {"connection_id":186523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:50:25] local.INFO: TCP Data received {"connection_id":185098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:50:25] local.INFO: Processing buffer {"connection_id":185098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:50:25] local.INFO: Packet analysis {"connection_id":185098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:50:25] local.INFO: Extracted packet for processing {"connection_id":185098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:50:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:50:25] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":185098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:50:26] local.INFO: GPS data processed {"connection_id":185098,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:50:26] local.INFO: Acknowledgment sent {"connection_id":185098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:50:34] local.INFO: TCP Data received {"connection_id":187842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:50:34] local.INFO: Processing buffer {"connection_id":187842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:50:34] local.INFO: Packet analysis {"connection_id":187842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:50:34] local.INFO: Extracted packet for processing {"connection_id":187842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:50:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:50:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":187842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855134,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:50:34] local.INFO: GPS data processed {"connection_id":187842,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:50:34] local.INFO: Acknowledgment sent {"connection_id":187842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:50:47] local.INFO: TCP Data received {"connection_id":187843,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:50:47] local.INFO: Processing buffer {"connection_id":187843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:50:47] local.INFO: IMEI packet received {"connection_id":187843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 11:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":187843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:50:53] local.INFO: TCP Data received {"connection_id":187843,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:50:53] local.INFO: Processing buffer {"connection_id":187843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 11:50:53] local.INFO: IMEI packet received {"connection_id":187843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 11:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":187843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:50:53] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:50:53] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:50:53] local.INFO: Packet analysis {"connection_id":186523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:50:53] local.INFO: Extracted packet for processing {"connection_id":186523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:50:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":186523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:50:53] local.INFO: GPS data processed {"connection_id":186523,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:50:53] local.INFO: Acknowledgment sent {"connection_id":186523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:50:54] local.INFO: TCP Data received {"connection_id":187843,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:50:54] local.INFO: Processing buffer {"connection_id":187843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:50:54] local.INFO: Packet analysis {"connection_id":187843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:50:54] local.INFO: Extracted packet for processing {"connection_id":187843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:50:54] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:50:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":187843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:50:54] local.INFO: GPS data processed {"connection_id":187843,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:50:54] local.INFO: Acknowledgment sent {"connection_id":187843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:51:02] local.INFO: TCP Data received {"connection_id":185224,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185224,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:51:02] local.INFO: Processing buffer {"connection_id":185224,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:51:02] local.INFO: IMEI packet received {"connection_id":185224,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":185224,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:51:07] local.INFO: TCP Data received {"connection_id":185224,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185224,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:51:07] local.INFO: Processing buffer {"connection_id":185224,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:51:07] local.INFO: IMEI packet received {"connection_id":185224,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":185224,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:51:08] local.INFO: TCP Data received {"connection_id":185224,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:51:08] local.INFO: Processing buffer {"connection_id":185224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:51:08] local.INFO: Packet analysis {"connection_id":185224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:51:08] local.INFO: Extracted packet for processing {"connection_id":185224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:51:08] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:51:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:51:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":185224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855137,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:51:08] local.INFO: GPS data processed {"connection_id":185224,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:51:08] local.INFO: Acknowledgment sent {"connection_id":185224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:51:10] local.INFO: TCP Data received {"connection_id":185223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:51:10] local.INFO: Processing buffer {"connection_id":185223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:51:10] local.INFO: IMEI packet received {"connection_id":185223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":185223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:51:12] local.INFO: TCP Data received {"connection_id":185224,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:51:12] local.INFO: Processing buffer {"connection_id":185224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae023398012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:51:12] local.INFO: Packet analysis {"connection_id":185224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:51:12] local.INFO: Extracted packet for processing {"connection_id":185224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae02"} 
[2026-09-17 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144120320001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861735610870384640,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789625775000,"timestamp_ms":1789625775000,"timestamp_seconds":1789625775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae023398"} 
[2026-09-17 11:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 11:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144120320001,"66":12906,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861735610870384640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144120320001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:51:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861735610870384640,"description":"Unknown IO ID 44"} 
[2026-09-17 11:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144120320001,"power":12906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861735610870384640}} 
[2026-09-17 11:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":185224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855138,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:51:13] local.INFO: GPS data processed {"connection_id":185224,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:51:13] local.INFO: Acknowledgment sent {"connection_id":185224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:51:15] local.INFO: TCP Data received {"connection_id":187844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:51:15] local.INFO: Processing buffer {"connection_id":187844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:51:15] local.INFO: IMEI packet received {"connection_id":187844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":187844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:51:22] local.INFO: TCP Data received {"connection_id":187844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:51:22] local.INFO: Processing buffer {"connection_id":187844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:51:22] local.INFO: IMEI packet received {"connection_id":187844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":187844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:51:24] local.INFO: TCP Data received {"connection_id":187844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:51:24] local.INFO: Processing buffer {"connection_id":187844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:51:24] local.INFO: Packet analysis {"connection_id":187844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:51:24] local.INFO: Extracted packet for processing {"connection_id":187844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":187844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:51:24] local.INFO: GPS data processed {"connection_id":187844,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:51:24] local.INFO: Acknowledgment sent {"connection_id":187844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:51:25] local.INFO: TCP Data received {"connection_id":187843,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:51:25] local.INFO: Processing buffer {"connection_id":187843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae01c250012d0182c0072b64d8001e015926..."} 
[2026-09-17 11:51:25] local.INFO: Packet analysis {"connection_id":187843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:51:25] local.INFO: Extracted packet for processing {"connection_id":187843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae01"} 
[2026-09-17 11:51:25] local.INFO: GPS Element Parsed {"raw_longitude":755073728,"raw_latitude":120284376,"longitude_deg":75.5073728,"latitude_deg":12.0284376,"altitude":30,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d0182c0","hex_latitude":"072b64d8","is_valid_coordinates":true} 
[2026-09-17 11:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144113920001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280102662799360,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":108860478035646464,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789625746000,"timestamp_ms":1789625746000,"timestamp_seconds":1789625746,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae01c250"} 
[2026-09-17 11:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 11:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 11:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 11:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 11:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144113920001,"66":2166,"213":206,"83":44288,"24":0,"16":21280102662799360,"45":108860478035646464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-17 11:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 11:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 11:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144113920001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:51:25] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 11:51:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 11:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280102662799360,"km_value":21280102662799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":108860478035646464,"description":"Unknown IO ID 45"} 
[2026-09-17 11:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144113920001,"power":2166,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":108860478035646464}} 
[2026-09-17 11:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":187843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:51:25] local.INFO: GPS data processed {"connection_id":187843,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:51:25] local.INFO: Acknowledgment sent {"connection_id":187843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:51:50] local.INFO: TCP Data received {"connection_id":186524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:51:50] local.INFO: Processing buffer {"connection_id":186524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:51:50] local.INFO: IMEI packet received {"connection_id":186524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":186524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:51:56] local.INFO: TCP Data received {"connection_id":187844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:51:56] local.INFO: Processing buffer {"connection_id":187844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:51:56] local.INFO: Packet analysis {"connection_id":187844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:51:56] local.INFO: Extracted packet for processing {"connection_id":187844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:51:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:51:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:51:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":187844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:51:56] local.INFO: GPS data processed {"connection_id":187844,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:51:56] local.INFO: Acknowledgment sent {"connection_id":187844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:51:57] local.INFO: TCP Data received {"connection_id":185099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185099,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:51:57] local.INFO: Processing buffer {"connection_id":185099,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:51:57] local.INFO: IMEI packet received {"connection_id":185099,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":185099,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:52:02] local.INFO: TCP Data received {"connection_id":185099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185099,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:52:02] local.INFO: Processing buffer {"connection_id":185099,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:52:02] local.INFO: IMEI packet received {"connection_id":185099,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":185099,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:52:04] local.INFO: TCP Data received {"connection_id":185099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:52:04] local.INFO: Processing buffer {"connection_id":185099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:52:04] local.INFO: Packet analysis {"connection_id":185099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:52:04] local.INFO: Extracted packet for processing {"connection_id":185099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185099,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185099,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:52:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":185099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855142,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:52:04] local.INFO: GPS data processed {"connection_id":185099,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:52:04] local.INFO: Acknowledgment sent {"connection_id":185099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:52:15] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:52:15] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:52:15] local.INFO: IMEI packet received {"connection_id":185225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":185225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:52:20] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:52:20] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:52:20] local.INFO: IMEI packet received {"connection_id":185225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":185225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:52:22] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:52:22] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae030e58012d34c14006aa4438000c010129..."} 
[2026-09-17 11:52:22] local.INFO: Packet analysis {"connection_id":185225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:52:22] local.INFO: Extracted packet for processing {"connection_id":185225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae03"} 
[2026-09-17 11:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144135680001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789625831000,"timestamp_ms":1789625831000,"timestamp_seconds":1789625831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae030e58"} 
[2026-09-17 11:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 11:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144135680001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144135680001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:52:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144135680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":185225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:52:22] local.INFO: GPS data processed {"connection_id":185225,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:52:22] local.INFO: Acknowledgment sent {"connection_id":185225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:52:35] local.INFO: TCP Data received {"connection_id":185099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:52:35] local.INFO: Processing buffer {"connection_id":185099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:52:35] local.INFO: Packet analysis {"connection_id":185099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:52:35] local.INFO: Extracted packet for processing {"connection_id":185099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:52:35] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185099,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185099,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:52:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":185099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855144,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:52:35] local.INFO: GPS data processed {"connection_id":185099,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:52:35] local.INFO: Acknowledgment sent {"connection_id":185099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:52:53] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:52:53] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:52:53] local.INFO: Packet analysis {"connection_id":185225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:52:53] local.INFO: Extracted packet for processing {"connection_id":185225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":185225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:52:53] local.INFO: GPS data processed {"connection_id":185225,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:52:53] local.INFO: Acknowledgment sent {"connection_id":185225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:52:57] local.INFO: TCP Data received {"connection_id":185100,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:52:57] local.INFO: Processing buffer {"connection_id":185100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:52:57] local.INFO: IMEI packet received {"connection_id":185100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":185100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:53:02] local.INFO: TCP Data received {"connection_id":185100,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:53:02] local.INFO: Processing buffer {"connection_id":185100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:53:02] local.INFO: IMEI packet received {"connection_id":185100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":185100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:53:03] local.INFO: TCP Data received {"connection_id":185100,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:53:03] local.INFO: Processing buffer {"connection_id":185100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:53:03] local.INFO: Packet analysis {"connection_id":185100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:53:03] local.INFO: Extracted packet for processing {"connection_id":185100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:53:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:53:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":185100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855146,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:53:03] local.INFO: GPS data processed {"connection_id":185100,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:53:03] local.INFO: Acknowledgment sent {"connection_id":185100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:53:15] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:53:15] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:53:15] local.INFO: IMEI packet received {"connection_id":186526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":186526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:53:20] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:53:20] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:53:20] local.INFO: IMEI packet received {"connection_id":186526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":186526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:53:21] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:53:21] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:53:21] local.INFO: Packet analysis {"connection_id":186526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:53:21] local.INFO: Extracted packet for processing {"connection_id":186526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:53:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":186526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:53:21] local.INFO: GPS data processed {"connection_id":186526,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:53:21] local.INFO: Acknowledgment sent {"connection_id":186526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:53:34] local.INFO: TCP Data received {"connection_id":185100,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:53:34] local.INFO: Processing buffer {"connection_id":185100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:53:34] local.INFO: Packet analysis {"connection_id":185100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:53:34] local.INFO: Extracted packet for processing {"connection_id":185100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:53:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:53:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:53:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":185100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855148,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:53:34] local.INFO: GPS data processed {"connection_id":185100,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:53:34] local.INFO: Acknowledgment sent {"connection_id":185100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:53:56] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:53:56] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:53:56] local.INFO: Packet analysis {"connection_id":186526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:53:56] local.INFO: Extracted packet for processing {"connection_id":186526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:53:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:53:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:53:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":186526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:53:56] local.INFO: GPS data processed {"connection_id":186526,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:53:56] local.INFO: Acknowledgment sent {"connection_id":186526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:53:57] local.INFO: TCP Data received {"connection_id":187846,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:53:57] local.INFO: Processing buffer {"connection_id":187846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:53:57] local.INFO: IMEI packet received {"connection_id":187846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":187846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:54:02] local.INFO: TCP Data received {"connection_id":187846,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:54:02] local.INFO: Processing buffer {"connection_id":187846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:54:02] local.INFO: IMEI packet received {"connection_id":187846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":187846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:54:03] local.INFO: TCP Data received {"connection_id":187846,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:54:03] local.INFO: Processing buffer {"connection_id":187846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:54:03] local.INFO: Packet analysis {"connection_id":187846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:54:03] local.INFO: Extracted packet for processing {"connection_id":187846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:54:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:54:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":187846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855150,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:54:03] local.INFO: GPS data processed {"connection_id":187846,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:54:03] local.INFO: Acknowledgment sent {"connection_id":187846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:54:15] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:54:15] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:54:15] local.INFO: IMEI packet received {"connection_id":186527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":186527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:54:20] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:54:20] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:54:20] local.INFO: IMEI packet received {"connection_id":186527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":186527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:54:22] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:54:22] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:54:22] local.INFO: Packet analysis {"connection_id":186527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:54:22] local.INFO: Extracted packet for processing {"connection_id":186527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:54:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":186527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:54:22] local.INFO: GPS data processed {"connection_id":186527,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:54:22] local.INFO: Acknowledgment sent {"connection_id":186527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:54:34] local.INFO: TCP Data received {"connection_id":187846,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:54:34] local.INFO: Processing buffer {"connection_id":187846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:54:34] local.INFO: Packet analysis {"connection_id":187846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:54:34] local.INFO: Extracted packet for processing {"connection_id":187846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:54:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:54:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:54:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":187846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855152,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:54:34] local.INFO: GPS data processed {"connection_id":187846,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:54:34] local.INFO: Acknowledgment sent {"connection_id":187846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:54:56] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:54:56] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:54:56] local.INFO: Packet analysis {"connection_id":186527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:54:56] local.INFO: Extracted packet for processing {"connection_id":186527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:54:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:54:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":186527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:54:56] local.INFO: GPS data processed {"connection_id":186527,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:54:56] local.INFO: Acknowledgment sent {"connection_id":186527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:54:57] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:54:57] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:54:57] local.INFO: IMEI packet received {"connection_id":186529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":186529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:55:02] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:55:02] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:55:02] local.INFO: IMEI packet received {"connection_id":186529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":186529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:55:03] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:55:03] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:55:03] local.INFO: Packet analysis {"connection_id":186529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:55:03] local.INFO: Extracted packet for processing {"connection_id":186529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:55:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:55:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":186529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855154,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:55:03] local.INFO: GPS data processed {"connection_id":186529,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:55:03] local.INFO: Acknowledgment sent {"connection_id":186529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:55:20] local.INFO: TCP Data received {"connection_id":185226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:55:20] local.INFO: Processing buffer {"connection_id":185226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:55:20] local.INFO: IMEI packet received {"connection_id":185226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":185226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:55:25] local.INFO: TCP Data received {"connection_id":185226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:55:25] local.INFO: Processing buffer {"connection_id":185226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:55:25] local.INFO: IMEI packet received {"connection_id":185226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":185226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:55:27] local.INFO: TCP Data received {"connection_id":185226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:55:27] local.INFO: Processing buffer {"connection_id":185226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:55:27] local.INFO: Packet analysis {"connection_id":185226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:55:27] local.INFO: Extracted packet for processing {"connection_id":185226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:55:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:55:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:55:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":185226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:55:27] local.INFO: GPS data processed {"connection_id":185226,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:55:27] local.INFO: Acknowledgment sent {"connection_id":185226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:55:32] local.INFO: TCP Data received {"connection_id":185226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:55:32] local.INFO: Processing buffer {"connection_id":185226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:55:32] local.INFO: Packet analysis {"connection_id":185226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:55:32] local.INFO: Extracted packet for processing {"connection_id":185226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:55:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:55:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":185226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:55:32] local.INFO: GPS data processed {"connection_id":185226,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:55:32] local.INFO: Acknowledgment sent {"connection_id":185226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:55:34] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:55:34] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:55:34] local.INFO: Packet analysis {"connection_id":186529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:55:34] local.INFO: Extracted packet for processing {"connection_id":186529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:55:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:55:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":186529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:55:34] local.INFO: GPS data processed {"connection_id":186529,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:55:34] local.INFO: Acknowledgment sent {"connection_id":186529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:56:02] local.INFO: TCP Data received {"connection_id":185101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:56:02] local.INFO: Processing buffer {"connection_id":185101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:56:02] local.INFO: IMEI packet received {"connection_id":185101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":185101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:56:07] local.INFO: TCP Data received {"connection_id":185101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:56:07] local.INFO: Processing buffer {"connection_id":185101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:56:07] local.INFO: IMEI packet received {"connection_id":185101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":185101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:56:08] local.INFO: TCP Data received {"connection_id":185101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:56:08] local.INFO: Processing buffer {"connection_id":185101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:56:08] local.INFO: Packet analysis {"connection_id":185101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:56:08] local.INFO: Extracted packet for processing {"connection_id":185101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:56:08] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11: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-09-17 11:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11: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-09-17 11:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:56:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:56:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:56:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":185101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855158,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:56:08] local.INFO: GPS data processed {"connection_id":185101,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:56:08] local.INFO: Acknowledgment sent {"connection_id":185101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:56:12] local.INFO: TCP Data received {"connection_id":185101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:56:12] local.INFO: Processing buffer {"connection_id":185101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae06cb60012cf40b00070fc3f8001a015b23..."} 
[2026-09-17 11:56:12] local.INFO: Packet analysis {"connection_id":185101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:56:12] local.INFO: Extracted packet for processing {"connection_id":185101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae06"} 
[2026-09-17 11:56:12] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":26,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144198400001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789626076000,"timestamp_ms":1789626076000,"timestamp_seconds":1789626076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae06cb60"} 
[2026-09-17 11:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 11:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144198400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144198400001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:56:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144198400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":185101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855159,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:56:13] local.INFO: GPS data processed {"connection_id":185101,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:56:13] local.INFO: Acknowledgment sent {"connection_id":185101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:56:15] local.INFO: TCP Data received {"connection_id":185227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:56:15] local.INFO: Processing buffer {"connection_id":185227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:56:15] local.INFO: IMEI packet received {"connection_id":185227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":185227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:56:21] local.INFO: TCP Data received {"connection_id":185227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:56:21] local.INFO: Processing buffer {"connection_id":185227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:56:21] local.INFO: IMEI packet received {"connection_id":185227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":185227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:56:22] local.INFO: TCP Data received {"connection_id":185227,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:56:22] local.INFO: Processing buffer {"connection_id":185227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:56:22] local.INFO: Packet analysis {"connection_id":185227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:56:22] local.INFO: Extracted packet for processing {"connection_id":185227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:56:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":185227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:56:22] local.INFO: GPS data processed {"connection_id":185227,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:56:22] local.INFO: Acknowledgment sent {"connection_id":185227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:56:56] local.INFO: TCP Data received {"connection_id":185227,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:56:56] local.INFO: Processing buffer {"connection_id":185227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:56:56] local.INFO: Packet analysis {"connection_id":185227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:56:56] local.INFO: Extracted packet for processing {"connection_id":185227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:56:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:56:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:56:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":185227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:56:56] local.INFO: GPS data processed {"connection_id":185227,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:56:56] local.INFO: Acknowledgment sent {"connection_id":185227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:56:57] local.INFO: TCP Data received {"connection_id":185103,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:56:57] local.INFO: Processing buffer {"connection_id":185103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:56:57] local.INFO: IMEI packet received {"connection_id":185103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":185103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:57:02] local.INFO: TCP Data received {"connection_id":185103,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:57:02] local.INFO: Processing buffer {"connection_id":185103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:57:02] local.INFO: IMEI packet received {"connection_id":185103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":185103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:57:03] local.INFO: TCP Data received {"connection_id":185103,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:57:03] local.INFO: Processing buffer {"connection_id":185103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:57:03] local.INFO: Packet analysis {"connection_id":185103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:57:03] local.INFO: Extracted packet for processing {"connection_id":185103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:57:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 11:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 11:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:57:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":185103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855162,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:57:03] local.INFO: GPS data processed {"connection_id":185103,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:57:03] local.INFO: Acknowledgment sent {"connection_id":185103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:57:10] local.INFO: TCP Data received {"connection_id":185102,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:57:10] local.INFO: Processing buffer {"connection_id":185102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:57:10] local.INFO: IMEI packet received {"connection_id":185102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":185102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:57:16] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:57:16] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:57:16] local.INFO: IMEI packet received {"connection_id":185228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":185228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:57:20] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:57:20] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:57:20] local.INFO: IMEI packet received {"connection_id":185228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":185228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:57:21] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:57:21] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:57:21] local.INFO: Packet analysis {"connection_id":185228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:57:21] local.INFO: Extracted packet for processing {"connection_id":185228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:57:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":185228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:57:21] local.INFO: GPS data processed {"connection_id":185228,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:57:21] local.INFO: Acknowledgment sent {"connection_id":185228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:57:29] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:57:29] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae07a620012d34c14006aa4438000c010129..."} 
[2026-09-17 11:57:29] local.INFO: Packet analysis {"connection_id":185228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:57:29] local.INFO: Extracted packet for processing {"connection_id":185228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae07"} 
[2026-09-17 11:57:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144212736001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789626132000,"timestamp_ms":1789626132000,"timestamp_seconds":1789626132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae07a620"} 
[2026-09-17 11:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 11:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144212736001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144212736001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:57:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:57:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144212736001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":185228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:57:29] local.INFO: GPS data processed {"connection_id":185228,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:57:29] local.INFO: Acknowledgment sent {"connection_id":185228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:57:34] local.INFO: TCP Data received {"connection_id":185103,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:57:34] local.INFO: Processing buffer {"connection_id":185103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:57:34] local.INFO: Packet analysis {"connection_id":185103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:57:34] local.INFO: Extracted packet for processing {"connection_id":185103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:57:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 11:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 11:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:57:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:57:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":185103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:57:34] local.INFO: GPS data processed {"connection_id":185103,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:57:34] local.INFO: Acknowledgment sent {"connection_id":185103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:57:50] local.INFO: TCP Data received {"connection_id":187848,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:57:50] local.INFO: Processing buffer {"connection_id":187848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 11:57:50] local.INFO: IMEI packet received {"connection_id":187848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 11:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":187848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:57:57] local.INFO: TCP Data received {"connection_id":187849,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:57:57] local.INFO: Processing buffer {"connection_id":187849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:57:57] local.INFO: IMEI packet received {"connection_id":187849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":187849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:58:01] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:58:01] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:58:01] local.INFO: Packet analysis {"connection_id":185228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:58:01] local.INFO: Extracted packet for processing {"connection_id":185228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 11:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 11:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:58:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:58:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":185228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:58:01] local.INFO: GPS data processed {"connection_id":185228,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:58:01] local.INFO: Acknowledgment sent {"connection_id":185228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:58:02] local.INFO: TCP Data received {"connection_id":187849,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:58:02] local.INFO: Processing buffer {"connection_id":187849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:58:02] local.INFO: IMEI packet received {"connection_id":187849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":187849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:58:03] local.INFO: TCP Data received {"connection_id":187849,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:58:03] local.INFO: Processing buffer {"connection_id":187849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:58:03] local.INFO: Packet analysis {"connection_id":187849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:58:03] local.INFO: Extracted packet for processing {"connection_id":187849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:58:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 11:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 11:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:58:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:58:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":187849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:58:03] local.INFO: GPS data processed {"connection_id":187849,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:58:03] local.INFO: Acknowledgment sent {"connection_id":187849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:58:15] local.INFO: TCP Data received {"connection_id":185229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:58:15] local.INFO: Processing buffer {"connection_id":185229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:58:15] local.INFO: IMEI packet received {"connection_id":185229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":185229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:58:20] local.INFO: TCP Data received {"connection_id":185229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:58:20] local.INFO: Processing buffer {"connection_id":185229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:58:20] local.INFO: IMEI packet received {"connection_id":185229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":185229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:58:21] local.INFO: TCP Data received {"connection_id":185229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:58:21] local.INFO: Processing buffer {"connection_id":185229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:58:21] local.INFO: Packet analysis {"connection_id":185229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:58:21] local.INFO: Extracted packet for processing {"connection_id":185229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 11:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 11:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:58:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":185229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:58:21] local.INFO: GPS data processed {"connection_id":185229,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:58:21] local.INFO: Acknowledgment sent {"connection_id":185229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:58:34] local.INFO: TCP Data received {"connection_id":187849,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:58:34] local.INFO: Processing buffer {"connection_id":187849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:58:34] local.INFO: Packet analysis {"connection_id":187849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:58:34] local.INFO: Extracted packet for processing {"connection_id":187849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:58:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 11:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 11:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:58:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:58:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":187849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855169,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:58:34] local.INFO: GPS data processed {"connection_id":187849,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:58:34] local.INFO: Acknowledgment sent {"connection_id":187849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:58:52] local.INFO: TCP Data received {"connection_id":185229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:58:52] local.INFO: Processing buffer {"connection_id":185229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:58:52] local.INFO: Packet analysis {"connection_id":185229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:58:52] local.INFO: Extracted packet for processing {"connection_id":185229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 11:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 11:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":185229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:58:52] local.INFO: GPS data processed {"connection_id":185229,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:58:52] local.INFO: Acknowledgment sent {"connection_id":185229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:58:57] local.INFO: TCP Data received {"connection_id":185104,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:58:57] local.INFO: Processing buffer {"connection_id":185104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:58:57] local.INFO: IMEI packet received {"connection_id":185104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":185104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:59:02] local.INFO: TCP Data received {"connection_id":185104,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:59:02] local.INFO: Processing buffer {"connection_id":185104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:59:02] local.INFO: IMEI packet received {"connection_id":185104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 11:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":185104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:59:03] local.INFO: TCP Data received {"connection_id":185104,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:59:03] local.INFO: Processing buffer {"connection_id":185104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:59:03] local.INFO: Packet analysis {"connection_id":185104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:59:03] local.INFO: Extracted packet for processing {"connection_id":185104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 11:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 11:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:59:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:59:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":185104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855171,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:59:03] local.INFO: GPS data processed {"connection_id":185104,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:59:03] local.INFO: Acknowledgment sent {"connection_id":185104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:59:15] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:59:15] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:59:15] local.INFO: IMEI packet received {"connection_id":186530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 11:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":186530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 11:59:20] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:59:20] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 11:59:20] local.INFO: IMEI packet received {"connection_id":186530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 11:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":186530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 11:59:21] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:59:21] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:59:21] local.INFO: Packet analysis {"connection_id":186530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:59:21] local.INFO: Extracted packet for processing {"connection_id":186530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 11:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 11:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:59:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:59:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":186530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:59:21] local.INFO: GPS data processed {"connection_id":186530,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:59:21] local.INFO: Acknowledgment sent {"connection_id":186530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:59:39] local.INFO: TCP Data received {"connection_id":185104,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:59:39] local.INFO: Processing buffer {"connection_id":185104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 11:59:39] local.INFO: Packet analysis {"connection_id":185104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:59:39] local.INFO: Extracted packet for processing {"connection_id":185104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 11:59:39] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 11:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 11:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 11:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 11:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 11:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 11:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 11:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 11:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 11:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:59:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 11:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 11:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 11:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 11:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":185104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:59:39] local.INFO: GPS data processed {"connection_id":185104,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:59:39] local.INFO: Acknowledgment sent {"connection_id":185104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:59:53] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:59:53] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 11:59:53] local.INFO: Packet analysis {"connection_id":186530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:59:53] local.INFO: Extracted packet for processing {"connection_id":186530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 11:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 11:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 11:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 11:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 11:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 11:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 11:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 11:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 11:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 11:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 11:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 11:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 11:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 11:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 11:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 11:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 11:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 11:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 11:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 11:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 11:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 11:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 11:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 11:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 11:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 11:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 11:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":186530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 11:59:53] local.INFO: GPS data processed {"connection_id":186530,"processed":1,"errors":0,"total":1} 
[2026-09-17 11:59:53] local.INFO: Acknowledgment sent {"connection_id":186530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 11:59:57] local.INFO: TCP Data received {"connection_id":185106,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:59:57] local.INFO: Processing buffer {"connection_id":185106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 11:59:57] local.INFO: IMEI packet received {"connection_id":185106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 11:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":185106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:00:02] local.INFO: TCP Data received {"connection_id":185106,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:00:02] local.INFO: Processing buffer {"connection_id":185106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:00:02] local.INFO: IMEI packet received {"connection_id":185106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":185106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:00:03] local.INFO: TCP Data received {"connection_id":185106,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:00:03] local.INFO: Processing buffer {"connection_id":185106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:00:03] local.INFO: Packet analysis {"connection_id":185106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 12:00:03] local.INFO: Extracted packet for processing {"connection_id":185106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 12:00:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 12:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 12:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:00:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:00:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":185106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855175,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:00:03] local.INFO: GPS data processed {"connection_id":185106,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:00:03] local.INFO: Acknowledgment sent {"connection_id":185106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:00:15] local.INFO: TCP Data received {"connection_id":187851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:00:15] local.INFO: Processing buffer {"connection_id":187851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:00:15] local.INFO: IMEI packet received {"connection_id":187851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":187851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:00:20] local.INFO: TCP Data received {"connection_id":187851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:00:20] local.INFO: Processing buffer {"connection_id":187851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:00:20] local.INFO: IMEI packet received {"connection_id":187851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":187851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:00:21] local.INFO: TCP Data received {"connection_id":187851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:00:21] local.INFO: Processing buffer {"connection_id":187851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:00:21] local.INFO: Packet analysis {"connection_id":187851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:00:21] local.INFO: Extracted packet for processing {"connection_id":187851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 12:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:00:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":187851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:00:21] local.INFO: GPS data processed {"connection_id":187851,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:00:21] local.INFO: Acknowledgment sent {"connection_id":187851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:00:34] local.INFO: TCP Data received {"connection_id":185106,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:00:34] local.INFO: Processing buffer {"connection_id":185106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:00:34] local.INFO: Packet analysis {"connection_id":185106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 12:00:34] local.INFO: Extracted packet for processing {"connection_id":185106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 12:00:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 12:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 12:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:00:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":185106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855177,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:00:34] local.INFO: GPS data processed {"connection_id":185106,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:00:34] local.INFO: Acknowledgment sent {"connection_id":185106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:00:53] local.INFO: TCP Data received {"connection_id":187851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:00:53] local.INFO: Processing buffer {"connection_id":187851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:00:53] local.INFO: Packet analysis {"connection_id":187851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:00:53] local.INFO: Extracted packet for processing {"connection_id":187851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 12:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":187851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:00:53] local.INFO: GPS data processed {"connection_id":187851,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:00:53] local.INFO: Acknowledgment sent {"connection_id":187851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:01:02] local.INFO: TCP Data received {"connection_id":187852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187852,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:01:02] local.INFO: Processing buffer {"connection_id":187852,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:01:02] local.INFO: IMEI packet received {"connection_id":187852,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":187852,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:01:07] local.INFO: TCP Data received {"connection_id":187852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187852,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:01:07] local.INFO: Processing buffer {"connection_id":187852,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:01:07] local.INFO: IMEI packet received {"connection_id":187852,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":187852,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:01:08] local.INFO: TCP Data received {"connection_id":187852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:01:08] local.INFO: Processing buffer {"connection_id":187852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:01:08] local.INFO: Packet analysis {"connection_id":187852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 12:01:08] local.INFO: Extracted packet for processing {"connection_id":187852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 12:01:08] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 12:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 12:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187852,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187852,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:01:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:01:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":187852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855179,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:01:08] local.INFO: GPS data processed {"connection_id":187852,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:01:08] local.INFO: Acknowledgment sent {"connection_id":187852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:01:12] local.INFO: TCP Data received {"connection_id":187852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:01:12] local.INFO: Processing buffer {"connection_id":187852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0b6328012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:01:12] local.INFO: Packet analysis {"connection_id":187852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 12:01:12] local.INFO: Extracted packet for processing {"connection_id":187852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0b"} 
[2026-09-17 12:01:12] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144275456001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789626377000,"timestamp_ms":1789626377000,"timestamp_seconds":1789626377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0b6328"} 
[2026-09-17 12:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 12:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187852,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187852,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144275456001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144275456001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:01:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144275456001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":187852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855180,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:01:13] local.INFO: GPS data processed {"connection_id":187852,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:01:13] local.INFO: Acknowledgment sent {"connection_id":187852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:01:15] local.INFO: TCP Data received {"connection_id":187853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:01:15] local.INFO: Processing buffer {"connection_id":187853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:01:15] local.INFO: IMEI packet received {"connection_id":187853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":187853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:01:20] local.INFO: TCP Data received {"connection_id":187853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:01:20] local.INFO: Processing buffer {"connection_id":187853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:01:20] local.INFO: IMEI packet received {"connection_id":187853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":187853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:01:22] local.INFO: TCP Data received {"connection_id":187853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:01:22] local.INFO: Processing buffer {"connection_id":187853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:01:22] local.INFO: Packet analysis {"connection_id":187853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:01:22] local.INFO: Extracted packet for processing {"connection_id":187853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:01:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 12:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:01:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:01:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":187853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:01:22] local.INFO: GPS data processed {"connection_id":187853,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:01:22] local.INFO: Acknowledgment sent {"connection_id":187853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:01:55] local.INFO: TCP Data received {"connection_id":187853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:01:55] local.INFO: Processing buffer {"connection_id":187853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:01:55] local.INFO: Packet analysis {"connection_id":187853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:01:55] local.INFO: Extracted packet for processing {"connection_id":187853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 12:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:01:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:01:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":187853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:01:55] local.INFO: GPS data processed {"connection_id":187853,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:01:55] local.INFO: Acknowledgment sent {"connection_id":187853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:01:57] local.INFO: TCP Data received {"connection_id":185108,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:01:57] local.INFO: Processing buffer {"connection_id":185108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:01:57] local.INFO: IMEI packet received {"connection_id":185108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":185108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:02:02] local.INFO: TCP Data received {"connection_id":185108,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:02:02] local.INFO: Processing buffer {"connection_id":185108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:02:02] local.INFO: IMEI packet received {"connection_id":185108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":185108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:02:03] local.INFO: TCP Data received {"connection_id":185108,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:02:03] local.INFO: Processing buffer {"connection_id":185108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:02:03] local.INFO: Packet analysis {"connection_id":185108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:02:03] local.INFO: Extracted packet for processing {"connection_id":185108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:02:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144352512001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626678000,"timestamp_ms":1789626678000,"timestamp_seconds":1789626678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0ffaf0"} 
[2026-09-17 12:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144352512001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144352512001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:02:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144352512001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":185108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855183,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:02:03] local.INFO: GPS data processed {"connection_id":185108,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:02:03] local.INFO: Acknowledgment sent {"connection_id":185108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:02:15] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:02:15] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:02:15] local.INFO: IMEI packet received {"connection_id":186532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":186532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:02:20] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:02:20] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:02:20] local.INFO: IMEI packet received {"connection_id":186532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":186532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:02:21] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:02:21] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:02:21] local.INFO: Packet analysis {"connection_id":186532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:02:21] local.INFO: Extracted packet for processing {"connection_id":186532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 12:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:02:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":186532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:02:21] local.INFO: GPS data processed {"connection_id":186532,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:02:21] local.INFO: Acknowledgment sent {"connection_id":186532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:02:34] local.INFO: TCP Data received {"connection_id":185108,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:02:34] local.INFO: Processing buffer {"connection_id":185108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:02:34] local.INFO: Packet analysis {"connection_id":185108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:02:34] local.INFO: Extracted packet for processing {"connection_id":185108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:02:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144352512001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626678000,"timestamp_ms":1789626678000,"timestamp_seconds":1789626678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0ffaf0"} 
[2026-09-17 12:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144352512001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144352512001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:02:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:02:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144352512001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":185108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:02:34] local.INFO: GPS data processed {"connection_id":185108,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:02:34] local.INFO: Acknowledgment sent {"connection_id":185108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:02:52] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:02:52] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0c3de8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:02:52] local.INFO: Packet analysis {"connection_id":186532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:02:52] local.INFO: Extracted packet for processing {"connection_id":186532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0c"} 
[2026-09-17 12:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144289792001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789626433000,"timestamp_ms":1789626433000,"timestamp_seconds":1789626433,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0c3de8"} 
[2026-09-17 12:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144289792001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144289792001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:02:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144289792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":186532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:02:52] local.INFO: GPS data processed {"connection_id":186532,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:02:52] local.INFO: Acknowledgment sent {"connection_id":186532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:02:57] local.INFO: TCP Data received {"connection_id":185230,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:02:57] local.INFO: Processing buffer {"connection_id":185230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:02:57] local.INFO: IMEI packet received {"connection_id":185230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":185230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:03:02] local.INFO: TCP Data received {"connection_id":185230,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:03:02] local.INFO: Processing buffer {"connection_id":185230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:03:02] local.INFO: IMEI packet received {"connection_id":185230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":185230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:03:03] local.INFO: TCP Data received {"connection_id":185230,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:03:03] local.INFO: Processing buffer {"connection_id":185230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:03:03] local.INFO: Packet analysis {"connection_id":185230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:03:03] local.INFO: Extracted packet for processing {"connection_id":185230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:03:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144352512001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626678000,"timestamp_ms":1789626678000,"timestamp_seconds":1789626678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0ffaf0"} 
[2026-09-17 12:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144352512001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144352512001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:03:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:03:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144352512001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":185230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855187,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:03:03] local.INFO: GPS data processed {"connection_id":185230,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:03:03] local.INFO: Acknowledgment sent {"connection_id":185230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:03:10] local.INFO: TCP Data received {"connection_id":186533,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:03:10] local.INFO: Processing buffer {"connection_id":186533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:03:10] local.INFO: IMEI packet received {"connection_id":186533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":186533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:03:20] local.INFO: TCP Data received {"connection_id":185109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:03:20] local.INFO: Processing buffer {"connection_id":185109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:03:20] local.INFO: IMEI packet received {"connection_id":185109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":185109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:03:25] local.INFO: TCP Data received {"connection_id":185109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:03:25] local.INFO: Processing buffer {"connection_id":185109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:03:25] local.INFO: IMEI packet received {"connection_id":185109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":185109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:03:26] local.INFO: TCP Data received {"connection_id":185109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:03:26] local.INFO: Processing buffer {"connection_id":185109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:03:26] local.INFO: Packet analysis {"connection_id":185109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:03:26] local.INFO: Extracted packet for processing {"connection_id":185109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:03:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:03:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:03:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":185109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:03:26] local.INFO: GPS data processed {"connection_id":185109,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:03:26] local.INFO: Acknowledgment sent {"connection_id":185109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:03:34] local.INFO: TCP Data received {"connection_id":185230,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:03:34] local.INFO: Processing buffer {"connection_id":185230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:03:34] local.INFO: Packet analysis {"connection_id":185230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:03:34] local.INFO: Extracted packet for processing {"connection_id":185230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:03:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144352512001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626678000,"timestamp_ms":1789626678000,"timestamp_seconds":1789626678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0ffaf0"} 
[2026-09-17 12:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144352512001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144352512001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:03:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:03:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144352512001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":185230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:03:34] local.INFO: GPS data processed {"connection_id":185230,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:03:34] local.INFO: Acknowledgment sent {"connection_id":185230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:03:55] local.INFO: TCP Data received {"connection_id":187854,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:03:55] local.INFO: Processing buffer {"connection_id":187854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:03:55] local.INFO: IMEI packet received {"connection_id":187854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":187854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:03:57] local.INFO: TCP Data received {"connection_id":187855,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:03:57] local.INFO: Processing buffer {"connection_id":187855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:03:57] local.INFO: IMEI packet received {"connection_id":187855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":187855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:03:58] local.INFO: TCP Data received {"connection_id":185109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:03:58] local.INFO: Processing buffer {"connection_id":185109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:03:58] local.INFO: Packet analysis {"connection_id":185109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:03:58] local.INFO: Extracted packet for processing {"connection_id":185109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:03:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:03:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":185109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:03:58] local.INFO: GPS data processed {"connection_id":185109,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:03:58] local.INFO: Acknowledgment sent {"connection_id":185109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:04:02] local.INFO: TCP Data received {"connection_id":187855,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:04:02] local.INFO: Processing buffer {"connection_id":187855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:04:02] local.INFO: IMEI packet received {"connection_id":187855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":187855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:04:03] local.INFO: TCP Data received {"connection_id":187855,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:04:03] local.INFO: Processing buffer {"connection_id":187855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:04:03] local.INFO: Packet analysis {"connection_id":187855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:04:03] local.INFO: Extracted packet for processing {"connection_id":187855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144352512001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626678000,"timestamp_ms":1789626678000,"timestamp_seconds":1789626678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0ffaf0"} 
[2026-09-17 12:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144352512001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144352512001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:04:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144352512001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":187855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855191,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:04:03] local.INFO: GPS data processed {"connection_id":187855,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:04:03] local.INFO: Acknowledgment sent {"connection_id":187855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:04:15] local.INFO: TCP Data received {"connection_id":185110,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:04:15] local.INFO: Processing buffer {"connection_id":185110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:04:15] local.INFO: IMEI packet received {"connection_id":185110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":185110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:04:20] local.INFO: TCP Data received {"connection_id":185110,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:04:20] local.INFO: Processing buffer {"connection_id":185110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:04:20] local.INFO: IMEI packet received {"connection_id":185110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":185110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:04:22] local.INFO: TCP Data received {"connection_id":185110,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:04:22] local.INFO: Processing buffer {"connection_id":185110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:04:22] local.INFO: Packet analysis {"connection_id":185110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:04:22] local.INFO: Extracted packet for processing {"connection_id":185110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:04:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":185110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:04:22] local.INFO: GPS data processed {"connection_id":185110,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:04:22] local.INFO: Acknowledgment sent {"connection_id":185110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:04:34] local.INFO: TCP Data received {"connection_id":187855,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:04:34] local.INFO: Processing buffer {"connection_id":187855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:04:34] local.INFO: Packet analysis {"connection_id":187855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:04:34] local.INFO: Extracted packet for processing {"connection_id":187855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:04:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144352512001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626678000,"timestamp_ms":1789626678000,"timestamp_seconds":1789626678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0ffaf0"} 
[2026-09-17 12:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144352512001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144352512001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:04:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:04:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144352512001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":187855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:04:34] local.INFO: GPS data processed {"connection_id":187855,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:04:34] local.INFO: Acknowledgment sent {"connection_id":187855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:04:54] local.INFO: TCP Data received {"connection_id":185110,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:04:54] local.INFO: Processing buffer {"connection_id":185110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:04:54] local.INFO: Packet analysis {"connection_id":185110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:04:54] local.INFO: Extracted packet for processing {"connection_id":185110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":185110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:04:54] local.INFO: GPS data processed {"connection_id":185110,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:04:54] local.INFO: Acknowledgment sent {"connection_id":185110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:05:01] local.INFO: TCP Data received {"connection_id":187857,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187857,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 12:05:01] local.INFO: Processing buffer {"connection_id":187857,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 12:05:01] local.INFO: Packet analysis {"connection_id":187857,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 12:05:01] local.INFO: Extracted packet for processing {"connection_id":187857,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 12:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:01] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 12:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 12:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 12:05:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":187857,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 12:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":187857,"device_imei":null,"avl_records_count":1} 
[2026-09-17 12:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":187857,"device_imei":null,"avl_records_count":1} 
[2026-09-17 12:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":187857,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 12:05:01] local.INFO: GPS data processed {"connection_id":187857,"processed":0,"errors":0,"total":1} 
[2026-09-17 12:05:01] local.INFO: Acknowledgment sent {"connection_id":187857,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:05:01] local.INFO: TCP Data received {"connection_id":187858,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187858,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 12:05:01] local.INFO: Processing buffer {"connection_id":187858,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 12:05:01] local.INFO: Packet analysis {"connection_id":187858,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 12:05:01] local.INFO: Extracted packet for processing {"connection_id":187858,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 12:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:01] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 12:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 12:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 12:05:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":187858,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 12:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":187858,"device_imei":null,"avl_records_count":1} 
[2026-09-17 12:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":187858,"device_imei":null,"avl_records_count":1} 
[2026-09-17 12:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":187858,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 12:05:01] local.INFO: GPS data processed {"connection_id":187858,"processed":0,"errors":0,"total":1} 
[2026-09-17 12:05:01] local.INFO: Acknowledgment sent {"connection_id":187858,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:05:02] local.INFO: TCP Data received {"connection_id":187856,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187856,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:05:02] local.INFO: Processing buffer {"connection_id":187856,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:05:02] local.INFO: IMEI packet received {"connection_id":187856,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":187856,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:05:07] local.INFO: TCP Data received {"connection_id":187856,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187856,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:05:07] local.INFO: Processing buffer {"connection_id":187856,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:05:07] local.INFO: IMEI packet received {"connection_id":187856,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":187856,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:05:08] local.INFO: TCP Data received {"connection_id":187856,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:05:08] local.INFO: Processing buffer {"connection_id":187856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:05:08] local.INFO: Packet analysis {"connection_id":187856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:05:08] local.INFO: Extracted packet for processing {"connection_id":187856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:05:08] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144352512001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789626678000,"timestamp_ms":1789626678000,"timestamp_seconds":1789626678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0ffaf0"} 
[2026-09-17 12:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187856,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187856,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144352512001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144352512001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:05:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:05:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144352512001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":187856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855195,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:05:08] local.INFO: GPS data processed {"connection_id":187856,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:05:08] local.INFO: Acknowledgment sent {"connection_id":187856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:05:12] local.INFO: TCP Data received {"connection_id":187856,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:05:12] local.INFO: Processing buffer {"connection_id":187856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:05:12] local.INFO: Packet analysis {"connection_id":187856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:05:12] local.INFO: Extracted packet for processing {"connection_id":187856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:05:12] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:05: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-09-17 12:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144352512001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789626678000,"timestamp_ms":1789626678000,"timestamp_seconds":1789626678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0ffaf0"} 
[2026-09-17 12:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:05: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-09-17 12:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187856,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187856,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144352512001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144352512001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:05:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144352512001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":187856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:05:13] local.INFO: GPS data processed {"connection_id":187856,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:05:13] local.INFO: Acknowledgment sent {"connection_id":187856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:05:15] local.INFO: TCP Data received {"connection_id":187859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:05:15] local.INFO: Processing buffer {"connection_id":187859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:05:15] local.INFO: IMEI packet received {"connection_id":187859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":187859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:05:21] local.INFO: TCP Data received {"connection_id":187859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:05:21] local.INFO: Processing buffer {"connection_id":187859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:05:21] local.INFO: IMEI packet received {"connection_id":187859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":187859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:05:22] local.INFO: TCP Data received {"connection_id":187859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:05:22] local.INFO: Processing buffer {"connection_id":187859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:05:22] local.INFO: Packet analysis {"connection_id":187859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:05:22] local.INFO: Extracted packet for processing {"connection_id":187859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:05:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":187859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:05:22] local.INFO: GPS data processed {"connection_id":187859,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:05:22] local.INFO: Acknowledgment sent {"connection_id":187859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:05:54] local.INFO: TCP Data received {"connection_id":187859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:05:54] local.INFO: Processing buffer {"connection_id":187859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:05:54] local.INFO: Packet analysis {"connection_id":187859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:05:54] local.INFO: Extracted packet for processing {"connection_id":187859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":187859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:05:54] local.INFO: GPS data processed {"connection_id":187859,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:05:54] local.INFO: Acknowledgment sent {"connection_id":187859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:05:57] local.INFO: TCP Data received {"connection_id":186536,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:05:57] local.INFO: Processing buffer {"connection_id":186536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:05:57] local.INFO: IMEI packet received {"connection_id":186536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":186536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:06:02] local.INFO: TCP Data received {"connection_id":186536,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:06:02] local.INFO: Processing buffer {"connection_id":186536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:06:02] local.INFO: IMEI packet received {"connection_id":186536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":186536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:06:03] local.INFO: TCP Data received {"connection_id":186536,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:06:03] local.INFO: Processing buffer {"connection_id":186536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae0ffaf0012cf40b00070fc3f8000f015b22..."} 
[2026-09-17 12:06:03] local.INFO: Packet analysis {"connection_id":186536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:06:03] local.INFO: Extracted packet for processing {"connection_id":186536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae0f"} 
[2026-09-17 12:06:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":15,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144352512001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626678000,"timestamp_ms":1789626678000,"timestamp_seconds":1789626678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae0ffaf0"} 
[2026-09-17 12:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144352512001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144352512001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:06:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144352512001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":186536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855199,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:06:03] local.INFO: GPS data processed {"connection_id":186536,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:06:03] local.INFO: Acknowledgment sent {"connection_id":186536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:06:20] local.INFO: TCP Data received {"connection_id":186537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:06:20] local.INFO: Processing buffer {"connection_id":186537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:06:20] local.INFO: IMEI packet received {"connection_id":186537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":186537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:06:25] local.INFO: TCP Data received {"connection_id":186537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:06:25] local.INFO: Processing buffer {"connection_id":186537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:06:25] local.INFO: IMEI packet received {"connection_id":186537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":186537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:06:26] local.INFO: TCP Data received {"connection_id":186537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:06:26] local.INFO: Processing buffer {"connection_id":186537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:06:26] local.INFO: Packet analysis {"connection_id":186537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:06:26] local.INFO: Extracted packet for processing {"connection_id":186537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:06:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:06:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":186537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:06:26] local.INFO: GPS data processed {"connection_id":186537,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:06:26] local.INFO: Acknowledgment sent {"connection_id":186537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:06:31] local.INFO: TCP Data received {"connection_id":186537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:06:31] local.INFO: Processing buffer {"connection_id":186537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:06:31] local.INFO: Packet analysis {"connection_id":186537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:06:31] local.INFO: Extracted packet for processing {"connection_id":186537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":186537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:06:31] local.INFO: GPS data processed {"connection_id":186537,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:06:31] local.INFO: Acknowledgment sent {"connection_id":186537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:06:34] local.INFO: TCP Data received {"connection_id":186536,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:06:34] local.INFO: Processing buffer {"connection_id":186536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:06:34] local.INFO: Packet analysis {"connection_id":186536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:06:34] local.INFO: Extracted packet for processing {"connection_id":186536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:06:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":47,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144429568001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626979000,"timestamp_ms":1789626979000,"timestamp_seconds":1789626979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1492b8"} 
[2026-09-17 12:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144429568001,"66":12809,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144429568001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:06:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144429568001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":186536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855202,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:06:34] local.INFO: GPS data processed {"connection_id":186536,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:06:34] local.INFO: Acknowledgment sent {"connection_id":186536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:06:36] local.INFO: TCP Data received {"connection_id":186537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:06:36] local.INFO: Processing buffer {"connection_id":186537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:06:36] local.INFO: Packet analysis {"connection_id":186537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:06:36] local.INFO: Extracted packet for processing {"connection_id":186537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":186537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:06:36] local.INFO: GPS data processed {"connection_id":186537,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:06:36] local.INFO: Acknowledgment sent {"connection_id":186537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:06:57] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:06:57] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:06:57] local.INFO: IMEI packet received {"connection_id":186538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":186538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:07:02] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:07:02] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:07:02] local.INFO: IMEI packet received {"connection_id":186538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":186538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:07:03] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:07:03] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:07:03] local.INFO: Packet analysis {"connection_id":186538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:07:03] local.INFO: Extracted packet for processing {"connection_id":186538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:07:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":47,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144429568001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626979000,"timestamp_ms":1789626979000,"timestamp_seconds":1789626979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1492b8"} 
[2026-09-17 12:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144429568001,"66":12809,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144429568001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:07:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144429568001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":186538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:07:03] local.INFO: GPS data processed {"connection_id":186538,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:07:03] local.INFO: Acknowledgment sent {"connection_id":186538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:07:15] local.INFO: TCP Data received {"connection_id":186539,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:07:15] local.INFO: Processing buffer {"connection_id":186539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:07:15] local.INFO: IMEI packet received {"connection_id":186539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":186539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:07:20] local.INFO: TCP Data received {"connection_id":186539,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:07:20] local.INFO: Processing buffer {"connection_id":186539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:07:20] local.INFO: IMEI packet received {"connection_id":186539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":186539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:07:21] local.INFO: TCP Data received {"connection_id":186539,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:07:21] local.INFO: Processing buffer {"connection_id":186539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:07:21] local.INFO: Packet analysis {"connection_id":186539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:07:21] local.INFO: Extracted packet for processing {"connection_id":186539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:07:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":186539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:07:21] local.INFO: GPS data processed {"connection_id":186539,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:07:21] local.INFO: Acknowledgment sent {"connection_id":186539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:07:34] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:07:34] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:07:34] local.INFO: Packet analysis {"connection_id":186538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:07:34] local.INFO: Extracted packet for processing {"connection_id":186538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:07:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":47,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144429568001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626979000,"timestamp_ms":1789626979000,"timestamp_seconds":1789626979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1492b8"} 
[2026-09-17 12:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144429568001,"66":12809,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144429568001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:07:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:07:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144429568001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":186538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855206,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:07:34] local.INFO: GPS data processed {"connection_id":186538,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:07:34] local.INFO: Acknowledgment sent {"connection_id":186538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:07:53] local.INFO: TCP Data received {"connection_id":186539,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:07:53] local.INFO: Processing buffer {"connection_id":186539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae10d5b0012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:07:53] local.INFO: Packet analysis {"connection_id":186539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:07:53] local.INFO: Extracted packet for processing {"connection_id":186539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae10"} 
[2026-09-17 12:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144366848001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789626734000,"timestamp_ms":1789626734000,"timestamp_seconds":1789626734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae10d5b0"} 
[2026-09-17 12:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144366848001,"66":25462,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144366848001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144366848001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":186539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:07:53] local.INFO: GPS data processed {"connection_id":186539,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:07:53] local.INFO: Acknowledgment sent {"connection_id":186539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:07:57] local.INFO: TCP Data received {"connection_id":185231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:07:57] local.INFO: Processing buffer {"connection_id":185231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:07:57] local.INFO: IMEI packet received {"connection_id":185231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":185231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:08:02] local.INFO: TCP Data received {"connection_id":185231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:08:02] local.INFO: Processing buffer {"connection_id":185231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:08:02] local.INFO: IMEI packet received {"connection_id":185231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":185231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:08:03] local.INFO: TCP Data received {"connection_id":185231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:08:03] local.INFO: Processing buffer {"connection_id":185231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:08:03] local.INFO: Packet analysis {"connection_id":185231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:08:03] local.INFO: Extracted packet for processing {"connection_id":185231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:08:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":47,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144429568001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626979000,"timestamp_ms":1789626979000,"timestamp_seconds":1789626979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1492b8"} 
[2026-09-17 12:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144429568001,"66":12809,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144429568001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:08:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:08:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144429568001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":185231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855208,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:08:03] local.INFO: GPS data processed {"connection_id":185231,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:08:03] local.INFO: Acknowledgment sent {"connection_id":185231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:08:15] local.INFO: TCP Data received {"connection_id":186540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:08:15] local.INFO: Processing buffer {"connection_id":186540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:08:15] local.INFO: IMEI packet received {"connection_id":186540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":186540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:08:20] local.INFO: TCP Data received {"connection_id":186540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:08:20] local.INFO: Processing buffer {"connection_id":186540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:08:20] local.INFO: IMEI packet received {"connection_id":186540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":186540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:08:22] local.INFO: TCP Data received {"connection_id":186540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:08:22] local.INFO: Processing buffer {"connection_id":186540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:08:22] local.INFO: Packet analysis {"connection_id":186540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:08:22] local.INFO: Extracted packet for processing {"connection_id":186540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144443904001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789627035000,"timestamp_ms":1789627035000,"timestamp_seconds":1789627035,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae156d78"} 
[2026-09-17 12:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 12:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144443904001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144443904001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:08:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144443904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":186540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:08:22] local.INFO: GPS data processed {"connection_id":186540,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:08:22] local.INFO: Acknowledgment sent {"connection_id":186540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:08:34] local.INFO: TCP Data received {"connection_id":185231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:08:34] local.INFO: Processing buffer {"connection_id":185231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:08:34] local.INFO: Packet analysis {"connection_id":185231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:08:34] local.INFO: Extracted packet for processing {"connection_id":185231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:08:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":47,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144429568001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626979000,"timestamp_ms":1789626979000,"timestamp_seconds":1789626979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1492b8"} 
[2026-09-17 12:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144429568001,"66":12809,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144429568001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:08:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:08:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144429568001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":185231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:08:34] local.INFO: GPS data processed {"connection_id":185231,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:08:34] local.INFO: Acknowledgment sent {"connection_id":185231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:08:57] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:08:57] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:08:57] local.INFO: IMEI packet received {"connection_id":186541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":186541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:08:57] local.INFO: TCP Data received {"connection_id":186540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:08:57] local.INFO: Processing buffer {"connection_id":186540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:08:57] local.INFO: Packet analysis {"connection_id":186540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:08:57] local.INFO: Extracted packet for processing {"connection_id":186540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144443904001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789627035000,"timestamp_ms":1789627035000,"timestamp_seconds":1789627035,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae156d78"} 
[2026-09-17 12:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 12:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144443904001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144443904001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144443904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":186540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:08:57] local.INFO: GPS data processed {"connection_id":186540,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:08:57] local.INFO: Acknowledgment sent {"connection_id":186540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:09:02] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:09:02] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:09:02] local.INFO: IMEI packet received {"connection_id":186541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":186541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:09:03] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:09:03] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:09:03] local.INFO: Packet analysis {"connection_id":186541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:09:03] local.INFO: Extracted packet for processing {"connection_id":186541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:09:03] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":47,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144429568001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789626979000,"timestamp_ms":1789626979000,"timestamp_seconds":1789626979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1492b8"} 
[2026-09-17 12:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144429568001,"66":12809,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144429568001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:09:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144429568001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":186541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:09:03] local.INFO: GPS data processed {"connection_id":186541,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:09:03] local.INFO: Acknowledgment sent {"connection_id":186541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:09:15] local.INFO: TCP Data received {"connection_id":185112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:09:15] local.INFO: Processing buffer {"connection_id":185112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:09:15] local.INFO: IMEI packet received {"connection_id":185112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":185112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:09:20] local.INFO: TCP Data received {"connection_id":185112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:09:20] local.INFO: Processing buffer {"connection_id":185112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:09:20] local.INFO: IMEI packet received {"connection_id":185112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":185112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:09:21] local.INFO: TCP Data received {"connection_id":185112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:09:21] local.INFO: Processing buffer {"connection_id":185112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:09:21] local.INFO: Packet analysis {"connection_id":185112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:09:21] local.INFO: Extracted packet for processing {"connection_id":185112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144443904001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789627035000,"timestamp_ms":1789627035000,"timestamp_seconds":1789627035,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae156d78"} 
[2026-09-17 12:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 12:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144443904001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144443904001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144443904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":185112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:09:21] local.INFO: GPS data processed {"connection_id":185112,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:09:21] local.INFO: Acknowledgment sent {"connection_id":185112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:09:25] local.INFO: TCP Data received {"connection_id":187861,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:09:25] local.INFO: Processing buffer {"connection_id":187861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:09:25] local.INFO: IMEI packet received {"connection_id":187861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":187861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:09:34] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:09:34] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1492b8012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:09:34] local.INFO: Packet analysis {"connection_id":186541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:09:34] local.INFO: Extracted packet for processing {"connection_id":186541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae14"} 
[2026-09-17 12:09:34] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":47,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144429568001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789626979000,"timestamp_ms":1789626979000,"timestamp_seconds":1789626979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1492b8"} 
[2026-09-17 12:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144429568001,"66":12809,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144429568001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:09:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144429568001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":186541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:09:34] local.INFO: GPS data processed {"connection_id":186541,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:09:34] local.INFO: Acknowledgment sent {"connection_id":186541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:09:51] local.INFO: TCP Data received {"connection_id":185232,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:09:51] local.INFO: Processing buffer {"connection_id":185232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:09:51] local.INFO: IMEI packet received {"connection_id":185232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":185232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:09:53] local.INFO: TCP Data received {"connection_id":185112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:09:53] local.INFO: Processing buffer {"connection_id":185112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:09:53] local.INFO: Packet analysis {"connection_id":185112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:09:53] local.INFO: Extracted packet for processing {"connection_id":185112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144443904001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789627035000,"timestamp_ms":1789627035000,"timestamp_seconds":1789627035,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae156d78"} 
[2026-09-17 12:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 12:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144443904001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144443904001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144443904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":185112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:09:53] local.INFO: GPS data processed {"connection_id":185112,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:09:53] local.INFO: Acknowledgment sent {"connection_id":185112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:10:02] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:10:02] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:10:02] local.INFO: IMEI packet received {"connection_id":185113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":185113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:10:03] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 12:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 12:10:03] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 12:10:03] local.INFO: IMEI packet received {"connection_id":185113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":185113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:10:07] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:10:07] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 12:10:07] local.INFO: IMEI packet received {"connection_id":185113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":185113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:10:08] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae17f200012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae17f200012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:10:08] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0ae..."} 
[2026-09-17 12:10:08] local.INFO: IMEI packet received {"connection_id":185113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":185113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:10:08] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae17f200012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae17f200012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:10:08] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0ae17f200012cf40b00070fc3f8002f015b26..."} 
[2026-09-17 12:10:08] local.INFO: Packet analysis {"connection_id":185113,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ae17"} 
[2026-09-17 12:10:08] local.INFO: Extracted packet for processing {"connection_id":185113,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae17"} 
[2026-09-17 12:10:08] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":47,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144506624001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789627200000,"timestamp_ms":1789627200000,"timestamp_seconds":1789627200,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae17f200"} 
[2026-09-17 12:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2919074864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810074,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2147946436,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":24577,"corrected_to":0} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1624768718,"corrected_to":0} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4323681458100162131,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1135901065414267941,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-193206178183640384,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,216,83,24,241,157,16,92,160,250,44,195,15,34,10,66,99,203,240,221,227,174,1,4,113,205,140,56,39,239,2,116,7,47,162,23,173],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":203,"original":24577,"validated":0},{"io_id":205,"original":1624768718,"validated":0}]} 
[2026-09-17 12:10:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387088613526208512,"timestamp_seconds":3387088613526208.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144506624001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144506624001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:10:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:10:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144506624001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":185113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:10:09] local.INFO: GPS data processed {"connection_id":185113,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:10:09] local.INFO: Acknowledgment sent {"connection_id":185113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:10:09] local.INFO: Packet analysis {"connection_id":185113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae17"} 
[2026-09-17 12:10:09] local.INFO: Extracted packet for processing {"connection_id":185113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae17"} 
[2026-09-17 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":754191104,"raw_latitude":118473720,"longitude_deg":75.4191104,"latitude_deg":11.847372,"altitude":47,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2cf40b00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144563200001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789627200000,"timestamp_ms":1789627200000,"timestamp_seconds":1789627200,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae17f200"} 
[2026-09-17 12:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 12:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144563200001,"66":12765,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144563200001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:10:09] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144563200001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":185113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855217,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:10:09] local.INFO: GPS data processed {"connection_id":185113,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:10:09] local.INFO: Acknowledgment sent {"connection_id":185113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:10:12] local.INFO: TCP Data received {"connection_id":185113,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae180970012cf40900070fc100002f00a425..."} 
[2026-09-17 12:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae180970012cf40900070fc100002f00a425..."} 
[2026-09-17 12:10:12] local.INFO: Processing buffer {"connection_id":185113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae180970012cf40900070fc100002f00a425..."} 
[2026-09-17 12:10:12] local.INFO: Packet analysis {"connection_id":185113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:10:12] local.INFO: Extracted packet for processing {"connection_id":185113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:10:12] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":37,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144563200001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861594873382045696,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789627206000,"timestamp_ms":1789627206000,"timestamp_seconds":1789627206,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae180970"} 
[2026-09-17 12:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 12:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144563200001,"66":11254,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-861594873382045696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144563200001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:10:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861594873382045696,"description":"Unknown IO ID 44"} 
[2026-09-17 12:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144563200001,"power":11254,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861594873382045696}} 
[2026-09-17 12:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":185113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855218,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:10:13] local.INFO: GPS data processed {"connection_id":185113,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:10:13] local.INFO: Acknowledgment sent {"connection_id":185113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:10:15] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:10:15] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:10:15] local.INFO: IMEI packet received {"connection_id":186542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":186542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:10:20] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:10:20] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:10:20] local.INFO: IMEI packet received {"connection_id":186542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":186542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:10:23] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:10:23] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:10:23] local.INFO: Packet analysis {"connection_id":186542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:10:23] local.INFO: Extracted packet for processing {"connection_id":186542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144443904001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789627035000,"timestamp_ms":1789627035000,"timestamp_seconds":1789627035,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae156d78"} 
[2026-09-17 12:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 12:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144443904001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144443904001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144443904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":186542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:10:23] local.INFO: GPS data processed {"connection_id":186542,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:10:23] local.INFO: Acknowledgment sent {"connection_id":186542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:10:54] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:10:54] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:10:54] local.INFO: Packet analysis {"connection_id":186542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:10:54] local.INFO: Extracted packet for processing {"connection_id":186542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144443904001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789627035000,"timestamp_ms":1789627035000,"timestamp_seconds":1789627035,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae156d78"} 
[2026-09-17 12:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 12:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144443904001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144443904001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144443904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":186542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:10:54] local.INFO: GPS data processed {"connection_id":186542,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:10:54] local.INFO: Acknowledgment sent {"connection_id":186542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:10:57] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:10:57] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:10:57] local.INFO: IMEI packet received {"connection_id":186543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":186543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:11:02] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:11:02] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:11:02] local.INFO: IMEI packet received {"connection_id":186543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":186543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:11:03] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:11:03] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:11:03] local.INFO: Packet analysis {"connection_id":186543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:11:03] local.INFO: Extracted packet for processing {"connection_id":186543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:11:03] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144564736001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627212000,"timestamp_ms":1789627212000,"timestamp_seconds":1789627212,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1820e0"} 
[2026-09-17 12:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 12:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144564736001,"66":12102,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144564736001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:11:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:11:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144564736001,"power":12102,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":186543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855221,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:11:03] local.INFO: GPS data processed {"connection_id":186543,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:11:03] local.INFO: Acknowledgment sent {"connection_id":186543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:11:15] local.INFO: TCP Data received {"connection_id":185234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:11:15] local.INFO: Processing buffer {"connection_id":185234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:11:15] local.INFO: IMEI packet received {"connection_id":185234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":185234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:11:20] local.INFO: TCP Data received {"connection_id":185234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:11:20] local.INFO: Processing buffer {"connection_id":185234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:11:20] local.INFO: IMEI packet received {"connection_id":185234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":185234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:11:22] local.INFO: TCP Data received {"connection_id":185234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:11:22] local.INFO: Processing buffer {"connection_id":185234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:11:22] local.INFO: Packet analysis {"connection_id":185234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:11:22] local.INFO: Extracted packet for processing {"connection_id":185234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:11:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144443904001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789627035000,"timestamp_ms":1789627035000,"timestamp_seconds":1789627035,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae156d78"} 
[2026-09-17 12:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 12:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144443904001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144443904001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144443904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":185234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:11:22] local.INFO: GPS data processed {"connection_id":185234,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:11:22] local.INFO: Acknowledgment sent {"connection_id":185234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:11:34] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:11:34] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:11:34] local.INFO: Packet analysis {"connection_id":186543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:11:34] local.INFO: Extracted packet for processing {"connection_id":186543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:11:34] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627212000,"timestamp_ms":1789627212000,"timestamp_seconds":1789627212,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1820e0"} 
[2026-09-17 12:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12102,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:11:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:11:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12102,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":186543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855223,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:11:34] local.INFO: GPS data processed {"connection_id":186543,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:11:34] local.INFO: Acknowledgment sent {"connection_id":186543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:11:53] local.INFO: TCP Data received {"connection_id":185234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:11:53] local.INFO: Processing buffer {"connection_id":185234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:11:53] local.INFO: Packet analysis {"connection_id":185234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:11:53] local.INFO: Extracted packet for processing {"connection_id":185234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144443904001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789627035000,"timestamp_ms":1789627035000,"timestamp_seconds":1789627035,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae156d78"} 
[2026-09-17 12:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 12:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144443904001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144443904001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144443904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":185234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:11:53] local.INFO: GPS data processed {"connection_id":185234,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:11:53] local.INFO: Acknowledgment sent {"connection_id":185234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:11:57] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:11:57] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:11:57] local.INFO: IMEI packet received {"connection_id":186544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":186544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:12:02] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:12:02] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:12:02] local.INFO: IMEI packet received {"connection_id":186544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":186544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:12:03] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:12:03] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:12:03] local.INFO: Packet analysis {"connection_id":186544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:12:03] local.INFO: Extracted packet for processing {"connection_id":186544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:12:03] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627212000,"timestamp_ms":1789627212000,"timestamp_seconds":1789627212,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1820e0"} 
[2026-09-17 12:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12102,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:12:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12102,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":186544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855225,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:12:03] local.INFO: GPS data processed {"connection_id":186544,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:12:03] local.INFO: Acknowledgment sent {"connection_id":186544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:12:20] local.INFO: TCP Data received {"connection_id":187863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:12:20] local.INFO: Processing buffer {"connection_id":187863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:12:20] local.INFO: IMEI packet received {"connection_id":187863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":187863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:12:25] local.INFO: TCP Data received {"connection_id":187863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:12:25] local.INFO: Processing buffer {"connection_id":187863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:12:25] local.INFO: IMEI packet received {"connection_id":187863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":187863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:12:27] local.INFO: TCP Data received {"connection_id":187863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:12:27] local.INFO: Processing buffer {"connection_id":187863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae156d78012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:12:27] local.INFO: Packet analysis {"connection_id":187863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:12:27] local.INFO: Extracted packet for processing {"connection_id":187863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae15"} 
[2026-09-17 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144443904001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789627035000,"timestamp_ms":1789627035000,"timestamp_seconds":1789627035,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae156d78"} 
[2026-09-17 12:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 12:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144443904001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144443904001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:12:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144443904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":187863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:12:27] local.INFO: GPS data processed {"connection_id":187863,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:12:27] local.INFO: Acknowledgment sent {"connection_id":187863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:12:34] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:12:34] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:12:34] local.INFO: Packet analysis {"connection_id":186544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:12:34] local.INFO: Extracted packet for processing {"connection_id":186544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:12:34] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627212000,"timestamp_ms":1789627212000,"timestamp_seconds":1789627212,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1820e0"} 
[2026-09-17 12:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12102,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:12:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:12:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12102,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":186544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855227,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:12:34] local.INFO: GPS data processed {"connection_id":186544,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:12:34] local.INFO: Acknowledgment sent {"connection_id":186544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:12:57] local.INFO: TCP Data received {"connection_id":185235,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:12:57] local.INFO: Processing buffer {"connection_id":185235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:12:57] local.INFO: IMEI packet received {"connection_id":185235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":185235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:12:58] local.INFO: TCP Data received {"connection_id":187863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:12:58] local.INFO: Processing buffer {"connection_id":187863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:12:58] local.INFO: Packet analysis {"connection_id":187863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:12:58] local.INFO: Extracted packet for processing {"connection_id":187863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:12:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:12:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":187863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:12:58] local.INFO: GPS data processed {"connection_id":187863,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:12:58] local.INFO: Acknowledgment sent {"connection_id":187863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:13:02] local.INFO: TCP Data received {"connection_id":185235,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:13:02] local.INFO: Processing buffer {"connection_id":185235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:13:02] local.INFO: IMEI packet received {"connection_id":185235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":185235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:13:03] local.INFO: TCP Data received {"connection_id":185235,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:13:03] local.INFO: Processing buffer {"connection_id":185235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:13:03] local.INFO: Packet analysis {"connection_id":185235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:13:03] local.INFO: Extracted packet for processing {"connection_id":185235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:13:03] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627212000,"timestamp_ms":1789627212000,"timestamp_seconds":1789627212,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1820e0"} 
[2026-09-17 12:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12102,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:13:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12102,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":185235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855229,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:13:03] local.INFO: GPS data processed {"connection_id":185235,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:13:03] local.INFO: Acknowledgment sent {"connection_id":185235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:13:20] local.INFO: TCP Data received {"connection_id":187864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:13:20] local.INFO: Processing buffer {"connection_id":187864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:13:20] local.INFO: IMEI packet received {"connection_id":187864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":187864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:13:25] local.INFO: TCP Data received {"connection_id":187864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:13:25] local.INFO: Processing buffer {"connection_id":187864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:13:25] local.INFO: IMEI packet received {"connection_id":187864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":187864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:13:26] local.INFO: TCP Data received {"connection_id":187864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:13:26] local.INFO: Processing buffer {"connection_id":187864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:13:26] local.INFO: Packet analysis {"connection_id":187864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:13:26] local.INFO: Extracted packet for processing {"connection_id":187864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:13:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:13:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:13:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":187864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:13:26] local.INFO: GPS data processed {"connection_id":187864,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:13:26] local.INFO: Acknowledgment sent {"connection_id":187864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:13:34] local.INFO: TCP Data received {"connection_id":185235,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:13:34] local.INFO: Processing buffer {"connection_id":185235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:13:34] local.INFO: Packet analysis {"connection_id":185235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:13:34] local.INFO: Extracted packet for processing {"connection_id":185235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:13:34] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627212000,"timestamp_ms":1789627212000,"timestamp_seconds":1789627212,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1820e0"} 
[2026-09-17 12:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12102,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:13:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:13:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12102,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":185235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855231,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:13:34] local.INFO: GPS data processed {"connection_id":185235,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:13:34] local.INFO: Acknowledgment sent {"connection_id":185235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:13:58] local.INFO: TCP Data received {"connection_id":187864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:13:58] local.INFO: Processing buffer {"connection_id":187864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:13:58] local.INFO: Packet analysis {"connection_id":187864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:13:58] local.INFO: Extracted packet for processing {"connection_id":187864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:13:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:13:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":187864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:13:58] local.INFO: GPS data processed {"connection_id":187864,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:13:58] local.INFO: Acknowledgment sent {"connection_id":187864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:14:02] local.INFO: TCP Data received {"connection_id":185115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185115,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:14:02] local.INFO: Processing buffer {"connection_id":185115,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:14:02] local.INFO: IMEI packet received {"connection_id":185115,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":185115,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:14:07] local.INFO: TCP Data received {"connection_id":185115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185115,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:14:07] local.INFO: Processing buffer {"connection_id":185115,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:14:07] local.INFO: IMEI packet received {"connection_id":185115,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":185115,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:14:08] local.INFO: TCP Data received {"connection_id":185115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:14:08] local.INFO: Processing buffer {"connection_id":185115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:14:08] local.INFO: Packet analysis {"connection_id":185115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:14:08] local.INFO: Extracted packet for processing {"connection_id":185115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:14:08] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789627212000,"timestamp_ms":1789627212000,"timestamp_seconds":1789627212,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1820e0"} 
[2026-09-17 12:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12102,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:14:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:14:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:14:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12102,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":185115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:14:08] local.INFO: GPS data processed {"connection_id":185115,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:14:08] local.INFO: Acknowledgment sent {"connection_id":185115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:14:12] local.INFO: TCP Data received {"connection_id":185115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:14:12] local.INFO: Processing buffer {"connection_id":185115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:14:12] local.INFO: Packet analysis {"connection_id":185115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:14:12] local.INFO: Extracted packet for processing {"connection_id":185115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:14:12] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789627212000,"timestamp_ms":1789627212000,"timestamp_seconds":1789627212,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1820e0"} 
[2026-09-17 12:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12102,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:14:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12102,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":185115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855234,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:14:13] local.INFO: GPS data processed {"connection_id":185115,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:14:13] local.INFO: Acknowledgment sent {"connection_id":185115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:14:15] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:14:15] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:14:15] local.INFO: IMEI packet received {"connection_id":186546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:14:20] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:14:20] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:14:20] local.INFO: IMEI packet received {"connection_id":186546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":186546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:14:22] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:14:22] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:14:22] local.INFO: Packet analysis {"connection_id":186546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:14:22] local.INFO: Extracted packet for processing {"connection_id":186546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:14:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:14:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:14:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":186546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:14:22] local.INFO: GPS data processed {"connection_id":186546,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:14:22] local.INFO: Acknowledgment sent {"connection_id":186546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:14:53] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:14:53] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:14:53] local.INFO: Packet analysis {"connection_id":186546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:14:53] local.INFO: Extracted packet for processing {"connection_id":186546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":186546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:14:53] local.INFO: GPS data processed {"connection_id":186546,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:14:53] local.INFO: Acknowledgment sent {"connection_id":186546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:14:57] local.INFO: TCP Data received {"connection_id":185116,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185116,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:14:57] local.INFO: Processing buffer {"connection_id":185116,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:14:57] local.INFO: IMEI packet received {"connection_id":185116,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":185116,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:15:02] local.INFO: TCP Data received {"connection_id":185116,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185116,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:15:02] local.INFO: Processing buffer {"connection_id":185116,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:15:02] local.INFO: IMEI packet received {"connection_id":185116,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":185116,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:15:03] local.INFO: TCP Data received {"connection_id":185116,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:15:03] local.INFO: Processing buffer {"connection_id":185116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1820e0012cf40900070fc100002f00a423..."} 
[2026-09-17 12:15:03] local.INFO: Packet analysis {"connection_id":185116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:15:03] local.INFO: Extracted packet for processing {"connection_id":185116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae18"} 
[2026-09-17 12:15:03] local.INFO: GPS Element Parsed {"raw_longitude":754190592,"raw_latitude":118472960,"longitude_deg":75.4190592,"latitude_deg":11.847296,"altitude":47,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf40900","hex_latitude":"070fc100","is_valid_coordinates":true} 
[2026-09-17 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627212000,"timestamp_ms":1789627212000,"timestamp_seconds":1789627212,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1820e0"} 
[2026-09-17 12:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185116,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185116,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12102,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:15:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12102,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":185116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:15:03] local.INFO: GPS data processed {"connection_id":185116,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:15:03] local.INFO: Acknowledgment sent {"connection_id":185116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:15:11] local.INFO: TCP Data received {"connection_id":187865,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:15:11] local.INFO: Processing buffer {"connection_id":187865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:15:11] local.INFO: IMEI packet received {"connection_id":187865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":187865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:15:15] local.INFO: TCP Data received {"connection_id":185117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:15:15] local.INFO: Processing buffer {"connection_id":185117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:15:15] local.INFO: IMEI packet received {"connection_id":185117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":185117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:15:20] local.INFO: TCP Data received {"connection_id":185117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:15:20] local.INFO: Processing buffer {"connection_id":185117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:15:20] local.INFO: IMEI packet received {"connection_id":185117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":185117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:15:21] local.INFO: TCP Data received {"connection_id":185117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:15:21] local.INFO: Processing buffer {"connection_id":185117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:15:21] local.INFO: Packet analysis {"connection_id":185117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:15:21] local.INFO: Extracted packet for processing {"connection_id":185117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:15:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":185117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:15:21] local.INFO: GPS data processed {"connection_id":185117,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:15:21] local.INFO: Acknowledgment sent {"connection_id":185117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:15:34] local.INFO: TCP Data received {"connection_id":185116,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:15:34] local.INFO: Processing buffer {"connection_id":185116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:15:34] local.INFO: Packet analysis {"connection_id":185116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:15:34] local.INFO: Extracted packet for processing {"connection_id":185116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:15:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185116,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185116,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:15:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:15:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":185116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:15:34] local.INFO: GPS data processed {"connection_id":185116,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:15:34] local.INFO: Acknowledgment sent {"connection_id":185116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:15:52] local.INFO: TCP Data received {"connection_id":185117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:15:52] local.INFO: Processing buffer {"connection_id":185117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:15:52] local.INFO: Packet analysis {"connection_id":185117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:15:52] local.INFO: Extracted packet for processing {"connection_id":185117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":185117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:15:52] local.INFO: GPS data processed {"connection_id":185117,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:15:52] local.INFO: Acknowledgment sent {"connection_id":185117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:15:57] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:15:57] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:15:57] local.INFO: IMEI packet received {"connection_id":186547,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":186547,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:16:00] local.INFO: TCP Data received {"connection_id":185236,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:16:00] local.INFO: Processing buffer {"connection_id":185236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:16:00] local.INFO: IMEI packet received {"connection_id":185236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":185236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:16:02] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:16:02] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:16:02] local.INFO: IMEI packet received {"connection_id":186547,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":186547,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:16:03] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:16:03] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:16:03] local.INFO: Packet analysis {"connection_id":186547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:16:03] local.INFO: Extracted packet for processing {"connection_id":186547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:16:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:16:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:16:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":186547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855241,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:16:03] local.INFO: GPS data processed {"connection_id":186547,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:16:03] local.INFO: Acknowledgment sent {"connection_id":186547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:16:15] local.INFO: TCP Data received {"connection_id":185237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:16:15] local.INFO: Processing buffer {"connection_id":185237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:16:15] local.INFO: IMEI packet received {"connection_id":185237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":185237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:16:20] local.INFO: TCP Data received {"connection_id":185237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:16:20] local.INFO: Processing buffer {"connection_id":185237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:16:20] local.INFO: IMEI packet received {"connection_id":185237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:16:21] local.INFO: TCP Data received {"connection_id":185237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:16:21] local.INFO: Processing buffer {"connection_id":185237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:16:21] local.INFO: Packet analysis {"connection_id":185237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:16:21] local.INFO: Extracted packet for processing {"connection_id":185237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:16:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":185237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:16:21] local.INFO: GPS data processed {"connection_id":185237,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:16:21] local.INFO: Acknowledgment sent {"connection_id":185237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:16:34] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:16:34] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:16:34] local.INFO: Packet analysis {"connection_id":186547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:16:34] local.INFO: Extracted packet for processing {"connection_id":186547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:16:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:16:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:16:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":186547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855243,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:16:34] local.INFO: GPS data processed {"connection_id":186547,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:16:34] local.INFO: Acknowledgment sent {"connection_id":186547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:16:52] local.INFO: TCP Data received {"connection_id":185237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:16:52] local.INFO: Processing buffer {"connection_id":185237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:16:52] local.INFO: Packet analysis {"connection_id":185237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:16:52] local.INFO: Extracted packet for processing {"connection_id":185237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":185237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:16:52] local.INFO: GPS data processed {"connection_id":185237,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:16:52] local.INFO: Acknowledgment sent {"connection_id":185237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:16:57] local.INFO: TCP Data received {"connection_id":185238,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:16:57] local.INFO: Processing buffer {"connection_id":185238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:16:57] local.INFO: IMEI packet received {"connection_id":185238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":185238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:17:02] local.INFO: TCP Data received {"connection_id":185238,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:17:02] local.INFO: Processing buffer {"connection_id":185238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:17:02] local.INFO: IMEI packet received {"connection_id":185238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":185238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:17:03] local.INFO: TCP Data received {"connection_id":185238,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:17:03] local.INFO: Processing buffer {"connection_id":185238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:17:03] local.INFO: Packet analysis {"connection_id":185238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:17:03] local.INFO: Extracted packet for processing {"connection_id":185238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:17:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:17:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":185238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:17:03] local.INFO: GPS data processed {"connection_id":185238,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:17:03] local.INFO: Acknowledgment sent {"connection_id":185238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:17:15] local.INFO: TCP Data received {"connection_id":185118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:17:15] local.INFO: Processing buffer {"connection_id":185118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:17:15] local.INFO: IMEI packet received {"connection_id":185118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":185118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:17:20] local.INFO: TCP Data received {"connection_id":185118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:17:20] local.INFO: Processing buffer {"connection_id":185118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:17:20] local.INFO: IMEI packet received {"connection_id":185118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":185118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:17:21] local.INFO: TCP Data received {"connection_id":185118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:17:21] local.INFO: Processing buffer {"connection_id":185118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:17:21] local.INFO: Packet analysis {"connection_id":185118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:17:21] local.INFO: Extracted packet for processing {"connection_id":185118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":185118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:17:21] local.INFO: GPS data processed {"connection_id":185118,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:17:21] local.INFO: Acknowledgment sent {"connection_id":185118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:17:34] local.INFO: TCP Data received {"connection_id":185238,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:17:34] local.INFO: Processing buffer {"connection_id":185238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:17:34] local.INFO: Packet analysis {"connection_id":185238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:17:34] local.INFO: Extracted packet for processing {"connection_id":185238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:17:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:17:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:17:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":185238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855247,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:17:34] local.INFO: GPS data processed {"connection_id":185238,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:17:34] local.INFO: Acknowledgment sent {"connection_id":185238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:17:52] local.INFO: TCP Data received {"connection_id":185118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:17:52] local.INFO: Processing buffer {"connection_id":185118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1a0540012d34c14006aa4438000c01012c..."} 
[2026-09-17 12:17:52] local.INFO: Packet analysis {"connection_id":185118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:17:52] local.INFO: Extracted packet for processing {"connection_id":185118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1a"} 
[2026-09-17 12:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144520960001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789627336000,"timestamp_ms":1789627336000,"timestamp_seconds":1789627336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1a0540"} 
[2026-09-17 12:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144520960001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144520960001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144520960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":185118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:17:52] local.INFO: GPS data processed {"connection_id":185118,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:17:52] local.INFO: Acknowledgment sent {"connection_id":185118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:18:02] local.INFO: TCP Data received {"connection_id":187867,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187867,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:18:02] local.INFO: Processing buffer {"connection_id":187867,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:18:02] local.INFO: IMEI packet received {"connection_id":187867,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":187867,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:18:07] local.INFO: TCP Data received {"connection_id":187867,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187867,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:18:07] local.INFO: Processing buffer {"connection_id":187867,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:18:07] local.INFO: IMEI packet received {"connection_id":187867,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":187867,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:18:08] local.INFO: TCP Data received {"connection_id":187867,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:18:08] local.INFO: Processing buffer {"connection_id":187867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:18:08] local.INFO: Packet analysis {"connection_id":187867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:18:08] local.INFO: Extracted packet for processing {"connection_id":187867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:18:08] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:18:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:18:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":187867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855249,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:18:08] local.INFO: GPS data processed {"connection_id":187867,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:18:08] local.INFO: Acknowledgment sent {"connection_id":187867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:18:12] local.INFO: TCP Data received {"connection_id":187867,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:18:12] local.INFO: Processing buffer {"connection_id":187867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:18:12] local.INFO: Packet analysis {"connection_id":187867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:18:12] local.INFO: Extracted packet for processing {"connection_id":187867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:18:12] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:18:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":187867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855250,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:18:13] local.INFO: GPS data processed {"connection_id":187867,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:18:13] local.INFO: Acknowledgment sent {"connection_id":187867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:18:15] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:18:15] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:18:15] local.INFO: IMEI packet received {"connection_id":186548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:18:17] local.INFO: TCP Data received {"connection_id":187867,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:18:17] local.INFO: Processing buffer {"connection_id":187867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:18:17] local.INFO: Packet analysis {"connection_id":187867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:18:17] local.INFO: Extracted packet for processing {"connection_id":187867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:18:17] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187867,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:18:17] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:18:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":187867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855251,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:18:18] local.INFO: GPS data processed {"connection_id":187867,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:18:18] local.INFO: Acknowledgment sent {"connection_id":187867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:18:20] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:18:20] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:18:20] local.INFO: IMEI packet received {"connection_id":186548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":186548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:18:21] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:18:21] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:18:21] local.INFO: Packet analysis {"connection_id":186548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:18:21] local.INFO: Extracted packet for processing {"connection_id":186548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:18:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":186548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:18:21] local.INFO: GPS data processed {"connection_id":186548,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:18:21] local.INFO: Acknowledgment sent {"connection_id":186548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:18:52] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:18:52] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:18:52] local.INFO: Packet analysis {"connection_id":186548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:18:52] local.INFO: Extracted packet for processing {"connection_id":186548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":186548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:18:52] local.INFO: GPS data processed {"connection_id":186548,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:18:52] local.INFO: Acknowledgment sent {"connection_id":186548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:18:57] local.INFO: TCP Data received {"connection_id":187868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:18:57] local.INFO: Processing buffer {"connection_id":187868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:18:57] local.INFO: IMEI packet received {"connection_id":187868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":187868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:19:02] local.INFO: TCP Data received {"connection_id":187868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:19:02] local.INFO: Processing buffer {"connection_id":187868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:19:02] local.INFO: IMEI packet received {"connection_id":187868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":187868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:19:03] local.INFO: TCP Data received {"connection_id":187868,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:19:03] local.INFO: Processing buffer {"connection_id":187868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:19:03] local.INFO: Packet analysis {"connection_id":187868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:19:03] local.INFO: Extracted packet for processing {"connection_id":187868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:19:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:19:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":187868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855254,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:19:03] local.INFO: GPS data processed {"connection_id":187868,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:19:03] local.INFO: Acknowledgment sent {"connection_id":187868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:19:20] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:19:20] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:19:20] local.INFO: IMEI packet received {"connection_id":186549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":186549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:19:25] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:19:25] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:19:25] local.INFO: IMEI packet received {"connection_id":186549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":186549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:19:26] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:19:26] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:19:26] local.INFO: Packet analysis {"connection_id":186549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:19:26] local.INFO: Extracted packet for processing {"connection_id":186549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:19:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:19:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":186549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:19:26] local.INFO: GPS data processed {"connection_id":186549,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:19:26] local.INFO: Acknowledgment sent {"connection_id":186549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:19:31] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:19:31] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:19:31] local.INFO: Packet analysis {"connection_id":186549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:19:31] local.INFO: Extracted packet for processing {"connection_id":186549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":186549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:19:31] local.INFO: GPS data processed {"connection_id":186549,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:19:31] local.INFO: Acknowledgment sent {"connection_id":186549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:19:34] local.INFO: TCP Data received {"connection_id":187868,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:19:34] local.INFO: Processing buffer {"connection_id":187868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:19:34] local.INFO: Packet analysis {"connection_id":187868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:19:34] local.INFO: Extracted packet for processing {"connection_id":187868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:19:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:19:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":187868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855257,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:19:35] local.INFO: GPS data processed {"connection_id":187868,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:19:35] local.INFO: Acknowledgment sent {"connection_id":187868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:19:57] local.INFO: TCP Data received {"connection_id":185241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:19:57] local.INFO: Processing buffer {"connection_id":185241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:19:57] local.INFO: IMEI packet received {"connection_id":185241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":185241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:20:02] local.INFO: TCP Data received {"connection_id":185241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:20:02] local.INFO: Processing buffer {"connection_id":185241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:20:02] local.INFO: IMEI packet received {"connection_id":185241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":185241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:20:03] local.INFO: TCP Data received {"connection_id":185241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:20:03] local.INFO: Processing buffer {"connection_id":185241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1cc078012cf406c0070fc0d8002f00a421..."} 
[2026-09-17 12:20:03] local.INFO: Packet analysis {"connection_id":185241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:20:03] local.INFO: Extracted packet for processing {"connection_id":185241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1c"} 
[2026-09-17 12:20:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":47,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144566272001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862157823335661568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627515000,"timestamp_ms":1789627515000,"timestamp_seconds":1789627515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1cc078"} 
[2026-09-17 12:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-17 12:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144566272001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862157823335661568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144566272001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:20:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862157823335661568,"description":"Unknown IO ID 44"} 
[2026-09-17 12:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144566272001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862157823335661568}} 
[2026-09-17 12:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":185241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:20:03] local.INFO: GPS data processed {"connection_id":185241,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:20:03] local.INFO: Acknowledgment sent {"connection_id":185241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:20:15] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:20:15] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:20:15] local.INFO: IMEI packet received {"connection_id":186550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":186550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:20:20] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:20:20] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:20:20] local.INFO: IMEI packet received {"connection_id":186550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":186550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:20:21] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:20:21] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:20:21] local.INFO: Packet analysis {"connection_id":186550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:20:21] local.INFO: Extracted packet for processing {"connection_id":186550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:20:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":186550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:20:21] local.INFO: GPS data processed {"connection_id":186550,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:20:21] local.INFO: Acknowledgment sent {"connection_id":186550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:20:34] local.INFO: TCP Data received {"connection_id":185241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:20:34] local.INFO: Processing buffer {"connection_id":185241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:20:34] local.INFO: Packet analysis {"connection_id":185241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:20:34] local.INFO: Extracted packet for processing {"connection_id":185241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:20:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:20:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:20:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":185241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855260,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:20:34] local.INFO: GPS data processed {"connection_id":185241,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:20:34] local.INFO: Acknowledgment sent {"connection_id":185241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:20:53] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:20:53] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:20:53] local.INFO: Packet analysis {"connection_id":186550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:20:53] local.INFO: Extracted packet for processing {"connection_id":186550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":186550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:20:53] local.INFO: GPS data processed {"connection_id":186550,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:20:53] local.INFO: Acknowledgment sent {"connection_id":186550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:20:57] local.INFO: TCP Data received {"connection_id":185121,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185121,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:20:57] local.INFO: Processing buffer {"connection_id":185121,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:20:57] local.INFO: IMEI packet received {"connection_id":185121,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":185121,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:21:02] local.INFO: TCP Data received {"connection_id":185121,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185121,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:21:02] local.INFO: Processing buffer {"connection_id":185121,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:21:02] local.INFO: IMEI packet received {"connection_id":185121,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":185121,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:21:03] local.INFO: TCP Data received {"connection_id":185121,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:21:03] local.INFO: Processing buffer {"connection_id":185121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:21:03] local.INFO: Packet analysis {"connection_id":185121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:21:03] local.INFO: Extracted packet for processing {"connection_id":185121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:21:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:21:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:21:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":185121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855262,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:21:03] local.INFO: GPS data processed {"connection_id":185121,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:21:03] local.INFO: Acknowledgment sent {"connection_id":185121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:21:16] local.INFO: TCP Data received {"connection_id":187869,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:21:16] local.INFO: Processing buffer {"connection_id":187869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:21:16] local.INFO: IMEI packet received {"connection_id":187869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":187869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:21:20] local.INFO: TCP Data received {"connection_id":187869,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:21:20] local.INFO: Processing buffer {"connection_id":187869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:21:20] local.INFO: IMEI packet received {"connection_id":187869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":187869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:21:22] local.INFO: TCP Data received {"connection_id":187869,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:21:22] local.INFO: Processing buffer {"connection_id":187869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:21:22] local.INFO: Packet analysis {"connection_id":187869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:21:22] local.INFO: Extracted packet for processing {"connection_id":187869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:21:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:21:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:21:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":187869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:21:22] local.INFO: GPS data processed {"connection_id":187869,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:21:22] local.INFO: Acknowledgment sent {"connection_id":187869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:21:27] local.INFO: TCP Data received {"connection_id":185120,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:21:27] local.INFO: Processing buffer {"connection_id":185120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:21:27] local.INFO: IMEI packet received {"connection_id":185120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":185120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:21:34] local.INFO: TCP Data received {"connection_id":185121,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:21:34] local.INFO: Processing buffer {"connection_id":185121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:21:34] local.INFO: Packet analysis {"connection_id":185121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:21:34] local.INFO: Extracted packet for processing {"connection_id":185121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:21:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:21:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:21:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:21:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":185121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:21:34] local.INFO: GPS data processed {"connection_id":185121,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:21:34] local.INFO: Acknowledgment sent {"connection_id":185121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:21:54] local.INFO: TCP Data received {"connection_id":187869,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:21:54] local.INFO: Processing buffer {"connection_id":187869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:21:54] local.INFO: Packet analysis {"connection_id":187869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:21:54] local.INFO: Extracted packet for processing {"connection_id":187869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:21:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:21:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":187869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:21:54] local.INFO: GPS data processed {"connection_id":187869,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:21:54] local.INFO: Acknowledgment sent {"connection_id":187869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:21:55] local.INFO: TCP Data received {"connection_id":185122,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:21:55] local.INFO: Processing buffer {"connection_id":185122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:21:55] local.INFO: IMEI packet received {"connection_id":185122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":185122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:21:57] local.INFO: TCP Data received {"connection_id":185242,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:21:57] local.INFO: Processing buffer {"connection_id":185242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:21:57] local.INFO: IMEI packet received {"connection_id":185242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":185242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:22:02] local.INFO: TCP Data received {"connection_id":185242,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:22:02] local.INFO: Processing buffer {"connection_id":185242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:22:02] local.INFO: IMEI packet received {"connection_id":185242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":185242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:22:03] local.INFO: TCP Data received {"connection_id":185242,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:22:03] local.INFO: Processing buffer {"connection_id":185242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:22:03] local.INFO: Packet analysis {"connection_id":185242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:22:03] local.INFO: Extracted packet for processing {"connection_id":185242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:22:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:22:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:22:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":185242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855266,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:22:03] local.INFO: GPS data processed {"connection_id":185242,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:22:03] local.INFO: Acknowledgment sent {"connection_id":185242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:22:15] local.INFO: TCP Data received {"connection_id":187870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:22:15] local.INFO: Processing buffer {"connection_id":187870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:22:15] local.INFO: IMEI packet received {"connection_id":187870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":187870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:22:20] local.INFO: TCP Data received {"connection_id":187870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:22:20] local.INFO: Processing buffer {"connection_id":187870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:22:20] local.INFO: IMEI packet received {"connection_id":187870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":187870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:22:22] local.INFO: TCP Data received {"connection_id":187870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:22:22] local.INFO: Processing buffer {"connection_id":187870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:22:22] local.INFO: Packet analysis {"connection_id":187870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:22:22] local.INFO: Extracted packet for processing {"connection_id":187870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:22:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:22:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:22:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":187870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:22:22] local.INFO: GPS data processed {"connection_id":187870,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:22:22] local.INFO: Acknowledgment sent {"connection_id":187870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:22:34] local.INFO: TCP Data received {"connection_id":185242,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:22:34] local.INFO: Processing buffer {"connection_id":185242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:22:34] local.INFO: Packet analysis {"connection_id":185242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:22:34] local.INFO: Extracted packet for processing {"connection_id":185242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:22:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:22:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:22:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:22:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":185242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855268,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:22:34] local.INFO: GPS data processed {"connection_id":185242,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:22:34] local.INFO: Acknowledgment sent {"connection_id":185242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:22:53] local.INFO: TCP Data received {"connection_id":187870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:22:53] local.INFO: Processing buffer {"connection_id":187870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae1e9d08012d34c14006aa4438000c010129..."} 
[2026-09-17 12:22:53] local.INFO: Packet analysis {"connection_id":187870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:22:53] local.INFO: Extracted packet for processing {"connection_id":187870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae1e"} 
[2026-09-17 12:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144598016001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789627637000,"timestamp_ms":1789627637000,"timestamp_seconds":1789627637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae1e9d08"} 
[2026-09-17 12:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144598016001,"66":25441,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144598016001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144598016001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":187870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:22:53] local.INFO: GPS data processed {"connection_id":187870,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:22:53] local.INFO: Acknowledgment sent {"connection_id":187870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:23:02] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:23:02] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:23:02] local.INFO: IMEI packet received {"connection_id":185124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":185124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:23:07] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:23:07] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:23:07] local.INFO: IMEI packet received {"connection_id":185124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":185124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:23:08] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:23:08] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:23:08] local.INFO: Packet analysis {"connection_id":185124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:23:08] local.INFO: Extracted packet for processing {"connection_id":185124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:23:08] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:23:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:23:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:23:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":185124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855270,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:23:08] local.INFO: GPS data processed {"connection_id":185124,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:23:08] local.INFO: Acknowledgment sent {"connection_id":185124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:23:12] local.INFO: TCP Data received {"connection_id":185124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:23:12] local.INFO: Processing buffer {"connection_id":185124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:23:12] local.INFO: Packet analysis {"connection_id":185124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:23:12] local.INFO: Extracted packet for processing {"connection_id":185124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:23:12] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:23:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:23:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":185124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:23:12] local.INFO: GPS data processed {"connection_id":185124,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:23:12] local.INFO: Acknowledgment sent {"connection_id":185124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:23:15] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:23:15] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:23:15] local.INFO: IMEI packet received {"connection_id":186551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":186551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:23:20] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:23:20] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:23:20] local.INFO: IMEI packet received {"connection_id":186551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":186551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:23:21] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:23:21] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:23:21] local.INFO: Packet analysis {"connection_id":186551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:23:21] local.INFO: Extracted packet for processing {"connection_id":186551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":186551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:23:21] local.INFO: GPS data processed {"connection_id":186551,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:23:21] local.INFO: Acknowledgment sent {"connection_id":186551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:23:53] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:23:53] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:23:53] local.INFO: Packet analysis {"connection_id":186551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:23:53] local.INFO: Extracted packet for processing {"connection_id":186551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":186551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:23:53] local.INFO: GPS data processed {"connection_id":186551,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:23:53] local.INFO: Acknowledgment sent {"connection_id":186551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:23:57] local.INFO: TCP Data received {"connection_id":185126,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185126,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:23:57] local.INFO: Processing buffer {"connection_id":185126,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:23:57] local.INFO: IMEI packet received {"connection_id":185126,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":185126,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:24:02] local.INFO: TCP Data received {"connection_id":185126,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185126,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:24:02] local.INFO: Processing buffer {"connection_id":185126,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:24:02] local.INFO: IMEI packet received {"connection_id":185126,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":185126,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:24:03] local.INFO: TCP Data received {"connection_id":185126,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:24:03] local.INFO: Processing buffer {"connection_id":185126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:24:03] local.INFO: Packet analysis {"connection_id":185126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:24:03] local.INFO: Extracted packet for processing {"connection_id":185126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:24:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:24:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:24:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:24:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":185126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855274,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:24:03] local.INFO: GPS data processed {"connection_id":185126,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:24:03] local.INFO: Acknowledgment sent {"connection_id":185126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:24:20] local.INFO: TCP Data received {"connection_id":185127,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:24:20] local.INFO: Processing buffer {"connection_id":185127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:24:20] local.INFO: IMEI packet received {"connection_id":185127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":185127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:24:25] local.INFO: TCP Data received {"connection_id":185127,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:24:25] local.INFO: Processing buffer {"connection_id":185127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:24:25] local.INFO: IMEI packet received {"connection_id":185127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":185127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:24:26] local.INFO: TCP Data received {"connection_id":185127,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:24:26] local.INFO: Processing buffer {"connection_id":185127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:24:26] local.INFO: Packet analysis {"connection_id":185127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:24:26] local.INFO: Extracted packet for processing {"connection_id":185127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:24:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":185127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:24:26] local.INFO: GPS data processed {"connection_id":185127,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:24:26] local.INFO: Acknowledgment sent {"connection_id":185127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:24:31] local.INFO: TCP Data received {"connection_id":185127,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:24:31] local.INFO: Processing buffer {"connection_id":185127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:24:31] local.INFO: Packet analysis {"connection_id":185127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:24:31] local.INFO: Extracted packet for processing {"connection_id":185127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":185127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:24:31] local.INFO: GPS data processed {"connection_id":185127,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:24:31] local.INFO: Acknowledgment sent {"connection_id":185127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:24:34] local.INFO: TCP Data received {"connection_id":185126,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:24:34] local.INFO: Processing buffer {"connection_id":185126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:24:34] local.INFO: Packet analysis {"connection_id":185126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:24:34] local.INFO: Extracted packet for processing {"connection_id":185126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:24:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:24:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:24:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:24:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:24:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":185126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:24:34] local.INFO: GPS data processed {"connection_id":185126,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:24:34] local.INFO: Acknowledgment sent {"connection_id":185126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:24:57] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:24:57] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:24:57] local.INFO: IMEI packet received {"connection_id":185243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":185243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:25:02] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:25:02] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:25:02] local.INFO: IMEI packet received {"connection_id":185243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":185243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:25:03] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:25:03] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae215840012cf406c0070fc0d8001f00a41f..."} 
[2026-09-17 12:25:03] local.INFO: Packet analysis {"connection_id":185243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:25:03] local.INFO: Extracted packet for processing {"connection_id":185243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae21"} 
[2026-09-17 12:25:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":31,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144643840001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789627816000,"timestamp_ms":1789627816000,"timestamp_seconds":1789627816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae215840"} 
[2026-09-17 12:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920583864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094361607,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1151496542586407680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810095,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756217753567488,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817312,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210162932514,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744162165837395,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195011584,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,32,44,193,47,35,10,66,9,1,240,246,227,174,15,4,113,205,242,11,248,38,239,49,2,116,7,50,162,23,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:25:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386887381423489024,"timestamp_seconds":3386887381423489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144643840001,"66":12819,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144643840001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:25:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144643840001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":185243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855278,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:25:03] local.INFO: GPS data processed {"connection_id":185243,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:25:03] local.INFO: Acknowledgment sent {"connection_id":185243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:25:15] local.INFO: TCP Data received {"connection_id":187871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:25:15] local.INFO: Processing buffer {"connection_id":187871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:25:15] local.INFO: IMEI packet received {"connection_id":187871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":187871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:25:20] local.INFO: TCP Data received {"connection_id":187871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:25:20] local.INFO: Processing buffer {"connection_id":187871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:25:20] local.INFO: IMEI packet received {"connection_id":187871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":187871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:25:21] local.INFO: TCP Data received {"connection_id":187871,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:25:21] local.INFO: Processing buffer {"connection_id":187871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:25:21] local.INFO: Packet analysis {"connection_id":187871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:25:21] local.INFO: Extracted packet for processing {"connection_id":187871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":187871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:25:21] local.INFO: GPS data processed {"connection_id":187871,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:25:21] local.INFO: Acknowledgment sent {"connection_id":187871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:25:34] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:25:34] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:25:34] local.INFO: Packet analysis {"connection_id":185243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:25:34] local.INFO: Extracted packet for processing {"connection_id":185243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:25:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:25:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:25:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":185243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855280,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:25:35] local.INFO: GPS data processed {"connection_id":185243,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:25:35] local.INFO: Acknowledgment sent {"connection_id":185243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:25:53] local.INFO: TCP Data received {"connection_id":187871,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:25:53] local.INFO: Processing buffer {"connection_id":187871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:25:53] local.INFO: Packet analysis {"connection_id":187871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:25:53] local.INFO: Extracted packet for processing {"connection_id":187871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":187871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:25:53] local.INFO: GPS data processed {"connection_id":187871,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:25:53] local.INFO: Acknowledgment sent {"connection_id":187871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:25:57] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:25:57] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:25:57] local.INFO: IMEI packet received {"connection_id":186552,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":186552,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:26:02] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:26:02] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:26:02] local.INFO: IMEI packet received {"connection_id":186552,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":186552,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:26:03] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:26:03] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:26:03] local.INFO: Packet analysis {"connection_id":186552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:26:03] local.INFO: Extracted packet for processing {"connection_id":186552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:26:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:26:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186552,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186552,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:26:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":186552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855282,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:26:03] local.INFO: GPS data processed {"connection_id":186552,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:26:03] local.INFO: Acknowledgment sent {"connection_id":186552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:26:16] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:26:16] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:26:16] local.INFO: IMEI packet received {"connection_id":186554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":186554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:26:20] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:26:20] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:26:20] local.INFO: IMEI packet received {"connection_id":186554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":186554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:26:21] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:26:21] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:26:21] local.INFO: Packet analysis {"connection_id":186554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:26:21] local.INFO: Extracted packet for processing {"connection_id":186554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":186554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:26:21] local.INFO: GPS data processed {"connection_id":186554,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:26:21] local.INFO: Acknowledgment sent {"connection_id":186554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:26:36] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:26:36] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:26:36] local.INFO: Packet analysis {"connection_id":186552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:26:36] local.INFO: Extracted packet for processing {"connection_id":186552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:26:36] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:26:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186552,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186552,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:26:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":186552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:26:36] local.INFO: GPS data processed {"connection_id":186552,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:26:36] local.INFO: Acknowledgment sent {"connection_id":186552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:26:53] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:26:53] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:26:53] local.INFO: Packet analysis {"connection_id":186554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:26:53] local.INFO: Extracted packet for processing {"connection_id":186554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":186554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:26:53] local.INFO: GPS data processed {"connection_id":186554,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:26:53] local.INFO: Acknowledgment sent {"connection_id":186554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:27:02] local.INFO: TCP Data received {"connection_id":187872,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187872,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:27:02] local.INFO: Processing buffer {"connection_id":187872,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:27:02] local.INFO: IMEI packet received {"connection_id":187872,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":187872,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:27:07] local.INFO: TCP Data received {"connection_id":187872,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187872,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:27:07] local.INFO: Processing buffer {"connection_id":187872,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:27:07] local.INFO: IMEI packet received {"connection_id":187872,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":187872,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:27:08] local.INFO: TCP Data received {"connection_id":187872,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:27:08] local.INFO: Processing buffer {"connection_id":187872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:27:08] local.INFO: Packet analysis {"connection_id":187872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:27:08] local.INFO: Extracted packet for processing {"connection_id":187872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:27:08] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:27:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:27:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":187872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855286,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:27:08] local.INFO: GPS data processed {"connection_id":187872,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:27:08] local.INFO: Acknowledgment sent {"connection_id":187872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:27:12] local.INFO: TCP Data received {"connection_id":187872,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:27:12] local.INFO: Processing buffer {"connection_id":187872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:27:12] local.INFO: Packet analysis {"connection_id":187872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:27:12] local.INFO: Extracted packet for processing {"connection_id":187872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:27:12] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:12] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:27:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:27:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":187872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855287,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:27:13] local.INFO: GPS data processed {"connection_id":187872,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:27:13] local.INFO: Acknowledgment sent {"connection_id":187872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:27:15] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:27:15] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:27:15] local.INFO: IMEI packet received {"connection_id":186555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":186555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:27:20] local.INFO: TCP Data received {"connection_id":185129,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:27:20] local.INFO: Processing buffer {"connection_id":185129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:27:20] local.INFO: IMEI packet received {"connection_id":185129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":185129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:27:20] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:27:20] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:27:20] local.INFO: IMEI packet received {"connection_id":186555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":186555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:27:22] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:27:22] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:27:22] local.INFO: Packet analysis {"connection_id":186555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:27:22] local.INFO: Extracted packet for processing {"connection_id":186555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:27:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:27:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":186555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:27:22] local.INFO: GPS data processed {"connection_id":186555,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:27:22] local.INFO: Acknowledgment sent {"connection_id":186555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:27:50] local.INFO: TCP Data received {"connection_id":185244,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:27:50] local.INFO: Processing buffer {"connection_id":185244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:27:50] local.INFO: IMEI packet received {"connection_id":185244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":185244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:27:54] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:27:54] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2334d0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:27:54] local.INFO: Packet analysis {"connection_id":186555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:27:54] local.INFO: Extracted packet for processing {"connection_id":186555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae23"} 
[2026-09-17 12:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144675072001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789627938000,"timestamp_ms":1789627938000,"timestamp_seconds":1789627938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2334d0"} 
[2026-09-17 12:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 12:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144675072001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144675072001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144675072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":186555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:27:54] local.INFO: GPS data processed {"connection_id":186555,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:27:54] local.INFO: Acknowledgment sent {"connection_id":186555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:27:57] local.INFO: TCP Data received {"connection_id":186556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186556,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:27:57] local.INFO: Processing buffer {"connection_id":186556,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:27:57] local.INFO: IMEI packet received {"connection_id":186556,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":186556,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:28:02] local.INFO: TCP Data received {"connection_id":186556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186556,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:28:02] local.INFO: Processing buffer {"connection_id":186556,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:28:02] local.INFO: IMEI packet received {"connection_id":186556,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":186556,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:28:03] local.INFO: TCP Data received {"connection_id":186556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:28:03] local.INFO: Processing buffer {"connection_id":186556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:28:03] local.INFO: Packet analysis {"connection_id":186556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:28:03] local.INFO: Extracted packet for processing {"connection_id":186556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:28:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:28:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:28:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":186556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855290,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:28:03] local.INFO: GPS data processed {"connection_id":186556,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:28:03] local.INFO: Acknowledgment sent {"connection_id":186556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:28:15] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:28:15] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:28:15] local.INFO: IMEI packet received {"connection_id":185245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":185245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:28:20] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:28:20] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:28:20] local.INFO: IMEI packet received {"connection_id":185245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":185245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:28:21] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:28:21] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:28:21] local.INFO: Packet analysis {"connection_id":185245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:28:21] local.INFO: Extracted packet for processing {"connection_id":185245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":185245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:28:21] local.INFO: GPS data processed {"connection_id":185245,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:28:21] local.INFO: Acknowledgment sent {"connection_id":185245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:28:34] local.INFO: TCP Data received {"connection_id":186556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:28:34] local.INFO: Processing buffer {"connection_id":186556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:28:34] local.INFO: Packet analysis {"connection_id":186556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:28:34] local.INFO: Extracted packet for processing {"connection_id":186556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:28:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:28:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:28:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":186556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:28:34] local.INFO: GPS data processed {"connection_id":186556,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:28:34] local.INFO: Acknowledgment sent {"connection_id":186556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:28:53] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:28:53] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:28:53] local.INFO: Packet analysis {"connection_id":185245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:28:53] local.INFO: Extracted packet for processing {"connection_id":185245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":185245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:28:53] local.INFO: GPS data processed {"connection_id":185245,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:28:53] local.INFO: Acknowledgment sent {"connection_id":185245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:28:57] local.INFO: TCP Data received {"connection_id":187874,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187874,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:28:57] local.INFO: Processing buffer {"connection_id":187874,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:28:57] local.INFO: IMEI packet received {"connection_id":187874,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":187874,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:29:02] local.INFO: TCP Data received {"connection_id":187874,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187874,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:29:02] local.INFO: Processing buffer {"connection_id":187874,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:29:02] local.INFO: IMEI packet received {"connection_id":187874,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":187874,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:29:03] local.INFO: TCP Data received {"connection_id":187874,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:29:03] local.INFO: Processing buffer {"connection_id":187874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:29:03] local.INFO: Packet analysis {"connection_id":187874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:29:03] local.INFO: Extracted packet for processing {"connection_id":187874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:29:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:29:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187874,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187874,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:29:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":187874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:29:03] local.INFO: GPS data processed {"connection_id":187874,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:29:03] local.INFO: Acknowledgment sent {"connection_id":187874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:29:20] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:29:20] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:29:20] local.INFO: IMEI packet received {"connection_id":186557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":186557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:29:25] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:29:25] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:29:25] local.INFO: IMEI packet received {"connection_id":186557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":186557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:29:26] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:29:26] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:29:26] local.INFO: Packet analysis {"connection_id":186557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:29:26] local.INFO: Extracted packet for processing {"connection_id":186557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:29:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:29:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":186557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:29:26] local.INFO: GPS data processed {"connection_id":186557,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:29:26] local.INFO: Acknowledgment sent {"connection_id":186557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:29:31] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:29:31] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:29:31] local.INFO: Packet analysis {"connection_id":186557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:29:31] local.INFO: Extracted packet for processing {"connection_id":186557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":186557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:29:31] local.INFO: GPS data processed {"connection_id":186557,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:29:31] local.INFO: Acknowledgment sent {"connection_id":186557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:29:34] local.INFO: TCP Data received {"connection_id":187874,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:29:34] local.INFO: Processing buffer {"connection_id":187874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:29:34] local.INFO: Packet analysis {"connection_id":187874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:29:34] local.INFO: Extracted packet for processing {"connection_id":187874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:29:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:29:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:29:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187874,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187874,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:29:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":187874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855297,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:29:34] local.INFO: GPS data processed {"connection_id":187874,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:29:34] local.INFO: Acknowledgment sent {"connection_id":187874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:29:57] local.INFO: TCP Data received {"connection_id":185131,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185131,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:29:57] local.INFO: Processing buffer {"connection_id":185131,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:29:57] local.INFO: IMEI packet received {"connection_id":185131,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":185131,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:30:02] local.INFO: TCP Data received {"connection_id":185131,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185131,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:30:02] local.INFO: Processing buffer {"connection_id":185131,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:30:02] local.INFO: IMEI packet received {"connection_id":185131,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":185131,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:30:03] local.INFO: TCP Data received {"connection_id":185131,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:30:03] local.INFO: Processing buffer {"connection_id":185131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae25f008012cf406c0070fc0d8002600a423..."} 
[2026-09-17 12:30:03] local.INFO: Packet analysis {"connection_id":185131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:30:03] local.INFO: Extracted packet for processing {"connection_id":185131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae25"} 
[2026-09-17 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":38,"angle":164,"satellites":35,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144720896001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628117000,"timestamp_ms":1789628117000,"timestamp_seconds":1789628117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae25f008"} 
[2026-09-17 12:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2920804864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094230535,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84710821095477187,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099388588032,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1482449542546983680,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3238002735,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4223615574736896,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124575542149120,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789975502991789,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136024210699803430,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,92,160,192,44,47,33,10,66,32,193,35,240,70,227,174,15,4,113,205,242,11,248,38,239,1,49,2,116,7,162,23,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 12:30:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233965868226707456,"timestamp_seconds":2233965868226707.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144720896001,"66":12743,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144720896001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:30:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144720896001,"power":12743,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":185131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855298,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:30:03] local.INFO: GPS data processed {"connection_id":185131,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:30:03] local.INFO: Acknowledgment sent {"connection_id":185131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:30:15] local.INFO: TCP Data received {"connection_id":185246,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:30:15] local.INFO: Processing buffer {"connection_id":185246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:30:15] local.INFO: IMEI packet received {"connection_id":185246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":185246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:30:20] local.INFO: TCP Data received {"connection_id":185246,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:30:20] local.INFO: Processing buffer {"connection_id":185246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:30:20] local.INFO: IMEI packet received {"connection_id":185246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":185246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:30:22] local.INFO: TCP Data received {"connection_id":185246,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:30:22] local.INFO: Processing buffer {"connection_id":185246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:30:22] local.INFO: Packet analysis {"connection_id":185246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:30:22] local.INFO: Extracted packet for processing {"connection_id":185246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:30:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":185246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:30:22] local.INFO: GPS data processed {"connection_id":185246,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:30:22] local.INFO: Acknowledgment sent {"connection_id":185246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:30:26] local.INFO: TCP Data received {"connection_id":185246,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:30:26] local.INFO: Processing buffer {"connection_id":185246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:30:26] local.INFO: Packet analysis {"connection_id":185246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:30:26] local.INFO: Extracted packet for processing {"connection_id":185246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:30:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:30:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":185246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:30:26] local.INFO: GPS data processed {"connection_id":185246,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:30:26] local.INFO: Acknowledgment sent {"connection_id":185246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:30:34] local.INFO: TCP Data received {"connection_id":185131,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2a87d0012cf406c0070fc0d8001c00a41f..."} 
[2026-09-17 12:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2a87d0012cf406c0070fc0d8001c00a41f..."} 
[2026-09-17 12:30:34] local.INFO: Processing buffer {"connection_id":185131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2a87d0012cf406c0070fc0d8001c00a41f..."} 
[2026-09-17 12:30:34] local.INFO: Packet analysis {"connection_id":185131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:30:34] local.INFO: Extracted packet for processing {"connection_id":185131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:30:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":28,"angle":164,"satellites":31,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144797952001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628418000,"timestamp_ms":1789628418000,"timestamp_seconds":1789628418,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2a87d0"} 
[2026-09-17 12:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-17 12:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144797952001,"66":12798,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144797952001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:30:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144797952001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":185131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855301,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:30:34] local.INFO: GPS data processed {"connection_id":185131,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:30:34] local.INFO: Acknowledgment sent {"connection_id":185131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:30:57] local.INFO: TCP Data received {"connection_id":187875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187875,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:30:57] local.INFO: Processing buffer {"connection_id":187875,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:30:57] local.INFO: IMEI packet received {"connection_id":187875,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":187875,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:30:57] local.INFO: TCP Data received {"connection_id":185246,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:30:57] local.INFO: Processing buffer {"connection_id":185246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:30:57] local.INFO: Packet analysis {"connection_id":185246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:30:57] local.INFO: Extracted packet for processing {"connection_id":185246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:30:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:30:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":185246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:30:57] local.INFO: GPS data processed {"connection_id":185246,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:30:57] local.INFO: Acknowledgment sent {"connection_id":185246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:31:02] local.INFO: TCP Data received {"connection_id":187875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187875,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:31:02] local.INFO: Processing buffer {"connection_id":187875,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:31:02] local.INFO: IMEI packet received {"connection_id":187875,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":187875,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:31:03] local.INFO: TCP Data received {"connection_id":187875,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2abe80012cf406c0070fc0d8001c00a420..."} 
[2026-09-17 12:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2abe80012cf406c0070fc0d8001c00a420..."} 
[2026-09-17 12:31:03] local.INFO: Processing buffer {"connection_id":187875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2abe80012cf406c0070fc0d8001c00a420..."} 
[2026-09-17 12:31:03] local.INFO: Packet analysis {"connection_id":187875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:31:03] local.INFO: Extracted packet for processing {"connection_id":187875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:31:03] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":28,"angle":164,"satellites":32,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144875008001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628432000,"timestamp_ms":1789628432000,"timestamp_seconds":1789628432,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2abe80"} 
[2026-09-17 12:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 12:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187875,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187875,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144875008001,"66":12722,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144875008001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:31:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:31:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144875008001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":187875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855303,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:31:03] local.INFO: GPS data processed {"connection_id":187875,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:31:03] local.INFO: Acknowledgment sent {"connection_id":187875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:31:15] local.INFO: TCP Data received {"connection_id":187876,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:31:15] local.INFO: Processing buffer {"connection_id":187876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:31:15] local.INFO: IMEI packet received {"connection_id":187876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":187876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:31:20] local.INFO: TCP Data received {"connection_id":187876,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:31:20] local.INFO: Processing buffer {"connection_id":187876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:31:20] local.INFO: IMEI packet received {"connection_id":187876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":187876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:31:21] local.INFO: TCP Data received {"connection_id":187876,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:31:21] local.INFO: Processing buffer {"connection_id":187876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:31:21] local.INFO: Packet analysis {"connection_id":187876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:31:21] local.INFO: Extracted packet for processing {"connection_id":187876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":187876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:31:21] local.INFO: GPS data processed {"connection_id":187876,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:31:21] local.INFO: Acknowledgment sent {"connection_id":187876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:31:34] local.INFO: TCP Data received {"connection_id":187875,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2abe80012cf406c0070fc0d8001c00a420..."} 
[2026-09-17 12:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2abe80012cf406c0070fc0d8001c00a420..."} 
[2026-09-17 12:31:34] local.INFO: Processing buffer {"connection_id":187875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2abe80012cf406c0070fc0d8001c00a420..."} 
[2026-09-17 12:31:34] local.INFO: Packet analysis {"connection_id":187875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:31:34] local.INFO: Extracted packet for processing {"connection_id":187875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:31:34] local.INFO: GPS Element Parsed {"raw_longitude":754190016,"raw_latitude":118472920,"longitude_deg":75.4190016,"latitude_deg":11.847292,"altitude":28,"angle":164,"satellites":32,"speed":0,"hex_longitude":"2cf406c0","hex_latitude":"070fc0d8","is_valid_coordinates":true} 
[2026-09-17 12:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144878592001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628432000,"timestamp_ms":1789628432000,"timestamp_seconds":1789628432,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2abe80"} 
[2026-09-17 12:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187875,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187875,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144878592001,"66":12722,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144878592001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:31:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:31:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144878592001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":187875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855305,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:31:34] local.INFO: GPS data processed {"connection_id":187875,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:31:34] local.INFO: Acknowledgment sent {"connection_id":187875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:31:53] local.INFO: TCP Data received {"connection_id":187876,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:31:53] local.INFO: Processing buffer {"connection_id":187876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:31:53] local.INFO: Packet analysis {"connection_id":187876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:31:53] local.INFO: Extracted packet for processing {"connection_id":187876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":187876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:31:53] local.INFO: GPS data processed {"connection_id":187876,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:31:53] local.INFO: Acknowledgment sent {"connection_id":187876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:32:02] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:32:02] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:32:02] local.INFO: IMEI packet received {"connection_id":186558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":186558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:32:07] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:32:07] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:32:07] local.INFO: IMEI packet received {"connection_id":186558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":186558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:32:08] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2ace20012cf40840070fc858001c01551e..."} 
[2026-09-17 12:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2ace20012cf40840070fc858001c01551e..."} 
[2026-09-17 12:32:08] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2ace20012cf40840070fc858001c01551e..."} 
[2026-09-17 12:32:08] local.INFO: Packet analysis {"connection_id":186558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:32:08] local.INFO: Extracted packet for processing {"connection_id":186558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:32:08] local.INFO: GPS Element Parsed {"raw_longitude":754190400,"raw_latitude":118474840,"longitude_deg":75.41904,"latitude_deg":11.847484,"altitude":28,"angle":341,"satellites":30,"speed":0,"hex_longitude":"2cf40840","hex_latitude":"070fc858","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144878592001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752351152439296,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862791142033270784,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789628436000,"timestamp_ms":1789628436000,"timestamp_seconds":1789628436,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2ace20"} 
[2026-09-17 12:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144878592001,"66":11961,"216":206,"83":41472,"24":0,"16":32752351152439296,"44":-862791142033270784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144878592001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:32:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:32:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752351152439296,"km_value":32752351152439.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:32:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862791142033270784,"description":"Unknown IO ID 44"} 
[2026-09-17 12:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144878592001,"power":11961,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862791142033270784}} 
[2026-09-17 12:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":186558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855307,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:32:08] local.INFO: GPS data processed {"connection_id":186558,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:32:08] local.INFO: Acknowledgment sent {"connection_id":186558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:32:13] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:32:13] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:32:13] local.INFO: Packet analysis {"connection_id":186558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:32:13] local.INFO: Extracted packet for processing {"connection_id":186558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:32:13] local.INFO: GPS Element Parsed {"raw_longitude":754189888,"raw_latitude":118474080,"longitude_deg":75.4189888,"latitude_deg":11.847408,"altitude":18,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2cf40640","hex_latitude":"070fc560","is_valid_coordinates":true} 
[2026-09-17 12:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144879616001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862368929567713280,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789628447000,"timestamp_ms":1789628447000,"timestamp_seconds":1789628447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2af918"} 
[2026-09-17 12:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 12:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:32: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-09-17 12:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144879616001,"66":11906,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862368929567713280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144879616001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:32:13] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862368929567713280,"description":"Unknown IO ID 44"} 
[2026-09-17 12:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144879616001,"power":11906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862368929567713280}} 
[2026-09-17 12:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":186558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855308,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:32:13] local.INFO: GPS data processed {"connection_id":186558,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:32:13] local.INFO: Acknowledgment sent {"connection_id":186558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:32:16] local.INFO: TCP Data received {"connection_id":185132,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:32:16] local.INFO: Processing buffer {"connection_id":185132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:32:16] local.INFO: IMEI packet received {"connection_id":185132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":185132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:32:20] local.INFO: TCP Data received {"connection_id":185132,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:32:20] local.INFO: Processing buffer {"connection_id":185132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:32:20] local.INFO: IMEI packet received {"connection_id":185132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":185132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:32:21] local.INFO: TCP Data received {"connection_id":185132,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:32:21] local.INFO: Processing buffer {"connection_id":185132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:32:21] local.INFO: Packet analysis {"connection_id":185132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:32:21] local.INFO: Extracted packet for processing {"connection_id":185132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:32:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":185132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:32:21] local.INFO: GPS data processed {"connection_id":185132,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:32:21] local.INFO: Acknowledgment sent {"connection_id":185132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:32:53] local.INFO: TCP Data received {"connection_id":185132,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:32:53] local.INFO: Processing buffer {"connection_id":185132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae27cc98012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:32:53] local.INFO: Packet analysis {"connection_id":185132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:32:53] local.INFO: Extracted packet for processing {"connection_id":185132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae27"} 
[2026-09-17 12:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144752128001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628239000,"timestamp_ms":1789628239000,"timestamp_seconds":1789628239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae27cc98"} 
[2026-09-17 12:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144752128001,"66":25451,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144752128001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144752128001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":185132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:32:53] local.INFO: GPS data processed {"connection_id":185132,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:32:53] local.INFO: Acknowledgment sent {"connection_id":185132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:32:57] local.INFO: TCP Data received {"connection_id":185133,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:32:57] local.INFO: Processing buffer {"connection_id":185133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:32:57] local.INFO: IMEI packet received {"connection_id":185133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":185133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:33:02] local.INFO: TCP Data received {"connection_id":185133,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:33:02] local.INFO: Processing buffer {"connection_id":185133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:33:02] local.INFO: IMEI packet received {"connection_id":185133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":185133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:33:03] local.INFO: TCP Data received {"connection_id":185133,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:33:03] local.INFO: Processing buffer {"connection_id":185133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:33:03] local.INFO: Packet analysis {"connection_id":185133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:33:03] local.INFO: Extracted packet for processing {"connection_id":185133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:33:03] local.INFO: GPS Element Parsed {"raw_longitude":754189888,"raw_latitude":118474080,"longitude_deg":75.4189888,"latitude_deg":11.847408,"altitude":18,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2cf40640","hex_latitude":"070fc560","is_valid_coordinates":true} 
[2026-09-17 12:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628447000,"timestamp_ms":1789628447000,"timestamp_seconds":1789628447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2af918"} 
[2026-09-17 12:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":11906,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:33:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":11906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":185133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:33:03] local.INFO: GPS data processed {"connection_id":185133,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:33:03] local.INFO: Acknowledgment sent {"connection_id":185133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:33:10] local.INFO: TCP Data received {"connection_id":187878,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:33:10] local.INFO: Processing buffer {"connection_id":187878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:33:10] local.INFO: IMEI packet received {"connection_id":187878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":187878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:33:15] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:33:15] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:33:15] local.INFO: IMEI packet received {"connection_id":186559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:33:20] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:33:20] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:33:20] local.INFO: IMEI packet received {"connection_id":186559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":186559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:33:21] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:33:21] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:33:21] local.INFO: Packet analysis {"connection_id":186559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:33:21] local.INFO: Extracted packet for processing {"connection_id":186559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:33:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:33:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":186559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:33:21] local.INFO: GPS data processed {"connection_id":186559,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:33:21] local.INFO: Acknowledgment sent {"connection_id":186559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:33:35] local.INFO: TCP Data received {"connection_id":185133,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:33:35] local.INFO: Processing buffer {"connection_id":185133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:33:35] local.INFO: Packet analysis {"connection_id":185133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:33:35] local.INFO: Extracted packet for processing {"connection_id":185133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:33:35] local.INFO: GPS Element Parsed {"raw_longitude":754189888,"raw_latitude":118474080,"longitude_deg":75.4189888,"latitude_deg":11.847408,"altitude":18,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2cf40640","hex_latitude":"070fc560","is_valid_coordinates":true} 
[2026-09-17 12:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789628447000,"timestamp_ms":1789628447000,"timestamp_seconds":1789628447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2af918"} 
[2026-09-17 12:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":11906,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:33:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:33:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":11906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":185133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855313,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:33:35] local.INFO: GPS data processed {"connection_id":185133,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:33:35] local.INFO: Acknowledgment sent {"connection_id":185133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:33:52] local.INFO: TCP Data received {"connection_id":187879,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:33:52] local.INFO: Processing buffer {"connection_id":187879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:33:52] local.INFO: IMEI packet received {"connection_id":187879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":187879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:33:53] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:33:53] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:33:53] local.INFO: Packet analysis {"connection_id":186559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:33:53] local.INFO: Extracted packet for processing {"connection_id":186559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":186559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:33:53] local.INFO: GPS data processed {"connection_id":186559,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:33:53] local.INFO: Acknowledgment sent {"connection_id":186559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:33:57] local.INFO: TCP Data received {"connection_id":185248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185248,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:33:57] local.INFO: Processing buffer {"connection_id":185248,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:33:57] local.INFO: IMEI packet received {"connection_id":185248,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":185248,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:34:02] local.INFO: TCP Data received {"connection_id":185248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185248,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:34:02] local.INFO: Processing buffer {"connection_id":185248,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:34:02] local.INFO: IMEI packet received {"connection_id":185248,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":185248,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:34:03] local.INFO: TCP Data received {"connection_id":185248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:34:03] local.INFO: Processing buffer {"connection_id":185248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:34:03] local.INFO: Packet analysis {"connection_id":185248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:34:03] local.INFO: Extracted packet for processing {"connection_id":185248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:34:03] local.INFO: GPS Element Parsed {"raw_longitude":754189888,"raw_latitude":118474080,"longitude_deg":75.4189888,"latitude_deg":11.847408,"altitude":18,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2cf40640","hex_latitude":"070fc560","is_valid_coordinates":true} 
[2026-09-17 12:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628447000,"timestamp_ms":1789628447000,"timestamp_seconds":1789628447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2af918"} 
[2026-09-17 12:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":11906,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:34:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":11906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":185248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855315,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:34:03] local.INFO: GPS data processed {"connection_id":185248,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:34:03] local.INFO: Acknowledgment sent {"connection_id":185248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:34:15] local.INFO: TCP Data received {"connection_id":187880,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:34:15] local.INFO: Processing buffer {"connection_id":187880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:34:15] local.INFO: IMEI packet received {"connection_id":187880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":187880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:34:20] local.INFO: TCP Data received {"connection_id":187880,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:34:20] local.INFO: Processing buffer {"connection_id":187880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:34:20] local.INFO: IMEI packet received {"connection_id":187880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":187880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:34:21] local.INFO: TCP Data received {"connection_id":187880,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:34:21] local.INFO: Processing buffer {"connection_id":187880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:34:21] local.INFO: Packet analysis {"connection_id":187880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:34:21] local.INFO: Extracted packet for processing {"connection_id":187880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":187880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:34:21] local.INFO: GPS data processed {"connection_id":187880,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:34:21] local.INFO: Acknowledgment sent {"connection_id":187880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:34:34] local.INFO: TCP Data received {"connection_id":185248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:34:34] local.INFO: Processing buffer {"connection_id":185248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:34:34] local.INFO: Packet analysis {"connection_id":185248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:34:34] local.INFO: Extracted packet for processing {"connection_id":185248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:34:34] local.INFO: GPS Element Parsed {"raw_longitude":754189888,"raw_latitude":118474080,"longitude_deg":75.4189888,"latitude_deg":11.847408,"altitude":18,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2cf40640","hex_latitude":"070fc560","is_valid_coordinates":true} 
[2026-09-17 12:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628447000,"timestamp_ms":1789628447000,"timestamp_seconds":1789628447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2af918"} 
[2026-09-17 12:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185248,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":11906,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:34:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":11906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":185248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:34:34] local.INFO: GPS data processed {"connection_id":185248,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:34:34] local.INFO: Acknowledgment sent {"connection_id":185248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:34:53] local.INFO: TCP Data received {"connection_id":187880,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:34:53] local.INFO: Processing buffer {"connection_id":187880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:34:53] local.INFO: Packet analysis {"connection_id":187880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:34:53] local.INFO: Extracted packet for processing {"connection_id":187880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":187880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:34:53] local.INFO: GPS data processed {"connection_id":187880,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:34:53] local.INFO: Acknowledgment sent {"connection_id":187880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:34:57] local.INFO: TCP Data received {"connection_id":185249,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:34:57] local.INFO: Processing buffer {"connection_id":185249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:34:57] local.INFO: IMEI packet received {"connection_id":185249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":185249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:35:02] local.INFO: TCP Data received {"connection_id":185249,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:35:02] local.INFO: Processing buffer {"connection_id":185249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:35:02] local.INFO: IMEI packet received {"connection_id":185249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":185249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:35:03] local.INFO: TCP Data received {"connection_id":185249,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:35:03] local.INFO: Processing buffer {"connection_id":185249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:35:03] local.INFO: Packet analysis {"connection_id":185249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:35:03] local.INFO: Extracted packet for processing {"connection_id":185249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:35:03] local.INFO: GPS Element Parsed {"raw_longitude":754189888,"raw_latitude":118474080,"longitude_deg":75.4189888,"latitude_deg":11.847408,"altitude":18,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2cf40640","hex_latitude":"070fc560","is_valid_coordinates":true} 
[2026-09-17 12:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628447000,"timestamp_ms":1789628447000,"timestamp_seconds":1789628447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2af918"} 
[2026-09-17 12:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":11906,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:35:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:35:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":11906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":185249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855319,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:35:03] local.INFO: GPS data processed {"connection_id":185249,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:35:03] local.INFO: Acknowledgment sent {"connection_id":185249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:35:21] local.INFO: TCP Data received {"connection_id":187881,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:35:21] local.INFO: Processing buffer {"connection_id":187881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:35:21] local.INFO: IMEI packet received {"connection_id":187881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":187881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:35:25] local.INFO: TCP Data received {"connection_id":187881,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:35:25] local.INFO: Processing buffer {"connection_id":187881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:35:25] local.INFO: IMEI packet received {"connection_id":187881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":187881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:35:26] local.INFO: TCP Data received {"connection_id":187881,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:35:26] local.INFO: Processing buffer {"connection_id":187881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:35:26] local.INFO: Packet analysis {"connection_id":187881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:35:26] local.INFO: Extracted packet for processing {"connection_id":187881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:35:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":187881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:35:26] local.INFO: GPS data processed {"connection_id":187881,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:35:26] local.INFO: Acknowledgment sent {"connection_id":187881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:35:31] local.INFO: TCP Data received {"connection_id":187881,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:35:31] local.INFO: Processing buffer {"connection_id":187881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:35:31] local.INFO: Packet analysis {"connection_id":187881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:35:31] local.INFO: Extracted packet for processing {"connection_id":187881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":187881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:35:31] local.INFO: GPS data processed {"connection_id":187881,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:35:31] local.INFO: Acknowledgment sent {"connection_id":187881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:35:34] local.INFO: TCP Data received {"connection_id":185249,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:35:34] local.INFO: Processing buffer {"connection_id":185249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2af918012cf40640070fc560001200981c..."} 
[2026-09-17 12:35:34] local.INFO: Packet analysis {"connection_id":185249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:35:34] local.INFO: Extracted packet for processing {"connection_id":185249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2a"} 
[2026-09-17 12:35:34] local.INFO: GPS Element Parsed {"raw_longitude":754189888,"raw_latitude":118474080,"longitude_deg":75.4189888,"latitude_deg":11.847408,"altitude":18,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2cf40640","hex_latitude":"070fc560","is_valid_coordinates":true} 
[2026-09-17 12:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628447000,"timestamp_ms":1789628447000,"timestamp_seconds":1789628447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2af918"} 
[2026-09-17 12:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":11906,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:35:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:35:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":11906,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":185249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855322,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:35:34] local.INFO: GPS data processed {"connection_id":185249,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:35:34] local.INFO: Acknowledgment sent {"connection_id":185249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:35:57] local.INFO: TCP Data received {"connection_id":187883,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187883,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:35:57] local.INFO: Processing buffer {"connection_id":187883,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:35:57] local.INFO: IMEI packet received {"connection_id":187883,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":187883,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:36:02] local.INFO: TCP Data received {"connection_id":187883,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187883,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:36:02] local.INFO: Processing buffer {"connection_id":187883,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:36:02] local.INFO: IMEI packet received {"connection_id":187883,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":187883,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:36:03] local.INFO: TCP Data received {"connection_id":187883,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:36:03] local.INFO: Processing buffer {"connection_id":187883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:36:03] local.INFO: Packet analysis {"connection_id":187883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:36:03] local.INFO: Extracted packet for processing {"connection_id":187883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:36:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:36:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":187883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:36:03] local.INFO: GPS data processed {"connection_id":187883,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:36:03] local.INFO: Acknowledgment sent {"connection_id":187883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:36:15] local.INFO: TCP Data received {"connection_id":185134,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:36:15] local.INFO: Processing buffer {"connection_id":185134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:36:15] local.INFO: IMEI packet received {"connection_id":185134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":185134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:36:20] local.INFO: TCP Data received {"connection_id":185134,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:36:20] local.INFO: Processing buffer {"connection_id":185134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:36:20] local.INFO: IMEI packet received {"connection_id":185134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":185134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:36:21] local.INFO: TCP Data received {"connection_id":185134,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:36:21] local.INFO: Processing buffer {"connection_id":185134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:36:21] local.INFO: Packet analysis {"connection_id":185134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:36:21] local.INFO: Extracted packet for processing {"connection_id":185134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":185134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:36:21] local.INFO: GPS data processed {"connection_id":185134,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:36:21] local.INFO: Acknowledgment sent {"connection_id":185134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:36:34] local.INFO: TCP Data received {"connection_id":187883,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:36:34] local.INFO: Processing buffer {"connection_id":187883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:36:34] local.INFO: Packet analysis {"connection_id":187883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:36:34] local.INFO: Extracted packet for processing {"connection_id":187883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:36:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:36:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":187883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:36:34] local.INFO: GPS data processed {"connection_id":187883,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:36:34] local.INFO: Acknowledgment sent {"connection_id":187883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:36:53] local.INFO: TCP Data received {"connection_id":185134,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:36:53] local.INFO: Processing buffer {"connection_id":185134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:36:53] local.INFO: Packet analysis {"connection_id":185134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:36:53] local.INFO: Extracted packet for processing {"connection_id":185134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":185134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:36:53] local.INFO: GPS data processed {"connection_id":185134,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:36:53] local.INFO: Acknowledgment sent {"connection_id":185134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:36:57] local.INFO: TCP Data received {"connection_id":185250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185250,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:36:57] local.INFO: Processing buffer {"connection_id":185250,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:36:57] local.INFO: IMEI packet received {"connection_id":185250,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":185250,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:37:02] local.INFO: TCP Data received {"connection_id":185250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185250,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:37:02] local.INFO: Processing buffer {"connection_id":185250,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:37:02] local.INFO: IMEI packet received {"connection_id":185250,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":185250,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:37:03] local.INFO: TCP Data received {"connection_id":185250,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:37:03] local.INFO: Processing buffer {"connection_id":185250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:37:03] local.INFO: Packet analysis {"connection_id":185250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:37:03] local.INFO: Extracted packet for processing {"connection_id":185250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:37:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:37:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":185250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855327,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:37:03] local.INFO: GPS data processed {"connection_id":185250,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:37:03] local.INFO: Acknowledgment sent {"connection_id":185250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:37:19] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:37:19] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:37:19] local.INFO: IMEI packet received {"connection_id":186562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":186562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:37:20] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:37:20] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:37:20] local.INFO: IMEI packet received {"connection_id":186562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":186562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:37:22] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:37:22] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:37:22] local.INFO: Packet analysis {"connection_id":186562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:37:22] local.INFO: Extracted packet for processing {"connection_id":186562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:37:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:37:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":186562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:37:22] local.INFO: GPS data processed {"connection_id":186562,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:37:22] local.INFO: Acknowledgment sent {"connection_id":186562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:37:28] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:37:28] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:37:28] local.INFO: Packet analysis {"connection_id":186562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:37:28] local.INFO: Extracted packet for processing {"connection_id":186562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:37:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:37:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":186562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:37:28] local.INFO: GPS data processed {"connection_id":186562,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:37:28] local.INFO: Acknowledgment sent {"connection_id":186562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:37:34] local.INFO: TCP Data received {"connection_id":185250,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:37:34] local.INFO: Processing buffer {"connection_id":185250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:37:34] local.INFO: Packet analysis {"connection_id":185250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:37:34] local.INFO: Extracted packet for processing {"connection_id":185250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:37:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:37:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:37:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":185250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:37:34] local.INFO: GPS data processed {"connection_id":185250,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:37:34] local.INFO: Acknowledgment sent {"connection_id":185250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:38:00] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:38:00] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2c6460012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:38:00] local.INFO: Packet analysis {"connection_id":186562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:38:00] local.INFO: Extracted packet for processing {"connection_id":186562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2c"} 
[2026-09-17 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789628540000,"timestamp_ms":1789628540000,"timestamp_seconds":1789628540,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2c6460"} 
[2026-09-17 12:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 12:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144829184001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:38:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144829184001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":186562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:38:00] local.INFO: GPS data processed {"connection_id":186562,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:38:00] local.INFO: Acknowledgment sent {"connection_id":186562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:38:02] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:38:02] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:38:02] local.INFO: IMEI packet received {"connection_id":186563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":186563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:38:07] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:38:07] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:38:07] local.INFO: IMEI packet received {"connection_id":186563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":186563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:38:08] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:38:08] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:38:08] local.INFO: Packet analysis {"connection_id":186563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:38:08] local.INFO: Extracted packet for processing {"connection_id":186563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:38:08] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:38:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":186563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:38:08] local.INFO: GPS data processed {"connection_id":186563,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:38:08] local.INFO: Acknowledgment sent {"connection_id":186563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:38:12] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:38:12] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:38:12] local.INFO: Packet analysis {"connection_id":186563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:38:12] local.INFO: Extracted packet for processing {"connection_id":186563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:38:12] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:38:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":186563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855333,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:38:13] local.INFO: GPS data processed {"connection_id":186563,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:38:13] local.INFO: Acknowledgment sent {"connection_id":186563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:38:15] local.INFO: TCP Data received {"connection_id":185252,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:38:15] local.INFO: Processing buffer {"connection_id":185252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:38:15] local.INFO: IMEI packet received {"connection_id":185252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":185252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:38:20] local.INFO: TCP Data received {"connection_id":185252,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:38:20] local.INFO: Processing buffer {"connection_id":185252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:38:20] local.INFO: IMEI packet received {"connection_id":185252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":185252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:38:21] local.INFO: TCP Data received {"connection_id":185252,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:38:21] local.INFO: Processing buffer {"connection_id":185252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:38:21] local.INFO: Packet analysis {"connection_id":185252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:38:21] local.INFO: Extracted packet for processing {"connection_id":185252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:38:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:38:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":185252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:38:21] local.INFO: GPS data processed {"connection_id":185252,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:38:21] local.INFO: Acknowledgment sent {"connection_id":185252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:38:53] local.INFO: TCP Data received {"connection_id":185252,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:38:53] local.INFO: Processing buffer {"connection_id":185252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:38:53] local.INFO: Packet analysis {"connection_id":185252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:38:53] local.INFO: Extracted packet for processing {"connection_id":185252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:38:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":185252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:38:53] local.INFO: GPS data processed {"connection_id":185252,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:38:53] local.INFO: Acknowledgment sent {"connection_id":185252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:38:57] local.INFO: TCP Data received {"connection_id":185253,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:38:57] local.INFO: Processing buffer {"connection_id":185253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:38:57] local.INFO: IMEI packet received {"connection_id":185253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":185253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:39:02] local.INFO: TCP Data received {"connection_id":185253,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:39:02] local.INFO: Processing buffer {"connection_id":185253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:39:02] local.INFO: IMEI packet received {"connection_id":185253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":185253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:39:03] local.INFO: TCP Data received {"connection_id":185253,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:39:03] local.INFO: Processing buffer {"connection_id":185253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:39:03] local.INFO: Packet analysis {"connection_id":185253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:39:03] local.INFO: Extracted packet for processing {"connection_id":185253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:39:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:39:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":185253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:39:03] local.INFO: GPS data processed {"connection_id":185253,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:39:03] local.INFO: Acknowledgment sent {"connection_id":185253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:39:07] local.INFO: TCP Data received {"connection_id":185253,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:39:07] local.INFO: Processing buffer {"connection_id":185253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:39:07] local.INFO: Packet analysis {"connection_id":185253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:39:07] local.INFO: Extracted packet for processing {"connection_id":185253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:39:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":185253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:39:07] local.INFO: GPS data processed {"connection_id":185253,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:39:07] local.INFO: Acknowledgment sent {"connection_id":185253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:39:10] local.INFO: TCP Data received {"connection_id":185135,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:39:10] local.INFO: Processing buffer {"connection_id":185135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:39:10] local.INFO: IMEI packet received {"connection_id":185135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":185135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:39:15] local.INFO: TCP Data received {"connection_id":187884,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:39:15] local.INFO: Processing buffer {"connection_id":187884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:39:15] local.INFO: IMEI packet received {"connection_id":187884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":187884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:39:20] local.INFO: TCP Data received {"connection_id":187884,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:39:20] local.INFO: Processing buffer {"connection_id":187884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:39:20] local.INFO: IMEI packet received {"connection_id":187884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":187884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:39:22] local.INFO: TCP Data received {"connection_id":187884,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:39:22] local.INFO: Processing buffer {"connection_id":187884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:39:22] local.INFO: Packet analysis {"connection_id":187884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:39:22] local.INFO: Extracted packet for processing {"connection_id":187884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:39:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:39:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:39:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":187884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:39:22] local.INFO: GPS data processed {"connection_id":187884,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:39:22] local.INFO: Acknowledgment sent {"connection_id":187884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:39:39] local.INFO: TCP Data received {"connection_id":185253,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:39:39] local.INFO: Processing buffer {"connection_id":185253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:39:39] local.INFO: Packet analysis {"connection_id":185253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:39:39] local.INFO: Extracted packet for processing {"connection_id":185253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:39:39] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:39:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:39:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:39:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":185253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855339,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:39:39] local.INFO: GPS data processed {"connection_id":185253,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:39:39] local.INFO: Acknowledgment sent {"connection_id":185253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:39:50] local.INFO: TCP Data received {"connection_id":186564,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:39:50] local.INFO: Processing buffer {"connection_id":186564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:39:50] local.INFO: IMEI packet received {"connection_id":186564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":186564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:39:53] local.INFO: TCP Data received {"connection_id":187884,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:39:53] local.INFO: Processing buffer {"connection_id":187884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:39:53] local.INFO: Packet analysis {"connection_id":187884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:39:53] local.INFO: Extracted packet for processing {"connection_id":187884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":187884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:39:53] local.INFO: GPS data processed {"connection_id":187884,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:39:53] local.INFO: Acknowledgment sent {"connection_id":187884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:39:57] local.INFO: TCP Data received {"connection_id":185254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:39:57] local.INFO: Processing buffer {"connection_id":185254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:39:57] local.INFO: IMEI packet received {"connection_id":185254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":185254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:40:02] local.INFO: TCP Data received {"connection_id":185254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:40:02] local.INFO: Processing buffer {"connection_id":185254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:40:02] local.INFO: IMEI packet received {"connection_id":185254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":185254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:40:03] local.INFO: TCP Data received {"connection_id":185254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:40:03] local.INFO: Processing buffer {"connection_id":185254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:40:03] local.INFO: Packet analysis {"connection_id":185254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:40:03] local.INFO: Extracted packet for processing {"connection_id":185254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:40:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:40:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:40:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":185254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855341,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:40:03] local.INFO: GPS data processed {"connection_id":185254,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:40:03] local.INFO: Acknowledgment sent {"connection_id":185254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:40:20] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:40:20] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:40:20] local.INFO: IMEI packet received {"connection_id":185255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":185255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:40:25] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:40:25] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:40:25] local.INFO: IMEI packet received {"connection_id":185255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":185255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:40:26] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:40:26] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:40:26] local.INFO: Packet analysis {"connection_id":185255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:40:26] local.INFO: Extracted packet for processing {"connection_id":185255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:40:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:40:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":185255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:40:26] local.INFO: GPS data processed {"connection_id":185255,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:40:26] local.INFO: Acknowledgment sent {"connection_id":185255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:40:34] local.INFO: TCP Data received {"connection_id":185254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:40:34] local.INFO: Processing buffer {"connection_id":185254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae2f98b0012cf40540070fc5800015009820..."} 
[2026-09-17 12:40:34] local.INFO: Packet analysis {"connection_id":185254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:40:34] local.INFO: Extracted packet for processing {"connection_id":185254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae2f"} 
[2026-09-17 12:40:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":21,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144882432001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-862931879521329152,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789628750000,"timestamp_ms":1789628750000,"timestamp_seconds":1789628750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae2f98b0"} 
[2026-09-17 12:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-17 12:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144882432001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-862931879521329152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144882432001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:40:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:40:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-862931879521329152,"description":"Unknown IO ID 44"} 
[2026-09-17 12:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144882432001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-862931879521329152}} 
[2026-09-17 12:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":185254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855343,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:40:34] local.INFO: GPS data processed {"connection_id":185254,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:40:34] local.INFO: Acknowledgment sent {"connection_id":185254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:40:57] local.INFO: TCP Data received {"connection_id":187885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187885,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:40:57] local.INFO: Processing buffer {"connection_id":187885,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:40:57] local.INFO: IMEI packet received {"connection_id":187885,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":187885,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:40:58] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:40:58] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:40:58] local.INFO: Packet analysis {"connection_id":185255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:40:58] local.INFO: Extracted packet for processing {"connection_id":185255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:40:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:40:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":185255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:40:58] local.INFO: GPS data processed {"connection_id":185255,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:40:58] local.INFO: Acknowledgment sent {"connection_id":185255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:41:02] local.INFO: TCP Data received {"connection_id":187885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187885,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:41:02] local.INFO: Processing buffer {"connection_id":187885,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:41:02] local.INFO: IMEI packet received {"connection_id":187885,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":187885,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:41:03] local.INFO: TCP Data received {"connection_id":187885,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:41:03] local.INFO: Processing buffer {"connection_id":187885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:41:03] local.INFO: Packet analysis {"connection_id":187885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:41:03] local.INFO: Extracted packet for processing {"connection_id":187885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:41:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187885,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187885,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:41:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":187885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855345,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:41:03] local.INFO: GPS data processed {"connection_id":187885,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:41:03] local.INFO: Acknowledgment sent {"connection_id":187885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:41:15] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:41:15] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:41:15] local.INFO: IMEI packet received {"connection_id":186566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":186566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:41:20] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:41:20] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:41:20] local.INFO: IMEI packet received {"connection_id":186566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":186566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:41:21] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:41:21] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:41:21] local.INFO: Packet analysis {"connection_id":186566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:41:21] local.INFO: Extracted packet for processing {"connection_id":186566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:41:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":186566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:41:21] local.INFO: GPS data processed {"connection_id":186566,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:41:21] local.INFO: Acknowledgment sent {"connection_id":186566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:41:34] local.INFO: TCP Data received {"connection_id":187885,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:41:34] local.INFO: Processing buffer {"connection_id":187885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:41:34] local.INFO: Packet analysis {"connection_id":187885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:41:34] local.INFO: Extracted packet for processing {"connection_id":187885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:41:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187885,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187885,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:41:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:41:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":187885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855347,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:41:34] local.INFO: GPS data processed {"connection_id":187885,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:41:34] local.INFO: Acknowledgment sent {"connection_id":187885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:41:53] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:41:53] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:41:53] local.INFO: Packet analysis {"connection_id":186566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:41:53] local.INFO: Extracted packet for processing {"connection_id":186566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":186566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:41:53] local.INFO: GPS data processed {"connection_id":186566,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:41:53] local.INFO: Acknowledgment sent {"connection_id":186566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:41:57] local.INFO: TCP Data received {"connection_id":186567,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:41:57] local.INFO: Processing buffer {"connection_id":186567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:41:57] local.INFO: IMEI packet received {"connection_id":186567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":186567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:42:02] local.INFO: TCP Data received {"connection_id":186567,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:42:02] local.INFO: Processing buffer {"connection_id":186567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:42:02] local.INFO: IMEI packet received {"connection_id":186567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":186567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:42:03] local.INFO: TCP Data received {"connection_id":186567,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:42:03] local.INFO: Processing buffer {"connection_id":186567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:42:03] local.INFO: Packet analysis {"connection_id":186567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:42:03] local.INFO: Extracted packet for processing {"connection_id":186567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:42:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:42:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":186567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855349,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:42:03] local.INFO: GPS data processed {"connection_id":186567,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:42:03] local.INFO: Acknowledgment sent {"connection_id":186567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:42:15] local.INFO: TCP Data received {"connection_id":185257,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:42:15] local.INFO: Processing buffer {"connection_id":185257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:42:15] local.INFO: IMEI packet received {"connection_id":185257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":185257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:42:20] local.INFO: TCP Data received {"connection_id":185257,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:42:20] local.INFO: Processing buffer {"connection_id":185257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:42:20] local.INFO: IMEI packet received {"connection_id":185257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":185257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:42:21] local.INFO: TCP Data received {"connection_id":185257,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:42:21] local.INFO: Processing buffer {"connection_id":185257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:42:21] local.INFO: Packet analysis {"connection_id":185257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:42:21] local.INFO: Extracted packet for processing {"connection_id":185257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:42:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:42:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":185257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:42:21] local.INFO: GPS data processed {"connection_id":185257,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:42:21] local.INFO: Acknowledgment sent {"connection_id":185257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:42:34] local.INFO: TCP Data received {"connection_id":186567,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:42:34] local.INFO: Processing buffer {"connection_id":186567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:42:34] local.INFO: Packet analysis {"connection_id":186567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:42:34] local.INFO: Extracted packet for processing {"connection_id":186567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:42:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:42:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":186567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:42:34] local.INFO: GPS data processed {"connection_id":186567,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:42:34] local.INFO: Acknowledgment sent {"connection_id":186567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:42:53] local.INFO: TCP Data received {"connection_id":185257,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:42:53] local.INFO: Processing buffer {"connection_id":185257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae30fc28012d34c14006aa4438000c01012b..."} 
[2026-09-17 12:42:53] local.INFO: Packet analysis {"connection_id":185257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:42:53] local.INFO: Extracted packet for processing {"connection_id":185257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae30"} 
[2026-09-17 12:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144906240001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789628841000,"timestamp_ms":1789628841000,"timestamp_seconds":1789628841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae30fc28"} 
[2026-09-17 12:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144906240001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 12:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144906240001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:42:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 12:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144906240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":185257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:42:53] local.INFO: GPS data processed {"connection_id":185257,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:42:53] local.INFO: Acknowledgment sent {"connection_id":185257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:43:02] local.INFO: TCP Data received {"connection_id":185136,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:43:02] local.INFO: Processing buffer {"connection_id":185136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:43:02] local.INFO: IMEI packet received {"connection_id":185136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":185136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:43:07] local.INFO: TCP Data received {"connection_id":185136,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:43:07] local.INFO: Processing buffer {"connection_id":185136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:43:07] local.INFO: IMEI packet received {"connection_id":185136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":185136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:43:08] local.INFO: TCP Data received {"connection_id":185136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:43:08] local.INFO: Processing buffer {"connection_id":185136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:43:08] local.INFO: Packet analysis {"connection_id":185136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:43:08] local.INFO: Extracted packet for processing {"connection_id":185136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:43:08] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:43:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:43:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":185136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855353,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:43:08] local.INFO: GPS data processed {"connection_id":185136,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:43:08] local.INFO: Acknowledgment sent {"connection_id":185136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:43:12] local.INFO: TCP Data received {"connection_id":185136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:43:12] local.INFO: Processing buffer {"connection_id":185136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:43:12] local.INFO: Packet analysis {"connection_id":185136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:43:12] local.INFO: Extracted packet for processing {"connection_id":185136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:43:12] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:43:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":185136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855354,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:43:12] local.INFO: GPS data processed {"connection_id":185136,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:43:12] local.INFO: Acknowledgment sent {"connection_id":185136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:43:15] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:43:15] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:43:15] local.INFO: IMEI packet received {"connection_id":186568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:43:20] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:43:20] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:43:20] local.INFO: IMEI packet received {"connection_id":186568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":186568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:43:21] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:43:21] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:43:21] local.INFO: Packet analysis {"connection_id":186568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:43:21] local.INFO: Extracted packet for processing {"connection_id":186568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":186568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:43:21] local.INFO: GPS data processed {"connection_id":186568,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:43:21] local.INFO: Acknowledgment sent {"connection_id":186568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:43:53] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:43:53] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:43:53] local.INFO: Packet analysis {"connection_id":186568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:43:53] local.INFO: Extracted packet for processing {"connection_id":186568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":186568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:43:53] local.INFO: GPS data processed {"connection_id":186568,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:43:53] local.INFO: Acknowledgment sent {"connection_id":186568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:43:57] local.INFO: TCP Data received {"connection_id":187887,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187887,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:43:57] local.INFO: Processing buffer {"connection_id":187887,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:43:57] local.INFO: IMEI packet received {"connection_id":187887,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":187887,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:44:02] local.INFO: TCP Data received {"connection_id":187887,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187887,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:44:02] local.INFO: Processing buffer {"connection_id":187887,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:44:02] local.INFO: IMEI packet received {"connection_id":187887,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":187887,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:44:03] local.INFO: TCP Data received {"connection_id":187887,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:44:03] local.INFO: Processing buffer {"connection_id":187887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:44:03] local.INFO: Packet analysis {"connection_id":187887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:44:03] local.INFO: Extracted packet for processing {"connection_id":187887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187887,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187887,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:44:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":187887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855357,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:44:03] local.INFO: GPS data processed {"connection_id":187887,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:44:03] local.INFO: Acknowledgment sent {"connection_id":187887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:44:21] local.INFO: TCP Data received {"connection_id":185258,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:44:21] local.INFO: Processing buffer {"connection_id":185258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:44:21] local.INFO: IMEI packet received {"connection_id":185258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":185258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:44:25] local.INFO: TCP Data received {"connection_id":185258,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:44:25] local.INFO: Processing buffer {"connection_id":185258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:44:25] local.INFO: IMEI packet received {"connection_id":185258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":185258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:44:26] local.INFO: TCP Data received {"connection_id":185258,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:44:26] local.INFO: Processing buffer {"connection_id":185258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:44:26] local.INFO: Packet analysis {"connection_id":185258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:44:26] local.INFO: Extracted packet for processing {"connection_id":185258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":185258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:44:26] local.INFO: GPS data processed {"connection_id":185258,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:44:26] local.INFO: Acknowledgment sent {"connection_id":185258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:44:31] local.INFO: TCP Data received {"connection_id":185258,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:44:31] local.INFO: Processing buffer {"connection_id":185258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:44:31] local.INFO: Packet analysis {"connection_id":185258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:44:31] local.INFO: Extracted packet for processing {"connection_id":185258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:44:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":185258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:44:31] local.INFO: GPS data processed {"connection_id":185258,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:44:31] local.INFO: Acknowledgment sent {"connection_id":185258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:44:34] local.INFO: TCP Data received {"connection_id":187887,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:44:34] local.INFO: Processing buffer {"connection_id":187887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:44:34] local.INFO: Packet analysis {"connection_id":187887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:44:34] local.INFO: Extracted packet for processing {"connection_id":187887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187887,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187887,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:44:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":187887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855360,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:44:34] local.INFO: GPS data processed {"connection_id":187887,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:44:34] local.INFO: Acknowledgment sent {"connection_id":187887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:44:57] local.INFO: TCP Data received {"connection_id":186570,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:44:57] local.INFO: Processing buffer {"connection_id":186570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:44:57] local.INFO: IMEI packet received {"connection_id":186570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":186570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:45:02] local.INFO: TCP Data received {"connection_id":186570,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:45:02] local.INFO: Processing buffer {"connection_id":186570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:45:02] local.INFO: IMEI packet received {"connection_id":186570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":186570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:45:02] local.INFO: TCP Data received {"connection_id":186570,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:45:02] local.INFO: Processing buffer {"connection_id":186570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:45:02] local.INFO: Packet analysis {"connection_id":186570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:45:02] local.INFO: Extracted packet for processing {"connection_id":186570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:45:02] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:45:02] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":186570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855361,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:45:03] local.INFO: GPS data processed {"connection_id":186570,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:45:03] local.INFO: Acknowledgment sent {"connection_id":186570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:45:07] local.INFO: TCP Data received {"connection_id":186570,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:45:07] local.INFO: Processing buffer {"connection_id":186570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:45:07] local.INFO: Packet analysis {"connection_id":186570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:45:07] local.INFO: Extracted packet for processing {"connection_id":186570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:45:07] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:45:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:45:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":186570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855362,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:45:07] local.INFO: GPS data processed {"connection_id":186570,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:45:07] local.INFO: Acknowledgment sent {"connection_id":186570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:45:15] local.INFO: TCP Data received {"connection_id":187888,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:45:15] local.INFO: Processing buffer {"connection_id":187888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:45:15] local.INFO: IMEI packet received {"connection_id":187888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":187888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:45:20] local.INFO: TCP Data received {"connection_id":186569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:45:20] local.INFO: Processing buffer {"connection_id":186569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:45:20] local.INFO: IMEI packet received {"connection_id":186569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":186569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:45:21] local.INFO: TCP Data received {"connection_id":187888,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:45:21] local.INFO: Processing buffer {"connection_id":187888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:45:21] local.INFO: IMEI packet received {"connection_id":187888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":187888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:45:25] local.INFO: TCP Data received {"connection_id":187888,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:45:25] local.INFO: Processing buffer {"connection_id":187888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:45:25] local.INFO: Packet analysis {"connection_id":187888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:45:25] local.INFO: Extracted packet for processing {"connection_id":187888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":187888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:45:25] local.INFO: GPS data processed {"connection_id":187888,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:45:25] local.INFO: Acknowledgment sent {"connection_id":187888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:45:38] local.INFO: TCP Data received {"connection_id":186570,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:45:38] local.INFO: Processing buffer {"connection_id":186570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae343078012cf40540070fc580002300981f..."} 
[2026-09-17 12:45:38] local.INFO: Packet analysis {"connection_id":186570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:45:38] local.INFO: Extracted packet for processing {"connection_id":186570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae34"} 
[2026-09-17 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144960000001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789629051000,"timestamp_ms":1789629051000,"timestamp_seconds":1789629051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae343078"} 
[2026-09-17 12:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144960000001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144960000001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:45:38] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:45:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144960000001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":186570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:45:39] local.INFO: GPS data processed {"connection_id":186570,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:45:39] local.INFO: Acknowledgment sent {"connection_id":186570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:45:50] local.INFO: TCP Data received {"connection_id":185259,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:45:50] local.INFO: Processing buffer {"connection_id":185259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:45:50] local.INFO: IMEI packet received {"connection_id":185259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":185259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:45:57] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:45:57] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:45:57] local.INFO: IMEI packet received {"connection_id":186571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":186571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:45:57] local.INFO: TCP Data received {"connection_id":187888,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:45:57] local.INFO: Processing buffer {"connection_id":187888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:45:57] local.INFO: Packet analysis {"connection_id":187888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:45:57] local.INFO: Extracted packet for processing {"connection_id":187888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:45:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:45:57] 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-09-17 12:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:45:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":187888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:45:57] local.INFO: GPS data processed {"connection_id":187888,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:45:57] local.INFO: Acknowledgment sent {"connection_id":187888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:46:02] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:46:02] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:46:02] local.INFO: IMEI packet received {"connection_id":186571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":186571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:46:03] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:46:03] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:46:03] local.INFO: Packet analysis {"connection_id":186571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:46:03] local.INFO: Extracted packet for processing {"connection_id":186571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:46:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:46:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":186571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855366,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:46:03] local.INFO: GPS data processed {"connection_id":186571,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:46:03] local.INFO: Acknowledgment sent {"connection_id":186571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:46:17] local.INFO: TCP Data received {"connection_id":185138,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:46:17] local.INFO: Processing buffer {"connection_id":185138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:46:17] local.INFO: IMEI packet received {"connection_id":185138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":185138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:46:20] local.INFO: TCP Data received {"connection_id":185138,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:46:20] local.INFO: Processing buffer {"connection_id":185138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:46:20] local.INFO: IMEI packet received {"connection_id":185138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":185138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:46:21] local.INFO: TCP Data received {"connection_id":185138,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:46:21] local.INFO: Processing buffer {"connection_id":185138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:46:21] local.INFO: Packet analysis {"connection_id":185138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:46:21] local.INFO: Extracted packet for processing {"connection_id":185138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":185138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:46:21] local.INFO: GPS data processed {"connection_id":185138,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:46:21] local.INFO: Acknowledgment sent {"connection_id":185138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:46:26] local.INFO: TCP Data received {"connection_id":185138,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:46:26] local.INFO: Processing buffer {"connection_id":185138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:46:26] local.INFO: Packet analysis {"connection_id":185138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:46:26] local.INFO: Extracted packet for processing {"connection_id":185138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:46:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":185138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:46:26] local.INFO: GPS data processed {"connection_id":185138,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:46:26] local.INFO: Acknowledgment sent {"connection_id":185138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:46:34] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:46:34] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:46:34] local.INFO: Packet analysis {"connection_id":186571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:46:34] local.INFO: Extracted packet for processing {"connection_id":186571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:46:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:46:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:46:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":186571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855369,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:46:34] local.INFO: GPS data processed {"connection_id":186571,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:46:34] local.INFO: Acknowledgment sent {"connection_id":186571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:46:57] local.INFO: TCP Data received {"connection_id":185139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:46:57] local.INFO: Processing buffer {"connection_id":185139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:46:57] local.INFO: IMEI packet received {"connection_id":185139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":185139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:46:58] local.INFO: TCP Data received {"connection_id":185138,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:46:58] local.INFO: Processing buffer {"connection_id":185138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:46:58] local.INFO: Packet analysis {"connection_id":185138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:46:58] local.INFO: Extracted packet for processing {"connection_id":185138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:46:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:46:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":185138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:46:58] local.INFO: GPS data processed {"connection_id":185138,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:46:58] local.INFO: Acknowledgment sent {"connection_id":185138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:47:02] local.INFO: TCP Data received {"connection_id":185139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:47:02] local.INFO: Processing buffer {"connection_id":185139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:47:02] local.INFO: IMEI packet received {"connection_id":185139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":185139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:47:03] local.INFO: TCP Data received {"connection_id":185139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:47:03] local.INFO: Processing buffer {"connection_id":185139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:47:03] local.INFO: Packet analysis {"connection_id":185139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:47:03] local.INFO: Extracted packet for processing {"connection_id":185139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:47:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":185139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855371,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:47:03] local.INFO: GPS data processed {"connection_id":185139,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:47:03] local.INFO: Acknowledgment sent {"connection_id":185139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:47:15] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:47:15] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:47:15] local.INFO: IMEI packet received {"connection_id":186573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":186573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:47:20] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:47:20] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:47:20] local.INFO: IMEI packet received {"connection_id":186573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":186573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:47:21] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:47:21] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:47:21] local.INFO: Packet analysis {"connection_id":186573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:47:21] local.INFO: Extracted packet for processing {"connection_id":186573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":186573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:47:21] local.INFO: GPS data processed {"connection_id":186573,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:47:21] local.INFO: Acknowledgment sent {"connection_id":186573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:47:34] local.INFO: TCP Data received {"connection_id":185139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:47:34] local.INFO: Processing buffer {"connection_id":185139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:47:34] local.INFO: Packet analysis {"connection_id":185139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:47:34] local.INFO: Extracted packet for processing {"connection_id":185139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:47:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:47:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":185139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855373,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:47:34] local.INFO: GPS data processed {"connection_id":185139,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:47:34] local.INFO: Acknowledgment sent {"connection_id":185139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:47:52] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:47:52] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3593f0012d34c14006aa4438000c010129..."} 
[2026-09-17 12:47:52] local.INFO: Packet analysis {"connection_id":186573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:47:52] local.INFO: Extracted packet for processing {"connection_id":186573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae35"} 
[2026-09-17 12:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458144983296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789629142000,"timestamp_ms":1789629142000,"timestamp_seconds":1789629142,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3593f0"} 
[2026-09-17 12:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 12:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458144983296001,"66":25549,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458144983296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458144983296001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":186573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:47:52] local.INFO: GPS data processed {"connection_id":186573,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:47:52] local.INFO: Acknowledgment sent {"connection_id":186573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:48:02] local.INFO: TCP Data received {"connection_id":187890,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187890,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:48:02] local.INFO: Processing buffer {"connection_id":187890,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:48:02] local.INFO: IMEI packet received {"connection_id":187890,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":187890,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:48:07] local.INFO: TCP Data received {"connection_id":187890,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187890,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:48:07] local.INFO: Processing buffer {"connection_id":187890,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:48:07] local.INFO: IMEI packet received {"connection_id":187890,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":187890,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:48:08] local.INFO: TCP Data received {"connection_id":187890,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:48:08] local.INFO: Processing buffer {"connection_id":187890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:48:08] local.INFO: Packet analysis {"connection_id":187890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:48:08] local.INFO: Extracted packet for processing {"connection_id":187890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:48:08] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12: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-09-17 12:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187890,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187890,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:48:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:48:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":187890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:48:08] local.INFO: GPS data processed {"connection_id":187890,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:48:08] local.INFO: Acknowledgment sent {"connection_id":187890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:48:12] local.INFO: TCP Data received {"connection_id":187890,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:48:12] local.INFO: Processing buffer {"connection_id":187890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:48:12] local.INFO: Packet analysis {"connection_id":187890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:48:12] local.INFO: Extracted packet for processing {"connection_id":187890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:48:12] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187890,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187890,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:48:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":187890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855376,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:48:12] local.INFO: GPS data processed {"connection_id":187890,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:48:12] local.INFO: Acknowledgment sent {"connection_id":187890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:48:15] local.INFO: TCP Data received {"connection_id":185140,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:48:15] local.INFO: Processing buffer {"connection_id":185140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:48:15] local.INFO: IMEI packet received {"connection_id":185140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":185140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:48:20] local.INFO: TCP Data received {"connection_id":185140,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:48:20] local.INFO: Processing buffer {"connection_id":185140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:48:20] local.INFO: IMEI packet received {"connection_id":185140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":185140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:48:21] local.INFO: TCP Data received {"connection_id":185140,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:48:21] local.INFO: Processing buffer {"connection_id":185140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:48:21] local.INFO: Packet analysis {"connection_id":185140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:48:21] local.INFO: Extracted packet for processing {"connection_id":185140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":185140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:48:21] local.INFO: GPS data processed {"connection_id":185140,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:48:21] local.INFO: Acknowledgment sent {"connection_id":185140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:48:52] local.INFO: TCP Data received {"connection_id":185140,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:48:52] local.INFO: Processing buffer {"connection_id":185140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:48:52] local.INFO: Packet analysis {"connection_id":185140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:48:52] local.INFO: Extracted packet for processing {"connection_id":185140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":185140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:48:52] local.INFO: GPS data processed {"connection_id":185140,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:48:52] local.INFO: Acknowledgment sent {"connection_id":185140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:48:57] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:48:57] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:48:57] local.INFO: IMEI packet received {"connection_id":186574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":186574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:49:02] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:49:02] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:49:02] local.INFO: IMEI packet received {"connection_id":186574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":186574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:49:03] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:49:03] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:49:03] local.INFO: Packet analysis {"connection_id":186574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:49:03] local.INFO: Extracted packet for processing {"connection_id":186574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:49:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:49:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":186574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:49:03] local.INFO: GPS data processed {"connection_id":186574,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:49:03] local.INFO: Acknowledgment sent {"connection_id":186574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:49:15] local.INFO: TCP Data received {"connection_id":185260,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:49:15] local.INFO: Processing buffer {"connection_id":185260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:49:15] local.INFO: IMEI packet received {"connection_id":185260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":185260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:49:20] local.INFO: TCP Data received {"connection_id":185260,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:49:20] local.INFO: Processing buffer {"connection_id":185260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:49:20] local.INFO: IMEI packet received {"connection_id":185260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":185260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:49:21] local.INFO: TCP Data received {"connection_id":185260,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:49:21] local.INFO: Processing buffer {"connection_id":185260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:49:21] local.INFO: Packet analysis {"connection_id":185260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:49:21] local.INFO: Extracted packet for processing {"connection_id":185260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:49:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":185260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:49:21] local.INFO: GPS data processed {"connection_id":185260,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:49:21] local.INFO: Acknowledgment sent {"connection_id":185260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:49:26] local.INFO: TCP Data received {"connection_id":185260,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:49:26] local.INFO: Processing buffer {"connection_id":185260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:49:26] local.INFO: Packet analysis {"connection_id":185260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:49:26] local.INFO: Extracted packet for processing {"connection_id":185260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:49:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":185260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:49:26] local.INFO: GPS data processed {"connection_id":185260,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:49:26] local.INFO: Acknowledgment sent {"connection_id":185260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:49:34] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:49:34] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:49:34] local.INFO: Packet analysis {"connection_id":186574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:49:34] local.INFO: Extracted packet for processing {"connection_id":186574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:49:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:49:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":186574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855382,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:49:34] local.INFO: GPS data processed {"connection_id":186574,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:49:34] local.INFO: Acknowledgment sent {"connection_id":186574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:49:57] local.INFO: TCP Data received {"connection_id":185141,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:49:57] local.INFO: Processing buffer {"connection_id":185141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:49:57] local.INFO: IMEI packet received {"connection_id":185141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":185141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:49:58] local.INFO: TCP Data received {"connection_id":185260,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:49:58] local.INFO: Processing buffer {"connection_id":185260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:49:58] local.INFO: Packet analysis {"connection_id":185260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:49:58] local.INFO: Extracted packet for processing {"connection_id":185260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:49:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":185260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:49:58] local.INFO: GPS data processed {"connection_id":185260,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:49:58] local.INFO: Acknowledgment sent {"connection_id":185260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:50:02] local.INFO: TCP Data received {"connection_id":185141,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:50:02] local.INFO: Processing buffer {"connection_id":185141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:50:02] local.INFO: IMEI packet received {"connection_id":185141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":185141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:50:03] local.INFO: TCP Data received {"connection_id":185141,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:50:03] local.INFO: Processing buffer {"connection_id":185141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:50:03] local.INFO: Packet analysis {"connection_id":185141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:50:03] local.INFO: Extracted packet for processing {"connection_id":185141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:50:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:50:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":185141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855384,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:50:03] local.INFO: GPS data processed {"connection_id":185141,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:50:03] local.INFO: Acknowledgment sent {"connection_id":185141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:50:15] local.INFO: TCP Data received {"connection_id":185261,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:50:15] local.INFO: Processing buffer {"connection_id":185261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:50:15] local.INFO: IMEI packet received {"connection_id":185261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":185261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:50:20] local.INFO: TCP Data received {"connection_id":185261,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:50:20] local.INFO: Processing buffer {"connection_id":185261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:50:20] local.INFO: IMEI packet received {"connection_id":185261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":185261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:50:21] local.INFO: TCP Data received {"connection_id":185261,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:50:21] local.INFO: Processing buffer {"connection_id":185261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:50:21] local.INFO: Packet analysis {"connection_id":185261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:50:21] local.INFO: Extracted packet for processing {"connection_id":185261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":185261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:50:21] local.INFO: GPS data processed {"connection_id":185261,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:50:21] local.INFO: Acknowledgment sent {"connection_id":185261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:50:34] local.INFO: TCP Data received {"connection_id":185141,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:50:34] local.INFO: Processing buffer {"connection_id":185141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae38c840012cf40540070fc5800023009821..."} 
[2026-09-17 12:50:34] local.INFO: Packet analysis {"connection_id":185141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:50:34] local.INFO: Extracted packet for processing {"connection_id":185141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae38"} 
[2026-09-17 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145037056001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629352000,"timestamp_ms":1789629352000,"timestamp_seconds":1789629352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae38c840"} 
[2026-09-17 12:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 12:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145037056001,"66":12809,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145037056001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:50:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145037056001,"power":12809,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":185141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:50:34] local.INFO: GPS data processed {"connection_id":185141,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:50:34] local.INFO: Acknowledgment sent {"connection_id":185141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:50:53] local.INFO: TCP Data received {"connection_id":185261,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:50:53] local.INFO: Processing buffer {"connection_id":185261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:50:53] local.INFO: Packet analysis {"connection_id":185261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:50:53] local.INFO: Extracted packet for processing {"connection_id":185261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":185261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:50:53] local.INFO: GPS data processed {"connection_id":185261,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:50:53] local.INFO: Acknowledgment sent {"connection_id":185261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:50:55] local.INFO: TCP Data received {"connection_id":185142,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185142,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:50:55] local.INFO: Processing buffer {"connection_id":185142,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:50:55] local.INFO: IMEI packet received {"connection_id":185142,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":185142,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:50:57] local.INFO: TCP Data received {"connection_id":185142,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185142,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:50:57] local.INFO: Processing buffer {"connection_id":185142,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:50:57] local.INFO: IMEI packet received {"connection_id":185142,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":185142,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:51:02] local.INFO: TCP Data received {"connection_id":185142,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185142,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:51:02] local.INFO: Processing buffer {"connection_id":185142,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:51:02] local.INFO: IMEI packet received {"connection_id":185142,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":185142,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:51:03] local.INFO: TCP Data received {"connection_id":185142,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:51:03] local.INFO: Processing buffer {"connection_id":185142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:51:03] local.INFO: Packet analysis {"connection_id":185142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:51:03] local.INFO: Extracted packet for processing {"connection_id":185142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:51:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145114112001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629653000,"timestamp_ms":1789629653000,"timestamp_seconds":1789629653,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3d6008"} 
[2026-09-17 12:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2922040864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094050311,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3080039937705510592,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3311403026,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1624768718,"corrected_to":0} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-5115863360868397485,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1135144601078768672,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,48,44,64,197,35,31,10,66,152,21,32,249,240,130,227,174,15,4,113,205,6,96,28,239,1,46,2,116,7,162,23],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1624768718,"validated":0}]} 
[2026-09-17 12:51:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522183058828820480,"timestamp_seconds":2522183058828820.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145114112001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145114112001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:51:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145114112001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":185142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855388,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:51:03] local.INFO: GPS data processed {"connection_id":185142,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:51:03] local.INFO: Acknowledgment sent {"connection_id":185142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:51:15] local.INFO: TCP Data received {"connection_id":186576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:51:15] local.INFO: Processing buffer {"connection_id":186576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:51:15] local.INFO: IMEI packet received {"connection_id":186576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":186576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:51:16] local.INFO: TCP Data received {"connection_id":185262,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:51:16] local.INFO: Processing buffer {"connection_id":185262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:51:16] local.INFO: IMEI packet received {"connection_id":185262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":185262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:51:20] local.INFO: TCP Data received {"connection_id":185262,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:51:20] local.INFO: Processing buffer {"connection_id":185262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:51:20] local.INFO: IMEI packet received {"connection_id":185262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":185262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:51:21] local.INFO: TCP Data received {"connection_id":185262,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:51:21] local.INFO: Processing buffer {"connection_id":185262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:51:21] local.INFO: Packet analysis {"connection_id":185262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:51:21] local.INFO: Extracted packet for processing {"connection_id":185262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":185262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:51:21] local.INFO: GPS data processed {"connection_id":185262,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:51:21] local.INFO: Acknowledgment sent {"connection_id":185262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:51:34] local.INFO: TCP Data received {"connection_id":185142,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:51:34] local.INFO: Processing buffer {"connection_id":185142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:51:34] local.INFO: Packet analysis {"connection_id":185142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:51:34] local.INFO: Extracted packet for processing {"connection_id":185142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:51:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145114112001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629653000,"timestamp_ms":1789629653000,"timestamp_seconds":1789629653,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3d6008"} 
[2026-09-17 12:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2922040864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094050311,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3080039937705510592,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3311403026,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1624768718,"corrected_to":0} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-5115863360868397485,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1135144601078768672,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,48,44,64,197,35,31,10,66,152,21,32,249,240,130,227,174,15,4,113,205,6,96,28,239,1,46,2,116,7,162,23],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1624768718,"validated":0}]} 
[2026-09-17 12:51:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522183058828820480,"timestamp_seconds":2522183058828820.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145114112001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145114112001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:51:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:51:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145114112001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":185142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855390,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:51:34] local.INFO: GPS data processed {"connection_id":185142,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:51:34] local.INFO: Acknowledgment sent {"connection_id":185142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:51:53] local.INFO: TCP Data received {"connection_id":185262,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:51:53] local.INFO: Processing buffer {"connection_id":185262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:51:53] local.INFO: Packet analysis {"connection_id":185262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:51:53] local.INFO: Extracted packet for processing {"connection_id":185262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":185262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:51:53] local.INFO: GPS data processed {"connection_id":185262,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:51:53] local.INFO: Acknowledgment sent {"connection_id":185262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:51:55] local.INFO: TCP Data received {"connection_id":187892,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:51:55] local.INFO: Processing buffer {"connection_id":187892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:51:55] local.INFO: IMEI packet received {"connection_id":187892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":187892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:51:57] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:51:57] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:51:57] local.INFO: IMEI packet received {"connection_id":186577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":186577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:52:02] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:52:02] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:52:02] local.INFO: IMEI packet received {"connection_id":186577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":186577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:52:03] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:52:03] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:52:03] local.INFO: Packet analysis {"connection_id":186577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:52:03] local.INFO: Extracted packet for processing {"connection_id":186577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:52:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145114112001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629653000,"timestamp_ms":1789629653000,"timestamp_seconds":1789629653,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3d6008"} 
[2026-09-17 12:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2922040864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094050311,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3080039937705510592,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3311403026,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1624768718,"corrected_to":0} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-5115863360868397485,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1135144601078768672,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,48,44,64,197,35,31,10,66,152,21,32,249,240,130,227,174,15,4,113,205,6,96,28,239,1,46,2,116,7,162,23],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1624768718,"validated":0}]} 
[2026-09-17 12:52:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522183058828820480,"timestamp_seconds":2522183058828820.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145114112001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145114112001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:52:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:52:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145114112001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":186577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855392,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:52:03] local.INFO: GPS data processed {"connection_id":186577,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:52:03] local.INFO: Acknowledgment sent {"connection_id":186577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:52:15] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:52:15] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:52:15] local.INFO: IMEI packet received {"connection_id":185263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":185263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:52:20] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:52:20] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:52:20] local.INFO: IMEI packet received {"connection_id":185263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":185263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:52:22] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:52:22] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:52:22] local.INFO: Packet analysis {"connection_id":185263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:52:22] local.INFO: Extracted packet for processing {"connection_id":185263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":185263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:52:22] local.INFO: GPS data processed {"connection_id":185263,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:52:22] local.INFO: Acknowledgment sent {"connection_id":185263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:52:34] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:52:34] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:52:34] local.INFO: Packet analysis {"connection_id":186577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:52:34] local.INFO: Extracted packet for processing {"connection_id":186577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:52:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145114112001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629653000,"timestamp_ms":1789629653000,"timestamp_seconds":1789629653,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3d6008"} 
[2026-09-17 12:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2922040864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094050311,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3080039937705510592,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3311403026,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1624768718,"corrected_to":0} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-5115863360868397485,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1135144601078768672,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,48,44,64,197,35,31,10,66,152,21,32,249,240,130,227,174,15,4,113,205,6,96,28,239,1,46,2,116,7,162,23],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1624768718,"validated":0}]} 
[2026-09-17 12:52:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522183058828820480,"timestamp_seconds":2522183058828820.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145114112001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145114112001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:52:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:52:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145114112001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":186577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855394,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:52:34] local.INFO: GPS data processed {"connection_id":186577,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:52:34] local.INFO: Acknowledgment sent {"connection_id":186577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:52:53] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:52:53] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a2bb8012d34c14006aa4438000c01012a..."} 
[2026-09-17 12:52:53] local.INFO: Packet analysis {"connection_id":185263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:52:53] local.INFO: Extracted packet for processing {"connection_id":185263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 12:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145060352001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789629443000,"timestamp_ms":1789629443000,"timestamp_seconds":1789629443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a2bb8"} 
[2026-09-17 12:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 12:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145060352001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145060352001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145060352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":185263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:52:53] local.INFO: GPS data processed {"connection_id":185263,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:52:53] local.INFO: Acknowledgment sent {"connection_id":185263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:53:03] local.INFO: TCP Data received {"connection_id":186579,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:53:03] local.INFO: Processing buffer {"connection_id":186579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:53:03] local.INFO: IMEI packet received {"connection_id":186579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":186579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:53:07] local.INFO: TCP Data received {"connection_id":186579,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:53:07] local.INFO: Processing buffer {"connection_id":186579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:53:07] local.INFO: IMEI packet received {"connection_id":186579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":186579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:53:08] local.INFO: TCP Data received {"connection_id":186579,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:53:08] local.INFO: Processing buffer {"connection_id":186579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:53:08] local.INFO: Packet analysis {"connection_id":186579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:53:08] local.INFO: Extracted packet for processing {"connection_id":186579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:53:08] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145114112001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789629653000,"timestamp_ms":1789629653000,"timestamp_seconds":1789629653,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3d6008"} 
[2026-09-17 12:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2922040864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094050311,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3080039937705510592,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3311403026,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1624768718,"corrected_to":0} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-5115863360868397485,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1135144601078768672,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,48,44,64,197,35,31,10,66,152,21,32,249,240,130,227,174,15,4,113,205,6,96,28,239,1,46,2,116,7,162,23],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1624768718,"validated":0}]} 
[2026-09-17 12:53:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522183058828820480,"timestamp_seconds":2522183058828820.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145114112001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145114112001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:53:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:53:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:53:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145114112001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":186579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855396,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:53:08] local.INFO: GPS data processed {"connection_id":186579,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:53:08] local.INFO: Acknowledgment sent {"connection_id":186579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:53:12] local.INFO: TCP Data received {"connection_id":186579,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:53:12] local.INFO: Processing buffer {"connection_id":186579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3d6008012cf40540070fc5800023009820..."} 
[2026-09-17 12:53:12] local.INFO: Packet analysis {"connection_id":186579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:53:12] local.INFO: Extracted packet for processing {"connection_id":186579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3d"} 
[2026-09-17 12:53:12] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":35,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145114112001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789629653000,"timestamp_ms":1789629653000,"timestamp_seconds":1789629653,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3d6008"} 
[2026-09-17 12:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2922040864,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094050311,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3080039937705510592,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3311403026,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1624768718,"corrected_to":0} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-5115863360868397485,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1135144601078768672,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,48,44,64,197,35,31,10,66,152,21,32,249,240,130,227,174,15,4,113,205,6,96,28,239,1,46,2,116,7,162,23],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1624768718,"validated":0}]} 
[2026-09-17 12:53:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522183058828820480,"timestamp_seconds":2522183058828820.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 12:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145114112001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145114112001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:53:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145114112001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":186579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855397,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:53:13] local.INFO: GPS data processed {"connection_id":186579,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:53:13] local.INFO: Acknowledgment sent {"connection_id":186579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:53:15] local.INFO: TCP Data received {"connection_id":185143,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:53:15] local.INFO: Processing buffer {"connection_id":185143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:53:15] local.INFO: IMEI packet received {"connection_id":185143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":185143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:53:20] local.INFO: TCP Data received {"connection_id":185143,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:53:20] local.INFO: Processing buffer {"connection_id":185143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:53:20] local.INFO: IMEI packet received {"connection_id":185143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":185143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:53:21] local.INFO: TCP Data received {"connection_id":185143,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:53:21] local.INFO: Processing buffer {"connection_id":185143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:53:21] local.INFO: Packet analysis {"connection_id":185143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:53:21] local.INFO: Extracted packet for processing {"connection_id":185143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":185143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:53:21] local.INFO: GPS data processed {"connection_id":185143,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:53:21] local.INFO: Acknowledgment sent {"connection_id":185143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:53:52] local.INFO: TCP Data received {"connection_id":185143,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:53:52] local.INFO: Processing buffer {"connection_id":185143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:53:52] local.INFO: Packet analysis {"connection_id":185143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:53:52] local.INFO: Extracted packet for processing {"connection_id":185143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":185143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:53:52] local.INFO: GPS data processed {"connection_id":185143,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:53:52] local.INFO: Acknowledgment sent {"connection_id":185143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:53:57] local.INFO: TCP Data received {"connection_id":187894,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:53:57] local.INFO: Processing buffer {"connection_id":187894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:53:57] local.INFO: IMEI packet received {"connection_id":187894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":187894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:54:02] local.INFO: TCP Data received {"connection_id":187894,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:54:02] local.INFO: Processing buffer {"connection_id":187894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:54:02] local.INFO: IMEI packet received {"connection_id":187894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":187894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:54:03] local.INFO: TCP Data received {"connection_id":187894,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae401758012cf40540070fc5800025009820..."} 
[2026-09-17 12:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae401758012cf40540070fc5800025009820..."} 
[2026-09-17 12:54:03] local.INFO: Processing buffer {"connection_id":187894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae401758012cf40540070fc5800025009820..."} 
[2026-09-17 12:54:03] local.INFO: Packet analysis {"connection_id":187894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae40"} 
[2026-09-17 12:54:03] local.INFO: Extracted packet for processing {"connection_id":187894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae40"} 
[2026-09-17 12:54:03] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":37,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145191168001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629831000,"timestamp_ms":1789629831000,"timestamp_seconds":1789629831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae401758"} 
[2026-09-17 12:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 12:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145191168001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145191168001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:54:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145191168001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":187894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:54:03] local.INFO: GPS data processed {"connection_id":187894,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:54:03] local.INFO: Acknowledgment sent {"connection_id":187894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:54:15] local.INFO: TCP Data received {"connection_id":187895,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:54:15] local.INFO: Processing buffer {"connection_id":187895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:54:15] local.INFO: IMEI packet received {"connection_id":187895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":187895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:54:20] local.INFO: TCP Data received {"connection_id":187895,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:54:20] local.INFO: Processing buffer {"connection_id":187895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:54:20] local.INFO: IMEI packet received {"connection_id":187895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":187895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:54:21] local.INFO: TCP Data received {"connection_id":187895,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:54:21] local.INFO: Processing buffer {"connection_id":187895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:54:21] local.INFO: Packet analysis {"connection_id":187895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:54:21] local.INFO: Extracted packet for processing {"connection_id":187895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":187895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:54:21] local.INFO: GPS data processed {"connection_id":187895,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:54:21] local.INFO: Acknowledgment sent {"connection_id":187895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:54:26] local.INFO: TCP Data received {"connection_id":187895,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:54:26] local.INFO: Processing buffer {"connection_id":187895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:54:26] local.INFO: Packet analysis {"connection_id":187895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:54:26] local.INFO: Extracted packet for processing {"connection_id":187895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:54:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:54:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":187895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:54:26] local.INFO: GPS data processed {"connection_id":187895,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:54:26] local.INFO: Acknowledgment sent {"connection_id":187895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:54:34] local.INFO: TCP Data received {"connection_id":187894,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae401758012cf40540070fc5800025009820..."} 
[2026-09-17 12:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae401758012cf40540070fc5800025009820..."} 
[2026-09-17 12:54:34] local.INFO: Processing buffer {"connection_id":187894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae401758012cf40540070fc5800025009820..."} 
[2026-09-17 12:54:34] local.INFO: Packet analysis {"connection_id":187894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae40"} 
[2026-09-17 12:54:34] local.INFO: Extracted packet for processing {"connection_id":187894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae40"} 
[2026-09-17 12:54:34] local.INFO: GPS Element Parsed {"raw_longitude":754189632,"raw_latitude":118474112,"longitude_deg":75.4189632,"latitude_deg":11.8474112,"altitude":37,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2cf40540","hex_latitude":"070fc580","is_valid_coordinates":true} 
[2026-09-17 12:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145236736001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629831000,"timestamp_ms":1789629831000,"timestamp_seconds":1789629831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae401758"} 
[2026-09-17 12:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 12:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145236736001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145236736001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:54:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:54:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145236736001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":187894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855403,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:54:34] local.INFO: GPS data processed {"connection_id":187894,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:54:34] local.INFO: Acknowledgment sent {"connection_id":187894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:54:57] local.INFO: TCP Data received {"connection_id":185144,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:54:57] local.INFO: Processing buffer {"connection_id":185144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:54:57] local.INFO: IMEI packet received {"connection_id":185144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":185144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:54:58] local.INFO: TCP Data received {"connection_id":187895,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:54:58] local.INFO: Processing buffer {"connection_id":187895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:54:58] local.INFO: Packet analysis {"connection_id":187895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:54:58] local.INFO: Extracted packet for processing {"connection_id":187895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:54:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:54:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":187895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:54:58] local.INFO: GPS data processed {"connection_id":187895,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:54:58] local.INFO: Acknowledgment sent {"connection_id":187895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:54:59] local.INFO: TCP Data received {"connection_id":185144,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:54:59] local.INFO: Processing buffer {"connection_id":185144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:54:59] local.INFO: IMEI packet received {"connection_id":185144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":185144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:55:02] local.INFO: TCP Data received {"connection_id":185144,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:55:02] local.INFO: Processing buffer {"connection_id":185144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:55:02] local.INFO: IMEI packet received {"connection_id":185144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":185144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:55:03] local.INFO: TCP Data received {"connection_id":185144,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae407518012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae407518012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:55:03] local.INFO: Processing buffer {"connection_id":185144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae407518012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:55:03] local.INFO: Packet analysis {"connection_id":185144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae40"} 
[2026-09-17 12:55:03] local.INFO: Extracted packet for processing {"connection_id":185144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae40"} 
[2026-09-17 12:55:03] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145236736001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863213354498031616,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629855000,"timestamp_ms":1789629855000,"timestamp_seconds":1789629855,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae407518"} 
[2026-09-17 12:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 12:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145236736001,"66":14613,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-863213354498031616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145236736001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:55:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863213354498031616,"description":"Unknown IO ID 44"} 
[2026-09-17 12:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145236736001,"power":14613,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-863213354498031616}} 
[2026-09-17 12:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":185144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855405,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:55:03] local.INFO: GPS data processed {"connection_id":185144,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:55:03] local.INFO: Acknowledgment sent {"connection_id":185144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:55:15] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:55:15] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:55:15] local.INFO: IMEI packet received {"connection_id":186581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":186581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:55:20] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:55:20] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:55:20] local.INFO: IMEI packet received {"connection_id":186581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":186581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:55:21] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:55:21] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:55:21] local.INFO: Packet analysis {"connection_id":186581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:55:21] local.INFO: Extracted packet for processing {"connection_id":186581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":186581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:55:21] local.INFO: GPS data processed {"connection_id":186581,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:55:21] local.INFO: Acknowledgment sent {"connection_id":186581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:55:34] local.INFO: TCP Data received {"connection_id":185144,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae40c720012cf40c40070fc430002500a01f..."} 
[2026-09-17 12:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae40c720012cf40c40070fc430002500a01f..."} 
[2026-09-17 12:55:34] local.INFO: Processing buffer {"connection_id":185144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae40c720012cf40c40070fc430002500a01f..."} 
[2026-09-17 12:55:34] local.INFO: Packet analysis {"connection_id":185144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae40"} 
[2026-09-17 12:55:34] local.INFO: Extracted packet for processing {"connection_id":185144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae40"} 
[2026-09-17 12:55:34] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145242880001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629876000,"timestamp_ms":1789629876000,"timestamp_seconds":1789629876,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae40c720"} 
[2026-09-17 12:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-17 12:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145242880001,"66":14613,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145242880001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:55:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 12:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145242880001,"power":14613,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 12:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":185144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855407,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:55:34] local.INFO: GPS data processed {"connection_id":185144,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:55:34] local.INFO: Acknowledgment sent {"connection_id":185144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:55:53] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:55:53] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:55:53] local.INFO: Packet analysis {"connection_id":186581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:55:53] local.INFO: Extracted packet for processing {"connection_id":186581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":186581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:55:53] local.INFO: GPS data processed {"connection_id":186581,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:55:53] local.INFO: Acknowledgment sent {"connection_id":186581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:55:57] local.INFO: TCP Data received {"connection_id":185265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:55:57] local.INFO: Processing buffer {"connection_id":185265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:55:57] local.INFO: IMEI packet received {"connection_id":185265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":185265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:56:02] local.INFO: TCP Data received {"connection_id":185265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:56:02] local.INFO: Processing buffer {"connection_id":185265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:56:02] local.INFO: IMEI packet received {"connection_id":185265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":185265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:56:03] local.INFO: TCP Data received {"connection_id":185265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae411928012cf40c40070fc430002500a01f..."} 
[2026-09-17 12:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae411928012cf40c40070fc430002500a01f..."} 
[2026-09-17 12:56:03] local.INFO: Processing buffer {"connection_id":185265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae411928012cf40c40070fc430002500a01f..."} 
[2026-09-17 12:56:03] local.INFO: Packet analysis {"connection_id":185265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae41"} 
[2026-09-17 12:56:03] local.INFO: Extracted packet for processing {"connection_id":185265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae41"} 
[2026-09-17 12:56:03] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145248256001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629897000,"timestamp_ms":1789629897000,"timestamp_seconds":1789629897,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae411928"} 
[2026-09-17 12:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-17 12:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145248256001,"66":14646,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145248256001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:56:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:56:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 12:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145248256001,"power":14646,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 12:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":185265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:56:03] local.INFO: GPS data processed {"connection_id":185265,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:56:03] local.INFO: Acknowledgment sent {"connection_id":185265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:56:15] local.INFO: TCP Data received {"connection_id":185145,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:56:15] local.INFO: Processing buffer {"connection_id":185145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:56:15] local.INFO: IMEI packet received {"connection_id":185145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":185145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:56:20] local.INFO: TCP Data received {"connection_id":185145,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:56:20] local.INFO: Processing buffer {"connection_id":185145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:56:20] local.INFO: IMEI packet received {"connection_id":185145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":185145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:56:21] local.INFO: TCP Data received {"connection_id":185145,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:56:21] local.INFO: Processing buffer {"connection_id":185145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:56:21] local.INFO: Packet analysis {"connection_id":185145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:56:21] local.INFO: Extracted packet for processing {"connection_id":185145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":185145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:56:21] local.INFO: GPS data processed {"connection_id":185145,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:56:21] local.INFO: Acknowledgment sent {"connection_id":185145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:56:34] local.INFO: TCP Data received {"connection_id":185265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae416b30012cf40c40070fc430002500a021..."} 
[2026-09-17 12:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae416b30012cf40c40070fc430002500a021..."} 
[2026-09-17 12:56:34] local.INFO: Processing buffer {"connection_id":185265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae416b30012cf40c40070fc430002500a021..."} 
[2026-09-17 12:56:34] local.INFO: Packet analysis {"connection_id":185265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae41"} 
[2026-09-17 12:56:34] local.INFO: Extracted packet for processing {"connection_id":185265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae41"} 
[2026-09-17 12:56:34] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":33,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145253632001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629918000,"timestamp_ms":1789629918000,"timestamp_seconds":1789629918,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae416b30"} 
[2026-09-17 12:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-17 12:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145253632001,"66":14613,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145253632001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:56:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:56:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 12:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145253632001,"power":14613,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 12:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":185265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:56:34] local.INFO: GPS data processed {"connection_id":185265,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:56:34] local.INFO: Acknowledgment sent {"connection_id":185265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:56:54] local.INFO: TCP Data received {"connection_id":185145,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:56:54] local.INFO: Processing buffer {"connection_id":185145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:56:54] local.INFO: Packet analysis {"connection_id":185145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:56:54] local.INFO: Extracted packet for processing {"connection_id":185145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:56:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":185145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:56:54] local.INFO: GPS data processed {"connection_id":185145,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:56:54] local.INFO: Acknowledgment sent {"connection_id":185145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:56:57] local.INFO: TCP Data received {"connection_id":185267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185267,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:56:57] local.INFO: Processing buffer {"connection_id":185267,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:56:57] local.INFO: IMEI packet received {"connection_id":185267,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":185267,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:57:02] local.INFO: TCP Data received {"connection_id":185267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185267,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:57:02] local.INFO: Processing buffer {"connection_id":185267,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:57:02] local.INFO: IMEI packet received {"connection_id":185267,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":185267,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:57:03] local.INFO: TCP Data received {"connection_id":185267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae41bd38012cf40c40070fc430002500a021..."} 
[2026-09-17 12:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae41bd38012cf40c40070fc430002500a021..."} 
[2026-09-17 12:57:03] local.INFO: Processing buffer {"connection_id":185267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae41bd38012cf40c40070fc430002500a021..."} 
[2026-09-17 12:57:03] local.INFO: Packet analysis {"connection_id":185267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae41"} 
[2026-09-17 12:57:03] local.INFO: Extracted packet for processing {"connection_id":185267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae41"} 
[2026-09-17 12:57:03] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":33,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145259008001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629939000,"timestamp_ms":1789629939000,"timestamp_seconds":1789629939,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae41bd38"} 
[2026-09-17 12:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-17 12:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145259008001,"66":14646,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145259008001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:57:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 12:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145259008001,"power":14646,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 12:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":185267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855413,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:57:03] local.INFO: GPS data processed {"connection_id":185267,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:57:03] local.INFO: Acknowledgment sent {"connection_id":185267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:57:15] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:57:15] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:57:15] local.INFO: IMEI packet received {"connection_id":186582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":186582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:57:20] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:57:20] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:57:20] local.INFO: IMEI packet received {"connection_id":186582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":186582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:57:21] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:57:21] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:57:21] local.INFO: Packet analysis {"connection_id":186582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:57:21] local.INFO: Extracted packet for processing {"connection_id":186582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":186582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:57:21] local.INFO: GPS data processed {"connection_id":186582,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:57:21] local.INFO: Acknowledgment sent {"connection_id":186582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:57:25] local.INFO: TCP Data received {"connection_id":185266,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:57:25] local.INFO: Processing buffer {"connection_id":185266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:57:25] local.INFO: IMEI packet received {"connection_id":185266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":185266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:57:34] local.INFO: TCP Data received {"connection_id":185267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae420f40012cf40c40070fc430002500a022..."} 
[2026-09-17 12:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae420f40012cf40c40070fc430002500a022..."} 
[2026-09-17 12:57:34] local.INFO: Processing buffer {"connection_id":185267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae420f40012cf40c40070fc430002500a022..."} 
[2026-09-17 12:57:34] local.INFO: Packet analysis {"connection_id":185267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:57:34] local.INFO: Extracted packet for processing {"connection_id":185267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:57:34] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":34,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145264384001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629960000,"timestamp_ms":1789629960000,"timestamp_seconds":1789629960,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae420f40"} 
[2026-09-17 12:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-17 12:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145264384001,"66":14407,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145264384001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:57:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:57:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 12:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145264384001,"power":14407,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 12:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":185267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855415,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:57:34] local.INFO: GPS data processed {"connection_id":185267,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:57:34] local.INFO: Acknowledgment sent {"connection_id":185267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:57:50] local.INFO: TCP Data received {"connection_id":187896,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:57:50] local.INFO: Processing buffer {"connection_id":187896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 12:57:50] local.INFO: IMEI packet received {"connection_id":187896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 12:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":187896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:57:53] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:57:53] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3ec380012d34c14006aa4438000c01012d..."} 
[2026-09-17 12:57:53] local.INFO: Packet analysis {"connection_id":186582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:57:53] local.INFO: Extracted packet for processing {"connection_id":186582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3e"} 
[2026-09-17 12:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145137408001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789629744000,"timestamp_ms":1789629744000,"timestamp_seconds":1789629744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3ec380"} 
[2026-09-17 12:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145137408001,"66":25473,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145137408001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145137408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":186582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:57:53] local.INFO: GPS data processed {"connection_id":186582,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:57:53] local.INFO: Acknowledgment sent {"connection_id":186582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:57:57] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:57:57] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:57:57] local.INFO: IMEI packet received {"connection_id":185268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":185268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:58:02] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:58:02] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:58:02] local.INFO: IMEI packet received {"connection_id":185268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":185268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:58:03] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:58:03] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:58:03] local.INFO: Packet analysis {"connection_id":185268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:58:03] local.INFO: Extracted packet for processing {"connection_id":185268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:58:03] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145269760001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629966000,"timestamp_ms":1789629966000,"timestamp_seconds":1789629966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4226b0"} 
[2026-09-17 12:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 12:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 12:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145269760001,"66":14635,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145269760001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:58:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:58:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 12:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145269760001,"power":14635,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 12:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":185268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:58:03] local.INFO: GPS data processed {"connection_id":185268,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:58:03] local.INFO: Acknowledgment sent {"connection_id":185268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:58:15] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:58:15] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:58:15] local.INFO: IMEI packet received {"connection_id":186583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":186583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:58:20] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:58:20] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:58:20] local.INFO: IMEI packet received {"connection_id":186583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":186583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:58:21] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:58:21] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:58:21] local.INFO: Packet analysis {"connection_id":186583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 12:58:21] local.INFO: Extracted packet for processing {"connection_id":186583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 12:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 12:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":186583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:58:21] local.INFO: GPS data processed {"connection_id":186583,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:58:21] local.INFO: Acknowledgment sent {"connection_id":186583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:58:34] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:58:34] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:58:34] local.INFO: Packet analysis {"connection_id":185268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:58:34] local.INFO: Extracted packet for processing {"connection_id":185268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:58:34] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629966000,"timestamp_ms":1789629966000,"timestamp_seconds":1789629966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4226b0"} 
[2026-09-17 12:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 12:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":14635,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:58:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:58:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 12:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":14635,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 12:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":185268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:58:34] local.INFO: GPS data processed {"connection_id":185268,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:58:34] local.INFO: Acknowledgment sent {"connection_id":185268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:58:52] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:58:52] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:58:52] local.INFO: Packet analysis {"connection_id":186583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 12:58:52] local.INFO: Extracted packet for processing {"connection_id":186583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 12:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 12:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":186583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:58:52] local.INFO: GPS data processed {"connection_id":186583,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:58:52] local.INFO: Acknowledgment sent {"connection_id":186583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:59:02] local.INFO: TCP Data received {"connection_id":187897,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187897,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:59:02] local.INFO: Processing buffer {"connection_id":187897,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:59:02] local.INFO: IMEI packet received {"connection_id":187897,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":187897,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:59:07] local.INFO: TCP Data received {"connection_id":187897,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187897,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:59:07] local.INFO: Processing buffer {"connection_id":187897,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:59:07] local.INFO: IMEI packet received {"connection_id":187897,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 12:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":187897,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:59:08] local.INFO: TCP Data received {"connection_id":187897,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:59:08] local.INFO: Processing buffer {"connection_id":187897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:59:08] local.INFO: Packet analysis {"connection_id":187897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:59:08] local.INFO: Extracted packet for processing {"connection_id":187897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:59:08] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789629966000,"timestamp_ms":1789629966000,"timestamp_seconds":1789629966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4226b0"} 
[2026-09-17 12:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12: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":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 12:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12: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-09-17 12:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187897,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187897,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":14635,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:59:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:59:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 12:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":14635,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 12:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":187897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:59:08] local.INFO: GPS data processed {"connection_id":187897,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:59:08] local.INFO: Acknowledgment sent {"connection_id":187897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:59:12] local.INFO: TCP Data received {"connection_id":187897,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:59:12] local.INFO: Processing buffer {"connection_id":187897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 12:59:12] local.INFO: Packet analysis {"connection_id":187897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:59:12] local.INFO: Extracted packet for processing {"connection_id":187897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 12:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 12:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789629966000,"timestamp_ms":1789629966000,"timestamp_seconds":1789629966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4226b0"} 
[2026-09-17 12:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 12:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187897,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187897,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 12:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 12:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 12:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":14635,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 12:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 12:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 12:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:59:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 12:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 12:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 12:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":14635,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 12:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":187897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855422,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:59:13] local.INFO: GPS data processed {"connection_id":187897,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:59:13] local.INFO: Acknowledgment sent {"connection_id":187897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:59:15] local.INFO: TCP Data received {"connection_id":187898,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:59:15] local.INFO: Processing buffer {"connection_id":187898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:59:15] local.INFO: IMEI packet received {"connection_id":187898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 12:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":187898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 12:59:20] local.INFO: TCP Data received {"connection_id":187898,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:59:20] local.INFO: Processing buffer {"connection_id":187898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 12:59:20] local.INFO: IMEI packet received {"connection_id":187898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 12:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":187898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 12:59:21] local.INFO: TCP Data received {"connection_id":187898,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:59:21] local.INFO: Processing buffer {"connection_id":187898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:59:21] local.INFO: Packet analysis {"connection_id":187898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 12:59:21] local.INFO: Extracted packet for processing {"connection_id":187898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 12:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 12:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:59:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":187898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:59:21] local.INFO: GPS data processed {"connection_id":187898,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:59:21] local.INFO: Acknowledgment sent {"connection_id":187898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:59:52] local.INFO: TCP Data received {"connection_id":187898,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:59:52] local.INFO: Processing buffer {"connection_id":187898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 12:59:52] local.INFO: Packet analysis {"connection_id":187898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 12:59:52] local.INFO: Extracted packet for processing {"connection_id":187898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 12:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 12:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 12:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 12:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 12:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 12:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 12:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 12:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 12:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 12:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 12:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 12:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 12:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 12:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 12:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 12:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 12:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 12:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 12:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 12:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 12:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 12:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 12:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 12:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 12:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 12:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 12:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":187898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 12:59:52] local.INFO: GPS data processed {"connection_id":187898,"processed":1,"errors":0,"total":1} 
[2026-09-17 12:59:52] local.INFO: Acknowledgment sent {"connection_id":187898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 12:59:57] local.INFO: TCP Data received {"connection_id":186586,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:59:57] local.INFO: Processing buffer {"connection_id":186586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 12:59:57] local.INFO: IMEI packet received {"connection_id":186586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 12:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":186586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:00:02] local.INFO: TCP Data received {"connection_id":186586,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:00:02] local.INFO: Processing buffer {"connection_id":186586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:00:02] local.INFO: IMEI packet received {"connection_id":186586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":186586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:00:03] local.INFO: TCP Data received {"connection_id":186586,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 13:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 13:00:03] local.INFO: Processing buffer {"connection_id":186586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 13:00:03] local.INFO: Packet analysis {"connection_id":186586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 13:00:03] local.INFO: Extracted packet for processing {"connection_id":186586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 13:00:03] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 13:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789629966000,"timestamp_ms":1789629966000,"timestamp_seconds":1789629966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4226b0"} 
[2026-09-17 13:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":14635,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:00:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:00:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":14635,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":186586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:00:03] local.INFO: GPS data processed {"connection_id":186586,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:00:03] local.INFO: Acknowledgment sent {"connection_id":186586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:00:15] local.INFO: TCP Data received {"connection_id":185146,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:00:15] local.INFO: Processing buffer {"connection_id":185146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:00:15] local.INFO: IMEI packet received {"connection_id":185146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":185146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:00:20] local.INFO: TCP Data received {"connection_id":185146,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:00:20] local.INFO: Processing buffer {"connection_id":185146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:00:20] local.INFO: IMEI packet received {"connection_id":185146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":185146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:00:21] local.INFO: TCP Data received {"connection_id":185146,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:00:21] local.INFO: Processing buffer {"connection_id":185146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:00:21] local.INFO: Packet analysis {"connection_id":185146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:00:21] local.INFO: Extracted packet for processing {"connection_id":185146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 13:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 13:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":185146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:00:21] local.INFO: GPS data processed {"connection_id":185146,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:00:21] local.INFO: Acknowledgment sent {"connection_id":185146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:00:34] local.INFO: TCP Data received {"connection_id":186586,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 13:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 13:00:34] local.INFO: Processing buffer {"connection_id":186586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 13:00:34] local.INFO: Packet analysis {"connection_id":186586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 13:00:34] local.INFO: Extracted packet for processing {"connection_id":186586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 13:00:34] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 13:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789629966000,"timestamp_ms":1789629966000,"timestamp_seconds":1789629966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4226b0"} 
[2026-09-17 13:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":14635,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:00:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":14635,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":186586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:00:34] local.INFO: GPS data processed {"connection_id":186586,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:00:34] local.INFO: Acknowledgment sent {"connection_id":186586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:00:40] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:00:40] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:00:40] local.INFO: IMEI packet received {"connection_id":185147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":185147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:00:41] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:00:41] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:00:41] local.INFO: IMEI packet received {"connection_id":185147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":185147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:00:45] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:00:45] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:00:45] local.INFO: IMEI packet received {"connection_id":185147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":185147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:00:45] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-09-17 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-09-17 13:00:45] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-09-17 13:00:45] local.INFO: Packet analysis {"connection_id":185147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 13:00:45] local.INFO: Extracted packet for processing {"connection_id":185147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 13:00:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 13:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:45] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 13:00:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:00:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 13:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185147,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 13:00:45] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 13:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":185147,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 13:00:45] local.ERROR: GPS data processing failed {"connection_id":185147,"error":"No valid data to process"} 
[2026-09-17 13:00:45] local.INFO: Acknowledgment sent {"connection_id":185147,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 13:00:53] local.INFO: TCP Data received {"connection_id":185146,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:00:53] local.INFO: Processing buffer {"connection_id":185146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:00:53] local.INFO: Packet analysis {"connection_id":185146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:00:53] local.INFO: Extracted packet for processing {"connection_id":185146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 13:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 13:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":185146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:00:53] local.INFO: GPS data processed {"connection_id":185146,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:00:53] local.INFO: Acknowledgment sent {"connection_id":185146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:00:57] local.INFO: TCP Data received {"connection_id":187899,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187899,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:00:57] local.INFO: Processing buffer {"connection_id":187899,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:00:57] local.INFO: IMEI packet received {"connection_id":187899,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":187899,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:01:02] local.INFO: TCP Data received {"connection_id":187899,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187899,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:01:02] local.INFO: Processing buffer {"connection_id":187899,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:01:02] local.INFO: IMEI packet received {"connection_id":187899,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":187899,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:01:04] local.INFO: TCP Data received {"connection_id":187899,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 13:01:04] local.INFO: Processing buffer {"connection_id":187899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4226b0012cf40c40070fc430002500a01e..."} 
[2026-09-17 13:01:04] local.INFO: Packet analysis {"connection_id":187899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 13:01:04] local.INFO: Extracted packet for processing {"connection_id":187899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae42"} 
[2026-09-17 13:01:04] local.INFO: GPS Element Parsed {"raw_longitude":754191424,"raw_latitude":118473776,"longitude_deg":75.4191424,"latitude_deg":11.8473776,"altitude":37,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40c40","hex_latitude":"070fc430","is_valid_coordinates":true} 
[2026-09-17 13:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789629966000,"timestamp_ms":1789629966000,"timestamp_seconds":1789629966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4226b0"} 
[2026-09-17 13:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":187899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":187899,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":187899,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":14635,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:01:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:01:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":14635,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":187899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855429,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:01:04] local.INFO: GPS data processed {"connection_id":187899,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:01:04] local.INFO: Acknowledgment sent {"connection_id":187899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:01:15] local.INFO: TCP Data received {"connection_id":185269,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:01:15] local.INFO: Processing buffer {"connection_id":185269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:01:15] local.INFO: IMEI packet received {"connection_id":185269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":185269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:01:17] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-17 13:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-17 13:01:17] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-17 13:01:17] local.INFO: Packet analysis {"connection_id":185147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 13:01:17] local.INFO: Extracted packet for processing {"connection_id":185147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-17 13:01:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 13:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 13:01:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:01:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 13:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185147,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 13:01:17] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 13:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":185147,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 13:01:17] local.ERROR: GPS data processing failed {"connection_id":185147,"error":"No valid data to process"} 
[2026-09-17 13:01:17] local.INFO: Acknowledgment sent {"connection_id":185147,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 13:01:20] local.INFO: TCP Data received {"connection_id":185269,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:01:20] local.INFO: Processing buffer {"connection_id":185269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:01:20] local.INFO: IMEI packet received {"connection_id":185269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":185269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:01:21] local.INFO: TCP Data received {"connection_id":185269,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:01:21] local.INFO: Processing buffer {"connection_id":185269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:01:21] local.INFO: Packet analysis {"connection_id":185269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:01:21] local.INFO: Extracted packet for processing {"connection_id":185269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 13:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 13:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":185269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:01:21] local.INFO: GPS data processed {"connection_id":185269,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:01:21] local.INFO: Acknowledgment sent {"connection_id":185269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:01:35] local.INFO: TCP Data received {"connection_id":187899,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:01:35] local.INFO: Processing buffer {"connection_id":187899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:01:35] local.INFO: Packet analysis {"connection_id":187899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:01:35] local.INFO: Extracted packet for processing {"connection_id":187899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:01:35] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187899,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187899,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:01:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":187899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:01:35] local.INFO: GPS data processed {"connection_id":187899,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:01:35] local.INFO: Acknowledgment sent {"connection_id":187899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:01:48] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-17 13:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-17 13:01:48] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-17 13:01:48] local.INFO: Packet analysis {"connection_id":185147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 13:01:48] local.INFO: Extracted packet for processing {"connection_id":185147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 13:01:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 13:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 13:01:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:01:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 13:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":185147,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 13:01:48] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 13:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":185147,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 13:01:48] local.ERROR: GPS data processing failed {"connection_id":185147,"error":"No valid data to process"} 
[2026-09-17 13:01:48] local.INFO: Acknowledgment sent {"connection_id":185147,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 13:01:53] local.INFO: TCP Data received {"connection_id":185269,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:01:53] local.INFO: Processing buffer {"connection_id":185269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:01:53] local.INFO: Packet analysis {"connection_id":185269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:01:53] local.INFO: Extracted packet for processing {"connection_id":185269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 13:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 13:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":185269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:01:53] local.INFO: GPS data processed {"connection_id":185269,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:01:53] local.INFO: Acknowledgment sent {"connection_id":185269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:01:57] local.INFO: TCP Data received {"connection_id":185270,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185270,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:01:57] local.INFO: Processing buffer {"connection_id":185270,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:01:57] local.INFO: IMEI packet received {"connection_id":185270,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":185270,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:02:02] local.INFO: TCP Data received {"connection_id":185270,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185270,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:02:02] local.INFO: Processing buffer {"connection_id":185270,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:02:02] local.INFO: IMEI packet received {"connection_id":185270,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":185270,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:02:03] local.INFO: TCP Data received {"connection_id":185270,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:02:03] local.INFO: Processing buffer {"connection_id":185270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:02:03] local.INFO: Packet analysis {"connection_id":185270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:02:03] local.INFO: Extracted packet for processing {"connection_id":185270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:02:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":185270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855433,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:02:03] local.INFO: GPS data processed {"connection_id":185270,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:02:03] local.INFO: Acknowledgment sent {"connection_id":185270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:02:15] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:02:15] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:02:15] local.INFO: IMEI packet received {"connection_id":186587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":186587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:02:20] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-17 13:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-17 13:02:20] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-17 13:02:20] local.INFO: Packet analysis {"connection_id":185147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 13:02:20] local.INFO: Extracted packet for processing {"connection_id":185147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 13:02:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 13:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 13:02:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:02:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 13:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185147,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 13:02:20] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 13:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":185147,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 13:02:20] local.ERROR: GPS data processing failed {"connection_id":185147,"error":"No valid data to process"} 
[2026-09-17 13:02:20] local.INFO: Acknowledgment sent {"connection_id":185147,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 13:02:20] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:02:20] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:02:20] local.INFO: IMEI packet received {"connection_id":186587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":186587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:02:21] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:02:21] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:02:21] local.INFO: Packet analysis {"connection_id":186587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:02:21] local.INFO: Extracted packet for processing {"connection_id":186587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 13:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 13:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":186587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:02:21] local.INFO: GPS data processed {"connection_id":186587,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:02:21] local.INFO: Acknowledgment sent {"connection_id":186587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:02:34] local.INFO: TCP Data received {"connection_id":185270,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:02:34] local.INFO: Processing buffer {"connection_id":185270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:02:34] local.INFO: Packet analysis {"connection_id":185270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:02:34] local.INFO: Extracted packet for processing {"connection_id":185270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:02:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:02:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":185270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855435,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:02:34] local.INFO: GPS data processed {"connection_id":185270,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:02:34] local.INFO: Acknowledgment sent {"connection_id":185270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:02:51] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-17 13:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-17 13:02:51] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-17 13:02:51] local.INFO: Packet analysis {"connection_id":185147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 13:02:51] local.INFO: Extracted packet for processing {"connection_id":185147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 13:02:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 13:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 13:02:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:02:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 13:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185147,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 13:02:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 13:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":185147,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 13:02:51] local.ERROR: GPS data processing failed {"connection_id":185147,"error":"No valid data to process"} 
[2026-09-17 13:02:51] local.INFO: Acknowledgment sent {"connection_id":185147,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 13:02:53] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:02:53] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae435b48012d34c14006aa4438000c01012e..."} 
[2026-09-17 13:02:53] local.INFO: Packet analysis {"connection_id":186587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:02:53] local.INFO: Extracted packet for processing {"connection_id":186587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae43"} 
[2026-09-17 13:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145214464001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630045000,"timestamp_ms":1789630045000,"timestamp_seconds":1789630045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae435b48"} 
[2026-09-17 13:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 13:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145214464001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145214464001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145214464001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":186587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:02:53] local.INFO: GPS data processed {"connection_id":186587,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:02:53] local.INFO: Acknowledgment sent {"connection_id":186587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:02:57] local.INFO: TCP Data received {"connection_id":185271,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:02:57] local.INFO: Processing buffer {"connection_id":185271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:02:57] local.INFO: IMEI packet received {"connection_id":185271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":185271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:03:02] local.INFO: TCP Data received {"connection_id":185271,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:03:02] local.INFO: Processing buffer {"connection_id":185271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:03:02] local.INFO: IMEI packet received {"connection_id":185271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":185271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:03:03] local.INFO: TCP Data received {"connection_id":185271,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:03:03] local.INFO: Processing buffer {"connection_id":185271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:03:03] local.INFO: Packet analysis {"connection_id":185271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:03:03] local.INFO: Extracted packet for processing {"connection_id":185271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:03:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:03:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":185271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:03:03] local.INFO: GPS data processed {"connection_id":185271,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:03:03] local.INFO: Acknowledgment sent {"connection_id":185271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:03:10] local.INFO: TCP Data received {"connection_id":186588,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:03:10] local.INFO: Processing buffer {"connection_id":186588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:03:10] local.INFO: IMEI packet received {"connection_id":186588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":186588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:03:15] local.INFO: TCP Data received {"connection_id":187900,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:03:15] local.INFO: Processing buffer {"connection_id":187900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:03:15] local.INFO: IMEI packet received {"connection_id":187900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":187900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:03:20] local.INFO: TCP Data received {"connection_id":187900,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:03:20] local.INFO: Processing buffer {"connection_id":187900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:03:20] local.INFO: IMEI packet received {"connection_id":187900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":187900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:03:21] local.INFO: TCP Data received {"connection_id":187900,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:03:21] local.INFO: Processing buffer {"connection_id":187900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:03:21] local.INFO: Packet analysis {"connection_id":187900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:03:21] local.INFO: Extracted packet for processing {"connection_id":187900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":187900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:03:21] local.INFO: GPS data processed {"connection_id":187900,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:03:21] local.INFO: Acknowledgment sent {"connection_id":187900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:03:22] local.INFO: TCP Data received {"connection_id":185147,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-17 13:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185147,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-17 13:03:22] local.INFO: Processing buffer {"connection_id":185147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-17 13:03:22] local.INFO: Packet analysis {"connection_id":185147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 13:03:22] local.INFO: Extracted packet for processing {"connection_id":185147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 13:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134115945865019392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 13:03:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":131000,"timestamp_seconds":131,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:03:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 13:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185147,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185147,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 13:03:22] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 13:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":185147,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 13:03:22] local.ERROR: GPS data processing failed {"connection_id":185147,"error":"No valid data to process"} 
[2026-09-17 13:03:22] local.INFO: Acknowledgment sent {"connection_id":185147,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 13:03:34] local.INFO: TCP Data received {"connection_id":185271,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:03:34] local.INFO: Processing buffer {"connection_id":185271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:03:34] local.INFO: Packet analysis {"connection_id":185271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:03:34] local.INFO: Extracted packet for processing {"connection_id":185271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:03:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:03:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:03:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":185271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855439,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:03:35] local.INFO: GPS data processed {"connection_id":185271,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:03:35] local.INFO: Acknowledgment sent {"connection_id":185271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:03:50] local.INFO: TCP Data received {"connection_id":185272,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:03:50] local.INFO: Processing buffer {"connection_id":185272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:03:50] local.INFO: IMEI packet received {"connection_id":185272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":185272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:03:52] local.INFO: TCP Data received {"connection_id":187900,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:03:52] local.INFO: Processing buffer {"connection_id":187900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:03:52] local.INFO: Packet analysis {"connection_id":187900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:03:52] local.INFO: Extracted packet for processing {"connection_id":187900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":187900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:03:52] local.INFO: GPS data processed {"connection_id":187900,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:03:52] local.INFO: Acknowledgment sent {"connection_id":187900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:04:02] local.INFO: TCP Data received {"connection_id":187901,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:04:02] local.INFO: Processing buffer {"connection_id":187901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:04:02] local.INFO: IMEI packet received {"connection_id":187901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":187901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:04:07] local.INFO: TCP Data received {"connection_id":187901,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:04:07] local.INFO: Processing buffer {"connection_id":187901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:04:07] local.INFO: IMEI packet received {"connection_id":187901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":187901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:04:09] local.INFO: TCP Data received {"connection_id":187901,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:04:09] local.INFO: Processing buffer {"connection_id":187901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:04:09] local.INFO: Packet analysis {"connection_id":187901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:04:09] local.INFO: Extracted packet for processing {"connection_id":187901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13: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-09-17 13:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13: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":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13: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-09-17 13:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:04:09] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":187901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855441,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:04:09] local.INFO: GPS data processed {"connection_id":187901,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:04:09] local.INFO: Acknowledgment sent {"connection_id":187901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:04:12] local.INFO: TCP Data received {"connection_id":187901,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:04:12] local.INFO: Processing buffer {"connection_id":187901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:04:12] local.INFO: Packet analysis {"connection_id":187901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:04:12] local.INFO: Extracted packet for processing {"connection_id":187901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:04:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":187901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855442,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:04:12] local.INFO: GPS data processed {"connection_id":187901,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:04:12] local.INFO: Acknowledgment sent {"connection_id":187901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:04:16] local.INFO: TCP Data received {"connection_id":187902,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:04:16] local.INFO: Processing buffer {"connection_id":187902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:04:16] local.INFO: IMEI packet received {"connection_id":187902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":187902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:04:20] local.INFO: TCP Data received {"connection_id":187902,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:04:20] local.INFO: Processing buffer {"connection_id":187902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:04:20] local.INFO: IMEI packet received {"connection_id":187902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":187902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:04:21] local.INFO: TCP Data received {"connection_id":187902,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:04:21] local.INFO: Processing buffer {"connection_id":187902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:04:21] local.INFO: Packet analysis {"connection_id":187902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:04:21] local.INFO: Extracted packet for processing {"connection_id":187902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:04:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":187902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:04:21] local.INFO: GPS data processed {"connection_id":187902,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:04:21] local.INFO: Acknowledgment sent {"connection_id":187902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:04:26] local.INFO: TCP Data received {"connection_id":187902,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:04:26] local.INFO: Processing buffer {"connection_id":187902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:04:26] local.INFO: Packet analysis {"connection_id":187902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:04:26] local.INFO: Extracted packet for processing {"connection_id":187902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:04:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":187902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:04:26] local.INFO: GPS data processed {"connection_id":187902,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:04:26] local.INFO: Acknowledgment sent {"connection_id":187902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:04:57] local.INFO: TCP Data received {"connection_id":185274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:04:57] local.INFO: Processing buffer {"connection_id":185274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:04:57] local.INFO: IMEI packet received {"connection_id":185274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":185274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:04:58] local.INFO: TCP Data received {"connection_id":187902,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:04:58] local.INFO: Processing buffer {"connection_id":187902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:04:58] local.INFO: Packet analysis {"connection_id":187902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:04:58] local.INFO: Extracted packet for processing {"connection_id":187902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:04:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:04:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":187902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:04:58] local.INFO: GPS data processed {"connection_id":187902,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:04:58] local.INFO: Acknowledgment sent {"connection_id":187902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:05:02] local.INFO: TCP Data received {"connection_id":185274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:05:02] local.INFO: Processing buffer {"connection_id":185274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:05:02] local.INFO: IMEI packet received {"connection_id":185274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":185274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:05:03] local.INFO: TCP Data received {"connection_id":185274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:05:03] local.INFO: Processing buffer {"connection_id":185274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:05:03] local.INFO: Packet analysis {"connection_id":185274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:05:03] local.INFO: Extracted packet for processing {"connection_id":185274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:05:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:05:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:05:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":185274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:05:04] local.INFO: GPS data processed {"connection_id":185274,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:05:04] local.INFO: Acknowledgment sent {"connection_id":185274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:05:16] local.INFO: TCP Data received {"connection_id":185150,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:05:16] local.INFO: Processing buffer {"connection_id":185150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:05:16] local.INFO: IMEI packet received {"connection_id":185150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":185150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:05:20] local.INFO: TCP Data received {"connection_id":185150,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:05:20] local.INFO: Processing buffer {"connection_id":185150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:05:20] local.INFO: IMEI packet received {"connection_id":185150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":185150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:05:22] local.INFO: TCP Data received {"connection_id":185150,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:05:22] local.INFO: Processing buffer {"connection_id":185150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:05:22] local.INFO: Packet analysis {"connection_id":185150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:05:22] local.INFO: Extracted packet for processing {"connection_id":185150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":185150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:05:22] local.INFO: GPS data processed {"connection_id":185150,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:05:22] local.INFO: Acknowledgment sent {"connection_id":185150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:05:35] local.INFO: TCP Data received {"connection_id":185274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:05:35] local.INFO: Processing buffer {"connection_id":185274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:05:35] local.INFO: Packet analysis {"connection_id":185274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:05:35] local.INFO: Extracted packet for processing {"connection_id":185274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:05:35] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:05:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:05:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":185274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855448,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:05:35] local.INFO: GPS data processed {"connection_id":185274,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:05:35] local.INFO: Acknowledgment sent {"connection_id":185274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:05:53] local.INFO: TCP Data received {"connection_id":185150,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:05:53] local.INFO: Processing buffer {"connection_id":185150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:05:53] local.INFO: Packet analysis {"connection_id":185150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:05:53] local.INFO: Extracted packet for processing {"connection_id":185150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":185150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:05:53] local.INFO: GPS data processed {"connection_id":185150,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:05:53] local.INFO: Acknowledgment sent {"connection_id":185150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:05:57] local.INFO: TCP Data received {"connection_id":185151,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:05:57] local.INFO: Processing buffer {"connection_id":185151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:05:57] local.INFO: IMEI packet received {"connection_id":185151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":185151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:06:02] local.INFO: TCP Data received {"connection_id":185151,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:06:02] local.INFO: Processing buffer {"connection_id":185151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:06:02] local.INFO: IMEI packet received {"connection_id":185151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":185151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:06:03] local.INFO: TCP Data received {"connection_id":185151,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:06:03] local.INFO: Processing buffer {"connection_id":185151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae46ca30012cf40d00070fc3f8002400a01f..."} 
[2026-09-17 13:06:03] local.INFO: Packet analysis {"connection_id":185151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:06:03] local.INFO: Extracted packet for processing {"connection_id":185151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae46"} 
[2026-09-17 13:06:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145271296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861243029661143040,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630270000,"timestamp_ms":1789630270000,"timestamp_seconds":1789630270,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae46ca30"} 
[2026-09-17 13:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-17 13:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145271296001,"66":13004,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861243029661143040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145271296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:06:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861243029661143040,"description":"Unknown IO ID 44"} 
[2026-09-17 13:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145271296001,"power":13004,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861243029661143040}} 
[2026-09-17 13:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":185151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:06:03] local.INFO: GPS data processed {"connection_id":185151,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:06:03] local.INFO: Acknowledgment sent {"connection_id":185151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:06:10] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:06:10] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:06:10] local.INFO: IMEI packet received {"connection_id":186590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":186590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:06:15] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:06:15] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:06:15] local.INFO: IMEI packet received {"connection_id":186590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":186590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:06:15] local.INFO: TCP Data received {"connection_id":187903,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:06:15] local.INFO: Processing buffer {"connection_id":187903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:06:15] local.INFO: IMEI packet received {"connection_id":187903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":187903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:06:16] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4a7f68012d7d420005f02ea0000c016612..."} 
[2026-09-17 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4a7f68012d7d420005f02ea0000c016612..."} 
[2026-09-17 13:06:16] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4a7f68012d7d420005f02ea0000c016612..."} 
[2026-09-17 13:06:16] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4a"} 
[2026-09-17 13:06:16] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4a"} 
[2026-09-17 13:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763183616,"raw_latitude":99626656,"longitude_deg":76.3183616,"latitude_deg":9.9626656,"altitude":12,"angle":358,"satellites":18,"speed":44,"hex_longitude":"2d7d4200","hex_latitude":"05f02ea0","is_valid_coordinates":true} 
[2026-09-17 13:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145409280001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134124707598303232,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198841170894848,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789630513000,"timestamp_ms":1789630513000,"timestamp_seconds":1789630513,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4a7f68"} 
[2026-09-17 13:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635582,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2924065864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2558398631090585600,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":127,"raw_value":4227858432,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633994800021917,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1100742862,"corrected_to":0} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2684431741,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4012374016,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4791836527660892182,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847703674761641,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:16] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,109,87,24,241,157,16,129,160,68,45,64,226,13,18,10,66,128,41,188,12,156,6,1,240,214,227,127,174,239,4,113,205,56,207,70,52,2,220,5,19,44,125,51],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1100742862,"validated":0}]} 
[2026-09-17 13:06:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937142424968626176,"timestamp_seconds":937142424968626.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145409280001,"66":12906,"109":206,"87":11264,"24":44,"16":134124707598303232,"45":9026198841170894848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-17 13:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145409280001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:06:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 13:06:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 13:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134124707598303232,"km_value":134124707598303.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198841170894848,"description":"Unknown IO ID 45"} 
[2026-09-17 13:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145409280001,"power":12906,"unknown_109":206,"unknown_87":11264,"ignition":44,"odometer":null,"unknown_45":9026198841170894848}} 
[2026-09-17 13:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:06:16] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:06:16] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:06:20] local.INFO: TCP Data received {"connection_id":187903,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:06:20] local.INFO: Processing buffer {"connection_id":187903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:06:20] local.INFO: IMEI packet received {"connection_id":187903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":187903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:06:22] local.INFO: TCP Data received {"connection_id":187903,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:06:22] local.INFO: Processing buffer {"connection_id":187903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:06:22] local.INFO: Packet analysis {"connection_id":187903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:06:22] local.INFO: Extracted packet for processing {"connection_id":187903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:06:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":187903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:06:22] local.INFO: GPS data processed {"connection_id":187903,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:06:22] local.INFO: Acknowledgment sent {"connection_id":187903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:06:34] local.INFO: TCP Data received {"connection_id":185151,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:06:34] local.INFO: Processing buffer {"connection_id":185151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:06:34] local.INFO: Packet analysis {"connection_id":185151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:06:34] local.INFO: Extracted packet for processing {"connection_id":185151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:06:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:06:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":185151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:06:34] local.INFO: GPS data processed {"connection_id":185151,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:06:34] local.INFO: Acknowledgment sent {"connection_id":185151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:06:47] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4aa290012d7d400005f054b0000b016512..."} 
[2026-09-17 13:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4aa290012d7d400005f054b0000b016512..."} 
[2026-09-17 13:06:47] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4aa290012d7d400005f054b0000b016512..."} 
[2026-09-17 13:06:47] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4a"} 
[2026-09-17 13:06:47] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4a"} 
[2026-09-17 13:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":99636400,"longitude_deg":76.3183104,"latitude_deg":9.96364,"altitude":11,"angle":357,"satellites":18,"speed":43,"hex_longitude":"2d7d4000","hex_latitude":"05f054b0","is_valid_coordinates":true} 
[2026-09-17 13:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145411328001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134125180044705792,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025776628708319232,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789630522000,"timestamp_ms":1789630522000,"timestamp_seconds":1789630522,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4aa290"} 
[2026-09-17 13:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 13:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145411328001,"66":13091,"109":206,"87":11264,"24":43,"16":134125180044705792,"45":9025776628708319232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-17 13:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145411328001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:06:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 13:06:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 13:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134125180044705792,"km_value":134125180044705.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025776628708319232,"description":"Unknown IO ID 45"} 
[2026-09-17 13:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145411328001,"power":13091,"unknown_109":206,"unknown_87":11264,"ignition":43,"odometer":null,"unknown_45":9025776628708319232}} 
[2026-09-17 13:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:06:47] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:06:47] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:06:53] local.INFO: TCP Data received {"connection_id":187903,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:06:53] local.INFO: Processing buffer {"connection_id":187903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:06:53] local.INFO: Packet analysis {"connection_id":187903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:06:53] local.INFO: Extracted packet for processing {"connection_id":187903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":187903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:06:53] local.INFO: GPS data processed {"connection_id":187903,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:06:53] local.INFO: Acknowledgment sent {"connection_id":187903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:06:57] local.INFO: TCP Data received {"connection_id":187904,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187904,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:06:57] local.INFO: Processing buffer {"connection_id":187904,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:06:57] local.INFO: IMEI packet received {"connection_id":187904,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":187904,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:07:02] local.INFO: TCP Data received {"connection_id":187904,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187904,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:07:02] local.INFO: Processing buffer {"connection_id":187904,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:07:02] local.INFO: IMEI packet received {"connection_id":187904,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":187904,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:07:03] local.INFO: TCP Data received {"connection_id":187904,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:07:03] local.INFO: Processing buffer {"connection_id":187904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:07:03] local.INFO: Packet analysis {"connection_id":187904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:07:03] local.INFO: Extracted packet for processing {"connection_id":187904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:07:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187904,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187904,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:07:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":187904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855456,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:07:03] local.INFO: GPS data processed {"connection_id":187904,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:07:03] local.INFO: Acknowledgment sent {"connection_id":187904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:07:15] local.INFO: TCP Data received {"connection_id":185275,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:07:15] local.INFO: Processing buffer {"connection_id":185275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:07:15] local.INFO: IMEI packet received {"connection_id":185275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":185275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:07:18] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ac5b8012d7d3e0005f07830000a016412..."} 
[2026-09-17 13:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ac5b8012d7d3e0005f07830000a016412..."} 
[2026-09-17 13:07:18] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ac5b8012d7d3e0005f07830000a016412..."} 
[2026-09-17 13:07:18] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4a"} 
[2026-09-17 13:07:18] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4a"} 
[2026-09-17 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":99645488,"longitude_deg":76.3182592,"latitude_deg":9.9645488,"altitude":10,"angle":356,"satellites":18,"speed":31,"hex_longitude":"2d7d3e00","hex_latitude":"05f07830","is_valid_coordinates":true} 
[2026-09-17 13:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145413632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134125622426337280,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678757392384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789630531000,"timestamp_ms":1789630531000,"timestamp_seconds":1789630531,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ac5b8"} 
[2026-09-17 13:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 13:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145413632001,"66":13363,"109":206,"87":11264,"24":31,"16":134125622426337280,"45":9025213678757392384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-17 13:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145413632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:07:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-17 13:07:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 13:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134125622426337280,"km_value":134125622426337.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678757392384,"description":"Unknown IO ID 45"} 
[2026-09-17 13:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145413632001,"power":13363,"unknown_109":206,"unknown_87":11264,"ignition":31,"odometer":null,"unknown_45":9025213678757392384}} 
[2026-09-17 13:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:07:18] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:07:18] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:07:20] local.INFO: TCP Data received {"connection_id":185275,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:07:20] local.INFO: Processing buffer {"connection_id":185275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:07:20] local.INFO: IMEI packet received {"connection_id":185275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":185275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:07:21] local.INFO: TCP Data received {"connection_id":185275,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:07:21] local.INFO: Processing buffer {"connection_id":185275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:07:21] local.INFO: Packet analysis {"connection_id":185275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:07:21] local.INFO: Extracted packet for processing {"connection_id":185275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":185275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:07:21] local.INFO: GPS data processed {"connection_id":185275,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:07:21] local.INFO: Acknowledgment sent {"connection_id":185275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:07:34] local.INFO: TCP Data received {"connection_id":187904,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:07:34] local.INFO: Processing buffer {"connection_id":187904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:07:34] local.INFO: Packet analysis {"connection_id":187904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:07:34] local.INFO: Extracted packet for processing {"connection_id":187904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:07:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187904,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187904,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:07:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:07:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":187904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:07:35] local.INFO: GPS data processed {"connection_id":187904,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:07:35] local.INFO: Acknowledgment sent {"connection_id":187904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:07:50] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c9e60012d7cffc005f11a500018010a14..."} 
[2026-09-17 13:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c9e60012d7cffc005f11a500018010a14..."} 
[2026-09-17 13:07:50] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c9e60012d7cffc005f11a500018010a14..."} 
[2026-09-17 13:07:50] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:07:50] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:07:50] local.INFO: GPS Element Parsed {"raw_longitude":763166656,"raw_latitude":99686992,"longitude_deg":76.3166656,"latitude_deg":9.9686992,"altitude":24,"angle":266,"satellites":20,"speed":29,"hex_longitude":"2d7cffc0","hex_latitude":"05f11a50","is_valid_coordinates":true} 
[2026-09-17 13:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145444864001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134128109212401664,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013743573469165568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789630652000,"timestamp_ms":1789630652000,"timestamp_seconds":1789630652,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c9e60"} 
[2026-09-17 13:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 13:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145444864001,"66":13341,"108":206,"87":11264,"24":29,"16":134128109212401664,"45":9013743573469165568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 13:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145444864001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:07:50] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 13:07:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 13:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134128109212401664,"km_value":134128109212401.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013743573469165568,"description":"Unknown IO ID 45"} 
[2026-09-17 13:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145444864001,"power":13341,"unknown_108":206,"unknown_87":11264,"ignition":29,"odometer":null,"unknown_45":9013743573469165568}} 
[2026-09-17 13:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:07:50] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:07:50] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:07:54] local.INFO: TCP Data received {"connection_id":185275,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:07:54] local.INFO: Processing buffer {"connection_id":185275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae47f310012d34c14006aa4438000c01012d..."} 
[2026-09-17 13:07:54] local.INFO: Packet analysis {"connection_id":185275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:07:54] local.INFO: Extracted packet for processing {"connection_id":185275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae47"} 
[2026-09-17 13:07:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145291520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 13:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 13:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789630346000,"timestamp_ms":1789630346000,"timestamp_seconds":1789630346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae47f310"} 
[2026-09-17 13:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:07:54] 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-09-17 13:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145291520001,"66":25495,"200":0,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 13:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145291520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:07:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145291520001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":185275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:07:54] local.INFO: GPS data processed {"connection_id":185275,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:07:54] local.INFO: Acknowledgment sent {"connection_id":185275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:08:02] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:08:02] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:08:02] local.INFO: IMEI packet received {"connection_id":186591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":186591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:08:07] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:08:07] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:08:07] local.INFO: IMEI packet received {"connection_id":186591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":186591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:08:08] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:08:08] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:08:08] local.INFO: Packet analysis {"connection_id":186591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:08:08] local.INFO: Extracted packet for processing {"connection_id":186591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:08:08] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:08:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:08:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":186591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855462,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:08:08] local.INFO: GPS data processed {"connection_id":186591,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:08:08] local.INFO: Acknowledgment sent {"connection_id":186591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:08:12] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:08:12] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:08:12] local.INFO: Packet analysis {"connection_id":186591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:08:12] local.INFO: Extracted packet for processing {"connection_id":186591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:08:12] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:08:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":186591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855463,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:08:12] local.INFO: GPS data processed {"connection_id":186591,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:08:12] local.INFO: Acknowledgment sent {"connection_id":186591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:08:15] local.INFO: TCP Data received {"connection_id":185276,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:08:15] local.INFO: Processing buffer {"connection_id":185276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:08:15] local.INFO: IMEI packet received {"connection_id":185276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":185276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:08:20] local.INFO: TCP Data received {"connection_id":185276,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:08:20] local.INFO: Processing buffer {"connection_id":185276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:08:20] local.INFO: IMEI packet received {"connection_id":185276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":185276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:08:22] local.INFO: TCP Data received {"connection_id":185276,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:08:22] local.INFO: Processing buffer {"connection_id":185276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:08:22] local.INFO: Packet analysis {"connection_id":185276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:08:22] local.INFO: Extracted packet for processing {"connection_id":185276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:08:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:08:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:08:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":185276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:08:22] local.INFO: GPS data processed {"connection_id":185276,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:08:22] local.INFO: Acknowledgment sent {"connection_id":185276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:08:23] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4cbda0012d7cec8005f11920001d011714..."} 
[2026-09-17 13:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4cbda0012d7cec8005f11920001d011714..."} 
[2026-09-17 13:08:23] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4cbda0012d7cec8005f11920001d011714..."} 
[2026-09-17 13:08:23] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:08:23] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763161728,"raw_latitude":99686688,"longitude_deg":76.3161728,"latitude_deg":9.9686688,"altitude":29,"angle":279,"satellites":20,"speed":12,"hex_longitude":"2d7cec80","hex_latitude":"05f11920","is_valid_coordinates":true} 
[2026-09-17 13:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145446912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134128345435602944,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007128911516684288,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789630660000,"timestamp_ms":1789630660000,"timestamp_seconds":1789630660,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4cbda0"} 
[2026-09-17 13:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145446912001,"66":13352,"108":206,"87":11264,"24":12,"16":134128345435602944,"45":9007128911516684288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 13:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145446912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:08:23] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 13:08:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 13:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134128345435602944,"km_value":134128345435602.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007128911516684288,"description":"Unknown IO ID 45"} 
[2026-09-17 13:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145446912001,"power":13352,"unknown_108":206,"unknown_87":11264,"ignition":12,"odometer":null,"unknown_45":9007128911516684288}} 
[2026-09-17 13:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:08:23] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:08:23] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:08:55] local.INFO: TCP Data received {"connection_id":185276,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:08:55] local.INFO: Processing buffer {"connection_id":185276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:08:55] local.INFO: Packet analysis {"connection_id":185276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:08:55] local.INFO: Extracted packet for processing {"connection_id":185276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:08:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":185276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:08:55] local.INFO: GPS data processed {"connection_id":185276,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:08:55] local.INFO: Acknowledgment sent {"connection_id":185276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:08:57] local.INFO: TCP Data received {"connection_id":185154,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:08:57] local.INFO: Processing buffer {"connection_id":185154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:08:57] local.INFO: IMEI packet received {"connection_id":185154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":185154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:09:02] local.INFO: TCP Data received {"connection_id":185154,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:09:02] local.INFO: Processing buffer {"connection_id":185154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:09:02] local.INFO: IMEI packet received {"connection_id":185154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":185154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:09:03] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4cc570012d7ceb8005f11920001d010b14..."} 
[2026-09-17 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4cc570012d7ceb8005f11920001d010b14..."} 
[2026-09-17 13:09:03] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4cc570012d7ceb8005f11920001d010b14..."} 
[2026-09-17 13:09:03] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:09:03] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763161472,"raw_latitude":99686688,"longitude_deg":76.3161472,"latitude_deg":9.9686688,"altitude":29,"angle":267,"satellites":20,"speed":7,"hex_longitude":"2d7ceb80","hex_latitude":"05f11920","is_valid_coordinates":true} 
[2026-09-17 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145448960001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134128358320504832,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001710518214926336,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630662000,"timestamp_ms":1789630662000,"timestamp_seconds":1789630662,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4cc570"} 
[2026-09-17 13:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-17 13:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145448960001,"66":13493,"108":206,"87":11264,"24":7,"16":134128358320504832,"45":9001710518214926336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 13:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145448960001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:09:03] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 13:09:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 13:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134128358320504832,"km_value":134128358320504.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001710518214926336,"description":"Unknown IO ID 45"} 
[2026-09-17 13:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145448960001,"power":13493,"unknown_108":206,"unknown_87":11264,"ignition":7,"odometer":null,"unknown_45":9001710518214926336}} 
[2026-09-17 13:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:09:03] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:09:03] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:09:03] local.INFO: TCP Data received {"connection_id":185154,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:09:03] local.INFO: Processing buffer {"connection_id":185154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:09:03] local.INFO: Packet analysis {"connection_id":185154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:09:03] local.INFO: Extracted packet for processing {"connection_id":185154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:09:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":185154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855468,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:09:03] local.INFO: GPS data processed {"connection_id":185154,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:09:03] local.INFO: Acknowledgment sent {"connection_id":185154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:09:15] local.INFO: TCP Data received {"connection_id":185277,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:09:16] local.INFO: Processing buffer {"connection_id":185277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:09:16] local.INFO: IMEI packet received {"connection_id":185277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":185277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:09:20] local.INFO: TCP Data received {"connection_id":185153,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:09:20] local.INFO: Processing buffer {"connection_id":185153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:09:20] local.INFO: IMEI packet received {"connection_id":185153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":185153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:09:20] local.INFO: TCP Data received {"connection_id":185277,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:09:20] local.INFO: Processing buffer {"connection_id":185277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:09:20] local.INFO: IMEI packet received {"connection_id":185277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":185277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:09:21] local.INFO: TCP Data received {"connection_id":185277,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:09:21] local.INFO: Processing buffer {"connection_id":185277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:09:21] local.INFO: Packet analysis {"connection_id":185277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:09:21] local.INFO: Extracted packet for processing {"connection_id":185277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:09:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":185277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:09:21] local.INFO: GPS data processed {"connection_id":185277,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:09:21] local.INFO: Acknowledgment sent {"connection_id":185277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:09:25] local.INFO: TCP Data received {"connection_id":187906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:09:25] local.INFO: Processing buffer {"connection_id":187906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:09:25] local.INFO: IMEI packet received {"connection_id":187906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":187906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:09:30] local.INFO: TCP Data received {"connection_id":187906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:09:30] local.INFO: Processing buffer {"connection_id":187906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:09:30] local.INFO: IMEI packet received {"connection_id":187906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":187906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:09:34] local.INFO: TCP Data received {"connection_id":185154,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:09:34] local.INFO: Processing buffer {"connection_id":185154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:09:34] local.INFO: Packet analysis {"connection_id":185154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:09:34] local.INFO: Extracted packet for processing {"connection_id":185154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:09:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185154,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:09:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":185154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:09:34] local.INFO: GPS data processed {"connection_id":185154,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:09:34] local.INFO: Acknowledgment sent {"connection_id":185154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:09:51] local.INFO: TCP Data received {"connection_id":187906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4d0008012d7cd80005f115c8002700fb14..."} 
[2026-09-17 13:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4d0008012d7cd80005f115c8002700fb14..."} 
[2026-09-17 13:09:51] local.INFO: Processing buffer {"connection_id":187906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4d0008012d7cd80005f115c8002700fb14..."} 
[2026-09-17 13:09:51] local.INFO: Packet analysis {"connection_id":187906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4d"} 
[2026-09-17 13:09:51] local.INFO: Extracted packet for processing {"connection_id":187906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4d"} 
[2026-09-17 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":763156480,"raw_latitude":99685832,"longitude_deg":76.315648,"latitude_deg":9.9685832,"altitude":39,"angle":251,"satellites":20,"speed":19,"hex_longitude":"2d7cd800","hex_latitude":"05f115c8","is_valid_coordinates":true} 
[2026-09-17 13:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145449472001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134128598838673408,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001429043238215680,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789630677000,"timestamp_ms":1789630677000,"timestamp_seconds":1789630677,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4d0008"} 
[2026-09-17 13:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 13:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145449472001,"66":13428,"108":206,"87":11264,"24":19,"16":134128598838673408,"45":9001429043238215680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 13:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145449472001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:09:51] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 13:09:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 13:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134128598838673408,"km_value":134128598838673.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001429043238215680,"description":"Unknown IO ID 45"} 
[2026-09-17 13:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145449472001,"power":13428,"unknown_108":206,"unknown_87":11264,"ignition":19,"odometer":null,"unknown_45":9001429043238215680}} 
[2026-09-17 13:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":187906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:09:51] local.INFO: GPS data processed {"connection_id":187906,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:09:51] local.INFO: Acknowledgment sent {"connection_id":187906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:09:53] local.INFO: TCP Data received {"connection_id":185277,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:09:53] local.INFO: Processing buffer {"connection_id":185277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:09:53] local.INFO: Packet analysis {"connection_id":185277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:09:53] local.INFO: Extracted packet for processing {"connection_id":185277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":185277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:09:53] local.INFO: GPS data processed {"connection_id":185277,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:09:53] local.INFO: Acknowledgment sent {"connection_id":185277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:09:55] local.INFO: TCP Data received {"connection_id":186592,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:09:55] local.INFO: Processing buffer {"connection_id":186592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:09:55] local.INFO: IMEI packet received {"connection_id":186592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":186592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:09:57] local.INFO: TCP Data received {"connection_id":187906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4d32d0012d7cb34005f10e50002b010312..."} 
[2026-09-17 13:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4d32d0012d7cb34005f10e50002b010312..."} 
[2026-09-17 13:09:57] local.INFO: Processing buffer {"connection_id":187906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4d32d0012d7cb34005f10e50002b010312..."} 
[2026-09-17 13:09:57] local.INFO: Packet analysis {"connection_id":187906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4d"} 
[2026-09-17 13:09:57] local.INFO: Extracted packet for processing {"connection_id":187906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4d"} 
[2026-09-17 13:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763147072,"raw_latitude":99683920,"longitude_deg":76.3147072,"latitude_deg":9.968392,"altitude":43,"angle":259,"satellites":18,"speed":35,"hex_longitude":"2d7cb340","hex_latitude":"05f10e50","is_valid_coordinates":true} 
[2026-09-17 13:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145453312001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134129062695141376,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995940281192138752,"note":"Value kept but may cause issues"} 
[2026-09-17 13:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789630690000,"timestamp_ms":1789630690000,"timestamp_seconds":1789630690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4d32d0"} 
[2026-09-17 13:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 13:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145453312001,"66":13243,"108":206,"87":11264,"24":35,"16":134129062695141376,"45":8995940281192138752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 13:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145453312001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:09:57] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 13:09:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 13:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134129062695141376,"km_value":134129062695141.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995940281192138752,"description":"Unknown IO ID 45"} 
[2026-09-17 13:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145453312001,"power":13243,"unknown_108":206,"unknown_87":11264,"ignition":35,"odometer":null,"unknown_45":8995940281192138752}} 
[2026-09-17 13:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":187906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:09:57] local.INFO: GPS data processed {"connection_id":187906,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:09:57] local.INFO: Acknowledgment sent {"connection_id":187906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:09:57] local.INFO: TCP Data received {"connection_id":187907,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:09:57] local.INFO: Processing buffer {"connection_id":187907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:09:57] local.INFO: IMEI packet received {"connection_id":187907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":187907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:10:02] local.INFO: TCP Data received {"connection_id":187907,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:10:02] local.INFO: Processing buffer {"connection_id":187907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:10:02] local.INFO: IMEI packet received {"connection_id":187907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":187907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:10:03] local.INFO: TCP Data received {"connection_id":187907,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:10:03] local.INFO: Processing buffer {"connection_id":187907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:10:03] local.INFO: Packet analysis {"connection_id":187907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:10:03] local.INFO: Extracted packet for processing {"connection_id":187907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:10:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:10:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":187907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:10:03] local.INFO: GPS data processed {"connection_id":187907,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:10:03] local.INFO: Acknowledgment sent {"connection_id":187907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:10:15] local.INFO: TCP Data received {"connection_id":185155,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:10:15] local.INFO: Processing buffer {"connection_id":185155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:10:15] local.INFO: IMEI packet received {"connection_id":185155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":185155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:10:20] local.INFO: TCP Data received {"connection_id":185156,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:10:20] local.INFO: Processing buffer {"connection_id":185156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:10:20] local.INFO: IMEI packet received {"connection_id":185156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":185156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:10:20] local.INFO: TCP Data received {"connection_id":185155,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:10:20] local.INFO: Processing buffer {"connection_id":185155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:10:20] local.INFO: IMEI packet received {"connection_id":185155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":185155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:10:21] local.INFO: TCP Data received {"connection_id":185155,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:10:21] local.INFO: Processing buffer {"connection_id":185155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:10:21] local.INFO: Packet analysis {"connection_id":185155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:10:21] local.INFO: Extracted packet for processing {"connection_id":185155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:10:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":185155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:10:21] local.INFO: GPS data processed {"connection_id":185155,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:10:21] local.INFO: Acknowledgment sent {"connection_id":185155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:10:25] local.INFO: TCP Data received {"connection_id":185156,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:10:25] local.INFO: Processing buffer {"connection_id":185156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:10:25] local.INFO: IMEI packet received {"connection_id":185156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":185156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:10:26] local.INFO: TCP Data received {"connection_id":185156,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ed0e0012d7b5e8005f0e8280014012516..."} 
[2026-09-17 13:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ed0e0012d7b5e8005f0e8280014012516..."} 
[2026-09-17 13:10:26] local.INFO: Processing buffer {"connection_id":185156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ed0e0012d7b5e8005f0e8280014012516..."} 
[2026-09-17 13:10:26] local.INFO: Packet analysis {"connection_id":185156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4e"} 
[2026-09-17 13:10:26] local.INFO: Extracted packet for processing {"connection_id":185156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4e"} 
[2026-09-17 13:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763059840,"raw_latitude":99674152,"longitude_deg":76.305984,"latitude_deg":9.9674152,"altitude":20,"angle":293,"satellites":22,"speed":32,"hex_longitude":"2d7b5e80","hex_latitude":"05f0e828","is_valid_coordinates":true} 
[2026-09-17 13:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145481216001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134133374842306560,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899183257943859200,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789630796000,"timestamp_ms":1789630796000,"timestamp_seconds":1789630796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ed0e0"} 
[2026-09-17 13:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 13:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145481216001,"66":13493,"144":206,"87":11776,"24":32,"16":134133374842306560,"45":8899183257943859200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 13:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145481216001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:10:26] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 13:10:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134133374842306560,"km_value":134133374842306.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899183257943859200,"description":"Unknown IO ID 45"} 
[2026-09-17 13:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145481216001,"power":13493,"unknown_144":206,"unknown_87":11776,"ignition":32,"odometer":null,"unknown_45":8899183257943859200}} 
[2026-09-17 13:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":185156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:10:26] local.INFO: GPS data processed {"connection_id":185156,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:10:26] local.INFO: Acknowledgment sent {"connection_id":185156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:10:34] local.INFO: TCP Data received {"connection_id":187907,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:10:34] local.INFO: Processing buffer {"connection_id":187907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:10:34] local.INFO: Packet analysis {"connection_id":187907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:10:34] local.INFO: Extracted packet for processing {"connection_id":187907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:10:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:10:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":187907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855477,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:10:34] local.INFO: GPS data processed {"connection_id":187907,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:10:34] local.INFO: Acknowledgment sent {"connection_id":187907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:10:53] local.INFO: TCP Data received {"connection_id":185155,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:10:53] local.INFO: Processing buffer {"connection_id":185155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:10:53] local.INFO: Packet analysis {"connection_id":185155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:10:53] local.INFO: Extracted packet for processing {"connection_id":185155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":185155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:10:53] local.INFO: GPS data processed {"connection_id":185155,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:10:53] local.INFO: Acknowledgment sent {"connection_id":185155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:10:57] local.INFO: TCP Data received {"connection_id":185278,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185278,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:10:57] local.INFO: Processing buffer {"connection_id":185278,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:10:57] local.INFO: IMEI packet received {"connection_id":185278,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":185278,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:10:58] local.INFO: TCP Data received {"connection_id":185156,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ef7f0012d7b3e4005f0f3b80014011a16..."} 
[2026-09-17 13:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ef7f0012d7b3e4005f0f3b80014011a16..."} 
[2026-09-17 13:10:58] local.INFO: Processing buffer {"connection_id":185156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ef7f0012d7b3e4005f0f3b80014011a16..."} 
[2026-09-17 13:10:58] local.INFO: Packet analysis {"connection_id":185156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4e"} 
[2026-09-17 13:10:58] local.INFO: Extracted packet for processing {"connection_id":185156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4e"} 
[2026-09-17 13:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763051584,"raw_latitude":99677112,"longitude_deg":76.3051584,"latitude_deg":9.9677112,"altitude":20,"angle":282,"satellites":22,"speed":34,"hex_longitude":"2d7b3e40","hex_latitude":"05f0f3b8","is_valid_coordinates":true} 
[2026-09-17 13:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145483776001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134133791454134272,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889683477480876032,"note":"Value kept but may cause issues"} 
[2026-09-17 13:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789630806000,"timestamp_ms":1789630806000,"timestamp_seconds":1789630806,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ef7f0"} 
[2026-09-17 13:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 13:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145483776001,"66":13472,"144":206,"87":11776,"24":34,"16":134133791454134272,"45":8889683477480876032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 13:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145483776001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:10:58] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 13:10:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134133791454134272,"km_value":134133791454134.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889683477480876032,"description":"Unknown IO ID 45"} 
[2026-09-17 13:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145483776001,"power":13472,"unknown_144":206,"unknown_87":11776,"ignition":34,"odometer":null,"unknown_45":8889683477480876032}} 
[2026-09-17 13:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":185156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:10:58] local.INFO: GPS data processed {"connection_id":185156,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:10:58] local.INFO: Acknowledgment sent {"connection_id":185156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:11:02] local.INFO: TCP Data received {"connection_id":185278,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185278,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:11:02] local.INFO: Processing buffer {"connection_id":185278,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:11:02] local.INFO: IMEI packet received {"connection_id":185278,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":185278,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:11:03] local.INFO: TCP Data received {"connection_id":185278,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:11:03] local.INFO: Processing buffer {"connection_id":185278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4b61f8012cf40d00070fc3f8002400a020..."} 
[2026-09-17 13:11:03] local.INFO: Packet analysis {"connection_id":185278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:11:03] local.INFO: Extracted packet for processing {"connection_id":185278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4b"} 
[2026-09-17 13:11:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":36,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145349120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630571000,"timestamp_ms":1789630571000,"timestamp_seconds":1789630571,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4b61f8"} 
[2026-09-17 13:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145349120001,"66":12939,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145349120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:11:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:11:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145349120001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":185278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:11:03] local.INFO: GPS data processed {"connection_id":185278,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:11:03] local.INFO: Acknowledgment sent {"connection_id":185278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:11:15] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:11:15] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:11:15] local.INFO: IMEI packet received {"connection_id":186594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":186594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:11:20] local.INFO: TCP Data received {"connection_id":187908,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:11:20] local.INFO: Processing buffer {"connection_id":187908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:11:20] local.INFO: IMEI packet received {"connection_id":187908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":187908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:11:20] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:11:20] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:11:20] local.INFO: IMEI packet received {"connection_id":186594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":186594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:11:22] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:11:22] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:11:22] local.INFO: Packet analysis {"connection_id":186594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:11:22] local.INFO: Extracted packet for processing {"connection_id":186594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:11:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:11:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":186594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:11:22] local.INFO: GPS data processed {"connection_id":186594,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:11:22] local.INFO: Acknowledgment sent {"connection_id":186594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:11:25] local.INFO: TCP Data received {"connection_id":187908,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:11:25] local.INFO: Processing buffer {"connection_id":187908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:11:25] local.INFO: IMEI packet received {"connection_id":187908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":187908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:11:26] local.INFO: TCP Data received {"connection_id":187908,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4f0b78012d7b2d0005f0f6100014010e14..."} 
[2026-09-17 13:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4f0b78012d7b2d0005f0f6100014010e14..."} 
[2026-09-17 13:11:26] local.INFO: Processing buffer {"connection_id":187908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4f0b78012d7b2d0005f0f6100014010e14..."} 
[2026-09-17 13:11:26] local.INFO: Packet analysis {"connection_id":187908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:11:26] local.INFO: Extracted packet for processing {"connection_id":187908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":99677712,"longitude_deg":76.3047168,"latitude_deg":9.9677712,"altitude":20,"angle":270,"satellites":20,"speed":34,"hex_longitude":"2d7b2d00","hex_latitude":"05f0f610","is_valid_coordinates":true} 
[2026-09-17 13:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145486336001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134134006202499072,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880605909482715136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789630811000,"timestamp_ms":1789630811000,"timestamp_seconds":1789630811,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4f0b78"} 
[2026-09-17 13:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 13:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145486336001,"66":13580,"144":206,"87":11776,"24":34,"16":134134006202499072,"45":8880605909482715136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 13:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145486336001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:11:26] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 13:11:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134134006202499072,"km_value":134134006202499.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880605909482715136,"description":"Unknown IO ID 45"} 
[2026-09-17 13:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145486336001,"power":13580,"unknown_144":206,"unknown_87":11776,"ignition":34,"odometer":null,"unknown_45":8880605909482715136}} 
[2026-09-17 13:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":187908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:11:26] local.INFO: GPS data processed {"connection_id":187908,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:11:26] local.INFO: Acknowledgment sent {"connection_id":187908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:11:34] local.INFO: TCP Data received {"connection_id":185278,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:11:34] local.INFO: Processing buffer {"connection_id":185278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:11:34] local.INFO: Packet analysis {"connection_id":185278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:11:34] local.INFO: Extracted packet for processing {"connection_id":185278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:11:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:11:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:11:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":185278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:11:34] local.INFO: GPS data processed {"connection_id":185278,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:11:34] local.INFO: Acknowledgment sent {"connection_id":185278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:11:54] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:11:54] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:11:54] local.INFO: Packet analysis {"connection_id":186594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:11:54] local.INFO: Extracted packet for processing {"connection_id":186594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":186594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:11:54] local.INFO: GPS data processed {"connection_id":186594,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:11:54] local.INFO: Acknowledgment sent {"connection_id":186594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:11:57] local.INFO: TCP Data received {"connection_id":187908,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4f3a58012d7b0a0005f0f3f00014010a16..."} 
[2026-09-17 13:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4f3a58012d7b0a0005f0f3f00014010a16..."} 
[2026-09-17 13:11:57] local.INFO: Processing buffer {"connection_id":187908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4f3a58012d7b0a0005f0f3f00014010a16..."} 
[2026-09-17 13:11:57] local.INFO: Packet analysis {"connection_id":187908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:11:57] local.INFO: Extracted packet for processing {"connection_id":187908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":99677168,"longitude_deg":76.3038208,"latitude_deg":9.9677168,"altitude":20,"angle":266,"satellites":22,"speed":27,"hex_longitude":"2d7b0a00","hex_latitude":"05f0f3f0","is_valid_coordinates":true} 
[2026-09-17 13:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145487616001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134134435699228672,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750466134609920,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789630823000,"timestamp_ms":1789630823000,"timestamp_seconds":1789630823,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4f3a58"} 
[2026-09-17 13:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635592,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2924372864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":61441,"corrected_to":0} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":222365356155469834,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132228152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":674758862,"corrected_to":0} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-2233559842553803177,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2297167872,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4040992768,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-2449951665109336035,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.WARNING: Large IO value detected {"io_id":46,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-09-17 13:11:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,144,87,24,241,157,16,138,160,247,45,64,243,20,22,10,66,137,208,128,232,169,1,240,94,227,174,4,113,205,28,142,150,21,239,52,56,2,220,5,26,35,123,46],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":247,"original":61441,"validated":0},{"io_id":205,"original":674758862,"validated":0}]} 
[2026-09-17 13:11:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441448834799632384,"timestamp_seconds":1441448834799632.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145487616001,"66":13559,"144":206,"87":11776,"24":27,"16":134134435699228672,"45":8875750466134609920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 13:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145487616001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:11:57] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 13:11:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134134435699228672,"km_value":134134435699228.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750466134609920,"description":"Unknown IO ID 45"} 
[2026-09-17 13:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145487616001,"power":13559,"unknown_144":206,"unknown_87":11776,"ignition":27,"odometer":null,"unknown_45":8875750466134609920}} 
[2026-09-17 13:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":187908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:11:57] local.INFO: GPS data processed {"connection_id":187908,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:11:57] local.INFO: Acknowledgment sent {"connection_id":187908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:12:02] local.INFO: TCP Data received {"connection_id":185157,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:12:02] local.INFO: Processing buffer {"connection_id":185157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:12:02] local.INFO: IMEI packet received {"connection_id":185157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":185157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:12:07] local.INFO: TCP Data received {"connection_id":185157,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:12:07] local.INFO: Processing buffer {"connection_id":185157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:12:07] local.INFO: IMEI packet received {"connection_id":185157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":185157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:12:08] local.INFO: TCP Data received {"connection_id":185157,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:12:08] local.INFO: Processing buffer {"connection_id":185157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:12:08] local.INFO: Packet analysis {"connection_id":185157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:12:08] local.INFO: Extracted packet for processing {"connection_id":185157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:12:08] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13: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-09-17 13:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13: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-09-17 13:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:12:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:12:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":185157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855486,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:12:08] local.INFO: GPS data processed {"connection_id":185157,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:12:08] local.INFO: Acknowledgment sent {"connection_id":185157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:12:12] local.INFO: TCP Data received {"connection_id":185157,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:12:12] local.INFO: Processing buffer {"connection_id":185157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:12:12] local.INFO: Packet analysis {"connection_id":185157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:12:12] local.INFO: Extracted packet for processing {"connection_id":185157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:12:12] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:12:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":185157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:12:12] local.INFO: GPS data processed {"connection_id":185157,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:12:12] local.INFO: Acknowledgment sent {"connection_id":185157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:12:20] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:12:20] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:12:20] local.INFO: IMEI packet received {"connection_id":185279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":185279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:12:20] local.INFO: TCP Data received {"connection_id":186596,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:12:20] local.INFO: Processing buffer {"connection_id":186596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:12:20] local.INFO: IMEI packet received {"connection_id":186596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":186596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:12:25] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:12:25] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:12:25] local.INFO: IMEI packet received {"connection_id":185279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":185279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:12:26] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4f80a8012d7ae6c005f0eff80011010617..."} 
[2026-09-17 13:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4f80a8012d7ae6c005f0eff80011010617..."} 
[2026-09-17 13:12:26] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4f80a8012d7ae6c005f0eff80011010617..."} 
[2026-09-17 13:12:26] local.INFO: Packet analysis {"connection_id":185279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:12:26] local.INFO: Extracted packet for processing {"connection_id":185279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763029184,"raw_latitude":99676152,"longitude_deg":76.3029184,"latitude_deg":9.9676152,"altitude":17,"angle":262,"satellites":23,"speed":20,"hex_longitude":"2d7ae6c0","hex_latitude":"05f0eff8","is_valid_coordinates":true} 
[2026-09-17 13:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145490688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134134869490925568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841949597696,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789630841000,"timestamp_ms":1789630841000,"timestamp_seconds":1789630841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4f80a8"} 
[2026-09-17 13:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 13:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145490688001,"66":12906,"144":206,"87":11776,"24":20,"16":134134869490925568,"45":8865898841949597696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 13:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145490688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:12:26] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 13:12:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134134869490925568,"km_value":134134869490925.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841949597696,"description":"Unknown IO ID 45"} 
[2026-09-17 13:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145490688001,"power":12906,"unknown_144":206,"unknown_87":11776,"ignition":20,"odometer":null,"unknown_45":8865898841949597696}} 
[2026-09-17 13:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":185279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:12:26] local.INFO: GPS data processed {"connection_id":185279,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:12:26] local.INFO: Acknowledgment sent {"connection_id":185279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:12:27] local.INFO: TCP Data received {"connection_id":186596,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:12:27] local.INFO: Processing buffer {"connection_id":186596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:12:27] local.INFO: IMEI packet received {"connection_id":186596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":186596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:12:29] local.INFO: TCP Data received {"connection_id":186596,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:12:29] local.INFO: Processing buffer {"connection_id":186596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:12:29] local.INFO: Packet analysis {"connection_id":186596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:12:29] local.INFO: Extracted packet for processing {"connection_id":186596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:12:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:12:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:12:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":186596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:12:29] local.INFO: GPS data processed {"connection_id":186596,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:12:29] local.INFO: Acknowledgment sent {"connection_id":186596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:12:57] local.INFO: TCP Data received {"connection_id":185280,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:12:57] local.INFO: Processing buffer {"connection_id":185280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:12:57] local.INFO: IMEI packet received {"connection_id":185280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":185280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:12:58] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4fb370012d7ac6c005f0ee780013011616..."} 
[2026-09-17 13:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4fb370012d7ac6c005f0ee780013011616..."} 
[2026-09-17 13:12:58] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4fb370012d7ac6c005f0ee780013011616..."} 
[2026-09-17 13:12:58] local.INFO: Packet analysis {"connection_id":185279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:12:58] local.INFO: Extracted packet for processing {"connection_id":185279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763020992,"raw_latitude":99675768,"longitude_deg":76.3020992,"latitude_deg":9.9675768,"altitude":19,"angle":278,"satellites":22,"speed":5,"hex_longitude":"2d7ac6c0","hex_latitude":"05f0ee78","is_valid_coordinates":true} 
[2026-09-17 13:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145495296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134135260332949504,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855976849020286976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789630854000,"timestamp_ms":1789630854000,"timestamp_seconds":1789630854,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4fb370"} 
[2026-09-17 13:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 13:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145495296001,"66":13580,"144":206,"87":11776,"24":5,"16":134135260332949504,"45":8855976849020286976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 13:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145495296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:12:58] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 13:12:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134135260332949504,"km_value":134135260332949.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855976849020286976,"description":"Unknown IO ID 45"} 
[2026-09-17 13:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145495296001,"power":13580,"unknown_144":206,"unknown_87":11776,"ignition":5,"odometer":null,"unknown_45":8855976849020286976}} 
[2026-09-17 13:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":185279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:12:58] local.INFO: GPS data processed {"connection_id":185279,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:12:58] local.INFO: Acknowledgment sent {"connection_id":185279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:13:00] local.INFO: TCP Data received {"connection_id":186596,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:13:00] local.INFO: Processing buffer {"connection_id":186596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4c8ad8012d34c14006aa4438000c01012f..."} 
[2026-09-17 13:13:00] local.INFO: Packet analysis {"connection_id":186596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:13:00] local.INFO: Extracted packet for processing {"connection_id":186596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4c"} 
[2026-09-17 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145368576001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789630647000,"timestamp_ms":1789630647000,"timestamp_seconds":1789630647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4c8ad8"} 
[2026-09-17 13:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:13:00] 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-09-17 13:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145368576001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145368576001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:13:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:13:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145368576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":186596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:13:00] local.INFO: GPS data processed {"connection_id":186596,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:13:00] local.INFO: Acknowledgment sent {"connection_id":186596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:13:02] local.INFO: TCP Data received {"connection_id":185280,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:13:02] local.INFO: Processing buffer {"connection_id":185280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:13:02] local.INFO: IMEI packet received {"connection_id":185280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":185280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:13:03] local.INFO: TCP Data received {"connection_id":185280,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:13:03] local.INFO: Processing buffer {"connection_id":185280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:13:03] local.INFO: Packet analysis {"connection_id":185280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:13:03] local.INFO: Extracted packet for processing {"connection_id":185280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:13:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:13:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":185280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855492,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:13:03] local.INFO: GPS data processed {"connection_id":185280,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:13:03] local.INFO: Acknowledgment sent {"connection_id":185280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:13:15] local.INFO: TCP Data received {"connection_id":185281,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:13:15] local.INFO: Processing buffer {"connection_id":185281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:13:15] local.INFO: IMEI packet received {"connection_id":185281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":185281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:13:19] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:13:19] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:13:19] local.INFO: IMEI packet received {"connection_id":185159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":185159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:13:20] local.INFO: TCP Data received {"connection_id":185281,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:13:20] local.INFO: Processing buffer {"connection_id":185281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:13:20] local.INFO: IMEI packet received {"connection_id":185281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":185281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:13:21] local.INFO: TCP Data received {"connection_id":185281,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:13:21] local.INFO: Processing buffer {"connection_id":185281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:13:21] local.INFO: Packet analysis {"connection_id":185281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:13:21] local.INFO: Extracted packet for processing {"connection_id":185281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:13:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:13:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":185281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:13:21] local.INFO: GPS data processed {"connection_id":185281,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:13:21] local.INFO: Acknowledgment sent {"connection_id":185281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:13:25] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:13:25] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:13:25] local.INFO: IMEI packet received {"connection_id":185159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":185159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:13:25] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:13:25] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:13:25] local.INFO: IMEI packet received {"connection_id":185159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":185159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:13:26] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae51baf8012d7a690005f0dca0001b00f71b..."} 
[2026-09-17 13:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae51baf8012d7a690005f0dca0001b00f71b..."} 
[2026-09-17 13:13:26] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae51baf8012d7a690005f0dca0001b00f71b..."} 
[2026-09-17 13:13:26] local.INFO: Packet analysis {"connection_id":185159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:13:26] local.INFO: Extracted packet for processing {"connection_id":185159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:13:26] local.INFO: GPS Element Parsed {"raw_longitude":762996992,"raw_latitude":99671200,"longitude_deg":76.2996992,"latitude_deg":9.96712,"altitude":27,"angle":247,"satellites":27,"speed":29,"hex_longitude":"2d7a6900","hex_latitude":"05f0dca0","is_valid_coordinates":true} 
[2026-09-17 13:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145527552001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134136467218759680,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830292257395046400,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789630987000,"timestamp_ms":1789630987000,"timestamp_seconds":1789630987,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae51baf8"} 
[2026-09-17 13:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 13:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145527552001,"66":13450,"63":206,"87":11776,"24":29,"16":134136467218759680,"45":8830292257395046400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,87,24,16,45]} 
[2026-09-17 13:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145527552001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:13:26] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-17 13:13:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134136467218759680,"km_value":134136467218759.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830292257395046400,"description":"Unknown IO ID 45"} 
[2026-09-17 13:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145527552001,"power":13450,"unknown_63":206,"unknown_87":11776,"ignition":29,"odometer":null,"unknown_45":8830292257395046400}} 
[2026-09-17 13:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":185159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:13:26] local.INFO: GPS data processed {"connection_id":185159,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:13:26] local.INFO: Acknowledgment sent {"connection_id":185159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:13:30] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae51baf8012d7a690005f0dca0001b00f71b..."} 
[2026-09-17 13:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae51baf8012d7a690005f0dca0001b00f71b..."} 
[2026-09-17 13:13:30] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae51baf8012d7a690005f0dca0001b00f71b..."} 
[2026-09-17 13:13:30] local.INFO: Packet analysis {"connection_id":185159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:13:30] local.INFO: Extracted packet for processing {"connection_id":185159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:13:30] local.INFO: GPS Element Parsed {"raw_longitude":762996992,"raw_latitude":99671200,"longitude_deg":76.2996992,"latitude_deg":9.96712,"altitude":27,"angle":247,"satellites":27,"speed":29,"hex_longitude":"2d7a6900","hex_latitude":"05f0dca0","is_valid_coordinates":true} 
[2026-09-17 13:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145532672001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134136467218759680,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820581370697654272,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789630987000,"timestamp_ms":1789630987000,"timestamp_seconds":1789630987,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae51baf8"} 
[2026-09-17 13:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 13:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145532672001,"66":13450,"63":206,"87":11776,"24":29,"16":134136467218759680,"45":8820581370697654272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,87,24,16,45]} 
[2026-09-17 13:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145532672001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:13:30] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-17 13:13:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134136467218759680,"km_value":134136467218759.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820581370697654272,"description":"Unknown IO ID 45"} 
[2026-09-17 13:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145532672001,"power":13450,"unknown_63":206,"unknown_87":11776,"ignition":29,"odometer":null,"unknown_45":8820581370697654272}} 
[2026-09-17 13:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":185159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:13:30] local.INFO: GPS data processed {"connection_id":185159,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:13:30] local.INFO: Acknowledgment sent {"connection_id":185159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:13:34] local.INFO: TCP Data received {"connection_id":185280,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:13:34] local.INFO: Processing buffer {"connection_id":185280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:13:34] local.INFO: Packet analysis {"connection_id":185280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:13:34] local.INFO: Extracted packet for processing {"connection_id":185280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:13:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:13:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:13:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":185280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855496,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:13:34] local.INFO: GPS data processed {"connection_id":185280,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:13:34] local.INFO: Acknowledgment sent {"connection_id":185280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:13:53] local.INFO: TCP Data received {"connection_id":185281,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:13:53] local.INFO: Processing buffer {"connection_id":185281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:13:53] local.INFO: Packet analysis {"connection_id":185281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:13:53] local.INFO: Extracted packet for processing {"connection_id":185281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":185281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:13:53] local.INFO: GPS data processed {"connection_id":185281,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:13:53] local.INFO: Acknowledgment sent {"connection_id":185281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:13:57] local.INFO: TCP Data received {"connection_id":187910,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187910,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:13:57] local.INFO: Processing buffer {"connection_id":187910,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:13:57] local.INFO: IMEI packet received {"connection_id":187910,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":187910,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:14:02] local.INFO: TCP Data received {"connection_id":185159,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae51f590012d7a470005f0cd88001401001d..."} 
[2026-09-17 13:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae51f590012d7a470005f0cd88001401001d..."} 
[2026-09-17 13:14:02] local.INFO: Processing buffer {"connection_id":185159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae51f590012d7a470005f0cd88001401001d..."} 
[2026-09-17 13:14:02] local.INFO: Packet analysis {"connection_id":185159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:14:02] local.INFO: Extracted packet for processing {"connection_id":185159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:14:02] local.INFO: GPS Element Parsed {"raw_longitude":762988288,"raw_latitude":99667336,"longitude_deg":76.2988288,"latitude_deg":9.9667336,"altitude":20,"angle":256,"satellites":29,"speed":23,"hex_longitude":"2d7a4700","hex_latitude":"05f0cd88","is_valid_coordinates":true} 
[2026-09-17 13:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145532672001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134136922485293056,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820581370697654272,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789631002000,"timestamp_ms":1789631002000,"timestamp_seconds":1789631002,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae51f590"} 
[2026-09-17 13:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 13:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145532672001,"66":13363,"63":206,"87":11776,"24":23,"16":134136922485293056,"45":8820581370697654272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,87,24,16,45]} 
[2026-09-17 13:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145532672001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:14:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-17 13:14:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134136922485293056,"km_value":134136922485293.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820581370697654272,"description":"Unknown IO ID 45"} 
[2026-09-17 13:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145532672001,"power":13363,"unknown_63":206,"unknown_87":11776,"ignition":23,"odometer":null,"unknown_45":8820581370697654272}} 
[2026-09-17 13:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":185159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:14:02] local.INFO: GPS data processed {"connection_id":185159,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:14:02] local.INFO: Acknowledgment sent {"connection_id":185159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:14:02] local.INFO: TCP Data received {"connection_id":187910,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187910,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:14:02] local.INFO: Processing buffer {"connection_id":187910,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:14:02] local.INFO: IMEI packet received {"connection_id":187910,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":187910,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:14:03] local.INFO: TCP Data received {"connection_id":187910,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:14:03] local.INFO: Processing buffer {"connection_id":187910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:14:03] local.INFO: Packet analysis {"connection_id":187910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:14:03] local.INFO: Extracted packet for processing {"connection_id":187910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:14:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:14:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":187910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855499,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:14:03] local.INFO: GPS data processed {"connection_id":187910,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:14:03] local.INFO: Acknowledgment sent {"connection_id":187910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:14:15] local.INFO: TCP Data received {"connection_id":185160,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:14:15] local.INFO: Processing buffer {"connection_id":185160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:14:15] local.INFO: IMEI packet received {"connection_id":185160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":185160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:14:19] local.INFO: TCP Data received {"connection_id":185282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:14:19] local.INFO: Processing buffer {"connection_id":185282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:14:19] local.INFO: IMEI packet received {"connection_id":185282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":185282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:14:20] local.INFO: TCP Data received {"connection_id":185160,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:14:20] local.INFO: Processing buffer {"connection_id":185160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:14:20] local.INFO: IMEI packet received {"connection_id":185160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":185160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:14:22] local.INFO: TCP Data received {"connection_id":185160,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:14:22] local.INFO: Processing buffer {"connection_id":185160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:14:22] local.INFO: Packet analysis {"connection_id":185160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:14:22] local.INFO: Extracted packet for processing {"connection_id":185160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:14:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:14:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":185160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:14:22] local.INFO: GPS data processed {"connection_id":185160,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:14:22] local.INFO: Acknowledgment sent {"connection_id":185160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:14:25] local.INFO: TCP Data received {"connection_id":185282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:14:25] local.INFO: Processing buffer {"connection_id":185282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:14:25] local.INFO: IMEI packet received {"connection_id":185282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":185282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:14:26] local.INFO: TCP Data received {"connection_id":185282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae522858012d7a254005f0c2100011010119..."} 
[2026-09-17 13:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae522858012d7a254005f0c2100011010119..."} 
[2026-09-17 13:14:26] local.INFO: Processing buffer {"connection_id":185282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae522858012d7a254005f0c2100011010119..."} 
[2026-09-17 13:14:26] local.INFO: Packet analysis {"connection_id":185282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae52"} 
[2026-09-17 13:14:26] local.INFO: Extracted packet for processing {"connection_id":185282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae52"} 
[2026-09-17 13:14:26] local.INFO: GPS Element Parsed {"raw_longitude":762979648,"raw_latitude":99664400,"longitude_deg":76.2979648,"latitude_deg":9.96644,"altitude":17,"angle":257,"satellites":25,"speed":16,"hex_longitude":"2d7a2540","hex_latitude":"05f0c210","is_valid_coordinates":true} 
[2026-09-17 13:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145536512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137360571957248,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811011221488502784,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631015000,"timestamp_ms":1789631015000,"timestamp_seconds":1789631015,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae522858"} 
[2026-09-17 13:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 13:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145536512001,"66":13341,"63":206,"87":11776,"24":16,"16":134137360571957248,"45":8811011221488502784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,87,24,16,45]} 
[2026-09-17 13:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145536512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:14:26] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-17 13:14:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137360571957248,"km_value":134137360571957.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811011221488502784,"description":"Unknown IO ID 45"} 
[2026-09-17 13:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145536512001,"power":13341,"unknown_63":206,"unknown_87":11776,"ignition":16,"odometer":null,"unknown_45":8811011221488502784}} 
[2026-09-17 13:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":185282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:14:26] local.INFO: GPS data processed {"connection_id":185282,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:14:26] local.INFO: Acknowledgment sent {"connection_id":185282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:14:34] local.INFO: TCP Data received {"connection_id":187910,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:14:34] local.INFO: Processing buffer {"connection_id":187910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:14:34] local.INFO: Packet analysis {"connection_id":187910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:14:34] local.INFO: Extracted packet for processing {"connection_id":187910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:14:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:14:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:14:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":187910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855502,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:14:34] local.INFO: GPS data processed {"connection_id":187910,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:14:34] local.INFO: Acknowledgment sent {"connection_id":187910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:14:53] local.INFO: TCP Data received {"connection_id":185160,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:14:53] local.INFO: Processing buffer {"connection_id":185160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:14:53] local.INFO: Packet analysis {"connection_id":185160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:14:53] local.INFO: Extracted packet for processing {"connection_id":185160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":185160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:14:53] local.INFO: GPS data processed {"connection_id":185160,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:14:53] local.INFO: Acknowledgment sent {"connection_id":185160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:14:57] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:14:57] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:14:57] local.INFO: IMEI packet received {"connection_id":186597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":186597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:14:58] local.INFO: TCP Data received {"connection_id":185282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae527a60012d7a254005f0c1c80010010b19..."} 
[2026-09-17 13:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae527a60012d7a254005f0c1c80010010b19..."} 
[2026-09-17 13:14:58] local.INFO: Processing buffer {"connection_id":185282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae527a60012d7a254005f0c1c80010010b19..."} 
[2026-09-17 13:14:58] local.INFO: Packet analysis {"connection_id":185282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae52"} 
[2026-09-17 13:14:58] local.INFO: Extracted packet for processing {"connection_id":185282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae52"} 
[2026-09-17 13:14:58] local.INFO: GPS Element Parsed {"raw_longitude":762979648,"raw_latitude":99664328,"longitude_deg":76.2979648,"latitude_deg":9.9664328,"altitude":16,"angle":267,"satellites":25,"speed":0,"hex_longitude":"2d7a2540","hex_latitude":"05f0c1c8","is_valid_coordinates":true} 
[2026-09-17 13:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145539840001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137386341761024,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801511441023766528,"note":"Value kept but may cause issues"} 
[2026-09-17 13:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789631036000,"timestamp_ms":1789631036000,"timestamp_seconds":1789631036,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae527a60"} 
[2026-09-17 13:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145539840001,"66":13363,"84":206,"87":11776,"24":0,"16":134137386341761024,"45":8801511441023766528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145539840001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:14:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137386341761024,"km_value":134137386341761.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801511441023766528,"description":"Unknown IO ID 45"} 
[2026-09-17 13:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145539840001,"power":13363,"unknown_84":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8801511441023766528}} 
[2026-09-17 13:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":185282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:14:58] local.INFO: GPS data processed {"connection_id":185282,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:14:58] local.INFO: Acknowledgment sent {"connection_id":185282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:15:02] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:15:02] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:15:02] local.INFO: IMEI packet received {"connection_id":186597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":186597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:15:03] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:15:03] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:15:03] local.INFO: Packet analysis {"connection_id":186597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:15:03] local.INFO: Extracted packet for processing {"connection_id":186597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:15:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:15:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":186597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:15:03] local.INFO: GPS data processed {"connection_id":186597,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:15:03] local.INFO: Acknowledgment sent {"connection_id":186597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:15:10] local.INFO: TCP Data received {"connection_id":187911,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:15:10] local.INFO: Processing buffer {"connection_id":187911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:15:10] local.INFO: IMEI packet received {"connection_id":187911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":187911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:15:15] local.INFO: TCP Data received {"connection_id":187912,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:15:15] local.INFO: Processing buffer {"connection_id":187912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:15:15] local.INFO: IMEI packet received {"connection_id":187912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":187912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:15:20] local.INFO: TCP Data received {"connection_id":187912,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:15:20] local.INFO: Processing buffer {"connection_id":187912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:15:20] local.INFO: IMEI packet received {"connection_id":187912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":187912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:15:21] local.INFO: TCP Data received {"connection_id":187912,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:15:21] local.INFO: Processing buffer {"connection_id":187912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:15:21] local.INFO: Packet analysis {"connection_id":187912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:15:21] local.INFO: Extracted packet for processing {"connection_id":187912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:15:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":187912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:15:21] local.INFO: GPS data processed {"connection_id":187912,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:15:21] local.INFO: Acknowledgment sent {"connection_id":187912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:15:22] local.INFO: TCP Data received {"connection_id":185161,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:15:22] local.INFO: Processing buffer {"connection_id":185161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:15:22] local.INFO: IMEI packet received {"connection_id":185161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":185161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:15:25] local.INFO: TCP Data received {"connection_id":185161,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:15:25] local.INFO: Processing buffer {"connection_id":185161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:15:25] local.INFO: IMEI packet received {"connection_id":185161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":185161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:15:30] local.INFO: TCP Data received {"connection_id":185161,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:15:30] local.INFO: Processing buffer {"connection_id":185161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:15:30] local.INFO: IMEI packet received {"connection_id":185161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":185161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:15:31] local.INFO: TCP Data received {"connection_id":185161,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae52cc68012d7a254005f0c1c80010010b1b..."} 
[2026-09-17 13:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae52cc68012d7a254005f0c1c80010010b1b..."} 
[2026-09-17 13:15:31] local.INFO: Processing buffer {"connection_id":185161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae52cc68012d7a254005f0c1c80010010b1b..."} 
[2026-09-17 13:15:31] local.INFO: Packet analysis {"connection_id":185161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae52"} 
[2026-09-17 13:15:31] local.INFO: Extracted packet for processing {"connection_id":185161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae52"} 
[2026-09-17 13:15:31] local.INFO: GPS Element Parsed {"raw_longitude":762979648,"raw_latitude":99664328,"longitude_deg":76.2979648,"latitude_deg":9.9664328,"altitude":16,"angle":267,"satellites":27,"speed":0,"hex_longitude":"2d7a2540","hex_latitude":"05f0c1c8","is_valid_coordinates":true} 
[2026-09-17 13:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145545216001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137386341761024,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801511441023748096,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789631057000,"timestamp_ms":1789631057000,"timestamp_seconds":1789631057,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae52cc68"} 
[2026-09-17 13:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 13:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145545216001,"66":13243,"84":206,"87":11776,"24":0,"16":134137386341761024,"45":8801511441023748096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145545216001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:15:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:15:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137386341761024,"km_value":134137386341761.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801511441023748096,"description":"Unknown IO ID 45"} 
[2026-09-17 13:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145545216001,"power":13243,"unknown_84":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8801511441023748096}} 
[2026-09-17 13:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":185161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:15:31] local.INFO: GPS data processed {"connection_id":185161,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:15:31] local.INFO: Acknowledgment sent {"connection_id":185161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:15:34] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:15:34] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:15:34] local.INFO: Packet analysis {"connection_id":186597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:15:34] local.INFO: Extracted packet for processing {"connection_id":186597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:15:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:15:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:15:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":186597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855508,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:15:34] local.INFO: GPS data processed {"connection_id":186597,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:15:34] local.INFO: Acknowledgment sent {"connection_id":186597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:15:37] local.INFO: TCP Data received {"connection_id":185161,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae531e70012d7a23c005f0c1e0001000f71a..."} 
[2026-09-17 13:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae531e70012d7a23c005f0c1e0001000f71a..."} 
[2026-09-17 13:15:37] local.INFO: Processing buffer {"connection_id":185161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae531e70012d7a23c005f0c1e0001000f71a..."} 
[2026-09-17 13:15:37] local.INFO: Packet analysis {"connection_id":185161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:15:37] local.INFO: Extracted packet for processing {"connection_id":185161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762979264,"raw_latitude":99664352,"longitude_deg":76.2979264,"latitude_deg":9.9664352,"altitude":16,"angle":247,"satellites":26,"speed":3,"hex_longitude":"2d7a23c0","hex_latitude":"05f0c1e0","is_valid_coordinates":true} 
[2026-09-17 13:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145550592001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137407816597504,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801511441023748096,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789631078000,"timestamp_ms":1789631078000,"timestamp_seconds":1789631078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae531e70"} 
[2026-09-17 13:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145550592001,"66":13189,"84":206,"87":11776,"24":3,"16":134137407816597504,"45":8801511441023748096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145550592001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:15:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:15:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137407816597504,"km_value":134137407816597.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801511441023748096,"description":"Unknown IO ID 45"} 
[2026-09-17 13:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145550592001,"power":13189,"unknown_84":206,"unknown_87":11776,"ignition":3,"odometer":null,"unknown_45":8801511441023748096}} 
[2026-09-17 13:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":185161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:15:37] local.INFO: GPS data processed {"connection_id":185161,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:15:37] local.INFO: Acknowledgment sent {"connection_id":185161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:15:50] local.INFO: TCP Data received {"connection_id":185283,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:15:50] local.INFO: Processing buffer {"connection_id":185283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:15:50] local.INFO: IMEI packet received {"connection_id":185283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":185283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:15:53] local.INFO: TCP Data received {"connection_id":187912,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:15:53] local.INFO: Processing buffer {"connection_id":187912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:15:53] local.INFO: Packet analysis {"connection_id":187912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:15:53] local.INFO: Extracted packet for processing {"connection_id":187912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":187912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:15:53] local.INFO: GPS data processed {"connection_id":187912,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:15:53] local.INFO: Acknowledgment sent {"connection_id":187912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:15:55] local.INFO: TCP Data received {"connection_id":185283,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:15:55] local.INFO: Processing buffer {"connection_id":185283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:15:55] local.INFO: IMEI packet received {"connection_id":185283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 13:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":185283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:15:56] local.INFO: TCP Data received {"connection_id":185283,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae3a56b0012d7f9f0005afe2480024010323..."} 
[2026-09-17 13:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae3a56b0012d7f9f0005afe2480024010323..."} 
[2026-09-17 13:15:56] local.INFO: Processing buffer {"connection_id":185283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae3a56b0012d7f9f0005afe2480024010323..."} 
[2026-09-17 13:15:56] local.INFO: Packet analysis {"connection_id":185283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 13:15:56] local.INFO: Extracted packet for processing {"connection_id":185283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae3a"} 
[2026-09-17 13:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763338496,"raw_latitude":95412808,"longitude_deg":76.3338496,"latitude_deg":9.5412808,"altitude":36,"angle":259,"satellites":35,"speed":0,"hex_longitude":"2d7f9f00","hex_latitude":"05afe248","is_valid_coordinates":true} 
[2026-09-17 13:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145134848001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4457046476849152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068988539521024,"note":"Value kept but may cause issues"} 
[2026-09-17 13:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789629454000,"timestamp_ms":1789629454000,"timestamp_seconds":1789629454,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae3a56b0"} 
[2026-09-17 13:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 13:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 13:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 13:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-17 13:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-17 13:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145134848001,"66":27952,"250":206,"85":12544,"24":0,"16":4457046476849152,"45":9196068988539521024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-17 13:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-17 13:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-17 13:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145134848001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-17 13:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-17 13:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4457046476849152,"km_value":4457046476849.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068988539521024,"description":"Unknown IO ID 45"} 
[2026-09-17 13:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145134848001,"power":27952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196068988539521024}} 
[2026-09-17 13:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":185283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:15:56] local.INFO: GPS data processed {"connection_id":185283,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:15:56] local.INFO: Acknowledgment sent {"connection_id":185283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:15:57] local.INFO: TCP Data received {"connection_id":187913,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:15:57] local.INFO: Processing buffer {"connection_id":187913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:15:57] local.INFO: IMEI packet received {"connection_id":187913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":187913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:16:02] local.INFO: TCP Data received {"connection_id":187913,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:16:02] local.INFO: Processing buffer {"connection_id":187913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:16:02] local.INFO: IMEI packet received {"connection_id":187913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":187913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:16:03] local.INFO: TCP Data received {"connection_id":187913,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:16:03] local.INFO: Processing buffer {"connection_id":187913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae4ff9c0012cf40d00070fc3f8003000a020..."} 
[2026-09-17 13:16:03] local.INFO: Packet analysis {"connection_id":187913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:16:03] local.INFO: Extracted packet for processing {"connection_id":187913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae4f"} 
[2026-09-17 13:16:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145426176001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789630872000,"timestamp_ms":1789630872000,"timestamp_seconds":1789630872,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae4ff9c0"} 
[2026-09-17 13:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 13:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145426176001,"66":12874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145426176001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:16:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:16:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145426176001,"power":12874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":187913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855512,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:16:03] local.INFO: GPS data processed {"connection_id":187913,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:16:03] local.INFO: Acknowledgment sent {"connection_id":187913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:16:20] local.INFO: TCP Data received {"connection_id":186598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:16:20] local.INFO: Processing buffer {"connection_id":186598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:16:20] local.INFO: IMEI packet received {"connection_id":186598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":186598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:16:20] local.INFO: TCP Data received {"connection_id":185284,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:16:20] local.INFO: Processing buffer {"connection_id":185284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:16:20] local.INFO: IMEI packet received {"connection_id":185284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:16:25] local.INFO: TCP Data received {"connection_id":186598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:16:25] local.INFO: Processing buffer {"connection_id":186598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:16:25] local.INFO: IMEI packet received {"connection_id":186598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":186598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:16:25] local.INFO: TCP Data received {"connection_id":185284,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:16:25] local.INFO: Processing buffer {"connection_id":185284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:16:25] local.INFO: IMEI packet received {"connection_id":185284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":185284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:16:27] local.INFO: TCP Data received {"connection_id":185284,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:16:27] local.INFO: Processing buffer {"connection_id":185284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:16:27] local.INFO: Packet analysis {"connection_id":185284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:16:27] local.INFO: Extracted packet for processing {"connection_id":185284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:16:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:16:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":185284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:16:27] local.INFO: GPS data processed {"connection_id":185284,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:16:27] local.INFO: Acknowledgment sent {"connection_id":185284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:16:28] local.INFO: TCP Data received {"connection_id":186598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae531e70012d7a23c005f0c1e0001000f71a..."} 
[2026-09-17 13:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae531e70012d7a23c005f0c1e0001000f71a..."} 
[2026-09-17 13:16:28] local.INFO: Processing buffer {"connection_id":186598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae531e70012d7a23c005f0c1e0001000f71a..."} 
[2026-09-17 13:16:28] local.INFO: Packet analysis {"connection_id":186598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:16:28] local.INFO: Extracted packet for processing {"connection_id":186598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:16:28] local.INFO: GPS Element Parsed {"raw_longitude":762979264,"raw_latitude":99664352,"longitude_deg":76.2979264,"latitude_deg":9.9664352,"altitude":16,"angle":247,"satellites":26,"speed":3,"hex_longitude":"2d7a23c0","hex_latitude":"05f0c1e0","is_valid_coordinates":true} 
[2026-09-17 13:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145555968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137407816597504,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801089228558688256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789631078000,"timestamp_ms":1789631078000,"timestamp_seconds":1789631078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae531e70"} 
[2026-09-17 13:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 13:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145555968001,"66":13189,"84":206,"87":11776,"24":3,"16":134137407816597504,"45":8801089228558688256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145555968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:16:28] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:16:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137407816597504,"km_value":134137407816597.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801089228558688256,"description":"Unknown IO ID 45"} 
[2026-09-17 13:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145555968001,"power":13189,"unknown_84":206,"unknown_87":11776,"ignition":3,"odometer":null,"unknown_45":8801089228558688256}} 
[2026-09-17 13:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":186598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:16:28] local.INFO: GPS data processed {"connection_id":186598,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:16:28] local.INFO: Acknowledgment sent {"connection_id":186598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:16:31] local.INFO: TCP Data received {"connection_id":185284,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:16:31] local.INFO: Processing buffer {"connection_id":185284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:16:31] local.INFO: Packet analysis {"connection_id":185284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:16:31] local.INFO: Extracted packet for processing {"connection_id":185284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":185284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:16:31] local.INFO: GPS data processed {"connection_id":185284,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:16:31] local.INFO: Acknowledgment sent {"connection_id":185284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:16:34] local.INFO: TCP Data received {"connection_id":187913,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:16:34] local.INFO: Processing buffer {"connection_id":187913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:16:34] local.INFO: Packet analysis {"connection_id":187913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:16:34] local.INFO: Extracted packet for processing {"connection_id":187913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:16:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:16:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":187913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855516,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:16:34] local.INFO: GPS data processed {"connection_id":187913,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:16:34] local.INFO: Acknowledgment sent {"connection_id":187913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:16:40] local.INFO: TCP Data received {"connection_id":186599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:16:40] local.INFO: Processing buffer {"connection_id":186599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:16:40] local.INFO: IMEI packet received {"connection_id":186599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":186599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:16:57] local.INFO: TCP Data received {"connection_id":185285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:16:57] local.INFO: Processing buffer {"connection_id":185285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:16:57] local.INFO: IMEI packet received {"connection_id":185285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":185285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:16:59] local.INFO: TCP Data received {"connection_id":186598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae532258012d7a238005f0c1c0001000e51a..."} 
[2026-09-17 13:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae532258012d7a238005f0c1c0001000e51a..."} 
[2026-09-17 13:16:59] local.INFO: Processing buffer {"connection_id":186598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae532258012d7a238005f0c1c0001000e51a..."} 
[2026-09-17 13:16:59] local.INFO: Packet analysis {"connection_id":186598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:16:59] local.INFO: Extracted packet for processing {"connection_id":186598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:16:59] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99664320,"longitude_deg":76.29792,"latitude_deg":9.966432,"altitude":16,"angle":229,"satellites":26,"speed":2,"hex_longitude":"2d7a2380","hex_latitude":"05f0c1c0","is_valid_coordinates":true} 
[2026-09-17 13:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145555968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137412111564800,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801089228558688256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789631079000,"timestamp_ms":1789631079000,"timestamp_seconds":1789631079,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae532258"} 
[2026-09-17 13:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 13:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145555968001,"66":13189,"84":206,"87":11776,"24":2,"16":134137412111564800,"45":8801089228558688256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145555968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:16:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:16:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137412111564800,"km_value":134137412111564.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801089228558688256,"description":"Unknown IO ID 45"} 
[2026-09-17 13:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145555968001,"power":13189,"unknown_84":206,"unknown_87":11776,"ignition":2,"odometer":null,"unknown_45":8801089228558688256}} 
[2026-09-17 13:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":186598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:16:59] local.INFO: GPS data processed {"connection_id":186598,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:16:59] local.INFO: Acknowledgment sent {"connection_id":186598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:17:02] local.INFO: TCP Data received {"connection_id":185285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:17:02] local.INFO: Processing buffer {"connection_id":185285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:17:02] local.INFO: IMEI packet received {"connection_id":185285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":185285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:17:03] local.INFO: TCP Data received {"connection_id":185285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:17:03] local.INFO: Processing buffer {"connection_id":185285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:17:03] local.INFO: Packet analysis {"connection_id":185285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:17:03] local.INFO: Extracted packet for processing {"connection_id":185285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:17:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":185285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:17:03] local.INFO: GPS data processed {"connection_id":185285,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:17:03] local.INFO: Acknowledgment sent {"connection_id":185285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:17:15] local.INFO: TCP Data received {"connection_id":187914,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:17:15] local.INFO: Processing buffer {"connection_id":187914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:17:15] local.INFO: IMEI packet received {"connection_id":187914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":187914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:17:20] local.INFO: TCP Data received {"connection_id":185162,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:17:20] local.INFO: Processing buffer {"connection_id":185162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:17:20] local.INFO: IMEI packet received {"connection_id":185162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":185162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:17:20] local.INFO: TCP Data received {"connection_id":187914,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:17:20] local.INFO: Processing buffer {"connection_id":187914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:17:20] local.INFO: IMEI packet received {"connection_id":187914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":187914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:17:22] local.INFO: TCP Data received {"connection_id":187914,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:17:22] local.INFO: Processing buffer {"connection_id":187914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:17:22] local.INFO: Packet analysis {"connection_id":187914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:17:22] local.INFO: Extracted packet for processing {"connection_id":187914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:17:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:17:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":187914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:17:22] local.INFO: GPS data processed {"connection_id":187914,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:17:22] local.INFO: Acknowledgment sent {"connection_id":187914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:17:25] local.INFO: TCP Data received {"connection_id":185162,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:17:25] local.INFO: Processing buffer {"connection_id":185162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:17:25] local.INFO: IMEI packet received {"connection_id":185162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":185162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:17:26] local.INFO: TCP Data received {"connection_id":185162,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae537078012d7a238005f0c160001000df18..."} 
[2026-09-17 13:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae537078012d7a238005f0c160001000df18..."} 
[2026-09-17 13:17:26] local.INFO: Processing buffer {"connection_id":185162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae537078012d7a238005f0c160001000df18..."} 
[2026-09-17 13:17:26] local.INFO: Packet analysis {"connection_id":185162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:17:26] local.INFO: Extracted packet for processing {"connection_id":185162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:17:26] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99664224,"longitude_deg":76.29792,"latitude_deg":9.9664224,"altitude":16,"angle":223,"satellites":24,"speed":0,"hex_longitude":"2d7a2380","hex_latitude":"05f0c160","is_valid_coordinates":true} 
[2026-09-17 13:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145556224001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137416406532096,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859814502400,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631099000,"timestamp_ms":1789631099000,"timestamp_seconds":1789631099,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae537078"} 
[2026-09-17 13:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 13:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145556224001,"66":13222,"84":206,"87":11776,"24":0,"16":134137416406532096,"45":8801018859814502400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145556224001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:17:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:17:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137416406532096,"km_value":134137416406532.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859814502400,"description":"Unknown IO ID 45"} 
[2026-09-17 13:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145556224001,"power":13222,"unknown_84":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8801018859814502400}} 
[2026-09-17 13:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":185162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:17:26] local.INFO: GPS data processed {"connection_id":185162,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:17:26] local.INFO: Acknowledgment sent {"connection_id":185162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:17:34] local.INFO: TCP Data received {"connection_id":185285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:17:34] local.INFO: Processing buffer {"connection_id":185285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:17:34] local.INFO: Packet analysis {"connection_id":185285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:17:34] local.INFO: Extracted packet for processing {"connection_id":185285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:17:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:17:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":185285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:17:34] local.INFO: GPS data processed {"connection_id":185285,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:17:34] local.INFO: Acknowledgment sent {"connection_id":185285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:17:53] local.INFO: TCP Data received {"connection_id":187914,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:17:53] local.INFO: Processing buffer {"connection_id":187914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5122a0012d34c14006aa4438000c01012c..."} 
[2026-09-17 13:17:53] local.INFO: Packet analysis {"connection_id":187914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:17:53] local.INFO: Extracted packet for processing {"connection_id":187914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae51"} 
[2026-09-17 13:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145445632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789630948000,"timestamp_ms":1789630948000,"timestamp_seconds":1789630948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5122a0"} 
[2026-09-17 13:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145445632001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145445632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145445632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":187914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:17:53] local.INFO: GPS data processed {"connection_id":187914,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:17:53] local.INFO: Acknowledgment sent {"connection_id":187914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:17:57] local.INFO: TCP Data received {"connection_id":187915,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:17:57] local.INFO: Processing buffer {"connection_id":187915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:17:57] local.INFO: IMEI packet received {"connection_id":187915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":187915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:17:57] local.INFO: TCP Data received {"connection_id":185162,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae53c280012d7a238005f0c160001000df1a..."} 
[2026-09-17 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae53c280012d7a238005f0c160001000df1a..."} 
[2026-09-17 13:17:57] local.INFO: Processing buffer {"connection_id":185162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae53c280012d7a238005f0c160001000df1a..."} 
[2026-09-17 13:17:57] local.INFO: Packet analysis {"connection_id":185162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:17:57] local.INFO: Extracted packet for processing {"connection_id":185162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae53"} 
[2026-09-17 13:17:57] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99664224,"longitude_deg":76.29792,"latitude_deg":9.9664224,"altitude":16,"angle":223,"satellites":26,"speed":0,"hex_longitude":"2d7a2380","hex_latitude":"05f0c160","is_valid_coordinates":true} 
[2026-09-17 13:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145561344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137416406532096,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859814477824,"note":"Value kept but may cause issues"} 
[2026-09-17 13:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631120000,"timestamp_ms":1789631120000,"timestamp_seconds":1789631120,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae53c280"} 
[2026-09-17 13:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 13:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145561344001,"66":13396,"84":206,"87":11776,"24":0,"16":134137416406532096,"45":8801018859814477824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145561344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:17:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:17:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137416406532096,"km_value":134137416406532.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859814477824,"description":"Unknown IO ID 45"} 
[2026-09-17 13:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145561344001,"power":13396,"unknown_84":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8801018859814477824}} 
[2026-09-17 13:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":185162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:17:57] local.INFO: GPS data processed {"connection_id":185162,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:17:57] local.INFO: Acknowledgment sent {"connection_id":185162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:18:02] local.INFO: TCP Data received {"connection_id":187915,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:18:02] local.INFO: Processing buffer {"connection_id":187915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:18:02] local.INFO: IMEI packet received {"connection_id":187915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":187915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:18:03] local.INFO: TCP Data received {"connection_id":187915,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:18:03] local.INFO: Processing buffer {"connection_id":187915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:18:03] local.INFO: Packet analysis {"connection_id":187915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:18:03] local.INFO: Extracted packet for processing {"connection_id":187915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:18:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:18:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":187915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:18:03] local.INFO: GPS data processed {"connection_id":187915,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:18:03] local.INFO: Acknowledgment sent {"connection_id":187915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:18:15] local.INFO: TCP Data received {"connection_id":187916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:18:15] local.INFO: Processing buffer {"connection_id":187916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:18:15] local.INFO: IMEI packet received {"connection_id":187916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":187916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:18:19] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:19] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:19] local.INFO: IMEI packet received {"connection_id":186601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":186601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:18:20] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:20] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:20] local.INFO: IMEI packet received {"connection_id":186601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":186601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:18:20] local.INFO: TCP Data received {"connection_id":187916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:18:20] local.INFO: Processing buffer {"connection_id":187916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:18:20] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:20] local.INFO: IMEI packet received {"connection_id":187916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":187916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:20] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:20] local.INFO: IMEI packet received {"connection_id":186601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":186601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:18:22] local.INFO: TCP Data received {"connection_id":187916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:18:22] local.INFO: Processing buffer {"connection_id":187916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:18:22] local.INFO: Packet analysis {"connection_id":187916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:18:22] local.INFO: Extracted packet for processing {"connection_id":187916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:18:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:18:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:18:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":187916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:18:22] local.INFO: GPS data processed {"connection_id":187916,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:18:22] local.INFO: Acknowledgment sent {"connection_id":187916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:18:25] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:25] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:18:25] local.INFO: IMEI packet received {"connection_id":186601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":186601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:18:26] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae541488012d7a238005f0c160001000df1b..."} 
[2026-09-17 13:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae541488012d7a238005f0c160001000df1b..."} 
[2026-09-17 13:18:26] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae541488012d7a238005f0c160001000df1b..."} 
[2026-09-17 13:18:26] local.INFO: Packet analysis {"connection_id":186601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:18:26] local.INFO: Extracted packet for processing {"connection_id":186601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99664224,"longitude_deg":76.29792,"latitude_deg":9.9664224,"altitude":16,"angle":223,"satellites":27,"speed":0,"hex_longitude":"2d7a2380","hex_latitude":"05f0c160","is_valid_coordinates":true} 
[2026-09-17 13:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145566720001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137416406532096,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859814477824,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631141000,"timestamp_ms":1789631141000,"timestamp_seconds":1789631141,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae541488"} 
[2026-09-17 13:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-17 13:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145566720001,"66":13254,"84":206,"87":11776,"24":0,"16":134137416406532096,"45":8801018859814477824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145566720001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:18:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:18:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137416406532096,"km_value":134137416406532.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859814477824,"description":"Unknown IO ID 45"} 
[2026-09-17 13:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145566720001,"power":13254,"unknown_84":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8801018859814477824}} 
[2026-09-17 13:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":186601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:18:26] local.INFO: GPS data processed {"connection_id":186601,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:18:26] local.INFO: Acknowledgment sent {"connection_id":186601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:18:34] local.INFO: TCP Data received {"connection_id":187915,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:18:34] local.INFO: Processing buffer {"connection_id":187915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:18:34] local.INFO: Packet analysis {"connection_id":187915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:18:34] local.INFO: Extracted packet for processing {"connection_id":187915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:18:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":187915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855527,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:18:34] local.INFO: GPS data processed {"connection_id":187915,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:18:34] local.INFO: Acknowledgment sent {"connection_id":187915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:18:53] local.INFO: TCP Data received {"connection_id":187916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:18:53] local.INFO: Processing buffer {"connection_id":187916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:18:53] local.INFO: Packet analysis {"connection_id":187916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:18:53] local.INFO: Extracted packet for processing {"connection_id":187916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":187916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:18:53] local.INFO: GPS data processed {"connection_id":187916,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:18:53] local.INFO: Acknowledgment sent {"connection_id":187916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:18:57] local.INFO: TCP Data received {"connection_id":185164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:18:57] local.INFO: Processing buffer {"connection_id":185164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:18:57] local.INFO: IMEI packet received {"connection_id":185164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":185164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:18:57] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae546690012d7a238005f0c160001000df18..."} 
[2026-09-17 13:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae546690012d7a238005f0c160001000df18..."} 
[2026-09-17 13:18:57] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae546690012d7a238005f0c160001000df18..."} 
[2026-09-17 13:18:57] local.INFO: Packet analysis {"connection_id":186601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:18:57] local.INFO: Extracted packet for processing {"connection_id":186601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:18:57] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99664224,"longitude_deg":76.29792,"latitude_deg":9.9664224,"altitude":16,"angle":223,"satellites":24,"speed":0,"hex_longitude":"2d7a2380","hex_latitude":"05f0c160","is_valid_coordinates":true} 
[2026-09-17 13:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145572096001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137416406532096,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859814477824,"note":"Value kept but may cause issues"} 
[2026-09-17 13:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631162000,"timestamp_ms":1789631162000,"timestamp_seconds":1789631162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae546690"} 
[2026-09-17 13:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 13:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145572096001,"66":13178,"84":206,"87":11776,"24":0,"16":134137416406532096,"45":8801018859814477824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145572096001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:18:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:18:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137416406532096,"km_value":134137416406532.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859814477824,"description":"Unknown IO ID 45"} 
[2026-09-17 13:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145572096001,"power":13178,"unknown_84":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8801018859814477824}} 
[2026-09-17 13:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":186601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:18:57] local.INFO: GPS data processed {"connection_id":186601,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:18:57] local.INFO: Acknowledgment sent {"connection_id":186601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:19:02] local.INFO: TCP Data received {"connection_id":185164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:19:02] local.INFO: Processing buffer {"connection_id":185164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:19:02] local.INFO: IMEI packet received {"connection_id":185164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":185164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:19:03] local.INFO: TCP Data received {"connection_id":185164,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:19:03] local.INFO: Processing buffer {"connection_id":185164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:19:03] local.INFO: Packet analysis {"connection_id":185164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:19:03] local.INFO: Extracted packet for processing {"connection_id":185164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:19:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:19:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":185164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:19:03] local.INFO: GPS data processed {"connection_id":185164,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:19:03] local.INFO: Acknowledgment sent {"connection_id":185164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:19:15] local.INFO: TCP Data received {"connection_id":185286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:19:15] local.INFO: Processing buffer {"connection_id":185286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:19:15] local.INFO: IMEI packet received {"connection_id":185286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":185286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:19:20] local.INFO: TCP Data received {"connection_id":185165,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:19:20] local.INFO: Processing buffer {"connection_id":185165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:19:20] local.INFO: IMEI packet received {"connection_id":185165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":185165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:19:20] local.INFO: TCP Data received {"connection_id":185286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:19:20] local.INFO: Processing buffer {"connection_id":185286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:19:20] local.INFO: IMEI packet received {"connection_id":185286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":185286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:19:21] local.INFO: TCP Data received {"connection_id":185286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:19:21] local.INFO: Processing buffer {"connection_id":185286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:19:21] local.INFO: Packet analysis {"connection_id":185286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:19:21] local.INFO: Extracted packet for processing {"connection_id":185286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:19:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":185286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:19:21] local.INFO: GPS data processed {"connection_id":185286,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:19:21] local.INFO: Acknowledgment sent {"connection_id":185286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:19:25] local.INFO: TCP Data received {"connection_id":185165,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:19:25] local.INFO: Processing buffer {"connection_id":185165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:19:25] local.INFO: IMEI packet received {"connection_id":185165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":185165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:19:26] local.INFO: TCP Data received {"connection_id":185165,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae571de0012d7a1d0005f0bec8001000fe21..."} 
[2026-09-17 13:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae571de0012d7a1d0005f0bec8001000fe21..."} 
[2026-09-17 13:19:26] local.INFO: Processing buffer {"connection_id":185165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae571de0012d7a1d0005f0bec8001000fe21..."} 
[2026-09-17 13:19:26] local.INFO: Packet analysis {"connection_id":185165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae57"} 
[2026-09-17 13:19:26] local.INFO: Extracted packet for processing {"connection_id":185165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae57"} 
[2026-09-17 13:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":99663560,"longitude_deg":76.2977536,"latitude_deg":9.966356,"altitude":16,"angle":254,"satellites":33,"speed":5,"hex_longitude":"2d7a1d00","hex_latitude":"05f0bec8","is_valid_coordinates":true} 
[2026-09-17 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145622528001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137515190779904,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541116186603520,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631340000,"timestamp_ms":1789631340000,"timestamp_seconds":1789631340,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae571de0"} 
[2026-09-17 13:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145622528001,"66":13450,"84":206,"87":11776,"24":5,"16":134137515190779904,"45":8799541116186603520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145622528001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:19:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:19:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137515190779904,"km_value":134137515190779.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541116186603520,"description":"Unknown IO ID 45"} 
[2026-09-17 13:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145622528001,"power":13450,"unknown_84":206,"unknown_87":11776,"ignition":5,"odometer":null,"unknown_45":8799541116186603520}} 
[2026-09-17 13:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":185165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:19:27] local.INFO: GPS data processed {"connection_id":185165,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:19:27] local.INFO: Acknowledgment sent {"connection_id":185165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:19:34] local.INFO: TCP Data received {"connection_id":185164,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:19:34] local.INFO: Processing buffer {"connection_id":185164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:19:34] local.INFO: Packet analysis {"connection_id":185164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:19:34] local.INFO: Extracted packet for processing {"connection_id":185164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:19:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":185164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:19:34] local.INFO: GPS data processed {"connection_id":185164,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:19:34] local.INFO: Acknowledgment sent {"connection_id":185164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:19:53] local.INFO: TCP Data received {"connection_id":185286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:19:53] local.INFO: Processing buffer {"connection_id":185286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:19:53] local.INFO: Packet analysis {"connection_id":185286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:19:53] local.INFO: Extracted packet for processing {"connection_id":185286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":185286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:19:53] local.INFO: GPS data processed {"connection_id":185286,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:19:53] local.INFO: Acknowledgment sent {"connection_id":185286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:19:57] local.INFO: TCP Data received {"connection_id":185287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185287,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:19:57] local.INFO: Processing buffer {"connection_id":185287,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:19:57] local.INFO: IMEI packet received {"connection_id":185287,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":185287,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:19:57] local.INFO: TCP Data received {"connection_id":185165,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5725b0012d7a1c4005f0be60001100e320..."} 
[2026-09-17 13:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5725b0012d7a1c4005f0be60001100e320..."} 
[2026-09-17 13:19:57] local.INFO: Processing buffer {"connection_id":185165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5725b0012d7a1c4005f0be60001100e320..."} 
[2026-09-17 13:19:57] local.INFO: Packet analysis {"connection_id":185165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae57"} 
[2026-09-17 13:19:57] local.INFO: Extracted packet for processing {"connection_id":185165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae57"} 
[2026-09-17 13:19:57] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":99663456,"longitude_deg":76.2977344,"latitude_deg":9.9663456,"altitude":17,"angle":227,"satellites":32,"speed":2,"hex_longitude":"2d7a1c40","hex_latitude":"05f0be60","is_valid_coordinates":true} 
[2026-09-17 13:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145623040001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137523780714496,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272465688576,"note":"Value kept but may cause issues"} 
[2026-09-17 13:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631342000,"timestamp_ms":1789631342000,"timestamp_seconds":1789631342,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5725b0"} 
[2026-09-17 13:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 13:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145623040001,"66":13428,"84":206,"87":11776,"24":2,"16":134137523780714496,"45":8799189272465688576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145623040001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:19:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:19:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137523780714496,"km_value":134137523780714.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272465688576,"description":"Unknown IO ID 45"} 
[2026-09-17 13:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145623040001,"power":13428,"unknown_84":206,"unknown_87":11776,"ignition":2,"odometer":null,"unknown_45":8799189272465688576}} 
[2026-09-17 13:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":185165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:19:57] local.INFO: GPS data processed {"connection_id":185165,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:19:57] local.INFO: Acknowledgment sent {"connection_id":185165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:20:02] local.INFO: TCP Data received {"connection_id":185287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185287,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:20:02] local.INFO: Processing buffer {"connection_id":185287,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:20:02] local.INFO: IMEI packet received {"connection_id":185287,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":185287,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:20:03] local.INFO: TCP Data received {"connection_id":185287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:20:03] local.INFO: Processing buffer {"connection_id":185287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:20:03] local.INFO: Packet analysis {"connection_id":185287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:20:03] local.INFO: Extracted packet for processing {"connection_id":185287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:20:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:20:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":185287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:20:03] local.INFO: GPS data processed {"connection_id":185287,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:20:03] local.INFO: Acknowledgment sent {"connection_id":185287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:20:19] local.INFO: TCP Data received {"connection_id":185288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:20:19] local.INFO: Processing buffer {"connection_id":185288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:20:19] local.INFO: IMEI packet received {"connection_id":185288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":185288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:20:20] local.INFO: TCP Data received {"connection_id":185166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:20:20] local.INFO: Processing buffer {"connection_id":185166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:20:20] local.INFO: IMEI packet received {"connection_id":185166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":185166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:20:20] local.INFO: TCP Data received {"connection_id":185288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:20:20] local.INFO: Processing buffer {"connection_id":185288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:20:20] local.INFO: IMEI packet received {"connection_id":185288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":185288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:20:24] local.INFO: TCP Data received {"connection_id":185288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:20:24] local.INFO: Processing buffer {"connection_id":185288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:20:24] local.INFO: IMEI packet received {"connection_id":185288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":185288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:20:25] local.INFO: TCP Data received {"connection_id":185288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae572998012d7a1bc005f0be30001100f520..."} 
[2026-09-17 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae572998012d7a1bc005f0be30001100f520..."} 
[2026-09-17 13:20:25] local.INFO: Processing buffer {"connection_id":185288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae572998012d7a1bc005f0be30001100f520..."} 
[2026-09-17 13:20:25] local.INFO: Packet analysis {"connection_id":185288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae57"} 
[2026-09-17 13:20:25] local.INFO: Extracted packet for processing {"connection_id":185288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae57"} 
[2026-09-17 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":762977216,"raw_latitude":99663408,"longitude_deg":76.2977216,"latitude_deg":9.9663408,"altitude":17,"angle":245,"satellites":32,"speed":3,"hex_longitude":"2d7a1bc0","hex_latitude":"05f0be30","is_valid_coordinates":true} 
[2026-09-17 13:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145623552001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137532370649088,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798978166233128960,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789631343000,"timestamp_ms":1789631343000,"timestamp_seconds":1789631343,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae572998"} 
[2026-09-17 13:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 13:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145623552001,"66":13428,"84":206,"87":11776,"24":3,"16":134137532370649088,"45":8798978166233128960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,87,24,16,45]} 
[2026-09-17 13:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145623552001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:20:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-17 13:20:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137532370649088,"km_value":134137532370649.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798978166233128960,"description":"Unknown IO ID 45"} 
[2026-09-17 13:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145623552001,"power":13428,"unknown_84":206,"unknown_87":11776,"ignition":3,"odometer":null,"unknown_45":8798978166233128960}} 
[2026-09-17 13:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":185288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:20:25] local.INFO: GPS data processed {"connection_id":185288,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:20:25] local.INFO: Acknowledgment sent {"connection_id":185288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:20:29] local.INFO: TCP Data received {"connection_id":185166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:20:29] local.INFO: Processing buffer {"connection_id":185166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:20:29] local.INFO: IMEI packet received {"connection_id":185166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":185166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:20:30] local.INFO: TCP Data received {"connection_id":185166,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:20:30] local.INFO: Processing buffer {"connection_id":185166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:20:30] local.INFO: Packet analysis {"connection_id":185166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:20:30] local.INFO: Extracted packet for processing {"connection_id":185166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:20:30] 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-09-17 13:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:20:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:20:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":185166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:20:30] local.INFO: GPS data processed {"connection_id":185166,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:20:30] local.INFO: Acknowledgment sent {"connection_id":185166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:20:31] local.INFO: TCP Data received {"connection_id":185166,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:20:31] local.INFO: Processing buffer {"connection_id":185166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:20:31] local.INFO: Packet analysis {"connection_id":185166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:20:31] local.INFO: Extracted packet for processing {"connection_id":185166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":185166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:20:31] local.INFO: GPS data processed {"connection_id":185166,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:20:31] local.INFO: Acknowledgment sent {"connection_id":185166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:20:34] local.INFO: TCP Data received {"connection_id":185287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:20:34] local.INFO: Processing buffer {"connection_id":185287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:20:34] local.INFO: Packet analysis {"connection_id":185287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:20:34] local.INFO: Extracted packet for processing {"connection_id":185287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:20:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:20:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":185287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:20:34] local.INFO: GPS data processed {"connection_id":185287,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:20:34] local.INFO: Acknowledgment sent {"connection_id":185287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:20:57] local.INFO: TCP Data received {"connection_id":185288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae586600012d7a08c005f0ba20001100fd23..."} 
[2026-09-17 13:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae586600012d7a08c005f0ba20001100fd23..."} 
[2026-09-17 13:20:57] local.INFO: Processing buffer {"connection_id":185288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae586600012d7a08c005f0ba20001100fd23..."} 
[2026-09-17 13:20:57] local.INFO: Packet analysis {"connection_id":185288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae58"} 
[2026-09-17 13:20:57] local.INFO: Extracted packet for processing {"connection_id":185288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae58"} 
[2026-09-17 13:20:57] local.INFO: GPS Element Parsed {"raw_longitude":762972352,"raw_latitude":99662368,"longitude_deg":76.2972352,"latitude_deg":9.9662368,"altitude":17,"angle":253,"satellites":35,"speed":2,"hex_longitude":"2d7a08c0","hex_latitude":"05f0ba20","is_valid_coordinates":true} 
[2026-09-17 13:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145644032001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137781478752256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793630141675356160,"note":"Value kept but may cause issues"} 
[2026-09-17 13:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631424000,"timestamp_ms":1789631424000,"timestamp_seconds":1789631424,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae586600"} 
[2026-09-17 13:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-17 13:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145644032001,"66":13646,"90":206,"87":11776,"24":2,"16":134137781478752256,"45":8793630141675356160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145644032001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:20:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:20:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137781478752256,"km_value":134137781478752.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793630141675356160,"description":"Unknown IO ID 45"} 
[2026-09-17 13:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145644032001,"power":13646,"unknown_90":206,"unknown_87":11776,"ignition":2,"odometer":null,"unknown_45":8793630141675356160}} 
[2026-09-17 13:20:57] local.INFO: TCP Data received {"connection_id":187918,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187918,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:20:57] local.INFO: Processing buffer {"connection_id":187918,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:20:57] local.INFO: IMEI packet received {"connection_id":187918,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":187918,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":185288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:20:57] local.INFO: GPS data processed {"connection_id":185288,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:20:57] local.INFO: Acknowledgment sent {"connection_id":185288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:21:02] local.INFO: TCP Data received {"connection_id":187918,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187918,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:21:02] local.INFO: Processing buffer {"connection_id":187918,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:21:02] local.INFO: IMEI packet received {"connection_id":187918,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":187918,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:21:03] local.INFO: TCP Data received {"connection_id":187918,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:21:03] local.INFO: Processing buffer {"connection_id":187918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae549188012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:21:03] local.INFO: Packet analysis {"connection_id":187918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:21:03] local.INFO: Extracted packet for processing {"connection_id":187918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae54"} 
[2026-09-17 13:21:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145503232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631173000,"timestamp_ms":1789631173000,"timestamp_seconds":1789631173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae549188"} 
[2026-09-17 13:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 13:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187918,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187918,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145503232001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145503232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:21:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145503232001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":187918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:21:03] local.INFO: GPS data processed {"connection_id":187918,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:21:03] local.INFO: Acknowledgment sent {"connection_id":187918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:21:15] local.INFO: TCP Data received {"connection_id":187919,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:21:15] local.INFO: Processing buffer {"connection_id":187919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:21:15] local.INFO: IMEI packet received {"connection_id":187919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":187919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:21:19] local.INFO: TCP Data received {"connection_id":187920,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:21:19] local.INFO: Processing buffer {"connection_id":187920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:21:19] local.INFO: IMEI packet received {"connection_id":187920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":187920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:21:20] local.INFO: TCP Data received {"connection_id":187919,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:21:20] local.INFO: Processing buffer {"connection_id":187919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:21:20] local.INFO: IMEI packet received {"connection_id":187919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":187919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:21:21] local.INFO: TCP Data received {"connection_id":187919,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:21:21] local.INFO: Processing buffer {"connection_id":187919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:21:21] local.INFO: Packet analysis {"connection_id":187919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:21:21] local.INFO: Extracted packet for processing {"connection_id":187919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:21:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":187919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:21:21] local.INFO: GPS data processed {"connection_id":187919,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:21:21] local.INFO: Acknowledgment sent {"connection_id":187919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:21:25] local.INFO: TCP Data received {"connection_id":187920,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:21:25] local.INFO: Processing buffer {"connection_id":187920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:21:25] local.INFO: IMEI packet received {"connection_id":187920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":187920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:21:25] local.INFO: TCP Data received {"connection_id":187920,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5875a0012d7a074005f0ba100011010922..."} 
[2026-09-17 13:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5875a0012d7a074005f0ba100011010922..."} 
[2026-09-17 13:21:25] local.INFO: Processing buffer {"connection_id":187920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5875a0012d7a074005f0ba100011010922..."} 
[2026-09-17 13:21:25] local.INFO: Packet analysis {"connection_id":187920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae58"} 
[2026-09-17 13:21:25] local.INFO: Extracted packet for processing {"connection_id":187920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae58"} 
[2026-09-17 13:21:25] local.INFO: GPS Element Parsed {"raw_longitude":762971968,"raw_latitude":99662352,"longitude_deg":76.2971968,"latitude_deg":9.9662352,"altitude":17,"angle":265,"satellites":34,"speed":4,"hex_longitude":"2d7a0740","hex_latitude":"05f0ba10","is_valid_coordinates":true} 
[2026-09-17 13:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145644544001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137798658621440,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793489404186992640,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789631428000,"timestamp_ms":1789631428000,"timestamp_seconds":1789631428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5875a0"} 
[2026-09-17 13:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-17 13:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145644544001,"66":13428,"90":206,"87":11776,"24":4,"16":134137798658621440,"45":8793489404186992640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145644544001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:21:25] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:21:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137798658621440,"km_value":134137798658621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793489404186992640,"description":"Unknown IO ID 45"} 
[2026-09-17 13:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145644544001,"power":13428,"unknown_90":206,"unknown_87":11776,"ignition":4,"odometer":null,"unknown_45":8793489404186992640}} 
[2026-09-17 13:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":187920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:21:25] local.INFO: GPS data processed {"connection_id":187920,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:21:25] local.INFO: Acknowledgment sent {"connection_id":187920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:21:34] local.INFO: TCP Data received {"connection_id":187918,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:21:34] local.INFO: Processing buffer {"connection_id":187918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:21:34] local.INFO: Packet analysis {"connection_id":187918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:21:34] local.INFO: Extracted packet for processing {"connection_id":187918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:21:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":28,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145580288001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631474000,"timestamp_ms":1789631474000,"timestamp_seconds":1789631474,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae592950"} 
[2026-09-17 13:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923564864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094443527,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":12289,"corrected_to":0} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4737003960763944000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3291480101,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138849,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5116314992517369427,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195484672,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,216,83,24,241,157,16,92,160,249,44,195,48,32,10,66,97,36,202,240,204,227,174,15,4,113,205,38,12,30,239,1,57,2,116,7,37,56,162,33,69],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":202,"original":12289,"validated":0},{"io_id":204,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:21:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940564530003968,"timestamp_seconds":3458940564530004.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187918,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187918,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145580288001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145580288001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:21:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:21:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145580288001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":187918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:21:34] local.INFO: GPS data processed {"connection_id":187918,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:21:34] local.INFO: Acknowledgment sent {"connection_id":187918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:21:52] local.INFO: TCP Data received {"connection_id":187919,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:21:52] local.INFO: Processing buffer {"connection_id":187919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:21:52] local.INFO: Packet analysis {"connection_id":187919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:21:52] local.INFO: Extracted packet for processing {"connection_id":187919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":187919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:21:52] local.INFO: GPS data processed {"connection_id":187919,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:21:52] local.INFO: Acknowledgment sent {"connection_id":187919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:21:57] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:21:57] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:21:57] local.INFO: IMEI packet received {"connection_id":186603,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":186603,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:21:57] local.INFO: TCP Data received {"connection_id":187920,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae58c7a8012d7a048005f0b9580011011320..."} 
[2026-09-17 13:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae58c7a8012d7a048005f0b9580011011320..."} 
[2026-09-17 13:21:57] local.INFO: Processing buffer {"connection_id":187920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae58c7a8012d7a048005f0b9580011011320..."} 
[2026-09-17 13:21:57] local.INFO: Packet analysis {"connection_id":187920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae58"} 
[2026-09-17 13:21:57] local.INFO: Extracted packet for processing {"connection_id":187920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae58"} 
[2026-09-17 13:21:57] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99662168,"longitude_deg":76.2971264,"latitude_deg":9.9662168,"altitude":17,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05f0b958","is_valid_coordinates":true} 
[2026-09-17 13:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145645568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137833018359808,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793067191721922560,"note":"Value kept but may cause issues"} 
[2026-09-17 13:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631449000,"timestamp_ms":1789631449000,"timestamp_seconds":1789631449,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae58c7a8"} 
[2026-09-17 13:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 13:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145645568001,"66":13341,"90":206,"87":11776,"24":0,"16":134137833018359808,"45":8793067191721922560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145645568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:21:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:21:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137833018359808,"km_value":134137833018359.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793067191721922560,"description":"Unknown IO ID 45"} 
[2026-09-17 13:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145645568001,"power":13341,"unknown_90":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8793067191721922560}} 
[2026-09-17 13:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":187920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:21:57] local.INFO: GPS data processed {"connection_id":187920,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:21:57] local.INFO: Acknowledgment sent {"connection_id":187920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:22:00] local.INFO: TCP Data received {"connection_id":185289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:22:00] local.INFO: Processing buffer {"connection_id":185289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:22:00] local.INFO: IMEI packet received {"connection_id":185289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":185289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:22:02] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:22:02] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:22:02] local.INFO: IMEI packet received {"connection_id":186603,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":186603,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:22:03] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:22:03] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:22:03] local.INFO: Packet analysis {"connection_id":186603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:22:03] local.INFO: Extracted packet for processing {"connection_id":186603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:22:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":28,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145580288001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631474000,"timestamp_ms":1789631474000,"timestamp_seconds":1789631474,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae592950"} 
[2026-09-17 13:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923564864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094443527,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":12289,"corrected_to":0} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4737003960763944000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3291480101,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138849,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5116314992517369427,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195484672,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,216,83,24,241,157,16,92,160,249,44,195,48,32,10,66,97,36,202,240,204,227,174,15,4,113,205,38,12,30,239,1,57,2,116,7,37,56,162,33,69],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":202,"original":12289,"validated":0},{"io_id":204,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:22:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940564530003968,"timestamp_seconds":3458940564530004.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145580288001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145580288001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:22:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145580288001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":186603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855548,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:22:03] local.INFO: GPS data processed {"connection_id":186603,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:22:03] local.INFO: Acknowledgment sent {"connection_id":186603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:22:15] local.INFO: TCP Data received {"connection_id":185290,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:22:15] local.INFO: Processing buffer {"connection_id":185290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:22:15] local.INFO: IMEI packet received {"connection_id":185290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":185290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:22:20] local.INFO: TCP Data received {"connection_id":185290,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:22:20] local.INFO: Processing buffer {"connection_id":185290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:22:20] local.INFO: IMEI packet received {"connection_id":185290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":185290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:22:21] local.INFO: TCP Data received {"connection_id":185290,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:22:21] local.INFO: Processing buffer {"connection_id":185290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:22:21] local.INFO: Packet analysis {"connection_id":185290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:22:21] local.INFO: Extracted packet for processing {"connection_id":185290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":185290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:22:21] local.INFO: GPS data processed {"connection_id":185290,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:22:21] local.INFO: Acknowledgment sent {"connection_id":185290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:22:25] local.INFO: TCP Data received {"connection_id":187921,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:22:25] local.INFO: Processing buffer {"connection_id":187921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:22:25] local.INFO: IMEI packet received {"connection_id":187921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":187921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:22:29] local.INFO: TCP Data received {"connection_id":187921,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:22:29] local.INFO: Processing buffer {"connection_id":187921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:22:29] local.INFO: IMEI packet received {"connection_id":187921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":187921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:22:30] local.INFO: TCP Data received {"connection_id":187921,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5919b0012d7a048005f0b9580011011322..."} 
[2026-09-17 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5919b0012d7a048005f0b9580011011322..."} 
[2026-09-17 13:22:30] local.INFO: Processing buffer {"connection_id":187921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5919b0012d7a048005f0b9580011011322..."} 
[2026-09-17 13:22:30] local.INFO: Packet analysis {"connection_id":187921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:22:30] local.INFO: Extracted packet for processing {"connection_id":187921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:22:30] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99662168,"longitude_deg":76.2971264,"latitude_deg":9.9662168,"altitude":17,"angle":275,"satellites":34,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05f0b958","is_valid_coordinates":true} 
[2026-09-17 13:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145650944001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137833018359808,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135535921152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789631470000,"timestamp_ms":1789631470000,"timestamp_seconds":1789631470,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5919b0"} 
[2026-09-17 13:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145650944001,"66":13243,"90":206,"87":11776,"24":0,"16":134137833018359808,"45":8792293135535921152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145650944001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:22:30] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137833018359808,"km_value":134137833018359.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135535921152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145650944001,"power":13243,"unknown_90":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8792293135535921152}} 
[2026-09-17 13:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":187921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:22:30] local.INFO: GPS data processed {"connection_id":187921,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:22:30] local.INFO: Acknowledgment sent {"connection_id":187921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:22:35] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:22:35] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:22:35] local.INFO: Packet analysis {"connection_id":186603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:22:35] local.INFO: Extracted packet for processing {"connection_id":186603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":28,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145580288001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789631474000,"timestamp_ms":1789631474000,"timestamp_seconds":1789631474,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae592950"} 
[2026-09-17 13:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923564864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094443527,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":12289,"corrected_to":0} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4737003960763944000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3291480101,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138849,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5116314992517369427,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195484672,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,216,83,24,241,157,16,92,160,249,44,195,48,32,10,66,97,36,202,240,204,227,174,15,4,113,205,38,12,30,239,1,57,2,116,7,37,56,162,33,69],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":202,"original":12289,"validated":0},{"io_id":204,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:22:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940564530003968,"timestamp_seconds":3458940564530004.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145580288001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145580288001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:22:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145580288001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":186603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855551,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:22:35] local.INFO: GPS data processed {"connection_id":186603,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:22:35] local.INFO: Acknowledgment sent {"connection_id":186603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:22:35] local.INFO: TCP Data received {"connection_id":187921,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae596bb8012d7a048005f0b9580011011321..."} 
[2026-09-17 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae596bb8012d7a048005f0b9580011011321..."} 
[2026-09-17 13:22:35] local.INFO: Processing buffer {"connection_id":187921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae596bb8012d7a048005f0b9580011011321..."} 
[2026-09-17 13:22:35] local.INFO: Packet analysis {"connection_id":187921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:22:35] local.INFO: Extracted packet for processing {"connection_id":187921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99662168,"longitude_deg":76.2971264,"latitude_deg":9.9662168,"altitude":17,"angle":275,"satellites":33,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05f0b958","is_valid_coordinates":true} 
[2026-09-17 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145656320001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137833018359808,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135535921152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789631491000,"timestamp_ms":1789631491000,"timestamp_seconds":1789631491,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae596bb8"} 
[2026-09-17 13:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145656320001,"66":13428,"90":206,"87":11776,"24":0,"16":134137833018359808,"45":8792293135535921152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145656320001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:22:35] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:22:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137833018359808,"km_value":134137833018359.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135535921152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145656320001,"power":13428,"unknown_90":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8792293135535921152}} 
[2026-09-17 13:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":187921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:22:35] local.INFO: GPS data processed {"connection_id":187921,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:22:35] local.INFO: Acknowledgment sent {"connection_id":187921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:22:52] local.INFO: TCP Data received {"connection_id":185290,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:22:52] local.INFO: Processing buffer {"connection_id":185290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae55ba68012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:22:52] local.INFO: Packet analysis {"connection_id":185290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:22:52] local.INFO: Extracted packet for processing {"connection_id":185290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae55"} 
[2026-09-17 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145522688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789631249000,"timestamp_ms":1789631249000,"timestamp_seconds":1789631249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae55ba68"} 
[2026-09-17 13:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145522688001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145522688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145522688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":185290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:22:52] local.INFO: GPS data processed {"connection_id":185290,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:22:52] local.INFO: Acknowledgment sent {"connection_id":185290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:22:57] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:22:57] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:22:57] local.INFO: IMEI packet received {"connection_id":186604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":186604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:23:02] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:23:02] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:23:02] local.INFO: IMEI packet received {"connection_id":186604,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":186604,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:23:03] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:23:03] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:23:03] local.INFO: Packet analysis {"connection_id":186604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:23:03] local.INFO: Extracted packet for processing {"connection_id":186604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:23:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":28,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145580288001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631474000,"timestamp_ms":1789631474000,"timestamp_seconds":1789631474,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae592950"} 
[2026-09-17 13:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923564864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094443527,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":12289,"corrected_to":0} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4737003960763944000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3291480101,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138849,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5116314992517369427,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195484672,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,216,83,24,241,157,16,92,160,249,44,195,48,32,10,66,97,36,202,240,204,227,174,15,4,113,205,38,12,30,239,1,57,2,116,7,37,56,162,33,69],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":202,"original":12289,"validated":0},{"io_id":204,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:23:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940564530003968,"timestamp_seconds":3458940564530004.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145580288001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145580288001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:23:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145580288001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":186604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:23:03] local.INFO: GPS data processed {"connection_id":186604,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:23:03] local.INFO: Acknowledgment sent {"connection_id":186604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:23:16] local.INFO: TCP Data received {"connection_id":187922,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:23:16] local.INFO: Processing buffer {"connection_id":187922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:23:16] local.INFO: IMEI packet received {"connection_id":187922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":187922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:23:17] local.INFO: TCP Data received {"connection_id":187923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:23:17] local.INFO: Processing buffer {"connection_id":187923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:23:17] local.INFO: IMEI packet received {"connection_id":187923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":187923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:23:20] local.INFO: TCP Data received {"connection_id":187923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:23:20] local.INFO: Processing buffer {"connection_id":187923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:23:20] local.INFO: IMEI packet received {"connection_id":187923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":187923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:23:21] local.INFO: TCP Data received {"connection_id":187922,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:23:21] local.INFO: Processing buffer {"connection_id":187922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:23:21] local.INFO: IMEI packet received {"connection_id":187922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":187922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:23:22] local.INFO: TCP Data received {"connection_id":187922,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:23:22] local.INFO: Processing buffer {"connection_id":187922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:23:22] local.INFO: Packet analysis {"connection_id":187922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:23:22] local.INFO: Extracted packet for processing {"connection_id":187922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:23:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":187922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:23:22] local.INFO: GPS data processed {"connection_id":187922,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:23:22] local.INFO: Acknowledgment sent {"connection_id":187922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:23:25] local.INFO: TCP Data received {"connection_id":187923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:23:25] local.INFO: Processing buffer {"connection_id":187923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:23:25] local.INFO: IMEI packet received {"connection_id":187923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":187923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:23:25] local.INFO: TCP Data received {"connection_id":187923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae59bdc0012d7a048005f0b9580011011322..."} 
[2026-09-17 13:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae59bdc0012d7a048005f0b9580011011322..."} 
[2026-09-17 13:23:25] local.INFO: Processing buffer {"connection_id":187923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae59bdc0012d7a048005f0b9580011011322..."} 
[2026-09-17 13:23:25] local.INFO: Packet analysis {"connection_id":187923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:23:25] local.INFO: Extracted packet for processing {"connection_id":187923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99662168,"longitude_deg":76.2971264,"latitude_deg":9.9662168,"altitude":17,"angle":275,"satellites":34,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05f0b958","is_valid_coordinates":true} 
[2026-09-17 13:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145661696001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137833018359808,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135535921152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789631512000,"timestamp_ms":1789631512000,"timestamp_seconds":1789631512,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae59bdc0"} 
[2026-09-17 13:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 13:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145661696001,"66":13341,"90":206,"87":11776,"24":0,"16":134137833018359808,"45":8792293135535921152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145661696001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:23:25] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137833018359808,"km_value":134137833018359.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135535921152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145661696001,"power":13341,"unknown_90":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8792293135535921152}} 
[2026-09-17 13:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":187923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:23:26] local.INFO: GPS data processed {"connection_id":187923,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:23:26] local.INFO: Acknowledgment sent {"connection_id":187923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:23:34] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:23:34] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:23:34] local.INFO: Packet analysis {"connection_id":186604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:23:34] local.INFO: Extracted packet for processing {"connection_id":186604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:23:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":28,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145580288001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631474000,"timestamp_ms":1789631474000,"timestamp_seconds":1789631474,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae592950"} 
[2026-09-17 13:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923564864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094443527,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":12289,"corrected_to":0} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4737003960763944000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3291480101,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138849,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5116314992517369427,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195484672,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,216,83,24,241,157,16,92,160,249,44,195,48,32,10,66,97,36,202,240,204,227,174,15,4,113,205,38,12,30,239,1,57,2,116,7,37,56,162,33,69],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":202,"original":12289,"validated":0},{"io_id":204,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:23:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940564530003968,"timestamp_seconds":3458940564530004.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186604,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145580288001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145580288001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:23:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:23:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145580288001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":186604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855557,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:23:34] local.INFO: GPS data processed {"connection_id":186604,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:23:34] local.INFO: Acknowledgment sent {"connection_id":186604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:23:53] local.INFO: TCP Data received {"connection_id":187922,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:23:53] local.INFO: Processing buffer {"connection_id":187922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:23:53] local.INFO: Packet analysis {"connection_id":187922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:23:53] local.INFO: Extracted packet for processing {"connection_id":187922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":187922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:23:53] local.INFO: GPS data processed {"connection_id":187922,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:23:53] local.INFO: Acknowledgment sent {"connection_id":187922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:23:56] local.INFO: TCP Data received {"connection_id":187923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a0fc8012d7a048005f0b9580011011320..."} 
[2026-09-17 13:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a0fc8012d7a048005f0b9580011011320..."} 
[2026-09-17 13:23:56] local.INFO: Processing buffer {"connection_id":187923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a0fc8012d7a048005f0b9580011011320..."} 
[2026-09-17 13:23:56] local.INFO: Packet analysis {"connection_id":187923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:23:56] local.INFO: Extracted packet for processing {"connection_id":187923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:23:56] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99662168,"longitude_deg":76.2971264,"latitude_deg":9.9662168,"altitude":17,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05f0b958","is_valid_coordinates":true} 
[2026-09-17 13:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145667072001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137833018359808,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135535921152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789631533000,"timestamp_ms":1789631533000,"timestamp_seconds":1789631533,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a0fc8"} 
[2026-09-17 13:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145667072001,"66":13341,"90":206,"87":11776,"24":0,"16":134137833018359808,"45":8792293135535921152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145667072001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:23:56] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:23:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137833018359808,"km_value":134137833018359.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135535921152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145667072001,"power":13341,"unknown_90":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8792293135535921152}} 
[2026-09-17 13:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":187923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:23:56] local.INFO: GPS data processed {"connection_id":187923,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:23:56] local.INFO: Acknowledgment sent {"connection_id":187923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:24:15] local.INFO: TCP Data received {"connection_id":187924,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:24:15] local.INFO: Processing buffer {"connection_id":187924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:24:15] local.INFO: IMEI packet received {"connection_id":187924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":187924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:24:16] local.INFO: TCP Data received {"connection_id":185292,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:24:16] local.INFO: Processing buffer {"connection_id":185292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:24:16] local.INFO: IMEI packet received {"connection_id":185292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":185292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:24:20] local.INFO: TCP Data received {"connection_id":185292,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:24:20] local.INFO: Processing buffer {"connection_id":185292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:24:20] local.INFO: IMEI packet received {"connection_id":185292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":185292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:24:20] local.INFO: TCP Data received {"connection_id":187924,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:24:20] local.INFO: Processing buffer {"connection_id":187924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:24:20] local.INFO: IMEI packet received {"connection_id":187924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":187924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:24:22] local.INFO: TCP Data received {"connection_id":187924,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:24:22] local.INFO: Processing buffer {"connection_id":187924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:24:22] local.INFO: Packet analysis {"connection_id":187924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:24:22] local.INFO: Extracted packet for processing {"connection_id":187924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:24:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:24:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:24:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":187924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:24:22] local.INFO: GPS data processed {"connection_id":187924,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:24:22] local.INFO: Acknowledgment sent {"connection_id":187924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:24:25] local.INFO: TCP Data received {"connection_id":185292,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:24:25] local.INFO: Processing buffer {"connection_id":185292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:24:25] local.INFO: IMEI packet received {"connection_id":185292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":185292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:24:26] local.INFO: TCP Data received {"connection_id":185292,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a61d0012d7a048005f0b9580011011322..."} 
[2026-09-17 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a61d0012d7a048005f0b9580011011322..."} 
[2026-09-17 13:24:26] local.INFO: Processing buffer {"connection_id":185292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a61d0012d7a048005f0b9580011011322..."} 
[2026-09-17 13:24:26] local.INFO: Packet analysis {"connection_id":185292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:24:26] local.INFO: Extracted packet for processing {"connection_id":185292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99662168,"longitude_deg":76.2971264,"latitude_deg":9.9662168,"altitude":17,"angle":275,"satellites":34,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05f0b958","is_valid_coordinates":true} 
[2026-09-17 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145672448001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137833018359808,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135535921152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631554000,"timestamp_ms":1789631554000,"timestamp_seconds":1789631554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a61d0"} 
[2026-09-17 13:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145672448001,"66":13374,"90":206,"87":11776,"24":0,"16":134137833018359808,"45":8792293135535921152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145672448001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:24:26] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:24:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137833018359808,"km_value":134137833018359.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135535921152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145672448001,"power":13374,"unknown_90":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8792293135535921152}} 
[2026-09-17 13:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":185292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:24:26] local.INFO: GPS data processed {"connection_id":185292,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:24:26] local.INFO: Acknowledgment sent {"connection_id":185292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:24:53] local.INFO: TCP Data received {"connection_id":187924,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:24:53] local.INFO: Processing buffer {"connection_id":187924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:24:53] local.INFO: Packet analysis {"connection_id":187924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:24:53] local.INFO: Extracted packet for processing {"connection_id":187924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":187924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:24:53] local.INFO: GPS data processed {"connection_id":187924,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:24:53] local.INFO: Acknowledgment sent {"connection_id":187924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:24:57] local.INFO: TCP Data received {"connection_id":185292,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ab3d8012d7a048005f0b9580011011320..."} 
[2026-09-17 13:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ab3d8012d7a048005f0b9580011011320..."} 
[2026-09-17 13:24:57] local.INFO: Processing buffer {"connection_id":185292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ab3d8012d7a048005f0b9580011011320..."} 
[2026-09-17 13:24:57] local.INFO: Packet analysis {"connection_id":185292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:24:57] local.INFO: Extracted packet for processing {"connection_id":185292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:24:57] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99662168,"longitude_deg":76.2971264,"latitude_deg":9.9662168,"altitude":17,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05f0b958","is_valid_coordinates":true} 
[2026-09-17 13:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145677824001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137833018359808,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135535921152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631575000,"timestamp_ms":1789631575000,"timestamp_seconds":1789631575,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ab3d8"} 
[2026-09-17 13:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 13:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145677824001,"66":13319,"90":206,"87":11776,"24":0,"16":134137833018359808,"45":8792293135535921152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145677824001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:24:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:24:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137833018359808,"km_value":134137833018359.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135535921152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145677824001,"power":13319,"unknown_90":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8792293135535921152}} 
[2026-09-17 13:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":185292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:24:57] local.INFO: GPS data processed {"connection_id":185292,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:24:57] local.INFO: Acknowledgment sent {"connection_id":185292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:25:15] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:25:15] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:25:15] local.INFO: IMEI packet received {"connection_id":186606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":186606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:25:17] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:25:17] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:25:17] local.INFO: IMEI packet received {"connection_id":186607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":186607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:25:20] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:25:20] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:25:20] local.INFO: IMEI packet received {"connection_id":186608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":186608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:25:20] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:25:20] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:25:20] local.INFO: IMEI packet received {"connection_id":186606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":186606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:25:21] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:25:21] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:25:21] local.INFO: Packet analysis {"connection_id":186606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:25:21] local.INFO: Extracted packet for processing {"connection_id":186606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:25:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":186606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:25:21] local.INFO: GPS data processed {"connection_id":186606,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:25:21] local.INFO: Acknowledgment sent {"connection_id":186606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:25:22] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:25:22] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:25:22] local.INFO: IMEI packet received {"connection_id":186607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":186607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:25:23] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:25:23] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:25:23] local.INFO: Packet analysis {"connection_id":186607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:25:23] local.INFO: Extracted packet for processing {"connection_id":186607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:25:23] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":28,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145580288001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789631474000,"timestamp_ms":1789631474000,"timestamp_seconds":1789631474,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae592950"} 
[2026-09-17 13:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923564864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094443527,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":12289,"corrected_to":0} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4737003960763944000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3291480101,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138849,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5116314992517369427,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195484672,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,216,83,24,241,157,16,92,160,249,44,195,48,32,10,66,97,36,202,240,204,227,174,15,4,113,205,38,12,30,239,1,57,2,116,7,37,56,162,33,69],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":202,"original":12289,"validated":0},{"io_id":204,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:25:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940564530003968,"timestamp_seconds":3458940564530004.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145580288001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145580288001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:25:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:25:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145580288001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":186607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:25:23] local.INFO: GPS data processed {"connection_id":186607,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:25:23] local.INFO: Acknowledgment sent {"connection_id":186607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:25:25] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:25:25] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:25:25] local.INFO: IMEI packet received {"connection_id":186608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":186608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:25:26] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5b05e0012d7a048005f0b958001101131f..."} 
[2026-09-17 13:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5b05e0012d7a048005f0b958001101131f..."} 
[2026-09-17 13:25:26] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5b05e0012d7a048005f0b958001101131f..."} 
[2026-09-17 13:25:26] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5b"} 
[2026-09-17 13:25:26] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5b"} 
[2026-09-17 13:25:26] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99662168,"longitude_deg":76.2971264,"latitude_deg":9.9662168,"altitude":17,"angle":275,"satellites":31,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05f0b958","is_valid_coordinates":true} 
[2026-09-17 13:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145683200001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137833018359808,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135535921152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631596000,"timestamp_ms":1789631596000,"timestamp_seconds":1789631596,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5b05e0"} 
[2026-09-17 13:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2925053864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-5039527909995765248,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57747836763002670,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":2147872953,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":693764302,"corrected_to":0} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":88,"raw_value":8475775793543725061,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391913,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2376466432,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4038678528,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:26] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,90,87,24,241,157,16,141,160,97,45,128,185,17,34,10,66,15,32,189,1,240,29,227,174,4,113,205,25,88,239,51,2,220,5],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":693764302,"validated":0}]} 
[2026-09-17 13:25:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225281601781366784,"timestamp_seconds":1225281601781366.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145683200001,"66":13363,"90":206,"87":11776,"24":0,"16":134137833018359808,"45":8792293135535921152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145683200001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:25:26] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:25:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137833018359808,"km_value":134137833018359.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135535921152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145683200001,"power":13363,"unknown_90":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8792293135535921152}} 
[2026-09-17 13:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:25:26] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:25:26] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:25:54] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:25:54] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:25:54] local.INFO: Packet analysis {"connection_id":186606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:25:54] local.INFO: Extracted packet for processing {"connection_id":186606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:25:54] 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-09-17 13:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:25:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":186606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:25:54] local.INFO: GPS data processed {"connection_id":186606,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:25:54] local.INFO: Acknowledgment sent {"connection_id":186606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:25:57] local.INFO: TCP Data received {"connection_id":185293,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:25:57] local.INFO: Processing buffer {"connection_id":185293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:25:57] local.INFO: IMEI packet received {"connection_id":185293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":185293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:25:57] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5d20f0012d79fa0005f0b6080010010823..."} 
[2026-09-17 13:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5d20f0012d79fa0005f0b6080010010823..."} 
[2026-09-17 13:25:57] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5d20f0012d79fa0005f0b6080010010823..."} 
[2026-09-17 13:25:57] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:25:57] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:25:57] local.INFO: GPS Element Parsed {"raw_longitude":762968576,"raw_latitude":99661320,"longitude_deg":76.2968576,"latitude_deg":9.966132,"altitude":16,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d79fa00","hex_latitude":"05f0b608","is_valid_coordinates":true} 
[2026-09-17 13:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145718528001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134137974752280576,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790041335722059776,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631734000,"timestamp_ms":1789631734000,"timestamp_seconds":1789631734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5d20f0"} 
[2026-09-17 13:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635597,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2925280864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1090715534753792010,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13445466,"corrected_to":0} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145764186,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":693764302,"corrected_to":0} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2377252864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4038621184,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":122,"raw_value":54049726973607952,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796407838887511,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.WARNING: Large IO value detected {"io_id":46,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:25:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,90,87,24,241,157,16,141,160,179,45,128,183,36,10,66,192,15,156,1,240,247,227,174,4,113,205,144,120,239,53,2,220,5,122,52,46],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":13445466,"validated":0},{"io_id":205,"original":693764302,"validated":0}]} 
[2026-09-17 13:25:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153205337520799744,"timestamp_seconds":1153205337520799.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145718528001,"66":13450,"90":206,"87":11776,"24":0,"16":134137974752280576,"45":8790041335722059776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145718528001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:25:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:25:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134137974752280576,"km_value":134137974752280.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790041335722059776,"description":"Unknown IO ID 45"} 
[2026-09-17 13:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145718528001,"power":13450,"unknown_90":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8790041335722059776}} 
[2026-09-17 13:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:25:57] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:25:57] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:26:02] local.INFO: TCP Data received {"connection_id":185293,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:26:02] local.INFO: Processing buffer {"connection_id":185293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:26:02] local.INFO: IMEI packet received {"connection_id":185293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":185293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:26:04] local.INFO: TCP Data received {"connection_id":185293,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:26:04] local.INFO: Processing buffer {"connection_id":185293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae592950012cf40d00070fc3f8003000a01c..."} 
[2026-09-17 13:26:04] local.INFO: Packet analysis {"connection_id":185293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:26:04] local.INFO: Extracted packet for processing {"connection_id":185293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae59"} 
[2026-09-17 13:26:04] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":28,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145580288001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789631474000,"timestamp_ms":1789631474000,"timestamp_seconds":1789631474,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae592950"} 
[2026-09-17 13:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923564864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094443527,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":12289,"corrected_to":0} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13459672,"corrected_to":0} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4737003960763944000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3291480101,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138849,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5116314992517369427,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195484672,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,216,83,24,241,157,16,92,160,249,44,195,48,32,10,66,97,36,202,240,204,227,174,15,4,113,205,38,12,30,239,1,57,2,116,7,37,56,162,33,69],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":202,"original":12289,"validated":0},{"io_id":204,"original":13459672,"validated":0},{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:26:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940564530003968,"timestamp_seconds":3458940564530004.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145580288001,"66":12819,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145580288001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:26:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:26:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145580288001,"power":12819,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":185293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855569,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:26:04] local.INFO: GPS data processed {"connection_id":185293,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:26:04] local.INFO: Acknowledgment sent {"connection_id":185293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:26:20] local.INFO: TCP Data received {"connection_id":185294,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:26:20] local.INFO: Processing buffer {"connection_id":185294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:26:20] local.INFO: IMEI packet received {"connection_id":185294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":185294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:26:20] local.INFO: TCP Data received {"connection_id":185168,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:26:20] local.INFO: Processing buffer {"connection_id":185168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:26:20] local.INFO: IMEI packet received {"connection_id":185168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":185168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:26:25] local.INFO: TCP Data received {"connection_id":185294,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:26:25] local.INFO: Processing buffer {"connection_id":185294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:26:25] local.INFO: IMEI packet received {"connection_id":185294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":185294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:26:25] local.INFO: TCP Data received {"connection_id":185168,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:26:25] local.INFO: Processing buffer {"connection_id":185168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:26:25] local.INFO: IMEI packet received {"connection_id":185168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":185168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:26:25] local.INFO: TCP Data received {"connection_id":185294,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5d5f70012d79f78005f0b568001000fa23..."} 
[2026-09-17 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5d5f70012d79f78005f0b568001000fa23..."} 
[2026-09-17 13:26:25] local.INFO: Processing buffer {"connection_id":185294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5d5f70012d79f78005f0b568001000fa23..."} 
[2026-09-17 13:26:25] local.INFO: Packet analysis {"connection_id":185294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:26:25] local.INFO: Extracted packet for processing {"connection_id":185294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:26:25] local.INFO: GPS Element Parsed {"raw_longitude":762967936,"raw_latitude":99661160,"longitude_deg":76.2967936,"latitude_deg":9.966116,"altitude":16,"angle":250,"satellites":35,"speed":3,"hex_longitude":"2d79f780","hex_latitude":"05f0b568","is_valid_coordinates":true} 
[2026-09-17 13:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145723904001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134138009112018944,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789337648280242176,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789631750000,"timestamp_ms":1789631750000,"timestamp_seconds":1789631750,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5d5f70"} 
[2026-09-17 13:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 13:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145723904001,"66":13243,"90":206,"87":11776,"24":3,"16":134138009112018944,"45":8789337648280242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145723904001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:26:25] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:26:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134138009112018944,"km_value":134138009112018.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789337648280242176,"description":"Unknown IO ID 45"} 
[2026-09-17 13:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145723904001,"power":13243,"unknown_90":206,"unknown_87":11776,"ignition":3,"odometer":null,"unknown_45":8789337648280242176}} 
[2026-09-17 13:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":185294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:26:26] local.INFO: GPS data processed {"connection_id":185294,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:26:26] local.INFO: Acknowledgment sent {"connection_id":185294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:26:26] local.INFO: TCP Data received {"connection_id":185168,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:26:26] local.INFO: Processing buffer {"connection_id":185168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:26:26] local.INFO: Packet analysis {"connection_id":185168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:26:26] local.INFO: Extracted packet for processing {"connection_id":185168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:26:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:26:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:26:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":185168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:26:26] local.INFO: GPS data processed {"connection_id":185168,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:26:26] local.INFO: Acknowledgment sent {"connection_id":185168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:26:32] local.INFO: TCP Data received {"connection_id":185168,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:26:32] local.INFO: Processing buffer {"connection_id":185168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:26:32] local.INFO: Packet analysis {"connection_id":185168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:26:32] local.INFO: Extracted packet for processing {"connection_id":185168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:26:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:26:32] 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-09-17 13:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":185168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:26:32] local.INFO: GPS data processed {"connection_id":185168,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:26:32] local.INFO: Acknowledgment sent {"connection_id":185168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:26:35] local.INFO: TCP Data received {"connection_id":185293,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:26:35] local.INFO: Processing buffer {"connection_id":185293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:26:35] local.INFO: Packet analysis {"connection_id":185293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:26:35] local.INFO: Extracted packet for processing {"connection_id":185293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:26:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:26:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":185293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:26:36] local.INFO: GPS data processed {"connection_id":185293,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:26:36] local.INFO: Acknowledgment sent {"connection_id":185293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:26:57] local.INFO: TCP Data received {"connection_id":185294,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5d6358012d79f70005f0b558000f010824..."} 
[2026-09-17 13:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5d6358012d79f70005f0b558000f010824..."} 
[2026-09-17 13:26:57] local.INFO: Processing buffer {"connection_id":185294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5d6358012d79f70005f0b558000f010824..."} 
[2026-09-17 13:26:57] local.INFO: Packet analysis {"connection_id":185294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:26:57] local.INFO: Extracted packet for processing {"connection_id":185294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:26:57] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99661144,"longitude_deg":76.2967808,"latitude_deg":9.9661144,"altitude":15,"angle":264,"satellites":36,"speed":3,"hex_longitude":"2d79f700","hex_latitude":"05f0b558","is_valid_coordinates":true} 
[2026-09-17 13:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145728000001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134138013406986240,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788633960838424576,"note":"Value kept but may cause issues"} 
[2026-09-17 13:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631751000,"timestamp_ms":1789631751000,"timestamp_seconds":1789631751,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5d6358"} 
[2026-09-17 13:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145728000001,"66":13243,"90":206,"87":11776,"24":3,"16":134138013406986240,"45":8788633960838424576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145728000001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:26:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:26:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134138013406986240,"km_value":134138013406986.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788633960838424576,"description":"Unknown IO ID 45"} 
[2026-09-17 13:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145728000001,"power":13243,"unknown_90":206,"unknown_87":11776,"ignition":3,"odometer":null,"unknown_45":8788633960838424576}} 
[2026-09-17 13:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":185294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:26:57] local.INFO: GPS data processed {"connection_id":185294,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:26:57] local.INFO: Acknowledgment sent {"connection_id":185294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:26:57] local.INFO: TCP Data received {"connection_id":185295,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:26:57] local.INFO: Processing buffer {"connection_id":185295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:26:57] local.INFO: IMEI packet received {"connection_id":185295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":185295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:27:02] local.INFO: TCP Data received {"connection_id":185295,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:27:02] local.INFO: Processing buffer {"connection_id":185295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:27:02] local.INFO: IMEI packet received {"connection_id":185295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":185295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:27:03] local.INFO: TCP Data received {"connection_id":185295,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:27:03] local.INFO: Processing buffer {"connection_id":185295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:27:03] local.INFO: Packet analysis {"connection_id":185295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:27:03] local.INFO: Extracted packet for processing {"connection_id":185295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:27:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:27:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:27:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":185295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:27:03] local.INFO: GPS data processed {"connection_id":185295,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:27:03] local.INFO: Acknowledgment sent {"connection_id":185295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:27:15] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:27:15] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:27:15] local.INFO: IMEI packet received {"connection_id":185169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":185169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:27:19] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:27:19] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:27:19] local.INFO: IMEI packet received {"connection_id":186610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":186610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:27:19] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:27:19] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:27:19] local.INFO: IMEI packet received {"connection_id":186610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":186610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:27:20] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:27:20] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:27:20] local.INFO: IMEI packet received {"connection_id":185169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":185169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:27:21] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:27:21] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:27:21] local.INFO: Packet analysis {"connection_id":185169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:27:21] local.INFO: Extracted packet for processing {"connection_id":185169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:27:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":185169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:27:21] local.INFO: GPS data processed {"connection_id":185169,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:27:21] local.INFO: Acknowledgment sent {"connection_id":185169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:27:25] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:27:25] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:27:25] local.INFO: IMEI packet received {"connection_id":186610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":186610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:27:25] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5d8e50012d79f60005f0b4b0000f00f627..."} 
[2026-09-17 13:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5d8e50012d79f60005f0b4b0000f00f627..."} 
[2026-09-17 13:27:25] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5d8e50012d79f60005f0b4b0000f00f627..."} 
[2026-09-17 13:27:25] local.INFO: Packet analysis {"connection_id":186610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:27:25] local.INFO: Extracted packet for processing {"connection_id":186610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:27:25] local.INFO: GPS Element Parsed {"raw_longitude":762967552,"raw_latitude":99660976,"longitude_deg":76.2967552,"latitude_deg":9.9660976,"altitude":15,"angle":246,"satellites":39,"speed":5,"hex_longitude":"2d79f600","hex_latitude":"05f0b4b0","is_valid_coordinates":true} 
[2026-09-17 13:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145728256001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134138030586855424,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223350065152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631762000,"timestamp_ms":1789631762000,"timestamp_seconds":1789631762,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5d8e50"} 
[2026-09-17 13:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145728256001,"66":13515,"90":206,"87":11776,"24":5,"16":134138030586855424,"45":8788493223350065152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145728256001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:27:26] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:27:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134138030586855424,"km_value":134138030586855.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223350065152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145728256001,"power":13515,"unknown_90":206,"unknown_87":11776,"ignition":5,"odometer":null,"unknown_45":8788493223350065152}} 
[2026-09-17 13:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":186610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:27:26] local.INFO: GPS data processed {"connection_id":186610,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:27:26] local.INFO: Acknowledgment sent {"connection_id":186610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:27:34] local.INFO: TCP Data received {"connection_id":185295,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:27:34] local.INFO: Processing buffer {"connection_id":185295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:27:34] local.INFO: Packet analysis {"connection_id":185295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:27:34] local.INFO: Extracted packet for processing {"connection_id":185295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:27:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:27:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:27:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:27:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":185295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:27:34] local.INFO: GPS data processed {"connection_id":185295,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:27:34] local.INFO: Acknowledgment sent {"connection_id":185295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:27:50] local.INFO: TCP Data received {"connection_id":185170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:27:50] local.INFO: Processing buffer {"connection_id":185170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:27:50] local.INFO: IMEI packet received {"connection_id":185170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":185170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:27:53] local.INFO: TCP Data received {"connection_id":185169,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:27:53] local.INFO: Processing buffer {"connection_id":185169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5a5230012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:27:53] local.INFO: Packet analysis {"connection_id":185169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:27:53] local.INFO: Extracted packet for processing {"connection_id":185169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5a"} 
[2026-09-17 13:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145599744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789631550000,"timestamp_ms":1789631550000,"timestamp_seconds":1789631550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5a5230"} 
[2026-09-17 13:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145599744001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145599744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145599744001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":185169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:27:53] local.INFO: GPS data processed {"connection_id":185169,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:27:53] local.INFO: Acknowledgment sent {"connection_id":185169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:27:55] local.INFO: TCP Data received {"connection_id":185170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:27:55] local.INFO: Processing buffer {"connection_id":185170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:27:55] local.INFO: IMEI packet received {"connection_id":185170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 13:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":185170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:27:56] local.INFO: TCP Data received {"connection_id":185170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae44de00012d7f9e0005afe2500024010323..."} 
[2026-09-17 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae44de00012d7f9e0005afe2500024010323..."} 
[2026-09-17 13:27:56] local.INFO: Processing buffer {"connection_id":185170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae44de00012d7f9e0005afe2500024010323..."} 
[2026-09-17 13:27:56] local.INFO: Packet analysis {"connection_id":185170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae44"} 
[2026-09-17 13:27:56] local.INFO: Extracted packet for processing {"connection_id":185170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae44"} 
[2026-09-17 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":95412816,"longitude_deg":76.333824,"latitude_deg":9.5412816,"altitude":36,"angle":259,"satellites":35,"speed":0,"hex_longitude":"2d7f9e00","hex_latitude":"05afe250","is_valid_coordinates":true} 
[2026-09-17 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145239808001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4457046476849152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513562812416,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789630144000,"timestamp_ms":1789630144000,"timestamp_seconds":1789630144,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae44de00"} 
[2026-09-17 13:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 13:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 13:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-17 13:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-17 13:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145239808001,"66":25810,"199":206,"85":12544,"24":0,"16":4457046476849152,"45":9195787513562812416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-17 13:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-17 13:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-17 13:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145239808001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:27:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-17 13:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-17 13:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4457046476849152,"km_value":4457046476849.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513562812416,"description":"Unknown IO ID 45"} 
[2026-09-17 13:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145239808001,"power":25810,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195787513562812416}} 
[2026-09-17 13:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":185170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:27:56] local.INFO: GPS data processed {"connection_id":185170,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:27:56] local.INFO: Acknowledgment sent {"connection_id":185170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:27:57] local.INFO: TCP Data received {"connection_id":187926,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187926,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:27:57] local.INFO: Processing buffer {"connection_id":187926,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:27:57] local.INFO: IMEI packet received {"connection_id":187926,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":187926,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:27:57] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5eda58012d79d58005f0aeb0000e00f926..."} 
[2026-09-17 13:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5eda58012d79d58005f0aeb0000e00f926..."} 
[2026-09-17 13:27:57] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5eda58012d79d58005f0aeb0000e00f926..."} 
[2026-09-17 13:27:57] local.INFO: Packet analysis {"connection_id":186610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:27:57] local.INFO: Extracted packet for processing {"connection_id":186610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:27:57] local.INFO: GPS Element Parsed {"raw_longitude":762959232,"raw_latitude":99659440,"longitude_deg":76.2959232,"latitude_deg":9.965944,"altitude":14,"angle":249,"satellites":38,"speed":5,"hex_longitude":"2d79d580","hex_latitude":"05f0aeb0","is_valid_coordinates":true} 
[2026-09-17 13:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145750272001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134138447198683136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779345286606548992,"note":"Value kept but may cause issues"} 
[2026-09-17 13:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631847000,"timestamp_ms":1789631847000,"timestamp_seconds":1789631847,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5eda58"} 
[2026-09-17 13:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-17 13:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145750272001,"66":13559,"90":206,"87":11776,"24":5,"16":134138447198683136,"45":8779345286606548992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145750272001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:27:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:27:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134138447198683136,"km_value":134138447198683.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779345286606548992,"description":"Unknown IO ID 45"} 
[2026-09-17 13:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145750272001,"power":13559,"unknown_90":206,"unknown_87":11776,"ignition":5,"odometer":null,"unknown_45":8779345286606548992}} 
[2026-09-17 13:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":186610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:27:57] local.INFO: GPS data processed {"connection_id":186610,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:27:57] local.INFO: Acknowledgment sent {"connection_id":186610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:28:02] local.INFO: TCP Data received {"connection_id":187926,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187926,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:28:02] local.INFO: Processing buffer {"connection_id":187926,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:28:02] local.INFO: IMEI packet received {"connection_id":187926,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":187926,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:28:03] local.INFO: TCP Data received {"connection_id":187926,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:28:03] local.INFO: Processing buffer {"connection_id":187926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:28:03] local.INFO: Packet analysis {"connection_id":187926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:28:03] local.INFO: Extracted packet for processing {"connection_id":187926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:28:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:28:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:28:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":187926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:28:03] local.INFO: GPS data processed {"connection_id":187926,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:28:03] local.INFO: Acknowledgment sent {"connection_id":187926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:28:18] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:28:18] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:28:18] local.INFO: IMEI packet received {"connection_id":185296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":185296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:28:19] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:28:19] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:28:19] local.INFO: IMEI packet received {"connection_id":186611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":186611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:28:20] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:28:20] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:28:20] local.INFO: IMEI packet received {"connection_id":185296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":185296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:28:21] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:28:21] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:28:21] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:28:21] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:28:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:28:21] local.INFO: GPS data processed {"connection_id":185296,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:28:21] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:28:25] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:28:25] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:28:25] local.INFO: IMEI packet received {"connection_id":186611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":186611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:28:26] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee228012d79d48005f0ae70000e010527..."} 
[2026-09-17 13:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee228012d79d48005f0ae70000e010527..."} 
[2026-09-17 13:28:26] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee228012d79d48005f0ae70000e010527..."} 
[2026-09-17 13:28:26] local.INFO: Packet analysis {"connection_id":186611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:28:26] local.INFO: Extracted packet for processing {"connection_id":186611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:28:26] local.INFO: GPS Element Parsed {"raw_longitude":762958976,"raw_latitude":99659376,"longitude_deg":76.2958976,"latitude_deg":9.9659376,"altitude":14,"angle":261,"satellites":39,"speed":2,"hex_longitude":"2d79d480","hex_latitude":"05f0ae70","is_valid_coordinates":true} 
[2026-09-17 13:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145752832001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134138460083585024,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779063811629821952,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631849000,"timestamp_ms":1789631849000,"timestamp_seconds":1789631849,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee228"} 
[2026-09-17 13:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 13:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145752832001,"66":13091,"90":206,"87":11776,"24":2,"16":134138460083585024,"45":8779063811629821952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145752832001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134138460083585024,"km_value":134138460083585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779063811629821952,"description":"Unknown IO ID 45"} 
[2026-09-17 13:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145752832001,"power":13091,"unknown_90":206,"unknown_87":11776,"ignition":2,"odometer":null,"unknown_45":8779063811629821952}} 
[2026-09-17 13:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":186611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:28:26] local.INFO: GPS data processed {"connection_id":186611,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:28:26] local.INFO: Acknowledgment sent {"connection_id":186611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:28:26] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:28:26] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:28:26] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:28:26] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:28:26] local.INFO: GPS data processed {"connection_id":185296,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:28:26] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:28:34] local.INFO: TCP Data received {"connection_id":187926,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:28:34] local.INFO: Processing buffer {"connection_id":187926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:28:34] local.INFO: Packet analysis {"connection_id":187926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:28:34] local.INFO: Extracted packet for processing {"connection_id":187926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:28:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:28:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:28:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":187926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855586,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:28:34] local.INFO: GPS data processed {"connection_id":187926,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:28:34] local.INFO: Acknowledgment sent {"connection_id":187926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:28:40] local.INFO: TCP Data received {"connection_id":185171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:28:40] local.INFO: Processing buffer {"connection_id":185171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:28:40] local.INFO: IMEI packet received {"connection_id":185171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":185171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:28:57] local.INFO: TCP Data received {"connection_id":187927,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:28:57] local.INFO: Processing buffer {"connection_id":187927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:28:57] local.INFO: IMEI packet received {"connection_id":187927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":187927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:28:57] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5f3430012d79ca0005f0ac30000f010527..."} 
[2026-09-17 13:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5f3430012d79ca0005f0ac30000f010527..."} 
[2026-09-17 13:28:57] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5f3430012d79ca0005f0ac30000f010527..."} 
[2026-09-17 13:28:57] local.INFO: Packet analysis {"connection_id":186611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:28:57] local.INFO: Extracted packet for processing {"connection_id":186611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:28:57] local.INFO: GPS Element Parsed {"raw_longitude":762956288,"raw_latitude":99658800,"longitude_deg":76.2956288,"latitude_deg":9.96588,"altitude":15,"angle":261,"satellites":39,"speed":11,"hex_longitude":"2d79ca00","hex_latitude":"05f0ac30","is_valid_coordinates":true} 
[2026-09-17 13:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134138588932603904,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778782336653094912,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631870000,"timestamp_ms":1789631870000,"timestamp_seconds":1789631870,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5f3430"} 
[2026-09-17 13:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 13:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753344001,"66":13450,"90":206,"87":11776,"24":11,"16":134138588932603904,"45":8778782336653094912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-09-17 13:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:28:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-17 13:28:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134138588932603904,"km_value":134138588932603.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778782336653094912,"description":"Unknown IO ID 45"} 
[2026-09-17 13:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753344001,"power":13450,"unknown_90":206,"unknown_87":11776,"ignition":11,"odometer":null,"unknown_45":8778782336653094912}} 
[2026-09-17 13:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":186611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:28:57] local.INFO: GPS data processed {"connection_id":186611,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:28:57] local.INFO: Acknowledgment sent {"connection_id":186611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:28:58] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:28:58] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:28:58] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:28:58] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:28:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:28:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:28:58] local.INFO: GPS data processed {"connection_id":185296,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:28:58] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:29:02] local.INFO: TCP Data received {"connection_id":187927,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:29:02] local.INFO: Processing buffer {"connection_id":187927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:29:02] local.INFO: IMEI packet received {"connection_id":187927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":187927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:29:03] local.INFO: TCP Data received {"connection_id":187927,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:29:03] local.INFO: Processing buffer {"connection_id":187927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:29:03] local.INFO: Packet analysis {"connection_id":187927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:29:03] local.INFO: Extracted packet for processing {"connection_id":187927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:29:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:29:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:29:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":187927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:29:03] local.INFO: GPS data processed {"connection_id":187927,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:29:03] local.INFO: Acknowledgment sent {"connection_id":187927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:29:15] local.INFO: TCP Data received {"connection_id":185297,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:29:15] local.INFO: Processing buffer {"connection_id":185297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:29:15] local.INFO: IMEI packet received {"connection_id":185297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":185297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:29:19] local.INFO: TCP Data received {"connection_id":185298,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:29:19] local.INFO: Processing buffer {"connection_id":185298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:29:19] local.INFO: IMEI packet received {"connection_id":185298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":185298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:29:20] local.INFO: TCP Data received {"connection_id":185297,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:29:20] local.INFO: Processing buffer {"connection_id":185297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:29:20] local.INFO: IMEI packet received {"connection_id":185297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":185297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:29:21] local.INFO: TCP Data received {"connection_id":185297,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:29:21] local.INFO: Processing buffer {"connection_id":185297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:29:21] local.INFO: Packet analysis {"connection_id":185297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:29:21] local.INFO: Extracted packet for processing {"connection_id":185297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:29:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":185297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:29:21] local.INFO: GPS data processed {"connection_id":185297,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:29:21] local.INFO: Acknowledgment sent {"connection_id":185297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:29:25] local.INFO: TCP Data received {"connection_id":185298,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:29:25] local.INFO: Processing buffer {"connection_id":185298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:29:25] local.INFO: IMEI packet received {"connection_id":185298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":185298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:29:26] local.INFO: TCP Data received {"connection_id":185298,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5f8638012d79b04005f0a650000f00fc25..."} 
[2026-09-17 13:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5f8638012d79b04005f0a650000f00fc25..."} 
[2026-09-17 13:29:26] local.INFO: Processing buffer {"connection_id":185298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5f8638012d79b04005f0a650000f00fc25..."} 
[2026-09-17 13:29:26] local.INFO: Packet analysis {"connection_id":185298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:29:26] local.INFO: Extracted packet for processing {"connection_id":185298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:29:26] local.INFO: GPS Element Parsed {"raw_longitude":762949696,"raw_latitude":99657296,"longitude_deg":76.2949696,"latitude_deg":9.9657296,"altitude":15,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d79b040","hex_latitude":"05f0a650","is_valid_coordinates":true} 
[2026-09-17 13:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145758720001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134138915350118400,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8775826849397485568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631891000,"timestamp_ms":1789631891000,"timestamp_seconds":1789631891,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5f8638"} 
[2026-09-17 13:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 13:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145758720001,"66":13493,"92":206,"87":11776,"24":0,"16":134138915350118400,"45":8775826849397485568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-09-17 13:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145758720001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:29:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-17 13:29:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134138915350118400,"km_value":134138915350118.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8775826849397485568,"description":"Unknown IO ID 45"} 
[2026-09-17 13:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145758720001,"power":13493,"unknown_92":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8775826849397485568}} 
[2026-09-17 13:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":185298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:29:26] local.INFO: GPS data processed {"connection_id":185298,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:29:26] local.INFO: Acknowledgment sent {"connection_id":185298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:29:34] local.INFO: TCP Data received {"connection_id":187927,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:29:34] local.INFO: Processing buffer {"connection_id":187927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:29:34] local.INFO: Packet analysis {"connection_id":187927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:29:34] local.INFO: Extracted packet for processing {"connection_id":187927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:29:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:29:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:29:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":187927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:29:34] local.INFO: GPS data processed {"connection_id":187927,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:29:34] local.INFO: Acknowledgment sent {"connection_id":187927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:29:53] local.INFO: TCP Data received {"connection_id":185297,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:29:53] local.INFO: Processing buffer {"connection_id":185297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:29:53] local.INFO: Packet analysis {"connection_id":185297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:29:53] local.INFO: Extracted packet for processing {"connection_id":185297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":185297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:29:53] local.INFO: GPS data processed {"connection_id":185297,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:29:53] local.INFO: Acknowledgment sent {"connection_id":185297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:29:57] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:29:57] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:29:57] local.INFO: IMEI packet received {"connection_id":186612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":186612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:29:57] local.INFO: TCP Data received {"connection_id":185298,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5fc4b8012d79a7c005f0a408000f011928..."} 
[2026-09-17 13:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5fc4b8012d79a7c005f0a408000f011928..."} 
[2026-09-17 13:29:57] local.INFO: Processing buffer {"connection_id":185298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5fc4b8012d79a7c005f0a408000f011928..."} 
[2026-09-17 13:29:57] local.INFO: Packet analysis {"connection_id":185298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:29:57] local.INFO: Extracted packet for processing {"connection_id":185298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:29:57] local.INFO: GPS Element Parsed {"raw_longitude":762947520,"raw_latitude":99656712,"longitude_deg":76.294752,"latitude_deg":9.9656712,"altitude":15,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d79a7c0","hex_latitude":"05f0a408","is_valid_coordinates":true} 
[2026-09-17 13:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145764096001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134139022724300800,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768578868746801152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789631907000,"timestamp_ms":1789631907000,"timestamp_seconds":1789631907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5fc4b8"} 
[2026-09-17 13:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 13:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145764096001,"66":13363,"92":206,"87":11776,"24":0,"16":134139022724300800,"45":8768578868746801152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-09-17 13:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145764096001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:29:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-17 13:29:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134139022724300800,"km_value":134139022724300.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768578868746801152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145764096001,"power":13363,"unknown_92":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8768578868746801152}} 
[2026-09-17 13:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":185298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:29:57] local.INFO: GPS data processed {"connection_id":185298,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:29:57] local.INFO: Acknowledgment sent {"connection_id":185298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:30:02] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:30:02] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:30:02] local.INFO: IMEI packet received {"connection_id":186612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":186612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:30:03] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:30:03] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:30:03] local.INFO: Packet analysis {"connection_id":186612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:30:03] local.INFO: Extracted packet for processing {"connection_id":186612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:30:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:30:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:30:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":186612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:30:03] local.INFO: GPS data processed {"connection_id":186612,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:30:03] local.INFO: Acknowledgment sent {"connection_id":186612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:30:15] local.INFO: TCP Data received {"connection_id":185299,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:30:15] local.INFO: Processing buffer {"connection_id":185299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:30:15] local.INFO: IMEI packet received {"connection_id":185299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":185299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:30:21] local.INFO: TCP Data received {"connection_id":185299,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:30:21] local.INFO: Processing buffer {"connection_id":185299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:30:21] local.INFO: IMEI packet received {"connection_id":185299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":185299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:30:22] local.INFO: TCP Data received {"connection_id":185299,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:30:22] local.INFO: Processing buffer {"connection_id":185299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:30:22] local.INFO: Packet analysis {"connection_id":185299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:30:22] local.INFO: Extracted packet for processing {"connection_id":185299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:30:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:30:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":185299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:30:22] local.INFO: GPS data processed {"connection_id":185299,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:30:22] local.INFO: Acknowledgment sent {"connection_id":185299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:30:25] local.INFO: TCP Data received {"connection_id":185300,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:30:25] local.INFO: Processing buffer {"connection_id":185300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:30:25] local.INFO: IMEI packet received {"connection_id":185300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":185300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:30:29] local.INFO: TCP Data received {"connection_id":185300,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:30:29] local.INFO: Processing buffer {"connection_id":185300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:30:29] local.INFO: IMEI packet received {"connection_id":185300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":185300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:30:29] local.INFO: TCP Data received {"connection_id":185300,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5fc8a0012d79a7c005f0a400000f010828..."} 
[2026-09-17 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5fc8a0012d79a7c005f0a400000f010828..."} 
[2026-09-17 13:30:29] local.INFO: Processing buffer {"connection_id":185300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5fc8a0012d79a7c005f0a400000f010828..."} 
[2026-09-17 13:30:29] local.INFO: Packet analysis {"connection_id":185300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:30:29] local.INFO: Extracted packet for processing {"connection_id":185300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:30:29] local.INFO: GPS Element Parsed {"raw_longitude":762947520,"raw_latitude":99656704,"longitude_deg":76.294752,"latitude_deg":9.9656704,"altitude":15,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d79a7c0","hex_latitude":"05f0a400","is_valid_coordinates":true} 
[2026-09-17 13:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145768192001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134139022724300800,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8766186331444611072,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789631908000,"timestamp_ms":1789631908000,"timestamp_seconds":1789631908,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5fc8a0"} 
[2026-09-17 13:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 13:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145768192001,"66":13178,"92":206,"87":11776,"24":0,"16":134139022724300800,"45":8766186331444611072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-09-17 13:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145768192001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:30:29] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-17 13:30:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134139022724300800,"km_value":134139022724300.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8766186331444611072,"description":"Unknown IO ID 45"} 
[2026-09-17 13:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145768192001,"power":13178,"unknown_92":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8766186331444611072}} 
[2026-09-17 13:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":185300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:30:29] local.INFO: GPS data processed {"connection_id":185300,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:30:29] local.INFO: Acknowledgment sent {"connection_id":185300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:30:30] local.INFO: TCP Data received {"connection_id":185300,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5fcc88012d79a78005f0a400000f00f328..."} 
[2026-09-17 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5fcc88012d79a78005f0a400000f00f328..."} 
[2026-09-17 13:30:30] local.INFO: Processing buffer {"connection_id":185300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5fcc88012d79a78005f0a400000f00f328..."} 
[2026-09-17 13:30:30] local.INFO: Packet analysis {"connection_id":185300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:30:30] local.INFO: Extracted packet for processing {"connection_id":185300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":762947456,"raw_latitude":99656704,"longitude_deg":76.2947456,"latitude_deg":9.9656704,"altitude":15,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d79a780","hex_latitude":"05f0a400","is_valid_coordinates":true} 
[2026-09-17 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145768448001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134139027019268096,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8766186331444609024,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789631909000,"timestamp_ms":1789631909000,"timestamp_seconds":1789631909,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5fcc88"} 
[2026-09-17 13:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 13:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145768448001,"66":13015,"92":206,"87":11776,"24":0,"16":134139027019268096,"45":8766186331444609024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-09-17 13:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145768448001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:30:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-17 13:30:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134139027019268096,"km_value":134139027019268.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8766186331444609024,"description":"Unknown IO ID 45"} 
[2026-09-17 13:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145768448001,"power":13015,"unknown_92":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8766186331444609024}} 
[2026-09-17 13:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":185300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:30:30] local.INFO: GPS data processed {"connection_id":185300,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:30:30] local.INFO: Acknowledgment sent {"connection_id":185300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:30:34] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:30:34] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:30:34] local.INFO: Packet analysis {"connection_id":186612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:30:34] local.INFO: Extracted packet for processing {"connection_id":186612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:30:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:30:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:30:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":186612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:30:34] local.INFO: GPS data processed {"connection_id":186612,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:30:34] local.INFO: Acknowledgment sent {"connection_id":186612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:30:53] local.INFO: TCP Data received {"connection_id":185299,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:30:53] local.INFO: Processing buffer {"connection_id":185299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:30:53] local.INFO: Packet analysis {"connection_id":185299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:30:53] local.INFO: Extracted packet for processing {"connection_id":185299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":185299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:30:53] local.INFO: GPS data processed {"connection_id":185299,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:30:53] local.INFO: Acknowledgment sent {"connection_id":185299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:30:57] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:30:57] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:30:57] local.INFO: IMEI packet received {"connection_id":186613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":186613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:31:01] local.INFO: TCP Data received {"connection_id":185300,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5fff50012d79a64005f0a408000f00ff28..."} 
[2026-09-17 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5fff50012d79a64005f0a408000f00ff28..."} 
[2026-09-17 13:31:01] local.INFO: Processing buffer {"connection_id":185300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5fff50012d79a64005f0a408000f00ff28..."} 
[2026-09-17 13:31:01] local.INFO: Packet analysis {"connection_id":185300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:31:01] local.INFO: Extracted packet for processing {"connection_id":185300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5f"} 
[2026-09-17 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":762947136,"raw_latitude":99656712,"longitude_deg":76.2947136,"latitude_deg":9.9656712,"altitude":15,"angle":255,"satellites":40,"speed":2,"hex_longitude":"2d79a640","hex_latitude":"05f0a408","is_valid_coordinates":true} 
[2026-09-17 13:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145768704001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134139039904169984,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8766115962700431360,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789631922000,"timestamp_ms":1789631922000,"timestamp_seconds":1789631922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5fff50"} 
[2026-09-17 13:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 13:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145768704001,"66":13080,"92":206,"87":11776,"24":2,"16":134139039904169984,"45":8766115962700431360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-09-17 13:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145768704001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:31:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-17 13:31:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134139039904169984,"km_value":134139039904169.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8766115962700431360,"description":"Unknown IO ID 45"} 
[2026-09-17 13:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145768704001,"power":13080,"unknown_92":206,"unknown_87":11776,"ignition":2,"odometer":null,"unknown_45":8766115962700431360}} 
[2026-09-17 13:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":185300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:31:02] local.INFO: GPS data processed {"connection_id":185300,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:31:02] local.INFO: Acknowledgment sent {"connection_id":185300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:31:02] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:31:02] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:31:02] local.INFO: IMEI packet received {"connection_id":186613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":186613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:31:03] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:31:03] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5dc118012cf40d00070fc3f8003000a01f..."} 
[2026-09-17 13:31:03] local.INFO: Packet analysis {"connection_id":186613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:31:03] local.INFO: Extracted packet for processing {"connection_id":186613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5d"} 
[2026-09-17 13:31:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":31,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145657344001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789631775000,"timestamp_ms":1789631775000,"timestamp_seconds":1789631775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5dc118"} 
[2026-09-17 13:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2923570864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4094492679,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10415261886709760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099389243392,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4760093704947240000,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3287810084,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6978328508776972312,"corrected_to":0} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2952867060,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3098702359455387219,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1136085783183138850,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195423488,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84710826464186308,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,92,160,145,44,195,48,30,10,66,249,32,97,240,139,227,174,15,4,113,205,38,12,239,1,57,2,116,7,37,162,33,69,56],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6978328508776972312,"validated":0}]} 
[2026-09-17 13:31:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458940555940069376,"timestamp_seconds":3458940555940069.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145657344001,"66":12798,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145657344001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:31:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:31:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145657344001,"power":12798,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":186613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:31:03] local.INFO: GPS data processed {"connection_id":186613,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:31:03] local.INFO: Acknowledgment sent {"connection_id":186613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:31:15] local.INFO: TCP Data received {"connection_id":185301,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:31:15] local.INFO: Processing buffer {"connection_id":185301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:31:15] local.INFO: IMEI packet received {"connection_id":185301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":185301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:31:20] local.INFO: TCP Data received {"connection_id":185301,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:31:20] local.INFO: Processing buffer {"connection_id":185301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:31:20] local.INFO: IMEI packet received {"connection_id":185301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":185301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:31:21] local.INFO: TCP Data received {"connection_id":185301,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:31:21] local.INFO: Processing buffer {"connection_id":185301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:31:21] local.INFO: Packet analysis {"connection_id":185301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:31:21] local.INFO: Extracted packet for processing {"connection_id":185301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:31:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":185301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:31:21] local.INFO: GPS data processed {"connection_id":185301,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:31:21] local.INFO: Acknowledgment sent {"connection_id":185301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:31:23] local.INFO: TCP Data received {"connection_id":187929,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:31:23] local.INFO: Processing buffer {"connection_id":187929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:31:23] local.INFO: IMEI packet received {"connection_id":187929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":187929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:31:25] local.INFO: TCP Data received {"connection_id":187929,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:31:25] local.INFO: Processing buffer {"connection_id":187929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:31:25] local.INFO: IMEI packet received {"connection_id":187929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":187929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:31:34] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:31:34] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:31:34] local.INFO: Packet analysis {"connection_id":186613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:31:34] local.INFO: Extracted packet for processing {"connection_id":186613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:31:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:31:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:31:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":186613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855604,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:31:34] local.INFO: GPS data processed {"connection_id":186613,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:31:34] local.INFO: Acknowledgment sent {"connection_id":186613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:31:39] local.INFO: TCP Data received {"connection_id":187929,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae605158012d799f4005f0a260000e010128..."} 
[2026-09-17 13:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae605158012d799f4005f0a260000e010128..."} 
[2026-09-17 13:31:39] local.INFO: Processing buffer {"connection_id":187929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae605158012d799f4005f0a260000e010128..."} 
[2026-09-17 13:31:39] local.INFO: Packet analysis {"connection_id":187929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae60"} 
[2026-09-17 13:31:39] local.INFO: Extracted packet for processing {"connection_id":187929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae60"} 
[2026-09-17 13:31:39] local.INFO: GPS Element Parsed {"raw_longitude":762945344,"raw_latitude":99656288,"longitude_deg":76.2945344,"latitude_deg":9.9656288,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d799f40","hex_latitude":"05f0a260","is_valid_coordinates":true} 
[2026-09-17 13: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-09-17 13:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145772032001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134139134393450496,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8765764118979545088,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789631943000,"timestamp_ms":1789631943000,"timestamp_seconds":1789631943,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae605158"} 
[2026-09-17 13:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-17 13:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13: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-09-17 13:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145772032001,"66":13374,"92":206,"87":11776,"24":0,"16":134139134393450496,"45":8765764118979545088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-09-17 13:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145772032001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:31:39] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-17 13:31:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134139134393450496,"km_value":134139134393450.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8765764118979545088,"description":"Unknown IO ID 45"} 
[2026-09-17 13:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145772032001,"power":13374,"unknown_92":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8765764118979545088}} 
[2026-09-17 13:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":187929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:31:40] local.INFO: GPS data processed {"connection_id":187929,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:31:40] local.INFO: Acknowledgment sent {"connection_id":187929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:31:41] local.INFO: TCP Data received {"connection_id":187929,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae60a360012d79918005f09fa0000f010727..."} 
[2026-09-17 13:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae60a360012d79918005f09fa0000f010727..."} 
[2026-09-17 13:31:41] local.INFO: Processing buffer {"connection_id":187929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae60a360012d79918005f09fa0000f010727..."} 
[2026-09-17 13:31:41] local.INFO: Packet analysis {"connection_id":187929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae60"} 
[2026-09-17 13:31:41] local.INFO: Extracted packet for processing {"connection_id":187929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae60"} 
[2026-09-17 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":762941824,"raw_latitude":99655584,"longitude_deg":76.2941824,"latitude_deg":9.9655584,"altitude":15,"angle":263,"satellites":39,"speed":9,"hex_longitude":"2d799180","hex_latitude":"05f09fa0","is_valid_coordinates":true} 
[2026-09-17 13: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-09-17 13:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145777408001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134139306192142336,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8763793794142461952,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789631964000,"timestamp_ms":1789631964000,"timestamp_seconds":1789631964,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae60a360"} 
[2026-09-17 13:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 13:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13: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-09-17 13:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145777408001,"66":13222,"92":206,"87":11776,"24":9,"16":134139306192142336,"45":8763793794142461952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-09-17 13:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145777408001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:31:41] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-17 13:31:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134139306192142336,"km_value":134139306192142.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8763793794142461952,"description":"Unknown IO ID 45"} 
[2026-09-17 13:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145777408001,"power":13222,"unknown_92":206,"unknown_87":11776,"ignition":9,"odometer":null,"unknown_45":8763793794142461952}} 
[2026-09-17 13:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":187929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:31:41] local.INFO: GPS data processed {"connection_id":187929,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:31:41] local.INFO: Acknowledgment sent {"connection_id":187929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:31:53] local.INFO: TCP Data received {"connection_id":185301,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:31:53] local.INFO: Processing buffer {"connection_id":185301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:31:53] local.INFO: Packet analysis {"connection_id":185301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:31:53] local.INFO: Extracted packet for processing {"connection_id":185301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":185301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:31:53] local.INFO: GPS data processed {"connection_id":185301,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:31:53] local.INFO: Acknowledgment sent {"connection_id":185301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:31:57] local.INFO: TCP Data received {"connection_id":185173,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185173,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:31:57] local.INFO: Processing buffer {"connection_id":185173,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:31:57] local.INFO: IMEI packet received {"connection_id":185173,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":185173,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:32:02] local.INFO: TCP Data received {"connection_id":185173,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185173,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:32:02] local.INFO: Processing buffer {"connection_id":185173,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:32:02] local.INFO: IMEI packet received {"connection_id":185173,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":185173,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:32:03] local.INFO: TCP Data received {"connection_id":185173,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:32:03] local.INFO: Processing buffer {"connection_id":185173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:32:03] local.INFO: Packet analysis {"connection_id":185173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:32:03] local.INFO: Extracted packet for processing {"connection_id":185173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:32:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:32:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":185173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855608,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:32:03] local.INFO: GPS data processed {"connection_id":185173,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:32:03] local.INFO: Acknowledgment sent {"connection_id":185173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:32:20] local.INFO: TCP Data received {"connection_id":185174,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:32:20] local.INFO: Processing buffer {"connection_id":185174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:32:20] local.INFO: IMEI packet received {"connection_id":185174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":185174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:32:21] local.INFO: TCP Data received {"connection_id":185302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:32:21] local.INFO: Processing buffer {"connection_id":185302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:32:21] local.INFO: IMEI packet received {"connection_id":185302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":185302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:32:25] local.INFO: TCP Data received {"connection_id":185174,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:32:25] local.INFO: Processing buffer {"connection_id":185174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:32:25] local.INFO: IMEI packet received {"connection_id":185174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":185174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:32:26] local.INFO: TCP Data received {"connection_id":185174,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:32:26] local.INFO: Processing buffer {"connection_id":185174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:32:26] local.INFO: Packet analysis {"connection_id":185174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:32:26] local.INFO: Extracted packet for processing {"connection_id":185174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:32:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":185174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:32:26] local.INFO: GPS data processed {"connection_id":185174,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:32:26] local.INFO: Acknowledgment sent {"connection_id":185174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:32:30] local.INFO: TCP Data received {"connection_id":185302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:32:30] local.INFO: Processing buffer {"connection_id":185302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:32:30] local.INFO: IMEI packet received {"connection_id":185302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":185302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:32:31] local.INFO: TCP Data received {"connection_id":185174,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:32:31] local.INFO: Processing buffer {"connection_id":185174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae5ee9f8012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:32:31] local.INFO: Packet analysis {"connection_id":185174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:32:31] local.INFO: Extracted packet for processing {"connection_id":185174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae5e"} 
[2026-09-17 13:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145676800001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789631851000,"timestamp_ms":1789631851000,"timestamp_seconds":1789631851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae5ee9f8"} 
[2026-09-17 13:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145676800001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145676800001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145676800001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":185174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:32:31] local.INFO: GPS data processed {"connection_id":185174,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:32:31] local.INFO: Acknowledgment sent {"connection_id":185174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:32:32] local.INFO: TCP Data received {"connection_id":185302,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae60f568012d7979c005f09a580010010228..."} 
[2026-09-17 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae60f568012d7979c005f09a580010010228..."} 
[2026-09-17 13:32:32] local.INFO: Processing buffer {"connection_id":185302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae60f568012d7979c005f09a580010010228..."} 
[2026-09-17 13:32:32] local.INFO: Packet analysis {"connection_id":185302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae60"} 
[2026-09-17 13:32:32] local.INFO: Extracted packet for processing {"connection_id":185302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae60"} 
[2026-09-17 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":762935744,"raw_latitude":99654232,"longitude_deg":76.2935744,"latitude_deg":9.9654232,"altitude":16,"angle":258,"satellites":40,"speed":13,"hex_longitude":"2d7979c0","hex_latitude":"05f09a58","is_valid_coordinates":true} 
[2026-09-17 13:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145782784001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134139606839853056,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8759923513212510208,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789631985000,"timestamp_ms":1789631985000,"timestamp_seconds":1789631985,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae60f568"} 
[2026-09-17 13:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 13:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145782784001,"66":13559,"216":206,"87":11776,"24":13,"16":134139606839853056,"45":8759923513212510208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-09-17 13:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145782784001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:32:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:32:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134139606839853056,"km_value":134139606839853.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8759923513212510208,"description":"Unknown IO ID 45"} 
[2026-09-17 13:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145782784001,"power":13559,"unknown_216":206,"unknown_87":11776,"ignition":13,"odometer":null,"unknown_45":8759923513212510208}} 
[2026-09-17 13:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":185302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:32:32] local.INFO: GPS data processed {"connection_id":185302,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:32:32] local.INFO: Acknowledgment sent {"connection_id":185302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:32:33] local.INFO: TCP Data received {"connection_id":185302,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae614770012d795f0005f095000013010329..."} 
[2026-09-17 13:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae614770012d795f0005f095000013010329..."} 
[2026-09-17 13:32:33] local.INFO: Processing buffer {"connection_id":185302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae614770012d795f0005f095000013010329..."} 
[2026-09-17 13:32:33] local.INFO: Packet analysis {"connection_id":185302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae61"} 
[2026-09-17 13:32:33] local.INFO: Extracted packet for processing {"connection_id":185302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae61"} 
[2026-09-17 13:32:33] local.INFO: GPS Element Parsed {"raw_longitude":762928896,"raw_latitude":99652864,"longitude_deg":76.2928896,"latitude_deg":9.9652864,"altitude":19,"angle":259,"satellites":41,"speed":9,"hex_longitude":"2d795f00","hex_latitude":"05f09500","is_valid_coordinates":true} 
[2026-09-17 13:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145788160001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134139937552334848,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8753238482515286016,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789632006000,"timestamp_ms":1789632006000,"timestamp_seconds":1789632006,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae614770"} 
[2026-09-17 13:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 13:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145788160001,"66":13243,"216":206,"87":11776,"24":9,"16":134139937552334848,"45":8753238482515286016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-09-17 13:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145788160001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:32:33] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:32:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134139937552334848,"km_value":134139937552334.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8753238482515286016,"description":"Unknown IO ID 45"} 
[2026-09-17 13:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145788160001,"power":13243,"unknown_216":206,"unknown_87":11776,"ignition":9,"odometer":null,"unknown_45":8753238482515286016}} 
[2026-09-17 13:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":185302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:32:33] local.INFO: GPS data processed {"connection_id":185302,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:32:33] local.INFO: Acknowledgment sent {"connection_id":185302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:32:34] local.INFO: TCP Data received {"connection_id":185173,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:32:34] local.INFO: Processing buffer {"connection_id":185173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:32:34] local.INFO: Packet analysis {"connection_id":185173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:32:34] local.INFO: Extracted packet for processing {"connection_id":185173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:32:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:32:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:32:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":185173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:32:34] local.INFO: GPS data processed {"connection_id":185173,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:32:34] local.INFO: Acknowledgment sent {"connection_id":185173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:32:57] local.INFO: TCP Data received {"connection_id":187931,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187931,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:32:57] local.INFO: Processing buffer {"connection_id":187931,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:32:57] local.INFO: IMEI packet received {"connection_id":187931,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":187931,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:33:02] local.INFO: TCP Data received {"connection_id":187931,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187931,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:33:02] local.INFO: Processing buffer {"connection_id":187931,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:33:02] local.INFO: IMEI packet received {"connection_id":187931,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":187931,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:33:03] local.INFO: TCP Data received {"connection_id":187931,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:33:03] local.INFO: Processing buffer {"connection_id":187931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:33:03] local.INFO: Packet analysis {"connection_id":187931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:33:03] local.INFO: Extracted packet for processing {"connection_id":187931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:33:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:33:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":187931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:33:03] local.INFO: GPS data processed {"connection_id":187931,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:33:03] local.INFO: Acknowledgment sent {"connection_id":187931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:33:05] local.INFO: TCP Data received {"connection_id":185302,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae619978012d794c4005f090d00013010029..."} 
[2026-09-17 13:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae619978012d794c4005f090d00013010029..."} 
[2026-09-17 13:33:05] local.INFO: Processing buffer {"connection_id":185302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae619978012d794c4005f090d00013010029..."} 
[2026-09-17 13:33:05] local.INFO: Packet analysis {"connection_id":185302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae61"} 
[2026-09-17 13:33:05] local.INFO: Extracted packet for processing {"connection_id":185302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae61"} 
[2026-09-17 13:33:05] local.INFO: GPS Element Parsed {"raw_longitude":762924096,"raw_latitude":99651792,"longitude_deg":76.2924096,"latitude_deg":9.9651792,"altitude":19,"angle":256,"satellites":41,"speed":0,"hex_longitude":"2d794c40","hex_latitude":"05f090d0","is_valid_coordinates":true} 
[2026-09-17 13:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145793536001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134140173775536128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8745709026887925760,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789632027000,"timestamp_ms":1789632027000,"timestamp_seconds":1789632027,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae619978"} 
[2026-09-17 13:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145793536001,"66":13472,"216":206,"87":11776,"24":0,"16":134140173775536128,"45":8745709026887925760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-09-17 13:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145793536001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:33:05] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:33:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134140173775536128,"km_value":134140173775536.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8745709026887925760,"description":"Unknown IO ID 45"} 
[2026-09-17 13:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145793536001,"power":13472,"unknown_216":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8745709026887925760}} 
[2026-09-17 13:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":185302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:33:05] local.INFO: GPS data processed {"connection_id":185302,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:33:05] local.INFO: Acknowledgment sent {"connection_id":185302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:33:15] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:33:15] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:33:15] local.INFO: IMEI packet received {"connection_id":186615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:33:20] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:33:20] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:33:20] local.INFO: IMEI packet received {"connection_id":186616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":186616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:33:21] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:33:21] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:33:21] local.INFO: IMEI packet received {"connection_id":186615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":186615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:33:23] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:33:23] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:33:23] local.INFO: Packet analysis {"connection_id":186615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:33:23] local.INFO: Extracted packet for processing {"connection_id":186615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":186615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:33:23] local.INFO: GPS data processed {"connection_id":186615,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:33:23] local.INFO: Acknowledgment sent {"connection_id":186615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:33:25] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:33:25] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:33:25] local.INFO: IMEI packet received {"connection_id":186616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":186616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:33:26] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae61eb80012d79460005f08f880013010229..."} 
[2026-09-17 13:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae61eb80012d79460005f08f880013010229..."} 
[2026-09-17 13:33:26] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae61eb80012d79460005f08f880013010229..."} 
[2026-09-17 13:33:26] local.INFO: Packet analysis {"connection_id":186616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae61"} 
[2026-09-17 13:33:26] local.INFO: Extracted packet for processing {"connection_id":186616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae61"} 
[2026-09-17 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":762922496,"raw_latitude":99651464,"longitude_deg":76.2922496,"latitude_deg":9.9651464,"altitude":19,"angle":258,"satellites":41,"speed":6,"hex_longitude":"2d794600","hex_latitude":"05f08f88","is_valid_coordinates":true} 
[2026-09-17 13:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145798912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134140251084947456,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8740431371074326528,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789632048000,"timestamp_ms":1789632048000,"timestamp_seconds":1789632048,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae61eb80"} 
[2026-09-17 13:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 13:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145798912001,"66":13526,"216":206,"87":11776,"24":6,"16":134140251084947456,"45":8740431371074326528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-09-17 13:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145798912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:33:26] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:33:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134140251084947456,"km_value":134140251084947.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8740431371074326528,"description":"Unknown IO ID 45"} 
[2026-09-17 13:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145798912001,"power":13526,"unknown_216":206,"unknown_87":11776,"ignition":6,"odometer":null,"unknown_45":8740431371074326528}} 
[2026-09-17 13:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":186616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:33:26] local.INFO: GPS data processed {"connection_id":186616,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:33:26] local.INFO: Acknowledgment sent {"connection_id":186616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:33:34] local.INFO: TCP Data received {"connection_id":187931,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:33:34] local.INFO: Processing buffer {"connection_id":187931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:33:34] local.INFO: Packet analysis {"connection_id":187931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:33:34] local.INFO: Extracted packet for processing {"connection_id":187931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:33:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:33:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:33:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":187931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855618,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:33:34] local.INFO: GPS data processed {"connection_id":187931,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:33:34] local.INFO: Acknowledgment sent {"connection_id":187931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:33:54] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:33:54] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:33:54] local.INFO: Packet analysis {"connection_id":186615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:33:54] local.INFO: Extracted packet for processing {"connection_id":186615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:33:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":186615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:33:54] local.INFO: GPS data processed {"connection_id":186615,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:33:54] local.INFO: Acknowledgment sent {"connection_id":186615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:33:57] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:33:57] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:33:57] local.INFO: IMEI packet received {"connection_id":186617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":186617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:33:57] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae623d88012d79294005f08b000011010629..."} 
[2026-09-17 13:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae623d88012d79294005f08b000011010629..."} 
[2026-09-17 13:33:57] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae623d88012d79294005f08b000011010629..."} 
[2026-09-17 13:33:57] local.INFO: Packet analysis {"connection_id":186616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:33:57] local.INFO: Extracted packet for processing {"connection_id":186616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:33:57] local.INFO: GPS Element Parsed {"raw_longitude":762915136,"raw_latitude":99650304,"longitude_deg":76.2915136,"latitude_deg":9.9650304,"altitude":17,"angle":262,"satellites":41,"speed":13,"hex_longitude":"2d792940","hex_latitude":"05f08b00","is_valid_coordinates":true} 
[2026-09-17 13:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145804288001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134140607567233024,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8738672152469800960,"note":"Value kept but may cause issues"} 
[2026-09-17 13:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789632069000,"timestamp_ms":1789632069000,"timestamp_seconds":1789632069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae623d88"} 
[2026-09-17 13:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 13:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145804288001,"66":13515,"216":206,"87":11776,"24":13,"16":134140607567233024,"45":8738672152469800960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-09-17 13:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145804288001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:33:57] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:33:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134140607567233024,"km_value":134140607567233.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8738672152469800960,"description":"Unknown IO ID 45"} 
[2026-09-17 13:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145804288001,"power":13515,"unknown_216":206,"unknown_87":11776,"ignition":13,"odometer":null,"unknown_45":8738672152469800960}} 
[2026-09-17 13:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":186616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:33:57] local.INFO: GPS data processed {"connection_id":186616,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:33:57] local.INFO: Acknowledgment sent {"connection_id":186616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:34:00] local.INFO: TCP Data received {"connection_id":185303,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:34:00] local.INFO: Processing buffer {"connection_id":185303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:34:00] local.INFO: IMEI packet received {"connection_id":185303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":185303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:34:02] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:34:02] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:34:02] local.INFO: IMEI packet received {"connection_id":186617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":186617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:34:03] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:34:03] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:34:03] local.INFO: Packet analysis {"connection_id":186617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:34:03] local.INFO: Extracted packet for processing {"connection_id":186617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:34:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:34:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":186617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855621,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:34:03] local.INFO: GPS data processed {"connection_id":186617,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:34:03] local.INFO: Acknowledgment sent {"connection_id":186617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:34:15] local.INFO: TCP Data received {"connection_id":187932,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:34:15] local.INFO: Processing buffer {"connection_id":187932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:34:15] local.INFO: IMEI packet received {"connection_id":187932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":187932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:34:18] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:34:19] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:34:19] local.INFO: IMEI packet received {"connection_id":186618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":186618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:34:19] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:34:19] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:34:19] local.INFO: IMEI packet received {"connection_id":186618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":186618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:34:20] local.INFO: TCP Data received {"connection_id":187932,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:34:20] local.INFO: Processing buffer {"connection_id":187932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:34:20] local.INFO: IMEI packet received {"connection_id":187932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":187932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:34:21] local.INFO: TCP Data received {"connection_id":187932,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:34:21] local.INFO: Processing buffer {"connection_id":187932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:34:21] local.INFO: Packet analysis {"connection_id":187932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:34:21] local.INFO: Extracted packet for processing {"connection_id":187932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:34:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":187932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:34:21] local.INFO: GPS data processed {"connection_id":187932,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:34:21] local.INFO: Acknowledgment sent {"connection_id":187932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:34:25] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:34:25] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:34:25] local.INFO: IMEI packet received {"connection_id":186618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":186618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:34:26] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae64d598012d78b90005f07aa8000d00f124..."} 
[2026-09-17 13:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae64d598012d78b90005f07aa8000d00f124..."} 
[2026-09-17 13:34:26] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae64d598012d78b90005f07aa8000d00f124..."} 
[2026-09-17 13:34:26] local.INFO: Packet analysis {"connection_id":186618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae64"} 
[2026-09-17 13:34:26] local.INFO: Extracted packet for processing {"connection_id":186618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae64"} 
[2026-09-17 13:34:26] local.INFO: GPS Element Parsed {"raw_longitude":762886400,"raw_latitude":99646120,"longitude_deg":76.28864,"latitude_deg":9.964612,"altitude":13,"angle":241,"satellites":36,"speed":4,"hex_longitude":"2d78b900","hex_latitude":"05f07aa8","is_valid_coordinates":true} 
[2026-09-17 13:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145850880001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134142007726571520,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8700673030612529152,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789632239000,"timestamp_ms":1789632239000,"timestamp_seconds":1789632239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae64d598"} 
[2026-09-17 13:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 13:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145850880001,"66":13298,"58":206,"87":11776,"24":4,"16":134142007726571520,"45":8700673030612529152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,87,24,16,45]} 
[2026-09-17 13:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145850880001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:34:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-17 13:34:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134142007726571520,"km_value":134142007726571.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8700673030612529152,"description":"Unknown IO ID 45"} 
[2026-09-17 13:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145850880001,"power":13298,"unknown_58":206,"unknown_87":11776,"ignition":4,"odometer":null,"unknown_45":8700673030612529152}} 
[2026-09-17 13:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":186618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:34:26] local.INFO: GPS data processed {"connection_id":186618,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:34:26] local.INFO: Acknowledgment sent {"connection_id":186618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:34:34] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:34:34] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:34:34] local.INFO: Packet analysis {"connection_id":186617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:34:34] local.INFO: Extracted packet for processing {"connection_id":186617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:34:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:34:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":186617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855624,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:34:34] local.INFO: GPS data processed {"connection_id":186617,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:34:34] local.INFO: Acknowledgment sent {"connection_id":186617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:34:53] local.INFO: TCP Data received {"connection_id":187932,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:34:53] local.INFO: Processing buffer {"connection_id":187932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:34:53] local.INFO: Packet analysis {"connection_id":187932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:34:53] local.INFO: Extracted packet for processing {"connection_id":187932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":187932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:34:53] local.INFO: GPS data processed {"connection_id":187932,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:34:53] local.INFO: Acknowledgment sent {"connection_id":187932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:34:57] local.INFO: TCP Data received {"connection_id":185175,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:34:57] local.INFO: Processing buffer {"connection_id":185175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:34:57] local.INFO: IMEI packet received {"connection_id":185175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":185175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:34:58] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae64e150012d78b80005f07a48000d00ff25..."} 
[2026-09-17 13:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae64e150012d78b80005f07a48000d00ff25..."} 
[2026-09-17 13:34:58] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae64e150012d78b80005f07a48000d00ff25..."} 
[2026-09-17 13:34:58] local.INFO: Packet analysis {"connection_id":186618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae64"} 
[2026-09-17 13:34:58] local.INFO: Extracted packet for processing {"connection_id":186618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae64"} 
[2026-09-17 13:34:58] local.INFO: GPS Element Parsed {"raw_longitude":762886144,"raw_latitude":99646024,"longitude_deg":76.2886144,"latitude_deg":9.9646024,"altitude":13,"angle":255,"satellites":37,"speed":3,"hex_longitude":"2d78b800","hex_latitude":"05f07a48","is_valid_coordinates":true} 
[2026-09-17 13:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145853184001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134142020611473408,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698984180752230400,"note":"Value kept but may cause issues"} 
[2026-09-17 13:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789632242000,"timestamp_ms":1789632242000,"timestamp_seconds":1789632242,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae64e150"} 
[2026-09-17 13:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-17 13:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145853184001,"66":13396,"58":206,"87":11776,"24":3,"16":134142020611473408,"45":8698984180752230400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,87,24,16,45]} 
[2026-09-17 13:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145853184001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:34:58] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-17 13:34:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134142020611473408,"km_value":134142020611473.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698984180752230400,"description":"Unknown IO ID 45"} 
[2026-09-17 13:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145853184001,"power":13396,"unknown_58":206,"unknown_87":11776,"ignition":3,"odometer":null,"unknown_45":8698984180752230400}} 
[2026-09-17 13:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":186618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:34:58] local.INFO: GPS data processed {"connection_id":186618,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:34:58] local.INFO: Acknowledgment sent {"connection_id":186618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:35:02] local.INFO: TCP Data received {"connection_id":185175,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:35:02] local.INFO: Processing buffer {"connection_id":185175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:35:02] local.INFO: IMEI packet received {"connection_id":185175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":185175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:35:03] local.INFO: TCP Data received {"connection_id":185175,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:35:03] local.INFO: Processing buffer {"connection_id":185175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:35:03] local.INFO: Packet analysis {"connection_id":185175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:35:03] local.INFO: Extracted packet for processing {"connection_id":185175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:35:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:35:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:35:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":185175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855627,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:35:03] local.INFO: GPS data processed {"connection_id":185175,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:35:03] local.INFO: Acknowledgment sent {"connection_id":185175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:35:19] local.INFO: TCP Data received {"connection_id":185305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:35:19] local.INFO: Processing buffer {"connection_id":185305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:35:19] local.INFO: IMEI packet received {"connection_id":185305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":185305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:35:20] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:35:20] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:35:20] local.INFO: IMEI packet received {"connection_id":186619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":186619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:35:25] local.INFO: TCP Data received {"connection_id":185305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:35:25] local.INFO: Processing buffer {"connection_id":185305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:35:25] local.INFO: IMEI packet received {"connection_id":185305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":185305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:35:25] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:35:25] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:35:25] local.INFO: IMEI packet received {"connection_id":186619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":186619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:35:26] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:35:26] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:35:26] local.INFO: Packet analysis {"connection_id":186619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:35:26] local.INFO: Extracted packet for processing {"connection_id":186619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:35:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:35:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":186619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:35:26] local.INFO: GPS data processed {"connection_id":186619,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:35:26] local.INFO: Acknowledgment sent {"connection_id":186619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:35:27] local.INFO: TCP Data received {"connection_id":185305,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae64f8c0012d78b38005f07950000e010b25..."} 
[2026-09-17 13:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae64f8c0012d78b38005f07950000e010b25..."} 
[2026-09-17 13:35:27] local.INFO: Processing buffer {"connection_id":185305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae64f8c0012d78b38005f07950000e010b25..."} 
[2026-09-17 13:35:27] local.INFO: Packet analysis {"connection_id":185305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae64"} 
[2026-09-17 13:35:27] local.INFO: Extracted packet for processing {"connection_id":185305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae64"} 
[2026-09-17 13:35:27] local.INFO: GPS Element Parsed {"raw_longitude":762884992,"raw_latitude":99645776,"longitude_deg":76.2884992,"latitude_deg":9.9645776,"altitude":14,"angle":267,"satellites":37,"speed":11,"hex_longitude":"2d78b380","hex_latitude":"05f07950","is_valid_coordinates":true} 
[2026-09-17 13:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145853952001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134142076446048256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698702705775495168,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789632248000,"timestamp_ms":1789632248000,"timestamp_seconds":1789632248,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae64f8c0"} 
[2026-09-17 13:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-17 13:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145853952001,"66":13450,"58":206,"87":11776,"24":11,"16":134142076446048256,"45":8698702705775495168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,87,24,16,45]} 
[2026-09-17 13:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145853952001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:35:27] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-17 13:35:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134142076446048256,"km_value":134142076446048.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698702705775495168,"description":"Unknown IO ID 45"} 
[2026-09-17 13:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145853952001,"power":13450,"unknown_58":206,"unknown_87":11776,"ignition":11,"odometer":null,"unknown_45":8698702705775495168}} 
[2026-09-17 13:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":185305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:35:27] local.INFO: GPS data processed {"connection_id":185305,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:35:27] local.INFO: Acknowledgment sent {"connection_id":185305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:35:31] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:35:31] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:35:31] local.INFO: Packet analysis {"connection_id":186619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:35:31] local.INFO: Extracted packet for processing {"connection_id":186619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":186619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:35:31] local.INFO: GPS data processed {"connection_id":186619,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:35:31] local.INFO: Acknowledgment sent {"connection_id":186619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:35:34] local.INFO: TCP Data received {"connection_id":185175,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:35:34] local.INFO: Processing buffer {"connection_id":185175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:35:34] local.INFO: Packet analysis {"connection_id":185175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:35:34] local.INFO: Extracted packet for processing {"connection_id":185175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:35:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:35:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:35:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":185175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855631,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:35:34] local.INFO: GPS data processed {"connection_id":185175,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:35:34] local.INFO: Acknowledgment sent {"connection_id":185175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:35:57] local.INFO: TCP Data received {"connection_id":185306,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:35:57] local.INFO: Processing buffer {"connection_id":185306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:35:57] local.INFO: IMEI packet received {"connection_id":185306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":185306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:35:59] local.INFO: TCP Data received {"connection_id":185305,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae651800012d78a78005f07708000e00ff25..."} 
[2026-09-17 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae651800012d78a78005f07708000e00ff25..."} 
[2026-09-17 13:35:59] local.INFO: Processing buffer {"connection_id":185305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae651800012d78a78005f07708000e00ff25..."} 
[2026-09-17 13:35:59] local.INFO: Packet analysis {"connection_id":185305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae65"} 
[2026-09-17 13:35:59] local.INFO: Extracted packet for processing {"connection_id":185305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae65"} 
[2026-09-17 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":762881920,"raw_latitude":99645192,"longitude_deg":76.288192,"latitude_deg":9.9645192,"altitude":14,"angle":255,"satellites":37,"speed":5,"hex_longitude":"2d78a780","hex_latitude":"05f07708","is_valid_coordinates":true} 
[2026-09-17 13:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145855488001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134142226769903616,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8697436068380233728,"note":"Value kept but may cause issues"} 
[2026-09-17 13:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789632256000,"timestamp_ms":1789632256000,"timestamp_seconds":1789632256,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae651800"} 
[2026-09-17 13:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 13:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145855488001,"66":13222,"58":206,"87":11776,"24":5,"16":134142226769903616,"45":8697436068380233728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,87,24,16,45]} 
[2026-09-17 13:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145855488001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:35:59] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-17 13:35:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134142226769903616,"km_value":134142226769903.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8697436068380233728,"description":"Unknown IO ID 45"} 
[2026-09-17 13:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145855488001,"power":13222,"unknown_58":206,"unknown_87":11776,"ignition":5,"odometer":null,"unknown_45":8697436068380233728}} 
[2026-09-17 13:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":185305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:35:59] local.INFO: GPS data processed {"connection_id":185305,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:35:59] local.INFO: Acknowledgment sent {"connection_id":185305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:36:02] local.INFO: TCP Data received {"connection_id":185306,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:36:02] local.INFO: Processing buffer {"connection_id":185306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:36:02] local.INFO: IMEI packet received {"connection_id":185306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":185306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:36:03] local.INFO: TCP Data received {"connection_id":185306,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:36:03] local.INFO: Processing buffer {"connection_id":185306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6258e0012cf40d00070fc3f8003000a01e..."} 
[2026-09-17 13:36:03] local.INFO: Packet analysis {"connection_id":185306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:36:03] local.INFO: Extracted packet for processing {"connection_id":185306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae62"} 
[2026-09-17 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":48,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145734400001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632076000,"timestamp_ms":1789632076000,"timestamp_seconds":1789632076,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6258e0"} 
[2026-09-17 13:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 13:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145734400001,"66":12765,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145734400001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:36:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145734400001,"power":12765,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":185306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:36:03] local.INFO: GPS data processed {"connection_id":185306,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:36:03] local.INFO: Acknowledgment sent {"connection_id":185306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:36:15] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:36:15] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:36:15] local.INFO: IMEI packet received {"connection_id":186620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":186620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:36:19] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:36:20] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:36:20] local.INFO: IMEI packet received {"connection_id":186621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":186621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:36:20] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:36:20] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:36:20] local.INFO: IMEI packet received {"connection_id":186620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":186620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:36:22] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:36:22] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:36:22] local.INFO: Packet analysis {"connection_id":186620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:36:22] local.INFO: Extracted packet for processing {"connection_id":186620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:36:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:36:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":186620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:36:22] local.INFO: GPS data processed {"connection_id":186620,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:36:22] local.INFO: Acknowledgment sent {"connection_id":186620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:36:23] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:36:23] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:36:23] local.INFO: IMEI packet received {"connection_id":186621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":186621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:36:25] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:36:25] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:36:25] local.INFO: IMEI packet received {"connection_id":186621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":186621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:36:26] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae651be8012d78a70005f076f8000e010b26..."} 
[2026-09-17 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae651be8012d78a70005f076f8000e010b26..."} 
[2026-09-17 13:36:26] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae651be8012d78a70005f076f8000e010b26..."} 
[2026-09-17 13:36:26] local.INFO: Packet analysis {"connection_id":186621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae65"} 
[2026-09-17 13:36:26] local.INFO: Extracted packet for processing {"connection_id":186621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae65"} 
[2026-09-17 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":762881792,"raw_latitude":99645176,"longitude_deg":76.2881792,"latitude_deg":9.9645176,"altitude":14,"angle":267,"satellites":38,"speed":7,"hex_longitude":"2d78a700","hex_latitude":"05f076f8","is_valid_coordinates":true} 
[2026-09-17 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145857536001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134142235359838208,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694058368659556352,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789632257000,"timestamp_ms":1789632257000,"timestamp_seconds":1789632257,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae651be8"} 
[2026-09-17 13:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 13:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145857536001,"66":13222,"58":206,"87":11776,"24":7,"16":134142235359838208,"45":8694058368659556352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,87,24,16,45]} 
[2026-09-17 13:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145857536001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:36:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-17 13:36:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134142235359838208,"km_value":134142235359838.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694058368659556352,"description":"Unknown IO ID 45"} 
[2026-09-17 13:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145857536001,"power":13222,"unknown_58":206,"unknown_87":11776,"ignition":7,"odometer":null,"unknown_45":8694058368659556352}} 
[2026-09-17 13:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":186621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:36:26] local.INFO: GPS data processed {"connection_id":186621,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:36:26] local.INFO: Acknowledgment sent {"connection_id":186621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:36:34] local.INFO: TCP Data received {"connection_id":185306,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:36:34] local.INFO: Processing buffer {"connection_id":185306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:36:34] local.INFO: Packet analysis {"connection_id":185306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:36:34] local.INFO: Extracted packet for processing {"connection_id":185306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:36:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:36:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":185306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:36:34] local.INFO: GPS data processed {"connection_id":185306,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:36:34] local.INFO: Acknowledgment sent {"connection_id":185306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:36:54] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:36:54] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:36:54] local.INFO: Packet analysis {"connection_id":186620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:36:54] local.INFO: Extracted packet for processing {"connection_id":186620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:36:54] 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-09-17 13:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":186620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:36:54] local.INFO: GPS data processed {"connection_id":186620,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:36:54] local.INFO: Acknowledgment sent {"connection_id":186620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:36:57] local.INFO: TCP Data received {"connection_id":185177,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:36:57] local.INFO: Processing buffer {"connection_id":185177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:36:57] local.INFO: IMEI packet received {"connection_id":185177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":185177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:37:02] local.INFO: TCP Data received {"connection_id":185177,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:37:02] local.INFO: Processing buffer {"connection_id":185177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:37:02] local.INFO: IMEI packet received {"connection_id":185177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":185177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:37:03] local.INFO: TCP Data received {"connection_id":185177,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:37:03] local.INFO: Processing buffer {"connection_id":185177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:37:03] local.INFO: Packet analysis {"connection_id":185177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:37:03] local.INFO: Extracted packet for processing {"connection_id":185177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:37:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":185177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:37:03] local.INFO: GPS data processed {"connection_id":185177,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:37:03] local.INFO: Acknowledgment sent {"connection_id":185177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:37:08] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae676da8012d786f0005f09100000f014328..."} 
[2026-09-17 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae676da8012d786f0005f09100000f014328..."} 
[2026-09-17 13:37:08] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae676da8012d786f0005f09100000f014328..."} 
[2026-09-17 13:37:08] local.INFO: Packet analysis {"connection_id":186621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:37:08] local.INFO: Extracted packet for processing {"connection_id":186621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":762867456,"raw_latitude":99651840,"longitude_deg":76.2867456,"latitude_deg":9.965184,"altitude":15,"angle":323,"satellites":40,"speed":32,"hex_longitude":"2d786f00","hex_latitude":"05f09100","is_valid_coordinates":true} 
[2026-09-17 13: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-09-17 13:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145893376001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134143128713035776,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8684699325683697664,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789632409000,"timestamp_ms":1789632409000,"timestamp_seconds":1789632409,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae676da8"} 
[2026-09-17 13:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-17 13:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13: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-09-17 13:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145893376001,"66":13243,"59":206,"87":11776,"24":32,"16":134143128713035776,"45":8684699325683697664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-09-17 13:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145893376001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:37:08] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 13:37:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134143128713035776,"km_value":134143128713035.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8684699325683697664,"description":"Unknown IO ID 45"} 
[2026-09-17 13:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145893376001,"power":13243,"unknown_59":206,"unknown_87":11776,"ignition":32,"odometer":null,"unknown_45":8684699325683697664}} 
[2026-09-17 13:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":186621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:37:08] local.INFO: GPS data processed {"connection_id":186621,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:37:08] local.INFO: Acknowledgment sent {"connection_id":186621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:37:15] local.INFO: TCP Data received {"connection_id":187934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:37:15] local.INFO: Processing buffer {"connection_id":187934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:37:15] local.INFO: IMEI packet received {"connection_id":187934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":187934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:37:21] local.INFO: TCP Data received {"connection_id":187934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:37:21] local.INFO: Processing buffer {"connection_id":187934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:37:21] local.INFO: IMEI packet received {"connection_id":187934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":187934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:37:22] local.INFO: TCP Data received {"connection_id":187934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:37:22] local.INFO: Processing buffer {"connection_id":187934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:37:22] local.INFO: Packet analysis {"connection_id":187934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:37:22] local.INFO: Extracted packet for processing {"connection_id":187934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:37:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:37:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:37:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":187934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:37:22] local.INFO: GPS data processed {"connection_id":187934,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:37:22] local.INFO: Acknowledgment sent {"connection_id":187934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:37:23] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:37:23] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:37:23] local.INFO: IMEI packet received {"connection_id":186622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":186622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:37:24] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:37:24] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:37:24] local.INFO: IMEI packet received {"connection_id":186622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":186622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:37:32] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:37:32] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:37:32] local.INFO: IMEI packet received {"connection_id":186622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":186622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:37:33] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae677960012d78694005f099b0000f014e29..."} 
[2026-09-17 13:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae677960012d78694005f099b0000f014e29..."} 
[2026-09-17 13:37:33] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae677960012d78694005f099b0000f014e29..."} 
[2026-09-17 13:37:33] local.INFO: Packet analysis {"connection_id":186622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:37:33] local.INFO: Extracted packet for processing {"connection_id":186622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:37:33] local.INFO: GPS Element Parsed {"raw_longitude":762865984,"raw_latitude":99654064,"longitude_deg":76.2865984,"latitude_deg":9.9654064,"altitude":15,"angle":334,"satellites":41,"speed":37,"hex_longitude":"2d786940","hex_latitude":"05f099b0","is_valid_coordinates":true} 
[2026-09-17 13:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145896704001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134143257562054656,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8678155032477106176,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789632412000,"timestamp_ms":1789632412000,"timestamp_seconds":1789632412,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae677960"} 
[2026-09-17 13:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145896704001,"66":13406,"59":206,"87":11776,"24":37,"16":134143257562054656,"45":8678155032477106176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-09-17 13:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145896704001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:37:33] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 13:37:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134143257562054656,"km_value":134143257562054.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8678155032477106176,"description":"Unknown IO ID 45"} 
[2026-09-17 13:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145896704001,"power":13406,"unknown_59":206,"unknown_87":11776,"ignition":37,"odometer":null,"unknown_45":8678155032477106176}} 
[2026-09-17 13:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":186622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:37:33] local.INFO: GPS data processed {"connection_id":186622,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:37:33] local.INFO: Acknowledgment sent {"connection_id":186622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:37:34] local.INFO: TCP Data received {"connection_id":185177,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:37:34] local.INFO: Processing buffer {"connection_id":185177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:37:34] local.INFO: Packet analysis {"connection_id":185177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:37:34] local.INFO: Extracted packet for processing {"connection_id":185177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:37:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:37:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:37:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":185177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:37:34] local.INFO: GPS data processed {"connection_id":185177,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:37:34] local.INFO: Acknowledgment sent {"connection_id":185177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:37:35] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae678130012d7867c005f0a108000f01612a..."} 
[2026-09-17 13:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae678130012d7867c005f0a108000f01612a..."} 
[2026-09-17 13:37:35] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae678130012d7867c005f0a108000f01612a..."} 
[2026-09-17 13:37:35] local.INFO: Packet analysis {"connection_id":186622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:37:35] local.INFO: Extracted packet for processing {"connection_id":186622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:37:35] local.INFO: GPS Element Parsed {"raw_longitude":762865600,"raw_latitude":99655944,"longitude_deg":76.28656,"latitude_deg":9.9655944,"altitude":15,"angle":353,"satellites":42,"speed":39,"hex_longitude":"2d7867c0","hex_latitude":"05f0a108","is_valid_coordinates":true} 
[2026-09-17 13:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145897472001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134143352051335168,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676536551361589248,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789632414000,"timestamp_ms":1789632414000,"timestamp_seconds":1789632414,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae678130"} 
[2026-09-17 13:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 13:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145897472001,"66":13363,"59":206,"87":11776,"24":39,"16":134143352051335168,"45":8676536551361589248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-09-17 13:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145897472001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:37:35] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 13:37:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134143352051335168,"km_value":134143352051335.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676536551361589248,"description":"Unknown IO ID 45"} 
[2026-09-17 13:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145897472001,"power":13363,"unknown_59":206,"unknown_87":11776,"ignition":39,"odometer":null,"unknown_45":8676536551361589248}} 
[2026-09-17 13:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":186622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:37:35] local.INFO: GPS data processed {"connection_id":186622,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:37:35] local.INFO: Acknowledgment sent {"connection_id":186622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:37:55] local.INFO: TCP Data received {"connection_id":187934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:37:55] local.INFO: Processing buffer {"connection_id":187934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6381c0012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:37:55] local.INFO: Packet analysis {"connection_id":187934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:37:55] local.INFO: Extracted packet for processing {"connection_id":187934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae63"} 
[2026-09-17 13:37:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145753856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789632152000,"timestamp_ms":1789632152000,"timestamp_seconds":1789632152,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6381c0"} 
[2026-09-17 13:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145753856001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145753856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:37:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:37:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145753856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":187934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:37:55] local.INFO: GPS data processed {"connection_id":187934,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:37:55] local.INFO: Acknowledgment sent {"connection_id":187934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:37:57] local.INFO: TCP Data received {"connection_id":187936,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:37:57] local.INFO: Processing buffer {"connection_id":187936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:37:57] local.INFO: IMEI packet received {"connection_id":187936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":187936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:38:02] local.INFO: TCP Data received {"connection_id":187936,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:38:02] local.INFO: Processing buffer {"connection_id":187936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:38:02] local.INFO: IMEI packet received {"connection_id":187936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":187936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:38:03] local.INFO: TCP Data received {"connection_id":187936,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:38:03] local.INFO: Processing buffer {"connection_id":187936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:38:03] local.INFO: Packet analysis {"connection_id":187936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:38:03] local.INFO: Extracted packet for processing {"connection_id":187936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:38:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:38:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":187936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:38:03] local.INFO: GPS data processed {"connection_id":187936,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:38:03] local.INFO: Acknowledgment sent {"connection_id":187936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:38:15] local.INFO: TCP Data received {"connection_id":185307,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:38:15] local.INFO: Processing buffer {"connection_id":185307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:38:15] local.INFO: IMEI packet received {"connection_id":185307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":185307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:38:18] local.INFO: TCP Data received {"connection_id":185308,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:38:18] local.INFO: Processing buffer {"connection_id":185308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:38:18] local.INFO: IMEI packet received {"connection_id":185308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":185308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:38:19] local.INFO: TCP Data received {"connection_id":185308,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:38:19] local.INFO: Processing buffer {"connection_id":185308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:38:19] local.INFO: IMEI packet received {"connection_id":185308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":185308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:38:20] local.INFO: TCP Data received {"connection_id":185307,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:38:20] local.INFO: Processing buffer {"connection_id":185307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:38:20] local.INFO: IMEI packet received {"connection_id":185307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":185307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:38:22] local.INFO: TCP Data received {"connection_id":185307,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:38:22] local.INFO: Processing buffer {"connection_id":185307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:38:22] local.INFO: Packet analysis {"connection_id":185307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:38:22] local.INFO: Extracted packet for processing {"connection_id":185307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:38:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:38:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":185307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:38:22] local.INFO: GPS data processed {"connection_id":185307,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:38:22] local.INFO: Acknowledgment sent {"connection_id":185307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:38:24] local.INFO: TCP Data received {"connection_id":185308,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:38:24] local.INFO: Processing buffer {"connection_id":185308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:38:24] local.INFO: IMEI packet received {"connection_id":185308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":185308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:38:25] local.INFO: TCP Data received {"connection_id":185308,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae67a840012d78628005f0c648000e015f26..."} 
[2026-09-17 13:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae67a840012d78628005f0c648000e015f26..."} 
[2026-09-17 13:38:25] local.INFO: Processing buffer {"connection_id":185308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae67a840012d78628005f0c648000e015f26..."} 
[2026-09-17 13:38:25] local.INFO: Packet analysis {"connection_id":185308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:38:25] local.INFO: Extracted packet for processing {"connection_id":185308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:38:25] local.INFO: GPS Element Parsed {"raw_longitude":762864256,"raw_latitude":99665480,"longitude_deg":76.2864256,"latitude_deg":9.966548,"altitude":14,"angle":351,"satellites":38,"speed":36,"hex_longitude":"2d786280","hex_latitude":"05f0c648","is_valid_coordinates":true} 
[2026-09-17 13:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145897984001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134143815907803136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676114338897004544,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789632424000,"timestamp_ms":1789632424000,"timestamp_seconds":1789632424,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae67a840"} 
[2026-09-17 13:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 13:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145897984001,"66":13559,"59":206,"87":11776,"24":36,"16":134143815907803136,"45":8676114338897004544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-09-17 13:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145897984001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:38:25] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 13:38:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134143815907803136,"km_value":134143815907803.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676114338897004544,"description":"Unknown IO ID 45"} 
[2026-09-17 13:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145897984001,"power":13559,"unknown_59":206,"unknown_87":11776,"ignition":36,"odometer":null,"unknown_45":8676114338897004544}} 
[2026-09-17 13:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":185308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:38:25] local.INFO: GPS data processed {"connection_id":185308,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:38:25] local.INFO: Acknowledgment sent {"connection_id":185308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:38:34] local.INFO: TCP Data received {"connection_id":187936,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:38:34] local.INFO: Processing buffer {"connection_id":187936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:38:34] local.INFO: Packet analysis {"connection_id":187936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:38:34] local.INFO: Extracted packet for processing {"connection_id":187936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:38:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:38:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":187936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:38:34] local.INFO: GPS data processed {"connection_id":187936,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:38:34] local.INFO: Acknowledgment sent {"connection_id":187936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:38:55] local.INFO: TCP Data received {"connection_id":185307,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:38:55] local.INFO: Processing buffer {"connection_id":185307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:38:55] local.INFO: Packet analysis {"connection_id":185307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:38:55] local.INFO: Extracted packet for processing {"connection_id":185307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:38:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:38:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":185307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:38:55] local.INFO: GPS data processed {"connection_id":185307,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:38:55] local.INFO: Acknowledgment sent {"connection_id":185307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:38:57] local.INFO: TCP Data received {"connection_id":185308,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae67eaa8012d785d0005f0e8400012015b26..."} 
[2026-09-17 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae67eaa8012d785d0005f0e8400012015b26..."} 
[2026-09-17 13:38:57] local.INFO: Processing buffer {"connection_id":185308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae67eaa8012d785d0005f0e8400012015b26..."} 
[2026-09-17 13:38:57] local.INFO: Packet analysis {"connection_id":185308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:38:57] local.INFO: Extracted packet for processing {"connection_id":185308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae67"} 
[2026-09-17 13:38:57] local.INFO: GPS Element Parsed {"raw_longitude":762862848,"raw_latitude":99674176,"longitude_deg":76.2862848,"latitude_deg":9.9674176,"altitude":18,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2d785d00","hex_latitude":"05f0e840","is_valid_coordinates":true} 
[2026-09-17 13:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145900544001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134144249699500032,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674636595271714816,"note":"Value kept but may cause issues"} 
[2026-09-17 13:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789632441000,"timestamp_ms":1789632441000,"timestamp_seconds":1789632441,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae67eaa8"} 
[2026-09-17 13:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 13:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145900544001,"66":13048,"60":206,"87":11776,"24":0,"16":134144249699500032,"45":8674636595271714816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-09-17 13:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145900544001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:38:57] local.INFO: TCP Data received {"connection_id":187937,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:38:57] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 13:38:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134144249699500032,"km_value":134144249699500.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674636595271714816,"description":"Unknown IO ID 45"} 
[2026-09-17 13:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145900544001,"power":13048,"unknown_60":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8674636595271714816}} 
[2026-09-17 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187937,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:38:57] local.INFO: Processing buffer {"connection_id":187937,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:38:57] local.INFO: IMEI packet received {"connection_id":187937,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":187937,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":185308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:38:57] local.INFO: GPS data processed {"connection_id":185308,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:38:57] local.INFO: Acknowledgment sent {"connection_id":185308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:39:02] local.INFO: TCP Data received {"connection_id":187937,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187937,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:39:02] local.INFO: Processing buffer {"connection_id":187937,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:39:02] local.INFO: IMEI packet received {"connection_id":187937,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":187937,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:39:03] local.INFO: TCP Data received {"connection_id":187937,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:39:03] local.INFO: Processing buffer {"connection_id":187937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:39:03] local.INFO: Packet analysis {"connection_id":187937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:39:03] local.INFO: Extracted packet for processing {"connection_id":187937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:39:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:39:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":187937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855651,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:39:03] local.INFO: GPS data processed {"connection_id":187937,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:39:03] local.INFO: Acknowledgment sent {"connection_id":187937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:39:20] local.INFO: TCP Data received {"connection_id":187938,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:39:20] local.INFO: Processing buffer {"connection_id":187938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:39:20] local.INFO: IMEI packet received {"connection_id":187938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":187938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:39:25] local.INFO: TCP Data received {"connection_id":187938,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:39:25] local.INFO: Processing buffer {"connection_id":187938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:39:25] local.INFO: IMEI packet received {"connection_id":187938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":187938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:39:27] local.INFO: TCP Data received {"connection_id":187938,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:39:27] local.INFO: Processing buffer {"connection_id":187938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:39:27] local.INFO: Packet analysis {"connection_id":187938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:39:27] local.INFO: Extracted packet for processing {"connection_id":187938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:39:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:39:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":187938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:39:27] local.INFO: GPS data processed {"connection_id":187938,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:39:27] local.INFO: Acknowledgment sent {"connection_id":187938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:39:30] local.INFO: TCP Data received {"connection_id":185310,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:39:30] local.INFO: Processing buffer {"connection_id":185310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:39:30] local.INFO: IMEI packet received {"connection_id":185310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":185310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:39:31] local.INFO: TCP Data received {"connection_id":185310,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:39:31] local.INFO: Processing buffer {"connection_id":185310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:39:31] local.INFO: IMEI packet received {"connection_id":185310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":185310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:39:32] local.INFO: TCP Data received {"connection_id":187938,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:39:32] local.INFO: Processing buffer {"connection_id":187938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:39:32] local.INFO: Packet analysis {"connection_id":187938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:39:32] local.INFO: Extracted packet for processing {"connection_id":187938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":187938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:39:32] local.INFO: GPS data processed {"connection_id":187938,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:39:32] local.INFO: Acknowledgment sent {"connection_id":187938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:39:32] local.INFO: TCP Data received {"connection_id":185310,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae682d10012d785c8005f0e9400012016728..."} 
[2026-09-17 13:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae682d10012d785c8005f0e9400012016728..."} 
[2026-09-17 13:39:32] local.INFO: Processing buffer {"connection_id":185310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae682d10012d785c8005f0e9400012016728..."} 
[2026-09-17 13:39:32] local.INFO: Packet analysis {"connection_id":185310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:39:32] local.INFO: Extracted packet for processing {"connection_id":185310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:39:32] local.INFO: GPS Element Parsed {"raw_longitude":762862720,"raw_latitude":99674432,"longitude_deg":76.286272,"latitude_deg":9.9674432,"altitude":18,"angle":359,"satellites":40,"speed":2,"hex_longitude":"2d785c80","hex_latitude":"05f0e940","is_valid_coordinates":true} 
[2026-09-17 13:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145904896001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134144262584401920,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8673088482902032384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789632458000,"timestamp_ms":1789632458000,"timestamp_seconds":1789632458,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae682d10"} 
[2026-09-17 13:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 13:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145904896001,"66":13472,"60":206,"87":11776,"24":2,"16":134144262584401920,"45":8673088482902032384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-09-17 13:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145904896001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:39:32] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 13:39:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134144262584401920,"km_value":134144262584401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8673088482902032384,"description":"Unknown IO ID 45"} 
[2026-09-17 13:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145904896001,"power":13472,"unknown_60":206,"unknown_87":11776,"ignition":2,"odometer":null,"unknown_45":8673088482902032384}} 
[2026-09-17 13:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":185310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:39:32] local.INFO: GPS data processed {"connection_id":185310,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:39:32] local.INFO: Acknowledgment sent {"connection_id":185310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:39:34] local.INFO: TCP Data received {"connection_id":187937,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:39:34] local.INFO: Processing buffer {"connection_id":187937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:39:34] local.INFO: Packet analysis {"connection_id":187937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:39:34] local.INFO: Extracted packet for processing {"connection_id":187937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:39:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:39:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":187937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855655,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:39:34] local.INFO: GPS data processed {"connection_id":187937,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:39:34] local.INFO: Acknowledgment sent {"connection_id":187937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:39:39] local.INFO: TCP Data received {"connection_id":185310,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6834e0012d785c4005f0eab80012015b28..."} 
[2026-09-17 13:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6834e0012d785c4005f0eab80012015b28..."} 
[2026-09-17 13:39:39] local.INFO: Processing buffer {"connection_id":185310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6834e0012d785c4005f0eab80012015b28..."} 
[2026-09-17 13:39:39] local.INFO: Packet analysis {"connection_id":185310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:39:39] local.INFO: Extracted packet for processing {"connection_id":185310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:39:39] local.INFO: GPS Element Parsed {"raw_longitude":762862656,"raw_latitude":99674808,"longitude_deg":76.2862656,"latitude_deg":9.9674808,"altitude":18,"angle":347,"satellites":40,"speed":11,"hex_longitude":"2d785c40","hex_latitude":"05f0eab8","is_valid_coordinates":true} 
[2026-09-17 13: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-09-17 13:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145909248001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134144284059238400,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672947745413742592,"note":"Value kept but may cause issues"} 
[2026-09-17 13:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789632460000,"timestamp_ms":1789632460000,"timestamp_seconds":1789632460,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6834e0"} 
[2026-09-17 13:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 13:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13: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-09-17 13:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145909248001,"66":13406,"60":206,"87":11776,"24":11,"16":134144284059238400,"45":8672947745413742592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-09-17 13:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145909248001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:39:39] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 13:39:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134144284059238400,"km_value":134144284059238.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672947745413742592,"description":"Unknown IO ID 45"} 
[2026-09-17 13:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145909248001,"power":13406,"unknown_60":206,"unknown_87":11776,"ignition":11,"odometer":null,"unknown_45":8672947745413742592}} 
[2026-09-17 13:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":185310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:39:39] local.INFO: GPS data processed {"connection_id":185310,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:39:39] local.INFO: Acknowledgment sent {"connection_id":185310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:39:51] local.INFO: TCP Data received {"connection_id":185311,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:39:51] local.INFO: Processing buffer {"connection_id":185311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:39:51] local.INFO: IMEI packet received {"connection_id":185311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":185311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:39:57] local.INFO: TCP Data received {"connection_id":185178,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:39:57] local.INFO: Processing buffer {"connection_id":185178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:39:57] local.INFO: IMEI packet received {"connection_id":185178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":185178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:40:02] local.INFO: TCP Data received {"connection_id":185178,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:40:02] local.INFO: Processing buffer {"connection_id":185178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:40:02] local.INFO: IMEI packet received {"connection_id":185178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":185178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:40:03] local.INFO: TCP Data received {"connection_id":185178,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:40:03] local.INFO: Processing buffer {"connection_id":185178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:40:03] local.INFO: Packet analysis {"connection_id":185178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:40:03] local.INFO: Extracted packet for processing {"connection_id":185178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185178,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185178,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:40:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:40:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":185178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:40:03] local.INFO: GPS data processed {"connection_id":185178,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:40:03] local.INFO: Acknowledgment sent {"connection_id":185178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:40:16] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:40:16] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:40:16] local.INFO: IMEI packet received {"connection_id":187939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":187939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:40:20] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:40:20] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:40:20] local.INFO: IMEI packet received {"connection_id":185312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":185312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:40:20] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:40:20] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:40:20] local.INFO: IMEI packet received {"connection_id":187939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":187939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:40:20] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:40:20] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:40:20] local.INFO: IMEI packet received {"connection_id":185312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":185312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:40:22] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:40:22] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:40:22] local.INFO: Packet analysis {"connection_id":187939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:22] local.INFO: Extracted packet for processing {"connection_id":187939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:40:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:40:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":187939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:40:22] local.INFO: GPS data processed {"connection_id":187939,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:40:22] local.INFO: Acknowledgment sent {"connection_id":187939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:40:25] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:40:25] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:40:25] local.INFO: IMEI packet received {"connection_id":185312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":185312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:40:25] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae687360012d78564005f10d480012015c28..."} 
[2026-09-17 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae687360012d78564005f10d480012015c28..."} 
[2026-09-17 13:40:25] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae687360012d78564005f10d480012015c28..."} 
[2026-09-17 13:40:25] local.INFO: Packet analysis {"connection_id":185312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:25] local.INFO: Extracted packet for processing {"connection_id":185312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":762861120,"raw_latitude":99683656,"longitude_deg":76.286112,"latitude_deg":9.9683656,"altitude":18,"angle":348,"satellites":40,"speed":26,"hex_longitude":"2d785640","hex_latitude":"05f10d48","is_valid_coordinates":true} 
[2026-09-17 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145909760001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134144717850935296,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672877376669661184,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789632476000,"timestamp_ms":1789632476000,"timestamp_seconds":1789632476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae687360"} 
[2026-09-17 13:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 13:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145909760001,"66":13472,"60":206,"87":11776,"24":26,"16":134144717850935296,"45":8672877376669661184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-09-17 13:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145909760001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:40:25] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 13:40:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134144717850935296,"km_value":134144717850935.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672877376669661184,"description":"Unknown IO ID 45"} 
[2026-09-17 13:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145909760001,"power":13472,"unknown_60":206,"unknown_87":11776,"ignition":26,"odometer":null,"unknown_45":8672877376669661184}} 
[2026-09-17 13:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":185312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:40:26] local.INFO: GPS data processed {"connection_id":185312,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:40:26] local.INFO: Acknowledgment sent {"connection_id":185312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:40:26] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:40:26] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:40:26] local.INFO: Packet analysis {"connection_id":187939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:26] local.INFO: Extracted packet for processing {"connection_id":187939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:40:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:40:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":187939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:40:26] local.INFO: GPS data processed {"connection_id":187939,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:40:26] local.INFO: Acknowledgment sent {"connection_id":187939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:40:30] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae68c568012d784f4005f125480010015326..."} 
[2026-09-17 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae68c568012d784f4005f125480010015326..."} 
[2026-09-17 13:40:30] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae68c568012d784f4005f125480010015326..."} 
[2026-09-17 13:40:30] local.INFO: Packet analysis {"connection_id":185312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:30] local.INFO: Extracted packet for processing {"connection_id":185312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:30] local.INFO: GPS Element Parsed {"raw_longitude":762859328,"raw_latitude":99689800,"longitude_deg":76.2859328,"latitude_deg":9.96898,"altitude":16,"angle":339,"satellites":38,"speed":21,"hex_longitude":"2d784f40","hex_latitude":"05f12548","is_valid_coordinates":true} 
[2026-09-17 13:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145913856001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134145031383547904,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8671188526811662336,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789632497000,"timestamp_ms":1789632497000,"timestamp_seconds":1789632497,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae68c568"} 
[2026-09-17 13:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 13:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145913856001,"66":13319,"60":206,"87":11776,"24":21,"16":134145031383547904,"45":8671188526811662336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-09-17 13:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145913856001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:40:30] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 13:40:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134145031383547904,"km_value":134145031383547.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8671188526811662336,"description":"Unknown IO ID 45"} 
[2026-09-17 13:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145913856001,"power":13319,"unknown_60":206,"unknown_87":11776,"ignition":21,"odometer":null,"unknown_45":8671188526811662336}} 
[2026-09-17 13:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":185312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:40:31] local.INFO: GPS data processed {"connection_id":185312,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:40:31] local.INFO: Acknowledgment sent {"connection_id":185312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:40:34] local.INFO: TCP Data received {"connection_id":185178,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:40:34] local.INFO: Processing buffer {"connection_id":185178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:40:34] local.INFO: Packet analysis {"connection_id":185178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:40:34] local.INFO: Extracted packet for processing {"connection_id":185178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:40:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185178,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185178,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:40:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:40:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":185178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:40:34] local.INFO: GPS data processed {"connection_id":185178,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:40:34] local.INFO: Acknowledgment sent {"connection_id":185178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:40:57] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:40:57] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:40:57] local.INFO: IMEI packet received {"connection_id":185180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":185180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:40:57] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:40:57] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:40:57] local.INFO: Packet analysis {"connection_id":187939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:57] local.INFO: Extracted packet for processing {"connection_id":187939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:40:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:40:57] 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-09-17 13:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:40:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:40:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":187939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:40:57] local.INFO: GPS data processed {"connection_id":187939,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:40:57] local.INFO: Acknowledgment sent {"connection_id":187939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:41:02] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae691770012d78454005f141e0000b015425..."} 
[2026-09-17 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae691770012d78454005f141e0000b015425..."} 
[2026-09-17 13:41:02] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae691770012d78454005f141e0000b015425..."} 
[2026-09-17 13:41:02] local.INFO: Packet analysis {"connection_id":185312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae69"} 
[2026-09-17 13:41:02] local.INFO: Extracted packet for processing {"connection_id":185312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae69"} 
[2026-09-17 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":762856768,"raw_latitude":99697120,"longitude_deg":76.2856768,"latitude_deg":9.969712,"altitude":11,"angle":340,"satellites":37,"speed":11,"hex_longitude":"2d784540","hex_latitude":"05f141e0","is_valid_coordinates":true} 
[2026-09-17 13:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145919232001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134145409340669952,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8669218201976260608,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789632518000,"timestamp_ms":1789632518000,"timestamp_seconds":1789632518,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae691770"} 
[2026-09-17 13:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2926018864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024880,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-7372392525559092992,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":809238734,"corrected_to":0} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2147872966,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2467758080,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4037085184,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57755400200410926,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.WARNING: Large IO value detected {"io_id":103,"raw_value":8745991771158822917,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,60,87,24,241,157,16,148,160,115,45,64,13,18,40,10,66,147,52,234,128,1,240,227,174,4,113,205,168,98,72,38,239,59,2,220,5,15,39,51,103],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":809238734,"validated":0}]} 
[2026-09-17 13:41:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153294402258796544,"timestamp_seconds":1153294402258796.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145919232001,"66":13178,"196":206,"87":11776,"24":11,"16":134145409340669952,"45":8669218201976260608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-09-17 13:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145919232001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:41:02] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-17 13:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134145409340669952,"km_value":134145409340669.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8669218201976260608,"description":"Unknown IO ID 45"} 
[2026-09-17 13:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145919232001,"power":13178,"unknown_196":206,"unknown_87":11776,"ignition":11,"odometer":null,"unknown_45":8669218201976260608}} 
[2026-09-17 13:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":185312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:41:02] local.INFO: GPS data processed {"connection_id":185312,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:41:02] local.INFO: Acknowledgment sent {"connection_id":185312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:41:02] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:41:02] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:41:02] local.INFO: IMEI packet received {"connection_id":185180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":185180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:41:03] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:41:03] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae66f0a8012cf40d00070fc3f8004000a01e..."} 
[2026-09-17 13:41:03] local.INFO: Packet analysis {"connection_id":185180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:41:03] local.INFO: Extracted packet for processing {"connection_id":185180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae66"} 
[2026-09-17 13:41:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":64,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145811456001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632377000,"timestamp_ms":1789632377000,"timestamp_seconds":1789632377,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae66f0a8"} 
[2026-09-17 13:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 13:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145811456001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145811456001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:41:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145811456001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":185180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855665,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:41:03] local.INFO: GPS data processed {"connection_id":185180,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:41:03] local.INFO: Acknowledgment sent {"connection_id":185180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:41:15] local.INFO: TCP Data received {"connection_id":185313,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:41:15] local.INFO: Processing buffer {"connection_id":185313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:41:15] local.INFO: IMEI packet received {"connection_id":185313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":185313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:41:20] local.INFO: TCP Data received {"connection_id":185181,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:41:20] local.INFO: Processing buffer {"connection_id":185181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:41:20] local.INFO: IMEI packet received {"connection_id":185181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":185181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:41:20] local.INFO: TCP Data received {"connection_id":185313,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:41:20] local.INFO: Processing buffer {"connection_id":185313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:41:20] local.INFO: IMEI packet received {"connection_id":185313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":185313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:41:22] local.INFO: TCP Data received {"connection_id":185313,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:41:22] local.INFO: Processing buffer {"connection_id":185313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:41:22] local.INFO: Packet analysis {"connection_id":185313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:41:22] local.INFO: Extracted packet for processing {"connection_id":185313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:41:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13: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-09-17 13:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13: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-09-17 13:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:41:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:41:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":185313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:41:22] local.INFO: GPS data processed {"connection_id":185313,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:41:22] local.INFO: Acknowledgment sent {"connection_id":185313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:41:23] local.INFO: TCP Data received {"connection_id":185181,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:41:23] local.INFO: Processing buffer {"connection_id":185181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:41:23] local.INFO: IMEI packet received {"connection_id":185181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":185181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:41:24] local.INFO: TCP Data received {"connection_id":185181,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae696978012d783f8005f154a0000b015727..."} 
[2026-09-17 13:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae696978012d783f8005f154a0000b015727..."} 
[2026-09-17 13:41:24] local.INFO: Processing buffer {"connection_id":185181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae696978012d783f8005f154a0000b015727..."} 
[2026-09-17 13:41:24] local.INFO: Packet analysis {"connection_id":185181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae69"} 
[2026-09-17 13:41:24] local.INFO: Extracted packet for processing {"connection_id":185181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae69"} 
[2026-09-17 13:41:24] local.INFO: GPS Element Parsed {"raw_longitude":762855296,"raw_latitude":99701920,"longitude_deg":76.2855296,"latitude_deg":9.970192,"altitude":11,"angle":343,"satellites":39,"speed":24,"hex_longitude":"2d783f80","hex_latitude":"05f154a0","is_valid_coordinates":true} 
[2026-09-17 13:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145924608001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134145662743740416,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8666403452211027968,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789632539000,"timestamp_ms":1789632539000,"timestamp_seconds":1789632539,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae696978"} 
[2026-09-17 13:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 13:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145924608001,"66":13537,"196":206,"87":11776,"24":24,"16":134145662743740416,"45":8666403452211027968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-09-17 13:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145924608001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:41:24] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-17 13:41:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134145662743740416,"km_value":134145662743740.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8666403452211027968,"description":"Unknown IO ID 45"} 
[2026-09-17 13:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145924608001,"power":13537,"unknown_196":206,"unknown_87":11776,"ignition":24,"odometer":null,"unknown_45":8666403452211027968}} 
[2026-09-17 13:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":185181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:41:24] local.INFO: GPS data processed {"connection_id":185181,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:41:24] local.INFO: Acknowledgment sent {"connection_id":185181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:41:34] local.INFO: TCP Data received {"connection_id":185180,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:41:34] local.INFO: Processing buffer {"connection_id":185180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:41:34] local.INFO: Packet analysis {"connection_id":185180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:41:34] local.INFO: Extracted packet for processing {"connection_id":185180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:41:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:41:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:41:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":185180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855668,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:41:34] local.INFO: GPS data processed {"connection_id":185180,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:41:34] local.INFO: Acknowledgment sent {"connection_id":185180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:41:53] local.INFO: TCP Data received {"connection_id":185313,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:41:53] local.INFO: Processing buffer {"connection_id":185313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:41:53] local.INFO: Packet analysis {"connection_id":185313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:41:53] local.INFO: Extracted packet for processing {"connection_id":185313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":185313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:41:53] local.INFO: GPS data processed {"connection_id":185313,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:41:53] local.INFO: Acknowledgment sent {"connection_id":185313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:41:55] local.INFO: TCP Data received {"connection_id":185181,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6984d0012d783c8005f162c8000b016421..."} 
[2026-09-17 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6984d0012d783c8005f162c8000b016421..."} 
[2026-09-17 13:41:55] local.INFO: Processing buffer {"connection_id":185181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6984d0012d783c8005f162c8000b016421..."} 
[2026-09-17 13:41:55] local.INFO: Packet analysis {"connection_id":185181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae69"} 
[2026-09-17 13:41:55] local.INFO: Extracted packet for processing {"connection_id":185181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae69"} 
[2026-09-17 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":762854528,"raw_latitude":99705544,"longitude_deg":76.2854528,"latitude_deg":9.9705544,"altitude":11,"angle":356,"satellites":33,"speed":9,"hex_longitude":"2d783c80","hex_latitude":"05f162c8","is_valid_coordinates":true} 
[2026-09-17 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145929984001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134145843132366848,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8664784971096170496,"note":"Value kept but may cause issues"} 
[2026-09-17 13:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789632546000,"timestamp_ms":1789632546000,"timestamp_seconds":1789632546,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6984d0"} 
[2026-09-17 13:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-17 13:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145929984001,"66":13004,"196":206,"87":11776,"24":9,"16":134145843132366848,"45":8664784971096170496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-09-17 13:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145929984001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:41:55] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-17 13:41:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134145843132366848,"km_value":134145843132366.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8664784971096170496,"description":"Unknown IO ID 45"} 
[2026-09-17 13:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145929984001,"power":13004,"unknown_196":206,"unknown_87":11776,"ignition":9,"odometer":null,"unknown_45":8664784971096170496}} 
[2026-09-17 13:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":185181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:41:55] local.INFO: GPS data processed {"connection_id":185181,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:41:55] local.INFO: Acknowledgment sent {"connection_id":185181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:41:57] local.INFO: TCP Data received {"connection_id":187940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187940,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:41:57] local.INFO: Processing buffer {"connection_id":187940,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:41:57] local.INFO: IMEI packet received {"connection_id":187940,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":187940,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:42:02] local.INFO: TCP Data received {"connection_id":187940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187940,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:42:02] local.INFO: Processing buffer {"connection_id":187940,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:42:02] local.INFO: IMEI packet received {"connection_id":187940,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":187940,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:42:03] local.INFO: TCP Data received {"connection_id":187940,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:42:03] local.INFO: Processing buffer {"connection_id":187940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:42:03] local.INFO: Packet analysis {"connection_id":187940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:42:03] local.INFO: Extracted packet for processing {"connection_id":187940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:42:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:42:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":187940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:42:03] local.INFO: GPS data processed {"connection_id":187940,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:42:03] local.INFO: Acknowledgment sent {"connection_id":187940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:42:15] local.INFO: TCP Data received {"connection_id":186623,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:42:15] local.INFO: Processing buffer {"connection_id":186623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:42:15] local.INFO: IMEI packet received {"connection_id":186623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":186623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:42:20] local.INFO: TCP Data received {"connection_id":186623,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:42:20] local.INFO: Processing buffer {"connection_id":186623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:42:20] local.INFO: IMEI packet received {"connection_id":186623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":186623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:42:21] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:42:21] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:42:21] local.INFO: IMEI packet received {"connection_id":186624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":186624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:42:21] local.INFO: TCP Data received {"connection_id":186623,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:42:21] local.INFO: Processing buffer {"connection_id":186623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:42:21] local.INFO: Packet analysis {"connection_id":186623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:42:21] local.INFO: Extracted packet for processing {"connection_id":186623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:42:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:42:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":186623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:42:21] local.INFO: GPS data processed {"connection_id":186623,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:42:21] local.INFO: Acknowledgment sent {"connection_id":186623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:42:22] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:42:22] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:42:22] local.INFO: IMEI packet received {"connection_id":186624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":186624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:42:25] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:42:25] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:42:25] local.INFO: IMEI packet received {"connection_id":186624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":186624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:42:29] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae69d6d8012d783c8005f168600009016522..."} 
[2026-09-17 13:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae69d6d8012d783c8005f168600009016522..."} 
[2026-09-17 13:42:29] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae69d6d8012d783c8005f168600009016522..."} 
[2026-09-17 13:42:29] local.INFO: Packet analysis {"connection_id":186624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae69"} 
[2026-09-17 13:42:29] local.INFO: Extracted packet for processing {"connection_id":186624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae69"} 
[2026-09-17 13:42:29] local.INFO: GPS Element Parsed {"raw_longitude":762854528,"raw_latitude":99706976,"longitude_deg":76.2854528,"latitude_deg":9.9706976,"altitude":9,"angle":357,"satellites":34,"speed":0,"hex_longitude":"2d783c80","hex_latitude":"05f16860","is_valid_coordinates":true} 
[2026-09-17 13:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145931776001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134145924736745472,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8663940546166966272,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789632567000,"timestamp_ms":1789632567000,"timestamp_seconds":1789632567,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae69d6d8"} 
[2026-09-17 13:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 13:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145931776001,"66":13624,"196":206,"87":11776,"24":0,"16":134145924736745472,"45":8663940546166966272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-09-17 13:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145931776001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:42:29] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-17 13:42:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134145924736745472,"km_value":134145924736745.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8663940546166966272,"description":"Unknown IO ID 45"} 
[2026-09-17 13:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145931776001,"power":13624,"unknown_196":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8663940546166966272}} 
[2026-09-17 13:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":186624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:42:29] local.INFO: GPS data processed {"connection_id":186624,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:42:29] local.INFO: Acknowledgment sent {"connection_id":186624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:42:32] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6a28e0012d783c0005f16b500009016522..."} 
[2026-09-17 13:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6a28e0012d783c0005f16b500009016522..."} 
[2026-09-17 13:42:32] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6a28e0012d783c0005f16b500009016522..."} 
[2026-09-17 13:42:32] local.INFO: Packet analysis {"connection_id":186624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6a"} 
[2026-09-17 13:42:32] local.INFO: Extracted packet for processing {"connection_id":186624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6a"} 
[2026-09-17 13:42:32] local.INFO: GPS Element Parsed {"raw_longitude":762854400,"raw_latitude":99707728,"longitude_deg":76.28544,"latitude_deg":9.9707728,"altitude":9,"angle":357,"satellites":34,"speed":16,"hex_longitude":"2d783c00","hex_latitude":"05f16b50","is_valid_coordinates":true} 
[2026-09-17 13:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145937152001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134145967686418432,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8663940546167332864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789632588000,"timestamp_ms":1789632588000,"timestamp_seconds":1789632588,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6a28e0"} 
[2026-09-17 13:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-17 13:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145937152001,"66":13428,"198":206,"87":11776,"24":16,"16":134145967686418432,"45":8663940546167332864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 13:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145937152001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:42:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 13:42:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134145967686418432,"km_value":134145967686418.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8663940546167332864,"description":"Unknown IO ID 45"} 
[2026-09-17 13:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145937152001,"power":13428,"unknown_198":206,"unknown_87":11776,"ignition":16,"odometer":null,"unknown_45":8663940546167332864}} 
[2026-09-17 13:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":186624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:42:33] local.INFO: GPS data processed {"connection_id":186624,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:42:33] local.INFO: Acknowledgment sent {"connection_id":186624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:42:34] local.INFO: TCP Data received {"connection_id":187940,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:42:34] local.INFO: Processing buffer {"connection_id":187940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:42:34] local.INFO: Packet analysis {"connection_id":187940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:42:34] local.INFO: Extracted packet for processing {"connection_id":187940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:42:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:42:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:42:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":187940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:42:34] local.INFO: GPS data processed {"connection_id":187940,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:42:34] local.INFO: Acknowledgment sent {"connection_id":187940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:42:54] local.INFO: TCP Data received {"connection_id":186623,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:42:54] local.INFO: Processing buffer {"connection_id":186623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae681988012d34c14006aa4438000c01012a..."} 
[2026-09-17 13:42:54] local.INFO: Packet analysis {"connection_id":186623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:42:54] local.INFO: Extracted packet for processing {"connection_id":186623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae68"} 
[2026-09-17 13:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145830912001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789632453000,"timestamp_ms":1789632453000,"timestamp_seconds":1789632453,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae681988"} 
[2026-09-17 13:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 13:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145830912001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145830912001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:42:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:42:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145830912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":186623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:42:54] local.INFO: GPS data processed {"connection_id":186623,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:42:54] local.INFO: Acknowledgment sent {"connection_id":186623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:42:57] local.INFO: TCP Data received {"connection_id":185183,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:42:57] local.INFO: Processing buffer {"connection_id":185183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:42:57] local.INFO: IMEI packet received {"connection_id":185183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":185183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:43:02] local.INFO: TCP Data received {"connection_id":185183,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:43:02] local.INFO: Processing buffer {"connection_id":185183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:43:02] local.INFO: IMEI packet received {"connection_id":185183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":185183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:43:03] local.INFO: TCP Data received {"connection_id":185183,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:43:03] local.INFO: Processing buffer {"connection_id":185183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:43:03] local.INFO: Packet analysis {"connection_id":185183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:43:03] local.INFO: Extracted packet for processing {"connection_id":185183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:43:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:43:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:43:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":185183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:43:03] local.INFO: GPS data processed {"connection_id":185183,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:43:03] local.INFO: Acknowledgment sent {"connection_id":185183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:43:04] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6a4ff0012d78374005f181b0000a015925..."} 
[2026-09-17 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6a4ff0012d78374005f181b0000a015925..."} 
[2026-09-17 13:43:04] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6a4ff0012d78374005f181b0000a015925..."} 
[2026-09-17 13:43:04] local.INFO: Packet analysis {"connection_id":186624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6a"} 
[2026-09-17 13:43:04] local.INFO: Extracted packet for processing {"connection_id":186624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6a"} 
[2026-09-17 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":762853184,"raw_latitude":99713456,"longitude_deg":76.2853184,"latitude_deg":9.9713456,"altitude":10,"angle":345,"satellites":37,"speed":20,"hex_longitude":"2d783740","hex_latitude":"05f181b0","is_valid_coordinates":true} 
[2026-09-17 13:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145942528001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134146251154259968,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8663799808679170048,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789632598000,"timestamp_ms":1789632598000,"timestamp_seconds":1789632598,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6a4ff0"} 
[2026-09-17 13:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 13:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145942528001,"66":13515,"198":206,"87":11776,"24":20,"16":134146251154259968,"45":8663799808679170048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 13:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145942528001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:43:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 13:43:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-09-17 13:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134146251154259968,"km_value":134146251154259.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8663799808679170048,"description":"Unknown IO ID 45"} 
[2026-09-17 13:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145942528001,"power":13515,"unknown_198":206,"unknown_87":11776,"ignition":20,"odometer":null,"unknown_45":8663799808679170048}} 
[2026-09-17 13:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":186624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:43:04] local.INFO: GPS data processed {"connection_id":186624,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:43:04] local.INFO: Acknowledgment sent {"connection_id":186624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:43:16] local.INFO: TCP Data received {"connection_id":187941,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:43:16] local.INFO: Processing buffer {"connection_id":187941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:43:16] local.INFO: IMEI packet received {"connection_id":187941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":187941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:43:19] local.INFO: TCP Data received {"connection_id":187942,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:43:19] local.INFO: Processing buffer {"connection_id":187942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:43:19] local.INFO: IMEI packet received {"connection_id":187942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":187942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:43:20] local.INFO: TCP Data received {"connection_id":187941,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:43:20] local.INFO: Processing buffer {"connection_id":187941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:43:20] local.INFO: IMEI packet received {"connection_id":187941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":187941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:43:21] local.INFO: TCP Data received {"connection_id":187941,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:43:21] local.INFO: Processing buffer {"connection_id":187941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:43:21] local.INFO: Packet analysis {"connection_id":187941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:43:21] local.INFO: Extracted packet for processing {"connection_id":187941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:43:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":187941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:43:21] local.INFO: GPS data processed {"connection_id":187941,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:43:21] local.INFO: Acknowledgment sent {"connection_id":187941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:43:25] local.INFO: TCP Data received {"connection_id":187942,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:43:25] local.INFO: Processing buffer {"connection_id":187942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:43:25] local.INFO: IMEI packet received {"connection_id":187942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":187942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:43:27] local.INFO: TCP Data received {"connection_id":187942,"ip":"42.106.6.18","data_length":93,"data_hex":"00000000000000518e01000001a0ae6ce418012d77f88005f27e780005016224..."} 
[2026-09-17 13:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187942,"packet_length":93,"packet_hex":"00000000000000518e01000001a0ae6ce418012d77f88005f27e780005016224..."} 
[2026-09-17 13:43:27] local.INFO: Processing buffer {"connection_id":187942,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0ae6ce418012d77f88005f27e780005016224..."} 
[2026-09-17 13:43:27] local.INFO: Packet analysis {"connection_id":187942,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0ae6c"} 
[2026-09-17 13:43:27] local.INFO: Extracted packet for processing {"connection_id":187942,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0ae6c"} 
[2026-09-17 13:43:27] local.INFO: GPS Element Parsed {"raw_longitude":762837120,"raw_latitude":99778168,"longitude_deg":76.283712,"latitude_deg":9.9778168,"altitude":5,"angle":354,"satellites":36,"speed":15,"hex_longitude":"2d77f880","hex_latitude":"05f27e78","is_valid_coordinates":true} 
[2026-09-17 13:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-17 13:43:27] 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-09-17 13:43:27] 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-09-17 13:43:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:43:27] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 13:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187942,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 13:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187942,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187942,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 13:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 13:43:27] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 13:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":187942,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 13:43:27] local.ERROR: GPS data processing failed {"connection_id":187942,"error":"No valid data to process"} 
[2026-09-17 13:43:27] local.INFO: Acknowledgment sent {"connection_id":187942,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 13:43:34] local.INFO: TCP Data received {"connection_id":185183,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:43:34] local.INFO: Processing buffer {"connection_id":185183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:43:34] local.INFO: Packet analysis {"connection_id":185183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:43:34] local.INFO: Extracted packet for processing {"connection_id":185183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:43:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:43:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:43:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":185183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:43:34] local.INFO: GPS data processed {"connection_id":185183,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:43:34] local.INFO: Acknowledgment sent {"connection_id":185183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:43:52] local.INFO: TCP Data received {"connection_id":187941,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:43:52] local.INFO: Processing buffer {"connection_id":187941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:43:52] local.INFO: Packet analysis {"connection_id":187941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:43:52] local.INFO: Extracted packet for processing {"connection_id":187941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":187941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:43:52] local.INFO: GPS data processed {"connection_id":187941,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:43:52] local.INFO: Acknowledgment sent {"connection_id":187941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:43:57] local.INFO: TCP Data received {"connection_id":185184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185184,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:43:57] local.INFO: Processing buffer {"connection_id":185184,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:43:57] local.INFO: IMEI packet received {"connection_id":185184,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":185184,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:44:02] local.INFO: TCP Data received {"connection_id":185184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185184,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:44:02] local.INFO: Processing buffer {"connection_id":185184,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:44:02] local.INFO: IMEI packet received {"connection_id":185184,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":185184,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:44:03] local.INFO: TCP Data received {"connection_id":185184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:44:03] local.INFO: Processing buffer {"connection_id":185184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:44:03] local.INFO: Packet analysis {"connection_id":185184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:44:03] local.INFO: Extracted packet for processing {"connection_id":185184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:44:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:44:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":185184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:44:03] local.INFO: GPS data processed {"connection_id":185184,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:44:03] local.INFO: Acknowledgment sent {"connection_id":185184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:44:15] local.INFO: TCP Data received {"connection_id":185316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:44:15] local.INFO: Processing buffer {"connection_id":185316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:44:15] local.INFO: IMEI packet received {"connection_id":185316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":185316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:44:20] local.INFO: TCP Data received {"connection_id":185316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:44:20] local.INFO: Processing buffer {"connection_id":185316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:44:20] local.INFO: IMEI packet received {"connection_id":185316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":185316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:44:21] local.INFO: TCP Data received {"connection_id":187942,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6d2298012d77f54005f28828000a015728..."} 
[2026-09-17 13:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6d2298012d77f54005f28828000a015728..."} 
[2026-09-17 13:44:21] local.INFO: Processing buffer {"connection_id":187942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6d2298012d77f54005f28828000a015728..."} 
[2026-09-17 13:44:21] local.INFO: Packet analysis {"connection_id":187942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6d"} 
[2026-09-17 13:44:21] local.INFO: Extracted packet for processing {"connection_id":187942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6d"} 
[2026-09-17 13:44:21] local.INFO: GPS Element Parsed {"raw_longitude":762836288,"raw_latitude":99780648,"longitude_deg":76.2836288,"latitude_deg":9.9780648,"altitude":10,"angle":343,"satellites":40,"speed":15,"hex_longitude":"2d77f540","hex_latitude":"05f28828","is_valid_coordinates":true} 
[2026-09-17 13:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145988352001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134149644178423808,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8644800247769233408,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789632783000,"timestamp_ms":1789632783000,"timestamp_seconds":1789632783,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6d2298"} 
[2026-09-17 13:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 13:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145988352001,"66":13450,"136":206,"87":13568,"24":15,"16":134149644178423808,"45":8644800247769233408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-09-17 13:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145988352001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:44:21] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-17 13:44:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134149644178423808,"km_value":134149644178423.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8644800247769233408,"description":"Unknown IO ID 45"} 
[2026-09-17 13:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145988352001,"power":13450,"unknown_136":206,"unknown_87":13568,"ignition":15,"odometer":null,"unknown_45":8644800247769233408}} 
[2026-09-17 13:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":187942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:44:21] local.INFO: GPS data processed {"connection_id":187942,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:44:21] local.INFO: Acknowledgment sent {"connection_id":187942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:44:21] local.INFO: TCP Data received {"connection_id":185316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:44:21] local.INFO: Processing buffer {"connection_id":185316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:44:21] local.INFO: Packet analysis {"connection_id":185316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:44:21] local.INFO: Extracted packet for processing {"connection_id":185316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:44:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":185316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:44:21] local.INFO: GPS data processed {"connection_id":185316,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:44:21] local.INFO: Acknowledgment sent {"connection_id":185316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:44:26] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:44:26] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:44:26] local.INFO: IMEI packet received {"connection_id":186625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":186625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:44:29] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:44:29] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:44:29] local.INFO: IMEI packet received {"connection_id":186625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":186625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:44:30] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:44:30] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:44:30] local.INFO: IMEI packet received {"connection_id":186625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":186625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:44:31] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6d5178012d77ea0005f2aa90000f015a25..."} 
[2026-09-17 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6d5178012d77ea0005f2aa90000f015a25..."} 
[2026-09-17 13:44:31] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6d5178012d77ea0005f2aa90000f015a25..."} 
[2026-09-17 13:44:31] local.INFO: Packet analysis {"connection_id":186625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6d"} 
[2026-09-17 13:44:31] local.INFO: Extracted packet for processing {"connection_id":186625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6d"} 
[2026-09-17 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":762833408,"raw_latitude":99789456,"longitude_deg":76.2833408,"latitude_deg":9.9789456,"altitude":15,"angle":346,"satellites":37,"speed":23,"hex_longitude":"2d77ea00","hex_latitude":"05f2aa90","is_valid_coordinates":true} 
[2026-09-17 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145992448001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134150090855022592,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8643885454095558656,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789632795000,"timestamp_ms":1789632795000,"timestamp_seconds":1789632795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6d5178"} 
[2026-09-17 13:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 13:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145992448001,"66":13102,"136":206,"87":13568,"24":23,"16":134150090855022592,"45":8643885454095558656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-09-17 13:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145992448001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:44:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-17 13:44:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134150090855022592,"km_value":134150090855022.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8643885454095558656,"description":"Unknown IO ID 45"} 
[2026-09-17 13:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145992448001,"power":13102,"unknown_136":206,"unknown_87":13568,"ignition":23,"odometer":null,"unknown_45":8643885454095558656}} 
[2026-09-17 13:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":186625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:44:31] local.INFO: GPS data processed {"connection_id":186625,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:44:31] local.INFO: Acknowledgment sent {"connection_id":186625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:44:34] local.INFO: TCP Data received {"connection_id":185184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:44:34] local.INFO: Processing buffer {"connection_id":185184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:44:34] local.INFO: Packet analysis {"connection_id":185184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:44:34] local.INFO: Extracted packet for processing {"connection_id":185184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:44:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:44:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":185184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855686,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:44:34] local.INFO: GPS data processed {"connection_id":185184,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:44:34] local.INFO: Acknowledgment sent {"connection_id":185184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:44:38] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6da380012d77e48005f2c068000c015b24..."} 
[2026-09-17 13:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6da380012d77e48005f2c068000c015b24..."} 
[2026-09-17 13:44:38] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6da380012d77e48005f2c068000c015b24..."} 
[2026-09-17 13:44:38] local.INFO: Packet analysis {"connection_id":186625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6d"} 
[2026-09-17 13:44:38] local.INFO: Extracted packet for processing {"connection_id":186625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6d"} 
[2026-09-17 13:44:38] local.INFO: GPS Element Parsed {"raw_longitude":762832000,"raw_latitude":99795048,"longitude_deg":76.2832,"latitude_deg":9.9795048,"altitude":12,"angle":347,"satellites":36,"speed":19,"hex_longitude":"2d77e480","hex_latitude":"05f2c068","is_valid_coordinates":true} 
[2026-09-17 13:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145995520001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134150374322864128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8640718860609818624,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789632816000,"timestamp_ms":1789632816000,"timestamp_seconds":1789632816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6da380"} 
[2026-09-17 13:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 13:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145995520001,"66":13493,"133":206,"87":13568,"24":19,"16":134150374322864128,"45":8640718860609818624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-09-17 13:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145995520001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:44:38] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-17 13:44:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134150374322864128,"km_value":134150374322864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8640718860609818624,"description":"Unknown IO ID 45"} 
[2026-09-17 13:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145995520001,"power":13493,"unknown_133":206,"unknown_87":13568,"ignition":19,"odometer":null,"unknown_45":8640718860609818624}} 
[2026-09-17 13:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":186625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:44:38] local.INFO: GPS data processed {"connection_id":186625,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:44:38] local.INFO: Acknowledgment sent {"connection_id":186625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:44:53] local.INFO: TCP Data received {"connection_id":185316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:44:53] local.INFO: Processing buffer {"connection_id":185316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:44:53] local.INFO: Packet analysis {"connection_id":185316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:44:53] local.INFO: Extracted packet for processing {"connection_id":185316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":185316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:44:53] local.INFO: GPS data processed {"connection_id":185316,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:44:53] local.INFO: Acknowledgment sent {"connection_id":185316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:44:57] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:44:57] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:44:57] local.INFO: IMEI packet received {"connection_id":186626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":186626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:45:02] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:45:02] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:45:02] local.INFO: IMEI packet received {"connection_id":186626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":186626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:45:03] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:45:03] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:45:03] local.INFO: Packet analysis {"connection_id":186626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:45:03] local.INFO: Extracted packet for processing {"connection_id":186626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:45:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:45:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:45:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":186626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:45:03] local.INFO: GPS data processed {"connection_id":186626,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:45:03] local.INFO: Acknowledgment sent {"connection_id":186626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:45:10] local.INFO: TCP Data received {"connection_id":185317,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:45:10] local.INFO: Processing buffer {"connection_id":185317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:45:10] local.INFO: IMEI packet received {"connection_id":185317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":185317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:45:15] local.INFO: TCP Data received {"connection_id":187943,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:45:15] local.INFO: Processing buffer {"connection_id":187943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:45:15] local.INFO: IMEI packet received {"connection_id":187943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":187943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:45:20] local.INFO: TCP Data received {"connection_id":187943,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:45:20] local.INFO: Processing buffer {"connection_id":187943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:45:20] local.INFO: IMEI packet received {"connection_id":187943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":187943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:45:21] local.INFO: TCP Data received {"connection_id":187943,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:45:21] local.INFO: Processing buffer {"connection_id":187943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:45:21] local.INFO: Packet analysis {"connection_id":187943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:45:21] local.INFO: Extracted packet for processing {"connection_id":187943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:45:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":187943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:45:21] local.INFO: GPS data processed {"connection_id":187943,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:45:21] local.INFO: Acknowledgment sent {"connection_id":187943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:45:22] local.INFO: TCP Data received {"connection_id":185185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:45:22] local.INFO: Processing buffer {"connection_id":185185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:45:22] local.INFO: IMEI packet received {"connection_id":185185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":185185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:45:25] local.INFO: TCP Data received {"connection_id":185185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:45:25] local.INFO: Processing buffer {"connection_id":185185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:45:25] local.INFO: IMEI packet received {"connection_id":185185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":185185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:45:30] local.INFO: TCP Data received {"connection_id":185185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:45:30] local.INFO: Processing buffer {"connection_id":185185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:45:30] local.INFO: IMEI packet received {"connection_id":185185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":185185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:45:31] local.INFO: TCP Data received {"connection_id":185185,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6dd260012d77dec005f2e370000b015d22..."} 
[2026-09-17 13:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6dd260012d77dec005f2e370000b015d22..."} 
[2026-09-17 13:45:31] local.INFO: Processing buffer {"connection_id":185185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6dd260012d77dec005f2e370000b015d22..."} 
[2026-09-17 13:45:31] local.INFO: Packet analysis {"connection_id":185185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6d"} 
[2026-09-17 13:45:31] local.INFO: Extracted packet for processing {"connection_id":185185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6d"} 
[2026-09-17 13:45:31] local.INFO: GPS Element Parsed {"raw_longitude":762830528,"raw_latitude":99804016,"longitude_deg":76.2830528,"latitude_deg":9.9804016,"altitude":11,"angle":349,"satellites":34,"speed":33,"hex_longitude":"2d77dec0","hex_latitude":"05f2e370","is_valid_coordinates":true} 
[2026-09-17 13:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146000896001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134150816704495616,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8639170748239341568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789632828000,"timestamp_ms":1789632828000,"timestamp_seconds":1789632828,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6dd260"} 
[2026-09-17 13:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 13:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146000896001,"66":13243,"133":206,"87":13568,"24":33,"16":134150816704495616,"45":8639170748239341568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-09-17 13:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146000896001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:45:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-17 13:45:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134150816704495616,"km_value":134150816704495.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8639170748239341568,"description":"Unknown IO ID 45"} 
[2026-09-17 13:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146000896001,"power":13243,"unknown_133":206,"unknown_87":13568,"ignition":33,"odometer":null,"unknown_45":8639170748239341568}} 
[2026-09-17 13:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":185185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:45:31] local.INFO: GPS data processed {"connection_id":185185,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:45:31] local.INFO: Acknowledgment sent {"connection_id":185185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:45:34] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:45:34] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:45:34] local.INFO: Packet analysis {"connection_id":186626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:45:34] local.INFO: Extracted packet for processing {"connection_id":186626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:45:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:45:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:45:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":186626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:45:34] local.INFO: GPS data processed {"connection_id":186626,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:45:34] local.INFO: Acknowledgment sent {"connection_id":186626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:45:35] local.INFO: TCP Data received {"connection_id":185185,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6e0528012d77d88005f30750000b015e23..."} 
[2026-09-17 13:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6e0528012d77d88005f30750000b015e23..."} 
[2026-09-17 13:45:35] local.INFO: Processing buffer {"connection_id":185185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6e0528012d77d88005f30750000b015e23..."} 
[2026-09-17 13:45:35] local.INFO: Packet analysis {"connection_id":185185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6e"} 
[2026-09-17 13:45:35] local.INFO: Extracted packet for processing {"connection_id":185185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6e"} 
[2026-09-17 13:45:35] local.INFO: GPS Element Parsed {"raw_longitude":762828928,"raw_latitude":99813200,"longitude_deg":76.2828928,"latitude_deg":9.98132,"altitude":11,"angle":350,"satellites":35,"speed":19,"hex_longitude":"2d77d880","hex_latitude":"05f30750","is_valid_coordinates":true} 
[2026-09-17 13:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146003968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134151271971028992,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8637552267125551104,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789632841000,"timestamp_ms":1789632841000,"timestamp_seconds":1789632841,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6e0528"} 
[2026-09-17 13:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146003968001,"66":13102,"133":206,"87":13568,"24":19,"16":134151271971028992,"45":8637552267125551104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-09-17 13:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146003968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:45:35] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-17 13:45:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134151271971028992,"km_value":134151271971028.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8637552267125551104,"description":"Unknown IO ID 45"} 
[2026-09-17 13:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146003968001,"power":13102,"unknown_133":206,"unknown_87":13568,"ignition":19,"odometer":null,"unknown_45":8637552267125551104}} 
[2026-09-17 13:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":185185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:45:35] local.INFO: GPS data processed {"connection_id":185185,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:45:35] local.INFO: Acknowledgment sent {"connection_id":185185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:45:50] local.INFO: TCP Data received {"connection_id":187944,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:45:50] local.INFO: Processing buffer {"connection_id":187944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:45:50] local.INFO: IMEI packet received {"connection_id":187944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":187944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:45:52] local.INFO: TCP Data received {"connection_id":187943,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:45:52] local.INFO: Processing buffer {"connection_id":187943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:45:52] local.INFO: Packet analysis {"connection_id":187943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:45:52] local.INFO: Extracted packet for processing {"connection_id":187943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":187943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:45:52] local.INFO: GPS data processed {"connection_id":187943,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:45:52] local.INFO: Acknowledgment sent {"connection_id":187943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:45:57] local.INFO: TCP Data received {"connection_id":185318,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:45:57] local.INFO: Processing buffer {"connection_id":185318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:45:57] local.INFO: IMEI packet received {"connection_id":185318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":185318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:46:02] local.INFO: TCP Data received {"connection_id":185318,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:46:02] local.INFO: Processing buffer {"connection_id":185318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:46:02] local.INFO: IMEI packet received {"connection_id":185318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":185318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:46:03] local.INFO: TCP Data received {"connection_id":185318,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:46:03] local.INFO: Processing buffer {"connection_id":185318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6b8870012cf40d00070fc3f8003300a01d..."} 
[2026-09-17 13:46:03] local.INFO: Packet analysis {"connection_id":185318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:46:03] local.INFO: Extracted packet for processing {"connection_id":185318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6b"} 
[2026-09-17 13:46:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":51,"angle":160,"satellites":29,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145888512001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632678000,"timestamp_ms":1789632678000,"timestamp_seconds":1789632678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6b8870"} 
[2026-09-17 13:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145888512001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145888512001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:46:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145888512001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":185318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:46:03] local.INFO: GPS data processed {"connection_id":185318,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:46:03] local.INFO: Acknowledgment sent {"connection_id":185318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:46:15] local.INFO: TCP Data received {"connection_id":185186,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:46:15] local.INFO: Processing buffer {"connection_id":185186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:46:15] local.INFO: IMEI packet received {"connection_id":185186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":185186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:46:19] local.INFO: TCP Data received {"connection_id":187945,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:46:19] local.INFO: Processing buffer {"connection_id":187945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:46:19] local.INFO: IMEI packet received {"connection_id":187945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":187945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:46:20] local.INFO: TCP Data received {"connection_id":185186,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:46:20] local.INFO: Processing buffer {"connection_id":185186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:46:20] local.INFO: IMEI packet received {"connection_id":185186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":185186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:46:21] local.INFO: TCP Data received {"connection_id":185186,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:46:21] local.INFO: Processing buffer {"connection_id":185186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:46:21] local.INFO: Packet analysis {"connection_id":185186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:46:21] local.INFO: Extracted packet for processing {"connection_id":185186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:46:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":185186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:46:21] local.INFO: GPS data processed {"connection_id":185186,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:46:21] local.INFO: Acknowledgment sent {"connection_id":185186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:46:25] local.INFO: TCP Data received {"connection_id":187945,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:46:25] local.INFO: Processing buffer {"connection_id":187945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:46:25] local.INFO: IMEI packet received {"connection_id":187945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":187945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:46:26] local.INFO: TCP Data received {"connection_id":187945,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6e43a8012d77cf4005f329f0000e015a27..."} 
[2026-09-17 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6e43a8012d77cf4005f329f0000e015a27..."} 
[2026-09-17 13:46:26] local.INFO: Processing buffer {"connection_id":187945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6e43a8012d77cf4005f329f0000e015a27..."} 
[2026-09-17 13:46:26] local.INFO: Packet analysis {"connection_id":187945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6e"} 
[2026-09-17 13:46:26] local.INFO: Extracted packet for processing {"connection_id":187945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6e"} 
[2026-09-17 13:46:26] local.INFO: GPS Element Parsed {"raw_longitude":762826560,"raw_latitude":99822064,"longitude_deg":76.282656,"latitude_deg":9.9822064,"altitude":14,"angle":346,"satellites":39,"speed":33,"hex_longitude":"2d77cf40","hex_latitude":"05f329f0","is_valid_coordinates":true} 
[2026-09-17 13:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146007296001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134151714352660480,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8635793048523460608,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789632857000,"timestamp_ms":1789632857000,"timestamp_seconds":1789632857,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6e43a8"} 
[2026-09-17 13:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 13:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146007296001,"66":13319,"133":206,"87":13568,"24":33,"16":134151714352660480,"45":8635793048523460608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-09-17 13:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146007296001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:46:26] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-17 13:46:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134151714352660480,"km_value":134151714352660.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8635793048523460608,"description":"Unknown IO ID 45"} 
[2026-09-17 13:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146007296001,"power":13319,"unknown_133":206,"unknown_87":13568,"ignition":33,"odometer":null,"unknown_45":8635793048523460608}} 
[2026-09-17 13:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":187945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:46:27] local.INFO: GPS data processed {"connection_id":187945,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:46:27] local.INFO: Acknowledgment sent {"connection_id":187945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:46:34] local.INFO: TCP Data received {"connection_id":185318,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:46:34] local.INFO: Processing buffer {"connection_id":185318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:46:34] local.INFO: Packet analysis {"connection_id":185318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:46:34] local.INFO: Extracted packet for processing {"connection_id":185318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:46:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:46:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:46:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":185318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:46:34] local.INFO: GPS data processed {"connection_id":185318,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:46:34] local.INFO: Acknowledgment sent {"connection_id":185318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:46:53] local.INFO: TCP Data received {"connection_id":185186,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:46:53] local.INFO: Processing buffer {"connection_id":185186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:46:53] local.INFO: Packet analysis {"connection_id":185186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:46:53] local.INFO: Extracted packet for processing {"connection_id":185186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":185186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:46:53] local.INFO: GPS data processed {"connection_id":185186,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:46:53] local.INFO: Acknowledgment sent {"connection_id":185186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:46:57] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:46:57] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:46:57] local.INFO: IMEI packet received {"connection_id":186628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":186628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:46:58] local.INFO: TCP Data received {"connection_id":187945,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6e6ab8012d77c64005f34b700012015125..."} 
[2026-09-17 13:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6e6ab8012d77c64005f34b700012015125..."} 
[2026-09-17 13:46:58] local.INFO: Processing buffer {"connection_id":187945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6e6ab8012d77c64005f34b700012015125..."} 
[2026-09-17 13:46:58] local.INFO: Packet analysis {"connection_id":187945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6e"} 
[2026-09-17 13:46:58] local.INFO: Extracted packet for processing {"connection_id":187945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6e"} 
[2026-09-17 13:46:58] local.INFO: GPS Element Parsed {"raw_longitude":762824256,"raw_latitude":99830640,"longitude_deg":76.2824256,"latitude_deg":9.983064,"altitude":18,"angle":337,"satellites":37,"speed":33,"hex_longitude":"2d77c640","hex_latitude":"05f34b70","is_valid_coordinates":true} 
[2026-09-17 13:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146011392001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134152148144357376,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8633189404991156224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789632867000,"timestamp_ms":1789632867000,"timestamp_seconds":1789632867,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6e6ab8"} 
[2026-09-17 13:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2926371864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2550214007,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":242,"raw_value":6935543439057757184,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":881328334,"corrected_to":0} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308340,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2556690432,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57760128959403829,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6232980589482196987,"note":"Value kept but may cause issues"} 
[2026-09-17 13:46:58] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,133,87,24,241,157,16,154,160,5,45,128,7,11,35,10,66,153,210,192,227,34,163,1,240,181,174,242,4,113,205,23,245,40,239,52,136,2,220,15,79,108],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":881328334,"validated":0}]} 
[2026-09-17 13:46:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009186915060088832,"timestamp_seconds":1009186915060088.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146011392001,"66":13363,"132":206,"87":13568,"24":33,"16":134152148144357376,"45":8633189404991156224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-09-17 13:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146011392001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:46:58] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-17 13:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134152148144357376,"km_value":134152148144357.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8633189404991156224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146011392001,"power":13363,"unknown_132":206,"unknown_87":13568,"ignition":33,"odometer":null,"unknown_45":8633189404991156224}} 
[2026-09-17 13:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":187945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:46:58] local.INFO: GPS data processed {"connection_id":187945,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:46:58] local.INFO: Acknowledgment sent {"connection_id":187945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:47:02] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:47:02] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:47:02] local.INFO: IMEI packet received {"connection_id":186628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":186628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:47:03] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:47:03] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:47:03] local.INFO: Packet analysis {"connection_id":186628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:47:03] local.INFO: Extracted packet for processing {"connection_id":186628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:47:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:47:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":186628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:47:03] local.INFO: GPS data processed {"connection_id":186628,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:47:03] local.INFO: Acknowledgment sent {"connection_id":186628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:47:15] local.INFO: TCP Data received {"connection_id":187946,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:47:15] local.INFO: Processing buffer {"connection_id":187946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:47:15] local.INFO: IMEI packet received {"connection_id":187946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":187946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:47:18] local.INFO: TCP Data received {"connection_id":185187,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:47:18] local.INFO: Processing buffer {"connection_id":185187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:47:18] local.INFO: IMEI packet received {"connection_id":185187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":185187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:47:19] local.INFO: TCP Data received {"connection_id":185187,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:47:19] local.INFO: Processing buffer {"connection_id":185187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:47:19] local.INFO: IMEI packet received {"connection_id":185187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":185187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:47:20] local.INFO: TCP Data received {"connection_id":187946,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:47:20] local.INFO: Processing buffer {"connection_id":187946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:47:20] local.INFO: IMEI packet received {"connection_id":187946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":187946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:47:21] local.INFO: TCP Data received {"connection_id":187946,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:47:21] local.INFO: Processing buffer {"connection_id":187946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:47:21] local.INFO: Packet analysis {"connection_id":187946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:47:21] local.INFO: Extracted packet for processing {"connection_id":187946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:47:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":187946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:47:21] local.INFO: GPS data processed {"connection_id":187946,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:47:21] local.INFO: Acknowledgment sent {"connection_id":187946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:47:25] local.INFO: TCP Data received {"connection_id":185187,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:47:25] local.INFO: Processing buffer {"connection_id":185187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:47:25] local.INFO: IMEI packet received {"connection_id":185187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":185187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:47:26] local.INFO: TCP Data received {"connection_id":185187,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae70c448012d77a60005f3b4a80018001d26..."} 
[2026-09-17 13:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae70c448012d77a60005f3b4a80018001d26..."} 
[2026-09-17 13:47:26] local.INFO: Processing buffer {"connection_id":185187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae70c448012d77a60005f3b4a80018001d26..."} 
[2026-09-17 13:47:26] local.INFO: Packet analysis {"connection_id":185187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:47:26] local.INFO: Extracted packet for processing {"connection_id":185187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:47:26] local.INFO: GPS Element Parsed {"raw_longitude":762816000,"raw_latitude":99857576,"longitude_deg":76.2816,"latitude_deg":9.9857576,"altitude":24,"angle":29,"satellites":38,"speed":15,"hex_longitude":"2d77a600","hex_latitude":"05f3b4a8","is_valid_coordinates":true} 
[2026-09-17 13:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146053120001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134153544008728576,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621508193466664960,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633021000,"timestamp_ms":1789633021000,"timestamp_seconds":1789633021,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae70c448"} 
[2026-09-17 13:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 13:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146053120001,"66":12809,"218":206,"87":13568,"24":15,"16":134153544008728576,"45":8621508193466664960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-17 13:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146053120001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:47:26] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-17 13:47:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134153544008728576,"km_value":134153544008728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621508193466664960,"description":"Unknown IO ID 45"} 
[2026-09-17 13:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146053120001,"power":12809,"unknown_218":206,"unknown_87":13568,"ignition":15,"odometer":null,"unknown_45":8621508193466664960}} 
[2026-09-17 13:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":185187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:47:26] local.INFO: GPS data processed {"connection_id":185187,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:47:26] local.INFO: Acknowledgment sent {"connection_id":185187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:47:34] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:47:34] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:47:34] local.INFO: Packet analysis {"connection_id":186628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:47:34] local.INFO: Extracted packet for processing {"connection_id":186628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:47:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:47:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:47:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":186628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:47:34] local.INFO: GPS data processed {"connection_id":186628,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:47:34] local.INFO: Acknowledgment sent {"connection_id":186628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:47:53] local.INFO: TCP Data received {"connection_id":187946,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:47:53] local.INFO: Processing buffer {"connection_id":187946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae6cb150012d34c14006aa4438000c010128..."} 
[2026-09-17 13:47:53] local.INFO: Packet analysis {"connection_id":187946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:47:53] local.INFO: Extracted packet for processing {"connection_id":187946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae6c"} 
[2026-09-17 13:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145907968001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789632754000,"timestamp_ms":1789632754000,"timestamp_seconds":1789632754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae6cb150"} 
[2026-09-17 13:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145907968001,"66":25582,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145907968001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145907968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":187946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:47:53] local.INFO: GPS data processed {"connection_id":187946,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:47:53] local.INFO: Acknowledgment sent {"connection_id":187946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:47:57] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:47:57] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:47:57] local.INFO: IMEI packet received {"connection_id":186629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":186629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:47:57] local.INFO: TCP Data received {"connection_id":185187,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae70c830012d77a70005f3b6000019002a25..."} 
[2026-09-17 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae70c830012d77a70005f3b6000019002a25..."} 
[2026-09-17 13:47:57] local.INFO: Processing buffer {"connection_id":185187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae70c830012d77a70005f3b6000019002a25..."} 
[2026-09-17 13:47:57] local.INFO: Packet analysis {"connection_id":185187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:47:57] local.INFO: Extracted packet for processing {"connection_id":185187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":762816256,"raw_latitude":99857920,"longitude_deg":76.2816256,"latitude_deg":9.985792,"altitude":25,"angle":42,"satellites":37,"speed":17,"hex_longitude":"2d77a700","hex_latitude":"05f3b600","is_valid_coordinates":true} 
[2026-09-17 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146053376001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134153565483565056,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621578562210932736,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789633022000,"timestamp_ms":1789633022000,"timestamp_seconds":1789633022,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae70c830"} 
[2026-09-17 13:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2926546864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":8015747634800600896,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2824339479,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":735707342,"corrected_to":0} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3087084919,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4179114825877500329,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2613772288,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-889364168996464607,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:47:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,218,87,24,241,157,16,155,160,192,45,179,38,10,66,188,128,177,133,64,1,240,46,227,174,243,4,113,205,225,167,88,37,239,51,48,2,220,5,23,53,203],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":735707342,"validated":0}]} 
[2026-09-17 13:47:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729414305957216256,"timestamp_seconds":1729414305957216.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146053376001,"66":12809,"218":206,"87":13568,"24":17,"16":134153565483565056,"45":8621578562210932736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-17 13:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146053376001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:47:57] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-17 13:47:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134153565483565056,"km_value":134153565483565.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621578562210932736,"description":"Unknown IO ID 45"} 
[2026-09-17 13:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146053376001,"power":12809,"unknown_218":206,"unknown_87":13568,"ignition":17,"odometer":null,"unknown_45":8621578562210932736}} 
[2026-09-17 13:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":185187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:47:57] local.INFO: GPS data processed {"connection_id":185187,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:47:57] local.INFO: Acknowledgment sent {"connection_id":185187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:48:02] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:48:02] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:48:02] local.INFO: IMEI packet received {"connection_id":186629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":186629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:48:03] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:48:03] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:48:03] local.INFO: Packet analysis {"connection_id":186629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:48:03] local.INFO: Extracted packet for processing {"connection_id":186629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:48:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:48:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:48:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":186629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:48:03] local.INFO: GPS data processed {"connection_id":186629,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:48:03] local.INFO: Acknowledgment sent {"connection_id":186629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:48:15] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:48:15] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:48:15] local.INFO: IMEI packet received {"connection_id":186630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":186630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:48:19] local.INFO: TCP Data received {"connection_id":187948,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:48:19] local.INFO: Processing buffer {"connection_id":187948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:48:19] local.INFO: IMEI packet received {"connection_id":187948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":187948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:48:20] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:48:20] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:48:20] local.INFO: IMEI packet received {"connection_id":186630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":186630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:48:21] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:48:21] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:48:21] local.INFO: Packet analysis {"connection_id":186630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:48:21] local.INFO: Extracted packet for processing {"connection_id":186630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:48:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":186630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:48:21] local.INFO: GPS data processed {"connection_id":186630,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:48:21] local.INFO: Acknowledgment sent {"connection_id":186630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:48:26] local.INFO: TCP Data received {"connection_id":187948,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:48:26] local.INFO: Processing buffer {"connection_id":187948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:48:26] local.INFO: IMEI packet received {"connection_id":187948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":187948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:48:29] local.INFO: TCP Data received {"connection_id":187948,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae70cc18012d77a80005f3b7280019003726..."} 
[2026-09-17 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae70cc18012d77a80005f3b7280019003726..."} 
[2026-09-17 13:48:29] local.INFO: Processing buffer {"connection_id":187948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae70cc18012d77a80005f3b7280019003726..."} 
[2026-09-17 13:48:29] local.INFO: Packet analysis {"connection_id":187948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:48:29] local.INFO: Extracted packet for processing {"connection_id":187948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:48:29] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99858216,"longitude_deg":76.2816512,"latitude_deg":9.9858216,"altitude":25,"angle":55,"satellites":38,"speed":18,"hex_longitude":"2d77a800","hex_latitude":"05f3b728","is_valid_coordinates":true} 
[2026-09-17 13:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146053632001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134153582663434240,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037187731456,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789633023000,"timestamp_ms":1789633023000,"timestamp_seconds":1789633023,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae70cc18"} 
[2026-09-17 13:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2926567864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":174,"raw_value":8038837378983896896,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2824339479,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":735707342,"corrected_to":0} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971748360294707625,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2613772288,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-889364168996464606,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,218,87,24,241,157,16,155,160,196,45,180,38,10,66,192,179,188,128,1,240,62,227,174,243,4,113,205,51,167,88,35,239,2,220,5,23,53,203],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":735707342,"validated":0}]} 
[2026-09-17 13:48:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801486189351469056,"timestamp_seconds":1801486189351469.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146053632001,"66":12809,"218":206,"87":13568,"24":18,"16":134153582663434240,"45":8621860037187731456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-17 13:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146053632001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:48:29] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-17 13:48:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134153582663434240,"km_value":134153582663434.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037187731456,"description":"Unknown IO ID 45"} 
[2026-09-17 13:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146053632001,"power":12809,"unknown_218":206,"unknown_87":13568,"ignition":18,"odometer":null,"unknown_45":8621860037187731456}} 
[2026-09-17 13:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":187948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:48:29] local.INFO: GPS data processed {"connection_id":187948,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:48:29] local.INFO: Acknowledgment sent {"connection_id":187948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:48:34] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:48:34] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:48:34] local.INFO: Packet analysis {"connection_id":186629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:48:34] local.INFO: Extracted packet for processing {"connection_id":186629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:48:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:48:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":186629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:48:34] local.INFO: GPS data processed {"connection_id":186629,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:48:34] local.INFO: Acknowledgment sent {"connection_id":186629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:48:53] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:48:53] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:48:53] local.INFO: Packet analysis {"connection_id":186630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:48:53] local.INFO: Extracted packet for processing {"connection_id":186630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":186630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:48:53] local.INFO: GPS data processed {"connection_id":186630,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:48:53] local.INFO: Acknowledgment sent {"connection_id":186630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:48:57] local.INFO: TCP Data received {"connection_id":185189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:48:57] local.INFO: Processing buffer {"connection_id":185189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:48:57] local.INFO: IMEI packet received {"connection_id":185189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":185189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:49:00] local.INFO: TCP Data received {"connection_id":187948,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae70d000012d77a98005f3b8080019004228..."} 
[2026-09-17 13:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae70d000012d77a98005f3b8080019004228..."} 
[2026-09-17 13:49:00] local.INFO: Processing buffer {"connection_id":187948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae70d000012d77a98005f3b8080019004228..."} 
[2026-09-17 13:49:00] local.INFO: Packet analysis {"connection_id":187948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:49:00] local.INFO: Extracted packet for processing {"connection_id":187948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:49:00] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99858440,"longitude_deg":76.2816896,"latitude_deg":9.985844,"altitude":25,"angle":66,"satellites":40,"speed":16,"hex_longitude":"2d77a980","hex_latitude":"05f3b808","is_valid_coordinates":true} 
[2026-09-17 13:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146053888001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134153604138270720,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512164517888,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789633024000,"timestamp_ms":1789633024000,"timestamp_seconds":1789633024,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae70d000"} 
[2026-09-17 13:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2926588864,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":12289,"corrected_to":0} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":174,"raw_value":8061927123167192896,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2983723032,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":735707342,"corrected_to":0} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3355520375,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971748400392253865,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2613772288,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-889364168996464603,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,218,87,24,241,157,16,155,160,200,45,182,25,37,10,66,196,180,38,192,1,240,166,227,174,243,4,113,205,15,133,167,88,35,239,51,2,220,5,23,53,203],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":200,"original":12289,"validated":0},{"io_id":205,"original":735707342,"validated":0}]} 
[2026-09-17 13:49:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801500487297662976,"timestamp_seconds":1801500487297663.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 13:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146053888001,"66":12863,"218":206,"87":13568,"24":16,"16":134153604138270720,"45":8622141512164517888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-17 13:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146053888001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:49:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-17 13:49:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134153604138270720,"km_value":134153604138270.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512164517888,"description":"Unknown IO ID 45"} 
[2026-09-17 13:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146053888001,"power":12863,"unknown_218":206,"unknown_87":13568,"ignition":16,"odometer":null,"unknown_45":8622141512164517888}} 
[2026-09-17 13:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":187948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:49:00] local.INFO: GPS data processed {"connection_id":187948,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:49:00] local.INFO: Acknowledgment sent {"connection_id":187948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:49:02] local.INFO: TCP Data received {"connection_id":185189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:49:02] local.INFO: Processing buffer {"connection_id":185189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:49:02] local.INFO: IMEI packet received {"connection_id":185189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":185189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:49:03] local.INFO: TCP Data received {"connection_id":185189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:49:03] local.INFO: Processing buffer {"connection_id":185189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:49:03] local.INFO: Packet analysis {"connection_id":185189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:49:03] local.INFO: Extracted packet for processing {"connection_id":185189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:49:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:49:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":185189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:49:03] local.INFO: GPS data processed {"connection_id":185189,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:49:03] local.INFO: Acknowledgment sent {"connection_id":185189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:49:15] local.INFO: TCP Data received {"connection_id":185190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:49:15] local.INFO: Processing buffer {"connection_id":185190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:49:15] local.INFO: IMEI packet received {"connection_id":185190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":185190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:49:20] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:20] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:20] local.INFO: IMEI packet received {"connection_id":186631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":186631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:49:20] local.INFO: TCP Data received {"connection_id":185190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:49:20] local.INFO: Processing buffer {"connection_id":185190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:49:20] local.INFO: IMEI packet received {"connection_id":185190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":185190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:49:21] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:21] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:21] local.INFO: IMEI packet received {"connection_id":186631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":186631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:49:22] local.INFO: TCP Data received {"connection_id":185190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:49:22] local.INFO: Processing buffer {"connection_id":185190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:49:22] local.INFO: Packet analysis {"connection_id":185190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:49:22] local.INFO: Extracted packet for processing {"connection_id":185190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:49:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":185190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:49:22] local.INFO: GPS data processed {"connection_id":185190,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:49:22] local.INFO: Acknowledgment sent {"connection_id":185190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:49:22] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:22] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:22] local.INFO: IMEI packet received {"connection_id":186631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":186631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:49:24] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:24] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:49:24] local.INFO: IMEI packet received {"connection_id":186631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":186631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:49:25] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae729138012d78358005f3fe800008002f28..."} 
[2026-09-17 13:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae729138012d78358005f3fe800008002f28..."} 
[2026-09-17 13:49:25] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae729138012d78358005f3fe800008002f28..."} 
[2026-09-17 13:49:25] local.INFO: Packet analysis {"connection_id":186631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae72"} 
[2026-09-17 13:49:25] local.INFO: Extracted packet for processing {"connection_id":186631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae72"} 
[2026-09-17 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":762852736,"raw_latitude":99876480,"longitude_deg":76.2852736,"latitude_deg":9.987648,"altitude":8,"angle":47,"satellites":40,"speed":4,"hex_longitude":"2d783580","hex_latitude":"05f3fe80","is_valid_coordinates":true} 
[2026-09-17 13:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146078208001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134155575528259584,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8659929527792003072,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789633139000,"timestamp_ms":1789633139000,"timestamp_seconds":1789633139,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae729138"} 
[2026-09-17 13:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 13:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146078208001,"66":13341,"210":206,"87":13568,"24":4,"16":134155575528259584,"45":8659929527792003072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,87,24,16,45]} 
[2026-09-17 13:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146078208001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:49:25] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-17 13:49:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134155575528259584,"km_value":134155575528259.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8659929527792003072,"description":"Unknown IO ID 45"} 
[2026-09-17 13:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146078208001,"power":13341,"unknown_210":206,"unknown_87":13568,"ignition":4,"odometer":null,"unknown_45":8659929527792003072}} 
[2026-09-17 13:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":186631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:49:25] local.INFO: GPS data processed {"connection_id":186631,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:49:25] local.INFO: Acknowledgment sent {"connection_id":186631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:49:34] local.INFO: TCP Data received {"connection_id":185189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:49:34] local.INFO: Processing buffer {"connection_id":185189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:49:34] local.INFO: Packet analysis {"connection_id":185189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:49:34] local.INFO: Extracted packet for processing {"connection_id":185189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:49:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:49:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":185189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:49:34] local.INFO: GPS data processed {"connection_id":185189,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:49:34] local.INFO: Acknowledgment sent {"connection_id":185189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:49:55] local.INFO: TCP Data received {"connection_id":185190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:49:55] local.INFO: Processing buffer {"connection_id":185190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:49:55] local.INFO: Packet analysis {"connection_id":185190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:49:55] local.INFO: Extracted packet for processing {"connection_id":185190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:49:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:49:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":185190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:49:55] local.INFO: GPS data processed {"connection_id":185190,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:49:55] local.INFO: Acknowledgment sent {"connection_id":185190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:49:56] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae72df58012d78374005f40130000a001529..."} 
[2026-09-17 13:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae72df58012d78374005f40130000a001529..."} 
[2026-09-17 13:49:56] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae72df58012d78374005f40130000a001529..."} 
[2026-09-17 13:49:56] local.INFO: Packet analysis {"connection_id":186631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae72"} 
[2026-09-17 13:49:56] local.INFO: Extracted packet for processing {"connection_id":186631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae72"} 
[2026-09-17 13:49:56] local.INFO: GPS Element Parsed {"raw_longitude":762853184,"raw_latitude":99877168,"longitude_deg":76.2853184,"latitude_deg":9.9877168,"altitude":10,"angle":21,"satellites":41,"speed":2,"hex_longitude":"2d783740","hex_latitude":"05f40130","is_valid_coordinates":true} 
[2026-09-17 13:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146083584001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134155618477932544,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8661970221373751296,"note":"Value kept but may cause issues"} 
[2026-09-17 13:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789633159000,"timestamp_ms":1789633159000,"timestamp_seconds":1789633159,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae72df58"} 
[2026-09-17 13:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146083584001,"66":13559,"210":206,"87":13568,"24":2,"16":134155618477932544,"45":8661970221373751296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,87,24,16,45]} 
[2026-09-17 13:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146083584001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:49:56] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-17 13:49:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134155618477932544,"km_value":134155618477932.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8661970221373751296,"description":"Unknown IO ID 45"} 
[2026-09-17 13:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146083584001,"power":13559,"unknown_210":206,"unknown_87":13568,"ignition":2,"odometer":null,"unknown_45":8661970221373751296}} 
[2026-09-17 13:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":186631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:49:56] local.INFO: GPS data processed {"connection_id":186631,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:49:56] local.INFO: Acknowledgment sent {"connection_id":186631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:49:57] local.INFO: TCP Data received {"connection_id":187950,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187950,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:49:57] local.INFO: Processing buffer {"connection_id":187950,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:49:57] local.INFO: IMEI packet received {"connection_id":187950,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":187950,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:50:02] local.INFO: TCP Data received {"connection_id":187950,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187950,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:50:02] local.INFO: Processing buffer {"connection_id":187950,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:50:02] local.INFO: IMEI packet received {"connection_id":187950,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":187950,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:50:03] local.INFO: TCP Data received {"connection_id":187950,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:50:03] local.INFO: Processing buffer {"connection_id":187950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:50:03] local.INFO: Packet analysis {"connection_id":187950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:50:03] local.INFO: Extracted packet for processing {"connection_id":187950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:50:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187950,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187950,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:50:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":187950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:50:03] local.INFO: GPS data processed {"connection_id":187950,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:50:03] local.INFO: Acknowledgment sent {"connection_id":187950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:50:15] local.INFO: TCP Data received {"connection_id":185191,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:50:15] local.INFO: Processing buffer {"connection_id":185191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:50:15] local.INFO: IMEI packet received {"connection_id":185191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":185191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:50:19] local.INFO: TCP Data received {"connection_id":185319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:50:19] local.INFO: Processing buffer {"connection_id":185319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:50:19] local.INFO: IMEI packet received {"connection_id":185319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":185319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:50:20] local.INFO: TCP Data received {"connection_id":185319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:50:20] local.INFO: Processing buffer {"connection_id":185319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:50:20] local.INFO: IMEI packet received {"connection_id":185319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":185319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:50:20] local.INFO: TCP Data received {"connection_id":185191,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:50:20] local.INFO: Processing buffer {"connection_id":185191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:50:20] local.INFO: IMEI packet received {"connection_id":185191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":185191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:50:21] local.INFO: TCP Data received {"connection_id":185191,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:50:21] local.INFO: Processing buffer {"connection_id":185191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:50:21] local.INFO: Packet analysis {"connection_id":185191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:50:21] local.INFO: Extracted packet for processing {"connection_id":185191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:50:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":185191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:50:21] local.INFO: GPS data processed {"connection_id":185191,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:50:21] local.INFO: Acknowledgment sent {"connection_id":185191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:50:25] local.INFO: TCP Data received {"connection_id":185319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:50:25] local.INFO: Processing buffer {"connection_id":185319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:50:25] local.INFO: IMEI packet received {"connection_id":185319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":185319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:50:26] local.INFO: TCP Data received {"connection_id":185319,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae72e340012d78374005f40170000a016329..."} 
[2026-09-17 13:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae72e340012d78374005f40170000a016329..."} 
[2026-09-17 13:50:26] local.INFO: Processing buffer {"connection_id":185319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae72e340012d78374005f40170000a016329..."} 
[2026-09-17 13:50:26] local.INFO: Packet analysis {"connection_id":185319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae72"} 
[2026-09-17 13:50:26] local.INFO: Extracted packet for processing {"connection_id":185319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae72"} 
[2026-09-17 13:50:26] local.INFO: GPS Element Parsed {"raw_longitude":762853184,"raw_latitude":99877232,"longitude_deg":76.2853184,"latitude_deg":9.9877232,"altitude":10,"angle":355,"satellites":41,"speed":3,"hex_longitude":"2d783740","hex_latitude":"05f40170","is_valid_coordinates":true} 
[2026-09-17 13:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146088704001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134155622772899840,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8662462802583171072,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633160000,"timestamp_ms":1789633160000,"timestamp_seconds":1789633160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae72e340"} 
[2026-09-17 13:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 13:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146088704001,"66":13493,"210":206,"87":13568,"24":3,"16":134155622772899840,"45":8662462802583171072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,87,24,16,45]} 
[2026-09-17 13:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146088704001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:50:26] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-17 13:50:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134155622772899840,"km_value":134155622772899.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8662462802583171072,"description":"Unknown IO ID 45"} 
[2026-09-17 13:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146088704001,"power":13493,"unknown_210":206,"unknown_87":13568,"ignition":3,"odometer":null,"unknown_45":8662462802583171072}} 
[2026-09-17 13:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":185319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:50:26] local.INFO: GPS data processed {"connection_id":185319,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:50:26] local.INFO: Acknowledgment sent {"connection_id":185319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:50:34] local.INFO: TCP Data received {"connection_id":187950,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:50:34] local.INFO: Processing buffer {"connection_id":187950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:50:34] local.INFO: Packet analysis {"connection_id":187950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:50:34] local.INFO: Extracted packet for processing {"connection_id":187950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:50:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187950,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187950,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:50:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":187950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:50:34] local.INFO: GPS data processed {"connection_id":187950,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:50:34] local.INFO: Acknowledgment sent {"connection_id":187950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:50:53] local.INFO: TCP Data received {"connection_id":185191,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:50:53] local.INFO: Processing buffer {"connection_id":185191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:50:53] local.INFO: Packet analysis {"connection_id":185191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:50:53] local.INFO: Extracted packet for processing {"connection_id":185191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:50:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":185191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:50:53] local.INFO: GPS data processed {"connection_id":185191,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:50:53] local.INFO: Acknowledgment sent {"connection_id":185191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:50:57] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:50:57] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:50:57] local.INFO: IMEI packet received {"connection_id":186632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":186632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:50:57] local.INFO: TCP Data received {"connection_id":185319,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae72eb10012d78374005f40268000a001229..."} 
[2026-09-17 13:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae72eb10012d78374005f40268000a001229..."} 
[2026-09-17 13:50:57] local.INFO: Processing buffer {"connection_id":185319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae72eb10012d78374005f40268000a001229..."} 
[2026-09-17 13:50:57] local.INFO: Packet analysis {"connection_id":185319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae72"} 
[2026-09-17 13:50:57] local.INFO: Extracted packet for processing {"connection_id":185319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae72"} 
[2026-09-17 13:50:57] local.INFO: GPS Element Parsed {"raw_longitude":762853184,"raw_latitude":99877480,"longitude_deg":76.2853184,"latitude_deg":9.987748,"altitude":10,"angle":18,"satellites":41,"speed":4,"hex_longitude":"2d783740","hex_latitude":"05f40268","is_valid_coordinates":true} 
[2026-09-17 13:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146088960001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134155631362834432,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8662462802583187456,"note":"Value kept but may cause issues"} 
[2026-09-17 13:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789633162000,"timestamp_ms":1789633162000,"timestamp_seconds":1789633162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae72eb10"} 
[2026-09-17 13:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 13:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146088960001,"66":13222,"210":206,"87":13568,"24":4,"16":134155631362834432,"45":8662462802583187456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,87,24,16,45]} 
[2026-09-17 13:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146088960001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:50:57] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-17 13:50:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134155631362834432,"km_value":134155631362834.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8662462802583187456,"description":"Unknown IO ID 45"} 
[2026-09-17 13:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146088960001,"power":13222,"unknown_210":206,"unknown_87":13568,"ignition":4,"odometer":null,"unknown_45":8662462802583187456}} 
[2026-09-17 13:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":185319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:50:58] local.INFO: GPS data processed {"connection_id":185319,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:50:58] local.INFO: Acknowledgment sent {"connection_id":185319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:51:02] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:51:02] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:51:02] local.INFO: IMEI packet received {"connection_id":186632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":186632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:51:03] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:51:03] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae702038012cf40d00070fc3f8003900a017..."} 
[2026-09-17 13:51:03] local.INFO: Packet analysis {"connection_id":186632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:51:03] local.INFO: Extracted packet for processing {"connection_id":186632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae70"} 
[2026-09-17 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":57,"angle":160,"satellites":23,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145965568001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789632979000,"timestamp_ms":1789632979000,"timestamp_seconds":1789632979,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae702038"} 
[2026-09-17 13:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145965568001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145965568001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:51:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145965568001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":186632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855725,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:51:03] local.INFO: GPS data processed {"connection_id":186632,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:51:03] local.INFO: Acknowledgment sent {"connection_id":186632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:51:15] local.INFO: TCP Data received {"connection_id":187951,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:51:15] local.INFO: Processing buffer {"connection_id":187951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:51:15] local.INFO: IMEI packet received {"connection_id":187951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":187951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:51:20] local.INFO: TCP Data received {"connection_id":187951,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:51:20] local.INFO: Processing buffer {"connection_id":187951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:51:20] local.INFO: IMEI packet received {"connection_id":187951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":187951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:51:21] local.INFO: TCP Data received {"connection_id":187951,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:51:21] local.INFO: Processing buffer {"connection_id":187951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:51:21] local.INFO: Packet analysis {"connection_id":187951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:51:21] local.INFO: Extracted packet for processing {"connection_id":187951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:51:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":187951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:51:21] local.INFO: GPS data processed {"connection_id":187951,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:51:21] local.INFO: Acknowledgment sent {"connection_id":187951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:51:25] local.INFO: TCP Data received {"connection_id":185320,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:51:25] local.INFO: Processing buffer {"connection_id":185320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:51:25] local.INFO: IMEI packet received {"connection_id":185320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":185320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:51:28] local.INFO: TCP Data received {"connection_id":187952,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:51:28] local.INFO: Processing buffer {"connection_id":187952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:51:28] local.INFO: IMEI packet received {"connection_id":187952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":187952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:51:30] local.INFO: TCP Data received {"connection_id":187952,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187952,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 13:51:30] local.INFO: Processing buffer {"connection_id":187952,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 13:51:30] local.INFO: IMEI packet received {"connection_id":187952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":187952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:51:31] local.INFO: TCP Data received {"connection_id":187952,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae744e88012d78558005f42730000f001427..."} 
[2026-09-17 13:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae744e88012d78558005f42730000f001427..."} 
[2026-09-17 13:51:31] local.INFO: Processing buffer {"connection_id":187952,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0ae..."} 
[2026-09-17 13:51:31] local.INFO: IMEI packet received {"connection_id":187952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":187952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:51:35] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:51:35] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:51:35] local.INFO: Packet analysis {"connection_id":186632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:51:35] local.INFO: Extracted packet for processing {"connection_id":186632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":186632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:51:35] local.INFO: GPS data processed {"connection_id":186632,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:51:35] local.INFO: Acknowledgment sent {"connection_id":186632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:51:35] local.INFO: TCP Data received {"connection_id":187952,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae747980012d78604005f43db0000f002023..."} 
[2026-09-17 13:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae747980012d78604005f43db0000f002023..."} 
[2026-09-17 13:51:35] local.INFO: Processing buffer {"connection_id":187952,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0ae744e88012d78558005f42730000f001427..."} 
[2026-09-17 13:51:35] local.INFO: Packet analysis {"connection_id":187952,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:51:35] local.INFO: Extracted packet for processing {"connection_id":187952,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":762860928,"raw_latitude":99886896,"longitude_deg":76.2860928,"latitude_deg":9.9886896,"altitude":15,"angle":20,"satellites":39,"speed":21,"hex_longitude":"2d785580","hex_latitude":"05f42730","is_valid_coordinates":true} 
[2026-09-17 13:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146111488001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134156249838125056,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8669851520723845120,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789633253000,"timestamp_ms":1789633253000,"timestamp_seconds":1789633253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae744e88"} 
[2026-09-17 13:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146111488001,"66":13602,"196":206,"87":13568,"24":21,"16":134156249838125056,"45":8669851520723845120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146111488001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134156249838125056,"km_value":134156249838125.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8669851520723845120,"description":"Unknown IO ID 45"} 
[2026-09-17 13:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146111488001,"power":13602,"unknown_196":206,"unknown_87":13568,"ignition":21,"odometer":null,"unknown_45":8669851520723845120}} 
[2026-09-17 13:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":187952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:51:35] local.INFO: GPS data processed {"connection_id":187952,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:51:35] local.INFO: Acknowledgment sent {"connection_id":187952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:51:35] local.INFO: Packet analysis {"connection_id":187952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:51:35] local.INFO: Extracted packet for processing {"connection_id":187952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":762863680,"raw_latitude":99892656,"longitude_deg":76.286368,"latitude_deg":9.9892656,"altitude":15,"angle":32,"satellites":35,"speed":20,"hex_longitude":"2d786040","hex_latitude":"05f43db0","is_valid_coordinates":true} 
[2026-09-17 13:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146112768001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134156563370737664,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8670977420631158784,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789633264000,"timestamp_ms":1789633264000,"timestamp_seconds":1789633264,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae747980"} 
[2026-09-17 13:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-17 13:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146112768001,"66":13341,"208":206,"87":13568,"24":20,"16":134156563370737664,"45":8670977420631158784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,87,24,16,45]} 
[2026-09-17 13:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146112768001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134156563370737664,"km_value":134156563370737.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8670977420631158784,"description":"Unknown IO ID 45"} 
[2026-09-17 13:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146112768001,"power":13341,"unknown_208":206,"unknown_87":13568,"ignition":20,"odometer":null,"unknown_45":8670977420631158784}} 
[2026-09-17 13:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":187952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:51:35] local.INFO: GPS data processed {"connection_id":187952,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:51:35] local.INFO: Acknowledgment sent {"connection_id":187952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:51:40] local.INFO: TCP Data received {"connection_id":187952,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae748538012d78628005f44390000f000823..."} 
[2026-09-17 13:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae748538012d78628005f44390000f000823..."} 
[2026-09-17 13:51:40] local.INFO: Processing buffer {"connection_id":187952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae748538012d78628005f44390000f000823..."} 
[2026-09-17 13:51:40] local.INFO: Packet analysis {"connection_id":187952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:51:40] local.INFO: Extracted packet for processing {"connection_id":187952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:51:40] local.INFO: GPS Element Parsed {"raw_longitude":762864256,"raw_latitude":99894160,"longitude_deg":76.2864256,"latitude_deg":9.989416,"altitude":15,"angle":8,"satellites":35,"speed":21,"hex_longitude":"2d786280","hex_latitude":"05f44390","is_valid_coordinates":true} 
[2026-09-17 13: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-09-17 13:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146115584001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134156640680148992,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674003276632272896,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789633267000,"timestamp_ms":1789633267000,"timestamp_seconds":1789633267,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae748538"} 
[2026-09-17 13:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13: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-09-17 13:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":187952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":187952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":187952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146115584001,"66":13341,"208":206,"87":13568,"24":21,"16":134156640680148992,"45":8674003276632272896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,87,24,16,45]} 
[2026-09-17 13:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146115584001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:51:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 13:51:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134156640680148992,"km_value":134156640680148.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674003276632272896,"description":"Unknown IO ID 45"} 
[2026-09-17 13:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146115584001,"power":13341,"unknown_208":206,"unknown_87":13568,"ignition":21,"odometer":null,"unknown_45":8674003276632272896}} 
[2026-09-17 13:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":187952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:51:40] local.INFO: GPS data processed {"connection_id":187952,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:51:40] local.INFO: Acknowledgment sent {"connection_id":187952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:51:50] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:51:50] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:51:50] local.INFO: IMEI packet received {"connection_id":186633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":186633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:51:52] local.INFO: TCP Data received {"connection_id":187951,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:51:52] local.INFO: Processing buffer {"connection_id":187951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:51:52] local.INFO: Packet analysis {"connection_id":187951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:51:52] local.INFO: Extracted packet for processing {"connection_id":187951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":187951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:51:52] local.INFO: GPS data processed {"connection_id":187951,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:51:52] local.INFO: Acknowledgment sent {"connection_id":187951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:51:57] local.INFO: TCP Data received {"connection_id":185321,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:51:57] local.INFO: Processing buffer {"connection_id":185321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:51:57] local.INFO: IMEI packet received {"connection_id":185321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":185321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:52:03] local.INFO: TCP Data received {"connection_id":185321,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:52:03] local.INFO: Processing buffer {"connection_id":185321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:52:03] local.INFO: IMEI packet received {"connection_id":185321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":185321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:52:04] local.INFO: TCP Data received {"connection_id":185321,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:52:04] local.INFO: Processing buffer {"connection_id":185321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:52:04] local.INFO: Packet analysis {"connection_id":185321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:52:04] local.INFO: Extracted packet for processing {"connection_id":185321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:52:04] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:52:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":185321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:52:04] local.INFO: GPS data processed {"connection_id":185321,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:52:04] local.INFO: Acknowledgment sent {"connection_id":185321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:52:15] local.INFO: TCP Data received {"connection_id":185322,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:52:15] local.INFO: Processing buffer {"connection_id":185322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:52:15] local.INFO: IMEI packet received {"connection_id":185322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":185322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:52:20] local.INFO: TCP Data received {"connection_id":187953,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:52:20] local.INFO: Processing buffer {"connection_id":187953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:52:20] local.INFO: IMEI packet received {"connection_id":187953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":187953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:52:20] local.INFO: TCP Data received {"connection_id":185322,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:52:20] local.INFO: Processing buffer {"connection_id":185322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:52:20] local.INFO: IMEI packet received {"connection_id":185322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":185322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:52:21] local.INFO: TCP Data received {"connection_id":185322,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:52:21] local.INFO: Processing buffer {"connection_id":185322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:52:21] local.INFO: Packet analysis {"connection_id":185322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:52:21] local.INFO: Extracted packet for processing {"connection_id":185322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:52:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":185322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:52:21] local.INFO: GPS data processed {"connection_id":185322,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:52:21] local.INFO: Acknowledgment sent {"connection_id":185322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:52:25] local.INFO: TCP Data received {"connection_id":187953,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:52:25] local.INFO: Processing buffer {"connection_id":187953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:52:25] local.INFO: IMEI packet received {"connection_id":187953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":187953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:52:26] local.INFO: TCP Data received {"connection_id":187953,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae748d08012d78628005f44860000f016423..."} 
[2026-09-17 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae748d08012d78628005f44860000f016423..."} 
[2026-09-17 13:52:26] local.INFO: Processing buffer {"connection_id":187953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae748d08012d78628005f44860000f016423..."} 
[2026-09-17 13:52:26] local.INFO: Packet analysis {"connection_id":187953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:52:26] local.INFO: Extracted packet for processing {"connection_id":187953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":762864256,"raw_latitude":99895392,"longitude_deg":76.2864256,"latitude_deg":9.9895392,"altitude":15,"angle":356,"satellites":35,"speed":23,"hex_longitude":"2d786280","hex_latitude":"05f44860","is_valid_coordinates":true} 
[2026-09-17 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134156700809691136,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674636595330256896,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633269000,"timestamp_ms":1789633269000,"timestamp_seconds":1789633269,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae748d08"} 
[2026-09-17 13:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146116352001,"66":13341,"208":206,"87":13568,"24":23,"16":134156700809691136,"45":8674636595330256896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,87,24,16,45]} 
[2026-09-17 13:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:52:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 13:52:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134156700809691136,"km_value":134156700809691.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674636595330256896,"description":"Unknown IO ID 45"} 
[2026-09-17 13:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146116352001,"power":13341,"unknown_208":206,"unknown_87":13568,"ignition":23,"odometer":null,"unknown_45":8674636595330256896}} 
[2026-09-17 13:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":187953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:52:26] local.INFO: GPS data processed {"connection_id":187953,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:52:26] local.INFO: Acknowledgment sent {"connection_id":187953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:52:27] local.INFO: TCP Data received {"connection_id":187953,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74bbe8012d785c4005f46c38000e015b25..."} 
[2026-09-17 13:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74bbe8012d785c4005f46c38000e015b25..."} 
[2026-09-17 13:52:27] local.INFO: Processing buffer {"connection_id":187953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74bbe8012d785c4005f46c38000e015b25..."} 
[2026-09-17 13:52:27] local.INFO: Packet analysis {"connection_id":187953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:52:27] local.INFO: Extracted packet for processing {"connection_id":187953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:52:27] local.INFO: GPS Element Parsed {"raw_longitude":762862656,"raw_latitude":99904568,"longitude_deg":76.2862656,"latitude_deg":9.9904568,"altitude":14,"angle":347,"satellites":37,"speed":30,"hex_longitude":"2d785c40","hex_latitude":"05f46c38","is_valid_coordinates":true} 
[2026-09-17 13:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146116864001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157151781257216,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674636595330572288,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789633281000,"timestamp_ms":1789633281000,"timestamp_seconds":1789633281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74bbe8"} 
[2026-09-17 13:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146116864001,"66":13428,"208":206,"87":13568,"24":30,"16":134157151781257216,"45":8674636595330572288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,87,24,16,45]} 
[2026-09-17 13:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146116864001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:52:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 13:52:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157151781257216,"km_value":134157151781257.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674636595330572288,"description":"Unknown IO ID 45"} 
[2026-09-17 13:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146116864001,"power":13428,"unknown_208":206,"unknown_87":13568,"ignition":30,"odometer":null,"unknown_45":8674636595330572288}} 
[2026-09-17 13:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":187953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:52:27] local.INFO: GPS data processed {"connection_id":187953,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:52:27] local.INFO: Acknowledgment sent {"connection_id":187953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:52:35] local.INFO: TCP Data received {"connection_id":185321,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:52:35] local.INFO: Processing buffer {"connection_id":185321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:52:35] local.INFO: Packet analysis {"connection_id":185321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:52:35] local.INFO: Extracted packet for processing {"connection_id":185321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:52:35] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:52:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":185321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:52:35] local.INFO: GPS data processed {"connection_id":185321,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:52:35] local.INFO: Acknowledgment sent {"connection_id":185321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:52:54] local.INFO: TCP Data received {"connection_id":185322,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:52:54] local.INFO: Processing buffer {"connection_id":185322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae714918012d34c14006aa4438000c01012b..."} 
[2026-09-17 13:52:54] local.INFO: Packet analysis {"connection_id":185322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:52:54] local.INFO: Extracted packet for processing {"connection_id":185322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae71"} 
[2026-09-17 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458145985024001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789633055000,"timestamp_ms":1789633055000,"timestamp_seconds":1789633055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae714918"} 
[2026-09-17 13:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 13:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:52:54] 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-09-17 13:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458145985024001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458145985024001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:52:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458145985024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":185322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:52:54] local.INFO: GPS data processed {"connection_id":185322,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:52:54] local.INFO: Acknowledgment sent {"connection_id":185322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:52:57] local.INFO: TCP Data received {"connection_id":187954,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:52:57] local.INFO: Processing buffer {"connection_id":187954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:52:57] local.INFO: IMEI packet received {"connection_id":187954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":187954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:52:57] local.INFO: TCP Data received {"connection_id":187953,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae750df0012d78550005f48928000e015826..."} 
[2026-09-17 13:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae750df0012d78550005f48928000e015826..."} 
[2026-09-17 13:52:57] local.INFO: Processing buffer {"connection_id":187953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae750df0012d78550005f48928000e015826..."} 
[2026-09-17 13:52:57] local.INFO: Packet analysis {"connection_id":187953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:52:57] local.INFO: Extracted packet for processing {"connection_id":187953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:52:57] local.INFO: GPS Element Parsed {"raw_longitude":762860800,"raw_latitude":99911976,"longitude_deg":76.28608,"latitude_deg":9.9911976,"altitude":14,"angle":344,"satellites":38,"speed":0,"hex_longitude":"2d785500","hex_latitude":"05f48928","is_valid_coordinates":true} 
[2026-09-17 13:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119936001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157529738379264,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672877376728479744,"note":"Value kept but may cause issues"} 
[2026-09-17 13:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789633302000,"timestamp_ms":1789633302000,"timestamp_seconds":1789633302,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae750df0"} 
[2026-09-17 13:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 13:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119936001,"66":13243,"208":206,"87":13568,"24":0,"16":134157529738379264,"45":8672877376728479744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,87,24,16,45]} 
[2026-09-17 13:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119936001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:52:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 13:52:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157529738379264,"km_value":134157529738379.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672877376728479744,"description":"Unknown IO ID 45"} 
[2026-09-17 13:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119936001,"power":13243,"unknown_208":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672877376728479744}} 
[2026-09-17 13:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":187953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:52:57] local.INFO: GPS data processed {"connection_id":187953,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:52:57] local.INFO: Acknowledgment sent {"connection_id":187953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:53:02] local.INFO: TCP Data received {"connection_id":187954,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:53:02] local.INFO: Processing buffer {"connection_id":187954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:53:02] local.INFO: IMEI packet received {"connection_id":187954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":187954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:53:03] local.INFO: TCP Data received {"connection_id":187954,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:53:03] local.INFO: Processing buffer {"connection_id":187954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:53:03] local.INFO: Packet analysis {"connection_id":187954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:53:03] local.INFO: Extracted packet for processing {"connection_id":187954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:53:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:53:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":187954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855739,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:53:03] local.INFO: GPS data processed {"connection_id":187954,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:53:03] local.INFO: Acknowledgment sent {"connection_id":187954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:53:15] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:53:15] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:53:15] local.INFO: IMEI packet received {"connection_id":186634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":186634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:53:20] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:53:20] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:53:20] local.INFO: IMEI packet received {"connection_id":186635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":186635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:53:20] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:53:20] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:53:20] local.INFO: IMEI packet received {"connection_id":186634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":186634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:53:21] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:53:21] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:53:21] local.INFO: Packet analysis {"connection_id":186634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:53:21] local.INFO: Extracted packet for processing {"connection_id":186634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:53:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":186634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:53:21] local.INFO: GPS data processed {"connection_id":186634,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:53:21] local.INFO: Acknowledgment sent {"connection_id":186634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:53:25] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:53:25] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:53:25] local.INFO: IMEI packet received {"connection_id":186635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":186635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:53:26] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae755ff8012d78550005f48938000f015827..."} 
[2026-09-17 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae755ff8012d78550005f48938000f015827..."} 
[2026-09-17 13:53:26] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae755ff8012d78550005f48938000f015827..."} 
[2026-09-17 13:53:26] local.INFO: Packet analysis {"connection_id":186635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:53:26] local.INFO: Extracted packet for processing {"connection_id":186635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":762860800,"raw_latitude":99911992,"longitude_deg":76.28608,"latitude_deg":9.9911992,"altitude":15,"angle":344,"satellites":39,"speed":0,"hex_longitude":"2d785500","hex_latitude":"05f48938","is_valid_coordinates":true} 
[2026-09-17 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146125312001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157529738379264,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8670836683149223936,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633323000,"timestamp_ms":1789633323000,"timestamp_seconds":1789633323,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae755ff8"} 
[2026-09-17 13:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146125312001,"66":13243,"183":206,"87":13568,"24":0,"16":134157529738379264,"45":8670836683149223936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,87,24,16,45]} 
[2026-09-17 13:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146125312001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:53:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-17 13:53:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157529738379264,"km_value":134157529738379.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8670836683149223936,"description":"Unknown IO ID 45"} 
[2026-09-17 13:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146125312001,"power":13243,"unknown_183":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8670836683149223936}} 
[2026-09-17 13:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":186635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:53:26] local.INFO: GPS data processed {"connection_id":186635,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:53:26] local.INFO: Acknowledgment sent {"connection_id":186635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:53:34] local.INFO: TCP Data received {"connection_id":187954,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:53:34] local.INFO: Processing buffer {"connection_id":187954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:53:34] local.INFO: Packet analysis {"connection_id":187954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:53:34] local.INFO: Extracted packet for processing {"connection_id":187954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:53:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:53:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:53:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":187954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:53:34] local.INFO: GPS data processed {"connection_id":187954,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:53:34] local.INFO: Acknowledgment sent {"connection_id":187954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:53:53] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:53:53] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:53:53] local.INFO: Packet analysis {"connection_id":186634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:53:53] local.INFO: Extracted packet for processing {"connection_id":186634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":186634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:53:53] local.INFO: GPS data processed {"connection_id":186634,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:53:53] local.INFO: Acknowledgment sent {"connection_id":186634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:53:57] local.INFO: TCP Data received {"connection_id":185193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:53:57] local.INFO: Processing buffer {"connection_id":185193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:53:57] local.INFO: IMEI packet received {"connection_id":185193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":185193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:53:57] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75b200012d78550005f48938000f015824..."} 
[2026-09-17 13:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75b200012d78550005f48938000f015824..."} 
[2026-09-17 13:53:57] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75b200012d78550005f48938000f015824..."} 
[2026-09-17 13:53:57] local.INFO: Packet analysis {"connection_id":186635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:53:57] local.INFO: Extracted packet for processing {"connection_id":186635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:53:57] local.INFO: GPS Element Parsed {"raw_longitude":762860800,"raw_latitude":99911992,"longitude_deg":76.28608,"latitude_deg":9.9911992,"altitude":15,"angle":344,"satellites":36,"speed":0,"hex_longitude":"2d785500","hex_latitude":"05f48938","is_valid_coordinates":true} 
[2026-09-17 13:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146130688001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157529738379264,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8670836683149228032,"note":"Value kept but may cause issues"} 
[2026-09-17 13:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789633344000,"timestamp_ms":1789633344000,"timestamp_seconds":1789633344,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75b200"} 
[2026-09-17 13:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 13:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146130688001,"66":13124,"18":206,"87":13568,"24":0,"16":134157529738379264,"45":8670836683149228032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,87,24,16,45]} 
[2026-09-17 13:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146130688001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:53:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 13:53:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157529738379264,"km_value":134157529738379.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8670836683149228032,"description":"Unknown IO ID 45"} 
[2026-09-17 13:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146130688001,"power":13124,"unknown_18":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8670836683149228032}} 
[2026-09-17 13:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":186635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:53:57] local.INFO: GPS data processed {"connection_id":186635,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:53:57] local.INFO: Acknowledgment sent {"connection_id":186635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:54:02] local.INFO: TCP Data received {"connection_id":185193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:54:02] local.INFO: Processing buffer {"connection_id":185193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:54:02] local.INFO: IMEI packet received {"connection_id":185193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":185193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:54:03] local.INFO: TCP Data received {"connection_id":185193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:54:03] local.INFO: Processing buffer {"connection_id":185193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:54:03] local.INFO: Packet analysis {"connection_id":185193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:54:03] local.INFO: Extracted packet for processing {"connection_id":185193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:54:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:54:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":185193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:54:03] local.INFO: GPS data processed {"connection_id":185193,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:54:03] local.INFO: Acknowledgment sent {"connection_id":185193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:54:17] local.INFO: TCP Data received {"connection_id":187955,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:54:17] local.INFO: Processing buffer {"connection_id":187955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:54:17] local.INFO: IMEI packet received {"connection_id":187955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":187955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:54:18] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:54:18] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:54:18] local.INFO: IMEI packet received {"connection_id":186636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":186636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:54:19] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:54:19] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:54:19] local.INFO: IMEI packet received {"connection_id":186636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":186636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:54:20] local.INFO: TCP Data received {"connection_id":187955,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:54:20] local.INFO: Processing buffer {"connection_id":187955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:54:20] local.INFO: IMEI packet received {"connection_id":187955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":187955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:54:21] local.INFO: TCP Data received {"connection_id":187955,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:54:21] local.INFO: Processing buffer {"connection_id":187955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:54:21] local.INFO: Packet analysis {"connection_id":187955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:54:21] local.INFO: Extracted packet for processing {"connection_id":187955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:54:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":187955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:54:21] local.INFO: GPS data processed {"connection_id":187955,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:54:21] local.INFO: Acknowledgment sent {"connection_id":187955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:54:25] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:54:25] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:54:25] local.INFO: IMEI packet received {"connection_id":186636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":186636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:54:26] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae760408012d78550005f48938000f015825..."} 
[2026-09-17 13:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae760408012d78550005f48938000f015825..."} 
[2026-09-17 13:54:26] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae760408012d78550005f48938000f015825..."} 
[2026-09-17 13:54:26] local.INFO: Packet analysis {"connection_id":186636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae76"} 
[2026-09-17 13:54:26] local.INFO: Extracted packet for processing {"connection_id":186636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae76"} 
[2026-09-17 13:54:26] local.INFO: GPS Element Parsed {"raw_longitude":762860800,"raw_latitude":99911992,"longitude_deg":76.28608,"latitude_deg":9.9911992,"altitude":15,"angle":344,"satellites":37,"speed":0,"hex_longitude":"2d785500","hex_latitude":"05f48938","is_valid_coordinates":true} 
[2026-09-17 13:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146136064001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157529738379264,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8670836683149228032,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633365000,"timestamp_ms":1789633365000,"timestamp_seconds":1789633365,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae760408"} 
[2026-09-17 13:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-17 13:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146136064001,"66":13276,"18":206,"87":13568,"24":0,"16":134157529738379264,"45":8670836683149228032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,87,24,16,45]} 
[2026-09-17 13:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146136064001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:54:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 13:54:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157529738379264,"km_value":134157529738379.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8670836683149228032,"description":"Unknown IO ID 45"} 
[2026-09-17 13:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146136064001,"power":13276,"unknown_18":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8670836683149228032}} 
[2026-09-17 13:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":186636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:54:26] local.INFO: GPS data processed {"connection_id":186636,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:54:26] local.INFO: Acknowledgment sent {"connection_id":186636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:54:27] local.INFO: TCP Data received {"connection_id":187955,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:54:27] local.INFO: Processing buffer {"connection_id":187955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:54:27] local.INFO: Packet analysis {"connection_id":187955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:54:27] local.INFO: Extracted packet for processing {"connection_id":187955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:54:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:54:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":187955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:54:27] local.INFO: GPS data processed {"connection_id":187955,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:54:27] local.INFO: Acknowledgment sent {"connection_id":187955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:54:34] local.INFO: TCP Data received {"connection_id":185193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:54:34] local.INFO: Processing buffer {"connection_id":185193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:54:34] local.INFO: Packet analysis {"connection_id":185193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:54:34] local.INFO: Extracted packet for processing {"connection_id":185193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:54:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:54:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:54:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":185193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:54:34] local.INFO: GPS data processed {"connection_id":185193,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:54:34] local.INFO: Acknowledgment sent {"connection_id":185193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:54:57] local.INFO: TCP Data received {"connection_id":185325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:54:57] local.INFO: Processing buffer {"connection_id":185325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:54:57] local.INFO: IMEI packet received {"connection_id":185325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":185325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:54:57] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae762348012d78550005f48aa8000e003b22..."} 
[2026-09-17 13:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae762348012d78550005f48aa8000e003b22..."} 
[2026-09-17 13:54:57] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae762348012d78550005f48aa8000e003b22..."} 
[2026-09-17 13:54:57] local.INFO: Packet analysis {"connection_id":186636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae76"} 
[2026-09-17 13:54:57] local.INFO: Extracted packet for processing {"connection_id":186636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae76"} 
[2026-09-17 13:54:57] local.INFO: GPS Element Parsed {"raw_longitude":762860800,"raw_latitude":99912360,"longitude_deg":76.28608,"latitude_deg":9.991236,"altitude":14,"angle":59,"satellites":34,"speed":2,"hex_longitude":"2d785500","hex_latitude":"05f48aa8","is_valid_coordinates":true} 
[2026-09-17 13:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146141440001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157546918248448,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8670836683149228032,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789633373000,"timestamp_ms":1789633373000,"timestamp_seconds":1789633373,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae762348"} 
[2026-09-17 13:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 13:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146141440001,"66":13243,"18":206,"87":13568,"24":2,"16":134157546918248448,"45":8670836683149228032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,87,24,16,45]} 
[2026-09-17 13:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146141440001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:54:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-17 13:54:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157546918248448,"km_value":134157546918248.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8670836683149228032,"description":"Unknown IO ID 45"} 
[2026-09-17 13:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146141440001,"power":13243,"unknown_18":206,"unknown_87":13568,"ignition":2,"odometer":null,"unknown_45":8670836683149228032}} 
[2026-09-17 13:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":186636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:54:57] local.INFO: GPS data processed {"connection_id":186636,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:54:57] local.INFO: Acknowledgment sent {"connection_id":186636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:54:59] local.INFO: TCP Data received {"connection_id":187955,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:54:59] local.INFO: Processing buffer {"connection_id":187955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:54:59] local.INFO: Packet analysis {"connection_id":187955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:54:59] local.INFO: Extracted packet for processing {"connection_id":187955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:54:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:54:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":187955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:54:59] local.INFO: GPS data processed {"connection_id":187955,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:54:59] local.INFO: Acknowledgment sent {"connection_id":187955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:55:02] local.INFO: TCP Data received {"connection_id":185325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:55:02] local.INFO: Processing buffer {"connection_id":185325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:55:02] local.INFO: IMEI packet received {"connection_id":185325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":185325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:55:03] local.INFO: TCP Data received {"connection_id":185325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:55:03] local.INFO: Processing buffer {"connection_id":185325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:55:03] local.INFO: Packet analysis {"connection_id":185325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:55:03] local.INFO: Extracted packet for processing {"connection_id":185325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:55:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:55:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":185325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:55:03] local.INFO: GPS data processed {"connection_id":185325,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:55:03] local.INFO: Acknowledgment sent {"connection_id":185325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:55:18] local.INFO: TCP Data received {"connection_id":187956,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:55:18] local.INFO: Processing buffer {"connection_id":187956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:55:18] local.INFO: IMEI packet received {"connection_id":187956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":187956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:55:20] local.INFO: TCP Data received {"connection_id":187956,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:55:20] local.INFO: Processing buffer {"connection_id":187956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:55:20] local.INFO: IMEI packet received {"connection_id":187956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":187956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:55:20] local.INFO: TCP Data received {"connection_id":187957,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:55:20] local.INFO: Processing buffer {"connection_id":187957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:55:20] local.INFO: IMEI packet received {"connection_id":187957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":187957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:55:21] local.INFO: TCP Data received {"connection_id":187957,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:55:21] local.INFO: Processing buffer {"connection_id":187957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:55:21] local.INFO: IMEI packet received {"connection_id":187957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":187957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:55:21] local.INFO: TCP Data received {"connection_id":187956,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:55:21] local.INFO: Processing buffer {"connection_id":187956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:55:21] local.INFO: Packet analysis {"connection_id":187956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:55:21] local.INFO: Extracted packet for processing {"connection_id":187956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:55:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":187956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:55:21] local.INFO: GPS data processed {"connection_id":187956,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:55:21] local.INFO: Acknowledgment sent {"connection_id":187956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:55:26] local.INFO: TCP Data received {"connection_id":187956,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:55:26] local.INFO: Processing buffer {"connection_id":187956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:55:26] local.INFO: Packet analysis {"connection_id":187956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:55:26] local.INFO: Extracted packet for processing {"connection_id":187956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:55:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:55:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":187956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:55:26] local.INFO: GPS data processed {"connection_id":187956,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:55:26] local.INFO: Acknowledgment sent {"connection_id":187956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:55:27] local.INFO: TCP Data received {"connection_id":187957,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:55:27] local.INFO: Processing buffer {"connection_id":187957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:55:27] local.INFO: IMEI packet received {"connection_id":187957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":187957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:55:28] local.INFO: TCP Data received {"connection_id":187957,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae780f78012d785e4005f48c98000e002726..."} 
[2026-09-17 13:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae780f78012d785e4005f48c98000e002726..."} 
[2026-09-17 13:55:28] local.INFO: Processing buffer {"connection_id":187957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae780f78012d785e4005f48c98000e002726..."} 
[2026-09-17 13:55:28] local.INFO: Packet analysis {"connection_id":187957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:55:28] local.INFO: Extracted packet for processing {"connection_id":187957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:55:28] local.INFO: GPS Element Parsed {"raw_longitude":762863168,"raw_latitude":99912856,"longitude_deg":76.2863168,"latitude_deg":9.9912856,"altitude":14,"angle":39,"satellites":38,"speed":0,"hex_longitude":"2d785e40","hex_latitude":"05f48c98","is_valid_coordinates":true} 
[2026-09-17 13:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146170368001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157675767267328,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8673440326684022784,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789633499000,"timestamp_ms":1789633499000,"timestamp_seconds":1789633499,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae780f78"} 
[2026-09-17 13:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 13:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146170368001,"66":13276,"116":206,"87":13568,"24":0,"16":134157675767267328,"45":8673440326684022784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 13:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146170368001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:55:28] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 13:55:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157675767267328,"km_value":134157675767267.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8673440326684022784,"description":"Unknown IO ID 45"} 
[2026-09-17 13:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146170368001,"power":13276,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8673440326684022784}} 
[2026-09-17 13:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":187957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:55:29] local.INFO: GPS data processed {"connection_id":187957,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:55:29] local.INFO: Acknowledgment sent {"connection_id":187957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:55:34] local.INFO: TCP Data received {"connection_id":185325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:55:34] local.INFO: Processing buffer {"connection_id":185325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:55:34] local.INFO: Packet analysis {"connection_id":185325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:55:34] local.INFO: Extracted packet for processing {"connection_id":185325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:55:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":185325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:55:34] local.INFO: GPS data processed {"connection_id":185325,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:55:34] local.INFO: Acknowledgment sent {"connection_id":185325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:55:57] local.INFO: TCP Data received {"connection_id":187959,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:55:57] local.INFO: Processing buffer {"connection_id":187959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:55:57] local.INFO: IMEI packet received {"connection_id":187959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":187959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:55:57] local.INFO: TCP Data received {"connection_id":187956,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:55:57] local.INFO: Processing buffer {"connection_id":187956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:55:57] local.INFO: Packet analysis {"connection_id":187956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:55:57] local.INFO: Extracted packet for processing {"connection_id":187956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:55:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:55:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:55:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":187956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:55:57] local.INFO: GPS data processed {"connection_id":187956,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:55:57] local.INFO: Acknowledgment sent {"connection_id":187956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:56:00] local.INFO: TCP Data received {"connection_id":187957,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae781360012d785e8005f48e28000e015826..."} 
[2026-09-17 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae781360012d785e8005f48e28000e015826..."} 
[2026-09-17 13:56:00] local.INFO: Processing buffer {"connection_id":187957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae781360012d785e8005f48e28000e015826..."} 
[2026-09-17 13:56:00] local.INFO: Packet analysis {"connection_id":187957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:56:00] local.INFO: Extracted packet for processing {"connection_id":187957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:56:00] local.INFO: GPS Element Parsed {"raw_longitude":762863232,"raw_latitude":99913256,"longitude_deg":76.2863232,"latitude_deg":9.9913256,"altitude":14,"angle":344,"satellites":38,"speed":1,"hex_longitude":"2d785e80","hex_latitude":"05f48e28","is_valid_coordinates":true} 
[2026-09-17 13:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146175744001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157692947136512,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8673440326684022784,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789633500000,"timestamp_ms":1789633500000,"timestamp_seconds":1789633500,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae781360"} 
[2026-09-17 13:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 13:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146175744001,"66":13222,"116":206,"87":13568,"24":1,"16":134157692947136512,"45":8673440326684022784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 13:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146175744001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:56:00] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 13:56:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157692947136512,"km_value":134157692947136.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8673440326684022784,"description":"Unknown IO ID 45"} 
[2026-09-17 13:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146175744001,"power":13222,"unknown_116":206,"unknown_87":13568,"ignition":1,"odometer":null,"unknown_45":8673440326684022784}} 
[2026-09-17 13:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":187957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:56:00] local.INFO: GPS data processed {"connection_id":187957,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:56:00] local.INFO: Acknowledgment sent {"connection_id":187957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:56:02] local.INFO: TCP Data received {"connection_id":187959,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:56:02] local.INFO: Processing buffer {"connection_id":187959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:56:02] local.INFO: IMEI packet received {"connection_id":187959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":187959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:56:03] local.INFO: TCP Data received {"connection_id":187959,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:56:03] local.INFO: Processing buffer {"connection_id":187959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae74b800012cf40d00070fc3f8003800a01b..."} 
[2026-09-17 13:56:03] local.INFO: Packet analysis {"connection_id":187959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:56:03] local.INFO: Extracted packet for processing {"connection_id":187959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae74"} 
[2026-09-17 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":56,"angle":160,"satellites":27,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146042624001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633280000,"timestamp_ms":1789633280000,"timestamp_seconds":1789633280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae74b800"} 
[2026-09-17 13:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146042624001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146042624001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:56:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:56:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146042624001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":187959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:56:03] local.INFO: GPS data processed {"connection_id":187959,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:56:03] local.INFO: Acknowledgment sent {"connection_id":187959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:56:15] local.INFO: TCP Data received {"connection_id":185326,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:56:15] local.INFO: Processing buffer {"connection_id":185326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:56:15] local.INFO: IMEI packet received {"connection_id":185326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":185326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:56:19] local.INFO: TCP Data received {"connection_id":185194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:56:19] local.INFO: Processing buffer {"connection_id":185194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:56:19] local.INFO: IMEI packet received {"connection_id":185194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":185194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:56:20] local.INFO: TCP Data received {"connection_id":185326,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:56:20] local.INFO: Processing buffer {"connection_id":185326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:56:20] local.INFO: IMEI packet received {"connection_id":185326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":185326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:56:21] local.INFO: TCP Data received {"connection_id":185326,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:56:21] local.INFO: Processing buffer {"connection_id":185326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:56:21] local.INFO: Packet analysis {"connection_id":185326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:56:21] local.INFO: Extracted packet for processing {"connection_id":185326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:56:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":185326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:56:21] local.INFO: GPS data processed {"connection_id":185326,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:56:21] local.INFO: Acknowledgment sent {"connection_id":185326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:56:22] local.INFO: TCP Data received {"connection_id":185194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:56:23] local.INFO: Processing buffer {"connection_id":185194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:56:23] local.INFO: IMEI packet received {"connection_id":185194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":185194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:56:24] local.INFO: TCP Data received {"connection_id":185194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:56:24] local.INFO: Processing buffer {"connection_id":185194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:56:24] local.INFO: IMEI packet received {"connection_id":185194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":185194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:56:25] local.INFO: TCP Data received {"connection_id":185194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae782eb8012d785d8005f49240000f016428..."} 
[2026-09-17 13:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae782eb8012d785d8005f49240000f016428..."} 
[2026-09-17 13:56:25] local.INFO: Processing buffer {"connection_id":185194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae782eb8012d785d8005f49240000f016428..."} 
[2026-09-17 13:56:25] local.INFO: Packet analysis {"connection_id":185194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:56:25] local.INFO: Extracted packet for processing {"connection_id":185194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":762862976,"raw_latitude":99914304,"longitude_deg":76.2862976,"latitude_deg":9.9914304,"altitude":15,"angle":356,"satellites":40,"speed":9,"hex_longitude":"2d785d80","hex_latitude":"05f49240","is_valid_coordinates":true} 
[2026-09-17 13:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146176000001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157748781711360,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8673510695428302848,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789633507000,"timestamp_ms":1789633507000,"timestamp_seconds":1789633507,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae782eb8"} 
[2026-09-17 13:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 13:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146176000001,"66":13428,"116":206,"87":13568,"24":9,"16":134157748781711360,"45":8673510695428302848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 13:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146176000001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:56:25] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 13:56:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157748781711360,"km_value":134157748781711.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8673510695428302848,"description":"Unknown IO ID 45"} 
[2026-09-17 13:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146176000001,"power":13428,"unknown_116":206,"unknown_87":13568,"ignition":9,"odometer":null,"unknown_45":8673510695428302848}} 
[2026-09-17 13:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":185194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:56:26] local.INFO: GPS data processed {"connection_id":185194,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:56:26] local.INFO: Acknowledgment sent {"connection_id":185194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:56:30] local.INFO: TCP Data received {"connection_id":185194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7859b0012d785b4005f49d100010015624..."} 
[2026-09-17 13:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7859b0012d785b4005f49d100010015624..."} 
[2026-09-17 13:56:31] local.INFO: Processing buffer {"connection_id":185194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7859b0012d785b4005f49d100010015624..."} 
[2026-09-17 13:56:31] local.INFO: Packet analysis {"connection_id":185194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:56:31] local.INFO: Extracted packet for processing {"connection_id":185194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:56:31] local.INFO: GPS Element Parsed {"raw_longitude":762862400,"raw_latitude":99917072,"longitude_deg":76.28624,"latitude_deg":9.9917072,"altitude":16,"angle":342,"satellites":36,"speed":1,"hex_longitude":"2d785b40","hex_latitude":"05f49d10","is_valid_coordinates":true} 
[2026-09-17 13:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146177792001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157886220664832,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8673229220451860480,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789633518000,"timestamp_ms":1789633518000,"timestamp_seconds":1789633518,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7859b0"} 
[2026-09-17 13:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 13:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146177792001,"66":13178,"116":206,"87":13568,"24":1,"16":134157886220664832,"45":8673229220451860480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 13:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146177792001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:56:31] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 13:56:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157886220664832,"km_value":134157886220664.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8673229220451860480,"description":"Unknown IO ID 45"} 
[2026-09-17 13:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146177792001,"power":13178,"unknown_116":206,"unknown_87":13568,"ignition":1,"odometer":null,"unknown_45":8673229220451860480}} 
[2026-09-17 13:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":185194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:56:31] local.INFO: GPS data processed {"connection_id":185194,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:56:31] local.INFO: Acknowledgment sent {"connection_id":185194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:56:34] local.INFO: TCP Data received {"connection_id":187959,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:56:34] local.INFO: Processing buffer {"connection_id":187959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:56:34] local.INFO: Packet analysis {"connection_id":187959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:56:34] local.INFO: Extracted packet for processing {"connection_id":187959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:56:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 13:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:56:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:56:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":187959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:56:34] local.INFO: GPS data processed {"connection_id":187959,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:56:34] local.INFO: Acknowledgment sent {"connection_id":187959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:56:54] local.INFO: TCP Data received {"connection_id":185326,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:56:54] local.INFO: Processing buffer {"connection_id":185326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:56:54] local.INFO: Packet analysis {"connection_id":185326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:56:54] local.INFO: Extracted packet for processing {"connection_id":185326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:56:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:56:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":185326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:56:54] local.INFO: GPS data processed {"connection_id":185326,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:56:54] local.INFO: Acknowledgment sent {"connection_id":185326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:56:57] local.INFO: TCP Data received {"connection_id":185195,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185195,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:56:57] local.INFO: Processing buffer {"connection_id":185195,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:56:57] local.INFO: IMEI packet received {"connection_id":185195,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":185195,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:57:02] local.INFO: TCP Data received {"connection_id":185195,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185195,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:57:02] local.INFO: Processing buffer {"connection_id":185195,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:57:02] local.INFO: IMEI packet received {"connection_id":185195,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":185195,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:57:02] local.INFO: TCP Data received {"connection_id":185194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae78abb8012d785b0005f49d500010015622..."} 
[2026-09-17 13:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae78abb8012d785b0005f49d500010015622..."} 
[2026-09-17 13:57:02] local.INFO: Processing buffer {"connection_id":185194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae78abb8012d785b0005f49d500010015622..."} 
[2026-09-17 13:57:02] local.INFO: Packet analysis {"connection_id":185194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:57:02] local.INFO: Extracted packet for processing {"connection_id":185194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:57:02] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 13:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146180608001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672595901754970112,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789633539000,"timestamp_ms":1789633539000,"timestamp_seconds":1789633539,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae78abb8"} 
[2026-09-17 13:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 13:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146180608001,"66":13341,"183":206,"87":13568,"24":0,"16":134157890515632128,"45":8672595901754970112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,87,24,16,45]} 
[2026-09-17 13:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146180608001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:57:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-17 13:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672595901754970112,"description":"Unknown IO ID 45"} 
[2026-09-17 13:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146180608001,"power":13341,"unknown_183":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672595901754970112}} 
[2026-09-17 13:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":185194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:57:02] local.INFO: GPS data processed {"connection_id":185194,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:57:02] local.INFO: Acknowledgment sent {"connection_id":185194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:57:03] local.INFO: TCP Data received {"connection_id":185195,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:57:03] local.INFO: Processing buffer {"connection_id":185195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:57:03] local.INFO: Packet analysis {"connection_id":185195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:57:03] local.INFO: Extracted packet for processing {"connection_id":185195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:57:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 13:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:57:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":185195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855766,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:57:03] local.INFO: GPS data processed {"connection_id":185195,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:57:03] local.INFO: Acknowledgment sent {"connection_id":185195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:57:15] local.INFO: TCP Data received {"connection_id":185327,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:57:15] local.INFO: Processing buffer {"connection_id":185327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:57:15] local.INFO: IMEI packet received {"connection_id":185327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":185327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:57:15] local.INFO: TCP Data received {"connection_id":187960,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:57:15] local.INFO: Processing buffer {"connection_id":187960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:57:15] local.INFO: IMEI packet received {"connection_id":187960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":187960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:57:20] local.INFO: TCP Data received {"connection_id":185196,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:57:20] local.INFO: Processing buffer {"connection_id":185196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:57:20] local.INFO: IMEI packet received {"connection_id":185196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":185196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:57:20] local.INFO: TCP Data received {"connection_id":185327,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:57:20] local.INFO: Processing buffer {"connection_id":185327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:57:20] local.INFO: IMEI packet received {"connection_id":185327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":185327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:57:22] local.INFO: TCP Data received {"connection_id":185327,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:57:22] local.INFO: Processing buffer {"connection_id":185327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:57:22] local.INFO: Packet analysis {"connection_id":185327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:57:22] local.INFO: Extracted packet for processing {"connection_id":185327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:57:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:57:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:57:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":185327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:57:22] local.INFO: GPS data processed {"connection_id":185327,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:57:22] local.INFO: Acknowledgment sent {"connection_id":185327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:57:25] local.INFO: TCP Data received {"connection_id":185196,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:57:25] local.INFO: Processing buffer {"connection_id":185196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:57:25] local.INFO: IMEI packet received {"connection_id":185196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":185196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:57:26] local.INFO: TCP Data received {"connection_id":185196,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae78fdc0012d785b0005f49d500010015620..."} 
[2026-09-17 13:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae78fdc0012d785b0005f49d500010015620..."} 
[2026-09-17 13:57:26] local.INFO: Processing buffer {"connection_id":185196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae78fdc0012d785b0005f49d500010015620..."} 
[2026-09-17 13:57:26] local.INFO: Packet analysis {"connection_id":185196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:57:26] local.INFO: Extracted packet for processing {"connection_id":185196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae78"} 
[2026-09-17 13:57:26] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 13:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146185984001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633560000,"timestamp_ms":1789633560000,"timestamp_seconds":1789633560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae78fdc0"} 
[2026-09-17 13:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 13:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146185984001,"66":13091,"183":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,87,24,16,45]} 
[2026-09-17 13:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146185984001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:57:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-17 13:57:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 13:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146185984001,"power":13091,"unknown_183":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 13:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":185196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:57:26] local.INFO: GPS data processed {"connection_id":185196,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:57:26] local.INFO: Acknowledgment sent {"connection_id":185196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:57:34] local.INFO: TCP Data received {"connection_id":185195,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:57:34] local.INFO: Processing buffer {"connection_id":185195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:57:34] local.INFO: Packet analysis {"connection_id":185195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:57:34] local.INFO: Extracted packet for processing {"connection_id":185195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:57:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 13:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:57:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:57:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":185195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855769,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:57:34] local.INFO: GPS data processed {"connection_id":185195,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:57:34] local.INFO: Acknowledgment sent {"connection_id":185195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:57:54] local.INFO: TCP Data received {"connection_id":185327,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:57:54] local.INFO: Processing buffer {"connection_id":185327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae75e0e0012d34c14006aa4438000c010129..."} 
[2026-09-17 13:57:54] local.INFO: Packet analysis {"connection_id":185327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:57:54] local.INFO: Extracted packet for processing {"connection_id":185327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae75"} 
[2026-09-17 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146062080001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789633356000,"timestamp_ms":1789633356000,"timestamp_seconds":1789633356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae75e0e0"} 
[2026-09-17 13:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 13:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146062080001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146062080001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:57:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146062080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":185327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:57:54] local.INFO: GPS data processed {"connection_id":185327,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:57:54] local.INFO: Acknowledgment sent {"connection_id":185327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:57:55] local.INFO: TCP Data received {"connection_id":187961,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:57:55] local.INFO: Processing buffer {"connection_id":187961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 13:57:55] local.INFO: IMEI packet received {"connection_id":187961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 13:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":187961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:57:57] local.INFO: TCP Data received {"connection_id":187962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:57:57] local.INFO: Processing buffer {"connection_id":187962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:57:57] local.INFO: IMEI packet received {"connection_id":187962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":187962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:57:57] local.INFO: TCP Data received {"connection_id":185196,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012d785b0005f49d500010015625..."} 
[2026-09-17 13:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012d785b0005f49d500010015625..."} 
[2026-09-17 13:57:57] local.INFO: Processing buffer {"connection_id":185196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012d785b0005f49d500010015625..."} 
[2026-09-17 13:57:57] local.INFO: Packet analysis {"connection_id":185196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:57:57] local.INFO: Extracted packet for processing {"connection_id":185196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:57:57] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 13:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146191360001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 13:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 13:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 13:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146191360001,"66":13526,"183":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,87,24,16,45]} 
[2026-09-17 13:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146191360001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:57:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-17 13:57:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 13:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146191360001,"power":13526,"unknown_183":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 13:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":185196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:57:57] local.INFO: GPS data processed {"connection_id":185196,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:57:57] local.INFO: Acknowledgment sent {"connection_id":185196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:58:02] local.INFO: TCP Data received {"connection_id":187962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:58:02] local.INFO: Processing buffer {"connection_id":187962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:58:02] local.INFO: IMEI packet received {"connection_id":187962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":187962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:58:03] local.INFO: TCP Data received {"connection_id":187962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:58:03] local.INFO: Processing buffer {"connection_id":187962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:58:03] local.INFO: Packet analysis {"connection_id":187962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:58:03] local.INFO: Extracted packet for processing {"connection_id":187962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 13:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:58:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:58:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":187962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855772,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:58:03] local.INFO: GPS data processed {"connection_id":187962,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:58:03] local.INFO: Acknowledgment sent {"connection_id":187962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:58:15] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:58:15] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:58:15] local.INFO: IMEI packet received {"connection_id":187963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":187963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:58:15] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:58:15] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:58:15] local.INFO: IMEI packet received {"connection_id":187963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":187963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:58:20] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:58:20] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:58:20] local.INFO: IMEI packet received {"connection_id":187963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":187963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:58:21] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:58:21] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:58:21] local.INFO: Packet analysis {"connection_id":187963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:58:21] local.INFO: Extracted packet for processing {"connection_id":187963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 13:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:58:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":187963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:58:21] local.INFO: GPS data processed {"connection_id":187963,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:58:21] local.INFO: Acknowledgment sent {"connection_id":187963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:58:24] local.INFO: TCP Data received {"connection_id":187964,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:58:24] local.INFO: Processing buffer {"connection_id":187964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:58:24] local.INFO: IMEI packet received {"connection_id":187964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":187964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:58:29] local.INFO: TCP Data received {"connection_id":187964,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:58:29] local.INFO: Processing buffer {"connection_id":187964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:58:29] local.INFO: IMEI packet received {"connection_id":187964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":187964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:58:30] local.INFO: TCP Data received {"connection_id":187964,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae79a1d0012d785b0005f49d500010015624..."} 
[2026-09-17 13:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae79a1d0012d785b0005f49d500010015624..."} 
[2026-09-17 13:58:30] local.INFO: Processing buffer {"connection_id":187964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae79a1d0012d785b0005f49d500010015624..."} 
[2026-09-17 13:58:30] local.INFO: Packet analysis {"connection_id":187964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:58:30] local.INFO: Extracted packet for processing {"connection_id":187964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:58:30] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 13:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146196736001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789633602000,"timestamp_ms":1789633602000,"timestamp_seconds":1789633602,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae79a1d0"} 
[2026-09-17 13:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 13:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146196736001,"66":13559,"116":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 13:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146196736001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:58:30] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 13:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 13:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146196736001,"power":13559,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 13:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":187964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:58:30] local.INFO: GPS data processed {"connection_id":187964,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:58:30] local.INFO: Acknowledgment sent {"connection_id":187964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:58:31] local.INFO: TCP Data received {"connection_id":187964,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae79f3d8012d785b0005f49d500010015624..."} 
[2026-09-17 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae79f3d8012d785b0005f49d500010015624..."} 
[2026-09-17 13:58:31] local.INFO: Processing buffer {"connection_id":187964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae79f3d8012d785b0005f49d500010015624..."} 
[2026-09-17 13:58:31] local.INFO: Packet analysis {"connection_id":187964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:58:31] local.INFO: Extracted packet for processing {"connection_id":187964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146202112001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789633623000,"timestamp_ms":1789633623000,"timestamp_seconds":1789633623,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae79f3d8"} 
[2026-09-17 13:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 13:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146202112001,"66":13406,"116":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 13:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146202112001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:58:31] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 13:58:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 13:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146202112001,"power":13406,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 13:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":187964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:58:31] local.INFO: GPS data processed {"connection_id":187964,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:58:31] local.INFO: Acknowledgment sent {"connection_id":187964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:58:34] local.INFO: TCP Data received {"connection_id":187962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:58:34] local.INFO: Processing buffer {"connection_id":187962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:58:34] local.INFO: Packet analysis {"connection_id":187962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:58:34] local.INFO: Extracted packet for processing {"connection_id":187962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:58:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 13:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:58:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:58:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":187962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:58:34] local.INFO: GPS data processed {"connection_id":187962,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:58:34] local.INFO: Acknowledgment sent {"connection_id":187962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:58:53] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:58:53] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:58:53] local.INFO: Packet analysis {"connection_id":187963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:58:53] local.INFO: Extracted packet for processing {"connection_id":187963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 13:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":187963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:58:53] local.INFO: GPS data processed {"connection_id":187963,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:58:53] local.INFO: Acknowledgment sent {"connection_id":187963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:58:57] local.INFO: TCP Data received {"connection_id":185328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:58:57] local.INFO: Processing buffer {"connection_id":185328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:58:57] local.INFO: IMEI packet received {"connection_id":185328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":185328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:59:02] local.INFO: TCP Data received {"connection_id":185328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:59:02] local.INFO: Processing buffer {"connection_id":185328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:59:02] local.INFO: IMEI packet received {"connection_id":185328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 13:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":185328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:59:03] local.INFO: TCP Data received {"connection_id":187964,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a45e0012d785b0005f49d500010015623..."} 
[2026-09-17 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a45e0012d785b0005f49d500010015623..."} 
[2026-09-17 13:59:03] local.INFO: Processing buffer {"connection_id":187964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a45e0012d785b0005f49d500010015623..."} 
[2026-09-17 13:59:03] local.INFO: Packet analysis {"connection_id":187964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:03] local.INFO: Extracted packet for processing {"connection_id":187964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 13:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146207488001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633644000,"timestamp_ms":1789633644000,"timestamp_seconds":1789633644,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a45e0"} 
[2026-09-17 13:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 13:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146207488001,"66":13646,"116":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 13:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146207488001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:59:03] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 13:59:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 13:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146207488001,"power":13646,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 13:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":187964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:59:03] local.INFO: GPS data processed {"connection_id":187964,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:59:03] local.INFO: Acknowledgment sent {"connection_id":187964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:59:03] local.INFO: TCP Data received {"connection_id":185328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:59:03] local.INFO: Processing buffer {"connection_id":185328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:59:03] local.INFO: Packet analysis {"connection_id":185328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:59:03] local.INFO: Extracted packet for processing {"connection_id":185328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 13:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:59:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:59:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":185328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:59:03] local.INFO: GPS data processed {"connection_id":185328,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:59:03] local.INFO: Acknowledgment sent {"connection_id":185328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:59:15] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:59:15] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:59:15] local.INFO: IMEI packet received {"connection_id":186637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 13:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":186637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:59:20] local.INFO: TCP Data received {"connection_id":185197,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:59:20] local.INFO: Processing buffer {"connection_id":185197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:59:20] local.INFO: IMEI packet received {"connection_id":185197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 13:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":185197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 13:59:20] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:59:20] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 13:59:20] local.INFO: IMEI packet received {"connection_id":186637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 13:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":186637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:59:23] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:59:23] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:59:23] local.INFO: Packet analysis {"connection_id":186637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:23] local.INFO: Extracted packet for processing {"connection_id":186637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 13:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:59:23] 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-09-17 13:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:59:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:59:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":186637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:59:23] local.INFO: GPS data processed {"connection_id":186637,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:59:23] local.INFO: Acknowledgment sent {"connection_id":186637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:59:25] local.INFO: TCP Data received {"connection_id":185197,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:59:25] local.INFO: Processing buffer {"connection_id":185197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 13:59:25] local.INFO: IMEI packet received {"connection_id":185197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 13:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":185197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 13:59:26] local.INFO: TCP Data received {"connection_id":185197,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a97e8012d785b0005f49d500010015623..."} 
[2026-09-17 13:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a97e8012d785b0005f49d500010015623..."} 
[2026-09-17 13:59:26] local.INFO: Processing buffer {"connection_id":185197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a97e8012d785b0005f49d500010015623..."} 
[2026-09-17 13:59:26] local.INFO: Packet analysis {"connection_id":185197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:26] local.INFO: Extracted packet for processing {"connection_id":185197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:26] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 13:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146212864001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633665000,"timestamp_ms":1789633665000,"timestamp_seconds":1789633665,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a97e8"} 
[2026-09-17 13:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-17 13:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146212864001,"66":13515,"116":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 13:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146212864001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:59:26] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 13:59:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 13:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146212864001,"power":13515,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 13:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":185197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:59:26] local.INFO: GPS data processed {"connection_id":185197,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:59:26] local.INFO: Acknowledgment sent {"connection_id":185197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:59:38] local.INFO: TCP Data received {"connection_id":185328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:59:38] local.INFO: Processing buffer {"connection_id":185328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 13:59:38] local.INFO: Packet analysis {"connection_id":185328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:59:38] local.INFO: Extracted packet for processing {"connection_id":185328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 13:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 13:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 13:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 13:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 13:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 13:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 13:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 13:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 13:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:59:38] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 13:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 13:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:59:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 13:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 13:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":185328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855782,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:59:38] local.INFO: GPS data processed {"connection_id":185328,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:59:38] local.INFO: Acknowledgment sent {"connection_id":185328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:59:54] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:59:54] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 13:59:54] local.INFO: Packet analysis {"connection_id":186637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:54] local.INFO: Extracted packet for processing {"connection_id":186637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 13:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 13:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 13:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 13:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 13:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 13:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 13:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 13:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 13:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 13:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:59:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 13:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 13:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 13:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 13:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":186637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:59:54] local.INFO: GPS data processed {"connection_id":186637,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:59:54] local.INFO: Acknowledgment sent {"connection_id":186637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:59:56] local.INFO: TCP Data received {"connection_id":185197,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7ae9f0012d785b0005f49d500010015624..."} 
[2026-09-17 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7ae9f0012d785b0005f49d500010015624..."} 
[2026-09-17 13:59:56] local.INFO: Processing buffer {"connection_id":185197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7ae9f0012d785b0005f49d500010015624..."} 
[2026-09-17 13:59:56] local.INFO: Packet analysis {"connection_id":185197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:56] local.INFO: Extracted packet for processing {"connection_id":185197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 13:59:56] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 13:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 13:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146218240001,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 13:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 13:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789633686000,"timestamp_ms":1789633686000,"timestamp_seconds":1789633686,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7ae9f0"} 
[2026-09-17 13:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 13:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 13:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 13:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 13:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 13:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 13:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 13:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 13:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 13:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 13:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 13:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 13:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146218240001,"66":13559,"116":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 13:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 13:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 13:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146218240001,"description":"Unknown IO ID 0"} 
[2026-09-17 13:59:56] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 13:59:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 13:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 13:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 13:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146218240001,"power":13559,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 13:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":185197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 13:59:57] local.INFO: GPS data processed {"connection_id":185197,"processed":1,"errors":0,"total":1} 
[2026-09-17 13:59:57] local.INFO: Acknowledgment sent {"connection_id":185197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 13:59:57] local.INFO: TCP Data received {"connection_id":187966,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187966,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:59:57] local.INFO: Processing buffer {"connection_id":187966,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 13:59:57] local.INFO: IMEI packet received {"connection_id":187966,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 13:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":187966,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:00:02] local.INFO: TCP Data received {"connection_id":187966,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187966,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:00:02] local.INFO: Processing buffer {"connection_id":187966,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:00:02] local.INFO: IMEI packet received {"connection_id":187966,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":187966,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:00:03] local.INFO: TCP Data received {"connection_id":187966,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 14:00:03] local.INFO: Processing buffer {"connection_id":187966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 14:00:03] local.INFO: Packet analysis {"connection_id":187966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 14:00:03] local.INFO: Extracted packet for processing {"connection_id":187966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 14:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 14:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:00:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:00:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":187966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855785,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:00:03] local.INFO: GPS data processed {"connection_id":187966,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:00:03] local.INFO: Acknowledgment sent {"connection_id":187966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:00:15] local.INFO: TCP Data received {"connection_id":187967,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:00:15] local.INFO: Processing buffer {"connection_id":187967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:00:15] local.INFO: IMEI packet received {"connection_id":187967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":187967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:00:20] local.INFO: TCP Data received {"connection_id":185198,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:00:20] local.INFO: Processing buffer {"connection_id":185198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:00:20] local.INFO: IMEI packet received {"connection_id":185198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":185198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:00:20] local.INFO: TCP Data received {"connection_id":187967,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:00:20] local.INFO: Processing buffer {"connection_id":187967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:00:20] local.INFO: IMEI packet received {"connection_id":187967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":187967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:00:21] local.INFO: TCP Data received {"connection_id":187967,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:00:21] local.INFO: Processing buffer {"connection_id":187967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:00:21] local.INFO: Packet analysis {"connection_id":187967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:00:21] local.INFO: Extracted packet for processing {"connection_id":187967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 14:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:00:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":187967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:00:22] local.INFO: GPS data processed {"connection_id":187967,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:00:22] local.INFO: Acknowledgment sent {"connection_id":187967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:00:25] local.INFO: TCP Data received {"connection_id":185198,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:00:25] local.INFO: Processing buffer {"connection_id":185198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:00:25] local.INFO: IMEI packet received {"connection_id":185198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":185198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:00:26] local.INFO: TCP Data received {"connection_id":185198,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7b3bf8012d785b0005f49d500010015623..."} 
[2026-09-17 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7b3bf8012d785b0005f49d500010015623..."} 
[2026-09-17 14:00:26] local.INFO: Processing buffer {"connection_id":185198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7b3bf8012d785b0005f49d500010015623..."} 
[2026-09-17 14:00:26] local.INFO: Packet analysis {"connection_id":185198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7b"} 
[2026-09-17 14:00:26] local.INFO: Extracted packet for processing {"connection_id":185198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7b"} 
[2026-09-17 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 14:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146223616001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633707000,"timestamp_ms":1789633707000,"timestamp_seconds":1789633707,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7b3bf8"} 
[2026-09-17 14:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 14:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146223616001,"66":13363,"116":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 14:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146223616001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:00:26] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 14:00:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 14:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 14:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146223616001,"power":13363,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 14:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":185198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:00:26] local.INFO: GPS data processed {"connection_id":185198,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:00:26] local.INFO: Acknowledgment sent {"connection_id":185198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:00:34] local.INFO: TCP Data received {"connection_id":187966,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 14:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 14:00:34] local.INFO: Processing buffer {"connection_id":187966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 14:00:34] local.INFO: Packet analysis {"connection_id":187966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 14:00:34] local.INFO: Extracted packet for processing {"connection_id":187966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 14:00:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 14:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 14:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:00:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":187966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855788,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:00:34] local.INFO: GPS data processed {"connection_id":187966,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:00:34] local.INFO: Acknowledgment sent {"connection_id":187966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:00:53] local.INFO: TCP Data received {"connection_id":187967,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:00:53] local.INFO: Processing buffer {"connection_id":187967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:00:53] local.INFO: Packet analysis {"connection_id":187967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:00:53] local.INFO: Extracted packet for processing {"connection_id":187967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 14:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":187967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:00:53] local.INFO: GPS data processed {"connection_id":187967,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:00:53] local.INFO: Acknowledgment sent {"connection_id":187967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:00:57] local.INFO: TCP Data received {"connection_id":185198,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7b8e00012d785b0005f49d500010015624..."} 
[2026-09-17 14:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7b8e00012d785b0005f49d500010015624..."} 
[2026-09-17 14:00:57] local.INFO: Processing buffer {"connection_id":185198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7b8e00012d785b0005f49d500010015624..."} 
[2026-09-17 14:00:57] local.INFO: Packet analysis {"connection_id":185198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7b"} 
[2026-09-17 14:00:57] local.INFO: Extracted packet for processing {"connection_id":185198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7b"} 
[2026-09-17 14:00:57] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 14:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146228992001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 14:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789633728000,"timestamp_ms":1789633728000,"timestamp_seconds":1789633728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7b8e00"} 
[2026-09-17 14:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 14:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146228992001,"66":13580,"116":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 14:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146228992001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:00:57] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 14:00:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 14:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 14:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146228992001,"power":13580,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 14:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":185198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:00:57] local.INFO: GPS data processed {"connection_id":185198,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:00:57] local.INFO: Acknowledgment sent {"connection_id":185198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:01:02] local.INFO: TCP Data received {"connection_id":185199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185199,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:01:02] local.INFO: Processing buffer {"connection_id":185199,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:01:02] local.INFO: IMEI packet received {"connection_id":185199,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":185199,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:01:07] local.INFO: TCP Data received {"connection_id":185199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185199,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:01:07] local.INFO: Processing buffer {"connection_id":185199,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:01:07] local.INFO: IMEI packet received {"connection_id":185199,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":185199,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:01:08] local.INFO: TCP Data received {"connection_id":185199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 14:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 14:01:08] local.INFO: Processing buffer {"connection_id":185199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae794fc8012cf40d00070fc3f8003600a018..."} 
[2026-09-17 14:01:08] local.INFO: Packet analysis {"connection_id":185199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 14:01:08] local.INFO: Extracted packet for processing {"connection_id":185199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae79"} 
[2026-09-17 14:01:08] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":54,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146119680001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789633581000,"timestamp_ms":1789633581000,"timestamp_seconds":1789633581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae794fc8"} 
[2026-09-17 14:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 14:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146119680001,"66":12711,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146119680001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:01:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:01:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146119680001,"power":12711,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":185199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:01:08] local.INFO: GPS data processed {"connection_id":185199,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:01:08] local.INFO: Acknowledgment sent {"connection_id":185199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:01:15] local.INFO: TCP Data received {"connection_id":185330,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:01:15] local.INFO: Processing buffer {"connection_id":185330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:01:15] local.INFO: IMEI packet received {"connection_id":185330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":185330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:01:18] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:18] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:18] local.INFO: IMEI packet received {"connection_id":185331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":185331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:01:19] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:19] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:19] local.INFO: IMEI packet received {"connection_id":185331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":185331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:01:20] local.INFO: TCP Data received {"connection_id":185330,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:01:20] local.INFO: Processing buffer {"connection_id":185330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:01:20] local.INFO: IMEI packet received {"connection_id":185330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":185330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:01:21] local.INFO: TCP Data received {"connection_id":185330,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:01:21] local.INFO: Processing buffer {"connection_id":185330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:01:21] local.INFO: Packet analysis {"connection_id":185330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:01:21] local.INFO: Extracted packet for processing {"connection_id":185330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 14:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:01:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":185330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:01:21] local.INFO: GPS data processed {"connection_id":185330,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:01:21] local.INFO: Acknowledgment sent {"connection_id":185330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:01:22] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:22] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:22] local.INFO: IMEI packet received {"connection_id":185331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":185331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:01:24] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:24] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:01:24] local.INFO: IMEI packet received {"connection_id":185331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":185331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:01:25] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7be008012d785b0005f49d500010015623..."} 
[2026-09-17 14:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7be008012d785b0005f49d500010015623..."} 
[2026-09-17 14:01:25] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7be008012d785b0005f49d500010015623..."} 
[2026-09-17 14:01:25] local.INFO: Packet analysis {"connection_id":185331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7b"} 
[2026-09-17 14:01:25] local.INFO: Extracted packet for processing {"connection_id":185331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7b"} 
[2026-09-17 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 14:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146234368001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789633749000,"timestamp_ms":1789633749000,"timestamp_seconds":1789633749,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7be008"} 
[2026-09-17 14:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635615,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2927206864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6207367661400096778,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13445748,"corrected_to":0} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2639265808,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937915508,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":712245454,"corrected_to":0} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3623955832,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193357660434857,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2682519552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4103950336,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":120,"raw_value":6557247605620867088,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:25] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,116,87,24,241,157,16,159,160,59,45,35,10,66,233,36,151,1,240,203,227,174,244,4,113,205,243,91,80,239,52,2,220,5,120,53],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13445748,"validated":0},{"io_id":205,"original":712245454,"validated":0}]} 
[2026-09-17 14:01:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153297692202369024,"timestamp_seconds":1153297692202369.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146234368001,"66":13406,"116":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 14:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146234368001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:01:25] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 14:01:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 14:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 14:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146234368001,"power":13406,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 14:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":185331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:01:25] local.INFO: GPS data processed {"connection_id":185331,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:01:25] local.INFO: Acknowledgment sent {"connection_id":185331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:01:26] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7c3210012d785b0005f49d500010015624..."} 
[2026-09-17 14:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7c3210012d785b0005f49d500010015624..."} 
[2026-09-17 14:01:26] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7c3210012d785b0005f49d500010015624..."} 
[2026-09-17 14:01:26] local.INFO: Packet analysis {"connection_id":185331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7c"} 
[2026-09-17 14:01:26] local.INFO: Extracted packet for processing {"connection_id":185331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7c"} 
[2026-09-17 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":762862336,"raw_latitude":99917136,"longitude_deg":76.2862336,"latitude_deg":9.9917136,"altitude":16,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d785b00","hex_latitude":"05f49d50","is_valid_coordinates":true} 
[2026-09-17 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146239744001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134157890515632128,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672525533010808832,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633770000,"timestamp_ms":1789633770000,"timestamp_seconds":1789633770,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7c3210"} 
[2026-09-17 14:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 14:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146239744001,"66":13461,"116":206,"87":13568,"24":0,"16":134157890515632128,"45":8672525533010808832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 14:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146239744001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:01:26] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 14:01:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 14:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134157890515632128,"km_value":134157890515632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672525533010808832,"description":"Unknown IO ID 45"} 
[2026-09-17 14:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146239744001,"power":13461,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8672525533010808832}} 
[2026-09-17 14:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":185331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:01:26] local.INFO: GPS data processed {"connection_id":185331,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:01:26] local.INFO: Acknowledgment sent {"connection_id":185331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:01:42] local.INFO: TCP Data received {"connection_id":185199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:01:42] local.INFO: Processing buffer {"connection_id":185199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:01:42] local.INFO: Packet analysis {"connection_id":185199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:01:42] local.INFO: Extracted packet for processing {"connection_id":185199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":14,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146196736001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789633882000,"timestamp_ms":1789633882000,"timestamp_seconds":1789633882,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7de790"} 
[2026-09-17 14:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-17 14:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146196736001,"66":12711,"35":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146196736001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:01:42] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146196736001,"power":12711,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":185199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855795,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:01:42] local.INFO: GPS data processed {"connection_id":185199,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:01:42] local.INFO: Acknowledgment sent {"connection_id":185199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:01:52] local.INFO: TCP Data received {"connection_id":185330,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:01:52] local.INFO: Processing buffer {"connection_id":185330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:01:52] local.INFO: Packet analysis {"connection_id":185330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:01:52] local.INFO: Extracted packet for processing {"connection_id":185330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 14:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:01:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":185330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:01:53] local.INFO: GPS data processed {"connection_id":185330,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:01:53] local.INFO: Acknowledgment sent {"connection_id":185330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:02:06] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7e02e8012d78520005f4a4f8000f00f027..."} 
[2026-09-17 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7e02e8012d78520005f4a4f8000f00f027..."} 
[2026-09-17 14:02:06] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7e02e8012d78520005f4a4f8000f00f027..."} 
[2026-09-17 14:02:06] local.INFO: Packet analysis {"connection_id":185331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7e"} 
[2026-09-17 14:02:06] local.INFO: Extracted packet for processing {"connection_id":185331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7e"} 
[2026-09-17 14:02:06] local.INFO: GPS Element Parsed {"raw_longitude":762860032,"raw_latitude":99919096,"longitude_deg":76.2860032,"latitude_deg":9.9919096,"altitude":15,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d785200","hex_latitude":"05f4a4f8","is_valid_coordinates":true} 
[2026-09-17 14:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146275328001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134158049429422080,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8670062626965092352,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789633889000,"timestamp_ms":1789633889000,"timestamp_seconds":1789633889,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7e02e8"} 
[2026-09-17 14:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 14:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146275328001,"66":13472,"116":206,"87":13568,"24":0,"16":134158049429422080,"45":8670062626965092352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 14:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146275328001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:02:06] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 14:02:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 14:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134158049429422080,"km_value":134158049429422.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8670062626965092352,"description":"Unknown IO ID 45"} 
[2026-09-17 14:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146275328001,"power":13472,"unknown_116":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8670062626965092352}} 
[2026-09-17 14:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":185331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:02:06] local.INFO: GPS data processed {"connection_id":185331,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:02:06] local.INFO: Acknowledgment sent {"connection_id":185331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:02:07] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:02:07] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:02:07] local.INFO: IMEI packet received {"connection_id":186639,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":186639,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:02:15] local.INFO: TCP Data received {"connection_id":185332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:02:15] local.INFO: Processing buffer {"connection_id":185332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:02:15] local.INFO: IMEI packet received {"connection_id":185332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":185332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:02:17] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:02:17] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:02:17] local.INFO: IMEI packet received {"connection_id":186639,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":186639,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:02:18] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:02:18] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:02:18] local.INFO: Packet analysis {"connection_id":186639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:02:18] local.INFO: Extracted packet for processing {"connection_id":186639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:02:18] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":14,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146196736001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789633882000,"timestamp_ms":1789633882000,"timestamp_seconds":1789633882,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7de790"} 
[2026-09-17 14:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-17 14:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146196736001,"66":12711,"35":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146196736001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:02:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:02:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146196736001,"power":12711,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":186639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:02:18] local.INFO: GPS data processed {"connection_id":186639,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:02:18] local.INFO: Acknowledgment sent {"connection_id":186639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:02:20] local.INFO: TCP Data received {"connection_id":185332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:02:20] local.INFO: Processing buffer {"connection_id":185332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:02:20] local.INFO: IMEI packet received {"connection_id":185332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":185332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:02:21] local.INFO: TCP Data received {"connection_id":185332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:02:21] local.INFO: Processing buffer {"connection_id":185332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:02:21] local.INFO: Packet analysis {"connection_id":185332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:02:21] local.INFO: Extracted packet for processing {"connection_id":185332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 14:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:02:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":185332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:02:21] local.INFO: GPS data processed {"connection_id":185332,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:02:21] local.INFO: Acknowledgment sent {"connection_id":185332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:02:25] local.INFO: TCP Data received {"connection_id":185200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:02:25] local.INFO: Processing buffer {"connection_id":185200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:02:25] local.INFO: IMEI packet received {"connection_id":185200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":185200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:02:30] local.INFO: TCP Data received {"connection_id":185200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:02:30] local.INFO: Processing buffer {"connection_id":185200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:02:30] local.INFO: IMEI packet received {"connection_id":185200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":185200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:02:33] local.INFO: TCP Data received {"connection_id":185200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7e5108012d7845c005f4a030000e00f224..."} 
[2026-09-17 14:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7e5108012d7845c005f4a030000e00f224..."} 
[2026-09-17 14:02:33] local.INFO: Processing buffer {"connection_id":185200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7e5108012d7845c005f4a030000e00f224..."} 
[2026-09-17 14:02:33] local.INFO: Packet analysis {"connection_id":185200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7e"} 
[2026-09-17 14:02:33] local.INFO: Extracted packet for processing {"connection_id":185200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7e"} 
[2026-09-17 14:02:33] local.INFO: GPS Element Parsed {"raw_longitude":762856896,"raw_latitude":99917872,"longitude_deg":76.2856896,"latitude_deg":9.9917872,"altitude":14,"angle":242,"satellites":36,"speed":12,"hex_longitude":"2d7845c0","hex_latitude":"05f4a030","is_valid_coordinates":true} 
[2026-09-17 14:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146275584001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134158212638179328,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8669992258220914688,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789633909000,"timestamp_ms":1789633909000,"timestamp_seconds":1789633909,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7e5108"} 
[2026-09-17 14:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 14:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146275584001,"66":13646,"116":206,"87":13568,"24":12,"16":134158212638179328,"45":8669992258220914688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 14:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146275584001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:02:33] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 14:02:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 14:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134158212638179328,"km_value":134158212638179.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8669992258220914688,"description":"Unknown IO ID 45"} 
[2026-09-17 14:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146275584001,"power":13646,"unknown_116":206,"unknown_87":13568,"ignition":12,"odometer":null,"unknown_45":8669992258220914688}} 
[2026-09-17 14:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":185200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:02:33] local.INFO: GPS data processed {"connection_id":185200,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:02:33] local.INFO: Acknowledgment sent {"connection_id":185200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:02:35] local.INFO: TCP Data received {"connection_id":185200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7e58d8012d7842c005f49f70000e00fe25..."} 
[2026-09-17 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7e58d8012d7842c005f49f70000e00fe25..."} 
[2026-09-17 14:02:35] local.INFO: Processing buffer {"connection_id":185200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7e58d8012d7842c005f49f70000e00fe25..."} 
[2026-09-17 14:02:35] local.INFO: Packet analysis {"connection_id":185200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7e"} 
[2026-09-17 14:02:35] local.INFO: Extracted packet for processing {"connection_id":185200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7e"} 
[2026-09-17 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":762856128,"raw_latitude":99917680,"longitude_deg":76.2856128,"latitude_deg":9.991768,"altitude":14,"angle":254,"satellites":37,"speed":15,"hex_longitude":"2d7842c0","hex_latitude":"05f49f70","is_valid_coordinates":true} 
[2026-09-17 14:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146280704001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134158251292884992,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8666544189755895808,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789633911000,"timestamp_ms":1789633911000,"timestamp_seconds":1789633911,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7e58d8"} 
[2026-09-17 14:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-17 14:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146280704001,"66":13646,"116":206,"87":13568,"24":15,"16":134158251292884992,"45":8666544189755895808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 14:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146280704001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:02:35] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 14:02:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-17 14:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134158251292884992,"km_value":134158251292884.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8666544189755895808,"description":"Unknown IO ID 45"} 
[2026-09-17 14:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146280704001,"power":13646,"unknown_116":206,"unknown_87":13568,"ignition":15,"odometer":null,"unknown_45":8666544189755895808}} 
[2026-09-17 14:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":185200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:02:35] local.INFO: GPS data processed {"connection_id":185200,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:02:35] local.INFO: Acknowledgment sent {"connection_id":185200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:02:53] local.INFO: TCP Data received {"connection_id":185332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:02:53] local.INFO: Processing buffer {"connection_id":185332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7a78a8012d34c14006aa4438000c010128..."} 
[2026-09-17 14:02:53] local.INFO: Packet analysis {"connection_id":185332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:02:53] local.INFO: Extracted packet for processing {"connection_id":185332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7a"} 
[2026-09-17 14:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146139136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789633657000,"timestamp_ms":1789633657000,"timestamp_seconds":1789633657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7a78a8"} 
[2026-09-17 14:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146139136001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146139136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146139136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":185332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:02:53] local.INFO: GPS data processed {"connection_id":185332,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:02:53] local.INFO: Acknowledgment sent {"connection_id":185332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:02:59] local.INFO: TCP Data received {"connection_id":186640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:02:59] local.INFO: Processing buffer {"connection_id":186640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:02:59] local.INFO: IMEI packet received {"connection_id":186640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":186640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:03:02] local.INFO: TCP Data received {"connection_id":186640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:03:02] local.INFO: Processing buffer {"connection_id":186640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:03:02] local.INFO: IMEI packet received {"connection_id":186640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":186640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:03:03] local.INFO: TCP Data received {"connection_id":186640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:03:03] local.INFO: Processing buffer {"connection_id":186640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:03:03] local.INFO: Packet analysis {"connection_id":186640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:03:03] local.INFO: Extracted packet for processing {"connection_id":186640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:03:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":14,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146196736001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633882000,"timestamp_ms":1789633882000,"timestamp_seconds":1789633882,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7de790"} 
[2026-09-17 14:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-17 14:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146196736001,"66":12711,"35":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146196736001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:03:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:03:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146196736001,"power":12711,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":186640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855803,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:03:03] local.INFO: GPS data processed {"connection_id":186640,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:03:03] local.INFO: Acknowledgment sent {"connection_id":186640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:03:10] local.INFO: TCP Data received {"connection_id":187969,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:03:10] local.INFO: Processing buffer {"connection_id":187969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:03:10] local.INFO: IMEI packet received {"connection_id":187969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":187969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:03:16] local.INFO: TCP Data received {"connection_id":185201,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:03:16] local.INFO: Processing buffer {"connection_id":185201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:03:16] local.INFO: IMEI packet received {"connection_id":185201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":185201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:03:20] local.INFO: TCP Data received {"connection_id":185201,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:03:20] local.INFO: Processing buffer {"connection_id":185201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:03:20] local.INFO: IMEI packet received {"connection_id":185201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":185201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:03:25] local.INFO: TCP Data received {"connection_id":185201,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:03:25] local.INFO: Processing buffer {"connection_id":185201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:03:25] local.INFO: IMEI packet received {"connection_id":185201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":185201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:03:26] local.INFO: TCP Data received {"connection_id":185201,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:03:26] local.INFO: Processing buffer {"connection_id":185201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:03:26] local.INFO: Packet analysis {"connection_id":185201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:03:26] local.INFO: Extracted packet for processing {"connection_id":185201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:03:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:03:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:03:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":185201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:03:26] local.INFO: GPS data processed {"connection_id":185201,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:03:26] local.INFO: Acknowledgment sent {"connection_id":185201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:03:30] local.INFO: TCP Data received {"connection_id":185201,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:03:30] local.INFO: Processing buffer {"connection_id":185201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:03:30] local.INFO: Packet analysis {"connection_id":185201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:03:30] local.INFO: Extracted packet for processing {"connection_id":185201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:03:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:03:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:03:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":185201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:03:30] local.INFO: GPS data processed {"connection_id":185201,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:03:30] local.INFO: Acknowledgment sent {"connection_id":185201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:03:34] local.INFO: TCP Data received {"connection_id":186640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:03:34] local.INFO: Processing buffer {"connection_id":186640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:03:34] local.INFO: Packet analysis {"connection_id":186640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:03:34] local.INFO: Extracted packet for processing {"connection_id":186640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:03:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":14,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146196736001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789633882000,"timestamp_ms":1789633882000,"timestamp_seconds":1789633882,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7de790"} 
[2026-09-17 14:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-17 14:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146196736001,"66":12711,"35":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146196736001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:03:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:03:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146196736001,"power":12711,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":186640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855806,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:03:34] local.INFO: GPS data processed {"connection_id":186640,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:03:34] local.INFO: Acknowledgment sent {"connection_id":186640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:03:50] local.INFO: TCP Data received {"connection_id":187970,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:03:50] local.INFO: Processing buffer {"connection_id":187970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:03:50] local.INFO: IMEI packet received {"connection_id":187970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":187970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:03:53] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:03:53] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:03:53] local.INFO: IMEI packet received {"connection_id":186641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":186641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:03:54] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:03:54] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:03:54] local.INFO: IMEI packet received {"connection_id":186641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":186641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:03:57] local.INFO: TCP Data received {"connection_id":185333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:03:57] local.INFO: Processing buffer {"connection_id":185333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:03:57] local.INFO: IMEI packet received {"connection_id":185333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":185333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:04:02] local.INFO: TCP Data received {"connection_id":185333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:04:02] local.INFO: Processing buffer {"connection_id":185333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:04:02] local.INFO: IMEI packet received {"connection_id":185333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":185333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:04:03] local.INFO: TCP Data received {"connection_id":185333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:04:03] local.INFO: Processing buffer {"connection_id":185333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7de790012cf40d00070fc3f8000e00a018..."} 
[2026-09-17 14:04:03] local.INFO: Packet analysis {"connection_id":185333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:04:03] local.INFO: Extracted packet for processing {"connection_id":185333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7d"} 
[2026-09-17 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":14,"angle":160,"satellites":24,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146196736001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789633882000,"timestamp_ms":1789633882000,"timestamp_seconds":1789633882,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7de790"} 
[2026-09-17 14:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-17 14:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146196736001,"66":12711,"35":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146196736001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:04:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146196736001,"power":12711,"unknown_35":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":185333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:04:03] local.INFO: GPS data processed {"connection_id":185333,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:04:03] local.INFO: Acknowledgment sent {"connection_id":185333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:04:15] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:04:15] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:04:15] local.INFO: IMEI packet received {"connection_id":185202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":185202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:04:20] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:04:20] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:04:20] local.INFO: IMEI packet received {"connection_id":185202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":185202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:04:21] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:04:21] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:04:21] local.INFO: Packet analysis {"connection_id":185202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:04:21] local.INFO: Extracted packet for processing {"connection_id":185202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:04:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:04:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":185202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:04:21] local.INFO: GPS data processed {"connection_id":185202,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:04:21] local.INFO: Acknowledgment sent {"connection_id":185202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:04:34] local.INFO: TCP Data received {"connection_id":185333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae80ba38012cf40d00070fc3f8001500a019..."} 
[2026-09-17 14:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae80ba38012cf40d00070fc3f8001500a019..."} 
[2026-09-17 14:04:34] local.INFO: Processing buffer {"connection_id":185333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae80ba38012cf40d00070fc3f8001500a019..."} 
[2026-09-17 14:04:34] local.INFO: Packet analysis {"connection_id":185333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae80"} 
[2026-09-17 14:04:34] local.INFO: Extracted packet for processing {"connection_id":185333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae80"} 
[2026-09-17 14:04:34] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":21,"angle":160,"satellites":25,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146273792001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634067000,"timestamp_ms":1789634067000,"timestamp_seconds":1789634067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae80ba38"} 
[2026-09-17 14:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-17 14:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146273792001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146273792001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:04:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:04:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146273792001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":185333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:04:34] local.INFO: GPS data processed {"connection_id":185333,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:04:34] local.INFO: Acknowledgment sent {"connection_id":185333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:04:53] local.INFO: TCP Data received {"connection_id":187971,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:04:53] local.INFO: Processing buffer {"connection_id":187971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:04:53] local.INFO: IMEI packet received {"connection_id":187971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":187971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:04:53] local.INFO: TCP Data received {"connection_id":185202,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:04:53] local.INFO: Processing buffer {"connection_id":185202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:04:53] local.INFO: Packet analysis {"connection_id":185202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:04:53] local.INFO: Extracted packet for processing {"connection_id":185202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":185202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:04:53] local.INFO: GPS data processed {"connection_id":185202,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:04:53] local.INFO: Acknowledgment sent {"connection_id":185202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:04:57] local.INFO: TCP Data received {"connection_id":187971,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:04:57] local.INFO: Processing buffer {"connection_id":187971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:04:57] local.INFO: IMEI packet received {"connection_id":187971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":187971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:05:02] local.INFO: TCP Data received {"connection_id":187971,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:02] local.INFO: Processing buffer {"connection_id":187971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:02] local.INFO: IMEI packet received {"connection_id":187971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":187971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:05:02] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:05:02] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:05:02] local.INFO: IMEI packet received {"connection_id":186641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":186641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:05:03] local.INFO: TCP Data received {"connection_id":187971,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae80ba38012cf40d00070fc3f8001500a019..."} 
[2026-09-17 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae80ba38012cf40d00070fc3f8001500a019..."} 
[2026-09-17 14:05:03] local.INFO: Processing buffer {"connection_id":187971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae80ba38012cf40d00070fc3f8001500a019..."} 
[2026-09-17 14:05:03] local.INFO: Packet analysis {"connection_id":187971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae80"} 
[2026-09-17 14:05:03] local.INFO: Extracted packet for processing {"connection_id":187971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae80"} 
[2026-09-17 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":754191616,"raw_latitude":118473720,"longitude_deg":75.4191616,"latitude_deg":11.847372,"altitude":21,"angle":160,"satellites":25,"speed":0,"hex_longitude":"2cf40d00","hex_latitude":"070fc3f8","is_valid_coordinates":true} 
[2026-09-17 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146321152001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634067000,"timestamp_ms":1789634067000,"timestamp_seconds":1789634067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae80ba38"} 
[2026-09-17 14:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 14:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146321152001,"66":12722,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146321152001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:05:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:05:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146321152001,"power":12722,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":187971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:05:03] local.INFO: GPS data processed {"connection_id":187971,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:05:03] local.INFO: Acknowledgment sent {"connection_id":187971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:05:10] local.INFO: TCP Data received {"connection_id":186643,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:05:10] local.INFO: Processing buffer {"connection_id":186643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:05:10] local.INFO: IMEI packet received {"connection_id":186643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":186643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:05:15] local.INFO: TCP Data received {"connection_id":187972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:05:15] local.INFO: Processing buffer {"connection_id":187972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:05:15] local.INFO: IMEI packet received {"connection_id":187972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":187972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:05:20] local.INFO: TCP Data received {"connection_id":187972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:05:20] local.INFO: Processing buffer {"connection_id":187972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:05:20] local.INFO: IMEI packet received {"connection_id":187972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":187972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:05:22] local.INFO: TCP Data received {"connection_id":187972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:05:22] local.INFO: Processing buffer {"connection_id":187972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:05:22] local.INFO: Packet analysis {"connection_id":187972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:05:22] local.INFO: Extracted packet for processing {"connection_id":187972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:05:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":187972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:05:22] local.INFO: GPS data processed {"connection_id":187972,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:05:22] local.INFO: Acknowledgment sent {"connection_id":187972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:05:35] local.INFO: TCP Data received {"connection_id":187971,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae80c9d8012cf40d80070fc278001500ac1b..."} 
[2026-09-17 14:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae80c9d8012cf40d80070fc278001500ac1b..."} 
[2026-09-17 14:05:35] local.INFO: Processing buffer {"connection_id":187971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae80c9d8012cf40d80070fc278001500ac1b..."} 
[2026-09-17 14:05:35] local.INFO: Packet analysis {"connection_id":187971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae80"} 
[2026-09-17 14:05:35] local.INFO: Extracted packet for processing {"connection_id":187971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae80"} 
[2026-09-17 14:05:35] local.INFO: GPS Element Parsed {"raw_longitude":754191744,"raw_latitude":118473336,"longitude_deg":75.4191744,"latitude_deg":11.8473336,"altitude":21,"angle":172,"satellites":27,"speed":0,"hex_longitude":"2cf40d80","hex_latitude":"070fc278","is_valid_coordinates":true} 
[2026-09-17 14:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146321152001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861031923428624384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789634071000,"timestamp_ms":1789634071000,"timestamp_seconds":1789634071,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae80c9d8"} 
[2026-09-17 14:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 14:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146321152001,"66":11874,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-861031923428624384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146321152001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:05:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:05:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861031923428624384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146321152001,"power":11874,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861031923428624384}} 
[2026-09-17 14:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":187971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:05:35] local.INFO: GPS data processed {"connection_id":187971,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:05:35] local.INFO: Acknowledgment sent {"connection_id":187971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:05:53] local.INFO: TCP Data received {"connection_id":187972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:05:53] local.INFO: Processing buffer {"connection_id":187972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:05:53] local.INFO: Packet analysis {"connection_id":187972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:05:53] local.INFO: Extracted packet for processing {"connection_id":187972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":187972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:05:53] local.INFO: GPS data processed {"connection_id":187972,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:05:53] local.INFO: Acknowledgment sent {"connection_id":187972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:05:55] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:55] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:55] local.INFO: IMEI packet received {"connection_id":187973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":187973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:05:56] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:56] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:56] local.INFO: IMEI packet received {"connection_id":187973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":187973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:05:57] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:57] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:05:57] local.INFO: IMEI packet received {"connection_id":187973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":187973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:06:02] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:02] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:02] local.INFO: IMEI packet received {"connection_id":187973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":187973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:06:03] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8117f8012cf40d80070fc278001500ac1a..."} 
[2026-09-17 14:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8117f8012cf40d80070fc278001500ac1a..."} 
[2026-09-17 14:06:03] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8117f8012cf40d80070fc278001500ac1a..."} 
[2026-09-17 14:06:03] local.INFO: Packet analysis {"connection_id":187973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae81"} 
[2026-09-17 14:06:03] local.INFO: Extracted packet for processing {"connection_id":187973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae81"} 
[2026-09-17 14:06:03] local.INFO: GPS Element Parsed {"raw_longitude":754191744,"raw_latitude":118473336,"longitude_deg":75.4191744,"latitude_deg":11.8473336,"altitude":21,"angle":172,"satellites":26,"speed":0,"hex_longitude":"2cf40d80","hex_latitude":"070fc278","is_valid_coordinates":true} 
[2026-09-17 14:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146322176001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752394102112256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-860891185940367360,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634091000,"timestamp_ms":1789634091000,"timestamp_seconds":1789634091,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8117f8"} 
[2026-09-17 14:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-17 14:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146322176001,"66":12287,"216":206,"83":41472,"24":0,"16":32752394102112256,"44":-860891185940367360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146322176001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:06:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752394102112256,"km_value":32752394102112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-860891185940367360,"description":"Unknown IO ID 44"} 
[2026-09-17 14:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146322176001,"power":12287,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-860891185940367360}} 
[2026-09-17 14:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":187973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:06:03] local.INFO: GPS data processed {"connection_id":187973,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:06:03] local.INFO: Acknowledgment sent {"connection_id":187973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:06:15] local.INFO: TCP Data received {"connection_id":187974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:06:15] local.INFO: Processing buffer {"connection_id":187974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:06:15] local.INFO: IMEI packet received {"connection_id":187974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":187974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:06:20] local.INFO: TCP Data received {"connection_id":187974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:06:20] local.INFO: Processing buffer {"connection_id":187974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:06:20] local.INFO: IMEI packet received {"connection_id":187974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":187974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:06:21] local.INFO: TCP Data received {"connection_id":187974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:06:21] local.INFO: Processing buffer {"connection_id":187974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:06:21] local.INFO: Packet analysis {"connection_id":187974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:06:21] local.INFO: Extracted packet for processing {"connection_id":187974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:06:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":187974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:06:21] local.INFO: GPS data processed {"connection_id":187974,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:06:21] local.INFO: Acknowledgment sent {"connection_id":187974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:06:34] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae816a00012cf40ac0070fc4c8001c00aa19..."} 
[2026-09-17 14:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae816a00012cf40ac0070fc4c8001c00aa19..."} 
[2026-09-17 14:06:34] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae816a00012cf40ac0070fc4c8001c00aa19..."} 
[2026-09-17 14:06:34] local.INFO: Packet analysis {"connection_id":187973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae81"} 
[2026-09-17 14:06:34] local.INFO: Extracted packet for processing {"connection_id":187973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae81"} 
[2026-09-17 14:06:34] local.INFO: GPS Element Parsed {"raw_longitude":754191040,"raw_latitude":118473928,"longitude_deg":75.419104,"latitude_deg":11.8473928,"altitude":28,"angle":170,"satellites":25,"speed":0,"hex_longitude":"2cf40ac0","hex_latitude":"070fc4c8","is_valid_coordinates":true} 
[2026-09-17 14:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146327296001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752437051785216,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-860891185940367360,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634112000,"timestamp_ms":1789634112000,"timestamp_seconds":1789634112,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae816a00"} 
[2026-09-17 14:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-17 14:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146327296001,"66":10450,"216":206,"83":41472,"24":0,"16":32752437051785216,"44":-860891185940367360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146327296001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:06:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752437051785216,"km_value":32752437051785.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-860891185940367360,"description":"Unknown IO ID 44"} 
[2026-09-17 14:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146327296001,"power":10450,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-860891185940367360}} 
[2026-09-17 14:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":187973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:06:34] local.INFO: GPS data processed {"connection_id":187973,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:06:34] local.INFO: Acknowledgment sent {"connection_id":187973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:06:52] local.INFO: TCP Data received {"connection_id":187974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:06:52] local.INFO: Processing buffer {"connection_id":187974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:06:52] local.INFO: Packet analysis {"connection_id":187974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:06:52] local.INFO: Extracted packet for processing {"connection_id":187974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":187974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:06:52] local.INFO: GPS data processed {"connection_id":187974,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:06:52] local.INFO: Acknowledgment sent {"connection_id":187974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:06:55] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:55] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:55] local.INFO: IMEI packet received {"connection_id":187976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":187976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:06:57] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:57] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:57] local.INFO: IMEI packet received {"connection_id":187976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":187976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:06:58] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:58] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:06:58] local.INFO: IMEI packet received {"connection_id":187976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":187976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:07:02] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:07:02] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:07:02] local.INFO: IMEI packet received {"connection_id":187976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":187976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:07:03] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae81bc08012cf40ac0070fc4c8001c00aa19..."} 
[2026-09-17 14:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae81bc08012cf40ac0070fc4c8001c00aa19..."} 
[2026-09-17 14:07:03] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae81bc08012cf40ac0070fc4c8001c00aa19..."} 
[2026-09-17 14:07:03] local.INFO: Packet analysis {"connection_id":187976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae81"} 
[2026-09-17 14:07:03] local.INFO: Extracted packet for processing {"connection_id":187976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae81"} 
[2026-09-17 14:07:03] local.INFO: GPS Element Parsed {"raw_longitude":754191040,"raw_latitude":118473928,"longitude_deg":75.419104,"latitude_deg":11.8473928,"altitude":28,"angle":170,"satellites":25,"speed":0,"hex_longitude":"2cf40ac0","hex_latitude":"070fc4c8","is_valid_coordinates":true} 
[2026-09-17 14:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146332672001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752437051785216,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861665242126170112,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634133000,"timestamp_ms":1789634133000,"timestamp_seconds":1789634133,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae81bc08"} 
[2026-09-17 14:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-17 14:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2288,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146332672001,"66":14515,"216":206,"83":41472,"24":0,"16":32752437051785216,"44":-861665242126170112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146332672001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:07:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752437051785216,"km_value":32752437051785.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861665242126170112,"description":"Unknown IO ID 44"} 
[2026-09-17 14:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146332672001,"power":14515,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861665242126170112}} 
[2026-09-17 14:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":187976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:07:03] local.INFO: GPS data processed {"connection_id":187976,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:07:03] local.INFO: Acknowledgment sent {"connection_id":187976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:07:15] local.INFO: TCP Data received {"connection_id":185203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:07:15] local.INFO: Processing buffer {"connection_id":185203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:07:15] local.INFO: IMEI packet received {"connection_id":185203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":185203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:07:20] local.INFO: TCP Data received {"connection_id":185203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:07:20] local.INFO: Processing buffer {"connection_id":185203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:07:20] local.INFO: IMEI packet received {"connection_id":185203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":185203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:07:21] local.INFO: TCP Data received {"connection_id":185203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:07:21] local.INFO: Processing buffer {"connection_id":185203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:07:21] local.INFO: Packet analysis {"connection_id":185203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:07:21] local.INFO: Extracted packet for processing {"connection_id":185203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:07:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":185203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:07:21] local.INFO: GPS data processed {"connection_id":185203,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:07:21] local.INFO: Acknowledgment sent {"connection_id":185203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:07:34] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae837188012cf41740070fc468002500531c..."} 
[2026-09-17 14:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae837188012cf41740070fc468002500531c..."} 
[2026-09-17 14:07:34] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae837188012cf41740070fc468002500531c..."} 
[2026-09-17 14:07:34] local.INFO: Packet analysis {"connection_id":187976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:07:34] local.INFO: Extracted packet for processing {"connection_id":187976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":754194240,"raw_latitude":118473832,"longitude_deg":75.419424,"latitude_deg":11.8473832,"altitude":37,"angle":83,"satellites":28,"speed":1,"hex_longitude":"2cf41740","hex_latitude":"070fc468","is_valid_coordinates":true} 
[2026-09-17 14:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146366208001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752660390084608,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858287542405670912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634245000,"timestamp_ms":1789634245000,"timestamp_seconds":1789634245,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae837188"} 
[2026-09-17 14:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146366208001,"66":14548,"216":206,"83":41472,"24":1,"16":32752660390084608,"44":-858287542405670912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146366208001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:07:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752660390084608,"km_value":32752660390084.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:07:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858287542405670912,"description":"Unknown IO ID 44"} 
[2026-09-17 14:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146366208001,"power":14548,"unknown_216":206,"unknown_83":41472,"ignition":1,"odometer":null,"unknown_44":-858287542405670912}} 
[2026-09-17 14:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":187976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:07:34] local.INFO: GPS data processed {"connection_id":187976,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:07:34] local.INFO: Acknowledgment sent {"connection_id":187976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:07:53] local.INFO: TCP Data received {"connection_id":185203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:07:53] local.INFO: Processing buffer {"connection_id":185203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae7f1070012d34c14006aa4438000c010128..."} 
[2026-09-17 14:07:53] local.INFO: Packet analysis {"connection_id":185203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:07:53] local.INFO: Extracted packet for processing {"connection_id":185203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae7f"} 
[2026-09-17 14:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146216192001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789633958000,"timestamp_ms":1789633958000,"timestamp_seconds":1789633958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae7f1070"} 
[2026-09-17 14:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146216192001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146216192001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146216192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":185203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:07:53] local.INFO: GPS data processed {"connection_id":185203,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:07:53] local.INFO: Acknowledgment sent {"connection_id":185203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:07:57] local.INFO: TCP Data received {"connection_id":185336,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:07:57] local.INFO: Processing buffer {"connection_id":185336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:07:57] local.INFO: IMEI packet received {"connection_id":185336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":185336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:08:02] local.INFO: TCP Data received {"connection_id":185336,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:08:02] local.INFO: Processing buffer {"connection_id":185336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:08:02] local.INFO: IMEI packet received {"connection_id":185336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":185336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:08:03] local.INFO: TCP Data received {"connection_id":185336,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae837570012cf41740070fc4580025006d1b..."} 
[2026-09-17 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae837570012cf41740070fc4580025006d1b..."} 
[2026-09-17 14:08:03] local.INFO: Processing buffer {"connection_id":185336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae837570012cf41740070fc4580025006d1b..."} 
[2026-09-17 14:08:03] local.INFO: Packet analysis {"connection_id":185336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:08:03] local.INFO: Extracted packet for processing {"connection_id":185336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":754194240,"raw_latitude":118473816,"longitude_deg":75.419424,"latitude_deg":11.8473816,"altitude":37,"angle":109,"satellites":27,"speed":0,"hex_longitude":"2cf41740","hex_latitude":"070fc458","is_valid_coordinates":true} 
[2026-09-17 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146366720001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752664685051904,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858146804917311488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634246000,"timestamp_ms":1789634246000,"timestamp_seconds":1789634246,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae837570"} 
[2026-09-17 14:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 14:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146366720001,"66":14559,"216":206,"83":41472,"24":0,"16":32752664685051904,"44":-858146804917311488},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146366720001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:08:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752664685051904,"km_value":32752664685051.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:08:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858146804917311488,"description":"Unknown IO ID 44"} 
[2026-09-17 14:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146366720001,"power":14559,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858146804917311488}} 
[2026-09-17 14:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":185336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855823,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:08:03] local.INFO: GPS data processed {"connection_id":185336,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:08:03] local.INFO: Acknowledgment sent {"connection_id":185336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:08:17] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:08:17] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:08:17] local.INFO: IMEI packet received {"connection_id":186646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":186646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:08:20] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:08:20] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:08:20] local.INFO: IMEI packet received {"connection_id":186646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":186646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:08:25] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:08:25] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:08:25] local.INFO: IMEI packet received {"connection_id":186646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":186646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:08:26] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:08:26] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:08:26] local.INFO: Packet analysis {"connection_id":186646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:08:26] local.INFO: Extracted packet for processing {"connection_id":186646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146293248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146293248001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146293248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:08:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:08:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146293248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":186646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:08:26] local.INFO: GPS data processed {"connection_id":186646,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:08:26] local.INFO: Acknowledgment sent {"connection_id":186646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:08:30] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:08:30] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:08:30] local.INFO: Packet analysis {"connection_id":186646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:08:30] local.INFO: Extracted packet for processing {"connection_id":186646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146293248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146293248001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146293248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:08:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:08:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146293248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":186646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:08:30] local.INFO: GPS data processed {"connection_id":186646,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:08:30] local.INFO: Acknowledgment sent {"connection_id":186646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:08:34] local.INFO: TCP Data received {"connection_id":185336,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae837d40012cf41800070fc4480025005a1c..."} 
[2026-09-17 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae837d40012cf41800070fc4480025005a1c..."} 
[2026-09-17 14:08:34] local.INFO: Processing buffer {"connection_id":185336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae837d40012cf41800070fc4480025005a1c..."} 
[2026-09-17 14:08:34] local.INFO: Packet analysis {"connection_id":185336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:08:34] local.INFO: Extracted packet for processing {"connection_id":185336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:08:34] local.INFO: GPS Element Parsed {"raw_longitude":754194432,"raw_latitude":118473800,"longitude_deg":75.4194432,"latitude_deg":11.84738,"altitude":37,"angle":90,"satellites":28,"speed":0,"hex_longitude":"2cf41800","hex_latitude":"070fc448","is_valid_coordinates":true} 
[2026-09-17 14:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146366976001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752668980019200,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858146804917315584,"note":"Value kept but may cause issues"} 
[2026-09-17 14:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634248000,"timestamp_ms":1789634248000,"timestamp_seconds":1789634248,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae837d40"} 
[2026-09-17 14:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146366976001,"66":14559,"216":206,"83":41472,"24":0,"16":32752668980019200,"44":-858146804917315584},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146366976001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:08:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752668980019200,"km_value":32752668980019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:08:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858146804917315584,"description":"Unknown IO ID 44"} 
[2026-09-17 14:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146366976001,"power":14559,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858146804917315584}} 
[2026-09-17 14:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":185336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:08:34] local.INFO: GPS data processed {"connection_id":185336,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:08:34] local.INFO: Acknowledgment sent {"connection_id":185336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:08:57] local.INFO: TCP Data received {"connection_id":187977,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:08:57] local.INFO: Processing buffer {"connection_id":187977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:08:57] local.INFO: IMEI packet received {"connection_id":187977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":187977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:09:02] local.INFO: TCP Data received {"connection_id":187977,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:09:02] local.INFO: Processing buffer {"connection_id":187977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:09:02] local.INFO: IMEI packet received {"connection_id":187977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":187977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:09:03] local.INFO: TCP Data received {"connection_id":187977,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae838ce0012cf419c0070fc4680025003b1d..."} 
[2026-09-17 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae838ce0012cf419c0070fc4680025003b1d..."} 
[2026-09-17 14:09:03] local.INFO: Processing buffer {"connection_id":187977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae838ce0012cf419c0070fc4680025003b1d..."} 
[2026-09-17 14:09:03] local.INFO: Packet analysis {"connection_id":187977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:09:03] local.INFO: Extracted packet for processing {"connection_id":187977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":754194880,"raw_latitude":118473832,"longitude_deg":75.419488,"latitude_deg":11.8473832,"altitude":37,"angle":59,"satellites":29,"speed":4,"hex_longitude":"2cf419c0","hex_latitude":"070fc468","is_valid_coordinates":true} 
[2026-09-17 14:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146367488001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752690454855680,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-857935698684786688,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634252000,"timestamp_ms":1789634252000,"timestamp_seconds":1789634252,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae838ce0"} 
[2026-09-17 14:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146367488001,"66":14580,"216":206,"83":41472,"24":4,"16":32752690454855680,"44":-857935698684786688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146367488001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:09:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752690454855680,"km_value":32752690454855.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-857935698684786688,"description":"Unknown IO ID 44"} 
[2026-09-17 14:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146367488001,"power":14580,"unknown_216":206,"unknown_83":41472,"ignition":4,"odometer":null,"unknown_44":-857935698684786688}} 
[2026-09-17 14:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":187977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:09:03] local.INFO: GPS data processed {"connection_id":187977,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:09:03] local.INFO: Acknowledgment sent {"connection_id":187977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:09:10] local.INFO: TCP Data received {"connection_id":185337,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:09:10] local.INFO: Processing buffer {"connection_id":185337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:09:10] local.INFO: IMEI packet received {"connection_id":185337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":185337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:09:15] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:09:15] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:09:15] local.INFO: IMEI packet received {"connection_id":186647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":186647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:09:20] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:09:20] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:09:20] local.INFO: IMEI packet received {"connection_id":186647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":186647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:09:21] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:09:21] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:09:21] local.INFO: Packet analysis {"connection_id":186647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:09:21] local.INFO: Extracted packet for processing {"connection_id":186647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146293248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146293248001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146293248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:09:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146293248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":186647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:09:21] local.INFO: GPS data processed {"connection_id":186647,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:09:21] local.INFO: Acknowledgment sent {"connection_id":186647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:09:34] local.INFO: TCP Data received {"connection_id":187977,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8390c8012cf41a40070fc4c00026002b1e..."} 
[2026-09-17 14:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8390c8012cf41a40070fc4c00026002b1e..."} 
[2026-09-17 14:09:34] local.INFO: Processing buffer {"connection_id":187977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8390c8012cf41a40070fc4c00026002b1e..."} 
[2026-09-17 14:09:34] local.INFO: Packet analysis {"connection_id":187977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:09:34] local.INFO: Extracted packet for processing {"connection_id":187977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":754195008,"raw_latitude":118473920,"longitude_deg":75.4195008,"latitude_deg":11.847392,"altitude":38,"angle":43,"satellites":30,"speed":7,"hex_longitude":"2cf41a40","hex_latitude":"070fc4c0","is_valid_coordinates":true} 
[2026-09-17 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146368512001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752699044790272,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-857443117475534848,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634253000,"timestamp_ms":1789634253000,"timestamp_seconds":1789634253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8390c8"} 
[2026-09-17 14:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-17 14:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146368512001,"66":14613,"216":206,"83":41472,"24":7,"16":32752699044790272,"44":-857443117475534848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146368512001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:09:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752699044790272,"km_value":32752699044790.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-857443117475534848,"description":"Unknown IO ID 44"} 
[2026-09-17 14:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146368512001,"power":14613,"unknown_216":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-857443117475534848}} 
[2026-09-17 14:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":187977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:09:35] local.INFO: GPS data processed {"connection_id":187977,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:09:35] local.INFO: Acknowledgment sent {"connection_id":187977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:09:50] local.INFO: TCP Data received {"connection_id":185205,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:09:50] local.INFO: Processing buffer {"connection_id":185205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:09:50] local.INFO: IMEI packet received {"connection_id":185205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":185205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:09:52] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:09:52] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:09:52] local.INFO: Packet analysis {"connection_id":186647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:09:52] local.INFO: Extracted packet for processing {"connection_id":186647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146293248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146293248001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146293248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146293248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":186647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:09:52] local.INFO: GPS data processed {"connection_id":186647,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:09:52] local.INFO: Acknowledgment sent {"connection_id":186647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:10:02] local.INFO: TCP Data received {"connection_id":185206,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:02] local.INFO: Processing buffer {"connection_id":185206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:02] local.INFO: IMEI packet received {"connection_id":185206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":185206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:10:07] local.INFO: TCP Data received {"connection_id":185206,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:07] local.INFO: Processing buffer {"connection_id":185206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:07] local.INFO: IMEI packet received {"connection_id":185206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":185206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:10:08] local.INFO: TCP Data received {"connection_id":185206,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a068012cf41c80070fc6e8002700461f..."} 
[2026-09-17 14:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a068012cf41c80070fc6e8002700461f..."} 
[2026-09-17 14:10:08] local.INFO: Processing buffer {"connection_id":185206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a068012cf41c80070fc6e8002700461f..."} 
[2026-09-17 14:10:08] local.INFO: Packet analysis {"connection_id":185206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:10:08] local.INFO: Extracted packet for processing {"connection_id":185206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:10:08] local.INFO: GPS Element Parsed {"raw_longitude":754195584,"raw_latitude":118474472,"longitude_deg":75.4195584,"latitude_deg":11.8474472,"altitude":39,"angle":70,"satellites":31,"speed":5,"hex_longitude":"2cf41c80","hex_latitude":"070fc6e8","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146368768001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752737699495936,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-857302379987156992,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789634257000,"timestamp_ms":1789634257000,"timestamp_seconds":1789634257,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a068"} 
[2026-09-17 14:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-17 14:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146368768001,"66":14548,"216":206,"83":41472,"24":5,"16":32752737699495936,"44":-857302379987156992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146368768001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:10:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752737699495936,"km_value":32752737699495.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:10:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-857302379987156992,"description":"Unknown IO ID 44"} 
[2026-09-17 14:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146368768001,"power":14548,"unknown_216":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-857302379987156992}} 
[2026-09-17 14:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":185206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:10:08] local.INFO: GPS data processed {"connection_id":185206,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:10:08] local.INFO: Acknowledgment sent {"connection_id":185206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:10:15] local.INFO: TCP Data received {"connection_id":187978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:10:15] local.INFO: Processing buffer {"connection_id":187978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:10:15] local.INFO: IMEI packet received {"connection_id":187978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":187978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:10:19] local.INFO: TCP Data received {"connection_id":187979,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:10:19] local.INFO: Processing buffer {"connection_id":187979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:10:19] local.INFO: IMEI packet received {"connection_id":187979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":187979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:10:20] local.INFO: TCP Data received {"connection_id":187978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:10:20] local.INFO: Processing buffer {"connection_id":187978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:10:20] local.INFO: IMEI packet received {"connection_id":187978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":187978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:10:22] local.INFO: TCP Data received {"connection_id":187978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:10:22] local.INFO: Processing buffer {"connection_id":187978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:10:22] local.INFO: Packet analysis {"connection_id":187978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:10:22] local.INFO: Extracted packet for processing {"connection_id":187978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:10:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146293248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146293248001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146293248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:10:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:10:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146293248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":187978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:10:22] local.INFO: GPS data processed {"connection_id":187978,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:10:22] local.INFO: Acknowledgment sent {"connection_id":187978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:10:25] local.INFO: TCP Data received {"connection_id":187979,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:10:25] local.INFO: Processing buffer {"connection_id":187979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:10:25] local.INFO: IMEI packet received {"connection_id":187979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":187979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:10:25] local.INFO: TCP Data received {"connection_id":187979,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae859c38012d777b8005f68eb8000c009327..."} 
[2026-09-17 14:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae859c38012d777b8005f68eb8000c009327..."} 
[2026-09-17 14:10:25] local.INFO: Processing buffer {"connection_id":187979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae859c38012d777b8005f68eb8000c009327..."} 
[2026-09-17 14:10:25] local.INFO: Packet analysis {"connection_id":187979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae85"} 
[2026-09-17 14:10:25] local.INFO: Extracted packet for processing {"connection_id":187979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae85"} 
[2026-09-17 14:10:25] local.INFO: GPS Element Parsed {"raw_longitude":762805120,"raw_latitude":100044472,"longitude_deg":76.280512,"latitude_deg":10.0044472,"altitude":12,"angle":147,"satellites":39,"speed":19,"hex_longitude":"2d777b80","hex_latitude":"05f68eb8","is_valid_coordinates":true} 
[2026-09-17 14:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146402560001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134168756782891008,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608912188306978816,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789634387000,"timestamp_ms":1789634387000,"timestamp_seconds":1789634387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae859c38"} 
[2026-09-17 14:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-17 14:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146402560001,"66":13689,"218":206,"87":12032,"24":19,"16":134168756782891008,"45":8608912188306978816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-17 14:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146402560001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:10:25] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-17 14:10:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134168756782891008,"km_value":134168756782891.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608912188306978816,"description":"Unknown IO ID 45"} 
[2026-09-17 14:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146402560001,"power":13689,"unknown_218":206,"unknown_87":12032,"ignition":19,"odometer":null,"unknown_45":8608912188306978816}} 
[2026-09-17 14:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":187979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:10:26] local.INFO: GPS data processed {"connection_id":187979,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:10:26] local.INFO: Acknowledgment sent {"connection_id":187979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:10:39] local.INFO: TCP Data received {"connection_id":185206,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012cf41d40070fc718002700591e..."} 
[2026-09-17 14:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012cf41d40070fc718002700591e..."} 
[2026-09-17 14:10:39] local.INFO: Processing buffer {"connection_id":185206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012cf41d40070fc718002700591e..."} 
[2026-09-17 14:10:39] local.INFO: Packet analysis {"connection_id":185206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:10:39] local.INFO: Extracted packet for processing {"connection_id":185206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:10:39] local.INFO: GPS Element Parsed {"raw_longitude":754195776,"raw_latitude":118474520,"longitude_deg":75.4195776,"latitude_deg":11.847452,"altitude":39,"angle":89,"satellites":30,"speed":4,"hex_longitude":"2cf41d40","hex_latitude":"070fc718","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146369792001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752750584397824,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-856669061289416704,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 14:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146369792001,"66":14352,"216":206,"83":41472,"24":4,"16":32752750584397824,"44":-856669061289416704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146369792001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:10:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752750584397824,"km_value":32752750584397.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:10:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-856669061289416704,"description":"Unknown IO ID 44"} 
[2026-09-17 14:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146369792001,"power":14352,"unknown_216":206,"unknown_83":41472,"ignition":4,"odometer":null,"unknown_44":-856669061289416704}} 
[2026-09-17 14:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":185206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:10:39] local.INFO: GPS data processed {"connection_id":185206,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:10:39] local.INFO: Acknowledgment sent {"connection_id":185206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:10:53] local.INFO: TCP Data received {"connection_id":187978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:10:53] local.INFO: Processing buffer {"connection_id":187978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:10:53] local.INFO: Packet analysis {"connection_id":187978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:10:53] local.INFO: Extracted packet for processing {"connection_id":187978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146293248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146293248001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146293248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146293248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":187978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:10:53] local.INFO: GPS data processed {"connection_id":187978,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:10:53] local.INFO: Acknowledgment sent {"connection_id":187978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:10:54] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:54] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:54] local.INFO: IMEI packet received {"connection_id":186648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":186648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:10:57] local.INFO: TCP Data received {"connection_id":187979,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae85c730012d778bc005f67928000c008626..."} 
[2026-09-17 14:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae85c730012d778bc005f67928000c008626..."} 
[2026-09-17 14:10:57] local.INFO: Processing buffer {"connection_id":187979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae85c730012d778bc005f67928000c008626..."} 
[2026-09-17 14:10:57] local.INFO: Packet analysis {"connection_id":187979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae85"} 
[2026-09-17 14:10:57] local.INFO: Extracted packet for processing {"connection_id":187979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae85"} 
[2026-09-17 14:10:57] local.INFO: GPS Element Parsed {"raw_longitude":762809280,"raw_latitude":100038952,"longitude_deg":76.280928,"latitude_deg":10.0038952,"altitude":12,"angle":134,"satellites":38,"speed":14,"hex_longitude":"2d778bc0","hex_latitude":"05f67928","is_valid_coordinates":true} 
[2026-09-17 14:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146403072001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134169096085307392,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8609615875748575232,"note":"Value kept but may cause issues"} 
[2026-09-17 14:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789634398000,"timestamp_ms":1789634398000,"timestamp_seconds":1789634398,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae85c730"} 
[2026-09-17 14:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-17 14:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146403072001,"66":13091,"218":206,"87":12032,"24":14,"16":134169096085307392,"45":8609615875748575232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-17 14:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146403072001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:10:57] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-17 14:10:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134169096085307392,"km_value":134169096085307.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8609615875748575232,"description":"Unknown IO ID 45"} 
[2026-09-17 14:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146403072001,"power":13091,"unknown_218":206,"unknown_87":12032,"ignition":14,"odometer":null,"unknown_45":8609615875748575232}} 
[2026-09-17 14:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":187979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:10:57] local.INFO: GPS data processed {"connection_id":187979,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:10:57] local.INFO: Acknowledgment sent {"connection_id":187979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:10:57] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:57] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:10:57] local.INFO: IMEI packet received {"connection_id":186648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":186648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:11:00] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:11:00] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:11:00] local.INFO: IMEI packet received {"connection_id":186648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":186648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:11:02] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83bbc0012cf42140070fc8380029004c20..."} 
[2026-09-17 14:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83bbc0012cf42140070fc8380029004c20..."} 
[2026-09-17 14:11:02] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83bbc0012cf42140070fc8380029004c20..."} 
[2026-09-17 14:11:02] local.INFO: Packet analysis {"connection_id":186648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:11:02] local.INFO: Extracted packet for processing {"connection_id":186648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:11:02] local.INFO: GPS Element Parsed {"raw_longitude":754196800,"raw_latitude":118474808,"longitude_deg":75.41968,"latitude_deg":11.8474808,"altitude":41,"angle":76,"satellites":32,"speed":6,"hex_longitude":"2cf42140","hex_latitude":"070fc838","is_valid_coordinates":true} 
[2026-09-17 14:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32752797829038080,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-856457955056871424,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789634264000,"timestamp_ms":1789634264000,"timestamp_seconds":1789634264,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83bbc0"} 
[2026-09-17 14:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141504,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2717915136,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2927849864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4095213575,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":244,"raw_value":1333073253989613604,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504099393306624,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2206023681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3293052965,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753790168,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1624768718,"corrected_to":0} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":88,"raw_value":10414870944023296,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3741371744,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84710871561342916,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:02] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,216,83,24,241,157,16,92,160,44,128,198,39,31,10,66,144,64,196,38,30,140,192,1,240,244,227,174,15,4,113,205,117,23,88,27,239,56,2,116,7,37,206,184],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1624768718,"validated":0}]} 
[2026-09-17 14:11:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810344152863342592,"timestamp_seconds":2810344152863342.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":14515,"216":206,"83":41472,"24":6,"16":32752797829038080,"44":-856457955056871424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:11:02] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32752797829038080,"km_value":32752797829038.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-856457955056871424,"description":"Unknown IO ID 44"} 
[2026-09-17 14:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":14515,"unknown_216":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-856457955056871424}} 
[2026-09-17 14:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":186648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:11:02] local.INFO: GPS data processed {"connection_id":186648,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:11:02] local.INFO: Acknowledgment sent {"connection_id":186648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:11:15] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:11:15] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:11:15] local.INFO: IMEI packet received {"connection_id":185339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":185339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:11:19] local.INFO: TCP Data received {"connection_id":185340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:11:19] local.INFO: Processing buffer {"connection_id":185340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:11:19] local.INFO: IMEI packet received {"connection_id":185340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":185340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:11:20] local.INFO: TCP Data received {"connection_id":185340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:11:20] local.INFO: Processing buffer {"connection_id":185340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:11:20] local.INFO: IMEI packet received {"connection_id":185340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":185340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:11:23] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:11:23] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:11:23] local.INFO: IMEI packet received {"connection_id":185339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":185339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:11:24] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:11:24] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:11:24] local.INFO: Packet analysis {"connection_id":185339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:11:24] local.INFO: Extracted packet for processing {"connection_id":185339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146293248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146293248001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146293248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146293248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":185339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:11:24] local.INFO: GPS data processed {"connection_id":185339,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:11:24] local.INFO: Acknowledgment sent {"connection_id":185339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:11:25] local.INFO: TCP Data received {"connection_id":185340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:11:25] local.INFO: Processing buffer {"connection_id":185340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:11:25] local.INFO: IMEI packet received {"connection_id":185340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":185340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:11:26] local.INFO: TCP Data received {"connection_id":185340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae85e670012d778fc005f674c0000b009229..."} 
[2026-09-17 14:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae85e670012d778fc005f674c0000b009229..."} 
[2026-09-17 14:11:26] local.INFO: Processing buffer {"connection_id":185340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae85e670012d778fc005f674c0000b009229..."} 
[2026-09-17 14:11:26] local.INFO: Packet analysis {"connection_id":185340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae85"} 
[2026-09-17 14:11:26] local.INFO: Extracted packet for processing {"connection_id":185340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae85"} 
[2026-09-17 14:11:26] local.INFO: GPS Element Parsed {"raw_longitude":762810304,"raw_latitude":100037824,"longitude_deg":76.2810304,"latitude_deg":10.0037824,"altitude":11,"angle":146,"satellites":41,"speed":12,"hex_longitude":"2d778fc0","hex_latitude":"05f674c0","is_valid_coordinates":true} 
[2026-09-17 14:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146405888001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134169169099751424,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8614189844118710272,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789634406000,"timestamp_ms":1789634406000,"timestamp_seconds":1789634406,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae85e670"} 
[2026-09-17 14:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 14:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146405888001,"66":13537,"218":206,"87":12032,"24":12,"16":134169169099751424,"45":8614189844118710272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-17 14:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146405888001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:11:26] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-17 14:11:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134169169099751424,"km_value":134169169099751.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8614189844118710272,"description":"Unknown IO ID 45"} 
[2026-09-17 14:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146405888001,"power":13537,"unknown_218":206,"unknown_87":12032,"ignition":12,"odometer":null,"unknown_45":8614189844118710272}} 
[2026-09-17 14:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":185340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:11:26] local.INFO: GPS data processed {"connection_id":185340,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:11:26] local.INFO: Acknowledgment sent {"connection_id":185340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:11:37] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae870b68012cf41640070fc8c80036010024..."} 
[2026-09-17 14:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae870b68012cf41640070fc8c80036010024..."} 
[2026-09-17 14:11:37] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae870b68012cf41640070fc8c80036010024..."} 
[2026-09-17 14:11:37] local.INFO: Packet analysis {"connection_id":186648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:11:37] local.INFO: Extracted packet for processing {"connection_id":186648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:11:37] local.INFO: GPS Element Parsed {"raw_longitude":754193984,"raw_latitude":118474952,"longitude_deg":75.4193984,"latitude_deg":11.8474952,"altitude":54,"angle":256,"satellites":36,"speed":3,"hex_longitude":"2cf41640","hex_latitude":"070fc8c8","is_valid_coordinates":true} 
[2026-09-17 14:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146425856001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753003987468288,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-857935698684434432,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789634481000,"timestamp_ms":1789634481000,"timestamp_seconds":1789634481,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae870b68"} 
[2026-09-17 14:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146425856001,"66":14537,"35":206,"83":41472,"24":3,"16":32753003987468288,"44":-857935698684434432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146425856001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:11:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753003987468288,"km_value":32753003987468.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-857935698684434432,"description":"Unknown IO ID 44"} 
[2026-09-17 14:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146425856001,"power":14537,"unknown_35":206,"unknown_83":41472,"ignition":3,"odometer":null,"unknown_44":-857935698684434432}} 
[2026-09-17 14:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":186648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:11:37] local.INFO: GPS data processed {"connection_id":186648,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:11:37] local.INFO: Acknowledgment sent {"connection_id":186648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:11:55] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:11:55] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:11:55] local.INFO: Packet analysis {"connection_id":185339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:11:55] local.INFO: Extracted packet for processing {"connection_id":185339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146293248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146293248001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146293248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:11:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:11:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146293248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":185339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:11:55] local.INFO: GPS data processed {"connection_id":185339,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:11:55] local.INFO: Acknowledgment sent {"connection_id":185339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:11:57] local.INFO: TCP Data received {"connection_id":187981,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187981,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:11:57] local.INFO: Processing buffer {"connection_id":187981,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:11:57] local.INFO: IMEI packet received {"connection_id":187981,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":187981,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:11:58] local.INFO: TCP Data received {"connection_id":185340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae873a48012d78188005f668b0000a003729..."} 
[2026-09-17 14:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae873a48012d78188005f668b0000a003729..."} 
[2026-09-17 14:11:58] local.INFO: Processing buffer {"connection_id":185340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae873a48012d78188005f668b0000a003729..."} 
[2026-09-17 14:11:58] local.INFO: Packet analysis {"connection_id":185340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:11:58] local.INFO: Extracted packet for processing {"connection_id":185340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:11:58] local.INFO: GPS Element Parsed {"raw_longitude":762845312,"raw_latitude":100034736,"longitude_deg":76.2845312,"latitude_deg":10.0034736,"altitude":10,"angle":55,"satellites":41,"speed":10,"hex_longitude":"2d781880","hex_latitude":"05f668b0","is_valid_coordinates":true} 
[2026-09-17 14:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146426368001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134171385302876160,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8644518772857358336,"note":"Value kept but may cause issues"} 
[2026-09-17 14:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789634493000,"timestamp_ms":1789634493000,"timestamp_seconds":1789634493,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae873a48"} 
[2026-09-17 14:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 14:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146426368001,"66":13678,"78":206,"87":12032,"24":10,"16":134171385302876160,"45":8644518772857358336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,87,24,16,45]} 
[2026-09-17 14:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146426368001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:11:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-17 14:11:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134171385302876160,"km_value":134171385302876.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8644518772857358336,"description":"Unknown IO ID 45"} 
[2026-09-17 14:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146426368001,"power":13678,"unknown_78":206,"unknown_87":12032,"ignition":10,"odometer":null,"unknown_45":8644518772857358336}} 
[2026-09-17 14:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":185340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:11:58] local.INFO: GPS data processed {"connection_id":185340,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:11:58] local.INFO: Acknowledgment sent {"connection_id":185340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:12:02] local.INFO: TCP Data received {"connection_id":187981,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187981,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:12:02] local.INFO: Processing buffer {"connection_id":187981,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:12:02] local.INFO: IMEI packet received {"connection_id":187981,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":187981,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:12:03] local.INFO: TCP Data received {"connection_id":187981,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:12:03] local.INFO: Processing buffer {"connection_id":187981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:12:03] local.INFO: Packet analysis {"connection_id":187981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:12:03] local.INFO: Extracted packet for processing {"connection_id":187981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118474896,"longitude_deg":75.4193792,"latitude_deg":11.8474896,"altitude":53,"angle":253,"satellites":34,"speed":2,"hex_longitude":"2cf41580","hex_latitude":"070fc890","is_valid_coordinates":true} 
[2026-09-17 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858428279893735424,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634483000,"timestamp_ms":1789634483000,"timestamp_seconds":1789634483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae871338"} 
[2026-09-17 14:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 14:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427136001,"66":14396,"35":206,"83":41472,"24":2,"16":32753012577402880,"44":-858428279893735424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:12:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858428279893735424,"description":"Unknown IO ID 44"} 
[2026-09-17 14:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427136001,"power":14396,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-858428279893735424}} 
[2026-09-17 14:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":187981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:12:03] local.INFO: GPS data processed {"connection_id":187981,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:12:03] local.INFO: Acknowledgment sent {"connection_id":187981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:12:20] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:12:20] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:12:20] local.INFO: IMEI packet received {"connection_id":186650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":186650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:12:24] local.INFO: TCP Data received {"connection_id":185341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:12:24] local.INFO: Processing buffer {"connection_id":185341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:12:24] local.INFO: IMEI packet received {"connection_id":185341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":185341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:12:25] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:12:25] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:12:25] local.INFO: IMEI packet received {"connection_id":186650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":186650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:12:26] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:12:26] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae83a838012d34c14006aa4438000c010129..."} 
[2026-09-17 14:12:26] local.INFO: Packet analysis {"connection_id":186650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:12:26] local.INFO: Extracted packet for processing {"connection_id":186650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae83"} 
[2026-09-17 14:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146293248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789634259000,"timestamp_ms":1789634259000,"timestamp_seconds":1789634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae83a838"} 
[2026-09-17 14:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146293248001,"66":25495,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146293248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:12:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:12:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146293248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":186650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:12:26] local.INFO: GPS data processed {"connection_id":186650,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:12:26] local.INFO: Acknowledgment sent {"connection_id":186650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:12:30] local.INFO: TCP Data received {"connection_id":185341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:12:30] local.INFO: Processing buffer {"connection_id":185341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:12:30] local.INFO: IMEI packet received {"connection_id":185341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":185341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:12:31] local.INFO: TCP Data received {"connection_id":185341,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae873a48012d78188005f668b0000a003729..."} 
[2026-09-17 14:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae873a48012d78188005f668b0000a003729..."} 
[2026-09-17 14:12:31] local.INFO: Processing buffer {"connection_id":185341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae873a48012d78188005f668b0000a003729..."} 
[2026-09-17 14:12:31] local.INFO: Packet analysis {"connection_id":185341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:12:31] local.INFO: Extracted packet for processing {"connection_id":185341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:12:31] local.INFO: GPS Element Parsed {"raw_longitude":762845312,"raw_latitude":100034736,"longitude_deg":76.2845312,"latitude_deg":10.0034736,"altitude":10,"angle":55,"satellites":41,"speed":10,"hex_longitude":"2d781880","hex_latitude":"05f668b0","is_valid_coordinates":true} 
[2026-09-17 14:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146430208001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134171385302876160,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8653807447089655808,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789634493000,"timestamp_ms":1789634493000,"timestamp_seconds":1789634493,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae873a48"} 
[2026-09-17 14:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 14:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146430208001,"66":13678,"78":206,"87":12032,"24":10,"16":134171385302876160,"45":8653807447089655808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,87,24,16,45]} 
[2026-09-17 14:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146430208001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:12:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-17 14:12:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134171385302876160,"km_value":134171385302876.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8653807447089655808,"description":"Unknown IO ID 45"} 
[2026-09-17 14:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146430208001,"power":13678,"unknown_78":206,"unknown_87":12032,"ignition":10,"odometer":null,"unknown_45":8653807447089655808}} 
[2026-09-17 14:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":185341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:12:31] local.INFO: GPS data processed {"connection_id":185341,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:12:31] local.INFO: Acknowledgment sent {"connection_id":185341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:12:34] local.INFO: TCP Data received {"connection_id":187981,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:12:34] local.INFO: Processing buffer {"connection_id":187981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:12:34] local.INFO: Packet analysis {"connection_id":187981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:12:34] local.INFO: Extracted packet for processing {"connection_id":187981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118474896,"longitude_deg":75.4193792,"latitude_deg":11.8474896,"altitude":53,"angle":253,"satellites":34,"speed":2,"hex_longitude":"2cf41580","hex_latitude":"070fc890","is_valid_coordinates":true} 
[2026-09-17 14:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634483000,"timestamp_ms":1789634483000,"timestamp_seconds":1789634483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae871338"} 
[2026-09-17 14:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187981,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427648001,"66":14396,"35":206,"83":41472,"24":2,"16":32753012577402880,"44":-858639386126282752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:12:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:12:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427648001,"power":14396,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-858639386126282752}} 
[2026-09-17 14:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":187981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:12:34] local.INFO: GPS data processed {"connection_id":187981,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:12:34] local.INFO: Acknowledgment sent {"connection_id":187981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:12:57] local.INFO: TCP Data received {"connection_id":185207,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185207,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:12:57] local.INFO: Processing buffer {"connection_id":185207,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:12:57] local.INFO: IMEI packet received {"connection_id":185207,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":185207,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:13:02] local.INFO: TCP Data received {"connection_id":185207,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185207,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:13:02] local.INFO: Processing buffer {"connection_id":185207,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:13:02] local.INFO: IMEI packet received {"connection_id":185207,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":185207,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:13:03] local.INFO: TCP Data received {"connection_id":185207,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:13:03] local.INFO: Processing buffer {"connection_id":185207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:13:03] local.INFO: Packet analysis {"connection_id":185207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:13:03] local.INFO: Extracted packet for processing {"connection_id":185207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118474896,"longitude_deg":75.4193792,"latitude_deg":11.8474896,"altitude":53,"angle":253,"satellites":34,"speed":2,"hex_longitude":"2cf41580","hex_latitude":"070fc890","is_valid_coordinates":true} 
[2026-09-17 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634483000,"timestamp_ms":1789634483000,"timestamp_seconds":1789634483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae871338"} 
[2026-09-17 14:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427648001,"66":14396,"35":206,"83":41472,"24":2,"16":32753012577402880,"44":-858639386126282752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:13:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427648001,"power":14396,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-858639386126282752}} 
[2026-09-17 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":185207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:13:03] local.INFO: GPS data processed {"connection_id":185207,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:13:03] local.INFO: Acknowledgment sent {"connection_id":185207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:13:03] local.INFO: TCP Data received {"connection_id":185341,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8778c8012d78384005f679100009003d27..."} 
[2026-09-17 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8778c8012d78384005f679100009003d27..."} 
[2026-09-17 14:13:03] local.INFO: Processing buffer {"connection_id":185341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8778c8012d78384005f679100009003d27..."} 
[2026-09-17 14:13:03] local.INFO: Packet analysis {"connection_id":185341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:13:03] local.INFO: Extracted packet for processing {"connection_id":185341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":762853440,"raw_latitude":100038928,"longitude_deg":76.285344,"latitude_deg":10.0038928,"altitude":9,"angle":61,"satellites":39,"speed":23,"hex_longitude":"2d783840","hex_latitude":"05f67910","is_valid_coordinates":true} 
[2026-09-17 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146430208001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134171823389540352,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8653807447089655808,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634509000,"timestamp_ms":1789634509000,"timestamp_seconds":1789634509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8778c8"} 
[2026-09-17 14:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 14:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146430208001,"66":13515,"78":206,"87":12032,"24":23,"16":134171823389540352,"45":8653807447089655808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,87,24,16,45]} 
[2026-09-17 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146430208001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:13:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-17 14:13:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134171823389540352,"km_value":134171823389540.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8653807447089655808,"description":"Unknown IO ID 45"} 
[2026-09-17 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146430208001,"power":13515,"unknown_78":206,"unknown_87":12032,"ignition":23,"odometer":null,"unknown_45":8653807447089655808}} 
[2026-09-17 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":185341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:13:03] local.INFO: GPS data processed {"connection_id":185341,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:13:03] local.INFO: Acknowledgment sent {"connection_id":185341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:13:18] local.INFO: TCP Data received {"connection_id":187983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:13:18] local.INFO: Processing buffer {"connection_id":187983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:13:18] local.INFO: IMEI packet received {"connection_id":187983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":187983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:13:19] local.INFO: TCP Data received {"connection_id":185208,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:13:19] local.INFO: Processing buffer {"connection_id":185208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:13:19] local.INFO: IMEI packet received {"connection_id":185208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":185208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:13:20] local.INFO: TCP Data received {"connection_id":187983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:13:20] local.INFO: Processing buffer {"connection_id":187983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:13:20] local.INFO: IMEI packet received {"connection_id":187983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":187983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:13:25] local.INFO: TCP Data received {"connection_id":185208,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:13:25] local.INFO: Processing buffer {"connection_id":185208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:13:25] local.INFO: IMEI packet received {"connection_id":185208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":185208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:13:25] local.INFO: TCP Data received {"connection_id":187983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:13:25] local.INFO: Processing buffer {"connection_id":187983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:13:25] local.INFO: IMEI packet received {"connection_id":187983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":187983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:13:26] local.INFO: TCP Data received {"connection_id":187983,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:13:26] local.INFO: Processing buffer {"connection_id":187983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:13:26] local.INFO: Packet analysis {"connection_id":187983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:13:26] local.INFO: Extracted packet for processing {"connection_id":187983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:13:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:13:26] 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-09-17 14:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:13:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:13:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":187983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:13:26] local.INFO: GPS data processed {"connection_id":187983,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:13:26] local.INFO: Acknowledgment sent {"connection_id":187983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:13:30] local.INFO: TCP Data received {"connection_id":185208,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae87ab90012d7858c005f68990000b004127..."} 
[2026-09-17 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae87ab90012d7858c005f68990000b004127..."} 
[2026-09-17 14:13:30] local.INFO: Processing buffer {"connection_id":185208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae87ab90012d7858c005f68990000b004127..."} 
[2026-09-17 14:13:30] local.INFO: Packet analysis {"connection_id":185208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:13:30] local.INFO: Extracted packet for processing {"connection_id":185208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:13:30] local.INFO: GPS Element Parsed {"raw_longitude":762861760,"raw_latitude":100043152,"longitude_deg":76.286176,"latitude_deg":10.0043152,"altitude":11,"angle":65,"satellites":39,"speed":36,"hex_longitude":"2d7858c0","hex_latitude":"05f68990","is_valid_coordinates":true} 
[2026-09-17 14:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146434304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134172274361106432,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8662744277601292288,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789634522000,"timestamp_ms":1789634522000,"timestamp_seconds":1789634522,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae87ab90"} 
[2026-09-17 14:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 14:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146434304001,"66":13189,"78":206,"87":12032,"24":36,"16":134172274361106432,"45":8662744277601292288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,87,24,16,45]} 
[2026-09-17 14:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146434304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:13:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-17 14:13:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134172274361106432,"km_value":134172274361106.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8662744277601292288,"description":"Unknown IO ID 45"} 
[2026-09-17 14:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146434304001,"power":13189,"unknown_78":206,"unknown_87":12032,"ignition":36,"odometer":null,"unknown_45":8662744277601292288}} 
[2026-09-17 14:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":185208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:13:30] local.INFO: GPS data processed {"connection_id":185208,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:13:30] local.INFO: Acknowledgment sent {"connection_id":185208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:13:34] local.INFO: TCP Data received {"connection_id":185207,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:13:34] local.INFO: Processing buffer {"connection_id":185207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:13:34] local.INFO: Packet analysis {"connection_id":185207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:13:34] local.INFO: Extracted packet for processing {"connection_id":185207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:13:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118474896,"longitude_deg":75.4193792,"latitude_deg":11.8474896,"altitude":53,"angle":253,"satellites":34,"speed":2,"hex_longitude":"2cf41580","hex_latitude":"070fc890","is_valid_coordinates":true} 
[2026-09-17 14:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634483000,"timestamp_ms":1789634483000,"timestamp_seconds":1789634483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae871338"} 
[2026-09-17 14:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427648001,"66":14396,"35":206,"83":41472,"24":2,"16":32753012577402880,"44":-858639386126282752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:13:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:13:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427648001,"power":14396,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-858639386126282752}} 
[2026-09-17 14:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":185207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855851,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:13:34] local.INFO: GPS data processed {"connection_id":185207,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:13:34] local.INFO: Acknowledgment sent {"connection_id":185207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:13:57] local.INFO: TCP Data received {"connection_id":185209,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:13:57] local.INFO: Processing buffer {"connection_id":185209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:13:57] local.INFO: IMEI packet received {"connection_id":185209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":185209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:13:58] local.INFO: TCP Data received {"connection_id":187983,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:13:58] local.INFO: Processing buffer {"connection_id":187983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:13:58] local.INFO: Packet analysis {"connection_id":187983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:13:58] local.INFO: Extracted packet for processing {"connection_id":187983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:13:58] 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-09-17 14:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:13:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:13:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":187983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:13:58] local.INFO: GPS data processed {"connection_id":187983,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:13:58] local.INFO: Acknowledgment sent {"connection_id":187983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:14:01] local.INFO: TCP Data received {"connection_id":185208,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae87de58012d78794005f69538000c004e25..."} 
[2026-09-17 14:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae87de58012d78794005f69538000c004e25..."} 
[2026-09-17 14:14:01] local.INFO: Processing buffer {"connection_id":185208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae87de58012d78794005f69538000c004e25..."} 
[2026-09-17 14:14:01] local.INFO: Packet analysis {"connection_id":185208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:14:01] local.INFO: Extracted packet for processing {"connection_id":185208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:14:01] local.INFO: GPS Element Parsed {"raw_longitude":762870080,"raw_latitude":100046136,"longitude_deg":76.287008,"latitude_deg":10.0046136,"altitude":12,"angle":78,"satellites":37,"speed":19,"hex_longitude":"2d787940","hex_latitude":"05f69538","is_valid_coordinates":true} 
[2026-09-17 14:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146437632001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134172695267901440,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8671892214345469952,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789634535000,"timestamp_ms":1789634535000,"timestamp_seconds":1789634535,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae87de58"} 
[2026-09-17 14:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 14:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146437632001,"66":13580,"78":206,"87":12032,"24":19,"16":134172695267901440,"45":8671892214345469952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,87,24,16,45]} 
[2026-09-17 14:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146437632001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:14:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-17 14:14:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134172695267901440,"km_value":134172695267901.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8671892214345469952,"description":"Unknown IO ID 45"} 
[2026-09-17 14:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146437632001,"power":13580,"unknown_78":206,"unknown_87":12032,"ignition":19,"odometer":null,"unknown_45":8671892214345469952}} 
[2026-09-17 14:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":185208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:14:01] local.INFO: GPS data processed {"connection_id":185208,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:14:01] local.INFO: Acknowledgment sent {"connection_id":185208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:14:02] local.INFO: TCP Data received {"connection_id":185209,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:14:02] local.INFO: Processing buffer {"connection_id":185209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:14:02] local.INFO: IMEI packet received {"connection_id":185209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":185209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:14:03] local.INFO: TCP Data received {"connection_id":185209,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:14:03] local.INFO: Processing buffer {"connection_id":185209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:14:03] local.INFO: Packet analysis {"connection_id":185209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:14:03] local.INFO: Extracted packet for processing {"connection_id":185209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118474896,"longitude_deg":75.4193792,"latitude_deg":11.8474896,"altitude":53,"angle":253,"satellites":34,"speed":2,"hex_longitude":"2cf41580","hex_latitude":"070fc890","is_valid_coordinates":true} 
[2026-09-17 14:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634483000,"timestamp_ms":1789634483000,"timestamp_seconds":1789634483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae871338"} 
[2026-09-17 14:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427648001,"66":14396,"35":206,"83":41472,"24":2,"16":32753012577402880,"44":-858639386126282752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:14:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427648001,"power":14396,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-858639386126282752}} 
[2026-09-17 14:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":185209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855854,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:14:03] local.INFO: GPS data processed {"connection_id":185209,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:14:03] local.INFO: Acknowledgment sent {"connection_id":185209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:14:15] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:14:15] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:14:15] local.INFO: IMEI packet received {"connection_id":186651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:14:19] local.INFO: TCP Data received {"connection_id":187984,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:14:19] local.INFO: Processing buffer {"connection_id":187984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:14:19] local.INFO: IMEI packet received {"connection_id":187984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":187984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:14:20] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:14:20] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:14:20] local.INFO: IMEI packet received {"connection_id":186651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":186651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:14:21] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:14:21] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:14:21] local.INFO: Packet analysis {"connection_id":186651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:14:21] local.INFO: Extracted packet for processing {"connection_id":186651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:14:21] 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-09-17 14:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:14:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":186651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:14:21] local.INFO: GPS data processed {"connection_id":186651,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:14:21] local.INFO: Acknowledgment sent {"connection_id":186651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:14:25] local.INFO: TCP Data received {"connection_id":187984,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:14:25] local.INFO: Processing buffer {"connection_id":187984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:14:25] local.INFO: IMEI packet received {"connection_id":187984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":187984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:14:26] local.INFO: TCP Data received {"connection_id":187984,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8818f0012d788b8005f698d0000e005927..."} 
[2026-09-17 14:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8818f0012d788b8005f698d0000e005927..."} 
[2026-09-17 14:14:26] local.INFO: Processing buffer {"connection_id":187984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8818f0012d788b8005f698d0000e005927..."} 
[2026-09-17 14:14:26] local.INFO: Packet analysis {"connection_id":187984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:14:26] local.INFO: Extracted packet for processing {"connection_id":187984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:14:26] local.INFO: GPS Element Parsed {"raw_longitude":762874752,"raw_latitude":100047056,"longitude_deg":76.2874752,"latitude_deg":10.0047056,"altitude":14,"angle":89,"satellites":39,"speed":5,"hex_longitude":"2d788b80","hex_latitude":"05f698d0","is_valid_coordinates":true} 
[2026-09-17 14:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146440960001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134172922901168128,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8681040151089330176,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789634550000,"timestamp_ms":1789634550000,"timestamp_seconds":1789634550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8818f0"} 
[2026-09-17 14:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635627,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2928074864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2545790531254878208,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2268743681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1756364810,"corrected_to":0} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600093519,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2236481742,"corrected_to":0} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2952867191,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2147874395,"corrected_to":0} 
[2026-09-17 14:14:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786499,"corrected_to":0} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826511570383273,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2881748992,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4132927488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":119,"raw_value":-3476772356889247733,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.WARNING: Large IO value detected {"io_id":47,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:26] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,78,87,24,241,157,16,173,160,171,45,192,137,11,39,10,66,172,120,64,121,9,58,128,1,240,110,227,174,246,4,113,205,255,247,200,37,239,52,79,2,220,5,25,119,47],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":246,"original":1756364810,"validated":0},{"io_id":205,"original":2236481742,"validated":0},{"io_id":247,"original":2147874395,"validated":0},{"io_id":200,"original":786499,"validated":0}]} 
[2026-09-17 14:14:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864777049277136896,"timestamp_seconds":864777049277136.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146440960001,"66":13243,"78":206,"87":12032,"24":5,"16":134172922901168128,"45":8681040151089330176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,87,24,16,45]} 
[2026-09-17 14:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146440960001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:14:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-17 14:14:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134172922901168128,"km_value":134172922901168.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8681040151089330176,"description":"Unknown IO ID 45"} 
[2026-09-17 14:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146440960001,"power":13243,"unknown_78":206,"unknown_87":12032,"ignition":5,"odometer":null,"unknown_45":8681040151089330176}} 
[2026-09-17 14:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":187984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:14:26] local.INFO: GPS data processed {"connection_id":187984,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:14:26] local.INFO: Acknowledgment sent {"connection_id":187984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:14:34] local.INFO: TCP Data received {"connection_id":185209,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:14:34] local.INFO: Processing buffer {"connection_id":185209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:14:34] local.INFO: Packet analysis {"connection_id":185209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:14:34] local.INFO: Extracted packet for processing {"connection_id":185209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118474896,"longitude_deg":75.4193792,"latitude_deg":11.8474896,"altitude":53,"angle":253,"satellites":34,"speed":2,"hex_longitude":"2cf41580","hex_latitude":"070fc890","is_valid_coordinates":true} 
[2026-09-17 14:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634483000,"timestamp_ms":1789634483000,"timestamp_seconds":1789634483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae871338"} 
[2026-09-17 14:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427648001,"66":14396,"35":206,"83":41472,"24":2,"16":32753012577402880,"44":-858639386126282752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:14:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:14:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427648001,"power":14396,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-858639386126282752}} 
[2026-09-17 14:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":185209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:14:34] local.INFO: GPS data processed {"connection_id":185209,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:14:34] local.INFO: Acknowledgment sent {"connection_id":185209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:14:55] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:14:55] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:14:55] local.INFO: Packet analysis {"connection_id":186651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:14:55] local.INFO: Extracted packet for processing {"connection_id":186651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:14:55] 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-09-17 14:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:14:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":186651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:14:55] local.INFO: GPS data processed {"connection_id":186651,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:14:55] local.INFO: Acknowledgment sent {"connection_id":186651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:14:58] local.INFO: TCP Data received {"connection_id":187984,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae885388012d78994005f69a88000e004e28..."} 
[2026-09-17 14:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae885388012d78994005f69a88000e004e28..."} 
[2026-09-17 14:14:58] local.INFO: Processing buffer {"connection_id":187984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae885388012d78994005f69a88000e004e28..."} 
[2026-09-17 14:14:58] local.INFO: Packet analysis {"connection_id":187984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:14:58] local.INFO: Extracted packet for processing {"connection_id":187984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:14:58] local.INFO: GPS Element Parsed {"raw_longitude":762878272,"raw_latitude":100047496,"longitude_deg":76.2878272,"latitude_deg":10.0047496,"altitude":14,"angle":78,"satellites":40,"speed":10,"hex_longitude":"2d789940","hex_latitude":"05f69a88","is_valid_coordinates":true} 
[2026-09-17 14:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146444800001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134173090404892672,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8686177069414535168,"note":"Value kept but may cause issues"} 
[2026-09-17 14:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789634565000,"timestamp_ms":1789634565000,"timestamp_seconds":1789634565,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae885388"} 
[2026-09-17 14:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 14:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":187984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":187984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":187984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146444800001,"66":13656,"190":206,"87":12032,"24":10,"16":134173090404892672,"45":8686177069414535168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-09-17 14:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146444800001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:14:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-17 14:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134173090404892672,"km_value":134173090404892.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8686177069414535168,"description":"Unknown IO ID 45"} 
[2026-09-17 14:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146444800001,"power":13656,"unknown_190":206,"unknown_87":12032,"ignition":10,"odometer":null,"unknown_45":8686177069414535168}} 
[2026-09-17 14:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":187984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:14:58] local.INFO: GPS data processed {"connection_id":187984,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:14:58] local.INFO: Acknowledgment sent {"connection_id":187984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:15:02] local.INFO: TCP Data received {"connection_id":185343,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:15:02] local.INFO: Processing buffer {"connection_id":185343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:15:02] local.INFO: IMEI packet received {"connection_id":185343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":185343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:15:07] local.INFO: TCP Data received {"connection_id":185343,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:15:07] local.INFO: Processing buffer {"connection_id":185343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:15:07] local.INFO: IMEI packet received {"connection_id":185343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":185343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:15:08] local.INFO: TCP Data received {"connection_id":185343,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:15:08] local.INFO: Processing buffer {"connection_id":185343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:15:08] local.INFO: Packet analysis {"connection_id":185343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:15:08] local.INFO: Extracted packet for processing {"connection_id":185343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:15:08] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118474896,"longitude_deg":75.4193792,"latitude_deg":11.8474896,"altitude":53,"angle":253,"satellites":34,"speed":2,"hex_longitude":"2cf41580","hex_latitude":"070fc890","is_valid_coordinates":true} 
[2026-09-17 14:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789634483000,"timestamp_ms":1789634483000,"timestamp_seconds":1789634483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae871338"} 
[2026-09-17 14:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427648001,"66":14396,"35":206,"83":41472,"24":2,"16":32753012577402880,"44":-858639386126282752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:15:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:15:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427648001,"power":14396,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-858639386126282752}} 
[2026-09-17 14:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":185343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:15:08] local.INFO: GPS data processed {"connection_id":185343,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:15:08] local.INFO: Acknowledgment sent {"connection_id":185343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:15:15] local.INFO: TCP Data received {"connection_id":186652,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:15:15] local.INFO: Processing buffer {"connection_id":186652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:15:15] local.INFO: IMEI packet received {"connection_id":186652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":186652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:15:15] local.INFO: TCP Data received {"connection_id":185210,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:15:15] local.INFO: Processing buffer {"connection_id":185210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:15:15] local.INFO: IMEI packet received {"connection_id":185210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":185210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:15:20] local.INFO: TCP Data received {"connection_id":185210,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:15:20] local.INFO: Processing buffer {"connection_id":185210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:15:20] local.INFO: IMEI packet received {"connection_id":185210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":185210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:15:22] local.INFO: TCP Data received {"connection_id":185210,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:15:22] local.INFO: Processing buffer {"connection_id":185210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:15:22] local.INFO: Packet analysis {"connection_id":185210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:15:22] local.INFO: Extracted packet for processing {"connection_id":185210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:15:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:15:22] 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-09-17 14:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:15:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":185210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:15:22] local.INFO: GPS data processed {"connection_id":185210,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:15:22] local.INFO: Acknowledgment sent {"connection_id":185210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:15:32] local.INFO: TCP Data received {"connection_id":185344,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:15:32] local.INFO: Processing buffer {"connection_id":185344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:15:32] local.INFO: IMEI packet received {"connection_id":185344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":185344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:15:33] local.INFO: TCP Data received {"connection_id":185344,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 14:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185344,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 14:15:33] local.INFO: Processing buffer {"connection_id":185344,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 14:15:33] local.INFO: IMEI packet received {"connection_id":185344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":185344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:15:33] local.INFO: TCP Data received {"connection_id":185344,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8a5340012d78998005f71d20000e015a24..."} 
[2026-09-17 14:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8a5340012d78998005f71d20000e015a24..."} 
[2026-09-17 14:15:33] local.INFO: Processing buffer {"connection_id":185344,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0ae..."} 
[2026-09-17 14:15:33] local.INFO: IMEI packet received {"connection_id":185344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":185344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:15:34] local.INFO: TCP Data received {"connection_id":185344,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8a7280012d7891c005f73180000e014c24..."} 
[2026-09-17 14:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8a7280012d7891c005f73180000e014c24..."} 
[2026-09-17 14:15:34] local.INFO: Processing buffer {"connection_id":185344,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0ae8a5340012d78998005f71d20000e015a24..."} 
[2026-09-17 14:15:34] local.INFO: Packet analysis {"connection_id":185344,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:15:34] local.INFO: Extracted packet for processing {"connection_id":185344,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762878336,"raw_latitude":100080928,"longitude_deg":76.2878336,"latitude_deg":10.0080928,"altitude":14,"angle":346,"satellites":36,"speed":27,"hex_longitude":"2d789980","hex_latitude":"05f71d20","is_valid_coordinates":true} 
[2026-09-17 14:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146478592001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134175173464031232,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8693213943838789632,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634696000,"timestamp_ms":1789634696000,"timestamp_seconds":1789634696,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8a5340"} 
[2026-09-17 14:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 14:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146478592001,"66":13428,"188":206,"87":12032,"24":27,"16":134175173464031232,"45":8693213943838789632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-09-17 14:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146478592001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:15:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-17 14:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134175173464031232,"km_value":134175173464031.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8693213943838789632,"description":"Unknown IO ID 45"} 
[2026-09-17 14:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146478592001,"power":13428,"unknown_188":206,"unknown_87":12032,"ignition":27,"odometer":null,"unknown_45":8693213943838789632}} 
[2026-09-17 14:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":185344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:15:34] local.INFO: GPS data processed {"connection_id":185344,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:15:34] local.INFO: Acknowledgment sent {"connection_id":185344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:15:34] local.INFO: Packet analysis {"connection_id":185344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:15:34] local.INFO: Extracted packet for processing {"connection_id":185344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762876352,"raw_latitude":100086144,"longitude_deg":76.2876352,"latitude_deg":10.0086144,"altitude":14,"angle":332,"satellites":36,"speed":26,"hex_longitude":"2d7891c0","hex_latitude":"05f73180","is_valid_coordinates":true} 
[2026-09-17 14:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146482176001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134175444046970880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8690117719097155584,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634704000,"timestamp_ms":1789634704000,"timestamp_seconds":1789634704,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8a7280"} 
[2026-09-17 14:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 14:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146482176001,"66":13526,"188":206,"87":12032,"24":26,"16":134175444046970880,"45":8690117719097155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-09-17 14:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146482176001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:15:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-17 14:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134175444046970880,"km_value":134175444046970.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8690117719097155584,"description":"Unknown IO ID 45"} 
[2026-09-17 14:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146482176001,"power":13526,"unknown_188":206,"unknown_87":12032,"ignition":26,"odometer":null,"unknown_45":8690117719097155584}} 
[2026-09-17 14:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":185344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:15:34] local.INFO: GPS data processed {"connection_id":185344,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:15:34] local.INFO: Acknowledgment sent {"connection_id":185344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:15:35] local.INFO: TCP Data received {"connection_id":185344,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8a9990012d7887c005f746f8000d015926..."} 
[2026-09-17 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8a9990012d7887c005f746f8000d015926..."} 
[2026-09-17 14:15:35] local.INFO: Processing buffer {"connection_id":185344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8a9990012d7887c005f746f8000d015926..."} 
[2026-09-17 14:15:35] local.INFO: Packet analysis {"connection_id":185344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:15:35] local.INFO: Extracted packet for processing {"connection_id":185344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:15:35] local.INFO: GPS Element Parsed {"raw_longitude":762873792,"raw_latitude":100091640,"longitude_deg":76.2873792,"latitude_deg":10.009164,"altitude":13,"angle":345,"satellites":38,"speed":26,"hex_longitude":"2d7887c0","hex_latitude":"05f746f8","is_valid_coordinates":true} 
[2026-09-17 14:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146484224001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134175740399714304,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8687936288028983296,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789634714000,"timestamp_ms":1789634714000,"timestamp_seconds":1789634714,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8a9990"} 
[2026-09-17 14:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 14:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146484224001,"66":13504,"188":206,"87":12032,"24":26,"16":134175740399714304,"45":8687936288028983296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-09-17 14:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146484224001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:15:35] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-17 14:15:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134175740399714304,"km_value":134175740399714.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8687936288028983296,"description":"Unknown IO ID 45"} 
[2026-09-17 14:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146484224001,"power":13504,"unknown_188":206,"unknown_87":12032,"ignition":26,"odometer":null,"unknown_45":8687936288028983296}} 
[2026-09-17 14:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":185344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:15:35] local.INFO: GPS data processed {"connection_id":185344,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:15:35] local.INFO: Acknowledgment sent {"connection_id":185344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:15:39] local.INFO: TCP Data received {"connection_id":185343,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:15:39] local.INFO: Processing buffer {"connection_id":185343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:15:39] local.INFO: Packet analysis {"connection_id":185343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:15:39] local.INFO: Extracted packet for processing {"connection_id":185343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:15:39] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118474896,"longitude_deg":75.4193792,"latitude_deg":11.8474896,"altitude":53,"angle":253,"satellites":34,"speed":2,"hex_longitude":"2cf41580","hex_latitude":"070fc890","is_valid_coordinates":true} 
[2026-09-17 14:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789634483000,"timestamp_ms":1789634483000,"timestamp_seconds":1789634483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae871338"} 
[2026-09-17 14:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427648001,"66":14396,"35":206,"83":41472,"24":2,"16":32753012577402880,"44":-858639386126282752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:15:39] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:15:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427648001,"power":14396,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-858639386126282752}} 
[2026-09-17 14:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":185343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:15:39] local.INFO: GPS data processed {"connection_id":185343,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:15:39] local.INFO: Acknowledgment sent {"connection_id":185343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:15:50] local.INFO: TCP Data received {"connection_id":185211,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:15:50] local.INFO: Processing buffer {"connection_id":185211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:15:50] local.INFO: IMEI packet received {"connection_id":185211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":185211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:15:53] local.INFO: TCP Data received {"connection_id":185210,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:15:53] local.INFO: Processing buffer {"connection_id":185210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:15:53] local.INFO: Packet analysis {"connection_id":185210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:15:53] local.INFO: Extracted packet for processing {"connection_id":185210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:15:53] 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-09-17 14:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":185210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:15:53] local.INFO: GPS data processed {"connection_id":185210,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:15:53] local.INFO: Acknowledgment sent {"connection_id":185210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:15:57] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:15:57] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:15:57] local.INFO: IMEI packet received {"connection_id":186653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":186653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:16:03] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:16:03] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:16:03] local.INFO: IMEI packet received {"connection_id":186653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":186653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:16:04] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:16:04] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae871338012cf41580070fc890003500fd22..."} 
[2026-09-17 14:16:04] local.INFO: Packet analysis {"connection_id":186653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:16:04] local.INFO: Extracted packet for processing {"connection_id":186653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae87"} 
[2026-09-17 14:16:04] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118474896,"longitude_deg":75.4193792,"latitude_deg":11.8474896,"altitude":53,"angle":253,"satellites":34,"speed":2,"hex_longitude":"2cf41580","hex_latitude":"070fc890","is_valid_coordinates":true} 
[2026-09-17 14:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789634483000,"timestamp_ms":1789634483000,"timestamp_seconds":1789634483,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae871338"} 
[2026-09-17 14:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427648001,"66":14396,"35":206,"83":41472,"24":2,"16":32753012577402880,"44":-858639386126282752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-17 14:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:16:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 14:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427648001,"power":14396,"unknown_35":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-858639386126282752}} 
[2026-09-17 14:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":186653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:16:04] local.INFO: GPS data processed {"connection_id":186653,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:16:04] local.INFO: Acknowledgment sent {"connection_id":186653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:16:20] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:16:20] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:16:20] local.INFO: IMEI packet received {"connection_id":185345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:16:20] local.INFO: TCP Data received {"connection_id":185212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:16:20] local.INFO: Processing buffer {"connection_id":185212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:16:20] local.INFO: IMEI packet received {"connection_id":185212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:16:20] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:16:20] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:16:20] local.INFO: IMEI packet received {"connection_id":185345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:16:25] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:16:25] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:16:25] local.INFO: IMEI packet received {"connection_id":185345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":185345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:16:25] local.INFO: TCP Data received {"connection_id":185212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:16:25] local.INFO: Processing buffer {"connection_id":185212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:16:25] local.INFO: IMEI packet received {"connection_id":185212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":185212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:16:25] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8adbf8012d7882c005f76a38000b016425..."} 
[2026-09-17 14:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8adbf8012d7882c005f76a38000b016425..."} 
[2026-09-17 14:16:25] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8adbf8012d7882c005f76a38000b016425..."} 
[2026-09-17 14:16:25] local.INFO: Packet analysis {"connection_id":185345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:16:25] local.INFO: Extracted packet for processing {"connection_id":185345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:16:25] local.INFO: GPS Element Parsed {"raw_longitude":762872512,"raw_latitude":100100664,"longitude_deg":76.2872512,"latitude_deg":10.0100664,"altitude":11,"angle":356,"satellites":37,"speed":21,"hex_longitude":"2d7882c0","hex_latitude":"05f76a38","is_valid_coordinates":true} 
[2026-09-17 14:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146486784001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134176182781345792,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8685121538263283712,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789634731000,"timestamp_ms":1789634731000,"timestamp_seconds":1789634731,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8adbf8"} 
[2026-09-17 14:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-17 14:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146486784001,"66":13678,"188":206,"87":12032,"24":21,"16":134176182781345792,"45":8685121538263283712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-09-17 14:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146486784001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:16:25] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-17 14:16:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134176182781345792,"km_value":134176182781345.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8685121538263283712,"description":"Unknown IO ID 45"} 
[2026-09-17 14:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146486784001,"power":13678,"unknown_188":206,"unknown_87":12032,"ignition":21,"odometer":null,"unknown_45":8685121538263283712}} 
[2026-09-17 14:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":185345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:16:25] local.INFO: GPS data processed {"connection_id":185345,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:16:25] local.INFO: Acknowledgment sent {"connection_id":185345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:16:27] local.INFO: TCP Data received {"connection_id":185212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:16:27] local.INFO: Processing buffer {"connection_id":185212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:16:27] local.INFO: Packet analysis {"connection_id":185212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:16:27] local.INFO: Extracted packet for processing {"connection_id":185212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:16:27] 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-09-17 14:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:16:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:16:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":185212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:16:27] local.INFO: GPS data processed {"connection_id":185212,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:16:27] local.INFO: Acknowledgment sent {"connection_id":185212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:16:30] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8adbf8012d7882c005f76a38000b016425..."} 
[2026-09-17 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8adbf8012d7882c005f76a38000b016425..."} 
[2026-09-17 14:16:30] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8adbf8012d7882c005f76a38000b016425..."} 
[2026-09-17 14:16:30] local.INFO: Packet analysis {"connection_id":185345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:16:30] local.INFO: Extracted packet for processing {"connection_id":185345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":762872512,"raw_latitude":100100664,"longitude_deg":76.2872512,"latitude_deg":10.0100664,"altitude":11,"angle":356,"satellites":37,"speed":21,"hex_longitude":"2d7882c0","hex_latitude":"05f76a38","is_valid_coordinates":true} 
[2026-09-17 14:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146491136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134176182781345792,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8683714163382040576,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789634731000,"timestamp_ms":1789634731000,"timestamp_seconds":1789634731,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8adbf8"} 
[2026-09-17 14:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 14:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146491136001,"66":13678,"188":206,"87":12032,"24":21,"16":134176182781345792,"45":8683714163382040576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-09-17 14:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146491136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:16:30] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-17 14:16:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134176182781345792,"km_value":134176182781345.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8683714163382040576,"description":"Unknown IO ID 45"} 
[2026-09-17 14:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146491136001,"power":13678,"unknown_188":206,"unknown_87":12032,"ignition":21,"odometer":null,"unknown_45":8683714163382040576}} 
[2026-09-17 14:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":185345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:16:30] local.INFO: GPS data processed {"connection_id":185345,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:16:30] local.INFO: Acknowledgment sent {"connection_id":185345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:16:31] local.INFO: TCP Data received {"connection_id":185212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:16:31] local.INFO: Processing buffer {"connection_id":185212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:16:31] local.INFO: Packet analysis {"connection_id":185212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:16:31] local.INFO: Extracted packet for processing {"connection_id":185212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:16:31] 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-09-17 14:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":185212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:16:31] local.INFO: GPS data processed {"connection_id":185212,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:16:31] local.INFO: Acknowledgment sent {"connection_id":185212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:16:35] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8baee8012cf41700070fc818003400f426..."} 
[2026-09-17 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8baee8012cf41700070fc818003400f426..."} 
[2026-09-17 14:16:35] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8baee8012cf41700070fc818003400f426..."} 
[2026-09-17 14:16:35] local.INFO: Packet analysis {"connection_id":186653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8b"} 
[2026-09-17 14:16:35] local.INFO: Extracted packet for processing {"connection_id":186653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8b"} 
[2026-09-17 14:16:35] local.INFO: GPS Element Parsed {"raw_longitude":754194176,"raw_latitude":118474776,"longitude_deg":75.4194176,"latitude_deg":11.8474776,"altitude":52,"angle":244,"satellites":38,"speed":0,"hex_longitude":"2cf41700","hex_latitude":"070fc818","is_valid_coordinates":true} 
[2026-09-17 14:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146427648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386126282752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789634785000,"timestamp_ms":1789634785000,"timestamp_seconds":1789634785,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8baee8"} 
[2026-09-17 14:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146427648001,"66":12939,"216":206,"83":41472,"24":0,"16":32753012577402880,"44":-858639386126282752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146427648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:16:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386126282752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146427648001,"power":12939,"unknown_216":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858639386126282752}} 
[2026-09-17 14:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":186653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:16:35] local.INFO: GPS data processed {"connection_id":186653,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:16:35] local.INFO: Acknowledgment sent {"connection_id":186653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:17:02] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:17:02] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:17:02] local.INFO: IMEI packet received {"connection_id":187985,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":187985,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:17:06] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8af368012d78804005f77b18000c015824..."} 
[2026-09-17 14:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8af368012d78804005f77b18000c015824..."} 
[2026-09-17 14:17:06] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8af368012d78804005f77b18000c015824..."} 
[2026-09-17 14:17:06] local.INFO: Packet analysis {"connection_id":185345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:17:06] local.INFO: Extracted packet for processing {"connection_id":185345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8a"} 
[2026-09-17 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762871872,"raw_latitude":100104984,"longitude_deg":76.2871872,"latitude_deg":10.0104984,"altitude":12,"angle":344,"satellites":36,"speed":36,"hex_longitude":"2d788040","hex_latitude":"05f77b18","is_valid_coordinates":true} 
[2026-09-17 14:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146491136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134176393234743296,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8683714163382040576,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789634737000,"timestamp_ms":1789634737000,"timestamp_seconds":1789634737,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8af368"} 
[2026-09-17 14:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 14:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146491136001,"66":13428,"249":206,"87":12032,"24":36,"16":134176393234743296,"45":8683714163382040576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-09-17 14:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146491136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:17:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-17 14:17:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134176393234743296,"km_value":134176393234743.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8683714163382040576,"description":"Unknown IO ID 45"} 
[2026-09-17 14:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146491136001,"power":13428,"unknown_249":206,"unknown_87":12032,"ignition":36,"odometer":null,"unknown_45":8683714163382040576}} 
[2026-09-17 14:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":185345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:17:06] local.INFO: GPS data processed {"connection_id":185345,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:17:06] local.INFO: Acknowledgment sent {"connection_id":185345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:17:07] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:17:07] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:17:07] local.INFO: IMEI packet received {"connection_id":187985,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":187985,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:17:09] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8c1c48012cf41700070fc818003400f425..."} 
[2026-09-17 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8c1c48012cf41700070fc818003400f425..."} 
[2026-09-17 14:17:09] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8c1c48012cf41700070fc818003400f425..."} 
[2026-09-17 14:17:09] local.INFO: Packet analysis {"connection_id":187985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:17:09] local.INFO: Extracted packet for processing {"connection_id":187985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:17:09] local.INFO: GPS Element Parsed {"raw_longitude":754194176,"raw_latitude":118474776,"longitude_deg":75.4194176,"latitude_deg":11.8474776,"altitude":52,"angle":244,"satellites":37,"speed":0,"hex_longitude":"2cf41700","hex_latitude":"070fc818","is_valid_coordinates":true} 
[2026-09-17 14:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146504960001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858217173661247488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789634813000,"timestamp_ms":1789634813000,"timestamp_seconds":1789634813,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8c1c48"} 
[2026-09-17 14:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 14:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":187985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":187985,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":187985,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146504960001,"66":12874,"225":206,"83":41472,"24":0,"16":32753012577402880,"44":-858217173661247488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-17 14:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146504960001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:17:09] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-17 14:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:17:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858217173661247488,"description":"Unknown IO ID 44"} 
[2026-09-17 14:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146504960001,"power":12874,"unknown_225":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858217173661247488}} 
[2026-09-17 14:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":187985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855874,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:17:09] local.INFO: GPS data processed {"connection_id":187985,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:17:09] local.INFO: Acknowledgment sent {"connection_id":187985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:17:12] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8c1c48012cf41700070fc818003400f425..."} 
[2026-09-17 14:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8c1c48012cf41700070fc818003400f425..."} 
[2026-09-17 14:17:12] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8c1c48012cf41700070fc818003400f425..."} 
[2026-09-17 14:17:12] local.INFO: Packet analysis {"connection_id":187985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:17:12] local.INFO: Extracted packet for processing {"connection_id":187985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:17:12] local.INFO: GPS Element Parsed {"raw_longitude":754194176,"raw_latitude":118474776,"longitude_deg":75.4194176,"latitude_deg":11.8474776,"altitude":52,"angle":244,"satellites":37,"speed":0,"hex_longitude":"2cf41700","hex_latitude":"070fc818","is_valid_coordinates":true} 
[2026-09-17 14:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146512128001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858217173661247488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789634813000,"timestamp_ms":1789634813000,"timestamp_seconds":1789634813,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8c1c48"} 
[2026-09-17 14:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 14:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187985,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187985,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146512128001,"66":12874,"225":206,"83":41472,"24":0,"16":32753012577402880,"44":-858217173661247488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-17 14:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146512128001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:17:12] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-17 14:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858217173661247488,"description":"Unknown IO ID 44"} 
[2026-09-17 14:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146512128001,"power":12874,"unknown_225":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858217173661247488}} 
[2026-09-17 14:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":187985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855875,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:17:12] local.INFO: GPS data processed {"connection_id":187985,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:17:12] local.INFO: Acknowledgment sent {"connection_id":187985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:17:15] local.INFO: TCP Data received {"connection_id":185347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:17:15] local.INFO: Processing buffer {"connection_id":185347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:17:15] local.INFO: IMEI packet received {"connection_id":185347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":185347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:17:20] local.INFO: TCP Data received {"connection_id":185347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:17:20] local.INFO: Processing buffer {"connection_id":185347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:17:20] local.INFO: IMEI packet received {"connection_id":185347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":185347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:17:20] local.INFO: TCP Data received {"connection_id":185348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:17:20] local.INFO: Processing buffer {"connection_id":185348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:17:20] local.INFO: IMEI packet received {"connection_id":185348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":185348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:17:21] local.INFO: TCP Data received {"connection_id":185347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:17:21] local.INFO: Processing buffer {"connection_id":185347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:17:21] local.INFO: Packet analysis {"connection_id":185347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:17:21] local.INFO: Extracted packet for processing {"connection_id":185347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:17:21] 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-09-17 14:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":185347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:17:21] local.INFO: GPS data processed {"connection_id":185347,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:17:21] local.INFO: Acknowledgment sent {"connection_id":185347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:17:24] local.INFO: TCP Data received {"connection_id":185348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:17:24] local.INFO: Processing buffer {"connection_id":185348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:17:24] local.INFO: IMEI packet received {"connection_id":185348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":185348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:17:25] local.INFO: TCP Data received {"connection_id":185348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8c37a0012d7938c005f7c2e0000a004c27..."} 
[2026-09-17 14:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8c37a0012d7938c005f7c2e0000a004c27..."} 
[2026-09-17 14:17:25] local.INFO: Processing buffer {"connection_id":185348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8c37a0012d7938c005f7c2e0000a004c27..."} 
[2026-09-17 14:17:25] local.INFO: Packet analysis {"connection_id":185348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:17:25] local.INFO: Extracted packet for processing {"connection_id":185348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":762919104,"raw_latitude":100123360,"longitude_deg":76.2919104,"latitude_deg":10.012336,"altitude":10,"angle":76,"satellites":39,"speed":21,"hex_longitude":"2d7938c0","hex_latitude":"05f7c2e0","is_valid_coordinates":true} 
[2026-09-17 14:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146509824001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134179150603747328,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8724668772498757632,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789634820000,"timestamp_ms":1789634820000,"timestamp_seconds":1789634820,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8c37a0"} 
[2026-09-17 14:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-17 14:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146509824001,"66":13319,"248":206,"87":12032,"24":21,"16":134179150603747328,"45":8724668772498757632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,87,24,16,45]} 
[2026-09-17 14:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146509824001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:17:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-09-17 14:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134179150603747328,"km_value":134179150603747.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8724668772498757632,"description":"Unknown IO ID 45"} 
[2026-09-17 14:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146509824001,"power":13319,"tamper_alert":206,"unknown_87":12032,"ignition":21,"odometer":null,"unknown_45":8724668772498757632}} 
[2026-09-17 14:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":185348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:17:26] local.INFO: GPS data processed {"connection_id":185348,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:17:26] local.INFO: Acknowledgment sent {"connection_id":185348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:17:52] local.INFO: TCP Data received {"connection_id":185347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:17:52] local.INFO: Processing buffer {"connection_id":185347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae884000012d34c14006aa4438000c010129..."} 
[2026-09-17 14:17:52] local.INFO: Packet analysis {"connection_id":185347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:17:52] local.INFO: Extracted packet for processing {"connection_id":185347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae88"} 
[2026-09-17 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146370304001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789634560000,"timestamp_ms":1789634560000,"timestamp_seconds":1789634560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae884000"} 
[2026-09-17 14:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 14:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:17:52] 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-09-17 14:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146370304001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146370304001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146370304001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":185347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:17:52] local.INFO: GPS data processed {"connection_id":185347,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:17:52] local.INFO: Acknowledgment sent {"connection_id":185347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:17:57] local.INFO: TCP Data received {"connection_id":185349,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:17:57] local.INFO: Processing buffer {"connection_id":185349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:17:57] local.INFO: IMEI packet received {"connection_id":185349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":185349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:17:59] local.INFO: TCP Data received {"connection_id":185348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8c6a68012d795bc005f7cac0000b004e25..."} 
[2026-09-17 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8c6a68012d795bc005f7cac0000b004e25..."} 
[2026-09-17 14:17:59] local.INFO: Processing buffer {"connection_id":185348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8c6a68012d795bc005f7cac0000b004e25..."} 
[2026-09-17 14:17:59] local.INFO: Packet analysis {"connection_id":185348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:17:59] local.INFO: Extracted packet for processing {"connection_id":185348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:17:59] local.INFO: GPS Element Parsed {"raw_longitude":762928064,"raw_latitude":100125376,"longitude_deg":76.2928064,"latitude_deg":10.0125376,"altitude":11,"angle":78,"satellites":37,"speed":38,"hex_longitude":"2d795bc0","hex_latitude":"05f7cac0","is_valid_coordinates":true} 
[2026-09-17 14:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146513920001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134179592985378816,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8734942609149190144,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789634833000,"timestamp_ms":1789634833000,"timestamp_seconds":1789634833,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8c6a68"} 
[2026-09-17 14:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2928357864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2339399681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-7298083144610995456,"corrected_to":0} 
[2026-09-17 14:17:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":754450638,"corrected_to":0} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2952867192,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2977890304,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4154142720,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57751818197686063,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3314650620551266309,"note":"Value kept but may cause issues"} 
[2026-09-17 14:17:59] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,248,87,24,241,157,16,179,160,249,45,64,187,12,39,10,66,178,198,128,180,11,37,151,1,240,29,227,174,247,4,113,205,34,100,32,239,52,2,220,5,13,9,79,139],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":247,"original":-7298083144610995456,"validated":0},{"io_id":205,"original":754450638,"validated":0}]} 
[2026-09-17 14:17:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720659670768091136,"timestamp_seconds":720659670768091.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146513920001,"66":13363,"135":206,"87":12800,"24":38,"16":134179592985378816,"45":8734942609149190144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-09-17 14:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146513920001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:17:59] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-17 14:17:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134179592985378816,"km_value":134179592985378.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8734942609149190144,"description":"Unknown IO ID 45"} 
[2026-09-17 14:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146513920001,"power":13363,"unknown_135":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8734942609149190144}} 
[2026-09-17 14:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":185348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:17:59] local.INFO: GPS data processed {"connection_id":185348,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:17:59] local.INFO: Acknowledgment sent {"connection_id":185348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:18:00] local.INFO: TCP Data received {"connection_id":185349,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:18:00] local.INFO: Processing buffer {"connection_id":185349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:18:00] local.INFO: IMEI packet received {"connection_id":185349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":185349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:18:01] local.INFO: TCP Data received {"connection_id":185349,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8c7238012cf41540070fc858003400f424..."} 
[2026-09-17 14:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8c7238012cf41540070fc858003400f424..."} 
[2026-09-17 14:18:01] local.INFO: Processing buffer {"connection_id":185349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8c7238012cf41540070fc858003400f424..."} 
[2026-09-17 14:18:01] local.INFO: Packet analysis {"connection_id":185349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:01] local.INFO: Extracted packet for processing {"connection_id":185349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:01] local.INFO: GPS Element Parsed {"raw_longitude":754193728,"raw_latitude":118474840,"longitude_deg":75.4193728,"latitude_deg":11.847484,"altitude":52,"angle":244,"satellites":36,"speed":0,"hex_longitude":"2cf41540","hex_latitude":"070fc858","is_valid_coordinates":true} 
[2026-09-17 14:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146512128001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858217173661247488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789634835000,"timestamp_ms":1789634835000,"timestamp_seconds":1789634835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8c7238"} 
[2026-09-17 14:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 14:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146512128001,"66":14439,"225":206,"83":41472,"24":0,"16":32753012577402880,"44":-858217173661247488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-17 14:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146512128001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:18:01] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-17 14:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858217173661247488,"description":"Unknown IO ID 44"} 
[2026-09-17 14:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146512128001,"power":14439,"unknown_225":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858217173661247488}} 
[2026-09-17 14:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":185349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:18:01] local.INFO: GPS data processed {"connection_id":185349,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:18:01] local.INFO: Acknowledgment sent {"connection_id":185349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:18:15] local.INFO: TCP Data received {"connection_id":185213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:18:15] local.INFO: Processing buffer {"connection_id":185213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:18:15] local.INFO: IMEI packet received {"connection_id":185213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":185213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:18:19] local.INFO: TCP Data received {"connection_id":185213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:18:19] local.INFO: Processing buffer {"connection_id":185213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:18:19] local.INFO: IMEI packet received {"connection_id":185213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":185213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:18:19] local.INFO: TCP Data received {"connection_id":185214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:18:19] local.INFO: Processing buffer {"connection_id":185214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:18:19] local.INFO: IMEI packet received {"connection_id":185214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":185214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:18:20] local.INFO: TCP Data received {"connection_id":185213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:18:20] local.INFO: Processing buffer {"connection_id":185213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:18:20] local.INFO: Packet analysis {"connection_id":185213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:20] local.INFO: Extracted packet for processing {"connection_id":185213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:18:20] 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-09-17 14:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:18:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":185213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:18:20] local.INFO: GPS data processed {"connection_id":185213,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:18:20] local.INFO: Acknowledgment sent {"connection_id":185213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:18:22] local.INFO: TCP Data received {"connection_id":185214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:18:22] local.INFO: Processing buffer {"connection_id":185214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:18:22] local.INFO: IMEI packet received {"connection_id":185214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":185214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:18:25] local.INFO: TCP Data received {"connection_id":185214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:18:25] local.INFO: Processing buffer {"connection_id":185214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:18:25] local.INFO: IMEI packet received {"connection_id":185214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":185214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:18:29] local.INFO: TCP Data received {"connection_id":185214,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8c8d90012d796c0005f7ce50000c004124..."} 
[2026-09-17 14:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8c8d90012d796c0005f7ce50000c004124..."} 
[2026-09-17 14:18:29] local.INFO: Processing buffer {"connection_id":185214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8c8d90012d796c0005f7ce50000c004124..."} 
[2026-09-17 14:18:29] local.INFO: Packet analysis {"connection_id":185214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:29] local.INFO: Extracted packet for processing {"connection_id":185214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:29] local.INFO: GPS Element Parsed {"raw_longitude":762932224,"raw_latitude":100126288,"longitude_deg":76.2932224,"latitude_deg":10.0126288,"altitude":12,"angle":65,"satellites":36,"speed":7,"hex_longitude":"2d796c00","hex_latitude":"05f7ce50","is_valid_coordinates":true} 
[2026-09-17 14:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146517248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134179794848841728,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8744794233334579200,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789634842000,"timestamp_ms":1789634842000,"timestamp_seconds":1789634842,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8c8d90"} 
[2026-09-17 14:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 14:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146517248001,"66":12722,"135":206,"87":12800,"24":7,"16":134179794848841728,"45":8744794233334579200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-09-17 14:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146517248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:18:29] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-17 14:18:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134179794848841728,"km_value":134179794848841.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8744794233334579200,"description":"Unknown IO ID 45"} 
[2026-09-17 14:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146517248001,"power":12722,"unknown_135":206,"unknown_87":12800,"ignition":7,"odometer":null,"unknown_45":8744794233334579200}} 
[2026-09-17 14:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":185214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:18:29] local.INFO: GPS data processed {"connection_id":185214,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:18:29] local.INFO: Acknowledgment sent {"connection_id":185214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:18:32] local.INFO: TCP Data received {"connection_id":185349,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cc440012cf41540070fc858003400f422..."} 
[2026-09-17 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cc440012cf41540070fc858003400f422..."} 
[2026-09-17 14:18:32] local.INFO: Processing buffer {"connection_id":185349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cc440012cf41540070fc858003400f422..."} 
[2026-09-17 14:18:32] local.INFO: Packet analysis {"connection_id":185349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:32] local.INFO: Extracted packet for processing {"connection_id":185349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":754193728,"raw_latitude":118474840,"longitude_deg":75.4193728,"latitude_deg":11.847484,"altitude":52,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2cf41540","hex_latitude":"070fc858","is_valid_coordinates":true} 
[2026-09-17 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146517760001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858709754870474752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789634856000,"timestamp_ms":1789634856000,"timestamp_seconds":1789634856,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cc440"} 
[2026-09-17 14:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 14:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146517760001,"66":14450,"225":206,"83":41472,"24":0,"16":32753012577402880,"44":-858709754870474752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-17 14:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146517760001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:18:32] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-17 14:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:18:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858709754870474752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146517760001,"power":14450,"unknown_225":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858709754870474752}} 
[2026-09-17 14:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":185349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855883,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:18:33] local.INFO: GPS data processed {"connection_id":185349,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:18:33] local.INFO: Acknowledgment sent {"connection_id":185349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:18:51] local.INFO: TCP Data received {"connection_id":185213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:18:51] local.INFO: Processing buffer {"connection_id":185213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:18:51] local.INFO: Packet analysis {"connection_id":185213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:51] local.INFO: Extracted packet for processing {"connection_id":185213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:18:51] 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-09-17 14:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:18:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":185213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:18:51] local.INFO: GPS data processed {"connection_id":185213,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:18:51] local.INFO: Acknowledgment sent {"connection_id":185213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:18:57] local.INFO: TCP Data received {"connection_id":185351,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185351,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:18:57] local.INFO: Processing buffer {"connection_id":185351,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:18:57] local.INFO: IMEI packet received {"connection_id":185351,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":185351,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:19:01] local.INFO: TCP Data received {"connection_id":185214,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8c9178012d796c8005f7cec0000b003525..."} 
[2026-09-17 14:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8c9178012d796c8005f7cec0000b003525..."} 
[2026-09-17 14:19:01] local.INFO: Processing buffer {"connection_id":185214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8c9178012d796c8005f7cec0000b003525..."} 
[2026-09-17 14:19:01] local.INFO: Packet analysis {"connection_id":185214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:19:01] local.INFO: Extracted packet for processing {"connection_id":185214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":762932352,"raw_latitude":100126400,"longitude_deg":76.2932352,"latitude_deg":10.01264,"altitude":11,"angle":53,"satellites":37,"speed":6,"hex_longitude":"2d796c80","hex_latitude":"05f7cec0","is_valid_coordinates":true} 
[2026-09-17 14:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146519552001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134179803438776320,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8749368201706360832,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789634843000,"timestamp_ms":1789634843000,"timestamp_seconds":1789634843,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8c9178"} 
[2026-09-17 14:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 14:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146519552001,"66":12722,"135":206,"87":12800,"24":6,"16":134179803438776320,"45":8749368201706360832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,87,24,16,45]} 
[2026-09-17 14:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146519552001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:19:01] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-17 14:19:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134179803438776320,"km_value":134179803438776.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8749368201706360832,"description":"Unknown IO ID 45"} 
[2026-09-17 14:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146519552001,"power":12722,"unknown_135":206,"unknown_87":12800,"ignition":6,"odometer":null,"unknown_45":8749368201706360832}} 
[2026-09-17 14:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":185214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:19:01] local.INFO: GPS data processed {"connection_id":185214,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:19:01] local.INFO: Acknowledgment sent {"connection_id":185214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:19:02] local.INFO: TCP Data received {"connection_id":185351,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185351,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:19:02] local.INFO: Processing buffer {"connection_id":185351,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:19:02] local.INFO: IMEI packet received {"connection_id":185351,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":185351,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:19:03] local.INFO: TCP Data received {"connection_id":185351,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8d1648012cf41540070fc858003400f424..."} 
[2026-09-17 14:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8d1648012cf41540070fc858003400f424..."} 
[2026-09-17 14:19:03] local.INFO: Processing buffer {"connection_id":185351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8d1648012cf41540070fc858003400f424..."} 
[2026-09-17 14:19:03] local.INFO: Packet analysis {"connection_id":185351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8d"} 
[2026-09-17 14:19:03] local.INFO: Extracted packet for processing {"connection_id":185351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8d"} 
[2026-09-17 14:19:03] local.INFO: GPS Element Parsed {"raw_longitude":754193728,"raw_latitude":118474840,"longitude_deg":75.4193728,"latitude_deg":11.847484,"altitude":52,"angle":244,"satellites":36,"speed":0,"hex_longitude":"2cf41540","hex_latitude":"070fc858","is_valid_coordinates":true} 
[2026-09-17 14:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146523136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32753012577402880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858709754870474752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634877000,"timestamp_ms":1789634877000,"timestamp_seconds":1789634877,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8d1648"} 
[2026-09-17 14:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146523136001,"66":14407,"225":206,"83":41472,"24":0,"16":32753012577402880,"44":-858709754870474752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-17 14:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146523136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:19:03] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-17 14:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32753012577402880,"km_value":32753012577402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858709754870474752,"description":"Unknown IO ID 44"} 
[2026-09-17 14:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146523136001,"power":14407,"unknown_225":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-858709754870474752}} 
[2026-09-17 14:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":185351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855886,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:19:03] local.INFO: GPS data processed {"connection_id":185351,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:19:03] local.INFO: Acknowledgment sent {"connection_id":185351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:19:15] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:19:15] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:19:15] local.INFO: IMEI packet received {"connection_id":186655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":186655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:19:20] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:19:20] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:19:20] local.INFO: IMEI packet received {"connection_id":186655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":186655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:19:21] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:19:21] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:19:21] local.INFO: Packet analysis {"connection_id":186655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:19:21] local.INFO: Extracted packet for processing {"connection_id":186655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:19:21] 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-09-17 14:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:19:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":186655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:19:21] local.INFO: GPS data processed {"connection_id":186655,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:19:21] local.INFO: Acknowledgment sent {"connection_id":186655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:19:23] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:23] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:23] local.INFO: IMEI packet received {"connection_id":187986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":187986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:19:23] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:23] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:23] local.INFO: IMEI packet received {"connection_id":187986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":187986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:19:24] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:25] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:25] local.INFO: IMEI packet received {"connection_id":187986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":187986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:19:25] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:25] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:19:25] local.INFO: IMEI packet received {"connection_id":187986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":187986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:19:26] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8e1818012d792d4005f897d8000d015126..."} 
[2026-09-17 14:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8e1818012d792d4005f897d8000d015126..."} 
[2026-09-17 14:19:26] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8e1818012d792d4005f897d8000d015126..."} 
[2026-09-17 14:19:26] local.INFO: Packet analysis {"connection_id":187986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:19:26] local.INFO: Extracted packet for processing {"connection_id":187986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762916160,"raw_latitude":100177880,"longitude_deg":76.291616,"latitude_deg":10.017788,"altitude":13,"angle":337,"satellites":38,"speed":27,"hex_longitude":"2d792d40","hex_latitude":"05f897d8","is_valid_coordinates":true} 
[2026-09-17 14:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146540288001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134182440548696064,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8735012977905207296,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789634943000,"timestamp_ms":1789634943000,"timestamp_seconds":1789634943,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8e1818"} 
[2026-09-17 14:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 14:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146540288001,"66":13493,"176":206,"87":12800,"24":27,"16":134182440548696064,"45":8735012977905207296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,87,24,16,45]} 
[2026-09-17 14:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146540288001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:19:26] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-17 14:19:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134182440548696064,"km_value":134182440548696.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8735012977905207296,"description":"Unknown IO ID 45"} 
[2026-09-17 14:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146540288001,"power":13493,"unknown_176":206,"unknown_87":12800,"ignition":27,"odometer":null,"unknown_45":8735012977905207296}} 
[2026-09-17 14:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":187986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:19:26] local.INFO: GPS data processed {"connection_id":187986,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:19:26] local.INFO: Acknowledgment sent {"connection_id":187986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:19:26] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8e4ae0012d791fc005f8b640000e014223..."} 
[2026-09-17 14:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8e4ae0012d791fc005f8b640000e014223..."} 
[2026-09-17 14:19:26] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8e4ae0012d791fc005f8b640000e014223..."} 
[2026-09-17 14:19:26] local.INFO: Packet analysis {"connection_id":187986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:19:26] local.INFO: Extracted packet for processing {"connection_id":187986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762912704,"raw_latitude":100185664,"longitude_deg":76.2912704,"latitude_deg":10.0185664,"altitude":14,"angle":322,"satellites":35,"speed":19,"hex_longitude":"2d791fc0","hex_latitude":"05f8b640","is_valid_coordinates":true} 
[2026-09-17 14:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146545408001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134182852865556480,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8731705646930974720,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789634956000,"timestamp_ms":1789634956000,"timestamp_seconds":1789634956,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8e4ae0"} 
[2026-09-17 14:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 14:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146545408001,"66":13580,"176":206,"87":12800,"24":19,"16":134182852865556480,"45":8731705646930974720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,87,24,16,45]} 
[2026-09-17 14:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146545408001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:19:26] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-17 14:19:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134182852865556480,"km_value":134182852865556.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8731705646930974720,"description":"Unknown IO ID 45"} 
[2026-09-17 14:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146545408001,"power":13580,"unknown_176":206,"unknown_87":12800,"ignition":19,"odometer":null,"unknown_45":8731705646930974720}} 
[2026-09-17 14:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":187986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:19:26] local.INFO: GPS data processed {"connection_id":187986,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:19:26] local.INFO: Acknowledgment sent {"connection_id":187986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:19:34] local.INFO: TCP Data received {"connection_id":185351,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8e2f88012cf40140070f71c80027009c29..."} 
[2026-09-17 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8e2f88012cf40140070f71c80027009c29..."} 
[2026-09-17 14:19:34] local.INFO: Processing buffer {"connection_id":185351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8e2f88012cf40140070f71c80027009c29..."} 
[2026-09-17 14:19:34] local.INFO: Packet analysis {"connection_id":185351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:19:34] local.INFO: Extracted packet for processing {"connection_id":185351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:19:34] local.INFO: GPS Element Parsed {"raw_longitude":754188608,"raw_latitude":118452680,"longitude_deg":75.4188608,"latitude_deg":11.845268,"altitude":39,"angle":156,"satellites":41,"speed":42,"hex_longitude":"2cf40140","hex_latitude":"070f71c8","is_valid_coordinates":true} 
[2026-09-17 14:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146544640001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32754511520989184,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-868139166593800192,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789634949000,"timestamp_ms":1789634949000,"timestamp_seconds":1789634949,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8e2f88"} 
[2026-09-17 14:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 14:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146544640001,"66":14515,"216":206,"83":41472,"24":42,"16":32754511520989184,"44":-868139166593800192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146544640001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:19:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32754511520989184,"km_value":32754511520989.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-868139166593800192,"description":"Unknown IO ID 44"} 
[2026-09-17 14:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146544640001,"power":14515,"unknown_216":206,"unknown_83":41472,"ignition":42,"odometer":null,"unknown_44":-868139166593800192}} 
[2026-09-17 14:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":185351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855890,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:19:34] local.INFO: GPS data processed {"connection_id":185351,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:19:34] local.INFO: Acknowledgment sent {"connection_id":185351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:19:52] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:19:52] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:19:52] local.INFO: Packet analysis {"connection_id":186655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:19:52] local.INFO: Extracted packet for processing {"connection_id":186655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:19:52] 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-09-17 14:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":186655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:19:52] local.INFO: GPS data processed {"connection_id":186655,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:19:52] local.INFO: Acknowledgment sent {"connection_id":186655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:19:55] local.INFO: TCP Data received {"connection_id":185216,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 14:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185216,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 14:19:55] local.INFO: Processing buffer {"connection_id":185216,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 14:19:55] local.INFO: Packet analysis {"connection_id":185216,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 14:19:55] local.INFO: Extracted packet for processing {"connection_id":185216,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 14:19:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 14:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 14:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:55] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 14:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 14:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 14:19:55] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185216,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 14:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185216,"device_imei":null,"avl_records_count":1} 
[2026-09-17 14:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185216,"device_imei":null,"avl_records_count":1} 
[2026-09-17 14:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":185216,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 14:19:55] local.INFO: GPS data processed {"connection_id":185216,"processed":0,"errors":0,"total":1} 
[2026-09-17 14:19:55] local.INFO: Acknowledgment sent {"connection_id":185216,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:19:56] local.INFO: TCP Data received {"connection_id":185215,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:19:56] local.INFO: Processing buffer {"connection_id":185215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:19:56] local.INFO: IMEI packet received {"connection_id":185215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":185215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:19:57] local.INFO: TCP Data received {"connection_id":185215,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:19:57] local.INFO: Processing buffer {"connection_id":185215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:19:57] local.INFO: IMEI packet received {"connection_id":185215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":185215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:19:57] local.INFO: TCP Data received {"connection_id":185352,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185352,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 14:19:57] local.INFO: Processing buffer {"connection_id":185352,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 14:19:57] local.INFO: Packet analysis {"connection_id":185352,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 14:19:57] local.INFO: Extracted packet for processing {"connection_id":185352,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 14:19:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 14:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 14:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 14:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 14:19:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185352,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 14:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185352,"device_imei":null,"avl_records_count":1} 
[2026-09-17 14:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185352,"device_imei":null,"avl_records_count":1} 
[2026-09-17 14:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":185352,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 14:19:57] local.INFO: GPS data processed {"connection_id":185352,"processed":0,"errors":0,"total":1} 
[2026-09-17 14:19:57] local.INFO: Acknowledgment sent {"connection_id":185352,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:19:57] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8e4ec8012d791e8005f8b778000e013424..."} 
[2026-09-17 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8e4ec8012d791e8005f8b778000e013424..."} 
[2026-09-17 14:19:57] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8e4ec8012d791e8005f8b778000e013424..."} 
[2026-09-17 14:19:57] local.INFO: Packet analysis {"connection_id":187986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:19:57] local.INFO: Extracted packet for processing {"connection_id":187986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:19:57] local.INFO: GPS Element Parsed {"raw_longitude":762912384,"raw_latitude":100185976,"longitude_deg":76.2912384,"latitude_deg":10.0185976,"altitude":14,"angle":308,"satellites":36,"speed":17,"hex_longitude":"2d791e80","hex_latitude":"05f8b778","is_valid_coordinates":true} 
[2026-09-17 14:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146548736001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134182874340392960,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8727905734747373568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789634957000,"timestamp_ms":1789634957000,"timestamp_seconds":1789634957,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8e4ec8"} 
[2026-09-17 14:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635636,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2928482864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7288231614918688778,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2372935681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635347714714247,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1034944718,"corrected_to":0} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4160826745,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2147874849,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341293857874955863,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3033202688,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4160671744,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":121,"raw_value":7349881154421915659,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-09-17 14:19:57] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,176,87,24,241,157,16,182,160,45,64,151,13,38,10,66,201,119,36,181,131,128,1,240,187,227,174,248,4,113,205,44,76,88,208,239,53,135,2,220,5,12,21,121,50],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1034944718,"validated":0}]} 
[2026-09-17 14:19:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009160509600235520,"timestamp_seconds":1009160509600235.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146548736001,"66":13580,"176":206,"87":12800,"24":17,"16":134182874340392960,"45":8727905734747373568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,87,24,16,45]} 
[2026-09-17 14:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146548736001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:19:57] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-17 14:19:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134182874340392960,"km_value":134182874340392.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8727905734747373568,"description":"Unknown IO ID 45"} 
[2026-09-17 14:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146548736001,"power":13580,"unknown_176":206,"unknown_87":12800,"ignition":17,"odometer":null,"unknown_45":8727905734747373568}} 
[2026-09-17 14:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":187986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:19:58] local.INFO: GPS data processed {"connection_id":187986,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:19:58] local.INFO: Acknowledgment sent {"connection_id":187986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:20:02] local.INFO: TCP Data received {"connection_id":185215,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:20:02] local.INFO: Processing buffer {"connection_id":185215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:20:02] local.INFO: IMEI packet received {"connection_id":185215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":185215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:20:03] local.INFO: TCP Data received {"connection_id":185215,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8e52b0012cf41140070f4fc00027009a26..."} 
[2026-09-17 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8e52b0012cf41140070f4fc00027009a26..."} 
[2026-09-17 14:20:03] local.INFO: Processing buffer {"connection_id":185215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8e52b0012cf41140070f4fc00027009a26..."} 
[2026-09-17 14:20:03] local.INFO: Packet analysis {"connection_id":185215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:20:03] local.INFO: Extracted packet for processing {"connection_id":185215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":754192704,"raw_latitude":118443968,"longitude_deg":75.4192704,"latitude_deg":11.8443968,"altitude":39,"angle":154,"satellites":38,"speed":40,"hex_longitude":"2cf41140","hex_latitude":"070f4fc0","is_valid_coordinates":true} 
[2026-09-17 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146546944001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32754979672424448,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-864339254410360832,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789634958000,"timestamp_ms":1789634958000,"timestamp_seconds":1789634958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8e52b0"} 
[2026-09-17 14:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 14:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146546944001,"66":14515,"216":206,"83":41472,"24":40,"16":32754979672424448,"44":-864339254410360832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146546944001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:20:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32754979672424448,"km_value":32754979672424.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-864339254410360832,"description":"Unknown IO ID 44"} 
[2026-09-17 14:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146546944001,"power":14515,"unknown_216":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-864339254410360832}} 
[2026-09-17 14:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":185215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855893,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:20:03] local.INFO: GPS data processed {"connection_id":185215,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:20:03] local.INFO: Acknowledgment sent {"connection_id":185215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:20:15] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:20:15] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:20:15] local.INFO: IMEI packet received {"connection_id":186656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":186656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:20:19] local.INFO: TCP Data received {"connection_id":185217,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:20:19] local.INFO: Processing buffer {"connection_id":185217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:20:19] local.INFO: IMEI packet received {"connection_id":185217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":185217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:20:20] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:20:20] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:20:20] local.INFO: IMEI packet received {"connection_id":186656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":186656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:20:21] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:20:21] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:20:21] local.INFO: Packet analysis {"connection_id":186656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:20:21] local.INFO: Extracted packet for processing {"connection_id":186656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:20:21] 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-09-17 14:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:20:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":186656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:20:21] local.INFO: GPS data processed {"connection_id":186656,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:20:21] local.INFO: Acknowledgment sent {"connection_id":186656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:20:24] local.INFO: TCP Data received {"connection_id":185217,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:20:24] local.INFO: Processing buffer {"connection_id":185217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:20:24] local.INFO: IMEI packet received {"connection_id":185217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":185217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:20:25] local.INFO: TCP Data received {"connection_id":185217,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8ef6c0012d79400005f8d2080010005523..."} 
[2026-09-17 14:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8ef6c0012d79400005f8d2080010005523..."} 
[2026-09-17 14:20:25] local.INFO: Processing buffer {"connection_id":185217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8ef6c0012d79400005f8d2080010005523..."} 
[2026-09-17 14:20:25] local.INFO: Packet analysis {"connection_id":185217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:20:25] local.INFO: Extracted packet for processing {"connection_id":185217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:20:25] local.INFO: GPS Element Parsed {"raw_longitude":762920960,"raw_latitude":100192776,"longitude_deg":76.292096,"latitude_deg":10.0192776,"altitude":16,"angle":85,"satellites":35,"speed":39,"hex_longitude":"2d794000","hex_latitude":"05f8d208","is_valid_coordinates":true} 
[2026-09-17 14:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146554880001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134183754808688640,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8726357622377211904,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789635000000,"timestamp_ms":1789635000000,"timestamp_seconds":1789635000,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8ef6c0"} 
[2026-09-17 14:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-17 14:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146554880001,"66":13243,"176":206,"87":12800,"24":39,"16":134183754808688640,"45":8726357622377211904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,87,24,16,45]} 
[2026-09-17 14:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146554880001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:20:25] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-17 14:20:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134183754808688640,"km_value":134183754808688.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8726357622377211904,"description":"Unknown IO ID 45"} 
[2026-09-17 14:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146554880001,"power":13243,"unknown_176":206,"unknown_87":12800,"ignition":39,"odometer":null,"unknown_45":8726357622377211904}} 
[2026-09-17 14:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":185217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:20:25] local.INFO: GPS data processed {"connection_id":185217,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:20:25] local.INFO: Acknowledgment sent {"connection_id":185217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:20:38] local.INFO: TCP Data received {"connection_id":185215,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8e79c0012cf420c0070f2d00002a009d27..."} 
[2026-09-17 14:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8e79c0012cf420c0070f2d00002a009d27..."} 
[2026-09-17 14:20:38] local.INFO: Processing buffer {"connection_id":185215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8e79c0012cf420c0070f2d00002a009d27..."} 
[2026-09-17 14:20:38] local.INFO: Packet analysis {"connection_id":185215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:20:38] local.INFO: Extracted packet for processing {"connection_id":185215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:20:38] local.INFO: GPS Element Parsed {"raw_longitude":754196672,"raw_latitude":118435072,"longitude_deg":75.4196672,"latitude_deg":11.8435072,"altitude":42,"angle":157,"satellites":39,"speed":37,"hex_longitude":"2cf420c0","hex_latitude":"070f2d00","is_valid_coordinates":true} 
[2026-09-17 14:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146549248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32755447823859712,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859835654785220608,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789634968000,"timestamp_ms":1789634968000,"timestamp_seconds":1789634968,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8e79c0"} 
[2026-09-17 14:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 14:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146549248001,"66":14548,"216":206,"83":41472,"24":37,"16":32755447823859712,"44":-859835654785220608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-17 14:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146549248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:20:38] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-17 14:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-17 14:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32755447823859712,"km_value":32755447823859.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:20:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859835654785220608,"description":"Unknown IO ID 44"} 
[2026-09-17 14:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146549248001,"power":14548,"unknown_216":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-859835654785220608}} 
[2026-09-17 14:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":185215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855896,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:20:38] local.INFO: GPS data processed {"connection_id":185215,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:20:38] local.INFO: Acknowledgment sent {"connection_id":185215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:20:53] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:20:53] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:20:53] local.INFO: Packet analysis {"connection_id":186656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:20:53] local.INFO: Extracted packet for processing {"connection_id":186656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:20:53] 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-09-17 14:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":186656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:20:53] local.INFO: GPS data processed {"connection_id":186656,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:20:53] local.INFO: Acknowledgment sent {"connection_id":186656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:20:56] local.INFO: TCP Data received {"connection_id":185217,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8f1dd0012d79634005f8d528000e00551d..."} 
[2026-09-17 14:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8f1dd0012d79634005f8d528000e00551d..."} 
[2026-09-17 14:20:56] local.INFO: Processing buffer {"connection_id":185217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8f1dd0012d79634005f8d528000e00551d..."} 
[2026-09-17 14:20:56] local.INFO: Packet analysis {"connection_id":185217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:20:56] local.INFO: Extracted packet for processing {"connection_id":185217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:20:56] local.INFO: GPS Element Parsed {"raw_longitude":762929984,"raw_latitude":100193576,"longitude_deg":76.2929984,"latitude_deg":10.0193576,"altitude":14,"angle":85,"satellites":29,"speed":35,"hex_longitude":"2d796340","hex_latitude":"05f8d528","is_valid_coordinates":true} 
[2026-09-17 14:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146560000001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134184184305418240,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8736983302748112896,"note":"Value kept but may cause issues"} 
[2026-09-17 14:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789635010000,"timestamp_ms":1789635010000,"timestamp_seconds":1789635010,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8f1dd0"} 
[2026-09-17 14:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 14:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146560000001,"66":13254,"36":206,"87":12800,"24":35,"16":134184184305418240,"45":8736983302748112896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,87,24,16,45]} 
[2026-09-17 14:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146560000001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:20:56] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-17 14:20:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134184184305418240,"km_value":134184184305418.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8736983302748112896,"description":"Unknown IO ID 45"} 
[2026-09-17 14:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146560000001,"power":13254,"unknown_36":206,"unknown_87":12800,"ignition":35,"odometer":null,"unknown_45":8736983302748112896}} 
[2026-09-17 14:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":185217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:20:56] local.INFO: GPS data processed {"connection_id":185217,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:20:56] local.INFO: Acknowledgment sent {"connection_id":185217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:20:57] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:20:57] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:20:57] local.INFO: IMEI packet received {"connection_id":186657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":186657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:20:59] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:20:59] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:20:59] local.INFO: IMEI packet received {"connection_id":186657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":186657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:21:00] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:21:00] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:21:00] local.INFO: IMEI packet received {"connection_id":186657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":186657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:21:01] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:21:01] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:21:01] local.INFO: IMEI packet received {"connection_id":186657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":186657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:21:01] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8f8748012cf4b380070e4c700022009726..."} 
[2026-09-17 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8f8748012cf4b380070e4c700022009726..."} 
[2026-09-17 14:21:01] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8f8748012cf4b380070e4c700022009726..."} 
[2026-09-17 14:21:01] local.INFO: Packet analysis {"connection_id":186657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:21:01] local.INFO: Extracted packet for processing {"connection_id":186657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:21:01] local.INFO: GPS Element Parsed {"raw_longitude":754234240,"raw_latitude":118377584,"longitude_deg":75.423424,"latitude_deg":11.8377584,"altitude":34,"angle":151,"satellites":38,"speed":40,"hex_longitude":"2cf4b380","hex_latitude":"070e4c70","is_valid_coordinates":true} 
[2026-09-17 14:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146568704001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32758862322860032,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-816207033411418112,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789635037000,"timestamp_ms":1789635037000,"timestamp_seconds":1789635037,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8f8748"} 
[2026-09-17 14:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 14:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146568704001,"66":14559,"132":206,"83":41728,"24":40,"16":32758862322860032,"44":-816207033411418112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,44]} 
[2026-09-17 14:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146568704001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:21:01] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-17 14:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32758862322860032,"km_value":32758862322860.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-816207033411418112,"description":"Unknown IO ID 44"} 
[2026-09-17 14:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146568704001,"power":14559,"unknown_132":206,"unknown_83":41728,"ignition":40,"odometer":null,"unknown_44":-816207033411418112}} 
[2026-09-17 14:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":186657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855899,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:21:02] local.INFO: GPS data processed {"connection_id":186657,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:21:02] local.INFO: Acknowledgment sent {"connection_id":186657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:21:02] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8f8f18012cf4b640070e4528002100a726..."} 
[2026-09-17 14:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8f8f18012cf4b640070e4528002100a726..."} 
[2026-09-17 14:21:02] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8f8f18012cf4b640070e4528002100a726..."} 
[2026-09-17 14:21:02] local.INFO: Packet analysis {"connection_id":186657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:21:02] local.INFO: Extracted packet for processing {"connection_id":186657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:21:02] local.INFO: GPS Element Parsed {"raw_longitude":754234944,"raw_latitude":118375720,"longitude_deg":75.4234944,"latitude_deg":11.837572,"altitude":33,"angle":167,"satellites":38,"speed":40,"hex_longitude":"2cf4b640","hex_latitude":"070e4528","is_valid_coordinates":true} 
[2026-09-17 14:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146569472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32758956812140544,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-814166339830910976,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789635039000,"timestamp_ms":1789635039000,"timestamp_seconds":1789635039,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8f8f18"} 
[2026-09-17 14:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146569472001,"66":14461,"132":206,"83":41728,"24":40,"16":32758956812140544,"44":-814166339830910976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,44]} 
[2026-09-17 14:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146569472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:21:02] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-17 14:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32758956812140544,"km_value":32758956812140.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-814166339830910976,"description":"Unknown IO ID 44"} 
[2026-09-17 14:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146569472001,"power":14461,"unknown_132":206,"unknown_83":41728,"ignition":40,"odometer":null,"unknown_44":-814166339830910976}} 
[2026-09-17 14:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":186657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855900,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:21:02] local.INFO: GPS data processed {"connection_id":186657,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:21:02] local.INFO: Acknowledgment sent {"connection_id":186657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:21:10] local.INFO: TCP Data received {"connection_id":187988,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:21:10] local.INFO: Processing buffer {"connection_id":187988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:21:10] local.INFO: IMEI packet received {"connection_id":187988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":187988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:21:16] local.INFO: TCP Data received {"connection_id":187989,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:21:16] local.INFO: Processing buffer {"connection_id":187989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:21:16] local.INFO: IMEI packet received {"connection_id":187989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":187989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:21:19] local.INFO: TCP Data received {"connection_id":187989,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:21:19] local.INFO: Processing buffer {"connection_id":187989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:21:19] local.INFO: IMEI packet received {"connection_id":187989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":187989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:21:20] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:21:20] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:21:20] local.INFO: IMEI packet received {"connection_id":185218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":185218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:21:25] local.INFO: TCP Data received {"connection_id":187989,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:21:25] local.INFO: Processing buffer {"connection_id":187989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:21:25] local.INFO: IMEI packet received {"connection_id":187989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":187989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:21:25] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:21:25] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:21:25] local.INFO: IMEI packet received {"connection_id":185218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":185218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:21:26] local.INFO: TCP Data received {"connection_id":187989,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8f4cb0012d79868005f8d898000d005423..."} 
[2026-09-17 14:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8f4cb0012d79868005f8d898000d005423..."} 
[2026-09-17 14:21:26] local.INFO: Processing buffer {"connection_id":187989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8f4cb0012d79868005f8d898000d005423..."} 
[2026-09-17 14:21:26] local.INFO: Packet analysis {"connection_id":187989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:21:26] local.INFO: Extracted packet for processing {"connection_id":187989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:21:26] local.INFO: GPS Element Parsed {"raw_longitude":762939008,"raw_latitude":100194456,"longitude_deg":76.2939008,"latitude_deg":10.0194456,"altitude":13,"angle":84,"satellites":35,"speed":38,"hex_longitude":"2d798680","hex_latitude":"05f8d898","is_valid_coordinates":true} 
[2026-09-17 14:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146562560001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134184618097115136,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8746905295677368320,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789635022000,"timestamp_ms":1789635022000,"timestamp_seconds":1789635022,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8f4cb0"} 
[2026-09-17 14:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 14:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146562560001,"66":13374,"36":206,"87":12800,"24":38,"16":134184618097115136,"45":8746905295677368320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,87,24,16,45]} 
[2026-09-17 14:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146562560001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:21:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-17 14:21:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134184618097115136,"km_value":134184618097115.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8746905295677368320,"description":"Unknown IO ID 45"} 
[2026-09-17 14:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146562560001,"power":13374,"unknown_36":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8746905295677368320}} 
[2026-09-17 14:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":187989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:21:26] local.INFO: GPS data processed {"connection_id":187989,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:21:26] local.INFO: Acknowledgment sent {"connection_id":187989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:21:27] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:21:27] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:21:27] local.INFO: Packet analysis {"connection_id":185218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:21:27] local.INFO: Extracted packet for processing {"connection_id":185218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:21:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:21:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":185218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:21:27] local.INFO: GPS data processed {"connection_id":185218,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:21:27] local.INFO: Acknowledgment sent {"connection_id":185218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:21:43] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae902388012cf52700070ddf78000d009527..."} 
[2026-09-17 14:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae902388012cf52700070ddf78000d009527..."} 
[2026-09-17 14:21:43] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae902388012cf52700070ddf78000d009527..."} 
[2026-09-17 14:21:43] local.INFO: Packet analysis {"connection_id":186657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae90"} 
[2026-09-17 14:21:43] local.INFO: Extracted packet for processing {"connection_id":186657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae90"} 
[2026-09-17 14:21:43] local.INFO: GPS Element Parsed {"raw_longitude":754263808,"raw_latitude":118349688,"longitude_deg":75.4263808,"latitude_deg":11.8349688,"altitude":13,"angle":149,"satellites":39,"speed":49,"hex_longitude":"2cf52700","hex_latitude":"070ddf78","is_valid_coordinates":true} 
[2026-09-17 14:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146579200001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32761014101475328,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-782852248678416384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789635077000,"timestamp_ms":1789635077000,"timestamp_seconds":1789635077,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae902388"} 
[2026-09-17 14:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 14:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146579200001,"66":14461,"132":206,"83":41728,"24":49,"16":32761014101475328,"44":-782852248678416384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,44]} 
[2026-09-17 14:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146579200001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:21:43] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-17 14:21:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32761014101475328,"km_value":32761014101475.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-782852248678416384,"description":"Unknown IO ID 44"} 
[2026-09-17 14:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146579200001,"power":14461,"unknown_132":206,"unknown_83":41728,"ignition":49,"odometer":null,"unknown_44":-782852248678416384}} 
[2026-09-17 14:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":186657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855903,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:21:43] local.INFO: GPS data processed {"connection_id":186657,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:21:43] local.INFO: Acknowledgment sent {"connection_id":186657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:21:50] local.INFO: TCP Data received {"connection_id":185353,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:21:50] local.INFO: Processing buffer {"connection_id":185353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:21:50] local.INFO: IMEI packet received {"connection_id":185353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":185353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:21:57] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:21:57] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:21:57] local.INFO: IMEI packet received {"connection_id":186658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":186658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:21:57] local.INFO: TCP Data received {"connection_id":187989,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8f6fd8012d79ab8005f8dc80000b005326..."} 
[2026-09-17 14:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8f6fd8012d79ab8005f8dc80000b005326..."} 
[2026-09-17 14:21:57] local.INFO: Processing buffer {"connection_id":187989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8f6fd8012d79ab8005f8dc80000b005326..."} 
[2026-09-17 14:21:57] local.INFO: Packet analysis {"connection_id":187989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:21:57] local.INFO: Extracted packet for processing {"connection_id":187989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:21:57] local.INFO: GPS Element Parsed {"raw_longitude":762948480,"raw_latitude":100195456,"longitude_deg":76.294848,"latitude_deg":10.0195456,"altitude":11,"angle":83,"satellites":38,"speed":45,"hex_longitude":"2d79ab80","hex_latitude":"05f8dc80","is_valid_coordinates":true} 
[2026-09-17 14:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146565632001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134185073363648512,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8756827288606644224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789635031000,"timestamp_ms":1789635031000,"timestamp_seconds":1789635031,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8f6fd8"} 
[2026-09-17 14:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 14:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146565632001,"66":13472,"36":206,"87":12800,"24":45,"16":134185073363648512,"45":8756827288606644224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,87,24,16,45]} 
[2026-09-17 14:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146565632001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:21:57] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-17 14:21:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134185073363648512,"km_value":134185073363648.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8756827288606644224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146565632001,"power":13472,"unknown_36":206,"unknown_87":12800,"ignition":45,"odometer":null,"unknown_45":8756827288606644224}} 
[2026-09-17 14:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":187989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:21:58] local.INFO: GPS data processed {"connection_id":187989,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:21:58] local.INFO: Acknowledgment sent {"connection_id":187989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:21:59] local.INFO: TCP Data received {"connection_id":185218,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:21:59] local.INFO: Processing buffer {"connection_id":185218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:21:59] local.INFO: Packet analysis {"connection_id":185218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:21:59] local.INFO: Extracted packet for processing {"connection_id":185218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:21:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:21:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":185218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:21:59] local.INFO: GPS data processed {"connection_id":185218,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:21:59] local.INFO: Acknowledgment sent {"connection_id":185218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:22:01] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:22:01] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:22:01] local.INFO: IMEI packet received {"connection_id":186658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":186658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:22:02] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae902f40012cf52d00070dd050000c00a125..."} 
[2026-09-17 14:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae902f40012cf52d00070dd050000c00a125..."} 
[2026-09-17 14:22:02] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae902f40012cf52d00070dd050000c00a125..."} 
[2026-09-17 14:22:02] local.INFO: Packet analysis {"connection_id":186658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae90"} 
[2026-09-17 14:22:02] local.INFO: Extracted packet for processing {"connection_id":186658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae90"} 
[2026-09-17 14:22:02] local.INFO: GPS Element Parsed {"raw_longitude":754265344,"raw_latitude":118345808,"longitude_deg":75.4265344,"latitude_deg":11.8345808,"altitude":12,"angle":161,"satellites":37,"speed":56,"hex_longitude":"2cf52d00","hex_latitude":"070dd050","is_valid_coordinates":true} 
[2026-09-17 14:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146579712001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32761215964938240,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-781655980027971584,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789635080000,"timestamp_ms":1789635080000,"timestamp_seconds":1789635080,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae902f40"} 
[2026-09-17 14:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 14:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146579712001,"66":14580,"132":206,"83":41728,"24":56,"16":32761215964938240,"44":-781655980027971584},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,44]} 
[2026-09-17 14:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146579712001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:22:02] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-17 14:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32761215964938240,"km_value":32761215964938.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:22:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-781655980027971584,"description":"Unknown IO ID 44"} 
[2026-09-17 14:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146579712001,"power":14580,"unknown_132":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-781655980027971584}} 
[2026-09-17 14:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":186658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855906,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:22:02] local.INFO: GPS data processed {"connection_id":186658,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:22:02] local.INFO: Acknowledgment sent {"connection_id":186658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:22:15] local.INFO: TCP Data received {"connection_id":185354,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:22:15] local.INFO: Processing buffer {"connection_id":185354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:22:15] local.INFO: IMEI packet received {"connection_id":185354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":185354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:22:19] local.INFO: TCP Data received {"connection_id":185355,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:22:19] local.INFO: Processing buffer {"connection_id":185355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:22:19] local.INFO: IMEI packet received {"connection_id":185355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":185355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:22:20] local.INFO: TCP Data received {"connection_id":185354,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:22:20] local.INFO: Processing buffer {"connection_id":185354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:22:20] local.INFO: IMEI packet received {"connection_id":185354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":185354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:22:21] local.INFO: TCP Data received {"connection_id":185354,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:22:21] local.INFO: Processing buffer {"connection_id":185354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:22:21] local.INFO: Packet analysis {"connection_id":185354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:22:21] local.INFO: Extracted packet for processing {"connection_id":185354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:22:21] 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-09-17 14:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":185354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:22:21] local.INFO: GPS data processed {"connection_id":185354,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:22:21] local.INFO: Acknowledgment sent {"connection_id":185354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:22:25] local.INFO: TCP Data received {"connection_id":185355,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:22:25] local.INFO: Processing buffer {"connection_id":185355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:22:25] local.INFO: IMEI packet received {"connection_id":185355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":185355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:22:25] local.INFO: TCP Data received {"connection_id":185355,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8f9300012d79ce8005f8dff00009005723..."} 
[2026-09-17 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8f9300012d79ce8005f8dff00009005723..."} 
[2026-09-17 14:22:25] local.INFO: Processing buffer {"connection_id":185355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8f9300012d79ce8005f8dff00009005723..."} 
[2026-09-17 14:22:25] local.INFO: Packet analysis {"connection_id":185355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:22:25] local.INFO: Extracted packet for processing {"connection_id":185355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8f"} 
[2026-09-17 14:22:25] local.INFO: GPS Element Parsed {"raw_longitude":762957440,"raw_latitude":100196336,"longitude_deg":76.295744,"latitude_deg":10.0196336,"altitude":9,"angle":87,"satellites":35,"speed":25,"hex_longitude":"2d79ce80","hex_latitude":"05f8dff0","is_valid_coordinates":true} 
[2026-09-17 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146567936001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134185502860378112,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767241862745194496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789635040000,"timestamp_ms":1789635040000,"timestamp_seconds":1789635040,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8f9300"} 
[2026-09-17 14:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 14:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146567936001,"66":13319,"36":206,"87":12800,"24":25,"16":134185502860378112,"45":8767241862745194496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,87,24,16,45]} 
[2026-09-17 14:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146567936001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:22:25] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-17 14:22:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134185502860378112,"km_value":134185502860378.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767241862745194496,"description":"Unknown IO ID 45"} 
[2026-09-17 14:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146567936001,"power":13319,"unknown_36":206,"unknown_87":12800,"ignition":25,"odometer":null,"unknown_45":8767241862745194496}} 
[2026-09-17 14:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":185355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:22:25] local.INFO: GPS data processed {"connection_id":185355,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:22:25] local.INFO: Acknowledgment sent {"connection_id":185355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:22:33] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae904a98012cf53540070daad0000b00aa28..."} 
[2026-09-17 14:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae904a98012cf53540070daad0000b00aa28..."} 
[2026-09-17 14:22:33] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae904a98012cf53540070daad0000b00aa28..."} 
[2026-09-17 14:22:33] local.INFO: Packet analysis {"connection_id":186658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae90"} 
[2026-09-17 14:22:33] local.INFO: Extracted packet for processing {"connection_id":186658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae90"} 
[2026-09-17 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":754267456,"raw_latitude":118336208,"longitude_deg":75.4267456,"latitude_deg":11.8336208,"altitude":11,"angle":170,"satellites":40,"speed":54,"hex_longitude":"2cf53540","hex_latitude":"070daad0","is_valid_coordinates":true} 
[2026-09-17 14:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146580480001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32761692706308096,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-779967130168700928,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789635087000,"timestamp_ms":1789635087000,"timestamp_seconds":1789635087,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae904a98"} 
[2026-09-17 14:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-17 14:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146580480001,"66":14276,"132":206,"83":41728,"24":54,"16":32761692706308096,"44":-779967130168700928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,44]} 
[2026-09-17 14:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146580480001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:22:33] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-17 14:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32761692706308096,"km_value":32761692706308.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:22:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-779967130168700928,"description":"Unknown IO ID 44"} 
[2026-09-17 14:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146580480001,"power":14276,"unknown_132":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-779967130168700928}} 
[2026-09-17 14:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":186658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855909,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:22:34] local.INFO: GPS data processed {"connection_id":186658,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:22:34] local.INFO: Acknowledgment sent {"connection_id":186658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:22:53] local.INFO: TCP Data received {"connection_id":185354,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:22:53] local.INFO: Processing buffer {"connection_id":185354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8cd7c8012d34c14006aa4438000c01012a..."} 
[2026-09-17 14:22:53] local.INFO: Packet analysis {"connection_id":185354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:22:53] local.INFO: Extracted packet for processing {"connection_id":185354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8c"} 
[2026-09-17 14:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146447360001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789634861000,"timestamp_ms":1789634861000,"timestamp_seconds":1789634861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8cd7c8"} 
[2026-09-17 14:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:22:53] 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-09-17 14:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146447360001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146447360001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146447360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":185354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:22:53] local.INFO: GPS data processed {"connection_id":185354,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:22:53] local.INFO: Acknowledgment sent {"connection_id":185354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:22:56] local.INFO: TCP Data received {"connection_id":185355,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae913cc8012d7a9f8005f8a7e0000f009d25..."} 
[2026-09-17 14:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae913cc8012d7a9f8005f8a7e0000f009d25..."} 
[2026-09-17 14:22:57] local.INFO: Processing buffer {"connection_id":185355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae913cc8012d7a9f8005f8a7e0000f009d25..."} 
[2026-09-17 14:22:57] local.INFO: Packet analysis {"connection_id":185355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:22:57] local.INFO: Extracted packet for processing {"connection_id":185355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763010944,"raw_latitude":100181984,"longitude_deg":76.3010944,"latitude_deg":10.0181984,"altitude":15,"angle":157,"satellites":37,"speed":27,"hex_longitude":"2d7a9f80","hex_latitude":"05f8a7e0","is_valid_coordinates":true} 
[2026-09-17 14:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146593792001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134188728380817408,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832332951108292608,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789635149000,"timestamp_ms":1789635149000,"timestamp_seconds":1789635149,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae913cc8"} 
[2026-09-17 14:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2928701864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2427975681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":248,"raw_value":-1639310217112706048,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":874709198,"corrected_to":0} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2147875055,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3137732608,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4176232448,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57759695167706930,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":5093572473391988741,"note":"Value kept but may cause issues"} 
[2026-09-17 14:22:57] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,65,87,24,241,157,16,187,160,199,45,64,233,13,35,10,66,191,237,1,240,94,227,174,248,4,113,205,8,131,40,33,239,50,2,220,5,11,34,12,144],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":874709198,"validated":0}]} 
[2026-09-17 14:22:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936922595655811072,"timestamp_seconds":936922595655811.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146593792001,"66":13472,"65":206,"87":12800,"24":27,"16":134188728380817408,"45":8832332951108292608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,87,24,16,45]} 
[2026-09-17 14:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146593792001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:22:57] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-17 14:22:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134188728380817408,"km_value":134188728380817.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832332951108292608,"description":"Unknown IO ID 45"} 
[2026-09-17 14:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146593792001,"power":13472,"unknown_65":206,"unknown_87":12800,"ignition":27,"odometer":null,"unknown_45":8832332951108292608}} 
[2026-09-17 14:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":185355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:22:57] local.INFO: GPS data processed {"connection_id":185355,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:22:57] local.INFO: Acknowledgment sent {"connection_id":185355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:23:02] local.INFO: TCP Data received {"connection_id":187990,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187990,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:23:02] local.INFO: Processing buffer {"connection_id":187990,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:23:02] local.INFO: IMEI packet received {"connection_id":187990,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":187990,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:23:05] local.INFO: TCP Data received {"connection_id":187990,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187990,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:23:05] local.INFO: Processing buffer {"connection_id":187990,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:23:05] local.INFO: IMEI packet received {"connection_id":187990,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":187990,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:23:07] local.INFO: TCP Data received {"connection_id":187990,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187990,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:23:07] local.INFO: Processing buffer {"connection_id":187990,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:23:07] local.INFO: IMEI packet received {"connection_id":187990,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":187990,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:23:07] local.INFO: TCP Data received {"connection_id":187990,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012cf599c0070c81880008009625..."} 
[2026-09-17 14:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012cf599c0070c81880008009625..."} 
[2026-09-17 14:23:07] local.INFO: Processing buffer {"connection_id":187990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012cf599c0070c81880008009625..."} 
[2026-09-17 14:23:07] local.INFO: Packet analysis {"connection_id":187990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:07] local.INFO: Extracted packet for processing {"connection_id":187990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:07] local.INFO: GPS Element Parsed {"raw_longitude":754293184,"raw_latitude":118260104,"longitude_deg":75.4293184,"latitude_deg":11.8260104,"altitude":8,"angle":150,"satellites":37,"speed":59,"hex_longitude":"2cf599c0","hex_latitude":"070c8188","is_valid_coordinates":true} 
[2026-09-17 14:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146599680001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32765635486285824,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-754704751028805632,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-17 14:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187990,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187990,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146599680001,"66":14330,"39":206,"83":41728,"24":59,"16":32765635486285824,"44":-754704751028805632},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-17 14:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146599680001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:23:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 14:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32765635486285824,"km_value":32765635486285.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:23:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-754704751028805632,"description":"Unknown IO ID 44"} 
[2026-09-17 14:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146599680001,"power":14330,"unknown_39":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-754704751028805632}} 
[2026-09-17 14:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":187990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855912,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:23:08] local.INFO: GPS data processed {"connection_id":187990,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:23:08] local.INFO: Acknowledgment sent {"connection_id":187990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:23:16] local.INFO: TCP Data received {"connection_id":185357,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:23:16] local.INFO: Processing buffer {"connection_id":185357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:23:16] local.INFO: IMEI packet received {"connection_id":185357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":185357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:23:19] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:23:19] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:23:19] local.INFO: IMEI packet received {"connection_id":185358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":185358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:23:20] local.INFO: TCP Data received {"connection_id":185357,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:23:20] local.INFO: Processing buffer {"connection_id":185357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:23:20] local.INFO: IMEI packet received {"connection_id":185357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":185357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:23:22] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:23:22] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:23:22] local.INFO: IMEI packet received {"connection_id":185358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":185358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:23:22] local.INFO: TCP Data received {"connection_id":185357,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:23:22] local.INFO: Processing buffer {"connection_id":185357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:23:22] local.INFO: Packet analysis {"connection_id":185357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:22] local.INFO: Extracted packet for processing {"connection_id":185357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:23:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":185357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:23:22] local.INFO: GPS data processed {"connection_id":185357,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:23:22] local.INFO: Acknowledgment sent {"connection_id":185357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:23:24] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:23:24] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:23:24] local.INFO: IMEI packet received {"connection_id":185358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":185358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:23:25] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae915050012d7aa30005f89bb0001000a924..."} 
[2026-09-17 14:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae915050012d7aa30005f89bb0001000a924..."} 
[2026-09-17 14:23:25] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae915050012d7aa30005f89bb0001000a924..."} 
[2026-09-17 14:23:25] local.INFO: Packet analysis {"connection_id":185358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:25] local.INFO: Extracted packet for processing {"connection_id":185358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763011840,"raw_latitude":100178864,"longitude_deg":76.301184,"latitude_deg":10.0178864,"altitude":16,"angle":169,"satellites":36,"speed":25,"hex_longitude":"2d7aa300","hex_latitude":"05f89bb0","is_valid_coordinates":true} 
[2026-09-17 14:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146598144001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134188887294607360,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835921757059145728,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789635154000,"timestamp_ms":1789635154000,"timestamp_seconds":1789635154,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae915050"} 
[2026-09-17 14:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 14:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146598144001,"66":13319,"65":206,"87":12800,"24":25,"16":134188887294607360,"45":8835921757059145728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,87,24,16,45]} 
[2026-09-17 14:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146598144001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:23:25] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-17 14:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134188887294607360,"km_value":134188887294607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835921757059145728,"description":"Unknown IO ID 45"} 
[2026-09-17 14:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146598144001,"power":13319,"unknown_65":206,"unknown_87":12800,"ignition":25,"odometer":null,"unknown_45":8835921757059145728}} 
[2026-09-17 14:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":185358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:23:25] local.INFO: GPS data processed {"connection_id":185358,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:23:25] local.INFO: Acknowledgment sent {"connection_id":185358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:23:39] local.INFO: TCP Data received {"connection_id":187990,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae918700012cf5ab40070c63580008009527..."} 
[2026-09-17 14:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae918700012cf5ab40070c63580008009527..."} 
[2026-09-17 14:23:39] local.INFO: Processing buffer {"connection_id":187990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae918700012cf5ab40070c63580008009527..."} 
[2026-09-17 14:23:39] local.INFO: Packet analysis {"connection_id":187990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:39] local.INFO: Extracted packet for processing {"connection_id":187990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:39] local.INFO: GPS Element Parsed {"raw_longitude":754297664,"raw_latitude":118252376,"longitude_deg":75.4297664,"latitude_deg":11.8252376,"altitude":8,"angle":149,"satellites":39,"speed":58,"hex_longitude":"2cf5ab40","hex_latitude":"070c6358","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32766064983015424,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-749356726473357312,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789635168000,"timestamp_ms":1789635168000,"timestamp_seconds":1789635168,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae918700"} 
[2026-09-17 14:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-17 14:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187990,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187990,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":14450,"39":206,"83":41728,"24":58,"16":32766064983015424,"44":-749356726473357312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-17 14:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:23:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 14:23:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32766064983015424,"km_value":32766064983015.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:23:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-749356726473357312,"description":"Unknown IO ID 44"} 
[2026-09-17 14:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":14450,"unknown_39":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-749356726473357312}} 
[2026-09-17 14:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":187990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855915,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:23:39] local.INFO: GPS data processed {"connection_id":187990,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:23:39] local.INFO: Acknowledgment sent {"connection_id":187990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:23:53] local.INFO: TCP Data received {"connection_id":185357,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:23:53] local.INFO: Processing buffer {"connection_id":185357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:23:53] local.INFO: Packet analysis {"connection_id":185357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:53] local.INFO: Extracted packet for processing {"connection_id":185357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":185357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:23:53] local.INFO: GPS data processed {"connection_id":185357,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:23:53] local.INFO: Acknowledgment sent {"connection_id":185357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:23:57] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9192b8012d7aab8005f87818000f009e23..."} 
[2026-09-17 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9192b8012d7aab8005f87818000f009e23..."} 
[2026-09-17 14:23:57] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9192b8012d7aab8005f87818000f009e23..."} 
[2026-09-17 14:23:57] local.INFO: Packet analysis {"connection_id":185358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:57] local.INFO: Extracted packet for processing {"connection_id":185358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763014016,"raw_latitude":100169752,"longitude_deg":76.3014016,"latitude_deg":10.0169752,"altitude":15,"angle":158,"satellites":35,"speed":24,"hex_longitude":"2d7aab80","hex_latitude":"05f87818","is_valid_coordinates":true} 
[2026-09-17 14:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146599424001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134189342561140736,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836906919476834304,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789635171000,"timestamp_ms":1789635171000,"timestamp_seconds":1789635171,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9192b8"} 
[2026-09-17 14:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2928719864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2428487681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":248,"raw_value":-1213720048030899968,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":874709198,"corrected_to":0} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3139108864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4176408576,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57759695167706930,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-6879247135967838203,"note":"Value kept but may cause issues"} 
[2026-09-17 14:23:57] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,65,87,24,241,157,16,188,160,60,45,128,167,15,37,10,66,187,250,192,201,13,35,199,64,1,240,34,227,174,248,4,113,205,11,138,80,239,52,2,220,5,12,8,230,144],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":874709198,"validated":0}]} 
[2026-09-17 14:23:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153107476692402176,"timestamp_seconds":1153107476692402.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146599424001,"66":13559,"65":206,"87":12800,"24":24,"16":134189342561140736,"45":8836906919476834304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,87,24,16,45]} 
[2026-09-17 14:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146599424001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:23:57] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-17 14:23:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134189342561140736,"km_value":134189342561140.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836906919476834304,"description":"Unknown IO ID 45"} 
[2026-09-17 14:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146599424001,"power":13559,"unknown_65":206,"unknown_87":12800,"ignition":24,"odometer":null,"unknown_45":8836906919476834304}} 
[2026-09-17 14:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":185358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:23:57] local.INFO: GPS data processed {"connection_id":185358,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:23:57] local.INFO: Acknowledgment sent {"connection_id":185358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:24:02] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:24:02] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:24:02] local.INFO: IMEI packet received {"connection_id":186660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":186660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:24:07] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:24:07] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:24:07] local.INFO: IMEI packet received {"connection_id":186660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":186660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:24:08] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae91a258012cf5be80070c43180008009528..."} 
[2026-09-17 14:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae91a258012cf5be80070c43180008009528..."} 
[2026-09-17 14:24:08] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae91a258012cf5be80070c43180008009528..."} 
[2026-09-17 14:24:08] local.INFO: Packet analysis {"connection_id":186660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:08] local.INFO: Extracted packet for processing {"connection_id":186660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:08] local.INFO: GPS Element Parsed {"raw_longitude":754302592,"raw_latitude":118244120,"longitude_deg":75.4302592,"latitude_deg":11.824412,"altitude":8,"angle":149,"satellites":40,"speed":49,"hex_longitude":"2cf5be80","hex_latitude":"070c4318","is_valid_coordinates":true} 
[2026-09-17 14:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146603008001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32766528839483392,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-744430914382899200,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789635175000,"timestamp_ms":1789635175000,"timestamp_seconds":1789635175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae91a258"} 
[2026-09-17 14:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146603008001,"66":14548,"39":206,"83":41728,"24":49,"16":32766528839483392,"44":-744430914382899200},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-17 14:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146603008001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:24:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 14:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32766528839483392,"km_value":32766528839483.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-744430914382899200,"description":"Unknown IO ID 44"} 
[2026-09-17 14:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146603008001,"power":14548,"unknown_39":206,"unknown_83":41728,"ignition":49,"odometer":null,"unknown_44":-744430914382899200}} 
[2026-09-17 14:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":186660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855918,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:24:08] local.INFO: GPS data processed {"connection_id":186660,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:24:08] local.INFO: Acknowledgment sent {"connection_id":186660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:24:08] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae91c198012cf5d440070c23380007009228..."} 
[2026-09-17 14:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae91c198012cf5d440070c23380007009228..."} 
[2026-09-17 14:24:08] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae91c198012cf5d440070c23380007009228..."} 
[2026-09-17 14:24:08] local.INFO: Packet analysis {"connection_id":186660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:08] local.INFO: Extracted packet for processing {"connection_id":186660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:08] local.INFO: GPS Element Parsed {"raw_longitude":754308160,"raw_latitude":118235960,"longitude_deg":75.430816,"latitude_deg":11.823596,"altitude":7,"angle":146,"satellites":40,"speed":51,"hex_longitude":"2cf5d440","hex_latitude":"070c2338","is_valid_coordinates":true} 
[2026-09-17 14:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146604800001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32767005580853248,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-739012521083332608,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789635183000,"timestamp_ms":1789635183000,"timestamp_seconds":1789635183,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae91c198"} 
[2026-09-17 14:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 14:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146604800001,"66":14537,"39":206,"83":41728,"24":51,"16":32767005580853248,"44":-739012521083332608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-17 14:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146604800001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:24:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 14:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32767005580853248,"km_value":32767005580853.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-739012521083332608,"description":"Unknown IO ID 44"} 
[2026-09-17 14:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146604800001,"power":14537,"unknown_39":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-739012521083332608}} 
[2026-09-17 14:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":186660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855919,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:24:08] local.INFO: GPS data processed {"connection_id":186660,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:24:08] local.INFO: Acknowledgment sent {"connection_id":186660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:24:15] local.INFO: TCP Data received {"connection_id":187991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:24:15] local.INFO: Processing buffer {"connection_id":187991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:24:15] local.INFO: IMEI packet received {"connection_id":187991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":187991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:24:19] local.INFO: TCP Data received {"connection_id":185359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:24:19] local.INFO: Processing buffer {"connection_id":185359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:24:19] local.INFO: IMEI packet received {"connection_id":185359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":185359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:24:20] local.INFO: TCP Data received {"connection_id":187991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:24:20] local.INFO: Processing buffer {"connection_id":187991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:24:20] local.INFO: IMEI packet received {"connection_id":187991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":187991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:24:21] local.INFO: TCP Data received {"connection_id":187991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:24:21] local.INFO: Processing buffer {"connection_id":187991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:24:21] local.INFO: Packet analysis {"connection_id":187991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:21] local.INFO: Extracted packet for processing {"connection_id":187991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:24:21] 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-09-17 14:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:24:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:24:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":187991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:24:21] local.INFO: GPS data processed {"connection_id":187991,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:24:21] local.INFO: Acknowledgment sent {"connection_id":187991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:24:24] local.INFO: TCP Data received {"connection_id":185359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:24:24] local.INFO: Processing buffer {"connection_id":185359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:24:24] local.INFO: IMEI packet received {"connection_id":185359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":185359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:24:26] local.INFO: TCP Data received {"connection_id":185359,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae91aa28012d7ab0c005f86be0000f00931f..."} 
[2026-09-17 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae91aa28012d7ab0c005f86be0000f00931f..."} 
[2026-09-17 14:24:26] local.INFO: Processing buffer {"connection_id":185359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae91aa28012d7ab0c005f86be0000f00931f..."} 
[2026-09-17 14:24:26] local.INFO: Packet analysis {"connection_id":185359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:26] local.INFO: Extracted packet for processing {"connection_id":185359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763015360,"raw_latitude":100166624,"longitude_deg":76.301536,"latitude_deg":10.0166624,"altitude":15,"angle":147,"satellites":31,"speed":17,"hex_longitude":"2d7ab0c0","hex_latitude":"05f86be0","is_valid_coordinates":true} 
[2026-09-17 14:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146603776001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134189510064865280,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839299456776542208,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789635177000,"timestamp_ms":1789635177000,"timestamp_seconds":1789635177,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae91aa28"} 
[2026-09-17 14:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 14:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146603776001,"66":13363,"65":206,"87":12800,"24":17,"16":134189510064865280,"45":8839299456776542208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,87,24,16,45]} 
[2026-09-17 14:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146603776001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:24:26] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-17 14:24:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134189510064865280,"km_value":134189510064865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839299456776542208,"description":"Unknown IO ID 45"} 
[2026-09-17 14:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146603776001,"power":13363,"unknown_65":206,"unknown_87":12800,"ignition":17,"odometer":null,"unknown_45":8839299456776542208}} 
[2026-09-17 14:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":185359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:24:26] local.INFO: GPS data processed {"connection_id":185359,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:24:26] local.INFO: Acknowledgment sent {"connection_id":185359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:24:39] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae91dcf0012cf5e7c0070c03680006009626..."} 
[2026-09-17 14:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae91dcf0012cf5e7c0070c03680006009626..."} 
[2026-09-17 14:24:39] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae91dcf0012cf5e7c0070c03680006009626..."} 
[2026-09-17 14:24:39] local.INFO: Packet analysis {"connection_id":186660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:39] local.INFO: Extracted packet for processing {"connection_id":186660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:39] local.INFO: GPS Element Parsed {"raw_longitude":754313152,"raw_latitude":118227816,"longitude_deg":75.4313152,"latitude_deg":11.8227816,"altitude":6,"angle":150,"satellites":38,"speed":53,"hex_longitude":"2cf5e7c0","hex_latitude":"070c0368","is_valid_coordinates":true} 
[2026-09-17 14:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146606848001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32767465142353920,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-732890440341964800,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789635190000,"timestamp_ms":1789635190000,"timestamp_seconds":1789635190,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae91dcf0"} 
[2026-09-17 14:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 14:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146606848001,"66":14461,"38":206,"83":41728,"24":53,"16":32767465142353920,"44":-732890440341964800},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 14:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146606848001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:24:39] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 14:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32767465142353920,"km_value":32767465142353.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:24:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-732890440341964800,"description":"Unknown IO ID 44"} 
[2026-09-17 14:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146606848001,"power":14461,"unknown_38":206,"unknown_83":41728,"ignition":53,"odometer":null,"unknown_44":-732890440341964800}} 
[2026-09-17 14:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":186660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855922,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:24:40] local.INFO: GPS data processed {"connection_id":186660,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:24:40] local.INFO: Acknowledgment sent {"connection_id":186660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:24:53] local.INFO: TCP Data received {"connection_id":187991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:24:53] local.INFO: Processing buffer {"connection_id":187991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:24:53] local.INFO: Packet analysis {"connection_id":187991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:53] local.INFO: Extracted packet for processing {"connection_id":187991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:24:53] 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-09-17 14:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":187991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:24:53] local.INFO: GPS data processed {"connection_id":187991,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:24:53] local.INFO: Acknowledgment sent {"connection_id":187991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:24:57] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:24:57] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:24:57] local.INFO: IMEI packet received {"connection_id":186661,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":186661,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:24:57] local.INFO: TCP Data received {"connection_id":185359,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae92bf80012d7b2b0005f8c8c0000d002720..."} 
[2026-09-17 14:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae92bf80012d7b2b0005f8c8c0000d002720..."} 
[2026-09-17 14:24:57] local.INFO: Processing buffer {"connection_id":185359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae92bf80012d7b2b0005f8c8c0000d002720..."} 
[2026-09-17 14:24:57] local.INFO: Packet analysis {"connection_id":185359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae92"} 
[2026-09-17 14:24:57] local.INFO: Extracted packet for processing {"connection_id":185359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae92"} 
[2026-09-17 14:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763046656,"raw_latitude":100190400,"longitude_deg":76.3046656,"latitude_deg":10.01904,"altitude":13,"angle":39,"satellites":32,"speed":15,"hex_longitude":"2d7b2b00","hex_latitude":"05f8c8c0","is_valid_coordinates":true} 
[2026-09-17 14:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146618880001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134191464274984960,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867869166916317184,"note":"Value kept but may cause issues"} 
[2026-09-17 14:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789635248000,"timestamp_ms":1789635248000,"timestamp_seconds":1789635248,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae92bf80"} 
[2026-09-17 14:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 14:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146618880001,"66":13363,"5":206,"87":12800,"24":15,"16":134191464274984960,"45":8867869166916317184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-17 14:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146618880001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:24:57] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-17 14:24:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134191464274984960,"km_value":134191464274984.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867869166916317184,"description":"Unknown IO ID 45"} 
[2026-09-17 14:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146618880001,"power":13363,"unknown_5":206,"unknown_87":12800,"ignition":15,"odometer":null,"unknown_45":8867869166916317184}} 
[2026-09-17 14:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":185359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:24:57] local.INFO: GPS data processed {"connection_id":185359,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:24:57] local.INFO: Acknowledgment sent {"connection_id":185359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:25:02] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:25:02] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:25:02] local.INFO: IMEI packet received {"connection_id":186661,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":186661,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:25:02] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae91f848012cf5f8c0070be4580006009a27..."} 
[2026-09-17 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae91f848012cf5f8c0070be4580006009a27..."} 
[2026-09-17 14:25:02] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae91f848012cf5f8c0070be4580006009a27..."} 
[2026-09-17 14:25:02] local.INFO: Packet analysis {"connection_id":186661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:25:02] local.INFO: Extracted packet for processing {"connection_id":186661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":754317504,"raw_latitude":118219864,"longitude_deg":75.4317504,"latitude_deg":11.8219864,"altitude":6,"angle":154,"satellites":39,"speed":52,"hex_longitude":"2cf5f8c0","hex_latitude":"070be458","is_valid_coordinates":true} 
[2026-09-17 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146608640001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32767903229018112,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-727401678298191872,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789635197000,"timestamp_ms":1789635197000,"timestamp_seconds":1789635197,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae91f848"} 
[2026-09-17 14:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 14:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146608640001,"66":14537,"38":206,"83":41728,"24":52,"16":32767903229018112,"44":-727401678298191872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 14:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146608640001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:25:02] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 14:25:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32767903229018112,"km_value":32767903229018.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-727401678298191872,"description":"Unknown IO ID 44"} 
[2026-09-17 14:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146608640001,"power":14537,"unknown_38":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-727401678298191872}} 
[2026-09-17 14:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":186661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:25:03] local.INFO: GPS data processed {"connection_id":186661,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:25:03] local.INFO: Acknowledgment sent {"connection_id":186661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:25:07] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae921788012cf608c0070bc058000600a127..."} 
[2026-09-17 14:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae921788012cf608c0070bc058000600a127..."} 
[2026-09-17 14:25:07] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae921788012cf608c0070bc058000600a127..."} 
[2026-09-17 14:25:07] local.INFO: Packet analysis {"connection_id":186661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae92"} 
[2026-09-17 14:25:07] local.INFO: Extracted packet for processing {"connection_id":186661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae92"} 
[2026-09-17 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":754321600,"raw_latitude":118210648,"longitude_deg":75.43216,"latitude_deg":11.8210648,"altitude":6,"angle":161,"satellites":39,"speed":49,"hex_longitude":"2cf608c0","hex_latitude":"070bc058","is_valid_coordinates":true} 
[2026-09-17 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146610432001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768388560322560,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-722616603696146432,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789635205000,"timestamp_ms":1789635205000,"timestamp_seconds":1789635205,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae921788"} 
[2026-09-17 14:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 14:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146610432001,"66":14450,"38":206,"83":41728,"24":49,"16":32768388560322560,"44":-722616603696146432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 14:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146610432001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:25:07] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 14:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768388560322560,"km_value":32768388560322.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:25:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-722616603696146432,"description":"Unknown IO ID 44"} 
[2026-09-17 14:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146610432001,"power":14450,"unknown_38":206,"unknown_83":41728,"ignition":49,"odometer":null,"unknown_44":-722616603696146432}} 
[2026-09-17 14:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":186661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855926,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:25:08] local.INFO: GPS data processed {"connection_id":186661,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:25:08] local.INFO: Acknowledgment sent {"connection_id":186661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:25:15] local.INFO: TCP Data received {"connection_id":186662,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:25:15] local.INFO: Processing buffer {"connection_id":186662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:25:15] local.INFO: IMEI packet received {"connection_id":186662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":186662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:25:20] local.INFO: TCP Data received {"connection_id":186662,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:25:20] local.INFO: Processing buffer {"connection_id":186662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:25:20] local.INFO: IMEI packet received {"connection_id":186662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":186662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:25:21] local.INFO: TCP Data received {"connection_id":186662,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:25:21] local.INFO: Processing buffer {"connection_id":186662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:25:21] local.INFO: Packet analysis {"connection_id":186662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:25:21] local.INFO: Extracted packet for processing {"connection_id":186662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:25:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":186662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:25:21] local.INFO: GPS data processed {"connection_id":186662,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:25:21] local.INFO: Acknowledgment sent {"connection_id":186662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:25:25] local.INFO: TCP Data received {"connection_id":185220,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:25:25] local.INFO: Processing buffer {"connection_id":185220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:25:25] local.INFO: IMEI packet received {"connection_id":185220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":185220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:25:30] local.INFO: TCP Data received {"connection_id":185220,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:25:30] local.INFO: Processing buffer {"connection_id":185220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:25:30] local.INFO: IMEI packet received {"connection_id":185220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":185220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:25:31] local.INFO: TCP Data received {"connection_id":185220,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9309b8012d7b3c8005f8e1b8000c001822..."} 
[2026-09-17 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9309b8012d7b3c8005f8e1b8000c001822..."} 
[2026-09-17 14:25:31] local.INFO: Processing buffer {"connection_id":185220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9309b8012d7b3c8005f8e1b8000c001822..."} 
[2026-09-17 14:25:31] local.INFO: Packet analysis {"connection_id":185220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:25:31] local.INFO: Extracted packet for processing {"connection_id":185220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763051136,"raw_latitude":100196792,"longitude_deg":76.3051136,"latitude_deg":10.0196792,"altitude":12,"angle":24,"satellites":34,"speed":27,"hex_longitude":"2d7b3c80","hex_latitude":"05f8e1b8","is_valid_coordinates":true} 
[2026-09-17 14:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146623488001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134191842232107008,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875187516312436736,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789635267000,"timestamp_ms":1789635267000,"timestamp_seconds":1789635267,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9309b8"} 
[2026-09-17 14:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 14:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146623488001,"66":13417,"5":206,"87":12800,"24":27,"16":134191842232107008,"45":8875187516312436736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-17 14:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146623488001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:25:31] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-17 14:25:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134191842232107008,"km_value":134191842232107.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875187516312436736,"description":"Unknown IO ID 45"} 
[2026-09-17 14:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146623488001,"power":13417,"unknown_5":206,"unknown_87":12800,"ignition":27,"odometer":null,"unknown_45":8875187516312436736}} 
[2026-09-17 14:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":185220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:25:31] local.INFO: GPS data processed {"connection_id":185220,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:25:31] local.INFO: Acknowledgment sent {"connection_id":185220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:25:33] local.INFO: TCP Data received {"connection_id":185220,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9334b0012d7b4f4005f90118000d00211a..."} 
[2026-09-17 14:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9334b0012d7b4f4005f90118000d00211a..."} 
[2026-09-17 14:25:33] local.INFO: Processing buffer {"connection_id":185220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9334b0012d7b4f4005f90118000d00211a..."} 
[2026-09-17 14:25:33] local.INFO: Packet analysis {"connection_id":185220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:25:33] local.INFO: Extracted packet for processing {"connection_id":185220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763055936,"raw_latitude":100204824,"longitude_deg":76.3055936,"latitude_deg":10.0204824,"altitude":13,"angle":33,"satellites":26,"speed":25,"hex_longitude":"2d7b4f40","hex_latitude":"05f90118","is_valid_coordinates":true} 
[2026-09-17 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146628352001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134192297498640384,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880113328406509568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789635278000,"timestamp_ms":1789635278000,"timestamp_seconds":1789635278,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9334b0"} 
[2026-09-17 14:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-17 14:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146628352001,"66":13276,"5":206,"87":12800,"24":25,"16":134192297498640384,"45":8880113328406509568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-17 14:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146628352001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:25:33] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-17 14:25:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134192297498640384,"km_value":134192297498640.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880113328406509568,"description":"Unknown IO ID 45"} 
[2026-09-17 14:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146628352001,"power":13276,"unknown_5":206,"unknown_87":12800,"ignition":25,"odometer":null,"unknown_45":8880113328406509568}} 
[2026-09-17 14:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":185220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:25:33] local.INFO: GPS data processed {"connection_id":185220,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:25:33] local.INFO: Acknowledgment sent {"connection_id":185220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:25:39] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9265a8012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9265a8012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:25:39] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9265a8012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:25:39] local.INFO: Packet analysis {"connection_id":186661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae92"} 
[2026-09-17 14:25:39] local.INFO: Extracted packet for processing {"connection_id":186661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae92"} 
[2026-09-17 14:25:39] local.INFO: GPS Element Parsed {"raw_longitude":754323520,"raw_latitude":118202856,"longitude_deg":75.432352,"latitude_deg":11.8202856,"altitude":5,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2cf61040","hex_latitude":"070ba1e8","is_valid_coordinates":true} 
[2026-09-17 14:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146612480001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768779402346496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-718113004071135232,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789635225000,"timestamp_ms":1789635225000,"timestamp_seconds":1789635225,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9265a8"} 
[2026-09-17 14:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146612480001,"66":14559,"38":206,"83":41728,"24":0,"16":32768779402346496,"44":-718113004071135232},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 14:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146612480001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:25:39] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 14:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768779402346496,"km_value":32768779402346.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:25:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-718113004071135232,"description":"Unknown IO ID 44"} 
[2026-09-17 14:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146612480001,"power":14559,"unknown_38":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-718113004071135232}} 
[2026-09-17 14:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":186661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855930,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:25:39] local.INFO: GPS data processed {"connection_id":186661,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:25:39] local.INFO: Acknowledgment sent {"connection_id":186661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:25:53] local.INFO: TCP Data received {"connection_id":186662,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:25:53] local.INFO: Processing buffer {"connection_id":186662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:25:53] local.INFO: Packet analysis {"connection_id":186662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:25:53] local.INFO: Extracted packet for processing {"connection_id":186662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":186662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:25:53] local.INFO: GPS data processed {"connection_id":186662,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:25:53] local.INFO: Acknowledgment sent {"connection_id":186662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:25:57] local.INFO: TCP Data received {"connection_id":185360,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:25:57] local.INFO: Processing buffer {"connection_id":185360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:25:57] local.INFO: IMEI packet received {"connection_id":185360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":185360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:25:59] local.INFO: TCP Data received {"connection_id":185360,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:25:59] local.INFO: Processing buffer {"connection_id":185360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:25:59] local.INFO: IMEI packet received {"connection_id":185360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":185360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:26:00] local.INFO: TCP Data received {"connection_id":185360,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae92b7b0012cf61040070ba1e8000500a72a..."} 
[2026-09-17 14:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae92b7b0012cf61040070ba1e8000500a72a..."} 
[2026-09-17 14:26:00] local.INFO: Processing buffer {"connection_id":185360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae92b7b0012cf61040070ba1e8000500a72a..."} 
[2026-09-17 14:26:00] local.INFO: Packet analysis {"connection_id":185360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae92"} 
[2026-09-17 14:26:00] local.INFO: Extracted packet for processing {"connection_id":185360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae92"} 
[2026-09-17 14:26:00] local.INFO: GPS Element Parsed {"raw_longitude":754323520,"raw_latitude":118202856,"longitude_deg":75.432352,"latitude_deg":11.8202856,"altitude":5,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2cf61040","hex_latitude":"070ba1e8","is_valid_coordinates":true} 
[2026-09-17 14:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146617600001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768779402346496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716001941747800064,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789635246000,"timestamp_ms":1789635246000,"timestamp_seconds":1789635246,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae92b7b0"} 
[2026-09-17 14:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146617600001,"66":14439,"38":206,"83":41728,"24":0,"16":32768779402346496,"44":-716001941747800064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 14:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146617600001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:26:00] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 14:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768779402346496,"km_value":32768779402346.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716001941747800064,"description":"Unknown IO ID 44"} 
[2026-09-17 14:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146617600001,"power":14439,"unknown_38":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-716001941747800064}} 
[2026-09-17 14:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":185360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:26:00] local.INFO: GPS data processed {"connection_id":185360,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:26:00] local.INFO: Acknowledgment sent {"connection_id":185360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:26:14] local.INFO: TCP Data received {"connection_id":185220,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9382d0012d7b604005f92038000e00191e..."} 
[2026-09-17 14:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9382d0012d7b604005f92038000e00191e..."} 
[2026-09-17 14:26:14] local.INFO: Processing buffer {"connection_id":185220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9382d0012d7b604005f92038000e00191e..."} 
[2026-09-17 14:26:14] local.INFO: Packet analysis {"connection_id":185220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:26:14] local.INFO: Extracted packet for processing {"connection_id":185220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:26:14] local.INFO: GPS Element Parsed {"raw_longitude":763060288,"raw_latitude":100212792,"longitude_deg":76.3060288,"latitude_deg":10.0212792,"altitude":14,"angle":25,"satellites":30,"speed":20,"hex_longitude":"2d7b6040","hex_latitude":"05f92038","is_valid_coordinates":true} 
[2026-09-17 14:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146631168001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134192739880271872,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885390984221890560,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789635298000,"timestamp_ms":1789635298000,"timestamp_seconds":1789635298,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9382d0"} 
[2026-09-17 14:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 14:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146631168001,"66":13222,"5":206,"87":12800,"24":20,"16":134192739880271872,"45":8885390984221890560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-17 14:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146631168001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:26:14] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-17 14:26:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134192739880271872,"km_value":134192739880271.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885390984221890560,"description":"Unknown IO ID 45"} 
[2026-09-17 14:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146631168001,"power":13222,"unknown_5":206,"unknown_87":12800,"ignition":20,"odometer":null,"unknown_45":8885390984221890560}} 
[2026-09-17 14:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":185220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:26:14] local.INFO: GPS data processed {"connection_id":185220,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:26:14] local.INFO: Acknowledgment sent {"connection_id":185220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:26:15] local.INFO: TCP Data received {"connection_id":186663,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:26:15] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:26:15] local.INFO: IMEI packet received {"connection_id":186663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":186663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:26:19] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:26:19] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:26:19] local.INFO: IMEI packet received {"connection_id":186664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":186664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:26:20] local.INFO: TCP Data received {"connection_id":186663,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:26:20] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:26:20] local.INFO: IMEI packet received {"connection_id":186663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":186663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:26:21] local.INFO: TCP Data received {"connection_id":186663,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:26:21] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:26:21] local.INFO: Packet analysis {"connection_id":186663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:26:21] local.INFO: Extracted packet for processing {"connection_id":186663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:26:21] 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-09-17 14:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:26:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":186663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:26:21] local.INFO: GPS data processed {"connection_id":186663,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:26:21] local.INFO: Acknowledgment sent {"connection_id":186663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:26:25] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:26:25] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:26:25] local.INFO: IMEI packet received {"connection_id":186664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":186664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:26:27] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae939270012d7b644005f92640000f002521..."} 
[2026-09-17 14:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae939270012d7b644005f92640000f002521..."} 
[2026-09-17 14:26:27] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae939270012d7b644005f92640000f002521..."} 
[2026-09-17 14:26:27] local.INFO: Packet analysis {"connection_id":186664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:26:27] local.INFO: Extracted packet for processing {"connection_id":186664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763061312,"raw_latitude":100214336,"longitude_deg":76.3061312,"latitude_deg":10.0214336,"altitude":15,"angle":37,"satellites":33,"speed":13,"hex_longitude":"2d7b6440","hex_latitude":"05f92640","is_valid_coordinates":true} 
[2026-09-17 14:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146636288001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134192830074585088,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890176058828011520,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789635302000,"timestamp_ms":1789635302000,"timestamp_seconds":1789635302,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae939270"} 
[2026-09-17 14:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 14:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146636288001,"66":13602,"5":206,"87":12800,"24":13,"16":134192830074585088,"45":8890176058828011520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-17 14:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146636288001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:26:27] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-17 14:26:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134192830074585088,"km_value":134192830074585.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890176058828011520,"description":"Unknown IO ID 45"} 
[2026-09-17 14:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146636288001,"power":13602,"unknown_5":206,"unknown_87":12800,"ignition":13,"odometer":null,"unknown_45":8890176058828011520}} 
[2026-09-17 14:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":186664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:26:27] local.INFO: GPS data processed {"connection_id":186664,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:26:27] local.INFO: Acknowledgment sent {"connection_id":186664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:26:31] local.INFO: TCP Data received {"connection_id":185360,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9309b8012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9309b8012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:26:31] local.INFO: Processing buffer {"connection_id":185360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9309b8012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:26:31] local.INFO: Packet analysis {"connection_id":185360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:26:31] local.INFO: Extracted packet for processing {"connection_id":185360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:26:31] local.INFO: GPS Element Parsed {"raw_longitude":754323520,"raw_latitude":118202856,"longitude_deg":75.432352,"latitude_deg":11.8202856,"altitude":5,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2cf61040","hex_latitude":"070ba1e8","is_valid_coordinates":true} 
[2026-09-17 14:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146622976001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768779402346496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716001941747800064,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789635267000,"timestamp_ms":1789635267000,"timestamp_seconds":1789635267,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9309b8"} 
[2026-09-17 14:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 14:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146622976001,"66":14461,"38":206,"83":41728,"24":0,"16":32768779402346496,"44":-716001941747800064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 14:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146622976001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:26:31] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 14:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768779402346496,"km_value":32768779402346.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716001941747800064,"description":"Unknown IO ID 44"} 
[2026-09-17 14:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146622976001,"power":14461,"unknown_38":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-716001941747800064}} 
[2026-09-17 14:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":185360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:26:31] local.INFO: GPS data processed {"connection_id":185360,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:26:31] local.INFO: Acknowledgment sent {"connection_id":185360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:26:54] local.INFO: TCP Data received {"connection_id":186663,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:26:54] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:26:54] local.INFO: Packet analysis {"connection_id":186663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:26:54] local.INFO: Extracted packet for processing {"connection_id":186663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:26:54] 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-09-17 14:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:26:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":186663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:26:54] local.INFO: GPS data processed {"connection_id":186663,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:26:54] local.INFO: Acknowledgment sent {"connection_id":186663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:26:57] local.INFO: TCP Data received {"connection_id":186665,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:26:57] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:26:57] local.INFO: IMEI packet received {"connection_id":186665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":186665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:26:58] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae939a40012d7b654005f928f8000f001621..."} 
[2026-09-17 14:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae939a40012d7b654005f928f8000f001621..."} 
[2026-09-17 14:26:58] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae939a40012d7b654005f928f8000f001621..."} 
[2026-09-17 14:26:58] local.INFO: Packet analysis {"connection_id":186664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:26:58] local.INFO: Extracted packet for processing {"connection_id":186664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763061568,"raw_latitude":100215032,"longitude_deg":76.3061568,"latitude_deg":10.0215032,"altitude":15,"angle":22,"satellites":33,"speed":15,"hex_longitude":"2d7b6540","hex_latitude":"05f928f8","is_valid_coordinates":true} 
[2026-09-17 14:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146637312001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134192864434323456,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891301958735249408,"note":"Value kept but may cause issues"} 
[2026-09-17 14:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789635304000,"timestamp_ms":1789635304000,"timestamp_seconds":1789635304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae939a40"} 
[2026-09-17 14:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-17 14:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146637312001,"66":13243,"5":206,"87":12800,"24":15,"16":134192864434323456,"45":8891301958735249408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-17 14:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146637312001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:26:58] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-17 14:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 14:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134192864434323456,"km_value":134192864434323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891301958735249408,"description":"Unknown IO ID 45"} 
[2026-09-17 14:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146637312001,"power":13243,"unknown_5":206,"unknown_87":12800,"ignition":15,"odometer":null,"unknown_45":8891301958735249408}} 
[2026-09-17 14:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":186664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:26:58] local.INFO: GPS data processed {"connection_id":186664,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:26:58] local.INFO: Acknowledgment sent {"connection_id":186664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:27:02] local.INFO: TCP Data received {"connection_id":186665,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:27:02] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:27:02] local.INFO: IMEI packet received {"connection_id":186665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":186665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:27:03] local.INFO: TCP Data received {"connection_id":186665,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae935bc0012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae935bc0012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:27:03] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae935bc0012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:27:03] local.INFO: Packet analysis {"connection_id":186665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:27:03] local.INFO: Extracted packet for processing {"connection_id":186665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":754323520,"raw_latitude":118202856,"longitude_deg":75.432352,"latitude_deg":11.8202856,"altitude":5,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2cf61040","hex_latitude":"070ba1e8","is_valid_coordinates":true} 
[2026-09-17 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146628352001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768779402346496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716001941747800064,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789635288000,"timestamp_ms":1789635288000,"timestamp_seconds":1789635288,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae935bc0"} 
[2026-09-17 14:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 14:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146628352001,"66":14537,"38":206,"83":41728,"24":0,"16":32768779402346496,"44":-716001941747800064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 14:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146628352001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:27:03] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 14:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768779402346496,"km_value":32768779402346.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716001941747800064,"description":"Unknown IO ID 44"} 
[2026-09-17 14:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146628352001,"power":14537,"unknown_38":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-716001941747800064}} 
[2026-09-17 14:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":186665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:27:03] local.INFO: GPS data processed {"connection_id":186665,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:27:03] local.INFO: Acknowledgment sent {"connection_id":186665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:27:05] local.INFO: TCP Data received {"connection_id":185221,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:27:05] local.INFO: Processing buffer {"connection_id":185221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:27:05] local.INFO: IMEI packet received {"connection_id":185221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":185221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:27:15] local.INFO: TCP Data received {"connection_id":186666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:27:15] local.INFO: Processing buffer {"connection_id":186666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:27:15] local.INFO: IMEI packet received {"connection_id":186666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":186666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:27:20] local.INFO: TCP Data received {"connection_id":187993,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:27:20] local.INFO: Processing buffer {"connection_id":187993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:27:20] local.INFO: IMEI packet received {"connection_id":187993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":187993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:27:20] local.INFO: TCP Data received {"connection_id":186666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:27:20] local.INFO: Processing buffer {"connection_id":186666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:27:20] local.INFO: IMEI packet received {"connection_id":186666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":186666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:27:21] local.INFO: TCP Data received {"connection_id":186666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:27:21] local.INFO: Processing buffer {"connection_id":186666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:27:21] local.INFO: Packet analysis {"connection_id":186666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:27:21] local.INFO: Extracted packet for processing {"connection_id":186666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:27:21] 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-09-17 14:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:27:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":186666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:27:21] local.INFO: GPS data processed {"connection_id":186666,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:27:21] local.INFO: Acknowledgment sent {"connection_id":186666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:27:24] local.INFO: TCP Data received {"connection_id":187993,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:27:24] local.INFO: Processing buffer {"connection_id":187993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:27:24] local.INFO: IMEI packet received {"connection_id":187993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":187993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:27:24] local.INFO: TCP Data received {"connection_id":187993,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:27:24] local.INFO: Processing buffer {"connection_id":187993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:27:24] local.INFO: IMEI packet received {"connection_id":187993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":187993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:27:25] local.INFO: TCP Data received {"connection_id":187993,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae954020012d7c0c4005fa48f8000f00201e..."} 
[2026-09-17 14:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae954020012d7c0c4005fa48f8000f00201e..."} 
[2026-09-17 14:27:25] local.INFO: Processing buffer {"connection_id":187993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae954020012d7c0c4005fa48f8000f00201e..."} 
[2026-09-17 14:27:25] local.INFO: Packet analysis {"connection_id":187993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:27:25] local.INFO: Extracted packet for processing {"connection_id":187993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763104320,"raw_latitude":100288760,"longitude_deg":76.310432,"latitude_deg":10.028876,"altitude":15,"angle":32,"satellites":30,"speed":23,"hex_longitude":"2d7c0c40","hex_latitude":"05fa48f8","is_valid_coordinates":true} 
[2026-09-17 14:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146661888001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134196987602927616,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933663942747205632,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789635412000,"timestamp_ms":1789635412000,"timestamp_seconds":1789635412,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae954020"} 
[2026-09-17 14:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 14:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146661888001,"66":13374,"25":206,"87":10752,"24":23,"16":134196987602927616,"45":8933663942747205632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,87,24,16,45]} 
[2026-09-17 14:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146661888001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:27:25] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-17 14:27:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134196987602927616,"km_value":134196987602927.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933663942747205632,"description":"Unknown IO ID 45"} 
[2026-09-17 14:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146661888001,"power":13374,"unknown_25":206,"unknown_87":10752,"ignition":23,"odometer":null,"unknown_45":8933663942747205632}} 
[2026-09-17 14:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":187993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:27:25] local.INFO: GPS data processed {"connection_id":187993,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:27:25] local.INFO: Acknowledgment sent {"connection_id":187993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:27:34] local.INFO: TCP Data received {"connection_id":186665,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae93adc8012cf61040070ba1e8000500a728..."} 
[2026-09-17 14:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae93adc8012cf61040070ba1e8000500a728..."} 
[2026-09-17 14:27:34] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae93adc8012cf61040070ba1e8000500a728..."} 
[2026-09-17 14:27:34] local.INFO: Packet analysis {"connection_id":186665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:27:34] local.INFO: Extracted packet for processing {"connection_id":186665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:27:34] local.INFO: GPS Element Parsed {"raw_longitude":754323520,"raw_latitude":118202856,"longitude_deg":75.432352,"latitude_deg":11.8202856,"altitude":5,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2cf61040","hex_latitude":"070ba1e8","is_valid_coordinates":true} 
[2026-09-17 14:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146633728001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768779402346496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716001941747800064,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789635309000,"timestamp_ms":1789635309000,"timestamp_seconds":1789635309,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae93adc8"} 
[2026-09-17 14:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 14:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146633728001,"66":13830,"38":206,"83":41728,"24":0,"16":32768779402346496,"44":-716001941747800064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-17 14:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146633728001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:27:34] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 14:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768779402346496,"km_value":32768779402346.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:27:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716001941747800064,"description":"Unknown IO ID 44"} 
[2026-09-17 14:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146633728001,"power":13830,"unknown_38":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-716001941747800064}} 
[2026-09-17 14:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":186665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:27:35] local.INFO: GPS data processed {"connection_id":186665,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:27:35] local.INFO: Acknowledgment sent {"connection_id":186665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:27:38] local.INFO: TCP Data received {"connection_id":187993,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae956f00012d7c1f4005fa69680011001c20..."} 
[2026-09-17 14:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae956f00012d7c1f4005fa69680011001c20..."} 
[2026-09-17 14:27:38] local.INFO: Processing buffer {"connection_id":187993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae956f00012d7c1f4005fa69680011001c20..."} 
[2026-09-17 14:27:38] local.INFO: Packet analysis {"connection_id":187993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:27:38] local.INFO: Extracted packet for processing {"connection_id":187993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763109184,"raw_latitude":100297064,"longitude_deg":76.3109184,"latitude_deg":10.0297064,"altitude":17,"angle":28,"satellites":32,"speed":33,"hex_longitude":"2d7c1f40","hex_latitude":"05fa6968","is_valid_coordinates":true} 
[2026-09-17 14:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146665472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134197455754362880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938589754841692160,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789635424000,"timestamp_ms":1789635424000,"timestamp_seconds":1789635424,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae956f00"} 
[2026-09-17 14:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 14:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146665472001,"66":12624,"26":206,"87":10752,"24":33,"16":134197455754362880,"45":8938589754841692160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-09-17 14:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146665472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:27:38] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-17 14:27:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134197455754362880,"km_value":134197455754362.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938589754841692160,"description":"Unknown IO ID 45"} 
[2026-09-17 14:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146665472001,"power":12624,"unknown_26":206,"unknown_87":10752,"ignition":33,"odometer":null,"unknown_45":8938589754841692160}} 
[2026-09-17 14:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":187993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:27:38] local.INFO: GPS data processed {"connection_id":187993,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:27:38] local.INFO: Acknowledgment sent {"connection_id":187993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:27:53] local.INFO: TCP Data received {"connection_id":186666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:27:53] local.INFO: Processing buffer {"connection_id":186666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae916f90012d34c14006aa4438000c010129..."} 
[2026-09-17 14:27:53] local.INFO: Packet analysis {"connection_id":186666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:27:53] local.INFO: Extracted packet for processing {"connection_id":186666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae91"} 
[2026-09-17 14:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146524416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789635162000,"timestamp_ms":1789635162000,"timestamp_seconds":1789635162,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae916f90"} 
[2026-09-17 14:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:27:53] 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-09-17 14:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146524416001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146524416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146524416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":186666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:27:53] local.INFO: GPS data processed {"connection_id":186666,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:27:53] local.INFO: Acknowledgment sent {"connection_id":186666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:27:55] local.INFO: TCP Data received {"connection_id":185361,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:27:55] local.INFO: Processing buffer {"connection_id":185361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:27:55] local.INFO: IMEI packet received {"connection_id":185361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":185361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:27:57] local.INFO: TCP Data received {"connection_id":186667,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:27:57] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:27:57] local.INFO: IMEI packet received {"connection_id":186667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":186667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:28:02] local.INFO: TCP Data received {"connection_id":186667,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:28:02] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:28:02] local.INFO: IMEI packet received {"connection_id":186667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":186667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:28:02] local.INFO: TCP Data received {"connection_id":186667,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae93ffd0012cf61040070ba1e8000500a728..."} 
[2026-09-17 14:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae93ffd0012cf61040070ba1e8000500a728..."} 
[2026-09-17 14:28:02] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae93ffd0012cf61040070ba1e8000500a728..."} 
[2026-09-17 14:28:02] local.INFO: Packet analysis {"connection_id":186667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:28:02] local.INFO: Extracted packet for processing {"connection_id":186667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae93"} 
[2026-09-17 14:28:02] local.INFO: GPS Element Parsed {"raw_longitude":754323520,"raw_latitude":118202856,"longitude_deg":75.432352,"latitude_deg":11.8202856,"altitude":5,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2cf61040","hex_latitude":"070ba1e8","is_valid_coordinates":true} 
[2026-09-17 14:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146639104001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716001941747800064,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768779402346496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789635330000,"timestamp_ms":1789635330000,"timestamp_seconds":1789635330,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae93ffd0"} 
[2026-09-17 14:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2734692352,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":24,"raw_value":14636707394682880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652632960746496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2928801864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4128260103,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2456135681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2716336133,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":992346318,"corrected_to":0} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2281778422,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3221687232,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-1152590594963405044,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.WARNING: Large IO value detected {"io_id":3,"raw_value":7493996379533344821,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,38,83,24,241,157,16,107,160,91,44,64,161,5,41,10,66,9,183,1,240,103,227,174,11,4,113,205,23,8,88,39,239,56,2,116,7,6,52,220,3],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":992346318,"validated":0}]} 
[2026-09-17 14:28:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360471760430170112,"timestamp_seconds":360471760430170.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146639104001,"66":14548,"44":-716001941747800064,"83":41728,"24":0,"16":32768779402346496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 14:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146639104001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716001941747800064,"description":"Unknown IO ID 44"} 
[2026-09-17 14:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768779402346496,"km_value":32768779402346.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:28:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146639104001,"power":14548,"unknown_44":-716001941747800064,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-09-17 14:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":186667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:28:02] local.INFO: GPS data processed {"connection_id":186667,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:28:02] local.INFO: Acknowledgment sent {"connection_id":186667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:28:20] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:28:20] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:28:20] local.INFO: IMEI packet received {"connection_id":186668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":186668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:28:21] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:28:21] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:28:21] local.INFO: IMEI packet received {"connection_id":186668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":186668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:28:22] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:28:22] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:28:22] local.INFO: Packet analysis {"connection_id":186668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:28:22] local.INFO: Extracted packet for processing {"connection_id":186668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:28:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:28:22] 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-09-17 14:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:28:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:28:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":186668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:28:22] local.INFO: GPS data processed {"connection_id":186668,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:28:22] local.INFO: Acknowledgment sent {"connection_id":186668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:28:22] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:28:22] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:28:22] local.INFO: IMEI packet received {"connection_id":186670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":186670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:28:25] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:28:25] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:28:25] local.INFO: IMEI packet received {"connection_id":186670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":186670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:28:28] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:28:28] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:28:28] local.INFO: Packet analysis {"connection_id":186668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:28:28] local.INFO: Extracted packet for processing {"connection_id":186668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:28:28] 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-09-17 14:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:28:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:28:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":186668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:28:28] local.INFO: GPS data processed {"connection_id":186668,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:28:28] local.INFO: Acknowledgment sent {"connection_id":186668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:28:30] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:28:30] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:28:30] local.INFO: IMEI packet received {"connection_id":186670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":186670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:28:31] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae95b168012d7c304005fa88980010002124..."} 
[2026-09-17 14:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae95b168012d7c304005fa88980010002124..."} 
[2026-09-17 14:28:31] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae95b168012d7c304005fa88980010002124..."} 
[2026-09-17 14:28:31] local.INFO: Packet analysis {"connection_id":186670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:28:31] local.INFO: Extracted packet for processing {"connection_id":186670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763113536,"raw_latitude":100305048,"longitude_deg":76.3113536,"latitude_deg":10.0305048,"altitude":16,"angle":33,"satellites":36,"speed":26,"hex_longitude":"2d7c3040","hex_latitude":"05fa8898","is_valid_coordinates":true} 
[2026-09-17 14:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146668544001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134197893841027072,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943937779401320448,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789635441000,"timestamp_ms":1789635441000,"timestamp_seconds":1789635441,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae95b168"} 
[2026-09-17 14:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 14:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146668544001,"66":13515,"26":206,"87":10752,"24":26,"16":134197893841027072,"45":8943937779401320448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-09-17 14:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146668544001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:28:31] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-17 14:28:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134197893841027072,"km_value":134197893841027.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943937779401320448,"description":"Unknown IO ID 45"} 
[2026-09-17 14:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146668544001,"power":13515,"unknown_26":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":8943937779401320448}} 
[2026-09-17 14:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":186670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:28:31] local.INFO: GPS data processed {"connection_id":186670,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:28:31] local.INFO: Acknowledgment sent {"connection_id":186670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:28:34] local.INFO: TCP Data received {"connection_id":186667,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9451d8012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9451d8012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:28:34] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9451d8012cf61040070ba1e8000500a729..."} 
[2026-09-17 14:28:34] local.INFO: Packet analysis {"connection_id":186667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae94"} 
[2026-09-17 14:28:34] local.INFO: Extracted packet for processing {"connection_id":186667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae94"} 
[2026-09-17 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":754323520,"raw_latitude":118202856,"longitude_deg":75.432352,"latitude_deg":11.8202856,"altitude":5,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2cf61040","hex_latitude":"070ba1e8","is_valid_coordinates":true} 
[2026-09-17 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146644480001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716001941747800064,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768779402346496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:28:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789635351000,"timestamp_ms":1789635351000,"timestamp_seconds":1789635351,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9451d8"} 
[2026-09-17 14:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 14:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146644480001,"66":14580,"44":-716001941747800064,"83":41728,"24":0,"16":32768779402346496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 14:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146644480001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716001941747800064,"description":"Unknown IO ID 44"} 
[2026-09-17 14:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768779402346496,"km_value":32768779402346.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:28:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146644480001,"power":14580,"unknown_44":-716001941747800064,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-09-17 14:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":186667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855949,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:28:34] local.INFO: GPS data processed {"connection_id":186667,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:28:34] local.INFO: Acknowledgment sent {"connection_id":186667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:28:58] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:28:58] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:28:58] local.INFO: IMEI packet received {"connection_id":187994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":187994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:28:59] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:28:59] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:28:59] local.INFO: IMEI packet received {"connection_id":187994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":187994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:29:00] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:29:00] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:29:00] local.INFO: Packet analysis {"connection_id":186668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:29:00] local.INFO: Extracted packet for processing {"connection_id":186668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:29:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:29:00] 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-09-17 14:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:29:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:29:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":186668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:29:00] local.INFO: GPS data processed {"connection_id":186668,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:29:00] local.INFO: Acknowledgment sent {"connection_id":186668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:29:02] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:29:02] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:29:02] local.INFO: IMEI packet received {"connection_id":187994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":187994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:29:02] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae95d490012d7c438005faa660000f001f23..."} 
[2026-09-17 14:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae95d490012d7c438005faa660000f001f23..."} 
[2026-09-17 14:29:02] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae95d490012d7c438005faa660000f001f23..."} 
[2026-09-17 14:29:02] local.INFO: Packet analysis {"connection_id":186670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:29:02] local.INFO: Extracted packet for processing {"connection_id":186670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763118464,"raw_latitude":100312672,"longitude_deg":76.3118464,"latitude_deg":10.0312672,"altitude":15,"angle":31,"satellites":35,"speed":47,"hex_longitude":"2d7c4380","hex_latitude":"05faa660","is_valid_coordinates":true} 
[2026-09-17 14:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146672896001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134198331927691264,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722854007445504,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789635450000,"timestamp_ms":1789635450000,"timestamp_seconds":1789635450,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae95d490"} 
[2026-09-17 14:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 14:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146672896001,"66":13439,"26":206,"87":10752,"24":47,"16":134198331927691264,"45":8948722854007445504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-09-17 14:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146672896001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:29:02] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-17 14:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134198331927691264,"km_value":134198331927691.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722854007445504,"description":"Unknown IO ID 45"} 
[2026-09-17 14:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146672896001,"power":13439,"unknown_26":206,"unknown_87":10752,"ignition":47,"odometer":null,"unknown_45":8948722854007445504}} 
[2026-09-17 14:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":186670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:29:02] local.INFO: GPS data processed {"connection_id":186670,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:29:02] local.INFO: Acknowledgment sent {"connection_id":186670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:29:05] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:29:05] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:29:05] local.INFO: IMEI packet received {"connection_id":187994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":187994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:29:05] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae972480012cf61280070b9b70000600952a..."} 
[2026-09-17 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae972480012cf61280070b9b70000600952a..."} 
[2026-09-17 14:29:05] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae972480012cf61280070b9b70000600952a..."} 
[2026-09-17 14:29:05] local.INFO: Packet analysis {"connection_id":187994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae97"} 
[2026-09-17 14:29:05] local.INFO: Extracted packet for processing {"connection_id":187994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae97"} 
[2026-09-17 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":754324096,"raw_latitude":118201200,"longitude_deg":75.4324096,"latitude_deg":11.82012,"altitude":6,"angle":149,"satellites":42,"speed":1,"hex_longitude":"2cf61280","hex_latitude":"070b9b70","is_valid_coordinates":true} 
[2026-09-17 14:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146695680001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715509360538877952,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768873891627008,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789635536000,"timestamp_ms":1789635536000,"timestamp_seconds":1789635536,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae972480"} 
[2026-09-17 14:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 14:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":187994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":187994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":187994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146695680001,"66":13852,"44":-715509360538877952,"83":41728,"24":1,"16":32768873891627008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 14:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146695680001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:29:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715509360538877952,"description":"Unknown IO ID 44"} 
[2026-09-17 14:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768873891627008,"km_value":32768873891627.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:29:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146695680001,"power":13852,"unknown_44":-715509360538877952,"unknown_83":41728,"ignition":1,"odometer":null}} 
[2026-09-17 14:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":187994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855952,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:29:05] local.INFO: GPS data processed {"connection_id":187994,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:29:05] local.INFO: Acknowledgment sent {"connection_id":187994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:29:15] local.INFO: TCP Data received {"connection_id":185223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:29:15] local.INFO: Processing buffer {"connection_id":185223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:29:15] local.INFO: IMEI packet received {"connection_id":185223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":185223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:29:20] local.INFO: TCP Data received {"connection_id":185362,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:29:20] local.INFO: Processing buffer {"connection_id":185362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:29:20] local.INFO: IMEI packet received {"connection_id":185362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":185362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:29:20] local.INFO: TCP Data received {"connection_id":185223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:29:20] local.INFO: Processing buffer {"connection_id":185223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:29:20] local.INFO: IMEI packet received {"connection_id":185223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":185223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:29:21] local.INFO: TCP Data received {"connection_id":185223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:29:21] local.INFO: Processing buffer {"connection_id":185223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:29:21] local.INFO: Packet analysis {"connection_id":185223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:29:21] local.INFO: Extracted packet for processing {"connection_id":185223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:29:21] 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-09-17 14:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:29:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":185223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:29:21] local.INFO: GPS data processed {"connection_id":185223,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:29:21] local.INFO: Acknowledgment sent {"connection_id":185223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:29:24] local.INFO: TCP Data received {"connection_id":185362,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:29:24] local.INFO: Processing buffer {"connection_id":185362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:29:24] local.INFO: IMEI packet received {"connection_id":185362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":185362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:29:26] local.INFO: TCP Data received {"connection_id":185362,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae95efe8012d7c554005fac508000f001d21..."} 
[2026-09-17 14:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae95efe8012d7c554005fac508000f001d21..."} 
[2026-09-17 14:29:26] local.INFO: Processing buffer {"connection_id":185362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae95efe8012d7c554005fac508000f001d21..."} 
[2026-09-17 14:29:26] local.INFO: Packet analysis {"connection_id":185362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:29:26] local.INFO: Extracted packet for processing {"connection_id":185362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae95"} 
[2026-09-17 14:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763123008,"raw_latitude":100320520,"longitude_deg":76.3123008,"latitude_deg":10.032052,"altitude":15,"angle":29,"satellites":33,"speed":53,"hex_longitude":"2d7c5540","hex_latitude":"05fac508","is_valid_coordinates":true} 
[2026-09-17 14:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146675200001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134198770014355456,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954141247311077376,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789635457000,"timestamp_ms":1789635457000,"timestamp_seconds":1789635457,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae95efe8"} 
[2026-09-17 14:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-17 14:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146675200001,"66":13102,"26":206,"87":10752,"24":53,"16":134198770014355456,"45":8954141247311077376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-09-17 14:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146675200001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:29:26] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-17 14:29:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134198770014355456,"km_value":134198770014355.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954141247311077376,"description":"Unknown IO ID 45"} 
[2026-09-17 14:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146675200001,"power":13102,"unknown_26":206,"unknown_87":10752,"ignition":53,"odometer":null,"unknown_45":8954141247311077376}} 
[2026-09-17 14:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":185362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:29:26] local.INFO: GPS data processed {"connection_id":185362,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:29:26] local.INFO: Acknowledgment sent {"connection_id":185362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:29:37] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae972868012cf61280070b9b48000600a12b..."} 
[2026-09-17 14:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae972868012cf61280070b9b48000600a12b..."} 
[2026-09-17 14:29:37] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae972868012cf61280070b9b48000600a12b..."} 
[2026-09-17 14:29:37] local.INFO: Packet analysis {"connection_id":187994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae97"} 
[2026-09-17 14:29:37] local.INFO: Extracted packet for processing {"connection_id":187994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae97"} 
[2026-09-17 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":754324096,"raw_latitude":118201160,"longitude_deg":75.4324096,"latitude_deg":11.820116,"altitude":6,"angle":161,"satellites":43,"speed":1,"hex_longitude":"2cf61280","hex_latitude":"070b9b48","is_valid_coordinates":true} 
[2026-09-17 14:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146697216001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715368623050625024,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768873891627008,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789635537000,"timestamp_ms":1789635537000,"timestamp_seconds":1789635537,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae972868"} 
[2026-09-17 14:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-17 14:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146697216001,"66":13852,"44":-715368623050625024,"83":41728,"24":1,"16":32768873891627008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 14:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146697216001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715368623050625024,"description":"Unknown IO ID 44"} 
[2026-09-17 14:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768873891627008,"km_value":32768873891627.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:29:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146697216001,"power":13852,"unknown_44":-715368623050625024,"unknown_83":41728,"ignition":1,"odometer":null}} 
[2026-09-17 14:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":187994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855955,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:29:37] local.INFO: GPS data processed {"connection_id":187994,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:29:37] local.INFO: Acknowledgment sent {"connection_id":187994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:29:53] local.INFO: TCP Data received {"connection_id":185223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:29:53] local.INFO: Processing buffer {"connection_id":185223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:29:53] local.INFO: Packet analysis {"connection_id":185223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:29:53] local.INFO: Extracted packet for processing {"connection_id":185223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:29:53] 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-09-17 14:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":185223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:29:53] local.INFO: GPS data processed {"connection_id":185223,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:29:53] local.INFO: Acknowledgment sent {"connection_id":185223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:29:57] local.INFO: TCP Data received {"connection_id":185224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185224,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:29:57] local.INFO: Processing buffer {"connection_id":185224,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:29:57] local.INFO: IMEI packet received {"connection_id":185224,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":185224,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:29:57] local.INFO: TCP Data received {"connection_id":185362,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960f28012d7c66c005fae3280010001c21..."} 
[2026-09-17 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960f28012d7c66c005fae3280010001c21..."} 
[2026-09-17 14:29:57] local.INFO: Processing buffer {"connection_id":185362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960f28012d7c66c005fae3280010001c21..."} 
[2026-09-17 14:29:57] local.INFO: Packet analysis {"connection_id":185362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:29:57] local.INFO: Extracted packet for processing {"connection_id":185362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763127488,"raw_latitude":100328232,"longitude_deg":76.3127488,"latitude_deg":10.0328232,"altitude":16,"angle":28,"satellites":33,"speed":27,"hex_longitude":"2d7c66c0","hex_latitude":"05fae328","is_valid_coordinates":true} 
[2026-09-17 14:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146676992001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134199199511085056,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959137428149700608,"note":"Value kept but may cause issues"} 
[2026-09-17 14:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789635465000,"timestamp_ms":1789635465000,"timestamp_seconds":1789635465,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960f28"} 
[2026-09-17 14:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 14:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146676992001,"66":13276,"188":206,"87":10752,"24":27,"16":134199199511085056,"45":8959137428149700608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-09-17 14:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146676992001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:29:57] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-17 14:29:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134199199511085056,"km_value":134199199511085.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959137428149700608,"description":"Unknown IO ID 45"} 
[2026-09-17 14:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146676992001,"power":13276,"unknown_188":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":8959137428149700608}} 
[2026-09-17 14:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":185362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:29:57] local.INFO: GPS data processed {"connection_id":185362,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:29:57] local.INFO: Acknowledgment sent {"connection_id":185362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:30:02] local.INFO: TCP Data received {"connection_id":185224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185224,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:30:02] local.INFO: Processing buffer {"connection_id":185224,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:30:02] local.INFO: IMEI packet received {"connection_id":185224,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":185224,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:30:03] local.INFO: TCP Data received {"connection_id":185224,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae973bf0012cf61340070b99e0000700952b..."} 
[2026-09-17 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae973bf0012cf61340070b99e0000700952b..."} 
[2026-09-17 14:30:03] local.INFO: Processing buffer {"connection_id":185224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae973bf0012cf61340070b99e0000700952b..."} 
[2026-09-17 14:30:03] local.INFO: Packet analysis {"connection_id":185224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae97"} 
[2026-09-17 14:30:03] local.INFO: Extracted packet for processing {"connection_id":185224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae97"} 
[2026-09-17 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":754324288,"raw_latitude":118200800,"longitude_deg":75.4324288,"latitude_deg":11.82008,"altitude":7,"angle":149,"satellites":43,"speed":3,"hex_longitude":"2cf61340","hex_latitude":"070b99e0","is_valid_coordinates":true} 
[2026-09-17 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146697472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715368623050635264,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32768895366463488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789635542000,"timestamp_ms":1789635542000,"timestamp_seconds":1789635542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae973bf0"} 
[2026-09-17 14:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-17 14:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146697472001,"66":14515,"44":-715368623050635264,"83":41728,"24":3,"16":32768895366463488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 14:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146697472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715368623050635264,"description":"Unknown IO ID 44"} 
[2026-09-17 14:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32768895366463488,"km_value":32768895366463.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:30:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146697472001,"power":14515,"unknown_44":-715368623050635264,"unknown_83":41728,"ignition":3,"odometer":null}} 
[2026-09-17 14:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":185224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:30:03] local.INFO: GPS data processed {"connection_id":185224,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:30:03] local.INFO: Acknowledgment sent {"connection_id":185224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:30:15] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:30:15] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:30:15] local.INFO: IMEI packet received {"connection_id":186671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":186671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:30:20] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:30:20] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:30:20] local.INFO: IMEI packet received {"connection_id":186671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":186671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:30:21] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:30:21] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:30:21] local.INFO: Packet analysis {"connection_id":186671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:30:21] local.INFO: Extracted packet for processing {"connection_id":186671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":186671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:30:21] local.INFO: GPS data processed {"connection_id":186671,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:30:21] local.INFO: Acknowledgment sent {"connection_id":186671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:30:23] local.INFO: TCP Data received {"connection_id":187995,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:30:23] local.INFO: Processing buffer {"connection_id":187995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:30:23] local.INFO: IMEI packet received {"connection_id":187995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":187995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:30:25] local.INFO: TCP Data received {"connection_id":187995,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:30:25] local.INFO: Processing buffer {"connection_id":187995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:30:25] local.INFO: IMEI packet received {"connection_id":187995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":187995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:30:30] local.INFO: TCP Data received {"connection_id":187995,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:30:30] local.INFO: Processing buffer {"connection_id":187995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:30:30] local.INFO: IMEI packet received {"connection_id":187995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":187995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:30:30] local.INFO: TCP Data received {"connection_id":187995,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae97f770012d7cf90005fc2970000d001221..."} 
[2026-09-17 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae97f770012d7cf90005fc2970000d001221..."} 
[2026-09-17 14:30:30] local.INFO: Processing buffer {"connection_id":187995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae97f770012d7cf90005fc2970000d001221..."} 
[2026-09-17 14:30:30] local.INFO: Packet analysis {"connection_id":187995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae97"} 
[2026-09-17 14:30:30] local.INFO: Extracted packet for processing {"connection_id":187995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae97"} 
[2026-09-17 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763164928,"raw_latitude":100411760,"longitude_deg":76.3164928,"latitude_deg":10.041176,"altitude":13,"angle":18,"satellites":33,"speed":47,"hex_longitude":"2d7cf900","hex_latitude":"05fc2970","is_valid_coordinates":true} 
[2026-09-17 14:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146708992001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134203640507269120,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674677512192,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789635590000,"timestamp_ms":1789635590000,"timestamp_seconds":1789635590,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae97f770"} 
[2026-09-17 14:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 14:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146708992001,"66":13472,"116":206,"87":10752,"24":47,"16":134203640507269120,"45":9001358674677512192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 14:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146708992001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:30:30] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 14:30:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134203640507269120,"km_value":134203640507269.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674677512192,"description":"Unknown IO ID 45"} 
[2026-09-17 14:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146708992001,"power":13472,"unknown_116":206,"unknown_87":10752,"ignition":47,"odometer":null,"unknown_45":9001358674677512192}} 
[2026-09-17 14:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":187995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:30:30] local.INFO: GPS data processed {"connection_id":187995,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:30:30] local.INFO: Acknowledgment sent {"connection_id":187995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:30:34] local.INFO: TCP Data received {"connection_id":185224,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae984978012cf65c80070b5b200009008a2a..."} 
[2026-09-17 14:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae984978012cf65c80070b5b200009008a2a..."} 
[2026-09-17 14:30:34] local.INFO: Processing buffer {"connection_id":185224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae984978012cf65c80070b5b200009008a2a..."} 
[2026-09-17 14:30:34] local.INFO: Packet analysis {"connection_id":185224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:30:34] local.INFO: Extracted packet for processing {"connection_id":185224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:30:34] local.INFO: GPS Element Parsed {"raw_longitude":754343040,"raw_latitude":118184736,"longitude_deg":75.434304,"latitude_deg":11.8184736,"altitude":9,"angle":138,"satellites":42,"speed":43,"hex_longitude":"2cf65c80","hex_latitude":"070b5b20","is_valid_coordinates":true} 
[2026-09-17 14:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146714112001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-701787455426713600,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32770145201946624,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789635611000,"timestamp_ms":1789635611000,"timestamp_seconds":1789635611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae984978"} 
[2026-09-17 14:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 14:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146714112001,"66":14559,"44":-701787455426713600,"83":41728,"24":43,"16":32770145201946624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 14:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146714112001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-701787455426713600,"description":"Unknown IO ID 44"} 
[2026-09-17 14:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32770145201946624,"km_value":32770145201946.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:30:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146714112001,"power":14559,"unknown_44":-701787455426713600,"unknown_83":41728,"ignition":43,"odometer":null}} 
[2026-09-17 14:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":185224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855961,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:30:34] local.INFO: GPS data processed {"connection_id":185224,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:30:34] local.INFO: Acknowledgment sent {"connection_id":185224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:30:35] local.INFO: TCP Data received {"connection_id":187995,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9816b0012d7d040005fc4f180010000f21..."} 
[2026-09-17 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9816b0012d7d040005fc4f180010000f21..."} 
[2026-09-17 14:30:35] local.INFO: Processing buffer {"connection_id":187995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9816b0012d7d040005fc4f180010000f21..."} 
[2026-09-17 14:30:35] local.INFO: Packet analysis {"connection_id":187995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:30:35] local.INFO: Extracted packet for processing {"connection_id":187995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763167744,"raw_latitude":100421400,"longitude_deg":76.3167744,"latitude_deg":10.04214,"altitude":16,"angle":15,"satellites":33,"speed":48,"hex_longitude":"2d7d0400","hex_latitude":"05fc4f18","is_valid_coordinates":true} 
[2026-09-17 14:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146711040001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134204125838573568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005228955609427968,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789635598000,"timestamp_ms":1789635598000,"timestamp_seconds":1789635598,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9816b0"} 
[2026-09-17 14:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 14:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146711040001,"66":13406,"116":206,"87":10752,"24":48,"16":134204125838573568,"45":9005228955609427968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 14:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146711040001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:30:35] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 14:30:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134204125838573568,"km_value":134204125838573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005228955609427968,"description":"Unknown IO ID 45"} 
[2026-09-17 14:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146711040001,"power":13406,"unknown_116":206,"unknown_87":10752,"ignition":48,"odometer":null,"unknown_45":9005228955609427968}} 
[2026-09-17 14:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":187995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:30:35] local.INFO: GPS data processed {"connection_id":187995,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:30:35] local.INFO: Acknowledgment sent {"connection_id":187995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:30:52] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:30:52] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:30:52] local.INFO: Packet analysis {"connection_id":186671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:30:52] local.INFO: Extracted packet for processing {"connection_id":186671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":186671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:30:52] local.INFO: GPS data processed {"connection_id":186671,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:30:52] local.INFO: Acknowledgment sent {"connection_id":186671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:31:00] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:31:00] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:31:00] local.INFO: IMEI packet received {"connection_id":185364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":185364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:31:02] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 14:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 14:31:02] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 14:31:02] local.INFO: IMEI packet received {"connection_id":185364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":185364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:31:05] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae986ca0012cf67800070b3fd0000a008629..."} 
[2026-09-17 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae986ca0012cf67800070b3fd0000a008629..."} 
[2026-09-17 14:31:05] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0ae..."} 
[2026-09-17 14:31:05] local.INFO: IMEI packet received {"connection_id":185364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":185364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:31:09] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae988be0012cf69180070b2628000b008428..."} 
[2026-09-17 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae988be0012cf69180070b2628000b008428..."} 
[2026-09-17 14:31:09] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0ae986ca0012cf67800070b3fd0000a008629..."} 
[2026-09-17 14:31:09] local.INFO: Packet analysis {"connection_id":185364,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:09] local.INFO: Extracted packet for processing {"connection_id":185364,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":754350080,"raw_latitude":118177744,"longitude_deg":75.435008,"latitude_deg":11.8177744,"altitude":10,"angle":134,"satellites":41,"speed":44,"hex_longitude":"2cf67800","hex_latitude":"070b3fd0","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146716416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-694539474778251264,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32770617648349184,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789635620000,"timestamp_ms":1789635620000,"timestamp_seconds":1789635620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae986ca0"} 
[2026-09-17 14:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146716416001,"66":14613,"44":-694539474778251264,"83":41728,"24":44,"16":32770617648349184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 14:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146716416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:31:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-694539474778251264,"description":"Unknown IO ID 44"} 
[2026-09-17 14:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32770617648349184,"km_value":32770617648349.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:31:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146716416001,"power":14613,"unknown_44":-694539474778251264,"unknown_83":41728,"ignition":44,"odometer":null}} 
[2026-09-17 14:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":185364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855964,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:31:10] local.INFO: GPS data processed {"connection_id":185364,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:31:10] local.INFO: Acknowledgment sent {"connection_id":185364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:31:10] local.INFO: Packet analysis {"connection_id":185364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:10] local.INFO: Extracted packet for processing {"connection_id":185364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:10] local.INFO: GPS Element Parsed {"raw_longitude":754356608,"raw_latitude":118171176,"longitude_deg":75.4356608,"latitude_deg":11.8171176,"altitude":11,"angle":132,"satellites":40,"speed":43,"hex_longitude":"2cf69180","hex_latitude":"070b2628","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146718720001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-686798912920498176,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32771064324947968,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789635628000,"timestamp_ms":1789635628000,"timestamp_seconds":1789635628,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae988be0"} 
[2026-09-17 14:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-17 14:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146718720001,"66":14559,"44":-686798912920498176,"83":41728,"24":43,"16":32771064324947968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 14:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146718720001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-686798912920498176,"description":"Unknown IO ID 44"} 
[2026-09-17 14:31:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32771064324947968,"km_value":32771064324947.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:31:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146718720001,"power":14559,"unknown_44":-686798912920498176,"unknown_83":41728,"ignition":43,"odometer":null}} 
[2026-09-17 14:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":185364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855965,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:31:10] local.INFO: GPS data processed {"connection_id":185364,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:31:10] local.INFO: Acknowledgment sent {"connection_id":185364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:31:12] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae98bac0012cf6acc0070b0ca8000a008629..."} 
[2026-09-17 14:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae98bac0012cf6acc0070b0ca8000a008629..."} 
[2026-09-17 14:31:12] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae98bac0012cf6acc0070b0ca8000a008629..."} 
[2026-09-17 14:31:12] local.INFO: Packet analysis {"connection_id":185364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:12] local.INFO: Extracted packet for processing {"connection_id":185364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:12] local.INFO: GPS Element Parsed {"raw_longitude":754363584,"raw_latitude":118164648,"longitude_deg":75.4363584,"latitude_deg":11.8164648,"altitude":10,"angle":134,"satellites":41,"speed":27,"hex_longitude":"2cf6acc0","hex_latitude":"070b0ca8","is_valid_coordinates":true} 
[2026-09-17 14:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146720768001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-679621301016057856,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32771523886448640,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789635640000,"timestamp_ms":1789635640000,"timestamp_seconds":1789635640,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae98bac0"} 
[2026-09-17 14:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146720768001,"66":14439,"44":-679621301016057856,"83":41728,"24":27,"16":32771523886448640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-17 14:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146720768001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-679621301016057856,"description":"Unknown IO ID 44"} 
[2026-09-17 14:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32771523886448640,"km_value":32771523886448.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:31:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146720768001,"power":14439,"unknown_44":-679621301016057856,"unknown_83":41728,"ignition":27,"odometer":null}} 
[2026-09-17 14:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":185364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855966,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:31:12] local.INFO: GPS data processed {"connection_id":185364,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:31:12] local.INFO: Acknowledgment sent {"connection_id":185364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:31:15] local.INFO: TCP Data received {"connection_id":186673,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:31:15] local.INFO: Processing buffer {"connection_id":186673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:31:15] local.INFO: IMEI packet received {"connection_id":186673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":186673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:31:20] local.INFO: TCP Data received {"connection_id":187996,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:31:20] local.INFO: Processing buffer {"connection_id":187996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:31:20] local.INFO: IMEI packet received {"connection_id":187996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":187996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:31:20] local.INFO: TCP Data received {"connection_id":186673,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:31:20] local.INFO: Processing buffer {"connection_id":186673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:31:20] local.INFO: IMEI packet received {"connection_id":186673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":186673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:31:22] local.INFO: TCP Data received {"connection_id":186673,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:31:22] local.INFO: Processing buffer {"connection_id":186673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:31:22] local.INFO: Packet analysis {"connection_id":186673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:31:22] local.INFO: Extracted packet for processing {"connection_id":186673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:31:22] 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-09-17 14:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":186673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:31:22] local.INFO: GPS data processed {"connection_id":186673,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:31:22] local.INFO: Acknowledgment sent {"connection_id":186673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:31:24] local.INFO: TCP Data received {"connection_id":187996,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:31:24] local.INFO: Processing buffer {"connection_id":187996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:31:24] local.INFO: IMEI packet received {"connection_id":187996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":187996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:31:25] local.INFO: TCP Data received {"connection_id":187996,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9835f0012d7d0e0005fc74600013000e20..."} 
[2026-09-17 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9835f0012d7d0e0005fc74600013000e20..."} 
[2026-09-17 14:31:25] local.INFO: Processing buffer {"connection_id":187996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9835f0012d7d0e0005fc74600013000e20..."} 
[2026-09-17 14:31:25] local.INFO: Packet analysis {"connection_id":187996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:25] local.INFO: Extracted packet for processing {"connection_id":187996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763170304,"raw_latitude":100430944,"longitude_deg":76.3170304,"latitude_deg":10.0430944,"altitude":19,"angle":14,"satellites":32,"speed":53,"hex_longitude":"2d7d0e00","hex_latitude":"05fc7460","is_valid_coordinates":true} 
[2026-09-17 14:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146713088001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134204606874910720,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008325180355713024,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789635606000,"timestamp_ms":1789635606000,"timestamp_seconds":1789635606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9835f0"} 
[2026-09-17 14:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 14:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146713088001,"66":13417,"133":206,"87":10752,"24":53,"16":134204606874910720,"45":9008325180355713024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-09-17 14:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146713088001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:31:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-17 14:31:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134204606874910720,"km_value":134204606874910.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008325180355713024,"description":"Unknown IO ID 45"} 
[2026-09-17 14:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146713088001,"power":13417,"unknown_133":206,"unknown_87":10752,"ignition":53,"odometer":null,"unknown_45":9008325180355713024}} 
[2026-09-17 14:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":187996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:31:25] local.INFO: GPS data processed {"connection_id":187996,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:31:25] local.INFO: Acknowledgment sent {"connection_id":187996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:31:53] local.INFO: TCP Data received {"connection_id":186673,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:31:53] local.INFO: Processing buffer {"connection_id":186673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:31:53] local.INFO: Packet analysis {"connection_id":186673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:31:53] local.INFO: Extracted packet for processing {"connection_id":186673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:31:53] 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-09-17 14:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":186673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:31:53] local.INFO: GPS data processed {"connection_id":186673,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:31:53] local.INFO: Acknowledgment sent {"connection_id":186673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:31:56] local.INFO: TCP Data received {"connection_id":187996,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae985148012d7d18c005fc9ae8001500101d..."} 
[2026-09-17 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae985148012d7d18c005fc9ae8001500101d..."} 
[2026-09-17 14:31:56] local.INFO: Processing buffer {"connection_id":187996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae985148012d7d18c005fc9ae8001500101d..."} 
[2026-09-17 14:31:56] local.INFO: Packet analysis {"connection_id":187996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:56] local.INFO: Extracted packet for processing {"connection_id":187996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":100440808,"longitude_deg":76.3173056,"latitude_deg":10.0440808,"altitude":21,"angle":16,"satellites":29,"speed":59,"hex_longitude":"2d7d18c0","hex_latitude":"05fc9ae8","is_valid_coordinates":true} 
[2026-09-17 14:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146715136001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134205100796149760,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011139930125262848,"note":"Value kept but may cause issues"} 
[2026-09-17 14:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789635613000,"timestamp_ms":1789635613000,"timestamp_seconds":1789635613,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae985148"} 
[2026-09-17 14:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-17 14:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146715136001,"66":13059,"133":206,"87":10752,"24":59,"16":134205100796149760,"45":9011139930125262848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-09-17 14:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146715136001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:31:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-17 14:31:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134205100796149760,"km_value":134205100796149.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011139930125262848,"description":"Unknown IO ID 45"} 
[2026-09-17 14:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146715136001,"power":13059,"unknown_133":206,"unknown_87":10752,"ignition":59,"odometer":null,"unknown_45":9011139930125262848}} 
[2026-09-17 14:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":187996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:31:56] local.INFO: GPS data processed {"connection_id":187996,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:31:56] local.INFO: Acknowledgment sent {"connection_id":187996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:31:57] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:31:57] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:31:57] local.INFO: IMEI packet received {"connection_id":185225,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":185225,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:31:59] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:31:59] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:31:59] local.INFO: IMEI packet received {"connection_id":185225,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":185225,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:32:02] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:32:02] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:32:02] local.INFO: IMEI packet received {"connection_id":185225,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":185225,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:32:03] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae98f170012cf6c600070af398000a008529..."} 
[2026-09-17 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae98f170012cf6c600070af398000a008529..."} 
[2026-09-17 14:32:03] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae98f170012cf6c600070af398000a008529..."} 
[2026-09-17 14:32:03] local.INFO: Packet analysis {"connection_id":185225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:32:03] local.INFO: Extracted packet for processing {"connection_id":185225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae98"} 
[2026-09-17 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":754370048,"raw_latitude":118158232,"longitude_deg":75.4370048,"latitude_deg":11.8158232,"altitude":10,"angle":133,"satellites":41,"speed":24,"hex_longitude":"2cf6c600","hex_latitude":"070af398","is_valid_coordinates":true} 
[2026-09-17 14:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146723840001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32771961973112832,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-671951107902363648,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789635654000,"timestamp_ms":1789635654000,"timestamp_seconds":1789635654,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae98f170"} 
[2026-09-17 14:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 14:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146723840001,"66":14646,"178":206,"83":41728,"24":24,"16":32771961973112832,"44":-671951107902363648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-17 14:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146723840001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:32:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 14:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32771961973112832,"km_value":32771961973112.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-671951107902363648,"description":"Unknown IO ID 44"} 
[2026-09-17 14:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146723840001,"power":14646,"unknown_178":206,"unknown_83":41728,"ignition":24,"odometer":null,"unknown_44":-671951107902363648}} 
[2026-09-17 14:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":185225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855971,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:32:03] local.INFO: GPS data processed {"connection_id":185225,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:32:03] local.INFO: Acknowledgment sent {"connection_id":185225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:32:07] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae991880012cf6dc40070ad7f0000a008f28..."} 
[2026-09-17 14:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae991880012cf6dc40070ad7f0000a008f28..."} 
[2026-09-17 14:32:07] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae991880012cf6dc40070ad7f0000a008f28..."} 
[2026-09-17 14:32:07] local.INFO: Packet analysis {"connection_id":185225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:32:07] local.INFO: Extracted packet for processing {"connection_id":185225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:32:07] local.INFO: GPS Element Parsed {"raw_longitude":754375744,"raw_latitude":118151152,"longitude_deg":75.4375744,"latitude_deg":11.8151152,"altitude":10,"angle":143,"satellites":40,"speed":45,"hex_longitude":"2cf6dc40","hex_latitude":"070ad7f0","is_valid_coordinates":true} 
[2026-09-17 14:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146727424001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32772400059777024,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-664843864742062080,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789635664000,"timestamp_ms":1789635664000,"timestamp_seconds":1789635664,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae991880"} 
[2026-09-17 14:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-17 14:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146727424001,"66":14559,"178":206,"83":41728,"24":45,"16":32772400059777024,"44":-664843864742062080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-17 14:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146727424001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:32:07] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 14:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32772400059777024,"km_value":32772400059777.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-664843864742062080,"description":"Unknown IO ID 44"} 
[2026-09-17 14:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146727424001,"power":14559,"unknown_178":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-664843864742062080}} 
[2026-09-17 14:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":185225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855972,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:32:07] local.INFO: GPS data processed {"connection_id":185225,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:32:07] local.INFO: Acknowledgment sent {"connection_id":185225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:32:15] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:32:15] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:32:15] local.INFO: IMEI packet received {"connection_id":186674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":186674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:32:20] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:32:20] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:32:20] local.INFO: IMEI packet received {"connection_id":186674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":186674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:32:22] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:32:22] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:32:22] local.INFO: Packet analysis {"connection_id":186674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:32:22] local.INFO: Extracted packet for processing {"connection_id":186674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:32:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:32:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:32:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":186674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:32:22] local.INFO: GPS data processed {"connection_id":186674,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:32:22] local.INFO: Acknowledgment sent {"connection_id":186674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:32:22] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:32:22] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:32:22] local.INFO: IMEI packet received {"connection_id":186675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":186675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:32:23] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:32:23] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:32:23] local.INFO: IMEI packet received {"connection_id":186675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":186675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:32:24] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:32:24] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:32:24] local.INFO: IMEI packet received {"connection_id":186675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":186675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:32:25] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae99dfb8012d7d8f0005fe15800017001122..."} 
[2026-09-17 14:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae99dfb8012d7d8f0005fe15800017001122..."} 
[2026-09-17 14:32:25] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae99dfb8012d7d8f0005fe15800017001122..."} 
[2026-09-17 14:32:25] local.INFO: Packet analysis {"connection_id":186675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:32:25] local.INFO: Extracted packet for processing {"connection_id":186675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763203328,"raw_latitude":100537728,"longitude_deg":76.3203328,"latitude_deg":10.0537728,"altitude":23,"angle":17,"satellites":34,"speed":56,"hex_longitude":"2d7d8f00","hex_latitude":"05fe1580","is_valid_coordinates":true} 
[2026-09-17 14:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146741248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134210027123638272,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9043720658704424960,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789635715000,"timestamp_ms":1789635715000,"timestamp_seconds":1789635715,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae99dfb8"} 
[2026-09-17 14:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 14:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146741248001,"66":13515,"74":206,"87":10752,"24":56,"16":134210027123638272,"45":9043720658704424960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-17 14:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146741248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:32:25] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-17 14:32:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134210027123638272,"km_value":134210027123638.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9043720658704424960,"description":"Unknown IO ID 45"} 
[2026-09-17 14:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146741248001,"power":13515,"unknown_74":206,"unknown_87":10752,"ignition":56,"odometer":null,"unknown_45":9043720658704424960}} 
[2026-09-17 14:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":186675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:32:25] local.INFO: GPS data processed {"connection_id":186675,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:32:25] local.INFO: Acknowledgment sent {"connection_id":186675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:32:31] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae99fb10012d7d9c4005fe3a28001a001223..."} 
[2026-09-17 14:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae99fb10012d7d9c4005fe3a28001a001223..."} 
[2026-09-17 14:32:31] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae99fb10012d7d9c4005fe3a28001a001223..."} 
[2026-09-17 14:32:31] local.INFO: Packet analysis {"connection_id":186675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:32:31] local.INFO: Extracted packet for processing {"connection_id":186675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763206720,"raw_latitude":100547112,"longitude_deg":76.320672,"latitude_deg":10.0547112,"altitude":26,"angle":18,"satellites":35,"speed":54,"hex_longitude":"2d7d9c40","hex_latitude":"05fe3a28","is_valid_coordinates":true} 
[2026-09-17 14:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146743040001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134210512454942720,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047450202148274176,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789635722000,"timestamp_ms":1789635722000,"timestamp_seconds":1789635722,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae99fb10"} 
[2026-09-17 14:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 14:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146743040001,"66":13254,"74":206,"87":10752,"24":54,"16":134210512454942720,"45":9047450202148274176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-17 14:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146743040001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:32:31] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-17 14:32:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134210512454942720,"km_value":134210512454942.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047450202148274176,"description":"Unknown IO ID 45"} 
[2026-09-17 14:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146743040001,"power":13254,"unknown_74":206,"unknown_87":10752,"ignition":54,"odometer":null,"unknown_45":9047450202148274176}} 
[2026-09-17 14:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":186675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:32:31] local.INFO: GPS data processed {"connection_id":186675,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:32:31] local.INFO: Acknowledgment sent {"connection_id":186675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:32:38] local.INFO: TCP Data received {"connection_id":185225,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9937c0012cf6f280070abb18000a008d29..."} 
[2026-09-17 14:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9937c0012cf6f280070abb18000a008d29..."} 
[2026-09-17 14:32:38] local.INFO: Processing buffer {"connection_id":185225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9937c0012cf6f280070abb18000a008d29..."} 
[2026-09-17 14:32:38] local.INFO: Packet analysis {"connection_id":185225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:32:38] local.INFO: Extracted packet for processing {"connection_id":185225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":754381440,"raw_latitude":118143768,"longitude_deg":75.438144,"latitude_deg":11.8143768,"altitude":10,"angle":141,"satellites":41,"speed":42,"hex_longitude":"2cf6f280","hex_latitude":"070abb18","is_valid_coordinates":true} 
[2026-09-17 14:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146729984001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32772846736375808,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-658581046512062464,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789635672000,"timestamp_ms":1789635672000,"timestamp_seconds":1789635672,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9937c0"} 
[2026-09-17 14:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146729984001,"66":14559,"178":206,"83":41728,"24":42,"16":32772846736375808,"44":-658581046512062464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-17 14:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146729984001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:32:38] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 14:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32772846736375808,"km_value":32772846736375.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:32:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-658581046512062464,"description":"Unknown IO ID 44"} 
[2026-09-17 14:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146729984001,"power":14559,"unknown_178":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_44":-658581046512062464}} 
[2026-09-17 14:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":185225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855976,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:32:39] local.INFO: GPS data processed {"connection_id":185225,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:32:39] local.INFO: Acknowledgment sent {"connection_id":185225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:32:53] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:32:53] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae960758012d34c14006aa4438000c010128..."} 
[2026-09-17 14:32:53] local.INFO: Packet analysis {"connection_id":186674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:32:53] local.INFO: Extracted packet for processing {"connection_id":186674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae96"} 
[2026-09-17 14:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789635463000,"timestamp_ms":1789635463000,"timestamp_seconds":1789635463,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae960758"} 
[2026-09-17 14:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146601472001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146601472001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":186674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:32:53] local.INFO: GPS data processed {"connection_id":186674,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:32:53] local.INFO: Acknowledgment sent {"connection_id":186674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:32:56] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:32:56] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:32:56] local.INFO: IMEI packet received {"connection_id":186677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":186677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:32:56] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:32:56] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:32:56] local.INFO: IMEI packet received {"connection_id":186677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":186677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:33:02] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:33:02] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:33:02] local.INFO: IMEI packet received {"connection_id":186677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":186677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:33:02] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a1668012d7da78005fe5df00019001022..."} 
[2026-09-17 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a1668012d7da78005fe5df00019001022..."} 
[2026-09-17 14:33:02] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a1668012d7da78005fe5df00019001022..."} 
[2026-09-17 14:33:02] local.INFO: Packet analysis {"connection_id":186675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:02] local.INFO: Extracted packet for processing {"connection_id":186675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763209600,"raw_latitude":100556272,"longitude_deg":76.32096,"latitude_deg":10.0556272,"altitude":25,"angle":16,"satellites":34,"speed":49,"hex_longitude":"2d7da780","hex_latitude":"05fe5df0","is_valid_coordinates":true} 
[2026-09-17 14:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146744832001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134210976311410688,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9051179745592092672,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789635729000,"timestamp_ms":1789635729000,"timestamp_seconds":1789635729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a1668"} 
[2026-09-17 14:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 14:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146744832001,"66":13341,"74":206,"87":10752,"24":49,"16":134210976311410688,"45":9051179745592092672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-17 14:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146744832001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:33:02] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-17 14:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134210976311410688,"km_value":134210976311410.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9051179745592092672,"description":"Unknown IO ID 45"} 
[2026-09-17 14:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146744832001,"power":13341,"unknown_74":206,"unknown_87":10752,"ignition":49,"odometer":null,"unknown_45":9051179745592092672}} 
[2026-09-17 14:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":186675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:33:02] local.INFO: GPS data processed {"connection_id":186675,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:33:02] local.INFO: Acknowledgment sent {"connection_id":186675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:33:03] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9962b8012cf70a40070a9db0000b008f29..."} 
[2026-09-17 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9962b8012cf70a40070a9db0000b008f29..."} 
[2026-09-17 14:33:03] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9962b8012cf70a40070a9db0000b008f29..."} 
[2026-09-17 14:33:03] local.INFO: Packet analysis {"connection_id":186677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:33:03] local.INFO: Extracted packet for processing {"connection_id":186677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae99"} 
[2026-09-17 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":754387520,"raw_latitude":118136240,"longitude_deg":75.438752,"latitude_deg":11.813624,"altitude":11,"angle":143,"satellites":41,"speed":39,"hex_longitude":"2cf70a40","hex_latitude":"070a9db0","is_valid_coordinates":true} 
[2026-09-17 14:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146732032001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32773310592843776,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652318228282140672,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789635683000,"timestamp_ms":1789635683000,"timestamp_seconds":1789635683,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9962b8"} 
[2026-09-17 14:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146732032001,"66":14537,"13":206,"83":41728,"24":39,"16":32773310592843776,"44":-652318228282140672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-09-17 14:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146732032001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:33:03] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-17 14:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32773310592843776,"km_value":32773310592843.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652318228282140672,"description":"Unknown IO ID 44"} 
[2026-09-17 14:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146732032001,"power":14537,"unknown_13":206,"unknown_83":41728,"ignition":39,"odometer":null,"unknown_44":-652318228282140672}} 
[2026-09-17 14:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":186677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855979,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:33:03] local.INFO: GPS data processed {"connection_id":186677,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:33:03] local.INFO: Acknowledgment sent {"connection_id":186677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:33:15] local.INFO: TCP Data received {"connection_id":186676,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:33:15] local.INFO: Processing buffer {"connection_id":186676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:33:15] local.INFO: IMEI packet received {"connection_id":186676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:33:19] local.INFO: TCP Data received {"connection_id":185226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:33:19] local.INFO: Processing buffer {"connection_id":185226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:33:19] local.INFO: IMEI packet received {"connection_id":185226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":185226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:33:20] local.INFO: TCP Data received {"connection_id":185366,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:33:20] local.INFO: Processing buffer {"connection_id":185366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:33:20] local.INFO: IMEI packet received {"connection_id":185366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":185366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:33:22] local.INFO: TCP Data received {"connection_id":185366,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:33:22] local.INFO: Processing buffer {"connection_id":185366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:33:22] local.INFO: IMEI packet received {"connection_id":185366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":185366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:33:23] local.INFO: TCP Data received {"connection_id":185366,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:33:23] local.INFO: Processing buffer {"connection_id":185366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:33:23] local.INFO: Packet analysis {"connection_id":185366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:23] local.INFO: Extracted packet for processing {"connection_id":185366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:33:23] 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-09-17 14:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":185366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:33:23] local.INFO: GPS data processed {"connection_id":185366,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:33:23] local.INFO: Acknowledgment sent {"connection_id":185366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:33:24] local.INFO: TCP Data received {"connection_id":185226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:33:24] local.INFO: Processing buffer {"connection_id":185226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:33:24] local.INFO: IMEI packet received {"connection_id":185226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":185226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:33:25] local.INFO: TCP Data received {"connection_id":185226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a3d78012d7db1c005fe7f280019000f23..."} 
[2026-09-17 14:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a3d78012d7db1c005fe7f280019000f23..."} 
[2026-09-17 14:33:25] local.INFO: Processing buffer {"connection_id":185226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a3d78012d7db1c005fe7f280019000f23..."} 
[2026-09-17 14:33:25] local.INFO: Packet analysis {"connection_id":185226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:25] local.INFO: Extracted packet for processing {"connection_id":185226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763212224,"raw_latitude":100564776,"longitude_deg":76.3212224,"latitude_deg":10.0564776,"altitude":25,"angle":15,"satellites":35,"speed":18,"hex_longitude":"2d7db1c0","hex_latitude":"05fe7f28","is_valid_coordinates":true} 
[2026-09-17 14:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146746624001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134211405808140288,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9054346339082432512,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789635739000,"timestamp_ms":1789635739000,"timestamp_seconds":1789635739,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a3d78"} 
[2026-09-17 14:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 14:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146746624001,"66":13319,"74":206,"87":10752,"24":18,"16":134211405808140288,"45":9054346339082432512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-17 14:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146746624001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:33:25] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-17 14:33:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134211405808140288,"km_value":134211405808140.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9054346339082432512,"description":"Unknown IO ID 45"} 
[2026-09-17 14:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146746624001,"power":13319,"unknown_74":206,"unknown_87":10752,"ignition":18,"odometer":null,"unknown_45":9054346339082432512}} 
[2026-09-17 14:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":185226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:33:25] local.INFO: GPS data processed {"connection_id":185226,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:33:25] local.INFO: Acknowledgment sent {"connection_id":185226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:33:25] local.INFO: TCP Data received {"connection_id":185366,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:33:25] local.INFO: Processing buffer {"connection_id":185366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:33:25] local.INFO: Packet analysis {"connection_id":185366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:25] local.INFO: Extracted packet for processing {"connection_id":185366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:33:25] 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-09-17 14:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:33:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":185366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:33:25] local.INFO: GPS data processed {"connection_id":185366,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:33:25] local.INFO: Acknowledgment sent {"connection_id":185366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:33:31] local.INFO: TCP Data received {"connection_id":185366,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:33:31] local.INFO: Processing buffer {"connection_id":185366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:33:31] local.INFO: Packet analysis {"connection_id":185366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:31] local.INFO: Extracted packet for processing {"connection_id":185366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:33:31] 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-09-17 14:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":185366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:33:31] local.INFO: GPS data processed {"connection_id":185366,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:33:31] local.INFO: Acknowledgment sent {"connection_id":185366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:33:34] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9b1068012cf8484007091d600009009c28..."} 
[2026-09-17 14:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9b1068012cf8484007091d600009009c28..."} 
[2026-09-17 14:33:34] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9b1068012cf8484007091d600009009c28..."} 
[2026-09-17 14:33:34] local.INFO: Packet analysis {"connection_id":186677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:33:34] local.INFO: Extracted packet for processing {"connection_id":186677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:33:34] local.INFO: GPS Element Parsed {"raw_longitude":754468928,"raw_latitude":118037856,"longitude_deg":75.4468928,"latitude_deg":11.8037856,"altitude":9,"angle":156,"satellites":40,"speed":55,"hex_longitude":"2cf84840","hex_latitude":"07091d60","is_valid_coordinates":true} 
[2026-09-17 14:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146761728001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32779456691044352,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-559924067202510848,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789635793000,"timestamp_ms":1789635793000,"timestamp_seconds":1789635793,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9b1068"} 
[2026-09-17 14:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 14:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146761728001,"66":14450,"31":206,"83":41728,"24":55,"16":32779456691044352,"44":-559924067202510848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 14:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146761728001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:33:34] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 14:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32779456691044352,"km_value":32779456691044.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:33:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-559924067202510848,"description":"Unknown IO ID 44"} 
[2026-09-17 14:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146761728001,"power":14450,"unknown_31":206,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-559924067202510848}} 
[2026-09-17 14:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":186677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855984,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:33:34] local.INFO: GPS data processed {"connection_id":186677,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:33:34] local.INFO: Acknowledgment sent {"connection_id":186677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:33:50] local.INFO: TCP Data received {"connection_id":186678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:33:50] local.INFO: Processing buffer {"connection_id":186678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:33:50] local.INFO: IMEI packet received {"connection_id":186678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":186678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:33:55] local.INFO: TCP Data received {"connection_id":186678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:33:55] local.INFO: Processing buffer {"connection_id":186678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:33:55] local.INFO: IMEI packet received {"connection_id":186678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 14:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":186678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:33:56] local.INFO: TCP Data received {"connection_id":186678,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae8e5a80012d7f9e0005afe2500024010323..."} 
[2026-09-17 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae8e5a80012d7f9e0005afe2500024010323..."} 
[2026-09-17 14:33:56] local.INFO: Processing buffer {"connection_id":186678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae8e5a80012d7f9e0005afe2500024010323..."} 
[2026-09-17 14:33:56] local.INFO: Packet analysis {"connection_id":186678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:33:56] local.INFO: Extracted packet for processing {"connection_id":186678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae8e"} 
[2026-09-17 14:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":95412816,"longitude_deg":76.333824,"latitude_deg":9.5412816,"altitude":36,"angle":259,"satellites":35,"speed":0,"hex_longitude":"2d7f9e00","hex_latitude":"05afe250","is_valid_coordinates":true} 
[2026-09-17 14:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146472704001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4457046476849152,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513562812416,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789634960000,"timestamp_ms":1789634960000,"timestamp_seconds":1789634960,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae8e5a80"} 
[2026-09-17 14:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 14:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 14:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 14:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-17 14:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-17 14:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146472704001,"66":25625,"199":206,"85":12544,"24":0,"16":4457046476849152,"45":9195787513562812416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-17 14:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-17 14:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-17 14:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146472704001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:33:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-17 14:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-17 14:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4457046476849152,"km_value":4457046476849.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513562812416,"description":"Unknown IO ID 45"} 
[2026-09-17 14:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146472704001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195787513562812416}} 
[2026-09-17 14:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":186678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:33:56] local.INFO: GPS data processed {"connection_id":186678,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:33:56] local.INFO: Acknowledgment sent {"connection_id":186678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:33:57] local.INFO: TCP Data received {"connection_id":185367,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:33:57] local.INFO: Processing buffer {"connection_id":185367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:33:57] local.INFO: IMEI packet received {"connection_id":185367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":185367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:33:57] local.INFO: TCP Data received {"connection_id":185226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a7428012d7dbc0005fea1d80018001224..."} 
[2026-09-17 14:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a7428012d7dbc0005fea1d80018001224..."} 
[2026-09-17 14:33:57] local.INFO: Processing buffer {"connection_id":185226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a7428012d7dbc0005fea1d80018001224..."} 
[2026-09-17 14:33:57] local.INFO: Packet analysis {"connection_id":185226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:57] local.INFO: Extracted packet for processing {"connection_id":185226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763214848,"raw_latitude":100573656,"longitude_deg":76.3214848,"latitude_deg":10.0573656,"altitude":24,"angle":18,"satellites":36,"speed":44,"hex_longitude":"2d7dbc00","hex_latitude":"05fea1d8","is_valid_coordinates":true} 
[2026-09-17 14:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146749184001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134211856779706368,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9057231457595893760,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789635753000,"timestamp_ms":1789635753000,"timestamp_seconds":1789635753,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a7428"} 
[2026-09-17 14:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57778558664070954,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452618,"corrected_to":0} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2579783681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":253,"raw_value":-8637904012281111808,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1162543310,"corrected_to":0} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2147876302,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941317,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3463708672,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4255817728,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.WARNING: Large IO value detected {"io_id":153,"raw_value":6831961929609756677,"note":"Value kept but may cause issues"} 
[2026-09-17 14:33:57] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,74,87,24,241,157,16,208,160,22,45,128,93,25,34,10,66,251,64,58,26,35,207,223,1,240,203,227,174,253,4,113,205,55,169,116,28,239,51,75,2,220,5,18,37,153],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":203,"original":13452618,"validated":0},{"io_id":205,"original":1162543310,"validated":0}]} 
[2026-09-17 14:33:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801456493947650048,"timestamp_seconds":1801456493947650.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146749184001,"66":13428,"74":206,"87":10752,"24":44,"16":134211856779706368,"45":9057231457595893760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-17 14:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146749184001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:33:57] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-17 14:33:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134211856779706368,"km_value":134211856779706.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9057231457595893760,"description":"Unknown IO ID 45"} 
[2026-09-17 14:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146749184001,"power":13428,"unknown_74":206,"unknown_87":10752,"ignition":44,"odometer":null,"unknown_45":9057231457595893760}} 
[2026-09-17 14:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":185226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:33:57] local.INFO: GPS data processed {"connection_id":185226,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:33:57] local.INFO: Acknowledgment sent {"connection_id":185226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:34:02] local.INFO: TCP Data received {"connection_id":185367,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:34:02] local.INFO: Processing buffer {"connection_id":185367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:34:02] local.INFO: IMEI packet received {"connection_id":185367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":185367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:34:03] local.INFO: TCP Data received {"connection_id":185367,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9b23f0012cf85000070903a0000900a827..."} 
[2026-09-17 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9b23f0012cf85000070903a0000900a827..."} 
[2026-09-17 14:34:03] local.INFO: Processing buffer {"connection_id":185367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9b23f0012cf85000070903a0000900a827..."} 
[2026-09-17 14:34:03] local.INFO: Packet analysis {"connection_id":185367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:34:03] local.INFO: Extracted packet for processing {"connection_id":185367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":754470912,"raw_latitude":118031264,"longitude_deg":75.4470912,"latitude_deg":11.8031264,"altitude":9,"angle":168,"satellites":39,"speed":51,"hex_longitude":"2cf85000","hex_latitude":"070903a0","is_valid_coordinates":true} 
[2026-09-17 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146763008001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32779791698493440,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-556124155018387456,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789635798000,"timestamp_ms":1789635798000,"timestamp_seconds":1789635798,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9b23f0"} 
[2026-09-17 14:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146763008001,"66":14515,"31":206,"83":41728,"24":51,"16":32779791698493440,"44":-556124155018387456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 14:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146763008001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:34:03] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 14:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32779791698493440,"km_value":32779791698493.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-556124155018387456,"description":"Unknown IO ID 44"} 
[2026-09-17 14:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146763008001,"power":14515,"unknown_31":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-556124155018387456}} 
[2026-09-17 14:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":185367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855987,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:34:03] local.INFO: GPS data processed {"connection_id":185367,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:34:03] local.INFO: Acknowledgment sent {"connection_id":185367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:34:15] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:34:15] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:34:15] local.INFO: IMEI packet received {"connection_id":186679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":186679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:34:20] local.INFO: TCP Data received {"connection_id":185227,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:34:20] local.INFO: Processing buffer {"connection_id":185227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:34:20] local.INFO: IMEI packet received {"connection_id":185227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":185227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:34:20] local.INFO: TCP Data received {"connection_id":185227,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:34:20] local.INFO: Processing buffer {"connection_id":185227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:34:20] local.INFO: IMEI packet received {"connection_id":185227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":185227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:34:20] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:34:20] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:34:20] local.INFO: IMEI packet received {"connection_id":186679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":186679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:34:21] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:34:21] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:34:21] local.INFO: Packet analysis {"connection_id":186679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:34:21] local.INFO: Extracted packet for processing {"connection_id":186679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:34:21] 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-09-17 14:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:34:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":186679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:34:21] local.INFO: GPS data processed {"connection_id":186679,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:34:21] local.INFO: Acknowledgment sent {"connection_id":186679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:34:25] local.INFO: TCP Data received {"connection_id":185227,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:34:25] local.INFO: Processing buffer {"connection_id":185227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:34:25] local.INFO: IMEI packet received {"connection_id":185227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":185227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:34:26] local.INFO: TCP Data received {"connection_id":185227,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9bd3b8012d7de34005ff8f600016015720..."} 
[2026-09-17 14:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9bd3b8012d7de34005ff8f600016015720..."} 
[2026-09-17 14:34:26] local.INFO: Processing buffer {"connection_id":185227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9bd3b8012d7de34005ff8f600016015720..."} 
[2026-09-17 14:34:26] local.INFO: Packet analysis {"connection_id":185227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:34:26] local.INFO: Extracted packet for processing {"connection_id":185227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763224896,"raw_latitude":100634464,"longitude_deg":76.3224896,"latitude_deg":10.0634464,"altitude":22,"angle":343,"satellites":32,"speed":46,"hex_longitude":"2d7de340","hex_latitude":"05ff8f60","is_valid_coordinates":true} 
[2026-09-17 14:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146773760001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134215017875636224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074260693702533120,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789635843000,"timestamp_ms":1789635843000,"timestamp_seconds":1789635843,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9bd3b8"} 
[2026-09-17 14:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-17 14:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146773760001,"66":13559,"5":206,"87":10752,"24":46,"16":134215017875636224,"45":9074260693702533120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-17 14:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146773760001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:34:26] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-17 14:34:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134215017875636224,"km_value":134215017875636.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074260693702533120,"description":"Unknown IO ID 45"} 
[2026-09-17 14:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146773760001,"power":13559,"unknown_5":206,"unknown_87":10752,"ignition":46,"odometer":null,"unknown_45":9074260693702533120}} 
[2026-09-17 14:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":185227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:34:26] local.INFO: GPS data processed {"connection_id":185227,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:34:26] local.INFO: Acknowledgment sent {"connection_id":185227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:34:35] local.INFO: TCP Data received {"connection_id":185367,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9b4330012cf859000708e6f8000a009928..."} 
[2026-09-17 14:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9b4330012cf859000708e6f8000a009928..."} 
[2026-09-17 14:34:35] local.INFO: Processing buffer {"connection_id":185367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9b4330012cf859000708e6f8000a009928..."} 
[2026-09-17 14:34:35] local.INFO: Packet analysis {"connection_id":185367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:34:35] local.INFO: Extracted packet for processing {"connection_id":185367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":754473216,"raw_latitude":118023928,"longitude_deg":75.4473216,"latitude_deg":11.8023928,"altitude":10,"angle":153,"satellites":40,"speed":26,"hex_longitude":"2cf85900","hex_latitude":"0708e6f8","is_valid_coordinates":true} 
[2026-09-17 14:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146764288001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32780165360648192,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-553942723950567424,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789635806000,"timestamp_ms":1789635806000,"timestamp_seconds":1789635806,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9b4330"} 
[2026-09-17 14:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 14:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146764288001,"66":14407,"31":206,"83":41728,"24":26,"16":32780165360648192,"44":-553942723950567424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 14:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146764288001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:34:35] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 14:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32780165360648192,"km_value":32780165360648.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-553942723950567424,"description":"Unknown IO ID 44"} 
[2026-09-17 14:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146764288001,"power":14407,"unknown_31":206,"unknown_83":41728,"ignition":26,"odometer":null,"unknown_44":-553942723950567424}} 
[2026-09-17 14:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":185367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:34:35] local.INFO: GPS data processed {"connection_id":185367,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:34:35] local.INFO: Acknowledgment sent {"connection_id":185367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:34:50] local.INFO: TCP Data received {"connection_id":187997,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:34:50] local.INFO: Processing buffer {"connection_id":187997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:34:50] local.INFO: IMEI packet received {"connection_id":187997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":187997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:34:53] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:34:53] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:34:53] local.INFO: Packet analysis {"connection_id":186679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:34:53] local.INFO: Extracted packet for processing {"connection_id":186679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:34:53] 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-09-17 14:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":186679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:34:53] local.INFO: GPS data processed {"connection_id":186679,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:34:53] local.INFO: Acknowledgment sent {"connection_id":186679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:34:57] local.INFO: TCP Data received {"connection_id":187998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:34:57] local.INFO: Processing buffer {"connection_id":187998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:34:57] local.INFO: IMEI packet received {"connection_id":187998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":187998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:34:57] local.INFO: TCP Data received {"connection_id":185227,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9bf2f8012d7ddc0005ffaf780016016523..."} 
[2026-09-17 14:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9bf2f8012d7ddc0005ffaf780016016523..."} 
[2026-09-17 14:34:57] local.INFO: Processing buffer {"connection_id":185227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9bf2f8012d7ddc0005ffaf780016016523..."} 
[2026-09-17 14:34:57] local.INFO: Packet analysis {"connection_id":185227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:34:57] local.INFO: Extracted packet for processing {"connection_id":185227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763223040,"raw_latitude":100642680,"longitude_deg":76.322304,"latitude_deg":10.064268,"altitude":22,"angle":357,"satellites":35,"speed":41,"hex_longitude":"2d7ddc00","hex_latitude":"05ffaf78","is_valid_coordinates":true} 
[2026-09-17 14:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146775808001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134215425897529344,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071164468960911360,"note":"Value kept but may cause issues"} 
[2026-09-17 14:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789635851000,"timestamp_ms":1789635851000,"timestamp_seconds":1789635851,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9bf2f8"} 
[2026-09-17 14:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 14:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146775808001,"66":13602,"6":206,"87":10752,"24":41,"16":134215425897529344,"45":9071164468960911360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-09-17 14:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146775808001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:34:57] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-17 14:34:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134215425897529344,"km_value":134215425897529.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071164468960911360,"description":"Unknown IO ID 45"} 
[2026-09-17 14:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146775808001,"power":13602,"unknown_6":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":9071164468960911360}} 
[2026-09-17 14:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":185227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:34:57] local.INFO: GPS data processed {"connection_id":185227,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:34:57] local.INFO: Acknowledgment sent {"connection_id":185227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:35:02] local.INFO: TCP Data received {"connection_id":187998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:35:02] local.INFO: Processing buffer {"connection_id":187998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:35:02] local.INFO: IMEI packet received {"connection_id":187998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":187998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:35:03] local.INFO: TCP Data received {"connection_id":187998,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9b6a40012cf86b800708c8600009009526..."} 
[2026-09-17 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9b6a40012cf86b800708c8600009009526..."} 
[2026-09-17 14:35:03] local.INFO: Processing buffer {"connection_id":187998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9b6a40012cf86b800708c8600009009526..."} 
[2026-09-17 14:35:03] local.INFO: Packet analysis {"connection_id":187998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:35:03] local.INFO: Extracted packet for processing {"connection_id":187998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":754477952,"raw_latitude":118016096,"longitude_deg":75.4477952,"latitude_deg":11.8016096,"altitude":9,"angle":149,"satellites":38,"speed":42,"hex_longitude":"2cf86b80","hex_latitude":"0708c860","is_valid_coordinates":true} 
[2026-09-17 14:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146766336001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32780607742279680,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-551409449162049536,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789635816000,"timestamp_ms":1789635816000,"timestamp_seconds":1789635816,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9b6a40"} 
[2026-09-17 14:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 14:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":187998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":187998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":187998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146766336001,"66":14439,"31":206,"83":41728,"24":42,"16":32780607742279680,"44":-551409449162049536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 14:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146766336001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:35:03] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 14:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32780607742279680,"km_value":32780607742279.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:35:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-551409449162049536,"description":"Unknown IO ID 44"} 
[2026-09-17 14:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146766336001,"power":14439,"unknown_31":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_44":-551409449162049536}} 
[2026-09-17 14:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":187998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855993,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:35:03] local.INFO: GPS data processed {"connection_id":187998,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:35:03] local.INFO: Acknowledgment sent {"connection_id":187998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:35:15] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:35:15] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:35:15] local.INFO: IMEI packet received {"connection_id":186680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":186680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:35:19] local.INFO: TCP Data received {"connection_id":185368,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:35:19] local.INFO: Processing buffer {"connection_id":185368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:35:19] local.INFO: IMEI packet received {"connection_id":185368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":185368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:35:20] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:35:20] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:35:20] local.INFO: IMEI packet received {"connection_id":186680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":186680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:35:21] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:35:21] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:35:21] local.INFO: Packet analysis {"connection_id":186680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:35:21] local.INFO: Extracted packet for processing {"connection_id":186680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:35: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-09-17 14:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:35:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:35:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":186680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:35:21] local.INFO: GPS data processed {"connection_id":186680,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:35:21] local.INFO: Acknowledgment sent {"connection_id":186680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:35:25] local.INFO: TCP Data received {"connection_id":185368,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:35:25] local.INFO: Processing buffer {"connection_id":185368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:35:25] local.INFO: IMEI packet received {"connection_id":185368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":185368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:35:28] local.INFO: TCP Data received {"connection_id":185368,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9c0e50012d7dddc005ffcc680015000822..."} 
[2026-09-17 14:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9c0e50012d7dddc005ffcc680015000822..."} 
[2026-09-17 14:35:28] local.INFO: Processing buffer {"connection_id":185368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9c0e50012d7dddc005ffcc680015000822..."} 
[2026-09-17 14:35:28] local.INFO: Packet analysis {"connection_id":185368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9c"} 
[2026-09-17 14:35:28] local.INFO: Extracted packet for processing {"connection_id":185368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9c"} 
[2026-09-17 14:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763223488,"raw_latitude":100650088,"longitude_deg":76.3223488,"latitude_deg":10.0650088,"altitude":21,"angle":8,"satellites":34,"speed":43,"hex_longitude":"2d7dddc0","hex_latitude":"05ffcc68","is_valid_coordinates":true} 
[2026-09-17 14:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146777856001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134215786674782208,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069123775381862400,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789635858000,"timestamp_ms":1789635858000,"timestamp_seconds":1789635858,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9c0e50"} 
[2026-09-17 14:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-17 14:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146777856001,"66":13417,"6":206,"87":10752,"24":43,"16":134215786674782208,"45":9069123775381862400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-09-17 14:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146777856001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:35:28] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-17 14:35:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134215786674782208,"km_value":134215786674782.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069123775381862400,"description":"Unknown IO ID 45"} 
[2026-09-17 14:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146777856001,"power":13417,"unknown_6":206,"unknown_87":10752,"ignition":43,"odometer":null,"unknown_45":9069123775381862400}} 
[2026-09-17 14:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":185368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:35:28] local.INFO: GPS data processed {"connection_id":185368,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:35:28] local.INFO: Acknowledgment sent {"connection_id":185368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:35:35] local.INFO: TCP Data received {"connection_id":187998,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9b8980012cf87ec00708aa000009009327..."} 
[2026-09-17 14:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9b8980012cf87ec00708aa000009009327..."} 
[2026-09-17 14:35:35] local.INFO: Processing buffer {"connection_id":187998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9b8980012cf87ec00708aa000009009327..."} 
[2026-09-17 14:35:35] local.INFO: Packet analysis {"connection_id":187998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:35:35] local.INFO: Extracted packet for processing {"connection_id":187998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9b"} 
[2026-09-17 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":754482880,"raw_latitude":118008320,"longitude_deg":75.448288,"latitude_deg":11.800832,"altitude":9,"angle":147,"satellites":39,"speed":47,"hex_longitude":"2cf87ec0","hex_latitude":"0708aa00","is_valid_coordinates":true} 
[2026-09-17 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146768896001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32781050123911168,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-546202162094907392,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789635824000,"timestamp_ms":1789635824000,"timestamp_seconds":1789635824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9b8980"} 
[2026-09-17 14:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 14:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":187998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":187998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":187998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146768896001,"66":14439,"31":206,"83":41728,"24":47,"16":32781050123911168,"44":-546202162094907392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-17 14:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146768896001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:35:35] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 14:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32781050123911168,"km_value":32781050123911.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-546202162094907392,"description":"Unknown IO ID 44"} 
[2026-09-17 14:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146768896001,"power":14439,"unknown_31":206,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_44":-546202162094907392}} 
[2026-09-17 14:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":187998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:35:35] local.INFO: GPS data processed {"connection_id":187998,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:35:35] local.INFO: Acknowledgment sent {"connection_id":187998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:35:52] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:35:52] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:35:52] local.INFO: Packet analysis {"connection_id":186680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:35:52] local.INFO: Extracted packet for processing {"connection_id":186680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:35:52] 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-09-17 14:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":186680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:35:52] local.INFO: GPS data processed {"connection_id":186680,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:35:52] local.INFO: Acknowledgment sent {"connection_id":186680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:35:59] local.INFO: TCP Data received {"connection_id":185368,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9c4cd0012d7de20005ffeee80014000223..."} 
[2026-09-17 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9c4cd0012d7de20005ffeee80014000223..."} 
[2026-09-17 14:35:59] local.INFO: Processing buffer {"connection_id":185368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9c4cd0012d7de20005ffeee80014000223..."} 
[2026-09-17 14:35:59] local.INFO: Packet analysis {"connection_id":185368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9c"} 
[2026-09-17 14:35:59] local.INFO: Extracted packet for processing {"connection_id":185368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9c"} 
[2026-09-17 14:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763224576,"raw_latitude":100658920,"longitude_deg":76.3224576,"latitude_deg":10.065892,"altitude":20,"angle":2,"satellites":35,"speed":16,"hex_longitude":"2d7de200","hex_latitude":"05ffeee8","is_valid_coordinates":true} 
[2026-09-17 14:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146779648001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134216220466479104,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069616356593002496,"note":"Value kept but may cause issues"} 
[2026-09-17 14:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789635874000,"timestamp_ms":1789635874000,"timestamp_seconds":1789635874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9c4cd0"} 
[2026-09-17 14:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-17 14:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146779648001,"66":13254,"6":206,"87":10752,"24":16,"16":134216220466479104,"45":9069616356593002496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-09-17 14:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146779648001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:35:59] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-17 14:35:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134216220466479104,"km_value":134216220466479.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069616356593002496,"description":"Unknown IO ID 45"} 
[2026-09-17 14:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146779648001,"power":13254,"unknown_6":206,"unknown_87":10752,"ignition":16,"odometer":null,"unknown_45":9069616356593002496}} 
[2026-09-17 14:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":185368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:35:59] local.INFO: GPS data processed {"connection_id":185368,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:35:59] local.INFO: Acknowledgment sent {"connection_id":185368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:35:59] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:35:59] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:35:59] local.INFO: IMEI packet received {"connection_id":185228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":185228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:36:00] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:00] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:00] local.INFO: IMEI packet received {"connection_id":185228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":185228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:36:02] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:02] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:02] local.INFO: IMEI packet received {"connection_id":185228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":185228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:36:07] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:07] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:07] local.INFO: IMEI packet received {"connection_id":185228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":185228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:36:08] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9d1020012cf9664007075e08000600a028..."} 
[2026-09-17 14:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9d1020012cf9664007075e08000600a028..."} 
[2026-09-17 14:36:08] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9d1020012cf9664007075e08000600a028..."} 
[2026-09-17 14:36:08] local.INFO: Packet analysis {"connection_id":185228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:36:08] local.INFO: Extracted packet for processing {"connection_id":185228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":754542144,"raw_latitude":117923336,"longitude_deg":75.4542144,"latitude_deg":11.7923336,"altitude":6,"angle":160,"satellites":40,"speed":34,"hex_longitude":"2cf96640","hex_latitude":"07075e08","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146794240001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32786049465843712,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-479774067612878848,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789635924000,"timestamp_ms":1789635924000,"timestamp_seconds":1789635924,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9d1020"} 
[2026-09-17 14:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146794240001,"66":14559,"197":206,"83":41728,"24":34,"16":32786049465843712,"44":-479774067612878848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-17 14:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146794240001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:36:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32786049465843712,"km_value":32786049465843.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-479774067612878848,"description":"Unknown IO ID 44"} 
[2026-09-17 14:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146794240001,"power":14559,"unknown_197":206,"unknown_83":41728,"ignition":34,"odometer":null,"unknown_44":-479774067612878848}} 
[2026-09-17 14:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":185228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:36:08] local.INFO: GPS data processed {"connection_id":185228,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:36:08] local.INFO: Acknowledgment sent {"connection_id":185228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:36:12] local.INFO: TCP Data received {"connection_id":185228,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9d3f00012cf9714007073b70000600a229..."} 
[2026-09-17 14:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9d3f00012cf9714007073b70000600a229..."} 
[2026-09-17 14:36:12] local.INFO: Processing buffer {"connection_id":185228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9d3f00012cf9714007073b70000600a229..."} 
[2026-09-17 14:36:12] local.INFO: Packet analysis {"connection_id":185228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:36:12] local.INFO: Extracted packet for processing {"connection_id":185228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:36:12] local.INFO: GPS Element Parsed {"raw_longitude":754544960,"raw_latitude":117914480,"longitude_deg":75.454496,"latitude_deg":11.791448,"altitude":6,"angle":162,"satellites":41,"speed":32,"hex_longitude":"2cf97140","hex_latitude":"07073b70","is_valid_coordinates":true} 
[2026-09-17 14:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146796544001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32786500437409792,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-475622311708456960,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789635936000,"timestamp_ms":1789635936000,"timestamp_seconds":1789635936,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9d3f00"} 
[2026-09-17 14:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146796544001,"66":14309,"197":206,"83":41728,"24":32,"16":32786500437409792,"44":-475622311708456960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-17 14:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146796544001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:36:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32786500437409792,"km_value":32786500437409.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-475622311708456960,"description":"Unknown IO ID 44"} 
[2026-09-17 14:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146796544001,"power":14309,"unknown_197":206,"unknown_83":41728,"ignition":32,"odometer":null,"unknown_44":-475622311708456960}} 
[2026-09-17 14:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":185228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856000,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:36:12] local.INFO: GPS data processed {"connection_id":185228,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:36:12] local.INFO: Acknowledgment sent {"connection_id":185228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:36:15] local.INFO: TCP Data received {"connection_id":185229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:36:15] local.INFO: Processing buffer {"connection_id":185229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:36:15] local.INFO: IMEI packet received {"connection_id":185229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":185229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:36:20] local.INFO: TCP Data received {"connection_id":185229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:36:20] local.INFO: Processing buffer {"connection_id":185229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:36:20] local.INFO: IMEI packet received {"connection_id":185229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":185229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:36:21] local.INFO: TCP Data received {"connection_id":185229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:36:21] local.INFO: Processing buffer {"connection_id":185229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:36:21] local.INFO: Packet analysis {"connection_id":185229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:36:21] local.INFO: Extracted packet for processing {"connection_id":185229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:36:21] 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-09-17 14:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":185229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:36:21] local.INFO: GPS data processed {"connection_id":185229,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:36:21] local.INFO: Acknowledgment sent {"connection_id":185229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:36:29] local.INFO: TCP Data received {"connection_id":187999,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:36:29] local.INFO: Processing buffer {"connection_id":187999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:36:29] local.INFO: IMEI packet received {"connection_id":187999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":187999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:36:30] local.INFO: TCP Data received {"connection_id":187999,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:36:30] local.INFO: Processing buffer {"connection_id":187999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:36:30] local.INFO: IMEI packet received {"connection_id":187999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":187999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:36:36] local.INFO: TCP Data received {"connection_id":187999,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:36:36] local.INFO: Processing buffer {"connection_id":187999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:36:36] local.INFO: IMEI packet received {"connection_id":187999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":187999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:36:37] local.INFO: TCP Data received {"connection_id":187999,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9da490012d7d60800600b0700012011e23..."} 
[2026-09-17 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9da490012d7d60800600b0700012011e23..."} 
[2026-09-17 14:36:37] local.INFO: Processing buffer {"connection_id":187999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9da490012d7d60800600b0700012011e23..."} 
[2026-09-17 14:36:37] local.INFO: Packet analysis {"connection_id":187999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:36:37] local.INFO: Extracted packet for processing {"connection_id":187999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763191424,"raw_latitude":100708464,"longitude_deg":76.3191424,"latitude_deg":10.0708464,"altitude":18,"angle":286,"satellites":35,"speed":56,"hex_longitude":"2d7d6080","hex_latitude":"0600b070","is_valid_coordinates":true} 
[2026-09-17 14:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146804736001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134219330022801408,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9043016971307956224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789635962000,"timestamp_ms":1789635962000,"timestamp_seconds":1789635962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9da490"} 
[2026-09-17 14:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-17 14:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":187999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":187999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":187999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146804736001,"66":13406,"244":206,"87":10752,"24":56,"16":134219330022801408,"45":9043016971307956224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-17 14:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146804736001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:36:37] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-17 14:36:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134219330022801408,"km_value":134219330022801.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9043016971307956224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146804736001,"power":13406,"unknown_244":206,"unknown_87":10752,"ignition":56,"odometer":null,"unknown_45":9043016971307956224}} 
[2026-09-17 14:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":187999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:36:37] local.INFO: GPS data processed {"connection_id":187999,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:36:37] local.INFO: Acknowledgment sent {"connection_id":187999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:36:52] local.INFO: TCP Data received {"connection_id":185229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:36:52] local.INFO: Processing buffer {"connection_id":185229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:36:52] local.INFO: Packet analysis {"connection_id":185229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:36:52] local.INFO: Extracted packet for processing {"connection_id":185229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:36:52] 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-09-17 14:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":185229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:36:52] local.INFO: GPS data processed {"connection_id":185229,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:36:52] local.INFO: Acknowledgment sent {"connection_id":185229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:36:57] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:57] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:36:57] local.INFO: IMEI packet received {"connection_id":188000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":188000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:37:02] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:37:02] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:37:02] local.INFO: IMEI packet received {"connection_id":188000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":188000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:37:03] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9d69f8012cf97d40070718a00005009f28..."} 
[2026-09-17 14:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9d69f8012cf97d40070718a00005009f28..."} 
[2026-09-17 14:37:03] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9d69f8012cf97d40070718a00005009f28..."} 
[2026-09-17 14:37:03] local.INFO: Packet analysis {"connection_id":188000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:37:03] local.INFO: Extracted packet for processing {"connection_id":188000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:37:03] local.INFO: GPS Element Parsed {"raw_longitude":754548032,"raw_latitude":117905568,"longitude_deg":75.4548032,"latitude_deg":11.7905568,"altitude":5,"angle":159,"satellites":40,"speed":33,"hex_longitude":"2cf97d40","hex_latitude":"070718a0","is_valid_coordinates":true} 
[2026-09-17 14:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146799616001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32786955703943168,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-472526086966906880,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789635947000,"timestamp_ms":1789635947000,"timestamp_seconds":1789635947,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9d69f8"} 
[2026-09-17 14:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-17 14:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146799616001,"66":14428,"85":206,"83":41728,"24":33,"16":32786955703943168,"44":-472526086966906880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-17 14:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146799616001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-17 14:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32786955703943168,"km_value":32786955703943.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-472526086966906880,"description":"Unknown IO ID 44"} 
[2026-09-17 14:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146799616001,"power":14428,"unknown_85":206,"unknown_83":41728,"ignition":33,"odometer":null,"unknown_44":-472526086966906880}} 
[2026-09-17 14:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":188000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:37:03] local.INFO: GPS data processed {"connection_id":188000,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:37:03] local.INFO: Acknowledgment sent {"connection_id":188000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:37:04] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9d9108012cf98bc00706f9300006009328..."} 
[2026-09-17 14:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9d9108012cf98bc00706f9300006009328..."} 
[2026-09-17 14:37:04] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9d9108012cf98bc00706f9300006009328..."} 
[2026-09-17 14:37:04] local.INFO: Packet analysis {"connection_id":188000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:37:04] local.INFO: Extracted packet for processing {"connection_id":188000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:37:04] local.INFO: GPS Element Parsed {"raw_longitude":754551744,"raw_latitude":117897520,"longitude_deg":75.4551744,"latitude_deg":11.789752,"altitude":6,"angle":147,"satellites":40,"speed":32,"hex_longitude":"2cf98bc0","hex_latitude":"0706f930","is_valid_coordinates":true} 
[2026-09-17 14:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146802432001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32787385200672768,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-469148387248660480,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789635957000,"timestamp_ms":1789635957000,"timestamp_seconds":1789635957,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9d9108"} 
[2026-09-17 14:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 14:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146802432001,"66":14450,"85":206,"83":41728,"24":32,"16":32787385200672768,"44":-469148387248660480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-17 14:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146802432001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-17 14:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32787385200672768,"km_value":32787385200672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-469148387248660480,"description":"Unknown IO ID 44"} 
[2026-09-17 14:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146802432001,"power":14450,"unknown_85":206,"unknown_83":41728,"ignition":32,"odometer":null,"unknown_44":-469148387248660480}} 
[2026-09-17 14:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":188000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:37:04] local.INFO: GPS data processed {"connection_id":188000,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:37:04] local.INFO: Acknowledgment sent {"connection_id":188000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:37:15] local.INFO: TCP Data received {"connection_id":185231,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:37:15] local.INFO: Processing buffer {"connection_id":185231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:37:15] local.INFO: IMEI packet received {"connection_id":185231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":185231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:37:19] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:37:19] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:37:19] local.INFO: IMEI packet received {"connection_id":186682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":186682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:37:21] local.INFO: TCP Data received {"connection_id":185231,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:37:21] local.INFO: Processing buffer {"connection_id":185231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:37:21] local.INFO: IMEI packet received {"connection_id":185231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":185231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:37:23] local.INFO: TCP Data received {"connection_id":185231,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:37:23] local.INFO: Processing buffer {"connection_id":185231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:37:23] local.INFO: Packet analysis {"connection_id":185231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:37:23] local.INFO: Extracted packet for processing {"connection_id":185231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":185231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:37:23] local.INFO: GPS data processed {"connection_id":185231,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:37:23] local.INFO: Acknowledgment sent {"connection_id":185231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:37:26] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:37:26] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:37:26] local.INFO: IMEI packet received {"connection_id":186682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":186682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:37:27] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9db818012d7d46000600b5380012011223..."} 
[2026-09-17 14:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9db818012d7d46000600b5380012011223..."} 
[2026-09-17 14:37:27] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9db818012d7d46000600b5380012011223..."} 
[2026-09-17 14:37:27] local.INFO: Packet analysis {"connection_id":186682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:37:27] local.INFO: Extracted packet for processing {"connection_id":186682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":100709688,"longitude_deg":76.318464,"latitude_deg":10.0709688,"altitude":18,"angle":274,"satellites":35,"speed":53,"hex_longitude":"2d7d4600","hex_latitude":"0600b538","is_valid_coordinates":true} 
[2026-09-17 14:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146806272001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134219660735283200,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9034361615774937088,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789635967000,"timestamp_ms":1789635967000,"timestamp_seconds":1789635967,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9db818"} 
[2026-09-17 14:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 14:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146806272001,"66":13276,"244":206,"87":10752,"24":53,"16":134219660735283200,"45":9034361615774937088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-17 14:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146806272001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:37:27] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-17 14:37:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 14:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134219660735283200,"km_value":134219660735283.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9034361615774937088,"description":"Unknown IO ID 45"} 
[2026-09-17 14:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146806272001,"power":13276,"unknown_244":206,"unknown_87":10752,"ignition":53,"odometer":null,"unknown_45":9034361615774937088}} 
[2026-09-17 14:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":186682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:37:27] local.INFO: GPS data processed {"connection_id":186682,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:37:27] local.INFO: Acknowledgment sent {"connection_id":186682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:37:35] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9d9108012cf98bc00706f9300006009328..."} 
[2026-09-17 14:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9d9108012cf98bc00706f9300006009328..."} 
[2026-09-17 14:37:35] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9d9108012cf98bc00706f9300006009328..."} 
[2026-09-17 14:37:35] local.INFO: Packet analysis {"connection_id":188000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:37:35] local.INFO: Extracted packet for processing {"connection_id":188000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:37:35] local.INFO: GPS Element Parsed {"raw_longitude":754551744,"raw_latitude":117897520,"longitude_deg":75.4551744,"latitude_deg":11.789752,"altitude":6,"angle":147,"satellites":40,"speed":32,"hex_longitude":"2cf98bc0","hex_latitude":"0706f930","is_valid_coordinates":true} 
[2026-09-17 14:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146804992001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32787385200672768,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-465067000088416256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789635957000,"timestamp_ms":1789635957000,"timestamp_seconds":1789635957,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9d9108"} 
[2026-09-17 14:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146804992001,"66":14450,"85":206,"83":41728,"24":32,"16":32787385200672768,"44":-465067000088416256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-17 14:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146804992001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-17 14:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32787385200672768,"km_value":32787385200672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-465067000088416256,"description":"Unknown IO ID 44"} 
[2026-09-17 14:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146804992001,"power":14450,"unknown_85":206,"unknown_83":41728,"ignition":32,"odometer":null,"unknown_44":-465067000088416256}} 
[2026-09-17 14:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":188000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:37:35] local.INFO: GPS data processed {"connection_id":188000,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:37:35] local.INFO: Acknowledgment sent {"connection_id":188000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:37:54] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:37:54] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:37:54] local.INFO: IMEI packet received {"connection_id":186683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":186683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:37:55] local.INFO: TCP Data received {"connection_id":185231,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:37:55] local.INFO: Processing buffer {"connection_id":185231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9a9f20012d34c14006aa4438000c010127..."} 
[2026-09-17 14:37:55] local.INFO: Packet analysis {"connection_id":185231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:37:55] local.INFO: Extracted packet for processing {"connection_id":185231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9a"} 
[2026-09-17 14:37:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146678528001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789635764000,"timestamp_ms":1789635764000,"timestamp_seconds":1789635764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9a9f20"} 
[2026-09-17 14:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146678528001,"66":25473,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146678528001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:37:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:37:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146678528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":185231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:37:55] local.INFO: GPS data processed {"connection_id":185231,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:37:55] local.INFO: Acknowledgment sent {"connection_id":185231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:37:57] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:37:57] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:37:57] local.INFO: IMEI packet received {"connection_id":186683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":186683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:37:58] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9e0a20012d7d29000600b4d80012010823..."} 
[2026-09-17 14:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9e0a20012d7d29000600b4d80012010823..."} 
[2026-09-17 14:37:58] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9e0a20012d7d29000600b4d80012010823..."} 
[2026-09-17 14:37:58] local.INFO: Packet analysis {"connection_id":186682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9e"} 
[2026-09-17 14:37:58] local.INFO: Extracted packet for processing {"connection_id":186682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9e"} 
[2026-09-17 14:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":100709592,"longitude_deg":76.3177216,"latitude_deg":10.0709592,"altitude":18,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d7d2900","hex_latitude":"0600b4d8","is_valid_coordinates":true} 
[2026-09-17 14:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146807552001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134220021512536064,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902528892418048,"note":"Value kept but may cause issues"} 
[2026-09-17 14:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789635988000,"timestamp_ms":1789635988000,"timestamp_seconds":1789635988,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9e0a20"} 
[2026-09-17 14:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 14:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146807552001,"66":13091,"196":206,"87":10496,"24":0,"16":134220021512536064,"45":9026902528892418048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-09-17 14:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146807552001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:37:58] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-17 14:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134220021512536064,"km_value":134220021512536.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902528892418048,"description":"Unknown IO ID 45"} 
[2026-09-17 14:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146807552001,"power":13091,"unknown_196":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":9026902528892418048}} 
[2026-09-17 14:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":186682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:37:58] local.INFO: GPS data processed {"connection_id":186682,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:37:58] local.INFO: Acknowledgment sent {"connection_id":186682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:38:01] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:38:01] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:38:01] local.INFO: IMEI packet received {"connection_id":186683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":186683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:38:02] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9de310012cf99b400706e4f80006008c28..."} 
[2026-09-17 14:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9de310012cf99b400706e4f80006008c28..."} 
[2026-09-17 14:38:02] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9de310012cf99b400706e4f80006008c28..."} 
[2026-09-17 14:38:02] local.INFO: Packet analysis {"connection_id":186683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:38:02] local.INFO: Extracted packet for processing {"connection_id":186683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9d"} 
[2026-09-17 14:38:02] local.INFO: GPS Element Parsed {"raw_longitude":754555712,"raw_latitude":117892344,"longitude_deg":75.4555712,"latitude_deg":11.7892344,"altitude":6,"angle":140,"satellites":40,"speed":12,"hex_longitude":"2cf99b40","hex_latitude":"0706e4f8","is_valid_coordinates":true} 
[2026-09-17 14:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146804992001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32787703028252672,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-465067000088416256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789635978000,"timestamp_ms":1789635978000,"timestamp_seconds":1789635978,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9de310"} 
[2026-09-17 14:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146804992001,"66":14233,"85":206,"83":41728,"24":12,"16":32787703028252672,"44":-465067000088416256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-17 14:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146804992001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-17 14:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32787703028252672,"km_value":32787703028252.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-465067000088416256,"description":"Unknown IO ID 44"} 
[2026-09-17 14:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146804992001,"power":14233,"unknown_85":206,"unknown_83":41728,"ignition":12,"odometer":null,"unknown_44":-465067000088416256}} 
[2026-09-17 14:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":186683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:38:02] local.INFO: GPS data processed {"connection_id":186683,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:38:02] local.INFO: Acknowledgment sent {"connection_id":186683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:38:20] local.INFO: TCP Data received {"connection_id":185369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:20] local.INFO: Processing buffer {"connection_id":185369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:20] local.INFO: IMEI packet received {"connection_id":185369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":185369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:38:20] local.INFO: TCP Data received {"connection_id":185369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:20] local.INFO: Processing buffer {"connection_id":185369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:20] local.INFO: IMEI packet received {"connection_id":185369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":185369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:38:21] local.INFO: TCP Data received {"connection_id":185233,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:38:21] local.INFO: Processing buffer {"connection_id":185233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:38:21] local.INFO: IMEI packet received {"connection_id":185233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":185233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:38:22] local.INFO: TCP Data received {"connection_id":185369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:22] local.INFO: Processing buffer {"connection_id":185369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:22] local.INFO: IMEI packet received {"connection_id":185369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":185369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:38:23] local.INFO: TCP Data received {"connection_id":185233,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:38:23] local.INFO: Processing buffer {"connection_id":185233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:38:23] local.INFO: IMEI packet received {"connection_id":185233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":185233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:38:23] local.INFO: TCP Data received {"connection_id":185369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:23] local.INFO: Processing buffer {"connection_id":185369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:38:23] local.INFO: IMEI packet received {"connection_id":185369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":185369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:38:24] local.INFO: TCP Data received {"connection_id":185233,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:38:24] local.INFO: Processing buffer {"connection_id":185233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:38:24] local.INFO: Packet analysis {"connection_id":185233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:38:24] local.INFO: Extracted packet for processing {"connection_id":185233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146755584001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789636065000,"timestamp_ms":1789636065000,"timestamp_seconds":1789636065,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9f36e8"} 
[2026-09-17 14:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:38:24] 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-09-17 14:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146755584001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146755584001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146755584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":185233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:38:24] local.INFO: GPS data processed {"connection_id":185233,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:38:24] local.INFO: Acknowledgment sent {"connection_id":185233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:38:25] local.INFO: TCP Data received {"connection_id":185233,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:38:25] local.INFO: Processing buffer {"connection_id":185233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:38:25] local.INFO: Packet analysis {"connection_id":185233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:38:25] local.INFO: Extracted packet for processing {"connection_id":185233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146755584001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789636065000,"timestamp_ms":1789636065000,"timestamp_seconds":1789636065,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9f36e8"} 
[2026-09-17 14:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:38:25] 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-09-17 14:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146755584001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146755584001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146755584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":185233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:38:25] local.INFO: GPS data processed {"connection_id":185233,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:38:25] local.INFO: Acknowledgment sent {"connection_id":185233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:38:33] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9f88f0012cfb0c4007069b70000a005a2a..."} 
[2026-09-17 14:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9f88f0012cfb0c4007069b70000a005a2a..."} 
[2026-09-17 14:38:33] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9f88f0012cfb0c4007069b70000a005a2a..."} 
[2026-09-17 14:38:33] local.INFO: Packet analysis {"connection_id":186683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:38:33] local.INFO: Extracted packet for processing {"connection_id":186683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:38:33] local.INFO: GPS Element Parsed {"raw_longitude":754650176,"raw_latitude":117873520,"longitude_deg":75.4650176,"latitude_deg":11.787352,"altitude":10,"angle":90,"satellites":42,"speed":44,"hex_longitude":"2cfb0c40","hex_latitude":"07069b70","is_valid_coordinates":true} 
[2026-09-17 14:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146836224001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32792350182866944,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-367254445687414784,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789636086000,"timestamp_ms":1789636086000,"timestamp_seconds":1789636086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9f88f0"} 
[2026-09-17 14:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 14:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146836224001,"66":14450,"83":41728,"24":44,"16":32792350182866944,"44":-367254445687414784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-17 14:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146836224001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32792350182866944,"km_value":32792350182866.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:38:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-367254445687414784,"description":"Unknown IO ID 44"} 
[2026-09-17 14:38:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146836224001,"power":14450,"unknown_83":41728,"ignition":44,"odometer":null,"unknown_44":-367254445687414784}} 
[2026-09-17 14:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":186683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856014,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:38:33] local.INFO: GPS data processed {"connection_id":186683,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:38:33] local.INFO: Acknowledgment sent {"connection_id":186683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:38:57] local.INFO: TCP Data received {"connection_id":185370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:38:57] local.INFO: Processing buffer {"connection_id":185370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:38:57] local.INFO: IMEI packet received {"connection_id":185370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":185370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:38:57] local.INFO: TCP Data received {"connection_id":185233,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:38:57] local.INFO: Processing buffer {"connection_id":185233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:38:57] local.INFO: Packet analysis {"connection_id":185233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:38:57] local.INFO: Extracted packet for processing {"connection_id":185233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146755584001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789636065000,"timestamp_ms":1789636065000,"timestamp_seconds":1789636065,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9f36e8"} 
[2026-09-17 14:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:38:57] 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-09-17 14:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146755584001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146755584001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:38:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:38:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146755584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":185233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:38:57] local.INFO: GPS data processed {"connection_id":185233,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:38:57] local.INFO: Acknowledgment sent {"connection_id":185233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:39:00] local.INFO: TCP Data received {"connection_id":185370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:39:00] local.INFO: Processing buffer {"connection_id":185370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:39:00] local.INFO: IMEI packet received {"connection_id":185370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":185370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:39:01] local.INFO: TCP Data received {"connection_id":185370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9fb3e8012cfb2fc0070699e80008005e2a..."} 
[2026-09-17 14:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9fb3e8012cfb2fc0070699e80008005e2a..."} 
[2026-09-17 14:39:01] local.INFO: Processing buffer {"connection_id":185370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9fb3e8012cfb2fc0070699e80008005e2a..."} 
[2026-09-17 14:39:01] local.INFO: Packet analysis {"connection_id":185370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:39:01] local.INFO: Extracted packet for processing {"connection_id":185370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:39:01] local.INFO: GPS Element Parsed {"raw_longitude":754659264,"raw_latitude":117873128,"longitude_deg":75.4659264,"latitude_deg":11.7873128,"altitude":8,"angle":94,"satellites":42,"speed":28,"hex_longitude":"2cfb2fc0","hex_latitude":"070699e8","is_valid_coordinates":true} 
[2026-09-17 14:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146838016001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32792783974563840,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-356839871549313024,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789636097000,"timestamp_ms":1789636097000,"timestamp_seconds":1789636097,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9fb3e8"} 
[2026-09-17 14:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146838016001,"66":14396,"83":41728,"24":28,"16":32792783974563840,"44":-356839871549313024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-17 14:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146838016001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32792783974563840,"km_value":32792783974563.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-356839871549313024,"description":"Unknown IO ID 44"} 
[2026-09-17 14:39:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146838016001,"power":14396,"unknown_83":41728,"ignition":28,"odometer":null,"unknown_44":-356839871549313024}} 
[2026-09-17 14:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":185370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:39:01] local.INFO: GPS data processed {"connection_id":185370,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:39:01] local.INFO: Acknowledgment sent {"connection_id":185370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:39:15] local.INFO: TCP Data received {"connection_id":185371,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:39:15] local.INFO: Processing buffer {"connection_id":185371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:39:15] local.INFO: IMEI packet received {"connection_id":185371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":185371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:39:20] local.INFO: TCP Data received {"connection_id":185371,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:39:20] local.INFO: Processing buffer {"connection_id":185371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:39:20] local.INFO: IMEI packet received {"connection_id":185371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":185371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:39:21] local.INFO: TCP Data received {"connection_id":185371,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:39:21] local.INFO: Processing buffer {"connection_id":185371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9f36e8012d34c14006aa4438000c010126..."} 
[2026-09-17 14:39:21] local.INFO: Packet analysis {"connection_id":185371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:39:21] local.INFO: Extracted packet for processing {"connection_id":185371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146755584001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789636065000,"timestamp_ms":1789636065000,"timestamp_seconds":1789636065,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9f36e8"} 
[2026-09-17 14:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 14:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:39:21] 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-09-17 14:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146755584001,"66":25538,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146755584001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:39:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146755584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":185371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:39:21] local.INFO: GPS data processed {"connection_id":185371,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:39:21] local.INFO: Acknowledgment sent {"connection_id":185371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:39:33] local.INFO: TCP Data received {"connection_id":185370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ae9fea98012cfb5600070696280008005f2a..."} 
[2026-09-17 14:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ae9fea98012cfb5600070696280008005f2a..."} 
[2026-09-17 14:39:33] local.INFO: Processing buffer {"connection_id":185370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ae9fea98012cfb5600070696280008005f2a..."} 
[2026-09-17 14:39:33] local.INFO: Packet analysis {"connection_id":185370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:39:33] local.INFO: Extracted packet for processing {"connection_id":185370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ae9f"} 
[2026-09-17 14:39:33] local.INFO: GPS Element Parsed {"raw_longitude":754669056,"raw_latitude":117872168,"longitude_deg":75.4669056,"latitude_deg":11.7872168,"altitude":8,"angle":95,"satellites":42,"speed":35,"hex_longitude":"2cfb5600","hex_latitude":"07069628","is_valid_coordinates":true} 
[2026-09-17 14:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146840832001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32793247831031808,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-346847509876185088,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789636111000,"timestamp_ms":1789636111000,"timestamp_seconds":1789636111,"priority":1,"record_length":96,"hex_timestamp":"000001a0ae9fea98"} 
[2026-09-17 14:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146840832001,"66":14450,"83":41728,"24":35,"16":32793247831031808,"44":-346847509876185088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-17 14:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146840832001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32793247831031808,"km_value":32793247831031.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:39:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-346847509876185088,"description":"Unknown IO ID 44"} 
[2026-09-17 14:39:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146840832001,"power":14450,"unknown_83":41728,"ignition":35,"odometer":null,"unknown_44":-346847509876185088}} 
[2026-09-17 14:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":185370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:39:33] local.INFO: GPS data processed {"connection_id":185370,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:39:33] local.INFO: Acknowledgment sent {"connection_id":185370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:39:53] local.INFO: TCP Data received {"connection_id":185371,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea07b20012d34c14006aa4438000c010126..."} 
[2026-09-17 14:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea07b20012d34c14006aa4438000c010126..."} 
[2026-09-17 14:39:53] local.INFO: Processing buffer {"connection_id":185371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea07b20012d34c14006aa4438000c010126..."} 
[2026-09-17 14:39:53] local.INFO: Packet analysis {"connection_id":185371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea0"} 
[2026-09-17 14:39:53] local.INFO: Extracted packet for processing {"connection_id":185371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea0"} 
[2026-09-17 14:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821880,"longitude_deg":75.8432064,"latitude_deg":11.182188,"altitude":12,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-17 14:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146832640001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636148000,"timestamp_ms":1789636148000,"timestamp_seconds":1789636148,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea07b20"} 
[2026-09-17 14:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 14:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:39:53] 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-09-17 14:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146832640001,"66":25549,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146832640001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146832640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":185371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:39:53] local.INFO: GPS data processed {"connection_id":185371,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:39:53] local.INFO: Acknowledgment sent {"connection_id":185371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:39:56] local.INFO: TCP Data received {"connection_id":185235,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:39:57] local.INFO: Processing buffer {"connection_id":185235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:39:57] local.INFO: IMEI packet received {"connection_id":185235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":185235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:40:02] local.INFO: TCP Data received {"connection_id":185235,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:40:02] local.INFO: Processing buffer {"connection_id":185235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:40:02] local.INFO: IMEI packet received {"connection_id":185235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":185235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:40:02] local.INFO: TCP Data received {"connection_id":185235,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea00dc0012cfb7b40070693000007005e27..."} 
[2026-09-17 14:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea00dc0012cfb7b40070693000007005e27..."} 
[2026-09-17 14:40:02] local.INFO: Processing buffer {"connection_id":185235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea00dc0012cfb7b40070693000007005e27..."} 
[2026-09-17 14:40:02] local.INFO: Packet analysis {"connection_id":185235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea0"} 
[2026-09-17 14:40:02] local.INFO: Extracted packet for processing {"connection_id":185235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea0"} 
[2026-09-17 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":754678592,"raw_latitude":117871360,"longitude_deg":75.4678592,"latitude_deg":11.787136,"altitude":7,"angle":94,"satellites":39,"speed":46,"hex_longitude":"2cfb7b40","hex_latitude":"07069300","is_valid_coordinates":true} 
[2026-09-17 14:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146844416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32793703097565184,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-336081092017248256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789636120000,"timestamp_ms":1789636120000,"timestamp_seconds":1789636120,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea00dc0"} 
[2026-09-17 14:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146844416001,"66":14450,"83":41728,"24":46,"16":32793703097565184,"44":-336081092017248256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-17 14:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146844416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32793703097565184,"km_value":32793703097565.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-336081092017248256,"description":"Unknown IO ID 44"} 
[2026-09-17 14:40:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146844416001,"power":14450,"unknown_83":41728,"ignition":46,"odometer":null,"unknown_44":-336081092017248256}} 
[2026-09-17 14:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":185235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856020,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:40:03] local.INFO: GPS data processed {"connection_id":185235,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:40:03] local.INFO: Acknowledgment sent {"connection_id":185235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:40:05] local.INFO: TCP Data received {"connection_id":186684,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:40:05] local.INFO: Processing buffer {"connection_id":186684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:40:05] local.INFO: IMEI packet received {"connection_id":186684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":186684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:40:15] local.INFO: TCP Data received {"connection_id":188002,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:40:15] local.INFO: Processing buffer {"connection_id":188002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:40:15] local.INFO: IMEI packet received {"connection_id":188002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":188002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:40:20] local.INFO: TCP Data received {"connection_id":188002,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:40:20] local.INFO: Processing buffer {"connection_id":188002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:40:20] local.INFO: IMEI packet received {"connection_id":188002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":188002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:40:22] local.INFO: TCP Data received {"connection_id":188002,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea0dcc8012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea0dcc8012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:40:22] local.INFO: Processing buffer {"connection_id":188002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea0dcc8012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:40:22] local.INFO: Packet analysis {"connection_id":188002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea0"} 
[2026-09-17 14:40:22] local.INFO: Extracted packet for processing {"connection_id":188002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea0"} 
[2026-09-17 14:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146853888001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847988224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789636173000,"timestamp_ms":1789636173000,"timestamp_seconds":1789636173,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea0dcc8"} 
[2026-09-17 14:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 14:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:40:22] 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-09-17 14:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146853888001,"66":27767,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3801389957847988224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146853888001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:40:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:40:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847988224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146853888001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847988224}} 
[2026-09-17 14:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":188002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:40:22] local.INFO: GPS data processed {"connection_id":188002,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:40:22] local.INFO: Acknowledgment sent {"connection_id":188002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:40:34] local.INFO: TCP Data received {"connection_id":185235,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea05410012cfba0c007068fa80005005e24..."} 
[2026-09-17 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea05410012cfba0c007068fa80005005e24..."} 
[2026-09-17 14:40:34] local.INFO: Processing buffer {"connection_id":185235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea05410012cfba0c007068fa80005005e24..."} 
[2026-09-17 14:40:34] local.INFO: Packet analysis {"connection_id":185235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea0"} 
[2026-09-17 14:40:34] local.INFO: Extracted packet for processing {"connection_id":185235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea0"} 
[2026-09-17 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":754688192,"raw_latitude":117870504,"longitude_deg":75.4688192,"latitude_deg":11.7870504,"altitude":5,"angle":94,"satellites":36,"speed":27,"hex_longitude":"2cfba0c0","hex_latitude":"07068fa8","is_valid_coordinates":true} 
[2026-09-17 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146846720001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32794162659065856,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-325596149134983168,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 14:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789636138000,"timestamp_ms":1789636138000,"timestamp_seconds":1789636138,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea05410"} 
[2026-09-17 14:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146846720001,"66":14026,"83":41728,"24":27,"16":32794162659065856,"44":-325596149134983168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-17 14:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146846720001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-17 14:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32794162659065856,"km_value":32794162659065.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:40:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-325596149134983168,"description":"Unknown IO ID 44"} 
[2026-09-17 14:40:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458146846720001,"power":14026,"unknown_83":41728,"ignition":27,"odometer":null,"unknown_44":-325596149134983168}} 
[2026-09-17 14:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":185235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:40:34] local.INFO: GPS data processed {"connection_id":185235,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:40:34] local.INFO: Acknowledgment sent {"connection_id":185235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:40:53] local.INFO: TCP Data received {"connection_id":188002,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea12ed0012d34bf0006aa4400000c010128..."} 
[2026-09-17 14:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea12ed0012d34bf0006aa4400000c010128..."} 
[2026-09-17 14:40:53] local.INFO: Processing buffer {"connection_id":188002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea12ed0012d34bf0006aa4400000c010128..."} 
[2026-09-17 14:40:53] local.INFO: Packet analysis {"connection_id":188002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:40:53] local.INFO: Extracted packet for processing {"connection_id":188002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146860288001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150374912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636194000,"timestamp_ms":1789636194000,"timestamp_seconds":1789636194,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea12ed0"} 
[2026-09-17 14:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-17 14:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:40:53] 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-09-17 14:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146860288001,"66":27908,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3800756639150374912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146860288001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150374912,"description":"Unknown IO ID 45"} 
[2026-09-17 14:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146860288001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150374912}} 
[2026-09-17 14:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":188002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:40:53] local.INFO: GPS data processed {"connection_id":188002,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:40:53] local.INFO: Acknowledgment sent {"connection_id":188002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:40:55] local.INFO: TCP Data received {"connection_id":186686,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:40:55] local.INFO: Processing buffer {"connection_id":186686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:40:55] local.INFO: IMEI packet received {"connection_id":186686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":186686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:40:57] local.INFO: TCP Data received {"connection_id":185372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:40:57] local.INFO: Processing buffer {"connection_id":185372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:40:57] local.INFO: IMEI packet received {"connection_id":185372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":185372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:40:59] local.INFO: TCP Data received {"connection_id":185372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:40:59] local.INFO: Processing buffer {"connection_id":185372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:40:59] local.INFO: IMEI packet received {"connection_id":185372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":185372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:41:02] local.INFO: TCP Data received {"connection_id":185372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:41:02] local.INFO: Processing buffer {"connection_id":185372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:41:02] local.INFO: IMEI packet received {"connection_id":185372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":185372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:41:03] local.INFO: TCP Data received {"connection_id":185372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea1d6c8012cfd19c0070603700008008727..."} 
[2026-09-17 14:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea1d6c8012cfd19c0070603700008008727..."} 
[2026-09-17 14:41:03] local.INFO: Processing buffer {"connection_id":185372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea1d6c8012cfd19c0070603700008008727..."} 
[2026-09-17 14:41:03] local.INFO: Packet analysis {"connection_id":185372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:41:03] local.INFO: Extracted packet for processing {"connection_id":185372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:41:03] local.INFO: GPS Element Parsed {"raw_longitude":754784704,"raw_latitude":117834608,"longitude_deg":75.4784704,"latitude_deg":11.7834608,"altitude":8,"angle":135,"satellites":39,"speed":51,"hex_longitude":"2cfd19c0","hex_latitude":"07060370","is_valid_coordinates":true} 
[2026-09-17 14:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146874880001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32799222130540544,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-216243120690690048,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789636237000,"timestamp_ms":1789636237000,"timestamp_seconds":1789636237,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea1d6c8"} 
[2026-09-17 14:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 14:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146874880001,"66":14450,"213":206,"94":10240,"24":51,"16":32799222130540544,"44":-216243120690690048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 14:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146874880001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:41:03] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 14:41:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32799222130540544,"km_value":32799222130540.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-216243120690690048,"description":"Unknown IO ID 44"} 
[2026-09-17 14:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146874880001,"power":14450,"unknown_213":206,"unknown_94":10240,"ignition":51,"odometer":null,"unknown_44":-216243120690690048}} 
[2026-09-17 14:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":185372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856024,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:41:03] local.INFO: GPS data processed {"connection_id":185372,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:41:03] local.INFO: Acknowledgment sent {"connection_id":185372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:41:15] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:41:15] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:41:15] local.INFO: IMEI packet received {"connection_id":186687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":186687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:41:20] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:41:20] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:41:20] local.INFO: IMEI packet received {"connection_id":186687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":186687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:41:21] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea180d8012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea180d8012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:41:21] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea180d8012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:41:21] local.INFO: Packet analysis {"connection_id":186687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:41:21] local.INFO: Extracted packet for processing {"connection_id":186687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146865664001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150374912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789636215000,"timestamp_ms":1789636215000,"timestamp_seconds":1789636215,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea180d8"} 
[2026-09-17 14:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 14:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:41:21] 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-09-17 14:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146865664001,"66":27908,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3800756639150374912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146865664001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:41:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150374912,"description":"Unknown IO ID 45"} 
[2026-09-17 14:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146865664001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150374912}} 
[2026-09-17 14:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":186687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:41:21] local.INFO: GPS data processed {"connection_id":186687,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:41:21] local.INFO: Acknowledgment sent {"connection_id":186687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:41:33] local.INFO: TCP Data received {"connection_id":185372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea1f220012cfd35800705ea200009008329..."} 
[2026-09-17 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea1f220012cfd35800705ea200009008329..."} 
[2026-09-17 14:41:33] local.INFO: Processing buffer {"connection_id":185372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea1f220012cfd35800705ea200009008329..."} 
[2026-09-17 14:41:33] local.INFO: Packet analysis {"connection_id":185372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:41:33] local.INFO: Extracted packet for processing {"connection_id":185372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":754791808,"raw_latitude":117828128,"longitude_deg":75.4791808,"latitude_deg":11.7828128,"altitude":9,"angle":131,"satellites":41,"speed":56,"hex_longitude":"2cfd3580","hex_latitude":"0705ea20","is_valid_coordinates":true} 
[2026-09-17 14:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146876672001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32799681692041216,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-208924771297824768,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789636244000,"timestamp_ms":1789636244000,"timestamp_seconds":1789636244,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea1f220"} 
[2026-09-17 14:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146876672001,"66":14428,"213":206,"94":10240,"24":56,"16":32799681692041216,"44":-208924771297824768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 14:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146876672001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:41:33] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 14:41:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32799681692041216,"km_value":32799681692041.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:41:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-208924771297824768,"description":"Unknown IO ID 44"} 
[2026-09-17 14:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146876672001,"power":14428,"unknown_213":206,"unknown_94":10240,"ignition":56,"odometer":null,"unknown_44":-208924771297824768}} 
[2026-09-17 14:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":185372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:41:34] local.INFO: GPS data processed {"connection_id":185372,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:41:34] local.INFO: Acknowledgment sent {"connection_id":185372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:41:53] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea1d2e0012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea1d2e0012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:41:53] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea1d2e0012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:41:53] local.INFO: Packet analysis {"connection_id":186687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:41:53] local.INFO: Extracted packet for processing {"connection_id":186687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea1"} 
[2026-09-17 14:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146871040001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150374912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636236000,"timestamp_ms":1789636236000,"timestamp_seconds":1789636236,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea1d2e0"} 
[2026-09-17 14:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 14:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:41:53] 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-09-17 14:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146871040001,"66":27930,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3800756639150374912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146871040001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150374912,"description":"Unknown IO ID 45"} 
[2026-09-17 14:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146871040001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150374912}} 
[2026-09-17 14:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":186687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:41:53] local.INFO: GPS data processed {"connection_id":186687,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:41:53] local.INFO: Acknowledgment sent {"connection_id":186687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:41:57] local.INFO: TCP Data received {"connection_id":185237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:41:57] local.INFO: Processing buffer {"connection_id":185237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:41:57] local.INFO: IMEI packet received {"connection_id":185237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":185237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:42:02] local.INFO: TCP Data received {"connection_id":185237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:42:02] local.INFO: Processing buffer {"connection_id":185237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:42:02] local.INFO: IMEI packet received {"connection_id":185237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":185237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:42:03] local.INFO: TCP Data received {"connection_id":185237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea20d78012cfd53400705cf780009008429..."} 
[2026-09-17 14:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea20d78012cfd53400705cf780009008429..."} 
[2026-09-17 14:42:03] local.INFO: Processing buffer {"connection_id":185237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea20d78012cfd53400705cf780009008429..."} 
[2026-09-17 14:42:03] local.INFO: Packet analysis {"connection_id":185237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:42:03] local.INFO: Extracted packet for processing {"connection_id":185237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":754799424,"raw_latitude":117821304,"longitude_deg":75.4799424,"latitude_deg":11.7821304,"altitude":9,"angle":132,"satellites":41,"speed":59,"hex_longitude":"2cfd5340","hex_latitude":"0705cf78","is_valid_coordinates":true} 
[2026-09-17 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146878464001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32800171318312960,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-201113840695762944,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789636251000,"timestamp_ms":1789636251000,"timestamp_seconds":1789636251,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea20d78"} 
[2026-09-17 14:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 14:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146878464001,"66":14494,"213":206,"94":10240,"24":59,"16":32800171318312960,"44":-201113840695762944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 14:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146878464001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:42:03] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 14:42:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32800171318312960,"km_value":32800171318312.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-201113840695762944,"description":"Unknown IO ID 44"} 
[2026-09-17 14:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146878464001,"power":14494,"unknown_213":206,"unknown_94":10240,"ignition":59,"odometer":null,"unknown_44":-201113840695762944}} 
[2026-09-17 14:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":185237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856028,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:42:03] local.INFO: GPS data processed {"connection_id":185237,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:42:03] local.INFO: Acknowledgment sent {"connection_id":185237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:42:18] local.INFO: TCP Data received {"connection_id":185373,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:42:18] local.INFO: Processing buffer {"connection_id":185373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:42:18] local.INFO: IMEI packet received {"connection_id":185373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":185373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:42:20] local.INFO: TCP Data received {"connection_id":185373,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:42:20] local.INFO: Processing buffer {"connection_id":185373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:42:20] local.INFO: IMEI packet received {"connection_id":185373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":185373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:42:25] local.INFO: TCP Data received {"connection_id":185373,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:42:25] local.INFO: Processing buffer {"connection_id":185373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:42:25] local.INFO: IMEI packet received {"connection_id":185373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":185373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:42:26] local.INFO: TCP Data received {"connection_id":185373,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea224e8012d34bf0006aa4400000c010126..."} 
[2026-09-17 14:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea224e8012d34bf0006aa4400000c010126..."} 
[2026-09-17 14:42:26] local.INFO: Processing buffer {"connection_id":185373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea224e8012d34bf0006aa4400000c010126..."} 
[2026-09-17 14:42:26] local.INFO: Packet analysis {"connection_id":185373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:42:26] local.INFO: Extracted packet for processing {"connection_id":185373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146876416001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150374912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789636257000,"timestamp_ms":1789636257000,"timestamp_seconds":1789636257,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea224e8"} 
[2026-09-17 14:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-17 14:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:42:26] 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-09-17 14:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146876416001,"66":27800,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3800756639150374912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146876416001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:42:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:42:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150374912,"description":"Unknown IO ID 45"} 
[2026-09-17 14:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146876416001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150374912}} 
[2026-09-17 14:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":185373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:42:26] local.INFO: GPS data processed {"connection_id":185373,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:42:26] local.INFO: Acknowledgment sent {"connection_id":185373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:42:32] local.INFO: TCP Data received {"connection_id":185373,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea276f0012d34bf0006aa4400000c010125..."} 
[2026-09-17 14:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea276f0012d34bf0006aa4400000c010125..."} 
[2026-09-17 14:42:32] local.INFO: Processing buffer {"connection_id":185373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea276f0012d34bf0006aa4400000c010125..."} 
[2026-09-17 14:42:32] local.INFO: Packet analysis {"connection_id":185373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:42:32] local.INFO: Extracted packet for processing {"connection_id":185373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146881792001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150374912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789636278000,"timestamp_ms":1789636278000,"timestamp_seconds":1789636278,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea276f0"} 
[2026-09-17 14:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-17 14:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:42:32] 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-09-17 14:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146881792001,"66":27821,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3800756639150374912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146881792001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150374912,"description":"Unknown IO ID 45"} 
[2026-09-17 14:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146881792001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150374912}} 
[2026-09-17 14:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":185373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:42:32] local.INFO: GPS data processed {"connection_id":185373,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:42:32] local.INFO: Acknowledgment sent {"connection_id":185373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:42:34] local.INFO: TCP Data received {"connection_id":185237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea224e8012cfd6d400705b7d8000a008428..."} 
[2026-09-17 14:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea224e8012cfd6d400705b7d8000a008428..."} 
[2026-09-17 14:42:34] local.INFO: Processing buffer {"connection_id":185237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea224e8012cfd6d400705b7d8000a008428..."} 
[2026-09-17 14:42:34] local.INFO: Packet analysis {"connection_id":185237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:42:34] local.INFO: Extracted packet for processing {"connection_id":185237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:42:34] local.INFO: GPS Element Parsed {"raw_longitude":754806080,"raw_latitude":117815256,"longitude_deg":75.480608,"latitude_deg":11.7815256,"altitude":10,"angle":132,"satellites":40,"speed":58,"hex_longitude":"2cfd6d40","hex_latitude":"0705b7d8","is_valid_coordinates":true} 
[2026-09-17 14:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146880256001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32800600815042560,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-192739960140367872,"note":"Value kept but may cause issues"} 
[2026-09-17 14:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789636257000,"timestamp_ms":1789636257000,"timestamp_seconds":1789636257,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea224e8"} 
[2026-09-17 14:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-17 14:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146880256001,"66":14439,"213":206,"94":10240,"24":58,"16":32800600815042560,"44":-192739960140367872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 14:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146880256001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:42:34] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 14:42:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32800600815042560,"km_value":32800600815042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:42:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-192739960140367872,"description":"Unknown IO ID 44"} 
[2026-09-17 14:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146880256001,"power":14439,"unknown_213":206,"unknown_94":10240,"ignition":58,"odometer":null,"unknown_44":-192739960140367872}} 
[2026-09-17 14:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":185237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856031,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:42:34] local.INFO: GPS data processed {"connection_id":185237,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:42:34] local.INFO: Acknowledgment sent {"connection_id":185237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:42:57] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:42:57] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:42:57] local.INFO: IMEI packet received {"connection_id":188004,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":188004,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:43:08] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:43:08] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:43:08] local.INFO: IMEI packet received {"connection_id":188004,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":188004,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:43:08] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:43:08] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:43:08] local.INFO: IMEI packet received {"connection_id":188004,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":188004,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:43:09] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea38860012cfe82000704d3000001007d29..."} 
[2026-09-17 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea38860012cfe82000704d3000001007d29..."} 
[2026-09-17 14:43:09] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea38860012cfe82000704d3000001007d29..."} 
[2026-09-17 14:43:09] local.INFO: Packet analysis {"connection_id":188004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:09] local.INFO: Extracted packet for processing {"connection_id":188004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:09] local.INFO: GPS Element Parsed {"raw_longitude":754876928,"raw_latitude":117756672,"longitude_deg":75.4876928,"latitude_deg":11.7756672,"altitude":1,"angle":125,"satellites":41,"speed":29,"hex_longitude":"2cfe8200","hex_latitude":"0704d300","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146903552001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32805007451488256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-110971479421847552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789636348000,"timestamp_ms":1789636348000,"timestamp_seconds":1789636348,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea38860"} 
[2026-09-17 14:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146903552001,"66":14450,"213":206,"94":10240,"24":29,"16":32805007451488256,"44":-110971479421847552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 14:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146903552001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:43:09] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 14:43:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32805007451488256,"km_value":32805007451488.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-110971479421847552,"description":"Unknown IO ID 44"} 
[2026-09-17 14:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146903552001,"power":14450,"unknown_213":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_44":-110971479421847552}} 
[2026-09-17 14:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":188004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856032,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:43:09] local.INFO: GPS data processed {"connection_id":188004,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:43:09] local.INFO: Acknowledgment sent {"connection_id":188004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:43:10] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea3b740012cfea0c00704bd880003007f29..."} 
[2026-09-17 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea3b740012cfea0c00704bd880003007f29..."} 
[2026-09-17 14:43:10] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea3b740012cfea0c00704bd880003007f29..."} 
[2026-09-17 14:43:10] local.INFO: Packet analysis {"connection_id":188004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:10] local.INFO: Extracted packet for processing {"connection_id":188004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:10] local.INFO: GPS Element Parsed {"raw_longitude":754884800,"raw_latitude":117751176,"longitude_deg":75.48848,"latitude_deg":11.7751176,"altitude":3,"angle":127,"satellites":41,"speed":34,"hex_longitude":"2cfea0c0","hex_latitude":"0704bd88","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146905088001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32805467012988928,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-107523410957762560,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789636360000,"timestamp_ms":1789636360000,"timestamp_seconds":1789636360,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea3b740"} 
[2026-09-17 14:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146905088001,"66":14450,"213":206,"94":10240,"24":34,"16":32805467012988928,"44":-107523410957762560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 14:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146905088001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:43:10] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 14:43:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32805467012988928,"km_value":32805467012988.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-107523410957762560,"description":"Unknown IO ID 44"} 
[2026-09-17 14:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146905088001,"power":14450,"unknown_213":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_44":-107523410957762560}} 
[2026-09-17 14:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":188004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:43:10] local.INFO: GPS data processed {"connection_id":188004,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:43:10] local.INFO: Acknowledgment sent {"connection_id":188004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:43:15] local.INFO: TCP Data received {"connection_id":185238,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:43:15] local.INFO: Processing buffer {"connection_id":185238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:43:15] local.INFO: IMEI packet received {"connection_id":185238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":185238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:43:16] local.INFO: TCP Data received {"connection_id":185238,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:43:16] local.INFO: Processing buffer {"connection_id":185238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:43:16] local.INFO: IMEI packet received {"connection_id":185238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":185238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:43:20] local.INFO: TCP Data received {"connection_id":185238,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:43:20] local.INFO: Processing buffer {"connection_id":185238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:43:20] local.INFO: IMEI packet received {"connection_id":185238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":185238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:43:22] local.INFO: TCP Data received {"connection_id":185238,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea2c8f8012d34bf0006aa4400000c010125..."} 
[2026-09-17 14:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea2c8f8012d34bf0006aa4400000c010125..."} 
[2026-09-17 14:43:22] local.INFO: Processing buffer {"connection_id":185238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea2c8f8012d34bf0006aa4400000c010125..."} 
[2026-09-17 14:43:22] local.INFO: Packet analysis {"connection_id":185238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:43:22] local.INFO: Extracted packet for processing {"connection_id":185238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea2"} 
[2026-09-17 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146887168001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150374912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789636299000,"timestamp_ms":1789636299000,"timestamp_seconds":1789636299,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea2c8f8"} 
[2026-09-17 14:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 14:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146887168001,"66":27767,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3800756639150374912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146887168001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:43:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150374912,"description":"Unknown IO ID 45"} 
[2026-09-17 14:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146887168001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150374912}} 
[2026-09-17 14:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":185238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:43:22] local.INFO: GPS data processed {"connection_id":185238,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:43:22] local.INFO: Acknowledgment sent {"connection_id":185238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:43:25] local.INFO: TCP Data received {"connection_id":185239,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:43:25] local.INFO: Processing buffer {"connection_id":185239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:43:25] local.INFO: IMEI packet received {"connection_id":185239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":185239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:43:26] local.INFO: TCP Data received {"connection_id":185239,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea3a3b8012d7c954006031f280011006324..."} 
[2026-09-17 14:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea3a3b8012d7c954006031f280011006324..."} 
[2026-09-17 14:43:26] local.INFO: Processing buffer {"connection_id":185239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea3a3b8012d7c954006031f280011006324..."} 
[2026-09-17 14:43:26] local.INFO: Packet analysis {"connection_id":185239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:26] local.INFO: Extracted packet for processing {"connection_id":185239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763139392,"raw_latitude":100867880,"longitude_deg":76.3139392,"latitude_deg":10.086788,"altitude":17,"angle":99,"satellites":36,"speed":8,"hex_longitude":"2d7c9540","hex_latitude":"06031f28","is_valid_coordinates":true} 
[2026-09-17 14:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146906368001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134229144023072768,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976729614334253056,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789636355000,"timestamp_ms":1789636355000,"timestamp_seconds":1789636355,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea3a3b8"} 
[2026-09-17 14:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 14:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146906368001,"66":13624,"197":206,"87":10496,"24":8,"16":134229144023072768,"45":8976729614334253056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146906368001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:43:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:43:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134229144023072768,"km_value":134229144023072.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976729614334253056,"description":"Unknown IO ID 45"} 
[2026-09-17 14:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146906368001,"power":13624,"unknown_197":206,"unknown_87":10496,"ignition":8,"odometer":null,"unknown_45":8976729614334253056}} 
[2026-09-17 14:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":185239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:43:27] local.INFO: GPS data processed {"connection_id":185239,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:43:27] local.INFO: Acknowledgment sent {"connection_id":185239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:43:42] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea3de50012cfebe400704a678000500812a..."} 
[2026-09-17 14:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea3de50012cfebe400704a678000500812a..."} 
[2026-09-17 14:43:42] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea3de50012cfebe400704a678000500812a..."} 
[2026-09-17 14:43:42] local.INFO: Packet analysis {"connection_id":188004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:42] local.INFO: Extracted packet for processing {"connection_id":188004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:42] local.INFO: GPS Element Parsed {"raw_longitude":754892352,"raw_latitude":117745272,"longitude_deg":75.4892352,"latitude_deg":11.7745272,"altitude":5,"angle":129,"satellites":42,"speed":39,"hex_longitude":"2cfebe40","hex_latitude":"0704a678","is_valid_coordinates":true} 
[2026-09-17 14:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146908160001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32805926574489600,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-98868055425316864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789636370000,"timestamp_ms":1789636370000,"timestamp_seconds":1789636370,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea3de50"} 
[2026-09-17 14:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146908160001,"66":14515,"213":206,"94":10240,"24":39,"16":32805926574489600,"44":-98868055425316864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-17 14:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146908160001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:43:42] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-17 14:43:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32805926574489600,"km_value":32805926574489.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-98868055425316864,"description":"Unknown IO ID 44"} 
[2026-09-17 14:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146908160001,"power":14515,"unknown_213":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_44":-98868055425316864}} 
[2026-09-17 14:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":188004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:43:42] local.INFO: GPS data processed {"connection_id":188004,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:43:42] local.INFO: Acknowledgment sent {"connection_id":188004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:43:54] local.INFO: TCP Data received {"connection_id":185238,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea31b00012d34bf0006aa4400000c010126..."} 
[2026-09-17 14:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea31b00012d34bf0006aa4400000c010126..."} 
[2026-09-17 14:43:54] local.INFO: Processing buffer {"connection_id":185238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea31b00012d34bf0006aa4400000c010126..."} 
[2026-09-17 14:43:54] local.INFO: Packet analysis {"connection_id":185238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:54] local.INFO: Extracted packet for processing {"connection_id":185238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146892544001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150374912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789636320000,"timestamp_ms":1789636320000,"timestamp_seconds":1789636320,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea31b00"} 
[2026-09-17 14:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-17 14:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146892544001,"66":28093,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3800756639150374912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146892544001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150374912,"description":"Unknown IO ID 45"} 
[2026-09-17 14:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146892544001,"power":28093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150374912}} 
[2026-09-17 14:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":185238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:43:54] local.INFO: GPS data processed {"connection_id":185238,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:43:54] local.INFO: Acknowledgment sent {"connection_id":185238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:43:58] local.INFO: TCP Data received {"connection_id":185239,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea3b358012d7c990006031f180011005725..."} 
[2026-09-17 14:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea3b358012d7c990006031f180011005725..."} 
[2026-09-17 14:43:58] local.INFO: Processing buffer {"connection_id":185239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea3b358012d7c990006031f180011005725..."} 
[2026-09-17 14:43:58] local.INFO: Packet analysis {"connection_id":185239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:58] local.INFO: Extracted packet for processing {"connection_id":185239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763140352,"raw_latitude":100867864,"longitude_deg":76.3140352,"latitude_deg":10.0867864,"altitude":17,"angle":87,"satellites":37,"speed":10,"hex_longitude":"2d7c9900","hex_latitude":"06031f18","is_valid_coordinates":true} 
[2026-09-17 14:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146906880001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134229186972745728,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977151826799306752,"note":"Value kept but may cause issues"} 
[2026-09-17 14:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789636359000,"timestamp_ms":1789636359000,"timestamp_seconds":1789636359,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea3b358"} 
[2026-09-17 14:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-17 14:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146906880001,"66":13406,"197":206,"87":10496,"24":10,"16":134229186972745728,"45":8977151826799306752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146906880001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:43:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134229186972745728,"km_value":134229186972745.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977151826799306752,"description":"Unknown IO ID 45"} 
[2026-09-17 14:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146906880001,"power":13406,"unknown_197":206,"unknown_87":10496,"ignition":10,"odometer":null,"unknown_45":8977151826799306752}} 
[2026-09-17 14:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":185239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:43:58] local.INFO: GPS data processed {"connection_id":185239,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:43:58] local.INFO: Acknowledgment sent {"connection_id":185239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:44:00] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:00] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:00] local.INFO: IMEI packet received {"connection_id":188005,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":188005,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:44:02] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:02] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:02] local.INFO: IMEI packet received {"connection_id":188005,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":188005,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:44:06] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:06] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:06] local.INFO: IMEI packet received {"connection_id":188005,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":188005,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:44:08] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea40178012cfedb4007048ef80007008227..."} 
[2026-09-17 14:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea40178012cfedb4007048ef80007008227..."} 
[2026-09-17 14:44:08] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea40178012cfedb4007048ef80007008227..."} 
[2026-09-17 14:44:08] local.INFO: Packet analysis {"connection_id":188005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:44:08] local.INFO: Extracted packet for processing {"connection_id":188005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:44:08] local.INFO: GPS Element Parsed {"raw_longitude":754899776,"raw_latitude":117739256,"longitude_deg":75.4899776,"latitude_deg":11.7739256,"altitude":7,"angle":130,"satellites":39,"speed":40,"hex_longitude":"2cfedb40","hex_latitude":"07048ef8","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146910720001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32806381841022976,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-90564543613863936,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789636379000,"timestamp_ms":1789636379000,"timestamp_seconds":1789636379,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea40178"} 
[2026-09-17 14:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 14:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146910720001,"66":14439,"212":206,"94":10240,"24":40,"16":32806381841022976,"44":-90564543613863936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-17 14:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146910720001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:44:08] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 14:44:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32806381841022976,"km_value":32806381841022.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:44:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-90564543613863936,"description":"Unknown IO ID 44"} 
[2026-09-17 14:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146910720001,"power":14439,"unknown_212":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_44":-90564543613863936}} 
[2026-09-17 14:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":188005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856039,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:44:08] local.INFO: GPS data processed {"connection_id":188005,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:44:08] local.INFO: Acknowledgment sent {"connection_id":188005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:44:10] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea42c70012cfef84007047690000b008329..."} 
[2026-09-17 14:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea42c70012cfef84007047690000b008329..."} 
[2026-09-17 14:44:10] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea42c70012cfef84007047690000b008329..."} 
[2026-09-17 14:44:10] local.INFO: Packet analysis {"connection_id":188005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:44:10] local.INFO: Extracted packet for processing {"connection_id":188005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:44:10] local.INFO: GPS Element Parsed {"raw_longitude":754907200,"raw_latitude":117733008,"longitude_deg":75.49072,"latitude_deg":11.7733008,"altitude":11,"angle":131,"satellites":41,"speed":34,"hex_longitude":"2cfef840","hex_latitude":"07047690","is_valid_coordinates":true} 
[2026-09-17 14:44: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-09-17 14:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146913024001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32806849992458240,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-82401769290795008,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789636390000,"timestamp_ms":1789636390000,"timestamp_seconds":1789636390,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea42c70"} 
[2026-09-17 14:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 14:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:44: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-09-17 14:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146913024001,"66":14352,"212":206,"94":10240,"24":34,"16":32806849992458240,"44":-82401769290795008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-17 14:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146913024001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:44:10] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 14:44:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32806849992458240,"km_value":32806849992458.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-82401769290795008,"description":"Unknown IO ID 44"} 
[2026-09-17 14:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146913024001,"power":14352,"unknown_212":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_44":-82401769290795008}} 
[2026-09-17 14:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":188005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856040,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:44:10] local.INFO: GPS data processed {"connection_id":188005,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:44:10] local.INFO: Acknowledgment sent {"connection_id":188005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:44:15] local.INFO: TCP Data received {"connection_id":185375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:44:15] local.INFO: Processing buffer {"connection_id":185375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:44:15] local.INFO: IMEI packet received {"connection_id":185375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":185375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:44:19] local.INFO: TCP Data received {"connection_id":185376,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:44:19] local.INFO: Processing buffer {"connection_id":185376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:44:19] local.INFO: IMEI packet received {"connection_id":185376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":185376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:44:20] local.INFO: TCP Data received {"connection_id":185375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:44:20] local.INFO: Processing buffer {"connection_id":185375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:44:20] local.INFO: IMEI packet received {"connection_id":185375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":185375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:44:21] local.INFO: TCP Data received {"connection_id":185375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea34210012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea34210012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:44:21] local.INFO: Processing buffer {"connection_id":185375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea34210012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:44:21] local.INFO: Packet analysis {"connection_id":185375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:44:21] local.INFO: Extracted packet for processing {"connection_id":185375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146897920001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150374912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789636330000,"timestamp_ms":1789636330000,"timestamp_seconds":1789636330,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea34210"} 
[2026-09-17 14:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-17 14:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:44:21] 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-09-17 14:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146897920001,"66":27984,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3800756639150374912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146897920001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:44:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150374912,"description":"Unknown IO ID 45"} 
[2026-09-17 14:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146897920001,"power":27984,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150374912}} 
[2026-09-17 14:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":185375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:44:21] local.INFO: GPS data processed {"connection_id":185375,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:44:21] local.INFO: Acknowledgment sent {"connection_id":185375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:44:25] local.INFO: TCP Data received {"connection_id":185376,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:44:25] local.INFO: Processing buffer {"connection_id":185376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:44:25] local.INFO: IMEI packet received {"connection_id":185376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":185376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:44:26] local.INFO: TCP Data received {"connection_id":185376,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea3f5c0012d7cb240060320c0000d006624..."} 
[2026-09-17 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea3f5c0012d7cb240060320c0000d006624..."} 
[2026-09-17 14:44:26] local.INFO: Processing buffer {"connection_id":185376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea3f5c0012d7cb240060320c0000d006624..."} 
[2026-09-17 14:44:26] local.INFO: Packet analysis {"connection_id":185376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:44:26] local.INFO: Extracted packet for processing {"connection_id":185376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763146816,"raw_latitude":100868288,"longitude_deg":76.3146816,"latitude_deg":10.0868288,"altitude":13,"angle":102,"satellites":36,"speed":16,"hex_longitude":"2d7cb240","hex_latitude":"060320c0","is_valid_coordinates":true} 
[2026-09-17 14:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146907904001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134229500505358336,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978207357961967616,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789636376000,"timestamp_ms":1789636376000,"timestamp_seconds":1789636376,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea3f5c0"} 
[2026-09-17 14:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 14:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146907904001,"66":13678,"197":206,"87":10496,"24":16,"16":134229500505358336,"45":8978207357961967616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146907904001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:44:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:44:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134229500505358336,"km_value":134229500505358.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978207357961967616,"description":"Unknown IO ID 45"} 
[2026-09-17 14:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146907904001,"power":13678,"unknown_197":206,"unknown_87":10496,"ignition":16,"odometer":null,"unknown_45":8978207357961967616}} 
[2026-09-17 14:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":185376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:44:26] local.INFO: GPS data processed {"connection_id":185376,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:44:26] local.INFO: Acknowledgment sent {"connection_id":185376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:44:42] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea45380012cff170007045fd80009007928..."} 
[2026-09-17 14:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea45380012cff170007045fd80009007928..."} 
[2026-09-17 14:44:42] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea45380012cff170007045fd80009007928..."} 
[2026-09-17 14:44:42] local.INFO: Packet analysis {"connection_id":188005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:44:42] local.INFO: Extracted packet for processing {"connection_id":188005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:44:42] local.INFO: GPS Element Parsed {"raw_longitude":754915072,"raw_latitude":117727192,"longitude_deg":75.4915072,"latitude_deg":11.7727192,"altitude":9,"angle":121,"satellites":40,"speed":41,"hex_longitude":"2cff1700","hex_latitude":"07045fd8","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146915840001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32807318143893504,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238994967785472,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789636400000,"timestamp_ms":1789636400000,"timestamp_seconds":1789636400,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea45380"} 
[2026-09-17 14:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141504,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2929944864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4269932551,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504100188651520,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2743623681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264497877,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":852820174,"corrected_to":0} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4026608894,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3221685468,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2345598976,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":32,"raw_value":1126441794151424,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.WARNING: Large IO value detected {"io_id":254,"raw_value":4107290578396381191,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:42] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,212,94,24,241,157,16,141,160,1,44,64,142,7,39,10,66,222,166,5,42,213,140,183,192,240,114,227,174,4,113,205,29,112,117,120,41,239,56,2,116,11,206,32,254],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":852820174,"validated":0}]} 
[2026-09-17 14:44:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792777746536333312,"timestamp_seconds":792777746536333.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146915840001,"66":14450,"212":206,"94":10240,"24":41,"16":32807318143893504,"44":-74238994967785472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-17 14:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146915840001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:44:42] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 14:44:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32807318143893504,"km_value":32807318143893.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238994967785472,"description":"Unknown IO ID 44"} 
[2026-09-17 14:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146915840001,"power":14450,"unknown_212":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_44":-74238994967785472}} 
[2026-09-17 14:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":188005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:44:42] local.INFO: GPS data processed {"connection_id":188005,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:44:42] local.INFO: Acknowledgment sent {"connection_id":188005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:44:53] local.INFO: TCP Data received {"connection_id":185375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea349e0012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea349e0012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:44:53] local.INFO: Processing buffer {"connection_id":185375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea349e0012d34bf0006aa4400000c010127..."} 
[2026-09-17 14:44:53] local.INFO: Packet analysis {"connection_id":185375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:44:53] local.INFO: Extracted packet for processing {"connection_id":185375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea3"} 
[2026-09-17 14:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821824,"longitude_deg":75.8431488,"latitude_deg":11.1821824,"altitude":12,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-17 14:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146900480001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166096350445568,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150374912,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636332000,"timestamp_ms":1789636332000,"timestamp_seconds":1789636332,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea349e0"} 
[2026-09-17 14:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 14:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:44:53] 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-09-17 14:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146900480001,"66":27376,"97":206,"81":23296,"24":0,"16":405166096350445568,"45":3800756639150374912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146900480001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166096350445568,"km_value":405166096350445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150374912,"description":"Unknown IO ID 45"} 
[2026-09-17 14:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146900480001,"power":27376,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150374912}} 
[2026-09-17 14:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":185375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:44:53] local.INFO: GPS data processed {"connection_id":185375,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:44:53] local.INFO: Acknowledgment sent {"connection_id":185375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:44:57] local.INFO: TCP Data received {"connection_id":185241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:57] local.INFO: Processing buffer {"connection_id":185241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:44:57] local.INFO: IMEI packet received {"connection_id":185241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":185241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:44:57] local.INFO: TCP Data received {"connection_id":185376,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea43440012d7cccc006031b900008005b25..."} 
[2026-09-17 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea43440012d7cccc006031b900008005b25..."} 
[2026-09-17 14:44:57] local.INFO: Processing buffer {"connection_id":185376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea43440012d7cccc006031b900008005b25..."} 
[2026-09-17 14:44:57] local.INFO: Packet analysis {"connection_id":185376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:44:57] local.INFO: Extracted packet for processing {"connection_id":185376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763153600,"raw_latitude":100866960,"longitude_deg":76.31536,"latitude_deg":10.086696,"altitude":8,"angle":91,"satellites":37,"speed":18,"hex_longitude":"2d7cccc0","hex_latitude":"06031b90","is_valid_coordinates":true} 
[2026-09-17 14:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146912256001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134229831217840128,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985314601124020224,"note":"Value kept but may cause issues"} 
[2026-09-17 14:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789636392000,"timestamp_ms":1789636392000,"timestamp_seconds":1789636392,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea43440"} 
[2026-09-17 14:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 14:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146912256001,"66":13580,"197":206,"87":10496,"24":18,"16":134229831217840128,"45":8985314601124020224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146912256001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:44:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:44:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134229831217840128,"km_value":134229831217840.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985314601124020224,"description":"Unknown IO ID 45"} 
[2026-09-17 14:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146912256001,"power":13580,"unknown_197":206,"unknown_87":10496,"ignition":18,"odometer":null,"unknown_45":8985314601124020224}} 
[2026-09-17 14:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":185376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:44:57] local.INFO: GPS data processed {"connection_id":185376,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:44:57] local.INFO: Acknowledgment sent {"connection_id":185376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:45:02] local.INFO: TCP Data received {"connection_id":185241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:45:02] local.INFO: Processing buffer {"connection_id":185241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:45:02] local.INFO: IMEI packet received {"connection_id":185241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":185241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:45:03] local.INFO: TCP Data received {"connection_id":185241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea47e78012cff38c007044ec8000800722a..."} 
[2026-09-17 14:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea47e78012cff38c007044ec8000800722a..."} 
[2026-09-17 14:45:03] local.INFO: Processing buffer {"connection_id":185241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea47e78012cff38c007044ec8000800722a..."} 
[2026-09-17 14:45:03] local.INFO: Packet analysis {"connection_id":185241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:45:03] local.INFO: Extracted packet for processing {"connection_id":185241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:45:03] local.INFO: GPS Element Parsed {"raw_longitude":754923712,"raw_latitude":117722824,"longitude_deg":75.4923712,"latitude_deg":11.7722824,"altitude":8,"angle":114,"satellites":42,"speed":27,"hex_longitude":"2cff38c0","hex_latitude":"07044ec8","is_valid_coordinates":true} 
[2026-09-17 14:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146918400001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32807777705394176,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-65583639435421696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789636411000,"timestamp_ms":1789636411000,"timestamp_seconds":1789636411,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea47e78"} 
[2026-09-17 14:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146918400001,"66":14559,"212":206,"94":10240,"24":27,"16":32807777705394176,"44":-65583639435421696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-17 14:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146918400001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:45:03] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 14:45:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32807777705394176,"km_value":32807777705394.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:45:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-65583639435421696,"description":"Unknown IO ID 44"} 
[2026-09-17 14:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146918400001,"power":14559,"unknown_212":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_44":-65583639435421696}} 
[2026-09-17 14:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":185241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:45:03] local.INFO: GPS data processed {"connection_id":185241,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:45:03] local.INFO: Acknowledgment sent {"connection_id":185241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:45:15] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:45:15] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:45:15] local.INFO: IMEI packet received {"connection_id":186690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":186690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:45:15] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:45:15] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:45:15] local.INFO: IMEI packet received {"connection_id":186690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":186690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:45:19] local.INFO: TCP Data received {"connection_id":186691,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:45:19] local.INFO: Processing buffer {"connection_id":186691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:45:19] local.INFO: IMEI packet received {"connection_id":186691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":186691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:45:20] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:45:20] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:45:20] local.INFO: IMEI packet received {"connection_id":186690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":186690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:45:22] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea53de0012d34c3c006aa45b8000b001525..."} 
[2026-09-17 14:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea53de0012d34c3c006aa45b8000b001525..."} 
[2026-09-17 14:45:22] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea53de0012d34c3c006aa45b8000b001525..."} 
[2026-09-17 14:45:22] local.INFO: Packet analysis {"connection_id":186690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea5"} 
[2026-09-17 14:45:22] local.INFO: Extracted packet for processing {"connection_id":186690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea5"} 
[2026-09-17 14:45:22] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822264,"longitude_deg":75.8432704,"latitude_deg":11.1822264,"altitude":11,"angle":21,"satellites":37,"speed":5,"hex_longitude":"2d34c3c0","hex_latitude":"06aa45b8","is_valid_coordinates":true} 
[2026-09-17 14:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146933248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166165069922304,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545634304,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789636460000,"timestamp_ms":1789636460000,"timestamp_seconds":1789636460,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea53de0"} 
[2026-09-17 14:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-17 14:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:45:22] 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-09-17 14:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146933248001,"66":28028,"97":206,"81":23296,"24":5,"16":405166165069922304,"45":3802023276545634304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146933248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:45:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:45:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166165069922304,"km_value":405166165069922.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545634304,"description":"Unknown IO ID 45"} 
[2026-09-17 14:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146933248001,"power":28028,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802023276545634304}} 
[2026-09-17 14:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":186690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:45:22] local.INFO: GPS data processed {"connection_id":186690,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:45:22] local.INFO: Acknowledgment sent {"connection_id":186690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:45:25] local.INFO: TCP Data received {"connection_id":186691,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:45:25] local.INFO: Processing buffer {"connection_id":186691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:45:25] local.INFO: IMEI packet received {"connection_id":186691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":186691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:45:26] local.INFO: TCP Data received {"connection_id":186691,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea48648012d7cd4c006031b200006005d23..."} 
[2026-09-17 14:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea48648012d7cd4c006031b200006005d23..."} 
[2026-09-17 14:45:26] local.INFO: Processing buffer {"connection_id":186691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea48648012d7cd4c006031b200006005d23..."} 
[2026-09-17 14:45:26] local.INFO: Packet analysis {"connection_id":186691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:45:26] local.INFO: Extracted packet for processing {"connection_id":186691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763155648,"raw_latitude":100866848,"longitude_deg":76.3155648,"latitude_deg":10.0866848,"altitude":6,"angle":93,"satellites":35,"speed":0,"hex_longitude":"2d7cd4c0","hex_latitude":"06031b20","is_valid_coordinates":true} 
[2026-09-17 14:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146916352001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134229930002087936,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992773688006512640,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789636413000,"timestamp_ms":1789636413000,"timestamp_seconds":1789636413,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea48648"} 
[2026-09-17 14:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635680,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2929955864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7215892502954377226,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2744903681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633621137877701,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1791295694,"corrected_to":0} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3769368576,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-7890299936683065327,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971748130161635753,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.WARNING: Large IO value detected {"io_id":41,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:26] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,197,87,24,241,157,16,225,160,245,45,64,32,13,36,10,66,179,31,17,37,224,163,1,240,56,227,174,3,4,113,205,152,147,112,239,50,2,220,6,124,51,41],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1791295694,"validated":0}]} 
[2026-09-17 14:45:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576560966776520704,"timestamp_seconds":576560966776520.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146916352001,"66":13363,"197":206,"87":10496,"24":0,"16":134229930002087936,"45":8992773688006512640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146916352001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:45:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:45:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134229930002087936,"km_value":134229930002087.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992773688006512640,"description":"Unknown IO ID 45"} 
[2026-09-17 14:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146916352001,"power":13363,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8992773688006512640}} 
[2026-09-17 14:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":186691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:45:26] local.INFO: GPS data processed {"connection_id":186691,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:45:26] local.INFO: Acknowledgment sent {"connection_id":186691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:45:34] local.INFO: TCP Data received {"connection_id":185241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea4a970012cff5cc007044198000a006e29..."} 
[2026-09-17 14:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea4a970012cff5cc007044198000a006e29..."} 
[2026-09-17 14:45:34] local.INFO: Processing buffer {"connection_id":185241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea4a970012cff5cc007044198000a006e29..."} 
[2026-09-17 14:45:34] local.INFO: Packet analysis {"connection_id":185241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:45:34] local.INFO: Extracted packet for processing {"connection_id":185241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea4"} 
[2026-09-17 14:45:34] local.INFO: GPS Element Parsed {"raw_longitude":754932928,"raw_latitude":117719448,"longitude_deg":75.4932928,"latitude_deg":11.7719448,"altitude":10,"angle":110,"satellites":41,"speed":43,"hex_longitude":"2cff5cc0","hex_latitude":"07044198","is_valid_coordinates":true} 
[2026-09-17 14:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146921216001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32808245856829440,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-56083858972555264,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789636422000,"timestamp_ms":1789636422000,"timestamp_seconds":1789636422,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea4a970"} 
[2026-09-17 14:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146921216001,"66":13820,"212":206,"94":10240,"24":43,"16":32808245856829440,"44":-56083858972555264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-17 14:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146921216001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:45:34] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-17 14:45:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32808245856829440,"km_value":32808245856829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:45:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-56083858972555264,"description":"Unknown IO ID 44"} 
[2026-09-17 14:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146921216001,"power":13820,"unknown_212":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-56083858972555264}} 
[2026-09-17 14:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":185241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:45:34] local.INFO: GPS data processed {"connection_id":185241,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:45:34] local.INFO: Acknowledgment sent {"connection_id":185241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:45:53] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea541c8012d34c3c006aa4658000b000825..."} 
[2026-09-17 14:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea541c8012d34c3c006aa4658000b000825..."} 
[2026-09-17 14:45:53] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea541c8012d34c3c006aa4658000b000825..."} 
[2026-09-17 14:45:53] local.INFO: Packet analysis {"connection_id":186690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea5"} 
[2026-09-17 14:45:53] local.INFO: Extracted packet for processing {"connection_id":186690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea5"} 
[2026-09-17 14:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822424,"longitude_deg":75.8432704,"latitude_deg":11.1822424,"altitude":11,"angle":8,"satellites":37,"speed":7,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4658","is_valid_coordinates":true} 
[2026-09-17 14:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146933760001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166173659856896,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289863168,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636461000,"timestamp_ms":1789636461000,"timestamp_seconds":1789636461,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea541c8"} 
[2026-09-17 14:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-17 14:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:45:53] 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-09-17 14:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146933760001,"66":28028,"97":206,"81":23296,"24":7,"16":405166173659856896,"45":3802093645289863168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146933760001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166173659856896,"km_value":405166173659856.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289863168,"description":"Unknown IO ID 45"} 
[2026-09-17 14:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146933760001,"power":28028,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3802093645289863168}} 
[2026-09-17 14:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":186690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:45:53] local.INFO: GPS data processed {"connection_id":186690,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:45:53] local.INFO: Acknowledgment sent {"connection_id":186690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:45:57] local.INFO: TCP Data received {"connection_id":186691,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea64f50012d7cdc00060318480009000b24..."} 
[2026-09-17 14:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea64f50012d7cdc00060318480009000b24..."} 
[2026-09-17 14:45:57] local.INFO: Processing buffer {"connection_id":186691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea64f50012d7cdc00060318480009000b24..."} 
[2026-09-17 14:45:57] local.INFO: Packet analysis {"connection_id":186691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:45:57] local.INFO: Extracted packet for processing {"connection_id":186691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763157504,"raw_latitude":100866120,"longitude_deg":76.3157504,"latitude_deg":10.086612,"altitude":9,"angle":11,"satellites":36,"speed":1,"hex_longitude":"2d7cdc00","hex_latitude":"06031848","is_valid_coordinates":true} 
[2026-09-17 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146948096001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134230054556139520,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997066181401092096,"note":"Value kept but may cause issues"} 
[2026-09-17 14:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789636530000,"timestamp_ms":1789636530000,"timestamp_seconds":1789636530,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea64f50"} 
[2026-09-17 14:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 14:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146948096001,"66":13580,"197":206,"87":10496,"24":1,"16":134230054556139520,"45":8997066181401092096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146948096001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:45:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:45:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134230054556139520,"km_value":134230054556139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997066181401092096,"description":"Unknown IO ID 45"} 
[2026-09-17 14:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146948096001,"power":13580,"unknown_197":206,"unknown_87":10496,"ignition":1,"odometer":null,"unknown_45":8997066181401092096}} 
[2026-09-17 14:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":186691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:45:57] local.INFO: GPS data processed {"connection_id":186691,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:45:57] local.INFO: Acknowledgment sent {"connection_id":186691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:45:58] local.INFO: TCP Data received {"connection_id":185242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:45:58] local.INFO: Processing buffer {"connection_id":185242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:45:58] local.INFO: IMEI packet received {"connection_id":185242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":185242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:45:59] local.INFO: TCP Data received {"connection_id":185242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:45:59] local.INFO: Processing buffer {"connection_id":185242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:45:59] local.INFO: IMEI packet received {"connection_id":185242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":185242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:46:01] local.INFO: TCP Data received {"connection_id":185242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:46:01] local.INFO: Processing buffer {"connection_id":185242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:46:01] local.INFO: IMEI packet received {"connection_id":185242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":185242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:46:06] local.INFO: TCP Data received {"connection_id":185242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea66aa8012d00b7c00703c1c0001b006d29..."} 
[2026-09-17 14:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea66aa8012d00b7c00703c1c0001b006d29..."} 
[2026-09-17 14:46:06] local.INFO: Processing buffer {"connection_id":185242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea66aa8012d00b7c00703c1c0001b006d29..."} 
[2026-09-17 14:46:06] local.INFO: Packet analysis {"connection_id":185242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:46:06] local.INFO: Extracted packet for processing {"connection_id":185242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:46:06] local.INFO: GPS Element Parsed {"raw_longitude":755021760,"raw_latitude":117686720,"longitude_deg":75.502176,"latitude_deg":11.768672,"altitude":27,"angle":109,"satellites":41,"speed":41,"hex_longitude":"2d00b7c0","hex_latitude":"0703c1c0","is_valid_coordinates":true} 
[2026-09-17 14:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146951168001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32812751277522944,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":41306482960996352,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789636537000,"timestamp_ms":1789636537000,"timestamp_seconds":1789636537,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea66aa8"} 
[2026-09-17 14:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 14:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146951168001,"66":14450,"89":206,"94":10240,"24":41,"16":32812751277522944,"45":41306482960996352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-17 14:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146951168001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:46:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-17 14:46:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32812751277522944,"km_value":32812751277522.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":41306482960996352,"description":"Unknown IO ID 45"} 
[2026-09-17 14:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146951168001,"power":14450,"unknown_89":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":41306482960996352}} 
[2026-09-17 14:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":185242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:46:07] local.INFO: GPS data processed {"connection_id":185242,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:46:07] local.INFO: Acknowledgment sent {"connection_id":185242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:46:15] local.INFO: TCP Data received {"connection_id":188007,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:46:15] local.INFO: Processing buffer {"connection_id":188007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:46:15] local.INFO: IMEI packet received {"connection_id":188007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":188007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:46:15] local.INFO: TCP Data received {"connection_id":186692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:46:15] local.INFO: Processing buffer {"connection_id":186692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:46:15] local.INFO: IMEI packet received {"connection_id":186692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":186692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:46:19] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:19] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:19] local.INFO: IMEI packet received {"connection_id":185243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":185243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:46:20] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:20] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:20] local.INFO: IMEI packet received {"connection_id":185243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":185243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:46:20] local.INFO: TCP Data received {"connection_id":188007,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:46:20] local.INFO: Processing buffer {"connection_id":188007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:46:20] local.INFO: IMEI packet received {"connection_id":188007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":188007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:46:21] local.INFO: TCP Data received {"connection_id":188007,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea545b0012d34c40006aa4710000b001725..."} 
[2026-09-17 14:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea545b0012d34c40006aa4710000b001725..."} 
[2026-09-17 14:46:21] local.INFO: Processing buffer {"connection_id":188007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea545b0012d34c40006aa4710000b001725..."} 
[2026-09-17 14:46:21] local.INFO: Packet analysis {"connection_id":188007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea5"} 
[2026-09-17 14:46:21] local.INFO: Extracted packet for processing {"connection_id":188007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea5"} 
[2026-09-17 14:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822608,"longitude_deg":75.8432768,"latitude_deg":11.1822608,"altitude":11,"angle":23,"satellites":37,"speed":8,"hex_longitude":"2d34c400","hex_latitude":"06aa4710","is_valid_coordinates":true} 
[2026-09-17 14:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146934016001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166182249791488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289904128,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789636462000,"timestamp_ms":1789636462000,"timestamp_seconds":1789636462,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea545b0"} 
[2026-09-17 14:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-17 14:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:46:21] 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-09-17 14:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146934016001,"66":27865,"97":206,"81":23296,"24":8,"16":405166182249791488,"45":3802093645289904128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146934016001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:46:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166182249791488,"km_value":405166182249791.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289904128,"description":"Unknown IO ID 45"} 
[2026-09-17 14:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146934016001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3802093645289904128}} 
[2026-09-17 14:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":188007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:46:21] local.INFO: GPS data processed {"connection_id":188007,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:46:21] local.INFO: Acknowledgment sent {"connection_id":188007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:46:24] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:24] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:24] local.INFO: IMEI packet received {"connection_id":185243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":185243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:46:24] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:24] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:46:24] local.INFO: IMEI packet received {"connection_id":185243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":185243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:46:26] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea65b08012d7cdc00060318c80009016623..."} 
[2026-09-17 14:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea65b08012d7cdc00060318c80009016623..."} 
[2026-09-17 14:46:26] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea65b08012d7cdc00060318c80009016623..."} 
[2026-09-17 14:46:26] local.INFO: Packet analysis {"connection_id":185243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:46:26] local.INFO: Extracted packet for processing {"connection_id":185243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763157504,"raw_latitude":100866248,"longitude_deg":76.3157504,"latitude_deg":10.0866248,"altitude":9,"angle":358,"satellites":35,"speed":1,"hex_longitude":"2d7cdc00","hex_latitude":"060318c8","is_valid_coordinates":true} 
[2026-09-17 14:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146951680001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134230058851106816,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997066181401135104,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789636533000,"timestamp_ms":1789636533000,"timestamp_seconds":1789636533,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea65b08"} 
[2026-09-17 14:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2930110864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2530613972256686080,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2785095681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204011205,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1791295694,"corrected_to":0} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154026,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3782803456,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-3116484331730632698,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916986910527063,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.WARNING: Large IO value detected {"io_id":41,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,197,87,24,241,157,16,225,160,45,23,9,36,10,66,128,38,5,1,240,29,227,174,3,4,113,205,6,253,218,88,239,50,2,220,8,124,53,41],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1791295694,"validated":0}]} 
[2026-09-17 14:46:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648530595588145152,"timestamp_seconds":648530595588145.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146951680001,"66":13580,"197":206,"87":10496,"24":1,"16":134230058851106816,"45":8997066181401135104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146951680001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:46:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:46:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134230058851106816,"km_value":134230058851106.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997066181401135104,"description":"Unknown IO ID 45"} 
[2026-09-17 14:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146951680001,"power":13580,"unknown_197":206,"unknown_87":10496,"ignition":1,"odometer":null,"unknown_45":8997066181401135104}} 
[2026-09-17 14:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":185243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:46:26] local.INFO: GPS data processed {"connection_id":185243,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:46:26] local.INFO: Acknowledgment sent {"connection_id":185243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:46:31] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea6ad10012d7cdc00060319180009000522..."} 
[2026-09-17 14:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea6ad10012d7cdc00060319180009000522..."} 
[2026-09-17 14:46:31] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea6ad10012d7cdc00060319180009000522..."} 
[2026-09-17 14:46:31] local.INFO: Packet analysis {"connection_id":185243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:46:31] local.INFO: Extracted packet for processing {"connection_id":185243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763157504,"raw_latitude":100866328,"longitude_deg":76.3157504,"latitude_deg":10.0866328,"altitude":9,"angle":5,"satellites":34,"speed":0,"hex_longitude":"2d7cdc00","hex_latitude":"06031918","is_valid_coordinates":true} 
[2026-09-17 14:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146952448001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134230063146074112,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997066181401167872,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789636554000,"timestamp_ms":1789636554000,"timestamp_seconds":1789636554,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea6ad10"} 
[2026-09-17 14:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2930113864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2530608474698547200,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2785351681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633247475722949,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1791295694,"corrected_to":0} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3221619481,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193091137581481,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3782934528,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-2846268354089975800,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.WARNING: Large IO value detected {"io_id":41,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:31] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,197,87,24,241,157,16,225,160,79,45,9,36,10,66,23,128,1,240,144,227,174,3,4,113,205,5,218,38,239,52,2,220,6,124,41],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1791295694,"validated":0}]} 
[2026-09-17 14:46:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648912121828016128,"timestamp_seconds":648912121828016.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146952448001,"66":13319,"197":206,"87":10496,"24":0,"16":134230063146074112,"45":8997066181401167872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146952448001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:46:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:46:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134230063146074112,"km_value":134230063146074.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997066181401167872,"description":"Unknown IO ID 45"} 
[2026-09-17 14:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146952448001,"power":13319,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8997066181401167872}} 
[2026-09-17 14:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":185243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:46:31] local.INFO: GPS data processed {"connection_id":185243,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:46:31] local.INFO: Acknowledgment sent {"connection_id":185243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:46:39] local.INFO: TCP Data received {"connection_id":185242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea691b8012d00da400703b4b8001a006f29..."} 
[2026-09-17 14:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea691b8012d00da400703b4b8001a006f29..."} 
[2026-09-17 14:46:39] local.INFO: Processing buffer {"connection_id":185242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea691b8012d00da400703b4b8001a006f29..."} 
[2026-09-17 14:46:39] local.INFO: Packet analysis {"connection_id":185242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:46:39] local.INFO: Extracted packet for processing {"connection_id":185242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:46:39] local.INFO: GPS Element Parsed {"raw_longitude":755030592,"raw_latitude":117683384,"longitude_deg":75.5030592,"latitude_deg":11.7683384,"altitude":26,"angle":111,"satellites":41,"speed":30,"hex_longitude":"2d00da40","hex_latitude":"0703b4b8","is_valid_coordinates":true} 
[2026-09-17 14:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146953472001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32813202249089024,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":51721057098383360,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789636547000,"timestamp_ms":1789636547000,"timestamp_seconds":1789636547,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea691b8"} 
[2026-09-17 14:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 14:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146953472001,"66":14461,"89":206,"94":10240,"24":30,"16":32813202249089024,"45":51721057098383360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-17 14:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146953472001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:46:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-17 14:46:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32813202249089024,"km_value":32813202249089.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":51721057098383360,"description":"Unknown IO ID 45"} 
[2026-09-17 14:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146953472001,"power":14461,"unknown_89":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":51721057098383360}} 
[2026-09-17 14:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":185242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856056,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:46:39] local.INFO: GPS data processed {"connection_id":185242,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:46:39] local.INFO: Acknowledgment sent {"connection_id":185242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:46:53] local.INFO: TCP Data received {"connection_id":188007,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea55550012d34c50006aa4950000b000826..."} 
[2026-09-17 14:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea55550012d34c50006aa4950000b000826..."} 
[2026-09-17 14:46:53] local.INFO: Processing buffer {"connection_id":188007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea55550012d34c50006aa4950000b000826..."} 
[2026-09-17 14:46:53] local.INFO: Packet analysis {"connection_id":188007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea5"} 
[2026-09-17 14:46:53] local.INFO: Extracted packet for processing {"connection_id":188007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea5"} 
[2026-09-17 14:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111823184,"longitude_deg":75.8433024,"latitude_deg":11.1823184,"altitude":11,"angle":8,"satellites":38,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa4950","is_valid_coordinates":true} 
[2026-09-17 14:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146934272001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405166216609529856,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034128896,"note":"Value kept but may cause issues"} 
[2026-09-17 14:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636466000,"timestamp_ms":1789636466000,"timestamp_seconds":1789636466,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea55550"} 
[2026-09-17 14:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-17 14:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:46:53] 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-09-17 14:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146934272001,"66":26941,"97":206,"81":23296,"24":4,"16":405166216609529856,"45":3802164014034128896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146934272001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405166216609529856,"km_value":405166216609529.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034128896,"description":"Unknown IO ID 45"} 
[2026-09-17 14:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146934272001,"power":26941,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802164014034128896}} 
[2026-09-17 14:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":188007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:46:53] local.INFO: GPS data processed {"connection_id":188007,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:46:53] local.INFO: Acknowledgment sent {"connection_id":188007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:46:55] local.INFO: TCP Data received {"connection_id":185377,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:46:55] local.INFO: Processing buffer {"connection_id":185377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:46:55] local.INFO: IMEI packet received {"connection_id":185377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":185377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:47:02] local.INFO: TCP Data received {"connection_id":185243,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea6ff18012d7cdc00060319180009000522..."} 
[2026-09-17 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea6ff18012d7cdc00060319180009000522..."} 
[2026-09-17 14:47:02] local.INFO: Processing buffer {"connection_id":185243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea6ff18012d7cdc00060319180009000522..."} 
[2026-09-17 14:47:02] local.INFO: Packet analysis {"connection_id":185243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:47:02] local.INFO: Extracted packet for processing {"connection_id":185243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763157504,"raw_latitude":100866328,"longitude_deg":76.3157504,"latitude_deg":10.0866328,"altitude":9,"angle":5,"satellites":34,"speed":0,"hex_longitude":"2d7cdc00","hex_latitude":"06031918","is_valid_coordinates":true} 
[2026-09-17 14:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146957824001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134230063146074112,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997066181401188352,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789636575000,"timestamp_ms":1789636575000,"timestamp_seconds":1789636575,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea6ff18"} 
[2026-09-17 14:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2930114864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2785607681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":3,"raw_value":1898267281599112704,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1791295694,"corrected_to":0} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3783065600,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57819764580308777,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.WARNING: Large IO value detected {"io_id":165,"raw_value":-195905288910782458,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,87,24,241,157,16,225,160,91,45,9,35,10,66,79,36,1,240,187,227,174,3,4,113,205,5,219,112,37,239,52,2,220,6,29,165],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1791295694,"validated":0}]} 
[2026-09-17 14:47:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648523989928378368,"timestamp_seconds":648523989928378.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146957824001,"66":13189,"197":206,"87":10496,"24":0,"16":134230063146074112,"45":8997066181401188352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146957824001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:47:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134230063146074112,"km_value":134230063146074.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997066181401188352,"description":"Unknown IO ID 45"} 
[2026-09-17 14:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146957824001,"power":13189,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8997066181401188352}} 
[2026-09-17 14:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":185243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:47:02] local.INFO: GPS data processed {"connection_id":185243,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:47:02] local.INFO: Acknowledgment sent {"connection_id":185243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:47:17] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:47:17] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:47:17] local.INFO: IMEI packet received {"connection_id":185378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":185378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:47:21] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:47:21] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:47:21] local.INFO: IMEI packet received {"connection_id":185378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":185378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:47:23] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:47:23] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:47:23] local.INFO: IMEI packet received {"connection_id":185378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":185378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:47:24] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea6eb90012d350d8006aa6398000b004126..."} 
[2026-09-17 14:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea6eb90012d350d8006aa6398000b004126..."} 
[2026-09-17 14:47:24] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea6eb90012d350d8006aa6398000b004126..."} 
[2026-09-17 14:47:24] local.INFO: Packet analysis {"connection_id":185378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:47:24] local.INFO: Extracted packet for processing {"connection_id":185378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea6"} 
[2026-09-17 14:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758451584,"raw_latitude":111829912,"longitude_deg":75.8451584,"latitude_deg":11.1829912,"altitude":11,"angle":65,"satellites":38,"speed":7,"hex_longitude":"2d350d80","hex_latitude":"06aa6398","is_valid_coordinates":true} 
[2026-09-17 14:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146961152001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405167255991615488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822148737382414336,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789636570000,"timestamp_ms":1789636570000,"timestamp_seconds":1789636570,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea6eb90"} 
[2026-09-17 14:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 14:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:47:24] 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-09-17 14:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146961152001,"66":27865,"97":206,"81":23296,"24":7,"16":405167255991615488,"45":3822148737382414336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146961152001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405167255991615488,"km_value":405167255991615.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822148737382414336,"description":"Unknown IO ID 45"} 
[2026-09-17 14:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146961152001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3822148737382414336}} 
[2026-09-17 14:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":185378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:47:24] local.INFO: GPS data processed {"connection_id":185378,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:47:24] local.INFO: Acknowledgment sent {"connection_id":185378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:47:25] local.INFO: TCP Data received {"connection_id":188008,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:47:25] local.INFO: Processing buffer {"connection_id":188008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:47:25] local.INFO: IMEI packet received {"connection_id":188008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":188008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:47:25] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea73d98012d35104006aa64f8000e004127..."} 
[2026-09-17 14:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea73d98012d35104006aa64f8000e004127..."} 
[2026-09-17 14:47:25] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea73d98012d35104006aa64f8000e004127..."} 
[2026-09-17 14:47:25] local.INFO: Packet analysis {"connection_id":185378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:47:25] local.INFO: Extracted packet for processing {"connection_id":185378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:47:25] local.INFO: GPS Element Parsed {"raw_longitude":758452288,"raw_latitude":111830264,"longitude_deg":75.8452288,"latitude_deg":11.1830264,"altitude":14,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2d351040","hex_latitude":"06aa64f8","is_valid_coordinates":true} 
[2026-09-17 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146961920001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405167290351353856,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822852424824231936,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789636591000,"timestamp_ms":1789636591000,"timestamp_seconds":1789636591,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea73d98"} 
[2026-09-17 14:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-17 14:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:47:25] 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-09-17 14:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146961920001,"66":27995,"97":206,"81":23296,"24":0,"16":405167290351353856,"45":3822852424824231936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146961920001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:47:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:47:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405167290351353856,"km_value":405167290351353.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822852424824231936,"description":"Unknown IO ID 45"} 
[2026-09-17 14:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146961920001,"power":27995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3822852424824231936}} 
[2026-09-17 14:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":185378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:47:25] local.INFO: GPS data processed {"connection_id":185378,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:47:25] local.INFO: Acknowledgment sent {"connection_id":185378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:47:30] local.INFO: TCP Data received {"connection_id":188008,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:47:30] local.INFO: Processing buffer {"connection_id":188008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:47:30] local.INFO: IMEI packet received {"connection_id":188008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":188008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:47:31] local.INFO: TCP Data received {"connection_id":188008,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea70300012d7cdbc0060319500009011222..."} 
[2026-09-17 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea70300012d7cdbc0060319500009011222..."} 
[2026-09-17 14:47:31] local.INFO: Processing buffer {"connection_id":188008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea70300012d7cdbc0060319500009011222..."} 
[2026-09-17 14:47:31] local.INFO: Packet analysis {"connection_id":188008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:47:31] local.INFO: Extracted packet for processing {"connection_id":188008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763157440,"raw_latitude":100866384,"longitude_deg":76.315744,"latitude_deg":10.0866384,"altitude":9,"angle":274,"satellites":34,"speed":2,"hex_longitude":"2d7cdbc0","hex_latitude":"06031950","is_valid_coordinates":true} 
[2026-09-17 14:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146963200001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134230067441041408,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997066181401188352,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789636576000,"timestamp_ms":1789636576000,"timestamp_seconds":1789636576,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea70300"} 
[2026-09-17 14:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 14:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146963200001,"66":13222,"197":206,"87":10496,"24":2,"16":134230067441041408,"45":8997066181401188352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146963200001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:47:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:47:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134230067441041408,"km_value":134230067441041.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997066181401188352,"description":"Unknown IO ID 45"} 
[2026-09-17 14:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146963200001,"power":13222,"unknown_197":206,"unknown_87":10496,"ignition":2,"odometer":null,"unknown_45":8997066181401188352}} 
[2026-09-17 14:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":188008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:47:31] local.INFO: GPS data processed {"connection_id":188008,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:47:31] local.INFO: Acknowledgment sent {"connection_id":188008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:47:40] local.INFO: TCP Data received {"connection_id":185379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:47:40] local.INFO: Processing buffer {"connection_id":185379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:47:40] local.INFO: IMEI packet received {"connection_id":185379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":185379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:47:41] local.INFO: TCP Data received {"connection_id":185379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:47:41] local.INFO: Processing buffer {"connection_id":185379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:47:41] local.INFO: IMEI packet received {"connection_id":185379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":185379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:47:57] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea75cd8012d3514c006aa6570000f006727..."} 
[2026-09-17 14:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea75cd8012d3514c006aa6570000f006727..."} 
[2026-09-17 14:47:57] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea75cd8012d3514c006aa6570000f006727..."} 
[2026-09-17 14:47:57] local.INFO: Packet analysis {"connection_id":185378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:47:57] local.INFO: Extracted packet for processing {"connection_id":185378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:47:57] local.INFO: GPS Element Parsed {"raw_longitude":758453440,"raw_latitude":111830384,"longitude_deg":75.845344,"latitude_deg":11.1830384,"altitude":15,"angle":103,"satellites":39,"speed":6,"hex_longitude":"2d3514c0","hex_latitude":"06aa6570","is_valid_coordinates":true} 
[2026-09-17 14:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146967296001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405167350480896000,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823626481010276352,"note":"Value kept but may cause issues"} 
[2026-09-17 14:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789636599000,"timestamp_ms":1789636599000,"timestamp_seconds":1789636599,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea75cd8"} 
[2026-09-17 14:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-17 14:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:47:57] 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-09-17 14:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146967296001,"66":27745,"97":206,"81":23296,"24":6,"16":405167350480896000,"45":3823626481010276352},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146967296001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:47:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:47:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405167350480896000,"km_value":405167350480896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823626481010276352,"description":"Unknown IO ID 45"} 
[2026-09-17 14:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146967296001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3823626481010276352}} 
[2026-09-17 14:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":185378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:47:57] local.INFO: GPS data processed {"connection_id":185378,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:47:57] local.INFO: Acknowledgment sent {"connection_id":185378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:48:01] local.INFO: TCP Data received {"connection_id":188010,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:48:01] local.INFO: Processing buffer {"connection_id":188010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:48:01] local.INFO: IMEI packet received {"connection_id":188010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":188010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:48:01] local.INFO: TCP Data received {"connection_id":188010,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:48:01] local.INFO: Processing buffer {"connection_id":188010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:48:01] local.INFO: IMEI packet received {"connection_id":188010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":188010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:48:03] local.INFO: TCP Data received {"connection_id":188008,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea70ad0012d7cdb00060319800009012222..."} 
[2026-09-17 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea70ad0012d7cdb00060319800009012222..."} 
[2026-09-17 14:48:03] local.INFO: Processing buffer {"connection_id":188008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea70ad0012d7cdb00060319800009012222..."} 
[2026-09-17 14:48:03] local.INFO: Packet analysis {"connection_id":188008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:48:03] local.INFO: Extracted packet for processing {"connection_id":188008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763157248,"raw_latitude":100866432,"longitude_deg":76.3157248,"latitude_deg":10.0866432,"altitude":9,"angle":290,"satellites":34,"speed":3,"hex_longitude":"2d7cdb00","hex_latitude":"06031980","is_valid_coordinates":true} 
[2026-09-17 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146963456001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134230076030976000,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996995812657025024,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789636578000,"timestamp_ms":1789636578000,"timestamp_seconds":1789636578,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea70ad0"} 
[2026-09-17 14:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 14:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146963456001,"66":13243,"197":206,"87":10496,"24":3,"16":134230076030976000,"45":8996995812657025024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146963456001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:48:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134230076030976000,"km_value":134230076030976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996995812657025024,"description":"Unknown IO ID 45"} 
[2026-09-17 14:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146963456001,"power":13243,"unknown_197":206,"unknown_87":10496,"ignition":3,"odometer":null,"unknown_45":8996995812657025024}} 
[2026-09-17 14:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":188008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:48:03] local.INFO: GPS data processed {"connection_id":188008,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:48:03] local.INFO: Acknowledgment sent {"connection_id":188008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:48:17] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:48:17] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:48:17] local.INFO: IMEI packet received {"connection_id":186693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":186693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:48:19] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:48:19] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:48:19] local.INFO: IMEI packet received {"connection_id":186693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":186693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:48:20] local.INFO: TCP Data received {"connection_id":185380,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:20] local.INFO: Processing buffer {"connection_id":185380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:20] local.INFO: IMEI packet received {"connection_id":185380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":185380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:48:21] local.INFO: TCP Data received {"connection_id":185380,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:21] local.INFO: Processing buffer {"connection_id":185380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:21] local.INFO: IMEI packet received {"connection_id":185380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":185380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:48:22] local.INFO: TCP Data received {"connection_id":185380,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:22] local.INFO: Processing buffer {"connection_id":185380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:22] local.INFO: IMEI packet received {"connection_id":185380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":185380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:48:23] local.INFO: TCP Data received {"connection_id":185380,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:23] local.INFO: Processing buffer {"connection_id":185380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:48:23] local.INFO: IMEI packet received {"connection_id":185380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":185380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:48:25] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea77448012d351bc006aa62a8000f007227..."} 
[2026-09-17 14:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea77448012d351bc006aa62a8000f007227..."} 
[2026-09-17 14:48:25] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea77448012d351bc006aa62a8000f007227..."} 
[2026-09-17 14:48:25] local.INFO: Packet analysis {"connection_id":186693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:48:25] local.INFO: Extracted packet for processing {"connection_id":186693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758455232,"raw_latitude":111829672,"longitude_deg":75.8455232,"latitude_deg":11.1829672,"altitude":15,"angle":114,"satellites":39,"speed":18,"hex_longitude":"2d351bc0","hex_latitude":"06aa62a8","is_valid_coordinates":true} 
[2026-09-17 14:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146969344001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 14:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405167440675209216,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3824893118405505024,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 14:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789636605000,"timestamp_ms":1789636605000,"timestamp_seconds":1789636605,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea77448"} 
[2026-09-17 14:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 14:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:48:25] 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-09-17 14:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146969344001,"66":27919,"200":0,"81":23296,"24":18,"16":405167440675209216,"45":3824893118405505024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 14:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146969344001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405167440675209216,"km_value":405167440675209.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3824893118405505024,"description":"Unknown IO ID 45"} 
[2026-09-17 14:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146969344001,"power":27919,"gsm_signal":0,"unknown_81":23296,"ignition":18,"odometer":null,"unknown_45":3824893118405505024}} 
[2026-09-17 14:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":186693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:48:25] local.INFO: GPS data processed {"connection_id":186693,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:48:25] local.INFO: Acknowledgment sent {"connection_id":186693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:48:26] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea7aaf8012d353d8006aa53b0000f007227..."} 
[2026-09-17 14:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea7aaf8012d353d8006aa53b0000f007227..."} 
[2026-09-17 14:48:26] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea7aaf8012d353d8006aa53b0000f007227..."} 
[2026-09-17 14:48:26] local.INFO: Packet analysis {"connection_id":186693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:48:26] local.INFO: Extracted packet for processing {"connection_id":186693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:48:26] local.INFO: GPS Element Parsed {"raw_longitude":758463872,"raw_latitude":111825840,"longitude_deg":75.8463872,"latitude_deg":11.182584,"altitude":15,"angle":114,"satellites":39,"speed":32,"hex_longitude":"2d353d80","hex_latitude":"06aa53b0","is_valid_coordinates":true} 
[2026-09-17 14:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146970880001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 14:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405167891646775296,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3826863443242297344,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 14:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789636619000,"timestamp_ms":1789636619000,"timestamp_seconds":1789636619,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea7aaf8"} 
[2026-09-17 14:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 14:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:48:26] 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-09-17 14:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146970880001,"66":27800,"200":0,"81":23296,"24":32,"16":405167891646775296,"45":3826863443242297344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 14:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146970880001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:48:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405167891646775296,"km_value":405167891646775.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3826863443242297344,"description":"Unknown IO ID 45"} 
[2026-09-17 14:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146970880001,"power":27800,"gsm_signal":0,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":3826863443242297344}} 
[2026-09-17 14:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":186693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:48:26] local.INFO: GPS data processed {"connection_id":186693,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:48:26] local.INFO: Acknowledgment sent {"connection_id":186693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:48:58] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea7d208012d3561c006aa4448000e007127..."} 
[2026-09-17 14:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea7d208012d3561c006aa4448000e007127..."} 
[2026-09-17 14:48:58] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea7d208012d3561c006aa4448000e007127..."} 
[2026-09-17 14:48:58] local.INFO: Packet analysis {"connection_id":186693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:48:58] local.INFO: Extracted packet for processing {"connection_id":186693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea7"} 
[2026-09-17 14:48:58] local.INFO: GPS Element Parsed {"raw_longitude":758473152,"raw_latitude":111821896,"longitude_deg":75.8473152,"latitude_deg":11.1821896,"altitude":14,"angle":113,"satellites":39,"speed":42,"hex_longitude":"2d3561c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-17 14:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405168372683112448,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3836363223705300992,"note":"Value kept but may cause issues"} 
[2026-09-17 14:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789636629000,"timestamp_ms":1789636629000,"timestamp_seconds":1789636629,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea7d208"} 
[2026-09-17 14:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-17 14:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:48:58] 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-09-17 14:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146974464001,"66":27908,"142":206,"81":23296,"24":42,"16":405168372683112448,"45":3836363223705300992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-17 14:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:48:58] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-17 14:48:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405168372683112448,"km_value":405168372683112.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3836363223705300992,"description":"Unknown IO ID 45"} 
[2026-09-17 14:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146974464001,"power":27908,"unknown_142":206,"unknown_81":23296,"ignition":42,"odometer":null,"unknown_45":3836363223705300992}} 
[2026-09-17 14:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":186693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:48:58] local.INFO: GPS data processed {"connection_id":186693,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:48:58] local.INFO: Acknowledgment sent {"connection_id":186693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:49:15] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:15] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:15] local.INFO: IMEI packet received {"connection_id":185245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":185245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:49:15] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:15] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:15] local.INFO: IMEI packet received {"connection_id":185245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":185245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:49:16] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:16] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:16] local.INFO: IMEI packet received {"connection_id":185245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":185245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:49:20] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:20] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:49:20] local.INFO: IMEI packet received {"connection_id":185245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":185245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:49:21] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea906a0012d365c8006a9e020000a00b127..."} 
[2026-09-17 14:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea906a0012d365c8006a9e020000a00b127..."} 
[2026-09-17 14:49:21] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea906a0012d365c8006a9e020000a00b127..."} 
[2026-09-17 14:49:21] local.INFO: Packet analysis {"connection_id":185245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea9"} 
[2026-09-17 14:49:21] local.INFO: Extracted packet for processing {"connection_id":185245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea9"} 
[2026-09-17 14:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758537344,"raw_latitude":111796256,"longitude_deg":75.8537344,"latitude_deg":11.1796256,"altitude":10,"angle":177,"satellites":39,"speed":7,"hex_longitude":"2d365c80","hex_latitude":"06a9e020","is_valid_coordinates":true} 
[2026-09-17 14:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146996992001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405171684102897664,"note":"Value kept but may cause issues"} 
[2026-09-17 14:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3917146542013726720,"note":"Value kept but may cause issues"} 
[2026-09-17 14:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789636708000,"timestamp_ms":1789636708000,"timestamp_seconds":1789636708,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea906a0"} 
[2026-09-17 14:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 14:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:49:21] 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-09-17 14:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146996992001,"66":27800,"141":206,"81":23296,"24":7,"16":405171684102897664,"45":3917146542013726720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-17 14:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146996992001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:49:21] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-17 14:49:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405171684102897664,"km_value":405171684102897.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3917146542013726720,"description":"Unknown IO ID 45"} 
[2026-09-17 14:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146996992001,"power":27800,"unknown_141":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3917146542013726720}} 
[2026-09-17 14:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":185245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:49:21] local.INFO: GPS data processed {"connection_id":185245,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:49:21] local.INFO: Acknowledgment sent {"connection_id":185245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:49:52] local.INFO: TCP Data received {"connection_id":185245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea90a88012d365c8006a9df60000a00c027..."} 
[2026-09-17 14:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea90a88012d365c8006a9df60000a00c027..."} 
[2026-09-17 14:49:52] local.INFO: Processing buffer {"connection_id":185245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea90a88012d365c8006a9df60000a00c027..."} 
[2026-09-17 14:49:52] local.INFO: Packet analysis {"connection_id":185245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea9"} 
[2026-09-17 14:49:52] local.INFO: Extracted packet for processing {"connection_id":185245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea9"} 
[2026-09-17 14:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758537344,"raw_latitude":111796064,"longitude_deg":75.8537344,"latitude_deg":11.1796064,"altitude":10,"angle":192,"satellites":39,"speed":7,"hex_longitude":"2d365c80","hex_latitude":"06a9df60","is_valid_coordinates":true} 
[2026-09-17 14:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458146997248001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405171692692832256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3917146542013685760,"note":"Value kept but may cause issues"} 
[2026-09-17 14:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789636709000,"timestamp_ms":1789636709000,"timestamp_seconds":1789636709,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea90a88"} 
[2026-09-17 14:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-17 14:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:49:52] 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-09-17 14:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458146997248001,"66":27800,"141":206,"81":23296,"24":7,"16":405171692692832256,"45":3917146542013685760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-17 14:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458146997248001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:49:52] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-17 14:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405171692692832256,"km_value":405171692692832.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3917146542013685760,"description":"Unknown IO ID 45"} 
[2026-09-17 14:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458146997248001,"power":27800,"unknown_141":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3917146542013685760}} 
[2026-09-17 14:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":185245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:49:52] local.INFO: GPS data processed {"connection_id":185245,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:49:52] local.INFO: Acknowledgment sent {"connection_id":185245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:50:15] local.INFO: TCP Data received {"connection_id":188012,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:50:15] local.INFO: Processing buffer {"connection_id":188012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:50:15] local.INFO: IMEI packet received {"connection_id":188012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":188012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:50:19] local.INFO: TCP Data received {"connection_id":188012,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:50:19] local.INFO: Processing buffer {"connection_id":188012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:50:19] local.INFO: IMEI packet received {"connection_id":188012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":188012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:50:20] local.INFO: TCP Data received {"connection_id":188012,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aea9d990012d3629c006a9efe8000d012126..."} 
[2026-09-17 14:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aea9d990012d3629c006a9efe8000d012126..."} 
[2026-09-17 14:50:20] local.INFO: Processing buffer {"connection_id":188012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aea9d990012d3629c006a9efe8000d012126..."} 
[2026-09-17 14:50:20] local.INFO: Packet analysis {"connection_id":188012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aea9"} 
[2026-09-17 14:50:20] local.INFO: Extracted packet for processing {"connection_id":188012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aea9"} 
[2026-09-17 14:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758524352,"raw_latitude":111800296,"longitude_deg":75.8524352,"latitude_deg":11.1800296,"altitude":13,"angle":289,"satellites":38,"speed":34,"hex_longitude":"2d3629c0","hex_latitude":"06a9efe8","is_valid_coordinates":true} 
[2026-09-17 14:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147007232001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405172409952370688,"note":"Value kept but may cause issues"} 
[2026-09-17 14:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3912994786107455488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789636762000,"timestamp_ms":1789636762000,"timestamp_seconds":1789636762,"priority":1,"record_length":96,"hex_timestamp":"000001a0aea9d990"} 
[2026-09-17 14:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-17 14:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:50:20] 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-09-17 14:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147007232001,"66":27908,"96":206,"81":23296,"24":34,"16":405172409952370688,"45":3912994786107455488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-17 14:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147007232001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:50:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 14:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405172409952370688,"km_value":405172409952370.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3912994786107455488,"description":"Unknown IO ID 45"} 
[2026-09-17 14:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147007232001,"power":27908,"unknown_96":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3912994786107455488}} 
[2026-09-17 14:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":188012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:50:20] local.INFO: GPS data processed {"connection_id":188012,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:50:20] local.INFO: Acknowledgment sent {"connection_id":188012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:50:53] local.INFO: TCP Data received {"connection_id":188012,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaa00a0012d36088006a9fdd0000f012526..."} 
[2026-09-17 14:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaa00a0012d36088006a9fdd0000f012526..."} 
[2026-09-17 14:50:53] local.INFO: Processing buffer {"connection_id":188012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaa00a0012d36088006a9fdd0000f012526..."} 
[2026-09-17 14:50:53] local.INFO: Packet analysis {"connection_id":188012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeaa"} 
[2026-09-17 14:50:53] local.INFO: Extracted packet for processing {"connection_id":188012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeaa"} 
[2026-09-17 14:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758515840,"raw_latitude":111803856,"longitude_deg":75.851584,"latitude_deg":11.1803856,"altitude":15,"angle":293,"satellites":38,"speed":40,"hex_longitude":"2d360880","hex_latitude":"06a9fdd0","is_valid_coordinates":true} 
[2026-09-17 14:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147011072001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405172852334002176,"note":"Value kept but may cause issues"} 
[2026-09-17 14:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3902861686946654208,"note":"Value kept but may cause issues"} 
[2026-09-17 14:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636772000,"timestamp_ms":1789636772000,"timestamp_seconds":1789636772,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaa00a0"} 
[2026-09-17 14:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 14:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:50:53] 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-09-17 14:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147011072001,"66":27821,"96":206,"81":23296,"24":40,"16":405172852334002176,"45":3902861686946654208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-17 14:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147011072001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:50:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 14:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405172852334002176,"km_value":405172852334002.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3902861686946654208,"description":"Unknown IO ID 45"} 
[2026-09-17 14:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147011072001,"power":27821,"unknown_96":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3902861686946654208}} 
[2026-09-17 14:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":188012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:50:53] local.INFO: GPS data processed {"connection_id":188012,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:50:53] local.INFO: Acknowledgment sent {"connection_id":188012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:51:15] local.INFO: TCP Data received {"connection_id":185248,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:51:15] local.INFO: Processing buffer {"connection_id":185248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:51:15] local.INFO: IMEI packet received {"connection_id":185248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":185248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:51:16] local.INFO: TCP Data received {"connection_id":185248,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:51:16] local.INFO: Processing buffer {"connection_id":185248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:51:16] local.INFO: IMEI packet received {"connection_id":185248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":185248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:51:20] local.INFO: TCP Data received {"connection_id":185248,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:51:20] local.INFO: Processing buffer {"connection_id":185248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:51:20] local.INFO: IMEI packet received {"connection_id":185248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":185248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:51:21] local.INFO: TCP Data received {"connection_id":185248,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaa23c8012d35e60006aa0bb80011012525..."} 
[2026-09-17 14:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaa23c8012d35e60006aa0bb80011012525..."} 
[2026-09-17 14:51:21] local.INFO: Processing buffer {"connection_id":185248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaa23c8012d35e60006aa0bb80011012525..."} 
[2026-09-17 14:51:21] local.INFO: Packet analysis {"connection_id":185248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeaa"} 
[2026-09-17 14:51:21] local.INFO: Extracted packet for processing {"connection_id":185248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeaa"} 
[2026-09-17 14:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758507008,"raw_latitude":111807416,"longitude_deg":75.8507008,"latitude_deg":11.1807416,"altitude":17,"angle":293,"satellites":37,"speed":39,"hex_longitude":"2d35e600","hex_latitude":"06aa0bb8","is_valid_coordinates":true} 
[2026-09-17 14:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147013632001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405173303305568256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3893502643971936256,"note":"Value kept but may cause issues"} 
[2026-09-17 14:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789636781000,"timestamp_ms":1789636781000,"timestamp_seconds":1789636781,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaa23c8"} 
[2026-09-17 14:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 14:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:51:21] 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-09-17 14:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147013632001,"66":27789,"96":206,"81":23296,"24":39,"16":405173303305568256,"45":3893502643971936256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-17 14:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147013632001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:51:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 14:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405173303305568256,"km_value":405173303305568.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3893502643971936256,"description":"Unknown IO ID 45"} 
[2026-09-17 14:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147013632001,"power":27789,"unknown_96":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":3893502643971936256}} 
[2026-09-17 14:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":185248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:51:21] local.INFO: GPS data processed {"connection_id":185248,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:51:21] local.INFO: Acknowledgment sent {"connection_id":185248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:51:53] local.INFO: TCP Data received {"connection_id":185248,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaa46f0012d35c54006aa1918000f012425..."} 
[2026-09-17 14:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaa46f0012d35c54006aa1918000f012425..."} 
[2026-09-17 14:51:53] local.INFO: Processing buffer {"connection_id":185248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaa46f0012d35c54006aa1918000f012425..."} 
[2026-09-17 14:51:53] local.INFO: Packet analysis {"connection_id":185248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeaa"} 
[2026-09-17 14:51:53] local.INFO: Extracted packet for processing {"connection_id":185248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeaa"} 
[2026-09-17 14:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758498624,"raw_latitude":111810840,"longitude_deg":75.8498624,"latitude_deg":11.181084,"altitude":15,"angle":292,"satellites":37,"speed":41,"hex_longitude":"2d35c540","hex_latitude":"06aa1918","is_valid_coordinates":true} 
[2026-09-17 14:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147015936001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405173737097265152,"note":"Value kept but may cause issues"} 
[2026-09-17 14:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3883791757276329984,"note":"Value kept but may cause issues"} 
[2026-09-17 14:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636790000,"timestamp_ms":1789636790000,"timestamp_seconds":1789636790,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaa46f0"} 
[2026-09-17 14:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-17 14:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:51:53] 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-09-17 14:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147015936001,"66":27843,"96":206,"81":23296,"24":41,"16":405173737097265152,"45":3883791757276329984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-17 14:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147015936001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:51:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 14:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405173737097265152,"km_value":405173737097265.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3883791757276329984,"description":"Unknown IO ID 45"} 
[2026-09-17 14:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147015936001,"power":27843,"unknown_96":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3883791757276329984}} 
[2026-09-17 14:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":185248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:51:53] local.INFO: GPS data processed {"connection_id":185248,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:51:53] local.INFO: Acknowledgment sent {"connection_id":185248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:52:15] local.INFO: TCP Data received {"connection_id":188014,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:52:15] local.INFO: Processing buffer {"connection_id":188014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:52:15] local.INFO: IMEI packet received {"connection_id":188014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":188014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:52:15] local.INFO: TCP Data received {"connection_id":188013,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:52:15] local.INFO: Processing buffer {"connection_id":188013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:52:15] local.INFO: IMEI packet received {"connection_id":188013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":188013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:52:20] local.INFO: TCP Data received {"connection_id":188014,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:52:20] local.INFO: Processing buffer {"connection_id":188014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:52:20] local.INFO: IMEI packet received {"connection_id":188014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":188014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:52:22] local.INFO: TCP Data received {"connection_id":188014,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabd560012d34c60006aa5518000a00e726..."} 
[2026-09-17 14:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabd560012d34c60006aa5518000a00e726..."} 
[2026-09-17 14:52:22] local.INFO: Processing buffer {"connection_id":188014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabd560012d34c60006aa5518000a00e726..."} 
[2026-09-17 14:52:22] local.INFO: Packet analysis {"connection_id":188014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:52:22] local.INFO: Extracted packet for processing {"connection_id":188014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111826200,"longitude_deg":75.843328,"latitude_deg":11.18262,"altitude":10,"angle":231,"satellites":38,"speed":13,"hex_longitude":"2d34c600","hex_latitude":"06aa5518","is_valid_coordinates":true} 
[2026-09-17 14:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3812226744452974592,"note":"Value kept but may cause issues"} 
[2026-09-17 14:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789636892000,"timestamp_ms":1789636892000,"timestamp_seconds":1789636892,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabd560"} 
[2026-09-17 14:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 14:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:52:22] 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-09-17 14:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147040768001,"66":27908,"97":206,"81":23296,"24":13,"16":405177065696919552,"45":3812226744452974592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:52:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3812226744452974592,"description":"Unknown IO ID 45"} 
[2026-09-17 14:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147040768001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3812226744452974592}} 
[2026-09-17 14:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":188014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:52:22] local.INFO: GPS data processed {"connection_id":188014,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:52:22] local.INFO: Acknowledgment sent {"connection_id":188014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:52:50] local.INFO: TCP Data received {"connection_id":186699,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:52:50] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:52:50] local.INFO: IMEI packet received {"connection_id":186699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":186699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:52:55] local.INFO: TCP Data received {"connection_id":188014,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabd560012d34c60006aa5518000a00e726..."} 
[2026-09-17 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabd560012d34c60006aa5518000a00e726..."} 
[2026-09-17 14:52:55] local.INFO: Processing buffer {"connection_id":188014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabd560012d34c60006aa5518000a00e726..."} 
[2026-09-17 14:52:55] local.INFO: Packet analysis {"connection_id":188014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:52:55] local.INFO: Extracted packet for processing {"connection_id":188014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111826200,"longitude_deg":75.843328,"latitude_deg":11.18262,"altitude":10,"angle":231,"satellites":38,"speed":13,"hex_longitude":"2d34c600","hex_latitude":"06aa5518","is_valid_coordinates":true} 
[2026-09-17 14:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147044352001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963988469760,"note":"Value kept but may cause issues"} 
[2026-09-17 14:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789636892000,"timestamp_ms":1789636892000,"timestamp_seconds":1789636892,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabd560"} 
[2026-09-17 14:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 14:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:52:55] 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-09-17 14:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147044352001,"66":27908,"97":206,"81":23296,"24":13,"16":405177065696919552,"45":3802726963988469760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147044352001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:52:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:52:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963988469760,"description":"Unknown IO ID 45"} 
[2026-09-17 14:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147044352001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3802726963988469760}} 
[2026-09-17 14:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":188014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:52:55] local.INFO: GPS data processed {"connection_id":188014,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:52:55] local.INFO: Acknowledgment sent {"connection_id":188014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:53:05] local.INFO: TCP Data received {"connection_id":185250,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185250,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:53:05] local.INFO: Processing buffer {"connection_id":185250,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:53:05] local.INFO: IMEI packet received {"connection_id":185250,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":185250,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:53:06] local.INFO: TCP Data received {"connection_id":185250,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185250,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:53:06] local.INFO: Processing buffer {"connection_id":185250,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:53:06] local.INFO: IMEI packet received {"connection_id":185250,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":185250,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:53:07] local.INFO: TCP Data received {"connection_id":185250,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeac1f98012d0369400701e1100009004c29..."} 
[2026-09-17 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeac1f98012d0369400701e1100009004c29..."} 
[2026-09-17 14:53:07] local.INFO: Processing buffer {"connection_id":185250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeac1f98012d0369400701e1100009004c29..."} 
[2026-09-17 14:53:07] local.INFO: Packet analysis {"connection_id":185250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeac"} 
[2026-09-17 14:53:07] local.INFO: Extracted packet for processing {"connection_id":185250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeac"} 
[2026-09-17 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":755198272,"raw_latitude":117563664,"longitude_deg":75.5198272,"latitude_deg":11.7563664,"altitude":9,"angle":76,"satellites":41,"speed":24,"hex_longitude":"2d036940","hex_latitude":"0701e110","is_valid_coordinates":true} 
[2026-09-17 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147047168001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32826211705028608,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":241716666346577920,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789636911000,"timestamp_ms":1789636911000,"timestamp_seconds":1789636911,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeac1f98"} 
[2026-09-17 14:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-17 14:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147047168001,"66":14450,"154":206,"94":10240,"24":24,"16":32826211705028608,"45":241716666346577920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,94,24,16,45]} 
[2026-09-17 14:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147047168001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:53:07] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-17 14:53:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32826211705028608,"km_value":32826211705028.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":241716666346577920,"description":"Unknown IO ID 45"} 
[2026-09-17 14:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147047168001,"power":14450,"unknown_154":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":241716666346577920}} 
[2026-09-17 14:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":185250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:53:07] local.INFO: GPS data processed {"connection_id":185250,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:53:07] local.INFO: Acknowledgment sent {"connection_id":185250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:53:15] local.INFO: TCP Data received {"connection_id":186700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:53:15] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:53:15] local.INFO: IMEI packet received {"connection_id":186700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":186700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:53:20] local.INFO: TCP Data received {"connection_id":186700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:53:20] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:53:20] local.INFO: IMEI packet received {"connection_id":186700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":186700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:53:21] local.INFO: TCP Data received {"connection_id":186700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabd948012d34c54006aa5420000a00d026..."} 
[2026-09-17 14:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabd948012d34c54006aa5420000a00d026..."} 
[2026-09-17 14:53:21] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabd948012d34c54006aa5420000a00d026..."} 
[2026-09-17 14:53:21] local.INFO: Packet analysis {"connection_id":186700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:53:21] local.INFO: Extracted packet for processing {"connection_id":186700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825952,"longitude_deg":75.8433088,"latitude_deg":11.1825952,"altitude":10,"angle":208,"satellites":38,"speed":11,"hex_longitude":"2d34c540","hex_latitude":"06aa5420","is_valid_coordinates":true} 
[2026-09-17 14:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147044352001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963988469760,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789636893000,"timestamp_ms":1789636893000,"timestamp_seconds":1789636893,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabd948"} 
[2026-09-17 14:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 14:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147044352001,"66":27908,"97":206,"81":23296,"24":11,"16":405177065696919552,"45":3802726963988469760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147044352001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:53:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963988469760,"description":"Unknown IO ID 45"} 
[2026-09-17 14:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147044352001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":11,"odometer":null,"unknown_45":3802726963988469760}} 
[2026-09-17 14:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":186700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:53:21] local.INFO: GPS data processed {"connection_id":186700,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:53:21] local.INFO: Acknowledgment sent {"connection_id":186700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:53:25] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:53:25] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:53:25] local.INFO: IMEI packet received {"connection_id":186701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":186701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:53:26] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aead09f8012d7b828006024ef8000e001027..."} 
[2026-09-17 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aead09f8012d7b828006024ef8000e001027..."} 
[2026-09-17 14:53:26] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aead09f8012d7b828006024ef8000e001027..."} 
[2026-09-17 14:53:26] local.INFO: Packet analysis {"connection_id":186701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:53:26] local.INFO: Extracted packet for processing {"connection_id":186701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100814584,"longitude_deg":76.3069056,"latitude_deg":10.0814584,"altitude":14,"angle":16,"satellites":39,"speed":9,"hex_longitude":"2d7b8280","hex_latitude":"06024ef8","is_valid_coordinates":true} 
[2026-09-17 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147064320001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134236428287606784,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899746208190175232,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789636971000,"timestamp_ms":1789636971000,"timestamp_seconds":1789636971,"priority":1,"record_length":96,"hex_timestamp":"000001a0aead09f8"} 
[2026-09-17 14:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 14:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147064320001,"66":13515,"172":206,"87":10496,"24":9,"16":134236428287606784,"45":8899746208190175232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-09-17 14:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147064320001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:53:26] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-17 14:53:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134236428287606784,"km_value":134236428287606.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899746208190175232,"description":"Unknown IO ID 45"} 
[2026-09-17 14:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147064320001,"power":13515,"unknown_172":206,"unknown_87":10496,"ignition":9,"odometer":null,"unknown_45":8899746208190175232}} 
[2026-09-17 14:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":186701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:53:26] local.INFO: GPS data processed {"connection_id":186701,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:53:26] local.INFO: Acknowledgment sent {"connection_id":186701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:53:38] local.INFO: TCP Data received {"connection_id":185250,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aead7370012d0483800701e600000a00542a..."} 
[2026-09-17 14:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aead7370012d0483800701e600000a00542a..."} 
[2026-09-17 14:53:38] local.INFO: Processing buffer {"connection_id":185250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aead7370012d0483800701e600000a00542a..."} 
[2026-09-17 14:53:38] local.INFO: Packet analysis {"connection_id":185250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:53:38] local.INFO: Extracted packet for processing {"connection_id":185250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:53:38] local.INFO: GPS Element Parsed {"raw_longitude":755270528,"raw_latitude":117564928,"longitude_deg":75.5270528,"latitude_deg":11.7564928,"altitude":10,"angle":84,"satellites":42,"speed":20,"hex_longitude":"2d048380","hex_latitude":"0701e600","is_valid_coordinates":true} 
[2026-09-17 14:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147068672001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32829720693309440,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":316870485127870464,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789636998000,"timestamp_ms":1789636998000,"timestamp_seconds":1789636998,"priority":1,"record_length":96,"hex_timestamp":"000001a0aead7370"} 
[2026-09-17 14:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147068672001,"66":14559,"206":206,"94":10240,"24":20,"16":32829720693309440,"45":316870485127870464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147068672001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:53:38] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:53:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32829720693309440,"km_value":32829720693309.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":316870485127870464,"description":"Unknown IO ID 45"} 
[2026-09-17 14:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147068672001,"power":14559,"unknown_206":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":316870485127870464}} 
[2026-09-17 14:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":185250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856078,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:53:39] local.INFO: GPS data processed {"connection_id":185250,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:53:39] local.INFO: Acknowledgment sent {"connection_id":185250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:53:53] local.INFO: TCP Data received {"connection_id":186700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabdd30012d34c50006aa5318000a00c225..."} 
[2026-09-17 14:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabdd30012d34c50006aa5318000a00c225..."} 
[2026-09-17 14:53:53] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabdd30012d34c50006aa5318000a00c225..."} 
[2026-09-17 14:53:53] local.INFO: Packet analysis {"connection_id":186700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:53:53] local.INFO: Extracted packet for processing {"connection_id":186700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825688,"longitude_deg":75.8433024,"latitude_deg":11.1825688,"altitude":10,"angle":194,"satellites":37,"speed":10,"hex_longitude":"2d34c500","hex_latitude":"06aa5318","is_valid_coordinates":true} 
[2026-09-17 14:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147044608001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755873280,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636894000,"timestamp_ms":1789636894000,"timestamp_seconds":1789636894,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabdd30"} 
[2026-09-17 14:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 14:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 14:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147044608001,"66":27267,"97":206,"81":23296,"24":10,"16":405177065696919552,"45":3802515857755873280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147044608001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755873280,"description":"Unknown IO ID 45"} 
[2026-09-17 14:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147044608001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802515857755873280}} 
[2026-09-17 14:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":186700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:53:53] local.INFO: GPS data processed {"connection_id":186700,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:53:53] local.INFO: Acknowledgment sent {"connection_id":186700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:53:56] local.INFO: TCP Data received {"connection_id":188015,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188015,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:53:56] local.INFO: Processing buffer {"connection_id":188015,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:53:56] local.INFO: IMEI packet received {"connection_id":188015,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":188015,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:53:57] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aead0de0012d7b830006024fb0000e002027..."} 
[2026-09-17 14:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aead0de0012d7b830006024fb0000e002027..."} 
[2026-09-17 14:53:57] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aead0de0012d7b830006024fb0000e002027..."} 
[2026-09-17 14:53:57] local.INFO: Packet analysis {"connection_id":186701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:53:57] local.INFO: Extracted packet for processing {"connection_id":186701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":100814768,"longitude_deg":76.3069184,"latitude_deg":10.0814768,"altitude":14,"angle":32,"satellites":39,"speed":6,"hex_longitude":"2d7b8300","hex_latitude":"06024fb0","is_valid_coordinates":true} 
[2026-09-17 14:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147064576001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134236436877541376,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576934410240,"note":"Value kept but may cause issues"} 
[2026-09-17 14:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789636972000,"timestamp_ms":1789636972000,"timestamp_seconds":1789636972,"priority":1,"record_length":96,"hex_timestamp":"000001a0aead0de0"} 
[2026-09-17 14:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 14:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147064576001,"66":13037,"172":206,"87":10496,"24":6,"16":134236436877541376,"45":8899816576934410240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-09-17 14:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147064576001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:53:57] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-17 14:53:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134236436877541376,"km_value":134236436877541.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576934410240,"description":"Unknown IO ID 45"} 
[2026-09-17 14:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147064576001,"power":13037,"unknown_172":206,"unknown_87":10496,"ignition":6,"odometer":null,"unknown_45":8899816576934410240}} 
[2026-09-17 14:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":186701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:53:57] local.INFO: GPS data processed {"connection_id":186701,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:53:57] local.INFO: Acknowledgment sent {"connection_id":186701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:54:03] local.INFO: TCP Data received {"connection_id":188015,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188015,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:54:03] local.INFO: Processing buffer {"connection_id":188015,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:54:03] local.INFO: IMEI packet received {"connection_id":188015,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":188015,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:54:03] local.INFO: TCP Data received {"connection_id":188015,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aead9a80012d04a6800701e7780008005f27..."} 
[2026-09-17 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aead9a80012d04a6800701e7780008005f27..."} 
[2026-09-17 14:54:03] local.INFO: Processing buffer {"connection_id":188015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aead9a80012d04a6800701e7780008005f27..."} 
[2026-09-17 14:54:03] local.INFO: Packet analysis {"connection_id":188015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:54:03] local.INFO: Extracted packet for processing {"connection_id":188015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":755279488,"raw_latitude":117565304,"longitude_deg":75.5279488,"latitude_deg":11.7565304,"altitude":8,"angle":95,"satellites":39,"speed":47,"hex_longitude":"2d04a680","hex_latitude":"0701e778","is_valid_coordinates":true} 
[2026-09-17 14:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147071488001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32830145895071744,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":325244365685784576,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789637008000,"timestamp_ms":1789637008000,"timestamp_seconds":1789637008,"priority":1,"record_length":96,"hex_timestamp":"000001a0aead9a80"} 
[2026-09-17 14:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147071488001,"66":14450,"206":206,"94":10240,"24":47,"16":32830145895071744,"45":325244365685784576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147071488001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:54:03] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:54:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32830145895071744,"km_value":32830145895071.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":325244365685784576,"description":"Unknown IO ID 45"} 
[2026-09-17 14:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147071488001,"power":14450,"unknown_206":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_45":325244365685784576}} 
[2026-09-17 14:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":188015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856081,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:54:04] local.INFO: GPS data processed {"connection_id":188015,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:54:04] local.INFO: Acknowledgment sent {"connection_id":188015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:54:19] local.INFO: TCP Data received {"connection_id":188016,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:54:19] local.INFO: Processing buffer {"connection_id":188016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:54:19] local.INFO: IMEI packet received {"connection_id":188016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":188016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:54:20] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:54:20] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:54:20] local.INFO: IMEI packet received {"connection_id":186702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":186702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:54:25] local.INFO: TCP Data received {"connection_id":188016,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:54:25] local.INFO: Processing buffer {"connection_id":188016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:54:25] local.INFO: IMEI packet received {"connection_id":188016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":188016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:54:25] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:54:25] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:54:25] local.INFO: IMEI packet received {"connection_id":186702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":186702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:54:26] local.INFO: TCP Data received {"connection_id":188016,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aead11c8012d7b834006025038000e003426..."} 
[2026-09-17 14:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aead11c8012d7b834006025038000e003426..."} 
[2026-09-17 14:54:26] local.INFO: Processing buffer {"connection_id":188016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aead11c8012d7b834006025038000e003426..."} 
[2026-09-17 14:54:26] local.INFO: Packet analysis {"connection_id":188016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:54:26] local.INFO: Extracted packet for processing {"connection_id":188016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aead"} 
[2026-09-17 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100814904,"longitude_deg":76.3069248,"latitude_deg":10.0814904,"altitude":14,"angle":52,"satellites":38,"speed":6,"hex_longitude":"2d7b8340","hex_latitude":"06025038","is_valid_coordinates":true} 
[2026-09-17 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147064832001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134236445467475968,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314422812672,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789636973000,"timestamp_ms":1789636973000,"timestamp_seconds":1789636973,"priority":1,"record_length":96,"hex_timestamp":"000001a0aead11c8"} 
[2026-09-17 14:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 14:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147064832001,"66":13037,"172":206,"87":10496,"24":6,"16":134236445467475968,"45":8899957314422812672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-09-17 14:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147064832001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:54:26] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-17 14:54:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134236445467475968,"km_value":134236445467475.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314422812672,"description":"Unknown IO ID 45"} 
[2026-09-17 14:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147064832001,"power":13037,"unknown_172":206,"unknown_87":10496,"ignition":6,"odometer":null,"unknown_45":8899957314422812672}} 
[2026-09-17 14:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":188016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:54:26] local.INFO: GPS data processed {"connection_id":188016,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:54:26] local.INFO: Acknowledgment sent {"connection_id":188016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:54:26] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:54:26] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:54:26] local.INFO: Packet analysis {"connection_id":186702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:54:26] local.INFO: Extracted packet for processing {"connection_id":186702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825416,"longitude_deg":75.8433024,"latitude_deg":11.1825416,"altitude":10,"angle":176,"satellites":38,"speed":10,"hex_longitude":"2d34c500","hex_latitude":"06aa5208","is_valid_coordinates":true} 
[2026-09-17 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147044864001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011628032,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789636895000,"timestamp_ms":1789636895000,"timestamp_seconds":1789636895,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabe118"} 
[2026-09-17 14:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:54:26] 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-09-17 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:54:26] 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-09-17 14:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147044864001,"66":27267,"97":206,"81":23296,"24":10,"16":405177065696919552,"45":3802445489011628032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147044864001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:54:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:54:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011628032,"description":"Unknown IO ID 45"} 
[2026-09-17 14:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147044864001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802445489011628032}} 
[2026-09-17 14:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":186702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:54:26] local.INFO: GPS data processed {"connection_id":186702,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:54:26] local.INFO: Acknowledgment sent {"connection_id":186702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:54:31] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:54:31] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:54:31] local.INFO: Packet analysis {"connection_id":186702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:54:31] local.INFO: Extracted packet for processing {"connection_id":186702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825416,"longitude_deg":75.8433024,"latitude_deg":11.1825416,"altitude":10,"angle":176,"satellites":38,"speed":10,"hex_longitude":"2d34c500","hex_latitude":"06aa5208","is_valid_coordinates":true} 
[2026-09-17 14:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147044864001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011628032,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789636895000,"timestamp_ms":1789636895000,"timestamp_seconds":1789636895,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabe118"} 
[2026-09-17 14:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:54:31] 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-09-17 14:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:54:31] 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-09-17 14:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147044864001,"66":27267,"97":206,"81":23296,"24":10,"16":405177065696919552,"45":3802445489011628032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147044864001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011628032,"description":"Unknown IO ID 45"} 
[2026-09-17 14:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147044864001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802445489011628032}} 
[2026-09-17 14:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":186702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:54:31] local.INFO: GPS data processed {"connection_id":186702,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:54:31] local.INFO: Acknowledgment sent {"connection_id":186702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:54:35] local.INFO: TCP Data received {"connection_id":188015,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeae7540012d05444007020d900009003828..."} 
[2026-09-17 14:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeae7540012d05444007020d900009003828..."} 
[2026-09-17 14:54:35] local.INFO: Processing buffer {"connection_id":188015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeae7540012d05444007020d900009003828..."} 
[2026-09-17 14:54:35] local.INFO: Packet analysis {"connection_id":188015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:54:35] local.INFO: Extracted packet for processing {"connection_id":188015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:54:35] local.INFO: GPS Element Parsed {"raw_longitude":755319872,"raw_latitude":117575056,"longitude_deg":75.5319872,"latitude_deg":11.7575056,"altitude":9,"angle":56,"satellites":40,"speed":21,"hex_longitude":"2d054440","hex_latitude":"07020d90","is_valid_coordinates":true} 
[2026-09-17 14:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147087104001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32832203184406528,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":376191336472733696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789637064000,"timestamp_ms":1789637064000,"timestamp_seconds":1789637064,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeae7540"} 
[2026-09-17 14:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 14:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147087104001,"66":14646,"206":206,"94":10240,"24":21,"16":32832203184406528,"45":376191336472733696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147087104001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:54:35] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:54:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32832203184406528,"km_value":32832203184406.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":376191336472733696,"description":"Unknown IO ID 45"} 
[2026-09-17 14:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147087104001,"power":14646,"unknown_206":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":376191336472733696}} 
[2026-09-17 14:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":188015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856085,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:54:35] local.INFO: GPS data processed {"connection_id":188015,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:54:35] local.INFO: Acknowledgment sent {"connection_id":188015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:54:57] local.INFO: TCP Data received {"connection_id":188016,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeae4e30012d7c5280060270d0001c003722..."} 
[2026-09-17 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeae4e30012d7c5280060270d0001c003722..."} 
[2026-09-17 14:54:57] local.INFO: Processing buffer {"connection_id":188016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeae4e30012d7c5280060270d0001c003722..."} 
[2026-09-17 14:54:57] local.INFO: Packet analysis {"connection_id":188016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:54:57] local.INFO: Extracted packet for processing {"connection_id":188016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763122304,"raw_latitude":100823248,"longitude_deg":76.3122304,"latitude_deg":10.0823248,"altitude":28,"angle":55,"satellites":34,"speed":34,"hex_longitude":"2d7c5280","hex_latitude":"060270d0","is_valid_coordinates":true} 
[2026-09-17 14:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147083520001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134239168476741632,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172836548608,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789637054000,"timestamp_ms":1789637054000,"timestamp_seconds":1789637054,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeae4e30"} 
[2026-09-17 14:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635687,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2930585864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2528936117512699904,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2914375681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470077356,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":934019278,"corrected_to":0} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3221619268,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376759,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3889037312,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-8809034264120655857,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916767447764567,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.WARNING: Large IO value detected {"io_id":41,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-09-17 14:54:57] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,172,87,24,241,157,16,233,160,11,45,64,77,25,39,10,66,232,228,62,20,37,213,192,1,240,181,227,174,2,4,113,205,26,119,170,8,239,52,220,6,15,17,123,53,41],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":205,"original":934019278,"validated":0}]} 
[2026-09-17 14:54:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2017679870777884672,"timestamp_seconds":2017679870777884.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147083520001,"66":13059,"172":206,"87":10496,"24":34,"16":134239168476741632,"45":8949356172836548608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-09-17 14:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147083520001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:54:57] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-17 14:54:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134239168476741632,"km_value":134239168476741.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172836548608,"description":"Unknown IO ID 45"} 
[2026-09-17 14:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147083520001,"power":13059,"unknown_172":206,"unknown_87":10496,"ignition":34,"odometer":null,"unknown_45":8949356172836548608}} 
[2026-09-17 14:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":188016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:54:57] local.INFO: GPS data processed {"connection_id":188016,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:54:57] local.INFO: Acknowledgment sent {"connection_id":188016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:54:58] local.INFO: TCP Data received {"connection_id":185251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:54:58] local.INFO: Processing buffer {"connection_id":185251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:54:58] local.INFO: IMEI packet received {"connection_id":185251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":185251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:55:01] local.INFO: TCP Data received {"connection_id":185251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:01] local.INFO: Processing buffer {"connection_id":185251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:01] local.INFO: IMEI packet received {"connection_id":185251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":185251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:55:02] local.INFO: TCP Data received {"connection_id":185251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:02] local.INFO: Processing buffer {"connection_id":185251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:02] local.INFO: IMEI packet received {"connection_id":185251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":185251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:55:07] local.INFO: TCP Data received {"connection_id":185251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:07] local.INFO: Processing buffer {"connection_id":185251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:07] local.INFO: IMEI packet received {"connection_id":185251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":185251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:55:07] local.INFO: TCP Data received {"connection_id":185251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeae7d10012d054740070210600008002728..."} 
[2026-09-17 14:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeae7d10012d054740070210600008002728..."} 
[2026-09-17 14:55:07] local.INFO: Processing buffer {"connection_id":185251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeae7d10012d054740070210600008002728..."} 
[2026-09-17 14:55:07] local.INFO: Packet analysis {"connection_id":185251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:07] local.INFO: Extracted packet for processing {"connection_id":185251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:07] local.INFO: GPS Element Parsed {"raw_longitude":755320640,"raw_latitude":117575776,"longitude_deg":75.532064,"latitude_deg":11.7575776,"altitude":8,"angle":39,"satellites":40,"speed":20,"hex_longitude":"2d054740","hex_latitude":"07021060","is_valid_coordinates":true} 
[2026-09-17 14:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147088384001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32832250429046784,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":379498667449356288,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789637066000,"timestamp_ms":1789637066000,"timestamp_seconds":1789637066,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeae7d10"} 
[2026-09-17 14:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-17 14:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147088384001,"66":14548,"206":206,"94":10240,"24":20,"16":32832250429046784,"45":379498667449356288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147088384001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:55:07] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:55:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32832250429046784,"km_value":32832250429046.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":379498667449356288,"description":"Unknown IO ID 45"} 
[2026-09-17 14:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147088384001,"power":14548,"unknown_206":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":379498667449356288}} 
[2026-09-17 14:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":185251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856087,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:55:07] local.INFO: GPS data processed {"connection_id":185251,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:55:07] local.INFO: Acknowledgment sent {"connection_id":185251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:55:08] local.INFO: TCP Data received {"connection_id":185251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeae9480012d054e00070217200008003329..."} 
[2026-09-17 14:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeae9480012d054e00070217200008003329..."} 
[2026-09-17 14:55:08] local.INFO: Processing buffer {"connection_id":185251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeae9480012d054e00070217200008003329..."} 
[2026-09-17 14:55:08] local.INFO: Packet analysis {"connection_id":185251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:08] local.INFO: Extracted packet for processing {"connection_id":185251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:08] local.INFO: GPS Element Parsed {"raw_longitude":755322368,"raw_latitude":117577504,"longitude_deg":75.5322368,"latitude_deg":11.7577504,"altitude":8,"angle":51,"satellites":41,"speed":15,"hex_longitude":"2d054e00","hex_latitude":"07021720","is_valid_coordinates":true} 
[2026-09-17 14: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-09-17 14:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147088896001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32832366393163776,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":380343092379672576,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789637072000,"timestamp_ms":1789637072000,"timestamp_seconds":1789637072,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeae9480"} 
[2026-09-17 14:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 14:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14: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-09-17 14:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147088896001,"66":14667,"206":206,"94":10240,"24":15,"16":32832366393163776,"45":380343092379672576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147088896001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:55:08] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:55:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32832366393163776,"km_value":32832366393163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":380343092379672576,"description":"Unknown IO ID 45"} 
[2026-09-17 14:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147088896001,"power":14667,"unknown_206":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":380343092379672576}} 
[2026-09-17 14:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":185251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:55:08] local.INFO: GPS data processed {"connection_id":185251,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:55:08] local.INFO: Acknowledgment sent {"connection_id":185251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:55:15] local.INFO: TCP Data received {"connection_id":185384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:55:15] local.INFO: Processing buffer {"connection_id":185384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:55:15] local.INFO: IMEI packet received {"connection_id":185384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":185384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:55:19] local.INFO: TCP Data received {"connection_id":185385,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:55:19] local.INFO: Processing buffer {"connection_id":185385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:55:19] local.INFO: IMEI packet received {"connection_id":185385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":185385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:55:20] local.INFO: TCP Data received {"connection_id":185384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:55:20] local.INFO: Processing buffer {"connection_id":185384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:55:20] local.INFO: IMEI packet received {"connection_id":185384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":185384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:55:22] local.INFO: TCP Data received {"connection_id":185384,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:55:22] local.INFO: Processing buffer {"connection_id":185384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:55:22] local.INFO: Packet analysis {"connection_id":185384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:55:22] local.INFO: Extracted packet for processing {"connection_id":185384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:55:22] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825416,"longitude_deg":75.8433024,"latitude_deg":11.1825416,"altitude":10,"angle":176,"satellites":38,"speed":10,"hex_longitude":"2d34c500","hex_latitude":"06aa5208","is_valid_coordinates":true} 
[2026-09-17 14:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147044864001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011628032,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789636895000,"timestamp_ms":1789636895000,"timestamp_seconds":1789636895,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabe118"} 
[2026-09-17 14:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:55:22] 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-09-17 14:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:55: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-09-17 14:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147044864001,"66":27267,"97":206,"81":23296,"24":10,"16":405177065696919552,"45":3802445489011628032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147044864001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:55:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:55:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011628032,"description":"Unknown IO ID 45"} 
[2026-09-17 14:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147044864001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802445489011628032}} 
[2026-09-17 14:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":185384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:55:22] local.INFO: GPS data processed {"connection_id":185384,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:55:22] local.INFO: Acknowledgment sent {"connection_id":185384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:55:25] local.INFO: TCP Data received {"connection_id":185385,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:55:25] local.INFO: Processing buffer {"connection_id":185385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:55:25] local.INFO: IMEI packet received {"connection_id":185385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":185385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:55:26] local.INFO: TCP Data received {"connection_id":185385,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeae7d10012d7c6e40060287500018003025..."} 
[2026-09-17 14:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeae7d10012d7c6e40060287500018003025..."} 
[2026-09-17 14:55:26] local.INFO: Processing buffer {"connection_id":185385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeae7d10012d7c6e40060287500018003025..."} 
[2026-09-17 14:55:26] local.INFO: Packet analysis {"connection_id":185385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:26] local.INFO: Extracted packet for processing {"connection_id":185385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763129408,"raw_latitude":100829008,"longitude_deg":76.3129408,"latitude_deg":10.0829008,"altitude":24,"angle":48,"satellites":37,"speed":30,"hex_longitude":"2d7c6e40","hex_latitude":"06028750","is_valid_coordinates":true} 
[2026-09-17 14:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147085824001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134239610858373120,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958363372092444672,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789637066000,"timestamp_ms":1789637066000,"timestamp_seconds":1789637066,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeae7d10"} 
[2026-09-17 14:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303170847821111,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":58079678809243674,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2930603864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2916423681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":934019278,"corrected_to":0} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3895918592,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:26] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,172,87,24,241,157,16,233,160,43,45,128,95,28,39,10,66,11,64,77,25,232,228,1,240,12,227,174,2,4,113,205,26,181,207,8,38,239,53,220,6,13],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":934019278,"validated":0}]} 
[2026-09-17 14:55:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2017673252232626176,"timestamp_seconds":2017673252232626.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147085824001,"66":12504,"172":206,"87":10496,"24":30,"16":134239610858373120,"45":8958363372092444672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-09-17 14:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147085824001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:55:26] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-17 14:55:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134239610858373120,"km_value":134239610858373.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958363372092444672,"description":"Unknown IO ID 45"} 
[2026-09-17 14:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147085824001,"power":12504,"unknown_172":206,"unknown_87":10496,"ignition":30,"odometer":null,"unknown_45":8958363372092444672}} 
[2026-09-17 14:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":185385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:55:26] local.INFO: GPS data processed {"connection_id":185385,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:55:26] local.INFO: Acknowledgment sent {"connection_id":185385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:55:39] local.INFO: TCP Data received {"connection_id":185251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaec360012d056f8007022aa8000b003d26..."} 
[2026-09-17 14:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaec360012d056f8007022aa8000b003d26..."} 
[2026-09-17 14:55:39] local.INFO: Processing buffer {"connection_id":185251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaec360012d056f8007022aa8000b003d26..."} 
[2026-09-17 14:55:39] local.INFO: Packet analysis {"connection_id":185251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:39] local.INFO: Extracted packet for processing {"connection_id":185251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:39] local.INFO: GPS Element Parsed {"raw_longitude":755330944,"raw_latitude":117582504,"longitude_deg":75.5330944,"latitude_deg":11.7582504,"altitude":11,"angle":61,"satellites":38,"speed":43,"hex_longitude":"2d056f80","hex_latitude":"07022aa8","is_valid_coordinates":true} 
[2026-09-17 14:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147090432001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32832843134533632,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":382243048472911872,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789637084000,"timestamp_ms":1789637084000,"timestamp_seconds":1789637084,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaec360"} 
[2026-09-17 14:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-17 14:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1158,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147090432001,"66":14428,"206":206,"94":10240,"24":43,"16":32832843134533632,"45":382243048472911872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147090432001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:55:39] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:55:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32832843134533632,"km_value":32832843134533.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":382243048472911872,"description":"Unknown IO ID 45"} 
[2026-09-17 14:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147090432001,"power":14428,"unknown_206":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_45":382243048472911872}} 
[2026-09-17 14:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":185251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856091,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:55:39] local.INFO: GPS data processed {"connection_id":185251,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:55:39] local.INFO: Acknowledgment sent {"connection_id":185251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:55:53] local.INFO: TCP Data received {"connection_id":185384,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:55:53] local.INFO: Processing buffer {"connection_id":185384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:55:53] local.INFO: Packet analysis {"connection_id":185384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:55:53] local.INFO: Extracted packet for processing {"connection_id":185384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825416,"longitude_deg":75.8433024,"latitude_deg":11.1825416,"altitude":10,"angle":176,"satellites":38,"speed":10,"hex_longitude":"2d34c500","hex_latitude":"06aa5208","is_valid_coordinates":true} 
[2026-09-17 14:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147044864001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011628032,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636895000,"timestamp_ms":1789636895000,"timestamp_seconds":1789636895,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabe118"} 
[2026-09-17 14:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:55:53] 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-09-17 14:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:55:53] 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-09-17 14:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147044864001,"66":27267,"97":206,"81":23296,"24":10,"16":405177065696919552,"45":3802445489011628032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147044864001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011628032,"description":"Unknown IO ID 45"} 
[2026-09-17 14:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147044864001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802445489011628032}} 
[2026-09-17 14:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":185384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:55:53] local.INFO: GPS data processed {"connection_id":185384,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:55:53] local.INFO: Acknowledgment sent {"connection_id":185384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:55:57] local.INFO: TCP Data received {"connection_id":185385,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaeafd8012d7c89800602a0180013002e26..."} 
[2026-09-17 14:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaeafd8012d7c89800602a0180013002e26..."} 
[2026-09-17 14:55:57] local.INFO: Processing buffer {"connection_id":185385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaeafd8012d7c89800602a0180013002e26..."} 
[2026-09-17 14:55:57] local.INFO: Packet analysis {"connection_id":185385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:57] local.INFO: Extracted packet for processing {"connection_id":185385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763136384,"raw_latitude":100835352,"longitude_deg":76.3136384,"latitude_deg":10.0835352,"altitude":19,"angle":46,"satellites":38,"speed":25,"hex_longitude":"2d7c8980","hex_latitude":"0602a018","is_valid_coordinates":true} 
[2026-09-17 14:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147088896001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134240061829939200,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966174302697639936,"note":"Value kept but may cause issues"} 
[2026-09-17 14:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789637079000,"timestamp_ms":1789637079000,"timestamp_seconds":1789637079,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaeafd8"} 
[2026-09-17 14:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 14:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147088896001,"66":13243,"172":206,"87":10496,"24":25,"16":134240061829939200,"45":8966174302697639936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-09-17 14:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147088896001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:55:57] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-17 14:55:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134240061829939200,"km_value":134240061829939.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966174302697639936,"description":"Unknown IO ID 45"} 
[2026-09-17 14:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147088896001,"power":13243,"unknown_172":206,"unknown_87":10496,"ignition":25,"odometer":null,"unknown_45":8966174302697639936}} 
[2026-09-17 14:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":185385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:55:57] local.INFO: GPS data processed {"connection_id":185385,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:55:57] local.INFO: Acknowledgment sent {"connection_id":185385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:55:57] local.INFO: TCP Data received {"connection_id":185253,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:57] local.INFO: Processing buffer {"connection_id":185253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:55:57] local.INFO: IMEI packet received {"connection_id":185253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":185253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:56:02] local.INFO: TCP Data received {"connection_id":185253,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:56:02] local.INFO: Processing buffer {"connection_id":185253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:56:02] local.INFO: IMEI packet received {"connection_id":185253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":185253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:56:02] local.INFO: TCP Data received {"connection_id":185253,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaef240012d058fc007023b58000a003e28..."} 
[2026-09-17 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaef240012d058fc007023b58000a003e28..."} 
[2026-09-17 14:56:02] local.INFO: Processing buffer {"connection_id":185253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaef240012d058fc007023b58000a003e28..."} 
[2026-09-17 14:56:02] local.INFO: Packet analysis {"connection_id":185253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:56:02] local.INFO: Extracted packet for processing {"connection_id":185253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":755339200,"raw_latitude":117586776,"longitude_deg":75.53392,"latitude_deg":11.7586776,"altitude":10,"angle":62,"satellites":40,"speed":20,"hex_longitude":"2d058fc0","hex_latitude":"07023b58","is_valid_coordinates":true} 
[2026-09-17 14:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147093504001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32833289811132416,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":391672460193998848,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789637096000,"timestamp_ms":1789637096000,"timestamp_seconds":1789637096,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaef240"} 
[2026-09-17 14:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 14:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147093504001,"66":14439,"206":206,"94":10240,"24":20,"16":32833289811132416,"45":391672460193998848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147093504001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:56:02] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:56:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32833289811132416,"km_value":32833289811132.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":391672460193998848,"description":"Unknown IO ID 45"} 
[2026-09-17 14:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147093504001,"power":14439,"unknown_206":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":391672460193998848}} 
[2026-09-17 14:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":185253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856094,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:56:03] local.INFO: GPS data processed {"connection_id":185253,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:56:03] local.INFO: Acknowledgment sent {"connection_id":185253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:56:15] local.INFO: TCP Data received {"connection_id":186703,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:56:15] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:56:15] local.INFO: IMEI packet received {"connection_id":186703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:56:20] local.INFO: TCP Data received {"connection_id":186703,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:56:20] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:56:20] local.INFO: IMEI packet received {"connection_id":186703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":186703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:56:21] local.INFO: TCP Data received {"connection_id":186703,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:56:21] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:56:21] local.INFO: Packet analysis {"connection_id":186703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:56:21] local.INFO: Extracted packet for processing {"connection_id":186703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825416,"longitude_deg":75.8433024,"latitude_deg":11.1825416,"altitude":10,"angle":176,"satellites":38,"speed":10,"hex_longitude":"2d34c500","hex_latitude":"06aa5208","is_valid_coordinates":true} 
[2026-09-17 14:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147044864001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011628032,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789636895000,"timestamp_ms":1789636895000,"timestamp_seconds":1789636895,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabe118"} 
[2026-09-17 14:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:56:21] 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-09-17 14:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:56: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-09-17 14:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147044864001,"66":27267,"97":206,"81":23296,"24":10,"16":405177065696919552,"45":3802445489011628032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147044864001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:56:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011628032,"description":"Unknown IO ID 45"} 
[2026-09-17 14:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147044864001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802445489011628032}} 
[2026-09-17 14:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":186703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:56:21] local.INFO: GPS data processed {"connection_id":186703,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:56:21] local.INFO: Acknowledgment sent {"connection_id":186703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:56:21] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:56:21] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:56:21] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:56:25] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:56:25] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:56:25] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:56:30] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:56:30] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:56:30] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:56:31] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaefdf8012d7ca3000602b6f80013003e27..."} 
[2026-09-17 14:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaefdf8012d7ca3000602b6f80013003e27..."} 
[2026-09-17 14:56:31] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaefdf8012d7ca3000602b6f80013003e27..."} 
[2026-09-17 14:56:31] local.INFO: Packet analysis {"connection_id":186704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:56:31] local.INFO: Extracted packet for processing {"connection_id":186704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763142912,"raw_latitude":100841208,"longitude_deg":76.3142912,"latitude_deg":10.0841208,"altitude":19,"angle":62,"satellites":39,"speed":5,"hex_longitude":"2d7ca300","hex_latitude":"0602b6f8","is_valid_coordinates":true} 
[2026-09-17 14:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147092224001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134240482736734208,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973844495814629376,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789637099000,"timestamp_ms":1789637099000,"timestamp_seconds":1789637099,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaefdf8"} 
[2026-09-17 14:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 14:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147092224001,"66":13059,"10":206,"87":10496,"24":5,"16":134240482736734208,"45":8973844495814629376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 14:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147092224001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:56:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 14:56:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134240482736734208,"km_value":134240482736734.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973844495814629376,"description":"Unknown IO ID 45"} 
[2026-09-17 14:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147092224001,"power":13059,"unknown_10":206,"unknown_87":10496,"ignition":5,"odometer":null,"unknown_45":8973844495814629376}} 
[2026-09-17 14:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":186704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:56:31] local.INFO: GPS data processed {"connection_id":186704,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:56:31] local.INFO: Acknowledgment sent {"connection_id":186704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:56:34] local.INFO: TCP Data received {"connection_id":185253,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaefdf8012d0594c007023d58000a004b28..."} 
[2026-09-17 14:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaefdf8012d0594c007023d58000a004b28..."} 
[2026-09-17 14:56:34] local.INFO: Processing buffer {"connection_id":185253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaefdf8012d0594c007023d58000a004b28..."} 
[2026-09-17 14:56:34] local.INFO: Packet analysis {"connection_id":185253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:56:34] local.INFO: Extracted packet for processing {"connection_id":185253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeae"} 
[2026-09-17 14:56:34] local.INFO: GPS Element Parsed {"raw_longitude":755340480,"raw_latitude":117587288,"longitude_deg":75.534048,"latitude_deg":11.7587288,"altitude":10,"angle":75,"satellites":40,"speed":19,"hex_longitude":"2d0594c0","hex_latitude":"07023d58","is_valid_coordinates":true} 
[2026-09-17 14:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147096576001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32833354235641856,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":400750028194011136,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789637099000,"timestamp_ms":1789637099000,"timestamp_seconds":1789637099,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaefdf8"} 
[2026-09-17 14:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 14:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147096576001,"66":14396,"206":206,"94":10240,"24":19,"16":32833354235641856,"45":400750028194011136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147096576001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:56:34] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:56:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32833354235641856,"km_value":32833354235641.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":400750028194011136,"description":"Unknown IO ID 45"} 
[2026-09-17 14:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147096576001,"power":14396,"unknown_206":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":400750028194011136}} 
[2026-09-17 14:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":185253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856097,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:56:34] local.INFO: GPS data processed {"connection_id":185253,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:56:34] local.INFO: Acknowledgment sent {"connection_id":185253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:56:35] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaf05c8012d7ca4400602b7600013005126..."} 
[2026-09-17 14:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaf05c8012d7ca4400602b7600013005126..."} 
[2026-09-17 14:56:35] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaf05c8012d7ca4400602b7600013005126..."} 
[2026-09-17 14:56:35] local.INFO: Packet analysis {"connection_id":186704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeaf"} 
[2026-09-17 14:56:35] local.INFO: Extracted packet for processing {"connection_id":186704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeaf"} 
[2026-09-17 14:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763143232,"raw_latitude":100841312,"longitude_deg":76.3143232,"latitude_deg":10.0841312,"altitude":19,"angle":81,"satellites":38,"speed":8,"hex_longitude":"2d7ca440","hex_latitude":"0602b760","is_valid_coordinates":true} 
[2026-09-17 14:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147097344001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134240499916603392,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981022107722250240,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789637101000,"timestamp_ms":1789637101000,"timestamp_seconds":1789637101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaf05c8"} 
[2026-09-17 14:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171753790775,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2930631864,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":172,"raw_value":58079678809243677,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2922055681,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":934019278,"corrected_to":0} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3355520380,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308343,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3908894720,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:35] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,10,87,24,241,157,16,235,160,175,45,128,19,38,66,172,234,125,64,135,37,78,1,240,3,227,233,174,2,4,113,205,44,11,17,39,239,52,220,6,20,29],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":934019278,"validated":0}]} 
[2026-09-17 14:56:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369162623945605120,"timestamp_seconds":1369162623945605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 14:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147097344001,"66":13352,"10":206,"87":10496,"24":8,"16":134240499916603392,"45":8981022107722250240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 14:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147097344001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:56:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 14:56:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134240499916603392,"km_value":134240499916603.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981022107722250240,"description":"Unknown IO ID 45"} 
[2026-09-17 14:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147097344001,"power":13352,"unknown_10":206,"unknown_87":10496,"ignition":8,"odometer":null,"unknown_45":8981022107722250240}} 
[2026-09-17 14:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":186704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:56:35] local.INFO: GPS data processed {"connection_id":186704,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:56:35] local.INFO: Acknowledgment sent {"connection_id":186704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:56:53] local.INFO: TCP Data received {"connection_id":186703,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:56:53] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeabe118012d34c50006aa5208000a00b026..."} 
[2026-09-17 14:56:53] local.INFO: Packet analysis {"connection_id":186703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:56:53] local.INFO: Extracted packet for processing {"connection_id":186703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeab"} 
[2026-09-17 14:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825416,"longitude_deg":75.8433024,"latitude_deg":11.1825416,"altitude":10,"angle":176,"satellites":38,"speed":10,"hex_longitude":"2d34c500","hex_latitude":"06aa5208","is_valid_coordinates":true} 
[2026-09-17 14:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147044864001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011628032,"note":"Value kept but may cause issues"} 
[2026-09-17 14:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789636895000,"timestamp_ms":1789636895000,"timestamp_seconds":1789636895,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeabe118"} 
[2026-09-17 14:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:56:53] 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-09-17 14:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:56:53] 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-09-17 14:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147044864001,"66":27267,"97":206,"81":23296,"24":10,"16":405177065696919552,"45":3802445489011628032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147044864001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011628032,"description":"Unknown IO ID 45"} 
[2026-09-17 14:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147044864001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802445489011628032}} 
[2026-09-17 14:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":186703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:56:53] local.INFO: GPS data processed {"connection_id":186703,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:56:53] local.INFO: Acknowledgment sent {"connection_id":186703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:56:57] local.INFO: TCP Data received {"connection_id":185386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:56:57] local.INFO: Processing buffer {"connection_id":185386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:56:57] local.INFO: IMEI packet received {"connection_id":185386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":185386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:57:02] local.INFO: TCP Data received {"connection_id":185386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:02] local.INFO: Processing buffer {"connection_id":185386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:02] local.INFO: IMEI packet received {"connection_id":185386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":185386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:57:02] local.INFO: TCP Data received {"connection_id":185386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaf1568012d05a1c0070241200009003628..."} 
[2026-09-17 14:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaf1568012d05a1c0070241200009003628..."} 
[2026-09-17 14:57:02] local.INFO: Processing buffer {"connection_id":185386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaf1568012d05a1c0070241200009003628..."} 
[2026-09-17 14:57:02] local.INFO: Packet analysis {"connection_id":185386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeaf"} 
[2026-09-17 14:57:02] local.INFO: Extracted packet for processing {"connection_id":185386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeaf"} 
[2026-09-17 14:57:02] local.INFO: GPS Element Parsed {"raw_longitude":755343808,"raw_latitude":117588256,"longitude_deg":75.5343808,"latitude_deg":11.7588256,"altitude":9,"angle":54,"satellites":40,"speed":16,"hex_longitude":"2d05a1c0","hex_latitude":"07024120","is_valid_coordinates":true} 
[2026-09-17 14:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147097344001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32833517444399104,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":402157403077695488,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789637105000,"timestamp_ms":1789637105000,"timestamp_seconds":1789637105,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaf1568"} 
[2026-09-17 14:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 14:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147097344001,"66":14374,"206":206,"94":10240,"24":16,"16":32833517444399104,"45":402157403077695488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147097344001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:57:02] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:57:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32833517444399104,"km_value":32833517444399.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":402157403077695488,"description":"Unknown IO ID 45"} 
[2026-09-17 14:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147097344001,"power":14374,"unknown_206":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":402157403077695488}} 
[2026-09-17 14:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":185386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856100,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:57:02] local.INFO: GPS data processed {"connection_id":185386,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:57:02] local.INFO: Acknowledgment sent {"connection_id":185386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:57:15] local.INFO: TCP Data received {"connection_id":188017,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:57:15] local.INFO: Processing buffer {"connection_id":188017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:57:15] local.INFO: IMEI packet received {"connection_id":188017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":188017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:57:16] local.INFO: TCP Data received {"connection_id":188017,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:57:16] local.INFO: Processing buffer {"connection_id":188017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:57:16] local.INFO: IMEI packet received {"connection_id":188017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":188017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:57:20] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:57:20] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:57:20] local.INFO: IMEI packet received {"connection_id":185255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":185255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:57:20] local.INFO: TCP Data received {"connection_id":188017,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:57:20] local.INFO: Processing buffer {"connection_id":188017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:57:20] local.INFO: IMEI packet received {"connection_id":188017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":188017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:57:21] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:57:21] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:57:21] local.INFO: IMEI packet received {"connection_id":185255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":185255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:57:21] local.INFO: TCP Data received {"connection_id":188017,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:57:21] local.INFO: Processing buffer {"connection_id":188017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:57:21] local.INFO: Packet analysis {"connection_id":188017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:21] local.INFO: Extracted packet for processing {"connection_id":188017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 14:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 14:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:57:21] 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-09-17 14:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:57: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-09-17 14:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:57:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 14:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 14:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":188017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:57:21] local.INFO: GPS data processed {"connection_id":188017,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:57:21] local.INFO: Acknowledgment sent {"connection_id":188017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:57:21] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:57:21] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:57:21] local.INFO: IMEI packet received {"connection_id":185255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":185255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:57:22] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb0ced0012d7ca54006024f40000e00ce26..."} 
[2026-09-17 14:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb0ced0012d7ca54006024f40000e00ce26..."} 
[2026-09-17 14:57:22] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb0ced0012d7ca54006024f40000e00ce26..."} 
[2026-09-17 14:57:22] local.INFO: Packet analysis {"connection_id":185255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:22] local.INFO: Extracted packet for processing {"connection_id":185255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:22] local.INFO: GPS Element Parsed {"raw_longitude":763143488,"raw_latitude":100814656,"longitude_deg":76.3143488,"latitude_deg":10.0814656,"altitude":14,"angle":206,"satellites":38,"speed":2,"hex_longitude":"2d7ca540","hex_latitude":"06024f40","is_valid_coordinates":true} 
[2026-09-17 14:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147127296001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134241912960843776,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981796163901452288,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789637218000,"timestamp_ms":1789637218000,"timestamp_seconds":1789637218,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb0ced0"} 
[2026-09-17 14:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 14:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147127296001,"66":13102,"197":206,"87":10496,"24":2,"16":134241912960843776,"45":8981796163901452288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147127296001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:57:22] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:57:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134241912960843776,"km_value":134241912960843.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981796163901452288,"description":"Unknown IO ID 45"} 
[2026-09-17 14:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147127296001,"power":13102,"unknown_197":206,"unknown_87":10496,"ignition":2,"odometer":null,"unknown_45":8981796163901452288}} 
[2026-09-17 14:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":185255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:57:22] local.INFO: GPS data processed {"connection_id":185255,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:57:22] local.INFO: Acknowledgment sent {"connection_id":185255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:57:23] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb0da88012d7ca54006024f28000e003e26..."} 
[2026-09-17 14:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb0da88012d7ca54006024f28000e003e26..."} 
[2026-09-17 14:57:23] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb0da88012d7ca54006024f28000e003e26..."} 
[2026-09-17 14:57:23] local.INFO: Packet analysis {"connection_id":185255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:23] local.INFO: Extracted packet for processing {"connection_id":185255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763143488,"raw_latitude":100814632,"longitude_deg":76.3143488,"latitude_deg":10.0814632,"altitude":14,"angle":62,"satellites":38,"speed":0,"hex_longitude":"2d7ca540","hex_latitude":"06024f28","is_valid_coordinates":true} 
[2026-09-17 14:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147127808001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134241917255811072,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981655426413051904,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789637221000,"timestamp_ms":1789637221000,"timestamp_seconds":1789637221,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb0da88"} 
[2026-09-17 14:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 14:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147127808001,"66":13363,"197":206,"87":10496,"24":0,"16":134241917255811072,"45":8981655426413051904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147127808001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:57:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:57:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134241917255811072,"km_value":134241917255811.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981655426413051904,"description":"Unknown IO ID 45"} 
[2026-09-17 14:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147127808001,"power":13363,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8981655426413051904}} 
[2026-09-17 14:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":185255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:57:23] local.INFO: GPS data processed {"connection_id":185255,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:57:23] local.INFO: Acknowledgment sent {"connection_id":185255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:57:35] local.INFO: TCP Data received {"connection_id":185386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeaf1950012d05a280070242280009002328..."} 
[2026-09-17 14:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeaf1950012d05a280070242280009002328..."} 
[2026-09-17 14:57:35] local.INFO: Processing buffer {"connection_id":185386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeaf1950012d05a280070242280009002328..."} 
[2026-09-17 14:57:35] local.INFO: Packet analysis {"connection_id":185386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeaf"} 
[2026-09-17 14:57:35] local.INFO: Extracted packet for processing {"connection_id":185386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeaf"} 
[2026-09-17 14:57:35] local.INFO: GPS Element Parsed {"raw_longitude":755344000,"raw_latitude":117588520,"longitude_deg":75.5344,"latitude_deg":11.758852,"altitude":9,"angle":35,"satellites":40,"speed":15,"hex_longitude":"2d05a280","hex_latitude":"07024228","is_valid_coordinates":true} 
[2026-09-17 14:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147098880001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32833534624268288,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":405816577775181824,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789637106000,"timestamp_ms":1789637106000,"timestamp_seconds":1789637106,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeaf1950"} 
[2026-09-17 14:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 14:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147098880001,"66":14439,"206":206,"94":10240,"24":15,"16":32833534624268288,"45":405816577775181824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-17 14:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147098880001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:57:35] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 14:57:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 14:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32833534624268288,"km_value":32833534624268.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":405816577775181824,"description":"Unknown IO ID 45"} 
[2026-09-17 14:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147098880001,"power":14439,"unknown_206":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":405816577775181824}} 
[2026-09-17 14:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":185386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:57:35] local.INFO: GPS data processed {"connection_id":185386,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:57:35] local.INFO: Acknowledgment sent {"connection_id":185386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:57:53] local.INFO: TCP Data received {"connection_id":188017,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:57:53] local.INFO: Processing buffer {"connection_id":188017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:57:53] local.INFO: Packet analysis {"connection_id":188017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:53] local.INFO: Extracted packet for processing {"connection_id":188017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 14:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 14:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:57:53] 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-09-17 14:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:57:53] 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-09-17 14:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 14:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 14:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":188017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:57:53] local.INFO: GPS data processed {"connection_id":188017,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:57:53] local.INFO: Acknowledgment sent {"connection_id":188017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:57:54] local.INFO: TCP Data received {"connection_id":185255,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb0de70012d7ca58006024f58000e003026..."} 
[2026-09-17 14:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb0de70012d7ca58006024f58000e003026..."} 
[2026-09-17 14:57:54] local.INFO: Processing buffer {"connection_id":185255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb0de70012d7ca58006024f58000e003026..."} 
[2026-09-17 14:57:54] local.INFO: Packet analysis {"connection_id":185255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:54] local.INFO: Extracted packet for processing {"connection_id":185255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763143552,"raw_latitude":100814680,"longitude_deg":76.3143552,"latitude_deg":10.081468,"altitude":14,"angle":48,"satellites":38,"speed":3,"hex_longitude":"2d7ca580","hex_latitude":"06024f58","is_valid_coordinates":true} 
[2026-09-17 14:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134241921550778368,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981655426413045760,"note":"Value kept but may cause issues"} 
[2026-09-17 14:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789637222000,"timestamp_ms":1789637222000,"timestamp_seconds":1789637222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb0de70"} 
[2026-09-17 14:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 14:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147128576001,"66":13472,"197":206,"87":10496,"24":3,"16":134241921550778368,"45":8981655426413045760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:57:54] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:57:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134241921550778368,"km_value":134241921550778.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981655426413045760,"description":"Unknown IO ID 45"} 
[2026-09-17 14:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147128576001,"power":13472,"unknown_197":206,"unknown_87":10496,"ignition":3,"odometer":null,"unknown_45":8981655426413045760}} 
[2026-09-17 14:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":185255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:57:54] local.INFO: GPS data processed {"connection_id":185255,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:57:54] local.INFO: Acknowledgment sent {"connection_id":185255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:57:56] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:56] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:56] local.INFO: IMEI packet received {"connection_id":185387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":185387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:57:56] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:56] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:56] local.INFO: IMEI packet received {"connection_id":185387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":185387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:57:59] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:59] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:57:59] local.INFO: IMEI packet received {"connection_id":185387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":185387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:58:02] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:58:02] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:58:02] local.INFO: IMEI packet received {"connection_id":185387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":185387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:58:03] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb15b70012d05ff0007028298000c002629..."} 
[2026-09-17 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb15b70012d05ff0007028298000c002629..."} 
[2026-09-17 14:58:03] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb15b70012d05ff0007028298000c002629..."} 
[2026-09-17 14:58:03] local.INFO: Packet analysis {"connection_id":185387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb1"} 
[2026-09-17 14:58:03] local.INFO: Extracted packet for processing {"connection_id":185387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb1"} 
[2026-09-17 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":755367680,"raw_latitude":117605016,"longitude_deg":75.536768,"latitude_deg":11.7605016,"altitude":12,"angle":38,"satellites":41,"speed":10,"hex_longitude":"2d05ff00","hex_latitude":"07028298","is_valid_coordinates":true} 
[2026-09-17 14:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147136512001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32834951963475968,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":431641906892587008,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789637254000,"timestamp_ms":1789637254000,"timestamp_seconds":1789637254,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb15b70"} 
[2026-09-17 14:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 14:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147136512001,"66":14407,"60":206,"94":11008,"24":10,"16":32834951963475968,"45":431641906892587008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 14:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147136512001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:58:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 14:58:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 14:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32834951963475968,"km_value":32834951963475.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":431641906892587008,"description":"Unknown IO ID 45"} 
[2026-09-17 14:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147136512001,"power":14407,"unknown_60":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":431641906892587008}} 
[2026-09-17 14:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":185387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856107,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:58:03] local.INFO: GPS data processed {"connection_id":185387,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:58:03] local.INFO: Acknowledgment sent {"connection_id":185387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:58:04] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb16340012d06000007028480000c00192b..."} 
[2026-09-17 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb16340012d06000007028480000c00192b..."} 
[2026-09-17 14:58:04] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb16340012d06000007028480000c00192b..."} 
[2026-09-17 14:58:04] local.INFO: Packet analysis {"connection_id":185387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb1"} 
[2026-09-17 14:58:04] local.INFO: Extracted packet for processing {"connection_id":185387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb1"} 
[2026-09-17 14:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755367936,"raw_latitude":117605504,"longitude_deg":75.5367936,"latitude_deg":11.7605504,"altitude":12,"angle":25,"satellites":43,"speed":14,"hex_longitude":"2d060000","hex_latitude":"07028480","is_valid_coordinates":true} 
[2026-09-17 14:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147137024001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32834977733279744,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":432064119357741056,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789637256000,"timestamp_ms":1789637256000,"timestamp_seconds":1789637256,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb16340"} 
[2026-09-17 14:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 14:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147137024001,"66":14439,"60":206,"94":11008,"24":14,"16":32834977733279744,"45":432064119357741056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 14:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147137024001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:58:04] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 14:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 14:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32834977733279744,"km_value":32834977733279.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":432064119357741056,"description":"Unknown IO ID 45"} 
[2026-09-17 14:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147137024001,"power":14439,"unknown_60":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":432064119357741056}} 
[2026-09-17 14:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":185387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856108,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:58:04] local.INFO: GPS data processed {"connection_id":185387,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:58:04] local.INFO: Acknowledgment sent {"connection_id":185387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:58:15] local.INFO: TCP Data received {"connection_id":186705,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:58:15] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:58:15] local.INFO: IMEI packet received {"connection_id":186705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":186705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:58:15] local.INFO: TCP Data received {"connection_id":185256,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:58:15] local.INFO: Processing buffer {"connection_id":185256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:58:15] local.INFO: IMEI packet received {"connection_id":185256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":185256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:58:20] local.INFO: TCP Data received {"connection_id":185257,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:58:20] local.INFO: Processing buffer {"connection_id":185257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:58:20] local.INFO: IMEI packet received {"connection_id":185257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":185257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:58:20] local.INFO: TCP Data received {"connection_id":186705,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:58:20] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:58:20] local.INFO: IMEI packet received {"connection_id":186705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":186705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:58:20] local.INFO: TCP Data received {"connection_id":185257,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:58:20] local.INFO: Processing buffer {"connection_id":185257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:58:20] local.INFO: IMEI packet received {"connection_id":185257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":185257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:58:21] local.INFO: TCP Data received {"connection_id":186705,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:58:21] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:58:21] local.INFO: Packet analysis {"connection_id":186705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:58:21] local.INFO: Extracted packet for processing {"connection_id":186705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 14:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 14:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:58:21] 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-09-17 14:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:58: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-09-17 14:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:58:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 14:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 14:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":186705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:58:21] local.INFO: GPS data processed {"connection_id":186705,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:58:21] local.INFO: Acknowledgment sent {"connection_id":186705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:58:25] local.INFO: TCP Data received {"connection_id":185257,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:58:25] local.INFO: Processing buffer {"connection_id":185257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:58:25] local.INFO: IMEI packet received {"connection_id":185257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":185257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:58:26] local.INFO: TCP Data received {"connection_id":185257,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb1b548012d7cb280060281b80012000c26..."} 
[2026-09-17 14:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb1b548012d7cb280060281b80012000c26..."} 
[2026-09-17 14:58:26] local.INFO: Processing buffer {"connection_id":185257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb1b548012d7cb280060281b80012000c26..."} 
[2026-09-17 14:58:26] local.INFO: Packet analysis {"connection_id":185257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb1"} 
[2026-09-17 14:58:26] local.INFO: Extracted packet for processing {"connection_id":185257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb1"} 
[2026-09-17 14:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763146880,"raw_latitude":100827576,"longitude_deg":76.314688,"latitude_deg":10.0827576,"altitude":18,"angle":12,"satellites":38,"speed":39,"hex_longitude":"2d7cb280","hex_latitude":"060281b8","is_valid_coordinates":true} 
[2026-09-17 14:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147139328001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134242595860643840,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983133170041827328,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789637277000,"timestamp_ms":1789637277000,"timestamp_seconds":1789637277,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb1b548"} 
[2026-09-17 14:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 14:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147139328001,"66":13276,"197":206,"87":10496,"24":39,"16":134242595860643840,"45":8983133170041827328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147139328001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:58:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:58:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134242595860643840,"km_value":134242595860643.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983133170041827328,"description":"Unknown IO ID 45"} 
[2026-09-17 14:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147139328001,"power":13276,"unknown_197":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":8983133170041827328}} 
[2026-09-17 14:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":185257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:58:26] local.INFO: GPS data processed {"connection_id":185257,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:58:26] local.INFO: Acknowledgment sent {"connection_id":185257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:58:35] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb20b38012d0651800702bc30000a00452b..."} 
[2026-09-17 14:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb20b38012d0651800702bc30000a00452b..."} 
[2026-09-17 14:58:35] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb20b38012d0651800702bc30000a00452b..."} 
[2026-09-17 14:58:35] local.INFO: Packet analysis {"connection_id":185387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:58:35] local.INFO: Extracted packet for processing {"connection_id":185387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:58:35] local.INFO: GPS Element Parsed {"raw_longitude":755388800,"raw_latitude":117619760,"longitude_deg":75.53888,"latitude_deg":11.761976,"altitude":10,"angle":69,"satellites":43,"speed":18,"hex_longitude":"2d065180","hex_latitude":"0702bc30","is_valid_coordinates":true} 
[2026-09-17 14:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147148032001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32836231863730176,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":454371011265703936,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789637299000,"timestamp_ms":1789637299000,"timestamp_seconds":1789637299,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb20b38"} 
[2026-09-17 14:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 14:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147148032001,"66":13722,"60":206,"94":11008,"24":18,"16":32836231863730176,"45":454371011265703936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 14:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147148032001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:58:35] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 14:58:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 14:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32836231863730176,"km_value":32836231863730.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":454371011265703936,"description":"Unknown IO ID 45"} 
[2026-09-17 14:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147148032001,"power":13722,"unknown_60":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":454371011265703936}} 
[2026-09-17 14:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":185387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:58:36] local.INFO: GPS data processed {"connection_id":185387,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:58:36] local.INFO: Acknowledgment sent {"connection_id":185387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:58:53] local.INFO: TCP Data received {"connection_id":186705,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:58:53] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:58:53] local.INFO: Packet analysis {"connection_id":186705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:58:53] local.INFO: Extracted packet for processing {"connection_id":186705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 14:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 14:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:58:53] 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-09-17 14:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:58:53] 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-09-17 14:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 14:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 14:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":186705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:58:53] local.INFO: GPS data processed {"connection_id":186705,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:58:53] local.INFO: Acknowledgment sent {"connection_id":186705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:58:55] local.INFO: TCP Data received {"connection_id":185388,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:58:55] local.INFO: Processing buffer {"connection_id":185388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 14:58:55] local.INFO: IMEI packet received {"connection_id":185388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 14:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":185388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:58:57] local.INFO: TCP Data received {"connection_id":185257,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb22e60012d7cf6c0060268b00015007926..."} 
[2026-09-17 14:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb22e60012d7cf6c0060268b00015007926..."} 
[2026-09-17 14:58:57] local.INFO: Processing buffer {"connection_id":185257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb22e60012d7cf6c0060268b00015007926..."} 
[2026-09-17 14:58:57] local.INFO: Packet analysis {"connection_id":185257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:58:57] local.INFO: Extracted packet for processing {"connection_id":185257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763164352,"raw_latitude":100821168,"longitude_deg":76.3164352,"latitude_deg":10.0821168,"altitude":21,"angle":121,"satellites":38,"speed":42,"hex_longitude":"2d7cf6c0","hex_latitude":"060268b0","is_valid_coordinates":true} 
[2026-09-17 14:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147148544001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134243759796781056,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995869912739721216,"note":"Value kept but may cause issues"} 
[2026-09-17 14:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789637308000,"timestamp_ms":1789637308000,"timestamp_seconds":1789637308,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb22e60"} 
[2026-09-17 14:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 14:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147148544001,"66":13048,"197":206,"87":10496,"24":42,"16":134243759796781056,"45":8995869912739721216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147148544001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:58:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:58:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134243759796781056,"km_value":134243759796781.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995869912739721216,"description":"Unknown IO ID 45"} 
[2026-09-17 14:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147148544001,"power":13048,"unknown_197":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":8995869912739721216}} 
[2026-09-17 14:58:57] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:58:57] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:58:57] local.INFO: IMEI packet received {"connection_id":185389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":185389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":185257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:58:57] local.INFO: GPS data processed {"connection_id":185257,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:58:57] local.INFO: Acknowledgment sent {"connection_id":185257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:58:58] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:58:58] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:58:58] local.INFO: IMEI packet received {"connection_id":185389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":185389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:59:03] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:59:03] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:59:03] local.INFO: IMEI packet received {"connection_id":185389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 14:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":185389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:59:03] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb20f20012d0653800702bc88000a00502a..."} 
[2026-09-17 14:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb20f20012d0653800702bc88000a00502a..."} 
[2026-09-17 14:59:03] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb20f20012d0653800702bc88000a00502a..."} 
[2026-09-17 14:59:03] local.INFO: Packet analysis {"connection_id":185389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:59:03] local.INFO: Extracted packet for processing {"connection_id":185389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:59:03] local.INFO: GPS Element Parsed {"raw_longitude":755389312,"raw_latitude":117619848,"longitude_deg":75.5389312,"latitude_deg":11.7619848,"altitude":10,"angle":80,"satellites":42,"speed":19,"hex_longitude":"2d065380","hex_latitude":"0702bc88","is_valid_coordinates":true} 
[2026-09-17 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147148544001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32836257633533952,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":455285804940144640,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789637300000,"timestamp_ms":1789637300000,"timestamp_seconds":1789637300,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb20f20"} 
[2026-09-17 14:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 14:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147148544001,"66":13722,"60":206,"94":11008,"24":19,"16":32836257633533952,"45":455285804940144640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 14:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147148544001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:59:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 14:59:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 14:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32836257633533952,"km_value":32836257633533.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":455285804940144640,"description":"Unknown IO ID 45"} 
[2026-09-17 14:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147148544001,"power":13722,"unknown_60":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":455285804940144640}} 
[2026-09-17 14:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":185389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:59:04] local.INFO: GPS data processed {"connection_id":185389,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:59:04] local.INFO: Acknowledgment sent {"connection_id":185389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:59:20] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:59:20] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:59:20] local.INFO: IMEI packet received {"connection_id":186706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 14:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":186706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:59:20] local.INFO: TCP Data received {"connection_id":185390,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:59:20] local.INFO: Processing buffer {"connection_id":185390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:59:20] local.INFO: IMEI packet received {"connection_id":185390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 14:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":185390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 14:59:23] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:59:23] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 14:59:23] local.INFO: IMEI packet received {"connection_id":186706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 14:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":186706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:59:24] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb25570012d7d1400060255400014007d27..."} 
[2026-09-17 14:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb25570012d7d1400060255400014007d27..."} 
[2026-09-17 14:59:24] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb25570012d7d1400060255400014007d27..."} 
[2026-09-17 14:59:24] local.INFO: Packet analysis {"connection_id":186706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:59:24] local.INFO: Extracted packet for processing {"connection_id":186706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763171840,"raw_latitude":100816192,"longitude_deg":76.317184,"latitude_deg":10.0816192,"altitude":20,"angle":125,"satellites":39,"speed":35,"hex_longitude":"2d7d1400","hex_latitude":"06025540","is_valid_coordinates":true} 
[2026-09-17 14:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147150848001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134244189293510656,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004595637016637440,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789637318000,"timestamp_ms":1789637318000,"timestamp_seconds":1789637318,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb25570"} 
[2026-09-17 14:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 14:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147150848001,"66":13048,"197":206,"87":10496,"24":35,"16":134244189293510656,"45":9004595637016637440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147150848001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:59:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:59:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134244189293510656,"km_value":134244189293510.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004595637016637440,"description":"Unknown IO ID 45"} 
[2026-09-17 14:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147150848001,"power":13048,"unknown_197":206,"unknown_87":10496,"ignition":35,"odometer":null,"unknown_45":9004595637016637440}} 
[2026-09-17 14:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":186706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:59:24] local.INFO: GPS data processed {"connection_id":186706,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:59:24] local.INFO: Acknowledgment sent {"connection_id":186706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:59:25] local.INFO: TCP Data received {"connection_id":185390,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:59:25] local.INFO: Processing buffer {"connection_id":185390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 14:59:25] local.INFO: IMEI packet received {"connection_id":185390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 14:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":185390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 14:59:26] local.INFO: TCP Data received {"connection_id":185390,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:59:26] local.INFO: Processing buffer {"connection_id":185390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:59:26] local.INFO: Packet analysis {"connection_id":185390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:59:26] local.INFO: Extracted packet for processing {"connection_id":185390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 14:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 14:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:59:26] 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-09-17 14:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:59:26] 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-09-17 14:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:59:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:59:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 14:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 14:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":185390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:59:26] local.INFO: GPS data processed {"connection_id":185390,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:59:26] local.INFO: Acknowledgment sent {"connection_id":185390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:59:35] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb216f0012d0658000702bc90000a005c2a..."} 
[2026-09-17 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb216f0012d0658000702bc90000a005c2a..."} 
[2026-09-17 14:59:35] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb216f0012d0658000702bc90000a005c2a..."} 
[2026-09-17 14:59:35] local.INFO: Packet analysis {"connection_id":185389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:59:35] local.INFO: Extracted packet for processing {"connection_id":185389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:59:35] local.INFO: GPS Element Parsed {"raw_longitude":755390464,"raw_latitude":117619856,"longitude_deg":75.5390464,"latitude_deg":11.7619856,"altitude":10,"angle":92,"satellites":42,"speed":25,"hex_longitude":"2d065800","hex_latitude":"0702bc90","is_valid_coordinates":true} 
[2026-09-17 14:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147148800001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32836313468108800,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":455848754893588480,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789637302000,"timestamp_ms":1789637302000,"timestamp_seconds":1789637302,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb216f0"} 
[2026-09-17 14:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 14:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 14:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 14:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 14:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147148800001,"66":14450,"60":206,"94":11008,"24":25,"16":32836313468108800,"45":455848754893588480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-17 14:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 14:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 14:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147148800001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:59:35] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-17 14:59:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 14:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32836313468108800,"km_value":32836313468108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":455848754893588480,"description":"Unknown IO ID 45"} 
[2026-09-17 14:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147148800001,"power":14450,"unknown_60":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":455848754893588480}} 
[2026-09-17 14:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":185389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856117,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:59:35] local.INFO: GPS data processed {"connection_id":185389,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:59:35] local.INFO: Acknowledgment sent {"connection_id":185389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:59:55] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb28450012d7d3180060240a80015007b28..."} 
[2026-09-17 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb28450012d7d3180060240a80015007b28..."} 
[2026-09-17 14:59:55] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb28450012d7d3180060240a80015007b28..."} 
[2026-09-17 14:59:55] local.INFO: Packet analysis {"connection_id":186706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:59:55] local.INFO: Extracted packet for processing {"connection_id":186706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb2"} 
[2026-09-17 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":100810920,"longitude_deg":76.3179392,"latitude_deg":10.081092,"altitude":21,"angle":123,"satellites":40,"speed":29,"hex_longitude":"2d7d3180","hex_latitude":"060240a8","is_valid_coordinates":true} 
[2026-09-17 14:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147153408001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134244631675142144,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012828780084150272,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789637330000,"timestamp_ms":1789637330000,"timestamp_seconds":1789637330,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb28450"} 
[2026-09-17 14:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 14:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 14:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 14:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 14:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 14:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 14:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147153408001,"66":13200,"197":206,"87":10496,"24":29,"16":134244631675142144,"45":9012828780084150272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-17 14:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 14:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 14:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147153408001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:59:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-17 14:59:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 14:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134244631675142144,"km_value":134244631675142.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012828780084150272,"description":"Unknown IO ID 45"} 
[2026-09-17 14:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147153408001,"power":13200,"unknown_197":206,"unknown_87":10496,"ignition":29,"odometer":null,"unknown_45":9012828780084150272}} 
[2026-09-17 14:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":186706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:59:56] local.INFO: GPS data processed {"connection_id":186706,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:59:56] local.INFO: Acknowledgment sent {"connection_id":186706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:59:57] local.INFO: TCP Data received {"connection_id":185390,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:59:57] local.INFO: Processing buffer {"connection_id":185390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 14:59:57] local.INFO: Packet analysis {"connection_id":185390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:59:57] local.INFO: Extracted packet for processing {"connection_id":185390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 14:59:57] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 14:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 14:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 14:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 14:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 14:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 14:59:57] 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-09-17 14:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 14:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 14:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 14:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 14:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 14:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 14:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 14:59:57] 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-09-17 14:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 14:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 14:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 14:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 14:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 14:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 14:59:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 14:59:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 14:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 14:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 14:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 14:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":185390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 14:59:57] local.INFO: GPS data processed {"connection_id":185390,"processed":1,"errors":0,"total":1} 
[2026-09-17 14:59:57] local.INFO: Acknowledgment sent {"connection_id":185390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 14:59:58] local.INFO: TCP Data received {"connection_id":188019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188019,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:59:58] local.INFO: Processing buffer {"connection_id":188019,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 14:59:58] local.INFO: IMEI packet received {"connection_id":188019,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 14:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":188019,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:00:02] local.INFO: TCP Data received {"connection_id":188019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188019,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:00:02] local.INFO: Processing buffer {"connection_id":188019,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:00:02] local.INFO: IMEI packet received {"connection_id":188019,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":188019,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:00:03] local.INFO: TCP Data received {"connection_id":188019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb33fd0012d0735800702d5b8001000122a..."} 
[2026-09-17 15:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb33fd0012d0735800702d5b8001000122a..."} 
[2026-09-17 15:00:03] local.INFO: Processing buffer {"connection_id":188019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb33fd0012d0735800702d5b8001000122a..."} 
[2026-09-17 15:00:03] local.INFO: Packet analysis {"connection_id":188019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:00:03] local.INFO: Extracted packet for processing {"connection_id":188019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":755447168,"raw_latitude":117626296,"longitude_deg":75.5447168,"latitude_deg":11.7626296,"altitude":16,"angle":18,"satellites":42,"speed":21,"hex_longitude":"2d073580","hex_latitude":"0702d5b8","is_valid_coordinates":true} 
[2026-09-17 15:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147168000001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32839195391164416,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":519462099631421440,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789637378000,"timestamp_ms":1789637378000,"timestamp_seconds":1789637378,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb33fd0"} 
[2026-09-17 15:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 15:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147168000001,"66":14374,"59":206,"94":11008,"24":21,"16":32839195391164416,"45":519462099631421440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-17 15:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147168000001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:00:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 15:00:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32839195391164416,"km_value":32839195391164.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":519462099631421440,"description":"Unknown IO ID 45"} 
[2026-09-17 15:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147168000001,"power":14374,"unknown_59":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":519462099631421440}} 
[2026-09-17 15:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":188019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856120,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:00:03] local.INFO: GPS data processed {"connection_id":188019,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:00:03] local.INFO: Acknowledgment sent {"connection_id":188019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:00:15] local.INFO: TCP Data received {"connection_id":185391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:00:15] local.INFO: Processing buffer {"connection_id":185391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:00:15] local.INFO: IMEI packet received {"connection_id":185391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":185391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:00:19] local.INFO: TCP Data received {"connection_id":185392,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:00:19] local.INFO: Processing buffer {"connection_id":185392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:00:19] local.INFO: IMEI packet received {"connection_id":185392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":185392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:00:20] local.INFO: TCP Data received {"connection_id":185391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:00:20] local.INFO: Processing buffer {"connection_id":185391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:00:20] local.INFO: IMEI packet received {"connection_id":185391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":185391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:00:21] local.INFO: TCP Data received {"connection_id":185391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:00:21] local.INFO: Processing buffer {"connection_id":185391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:00:21] local.INFO: Packet analysis {"connection_id":185391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 15:00:21] local.INFO: Extracted packet for processing {"connection_id":185391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 15:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 15:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:00:21] 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-09-17 15:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 15:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:00:21] 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-09-17 15:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:00:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 15:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 15:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":185391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:00:21] local.INFO: GPS data processed {"connection_id":185391,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:00:21] local.INFO: Acknowledgment sent {"connection_id":185391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:00:24] local.INFO: TCP Data received {"connection_id":185392,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:00:24] local.INFO: Processing buffer {"connection_id":185392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:00:24] local.INFO: IMEI packet received {"connection_id":185392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":185392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:00:25] local.INFO: TCP Data received {"connection_id":185392,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb3a560012d7d428006016868001400b727..."} 
[2026-09-17 15:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb3a560012d7d428006016868001400b727..."} 
[2026-09-17 15:00:25] local.INFO: Processing buffer {"connection_id":185392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb3a560012d7d428006016868001400b727..."} 
[2026-09-17 15:00:25] local.INFO: Packet analysis {"connection_id":185392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:00:25] local.INFO: Extracted packet for processing {"connection_id":185392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":100755560,"longitude_deg":76.3183744,"latitude_deg":10.075556,"altitude":20,"angle":183,"satellites":39,"speed":39,"hex_longitude":"2d7d4280","hex_latitude":"06016868","is_valid_coordinates":true} 
[2026-09-17 15:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147172864001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134247466353557504,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053929779200,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789637404000,"timestamp_ms":1789637404000,"timestamp_seconds":1789637404,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb3a560"} 
[2026-09-17 15:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147172864001,"66":13515,"196":206,"87":10496,"24":39,"16":134247466353557504,"45":9026621053929779200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-09-17 15:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147172864001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:00:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-17 15:00:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 15:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134247466353557504,"km_value":134247466353557.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053929779200,"description":"Unknown IO ID 45"} 
[2026-09-17 15:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147172864001,"power":13515,"unknown_196":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":9026621053929779200}} 
[2026-09-17 15:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":185392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:00:25] local.INFO: GPS data processed {"connection_id":185392,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:00:25] local.INFO: Acknowledgment sent {"connection_id":185392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:00:34] local.INFO: TCP Data received {"connection_id":188019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb343b8012d0736400702d788001100272b..."} 
[2026-09-17 15:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb343b8012d0736400702d788001100272b..."} 
[2026-09-17 15:00:34] local.INFO: Processing buffer {"connection_id":188019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb343b8012d0736400702d788001100272b..."} 
[2026-09-17 15:00:34] local.INFO: Packet analysis {"connection_id":188019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:00:34] local.INFO: Extracted packet for processing {"connection_id":188019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":755447360,"raw_latitude":117626760,"longitude_deg":75.544736,"latitude_deg":11.762676,"altitude":17,"angle":39,"satellites":43,"speed":21,"hex_longitude":"2d073640","hex_latitude":"0702d788","is_valid_coordinates":true} 
[2026-09-17 15:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147168768001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32839221160968192,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":519462099631847424,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789637379000,"timestamp_ms":1789637379000,"timestamp_seconds":1789637379,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb343b8"} 
[2026-09-17 15:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 15:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147168768001,"66":14374,"59":206,"94":11008,"24":21,"16":32839221160968192,"45":519462099631847424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-17 15:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147168768001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:00:34] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 15:00:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32839221160968192,"km_value":32839221160968.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":519462099631847424,"description":"Unknown IO ID 45"} 
[2026-09-17 15:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147168768001,"power":14374,"unknown_59":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":519462099631847424}} 
[2026-09-17 15:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":188019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856123,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:00:34] local.INFO: GPS data processed {"connection_id":188019,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:00:34] local.INFO: Acknowledgment sent {"connection_id":188019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:00:52] local.INFO: TCP Data received {"connection_id":185391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:00:52] local.INFO: Processing buffer {"connection_id":185391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:00:52] local.INFO: Packet analysis {"connection_id":185391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 15:00:52] local.INFO: Extracted packet for processing {"connection_id":185391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 15:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 15:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:00:52] 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-09-17 15:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 15:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:00:52] 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-09-17 15:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 15:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 15:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":185391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:00:52] local.INFO: GPS data processed {"connection_id":185391,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:00:52] local.INFO: Acknowledgment sent {"connection_id":185391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:00:56] local.INFO: TCP Data received {"connection_id":185392,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb3c888012d7d3e0006014588001100bf28..."} 
[2026-09-17 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb3c888012d7d3e0006014588001100bf28..."} 
[2026-09-17 15:00:56] local.INFO: Processing buffer {"connection_id":185392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb3c888012d7d3e0006014588001100bf28..."} 
[2026-09-17 15:00:56] local.INFO: Packet analysis {"connection_id":185392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:00:56] local.INFO: Extracted packet for processing {"connection_id":185392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":100746632,"longitude_deg":76.3182592,"latitude_deg":10.0746632,"altitude":17,"angle":191,"satellites":40,"speed":42,"hex_longitude":"2d7d3e00","hex_latitude":"06014588","is_valid_coordinates":true} 
[2026-09-17 15:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147175424001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134247904440221696,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917366485673984,"note":"Value kept but may cause issues"} 
[2026-09-17 15:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789637413000,"timestamp_ms":1789637413000,"timestamp_seconds":1789637413,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb3c888"} 
[2026-09-17 15:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 15:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147175424001,"66":12765,"196":206,"87":10496,"24":42,"16":134247904440221696,"45":9025917366485673984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-09-17 15:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147175424001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:00:56] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-17 15:00:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 15:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134247904440221696,"km_value":134247904440221.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917366485673984,"description":"Unknown IO ID 45"} 
[2026-09-17 15:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147175424001,"power":12765,"unknown_196":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":9025917366485673984}} 
[2026-09-17 15:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":185392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:00:56] local.INFO: GPS data processed {"connection_id":185392,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:00:56] local.INFO: Acknowledgment sent {"connection_id":185392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:00:56] local.INFO: TCP Data received {"connection_id":185393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:00:56] local.INFO: Processing buffer {"connection_id":185393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:00:56] local.INFO: IMEI packet received {"connection_id":185393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":185393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:01:02] local.INFO: TCP Data received {"connection_id":185393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:01:02] local.INFO: Processing buffer {"connection_id":185393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:01:02] local.INFO: IMEI packet received {"connection_id":185393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":185393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:01:03] local.INFO: TCP Data received {"connection_id":185393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb347a0012d0738400702d8b80010003e2a..."} 
[2026-09-17 15:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb347a0012d0738400702d8b80010003e2a..."} 
[2026-09-17 15:01:03] local.INFO: Processing buffer {"connection_id":185393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb347a0012d0738400702d8b80010003e2a..."} 
[2026-09-17 15:01:03] local.INFO: Packet analysis {"connection_id":185393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:01:03] local.INFO: Extracted packet for processing {"connection_id":185393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb3"} 
[2026-09-17 15:01:03] local.INFO: GPS Element Parsed {"raw_longitude":755447872,"raw_latitude":117627064,"longitude_deg":75.5447872,"latitude_deg":11.7627064,"altitude":16,"angle":62,"satellites":42,"speed":22,"hex_longitude":"2d073840","hex_latitude":"0702d8b8","is_valid_coordinates":true} 
[2026-09-17 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147169024001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32839246930771968,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":519673205864499200,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789637380000,"timestamp_ms":1789637380000,"timestamp_seconds":1789637380,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb347a0"} 
[2026-09-17 15:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 15:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147169024001,"66":14374,"59":206,"94":11008,"24":22,"16":32839246930771968,"45":519673205864499200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-17 15:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147169024001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:01:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-17 15:01:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32839246930771968,"km_value":32839246930771.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":519673205864499200,"description":"Unknown IO ID 45"} 
[2026-09-17 15:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147169024001,"power":14374,"unknown_59":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":519673205864499200}} 
[2026-09-17 15:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":185393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856126,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:01:03] local.INFO: GPS data processed {"connection_id":185393,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:01:03] local.INFO: Acknowledgment sent {"connection_id":185393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:01:15] local.INFO: TCP Data received {"connection_id":185259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:01:15] local.INFO: Processing buffer {"connection_id":185259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:01:15] local.INFO: IMEI packet received {"connection_id":185259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":185259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:01:20] local.INFO: TCP Data received {"connection_id":185259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:01:20] local.INFO: Processing buffer {"connection_id":185259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:01:20] local.INFO: IMEI packet received {"connection_id":185259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":185259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:01:21] local.INFO: TCP Data received {"connection_id":185259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:01:21] local.INFO: Processing buffer {"connection_id":185259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:01:21] local.INFO: Packet analysis {"connection_id":185259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 15:01:21] local.INFO: Extracted packet for processing {"connection_id":185259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 15:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 15:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:01:21] 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-09-17 15:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 15:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:01:21] 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-09-17 15:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:01:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 15:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 15:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":185259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:01:21] local.INFO: GPS data processed {"connection_id":185259,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:01:21] local.INFO: Acknowledgment sent {"connection_id":185259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:01:29] local.INFO: TCP Data received {"connection_id":185394,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:01:29] local.INFO: Processing buffer {"connection_id":185394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:01:29] local.INFO: IMEI packet received {"connection_id":185394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":185394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:01:31] local.INFO: TCP Data received {"connection_id":185394,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:01:31] local.INFO: Processing buffer {"connection_id":185394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:01:31] local.INFO: IMEI packet received {"connection_id":185394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":185394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:01:36] local.INFO: TCP Data received {"connection_id":185393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb4e998012d0835c00702b6300010007029..."} 
[2026-09-17 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb4e998012d0835c00702b6300010007029..."} 
[2026-09-17 15:01:36] local.INFO: Processing buffer {"connection_id":185393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb4e998012d0835c00702b6300010007029..."} 
[2026-09-17 15:01:36] local.INFO: Packet analysis {"connection_id":185393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:01:36] local.INFO: Extracted packet for processing {"connection_id":185393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":755512768,"raw_latitude":117618224,"longitude_deg":75.5512768,"latitude_deg":11.7618224,"altitude":16,"angle":112,"satellites":41,"speed":26,"hex_longitude":"2d0835c0","hex_latitude":"0702b630","is_valid_coordinates":true} 
[2026-09-17 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147194624001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32842446681407488,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":585045769203611648,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789637487000,"timestamp_ms":1789637487000,"timestamp_seconds":1789637487,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb4e998"} 
[2026-09-17 15:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 15:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147194624001,"66":14450,"15":206,"94":11008,"24":26,"16":32842446681407488,"45":585045769203611648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,94,24,16,45]} 
[2026-09-17 15:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147194624001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:01:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-17 15:01:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32842446681407488,"km_value":32842446681407.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":585045769203611648,"description":"Unknown IO ID 45"} 
[2026-09-17 15:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147194624001,"power":14450,"unknown_15":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":585045769203611648}} 
[2026-09-17 15:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":185393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856128,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:01:36] local.INFO: GPS data processed {"connection_id":185393,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:01:36] local.INFO: Acknowledgment sent {"connection_id":185393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:01:44] local.INFO: TCP Data received {"connection_id":185394,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:01:44] local.INFO: Processing buffer {"connection_id":185394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:01:44] local.INFO: IMEI packet received {"connection_id":185394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":185394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:01:45] local.INFO: TCP Data received {"connection_id":185394,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb4e5b0012d7d80400600a7b00011007626..."} 
[2026-09-17 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb4e5b0012d7d80400600a7b00011007626..."} 
[2026-09-17 15:01:45] local.INFO: Processing buffer {"connection_id":185394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb4e5b0012d7d80400600a7b00011007626..."} 
[2026-09-17 15:01:45] local.INFO: Packet analysis {"connection_id":185394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:01:45] local.INFO: Extracted packet for processing {"connection_id":185394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763199552,"raw_latitude":100706224,"longitude_deg":76.3199552,"latitude_deg":10.0706224,"altitude":17,"angle":118,"satellites":38,"speed":67,"hex_longitude":"2d7d8040","hex_latitude":"0600a7b0","is_valid_coordinates":true} 
[2026-09-17 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147195136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134251009701576704,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9034783828240203776,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789637486000,"timestamp_ms":1789637486000,"timestamp_seconds":1789637486,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb4e5b0"} 
[2026-09-17 15:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 15:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147195136001,"66":13189,"158":206,"87":10496,"24":67,"16":134251009701576704,"45":9034783828240203776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 15:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147195136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:01:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 15:01:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 15:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134251009701576704,"km_value":134251009701576.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9034783828240203776,"description":"Unknown IO ID 45"} 
[2026-09-17 15:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147195136001,"power":13189,"unknown_158":206,"unknown_87":10496,"ignition":67,"odometer":null,"unknown_45":9034783828240203776}} 
[2026-09-17 15:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":185394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:01:45] local.INFO: GPS data processed {"connection_id":185394,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:01:45] local.INFO: Acknowledgment sent {"connection_id":185394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:01:48] local.INFO: TCP Data received {"connection_id":185394,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb4fd20012d7da14006009098000f008228..."} 
[2026-09-17 15:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb4fd20012d7da14006009098000f008228..."} 
[2026-09-17 15:01:48] local.INFO: Processing buffer {"connection_id":185394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb4fd20012d7da14006009098000f008228..."} 
[2026-09-17 15:01:48] local.INFO: Packet analysis {"connection_id":185394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:01:48] local.INFO: Extracted packet for processing {"connection_id":185394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:01:48] local.INFO: GPS Element Parsed {"raw_longitude":763208000,"raw_latitude":100700312,"longitude_deg":76.3208,"latitude_deg":10.0700312,"altitude":15,"angle":130,"satellites":40,"speed":66,"hex_longitude":"2d7da140","hex_latitude":"06009098","is_valid_coordinates":true} 
[2026-09-17 15:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147196416001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134251503622815744,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9043298446284926976,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789637492000,"timestamp_ms":1789637492000,"timestamp_seconds":1789637492,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb4fd20"} 
[2026-09-17 15:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":185394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":185394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":185394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147196416001,"66":13243,"158":206,"87":10496,"24":66,"16":134251503622815744,"45":9043298446284926976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 15:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147196416001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:01:48] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 15:01:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 15:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134251503622815744,"km_value":134251503622815.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9043298446284926976,"description":"Unknown IO ID 45"} 
[2026-09-17 15:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147196416001,"power":13243,"unknown_158":206,"unknown_87":10496,"ignition":66,"odometer":null,"unknown_45":9043298446284926976}} 
[2026-09-17 15:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":185394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:01:48] local.INFO: GPS data processed {"connection_id":185394,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:01:48] local.INFO: Acknowledgment sent {"connection_id":185394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:01:53] local.INFO: TCP Data received {"connection_id":185259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:01:53] local.INFO: Processing buffer {"connection_id":185259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb080b0012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:01:53] local.INFO: Packet analysis {"connection_id":185259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 15:01:53] local.INFO: Extracted packet for processing {"connection_id":185259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb0"} 
[2026-09-17 15:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147045120001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011558400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789637198000,"timestamp_ms":1789637198000,"timestamp_seconds":1789637198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb080b0"} 
[2026-09-17 15:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:01:53] 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-09-17 15:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-17 15:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:01:53] 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-09-17 15:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147045120001,"66":26223,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3802445489011558400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147045120001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:01:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011558400,"description":"Unknown IO ID 45"} 
[2026-09-17 15:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147045120001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011558400}} 
[2026-09-17 15:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":185259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:01:53] local.INFO: GPS data processed {"connection_id":185259,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:01:53] local.INFO: Acknowledgment sent {"connection_id":185259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:02:05] local.INFO: TCP Data received {"connection_id":185260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185260,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:05] local.INFO: Processing buffer {"connection_id":185260,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:05] local.INFO: IMEI packet received {"connection_id":185260,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":185260,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:02:06] local.INFO: TCP Data received {"connection_id":185260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185260,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:06] local.INFO: Processing buffer {"connection_id":185260,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:06] local.INFO: IMEI packet received {"connection_id":185260,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":185260,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:02:12] local.INFO: TCP Data received {"connection_id":185260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185260,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:12] local.INFO: Processing buffer {"connection_id":185260,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:12] local.INFO: IMEI packet received {"connection_id":185260,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":185260,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:02:13] local.INFO: TCP Data received {"connection_id":185260,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb4f168012d083a800702b3a8000f007c28..."} 
[2026-09-17 15:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb4f168012d083a800702b3a8000f007c28..."} 
[2026-09-17 15:02:13] local.INFO: Processing buffer {"connection_id":185260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb4f168012d083a800702b3a8000f007c28..."} 
[2026-09-17 15:02:13] local.INFO: Packet analysis {"connection_id":185260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:02:13] local.INFO: Extracted packet for processing {"connection_id":185260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:02:13] local.INFO: GPS Element Parsed {"raw_longitude":755513984,"raw_latitude":117617576,"longitude_deg":75.5513984,"latitude_deg":11.7617576,"altitude":15,"angle":124,"satellites":40,"speed":28,"hex_longitude":"2d083a80","hex_latitude":"0702b3a8","is_valid_coordinates":true} 
[2026-09-17 15:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147196672001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32842511105916928,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":591590062411886592,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789637489000,"timestamp_ms":1789637489000,"timestamp_seconds":1789637489,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb4f168"} 
[2026-09-17 15:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 15:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147196672001,"66":14439,"15":206,"94":11008,"24":28,"16":32842511105916928,"45":591590062411886592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,94,24,16,45]} 
[2026-09-17 15:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147196672001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:02:13] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-17 15:02:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32842511105916928,"km_value":32842511105916.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":591590062411886592,"description":"Unknown IO ID 45"} 
[2026-09-17 15:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147196672001,"power":14439,"unknown_15":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":591590062411886592}} 
[2026-09-17 15:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":185260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856132,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:02:13] local.INFO: GPS data processed {"connection_id":185260,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:02:13] local.INFO: Acknowledgment sent {"connection_id":185260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:02:15] local.INFO: TCP Data received {"connection_id":185395,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:02:15] local.INFO: Processing buffer {"connection_id":185395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:02:15] local.INFO: IMEI packet received {"connection_id":185395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":185395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:02:17] local.INFO: TCP Data received {"connection_id":185395,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:02:17] local.INFO: Processing buffer {"connection_id":185395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:02:17] local.INFO: IMEI packet received {"connection_id":185395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":185395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:02:19] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:02:19] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:02:19] local.INFO: IMEI packet received {"connection_id":186708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":186708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:02:20] local.INFO: TCP Data received {"connection_id":185395,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:02:20] local.INFO: Processing buffer {"connection_id":185395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:02:20] local.INFO: IMEI packet received {"connection_id":185395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":185395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:02:21] local.INFO: TCP Data received {"connection_id":185395,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:02:21] local.INFO: Processing buffer {"connection_id":185395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:02:21] local.INFO: Packet analysis {"connection_id":185395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:02:21] local.INFO: Extracted packet for processing {"connection_id":185395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:02: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-09-17 15:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:02:21] 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-09-17 15:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:02:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":185395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:02:21] local.INFO: GPS data processed {"connection_id":185395,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:02:21] local.INFO: Acknowledgment sent {"connection_id":185395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:02:32] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:02:32] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:02:32] local.INFO: IMEI packet received {"connection_id":186708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":186708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:02:33] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:02:33] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:02:33] local.INFO: IMEI packet received {"connection_id":186708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":186708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:02:34] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb4fd20012d7da14006009098000f008228..."} 
[2026-09-17 15:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb4fd20012d7da14006009098000f008228..."} 
[2026-09-17 15:02:34] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb4fd20012d7da14006009098000f008228..."} 
[2026-09-17 15:02:34] local.INFO: Packet analysis {"connection_id":186708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:02:34] local.INFO: Extracted packet for processing {"connection_id":186708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb4"} 
[2026-09-17 15:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763208000,"raw_latitude":100700312,"longitude_deg":76.3208,"latitude_deg":10.0700312,"altitude":15,"angle":130,"satellites":40,"speed":66,"hex_longitude":"2d7da140","hex_latitude":"06009098","is_valid_coordinates":true} 
[2026-09-17 15:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147197952001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134251503622815744,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052587120514865152,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789637492000,"timestamp_ms":1789637492000,"timestamp_seconds":1789637492,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb4fd20"} 
[2026-09-17 15:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 15:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147197952001,"66":13243,"158":206,"87":10496,"24":66,"16":134251503622815744,"45":9052587120514865152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 15:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147197952001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:02:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 15:02:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 15:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134251503622815744,"km_value":134251503622815.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052587120514865152,"description":"Unknown IO ID 45"} 
[2026-09-17 15:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147197952001,"power":13243,"unknown_158":206,"unknown_87":10496,"ignition":66,"odometer":null,"unknown_45":9052587120514865152}} 
[2026-09-17 15:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":186708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:02:34] local.INFO: GPS data processed {"connection_id":186708,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:02:34] local.INFO: Acknowledgment sent {"connection_id":186708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:02:35] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51490012d7db8c0060077a8000f008e28..."} 
[2026-09-17 15:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51490012d7db8c0060077a8000f008e28..."} 
[2026-09-17 15:02:35] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51490012d7db8c0060077a8000f008e28..."} 
[2026-09-17 15:02:35] local.INFO: Packet analysis {"connection_id":186708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:02:35] local.INFO: Extracted packet for processing {"connection_id":186708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763214016,"raw_latitude":100693928,"longitude_deg":76.3214016,"latitude_deg":10.0693928,"altitude":15,"angle":142,"satellites":40,"speed":53,"hex_longitude":"2d7db8c0","hex_latitude":"060077a8","is_valid_coordinates":true} 
[2026-09-17 15:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147197952001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134251928824578048,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052587120514865152,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789637498000,"timestamp_ms":1789637498000,"timestamp_seconds":1789637498,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51490"} 
[2026-09-17 15:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 15:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147197952001,"66":13450,"158":206,"87":10496,"24":53,"16":134251928824578048,"45":9052587120514865152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 15:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147197952001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:02:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 15:02:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-17 15:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134251928824578048,"km_value":134251928824578.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052587120514865152,"description":"Unknown IO ID 45"} 
[2026-09-17 15:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147197952001,"power":13450,"unknown_158":206,"unknown_87":10496,"ignition":53,"odometer":null,"unknown_45":9052587120514865152}} 
[2026-09-17 15:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":186708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:02:35] local.INFO: GPS data processed {"connection_id":186708,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:02:35] local.INFO: Acknowledgment sent {"connection_id":186708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:02:52] local.INFO: TCP Data received {"connection_id":185395,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:02:52] local.INFO: Processing buffer {"connection_id":185395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:02:52] local.INFO: Packet analysis {"connection_id":185395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:02:52] local.INFO: Extracted packet for processing {"connection_id":185395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:02:52] 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-09-17 15:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:02:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":185395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:02:52] local.INFO: GPS data processed {"connection_id":185395,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:02:52] local.INFO: Acknowledgment sent {"connection_id":185395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:02:54] local.INFO: TCP Data received {"connection_id":188020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188020,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:54] local.INFO: Processing buffer {"connection_id":188020,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:54] local.INFO: IMEI packet received {"connection_id":188020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":188020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:02:57] local.INFO: TCP Data received {"connection_id":188020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188020,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:57] local.INFO: Processing buffer {"connection_id":188020,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:02:57] local.INFO: IMEI packet received {"connection_id":188020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":188020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:02:58] local.INFO: TCP Data received {"connection_id":188020,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 15:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188020,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 15:02:58] local.INFO: Processing buffer {"connection_id":188020,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 15:02:58] local.INFO: IMEI packet received {"connection_id":188020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":188020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:03:20] local.INFO: TCP Data received {"connection_id":185396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:03:20] local.INFO: Processing buffer {"connection_id":185396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:03:20] local.INFO: IMEI packet received {"connection_id":185396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":185396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:03:20] local.INFO: TCP Data received {"connection_id":185261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:03:20] local.INFO: Processing buffer {"connection_id":185261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:03:20] local.INFO: IMEI packet received {"connection_id":185261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":185261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:03:21] local.INFO: TCP Data received {"connection_id":185396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:03:21] local.INFO: Processing buffer {"connection_id":185396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:03:21] local.INFO: IMEI packet received {"connection_id":185396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":185396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:03:25] local.INFO: TCP Data received {"connection_id":185261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:03:25] local.INFO: Processing buffer {"connection_id":185261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:03:25] local.INFO: IMEI packet received {"connection_id":185261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":185261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:03:25] local.INFO: TCP Data received {"connection_id":185396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:03:25] local.INFO: Processing buffer {"connection_id":185396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:03:25] local.INFO: IMEI packet received {"connection_id":185396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":185396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:03:26] local.INFO: TCP Data received {"connection_id":185261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:03:26] local.INFO: Processing buffer {"connection_id":185261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:03:26] local.INFO: Packet analysis {"connection_id":185261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:03:26] local.INFO: Extracted packet for processing {"connection_id":185261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:03:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:03:26] 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-09-17 15:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:03:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:03:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":185261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:03:26] local.INFO: GPS data processed {"connection_id":185261,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:03:26] local.INFO: Acknowledgment sent {"connection_id":185261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:03:27] local.INFO: TCP Data received {"connection_id":185396,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb64158012d7e828005ffb520000f00bc29..."} 
[2026-09-17 15:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb64158012d7e828005ffb520000f00bc29..."} 
[2026-09-17 15:03:27] local.INFO: Processing buffer {"connection_id":185396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb64158012d7e828005ffb520000f00bc29..."} 
[2026-09-17 15:03:27] local.INFO: Packet analysis {"connection_id":185396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:03:27] local.INFO: Extracted packet for processing {"connection_id":185396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763265664,"raw_latitude":100644128,"longitude_deg":76.3265664,"latitude_deg":10.0644128,"altitude":15,"angle":188,"satellites":41,"speed":12,"hex_longitude":"2d7e8280","hex_latitude":"05ffb520","is_valid_coordinates":true} 
[2026-09-17 15:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147218944001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134255459287695360,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115989359004631040,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789637575000,"timestamp_ms":1789637575000,"timestamp_seconds":1789637575,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb64158"} 
[2026-09-17 15:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 15:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147218944001,"66":13406,"97":206,"87":10752,"24":12,"16":134255459287695360,"45":9115989359004631040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-09-17 15:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147218944001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:03:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:03:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134255459287695360,"km_value":134255459287695.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115989359004631040,"description":"Unknown IO ID 45"} 
[2026-09-17 15:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147218944001,"power":13406,"unknown_97":206,"unknown_87":10752,"ignition":12,"odometer":null,"unknown_45":9115989359004631040}} 
[2026-09-17 15:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":185396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:03:27] local.INFO: GPS data processed {"connection_id":185396,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:03:27] local.INFO: Acknowledgment sent {"connection_id":185396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:03:31] local.INFO: TCP Data received {"connection_id":185261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:03:31] local.INFO: Processing buffer {"connection_id":185261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:03:31] local.INFO: Packet analysis {"connection_id":185261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:03:31] local.INFO: Extracted packet for processing {"connection_id":185261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:03:31] 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-09-17 15:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":185261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:03:31] local.INFO: GPS data processed {"connection_id":185261,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:03:31] local.INFO: Acknowledgment sent {"connection_id":185261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:03:58] local.INFO: TCP Data received {"connection_id":185396,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb64540012d7e824005ffb3f8001000c828..."} 
[2026-09-17 15:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb64540012d7e824005ffb3f8001000c828..."} 
[2026-09-17 15:03:58] local.INFO: Processing buffer {"connection_id":185396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb64540012d7e824005ffb3f8001000c828..."} 
[2026-09-17 15:03:58] local.INFO: Packet analysis {"connection_id":185396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:03:58] local.INFO: Extracted packet for processing {"connection_id":185396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763265600,"raw_latitude":100643832,"longitude_deg":76.32656,"latitude_deg":10.0643832,"altitude":16,"angle":200,"satellites":40,"speed":12,"hex_longitude":"2d7e8240","hex_latitude":"05ffb3f8","is_valid_coordinates":true} 
[2026-09-17 15:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147219200001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134255472172597248,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115989359004557312,"note":"Value kept but may cause issues"} 
[2026-09-17 15:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789637576000,"timestamp_ms":1789637576000,"timestamp_seconds":1789637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb64540"} 
[2026-09-17 15:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 15:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147219200001,"66":13102,"97":206,"87":10752,"24":12,"16":134255472172597248,"45":9115989359004557312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-09-17 15:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147219200001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:03:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:03:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134255472172597248,"km_value":134255472172597.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115989359004557312,"description":"Unknown IO ID 45"} 
[2026-09-17 15:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147219200001,"power":13102,"unknown_97":206,"unknown_87":10752,"ignition":12,"odometer":null,"unknown_45":9115989359004557312}} 
[2026-09-17 15:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":185396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:03:58] local.INFO: GPS data processed {"connection_id":185396,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:03:58] local.INFO: Acknowledgment sent {"connection_id":185396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:04:15] local.INFO: TCP Data received {"connection_id":188022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:04:15] local.INFO: Processing buffer {"connection_id":188022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:04:15] local.INFO: IMEI packet received {"connection_id":188022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":188022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:04:20] local.INFO: TCP Data received {"connection_id":188022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:04:20] local.INFO: Processing buffer {"connection_id":188022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:04:20] local.INFO: IMEI packet received {"connection_id":188022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":188022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:04:21] local.INFO: TCP Data received {"connection_id":188022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:04:21] local.INFO: Processing buffer {"connection_id":188022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:04:21] local.INFO: Packet analysis {"connection_id":188022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:04:21] local.INFO: Extracted packet for processing {"connection_id":188022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:04: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-09-17 15:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:04:21] 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-09-17 15:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:04:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:04:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":188022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:04:21] local.INFO: GPS data processed {"connection_id":188022,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:04:21] local.INFO: Acknowledgment sent {"connection_id":188022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:04:24] local.INFO: TCP Data received {"connection_id":188023,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:04:24] local.INFO: Processing buffer {"connection_id":188023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:04:24] local.INFO: IMEI packet received {"connection_id":188023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":188023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:04:25] local.INFO: TCP Data received {"connection_id":188021,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:04:25] local.INFO: Processing buffer {"connection_id":188021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:04:25] local.INFO: IMEI packet received {"connection_id":188021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":188021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:04:28] local.INFO: TCP Data received {"connection_id":188023,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:04:28] local.INFO: Processing buffer {"connection_id":188023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:04:28] local.INFO: IMEI packet received {"connection_id":188023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":188023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:04:30] local.INFO: TCP Data received {"connection_id":188023,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb64d10012d7e80c005ffb168001000d628..."} 
[2026-09-17 15:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb64d10012d7e80c005ffb168001000d628..."} 
[2026-09-17 15:04:30] local.INFO: Processing buffer {"connection_id":188023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb64d10012d7e80c005ffb168001000d628..."} 
[2026-09-17 15:04:30] local.INFO: Packet analysis {"connection_id":188023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:04:30] local.INFO: Extracted packet for processing {"connection_id":188023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763265216,"raw_latitude":100643176,"longitude_deg":76.3265216,"latitude_deg":10.0643176,"altitude":16,"angle":214,"satellites":40,"speed":18,"hex_longitude":"2d7e80c0","hex_latitude":"05ffb168","is_valid_coordinates":true} 
[2026-09-17 15:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147219456001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134255510827302912,"note":"Value kept but may cause issues"} 
[2026-09-17 15:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115918990260303872,"note":"Value kept but may cause issues"} 
[2026-09-17 15:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789637578000,"timestamp_ms":1789637578000,"timestamp_seconds":1789637578,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb64d10"} 
[2026-09-17 15:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 15:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147219456001,"66":12602,"97":206,"87":10752,"24":18,"16":134255510827302912,"45":9115918990260303872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-09-17 15:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147219456001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:04:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:04:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134255510827302912,"km_value":134255510827302.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115918990260303872,"description":"Unknown IO ID 45"} 
[2026-09-17 15:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147219456001,"power":12602,"unknown_97":206,"unknown_87":10752,"ignition":18,"odometer":null,"unknown_45":9115918990260303872}} 
[2026-09-17 15:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":188023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:04:30] local.INFO: GPS data processed {"connection_id":188023,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:04:30] local.INFO: Acknowledgment sent {"connection_id":188023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:04:50] local.INFO: TCP Data received {"connection_id":185397,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:04:50] local.INFO: Processing buffer {"connection_id":185397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:04:50] local.INFO: IMEI packet received {"connection_id":185397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":185397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:04:53] local.INFO: TCP Data received {"connection_id":188022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:04:53] local.INFO: Processing buffer {"connection_id":188022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:04:53] local.INFO: Packet analysis {"connection_id":188022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:04:53] local.INFO: Extracted packet for processing {"connection_id":188022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:04:53] 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-09-17 15:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":188022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:04:53] local.INFO: GPS data processed {"connection_id":188022,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:04:53] local.INFO: Acknowledgment sent {"connection_id":188022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:05:01] local.INFO: TCP Data received {"connection_id":188023,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb67420012d7e6d8005ff9c20001300e426..."} 
[2026-09-17 15:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb67420012d7e6d8005ff9c20001300e426..."} 
[2026-09-17 15:05:01] local.INFO: Processing buffer {"connection_id":188023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb67420012d7e6d8005ff9c20001300e426..."} 
[2026-09-17 15:05:01] local.INFO: Packet analysis {"connection_id":188023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:05:01] local.INFO: Extracted packet for processing {"connection_id":188023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763260288,"raw_latitude":100637728,"longitude_deg":76.3260288,"latitude_deg":10.0637728,"altitude":19,"angle":228,"satellites":38,"speed":32,"hex_longitude":"2d7e6d80","hex_latitude":"05ff9c20","is_valid_coordinates":true} 
[2026-09-17 15:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147219968001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134255863014621184,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115496777795069952,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789637588000,"timestamp_ms":1789637588000,"timestamp_seconds":1789637588,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb67420"} 
[2026-09-17 15:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-17 15:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147219968001,"66":13374,"97":206,"87":10752,"24":32,"16":134255863014621184,"45":9115496777795069952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-09-17 15:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147219968001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:05:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:05:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134255863014621184,"km_value":134255863014621.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115496777795069952,"description":"Unknown IO ID 45"} 
[2026-09-17 15:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147219968001,"power":13374,"unknown_97":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":9115496777795069952}} 
[2026-09-17 15:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":188023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:05:01] local.INFO: GPS data processed {"connection_id":188023,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:05:01] local.INFO: Acknowledgment sent {"connection_id":188023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:05:15] local.INFO: TCP Data received {"connection_id":185262,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:05:15] local.INFO: Processing buffer {"connection_id":185262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:05:15] local.INFO: IMEI packet received {"connection_id":185262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":185262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:05:16] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:05:16] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:05:16] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:05:20] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:05:20] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:05:20] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:05:21] local.INFO: TCP Data received {"connection_id":185262,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:05:21] local.INFO: Processing buffer {"connection_id":185262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:05:21] local.INFO: IMEI packet received {"connection_id":185262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":185262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:05:22] local.INFO: TCP Data received {"connection_id":185262,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:05:22] local.INFO: Processing buffer {"connection_id":185262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:05:22] local.INFO: Packet analysis {"connection_id":185262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:05:22] local.INFO: Extracted packet for processing {"connection_id":185262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:05: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-09-17 15:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:05:22] 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-09-17 15:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:05:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":185262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:05:22] local.INFO: GPS data processed {"connection_id":185262,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:05:22] local.INFO: Acknowledgment sent {"connection_id":185262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:05:25] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:05:25] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:05:25] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:05:26] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb69b30012d7e520005ff80e8001700e224..."} 
[2026-09-17 15:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb69b30012d7e520005ff80e8001700e224..."} 
[2026-09-17 15:05:26] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb69b30012d7e520005ff80e8001700e224..."} 
[2026-09-17 15:05:26] local.INFO: Packet analysis {"connection_id":186712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:05:26] local.INFO: Extracted packet for processing {"connection_id":186712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb6"} 
[2026-09-17 15:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763253248,"raw_latitude":100630760,"longitude_deg":76.3253248,"latitude_deg":10.063076,"altitude":23,"angle":226,"satellites":36,"speed":42,"hex_longitude":"2d7e5200","hex_latitude":"05ff80e8","is_valid_coordinates":true} 
[2026-09-17 15:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147222528001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134256339755991040,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9110078384491995136,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789637598000,"timestamp_ms":1789637598000,"timestamp_seconds":1789637598,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb69b30"} 
[2026-09-17 15:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 15:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147222528001,"66":13319,"97":206,"87":10752,"24":42,"16":134256339755991040,"45":9110078384491995136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-09-17 15:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147222528001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:05:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:05:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134256339755991040,"km_value":134256339755991.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9110078384491995136,"description":"Unknown IO ID 45"} 
[2026-09-17 15:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147222528001,"power":13319,"unknown_97":206,"unknown_87":10752,"ignition":42,"odometer":null,"unknown_45":9110078384491995136}} 
[2026-09-17 15:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":186712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:05:26] local.INFO: GPS data processed {"connection_id":186712,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:05:26] local.INFO: Acknowledgment sent {"connection_id":186712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:05:53] local.INFO: TCP Data received {"connection_id":185262,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:05:53] local.INFO: Processing buffer {"connection_id":185262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:05:53] local.INFO: Packet analysis {"connection_id":185262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:05:53] local.INFO: Extracted packet for processing {"connection_id":185262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:05:53] 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-09-17 15:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":185262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:05:53] local.INFO: GPS data processed {"connection_id":185262,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:05:53] local.INFO: Acknowledgment sent {"connection_id":185262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:05:57] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb8d580012d7dba4005fe0590001400d221..."} 
[2026-09-17 15:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb8d580012d7dba4005fe0590001400d221..."} 
[2026-09-17 15:05:57] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb8d580012d7dba4005fe0590001400d221..."} 
[2026-09-17 15:05:57] local.INFO: Packet analysis {"connection_id":186712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb8"} 
[2026-09-17 15:05:57] local.INFO: Extracted packet for processing {"connection_id":186712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb8"} 
[2026-09-17 15:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763214400,"raw_latitude":100533648,"longitude_deg":76.32144,"latitude_deg":10.0533648,"altitude":20,"angle":210,"satellites":33,"speed":49,"hex_longitude":"2d7dba40","hex_latitude":"05fe0590","is_valid_coordinates":true} 
[2026-09-17 15:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147261184001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134261734234914816,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062509113402701824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789637744000,"timestamp_ms":1789637744000,"timestamp_seconds":1789637744,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb8d580"} 
[2026-09-17 15:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147261184001,"66":13428,"38":206,"87":10752,"24":49,"16":134261734234914816,"45":9062509113402701824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-09-17 15:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147261184001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:05:57] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-17 15:05:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134261734234914816,"km_value":134261734234914.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062509113402701824,"description":"Unknown IO ID 45"} 
[2026-09-17 15:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147261184001,"power":13428,"unknown_38":206,"unknown_87":10752,"ignition":49,"odometer":null,"unknown_45":9062509113402701824}} 
[2026-09-17 15:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":186712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:05:57] local.INFO: GPS data processed {"connection_id":186712,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:05:57] local.INFO: Acknowledgment sent {"connection_id":186712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:06:15] local.INFO: TCP Data received {"connection_id":185398,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:06:15] local.INFO: Processing buffer {"connection_id":185398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:06:15] local.INFO: IMEI packet received {"connection_id":185398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":185398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:06:18] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:06:18] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:06:18] local.INFO: IMEI packet received {"connection_id":186714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":186714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:06:20] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:06:20] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:06:20] local.INFO: IMEI packet received {"connection_id":186714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":186714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:06:20] local.INFO: TCP Data received {"connection_id":185398,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:06:20] local.INFO: Processing buffer {"connection_id":185398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:06:20] local.INFO: IMEI packet received {"connection_id":185398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":185398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:06:21] local.INFO: TCP Data received {"connection_id":185398,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:06:21] local.INFO: Processing buffer {"connection_id":185398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:06:21] local.INFO: Packet analysis {"connection_id":185398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:06:21] local.INFO: Extracted packet for processing {"connection_id":185398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:06: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-09-17 15:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:06:21] 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-09-17 15:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:06:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":185398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:06:21] local.INFO: GPS data processed {"connection_id":185398,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:06:21] local.INFO: Acknowledgment sent {"connection_id":185398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:06:25] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:06:25] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:06:25] local.INFO: IMEI packet received {"connection_id":186714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":186714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:06:26] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb8e908012d7dac8005fdf290001300dd23..."} 
[2026-09-17 15:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb8e908012d7dac8005fdf290001300dd23..."} 
[2026-09-17 15:06:26] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb8e908012d7dac8005fdf290001300dd23..."} 
[2026-09-17 15:06:26] local.INFO: Packet analysis {"connection_id":186714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb8"} 
[2026-09-17 15:06:26] local.INFO: Extracted packet for processing {"connection_id":186714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb8"} 
[2026-09-17 15:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763210880,"raw_latitude":100528784,"longitude_deg":76.321088,"latitude_deg":10.0528784,"altitude":19,"angle":221,"satellites":35,"speed":44,"hex_longitude":"2d7dac80","hex_latitude":"05fdf290","is_valid_coordinates":true} 
[2026-09-17 15:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147262464001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134262021997723648,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059623994889965568,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789637749000,"timestamp_ms":1789637749000,"timestamp_seconds":1789637749,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb8e908"} 
[2026-09-17 15:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 15:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147262464001,"66":13450,"58":206,"87":10752,"24":44,"16":134262021997723648,"45":9059623994889965568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,87,24,16,45]} 
[2026-09-17 15:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147262464001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:06:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-17 15:06:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134262021997723648,"km_value":134262021997723.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059623994889965568,"description":"Unknown IO ID 45"} 
[2026-09-17 15:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147262464001,"power":13450,"unknown_58":206,"unknown_87":10752,"ignition":44,"odometer":null,"unknown_45":9059623994889965568}} 
[2026-09-17 15:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":186714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:06:26] local.INFO: GPS data processed {"connection_id":186714,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:06:26] local.INFO: Acknowledgment sent {"connection_id":186714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:06:53] local.INFO: TCP Data received {"connection_id":185398,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:06:53] local.INFO: Processing buffer {"connection_id":185398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb51878012d34c30006aa4608000a00b528..."} 
[2026-09-17 15:06:53] local.INFO: Packet analysis {"connection_id":185398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:06:53] local.INFO: Extracted packet for processing {"connection_id":185398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb5"} 
[2026-09-17 15:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147122688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789637499000,"timestamp_ms":1789637499000,"timestamp_seconds":1789637499,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb51878"} 
[2026-09-17 15:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-17 15:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:06:53] 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-09-17 15:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147122688001,"66":26082,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147122688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147122688001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":185398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:06:53] local.INFO: GPS data processed {"connection_id":185398,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:06:53] local.INFO: Acknowledgment sent {"connection_id":185398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:06:58] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb8f0d8012d7da60005fdec98001300e824..."} 
[2026-09-17 15:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb8f0d8012d7da60005fdec98001300e824..."} 
[2026-09-17 15:06:58] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb8f0d8012d7da60005fdec98001300e824..."} 
[2026-09-17 15:06:58] local.INFO: Packet analysis {"connection_id":186714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb8"} 
[2026-09-17 15:06:58] local.INFO: Extracted packet for processing {"connection_id":186714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb8"} 
[2026-09-17 15:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763209216,"raw_latitude":100527256,"longitude_deg":76.3209216,"latitude_deg":10.0527256,"altitude":19,"angle":232,"satellites":36,"speed":45,"hex_longitude":"2d7da600","hex_latitude":"05fdec98","is_valid_coordinates":true} 
[2026-09-17 15:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147263744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134262133666873344,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055753713958948864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789637751000,"timestamp_ms":1789637751000,"timestamp_seconds":1789637751,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb8f0d8"} 
[2026-09-17 15:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 15:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147263744001,"66":13450,"58":206,"87":10752,"24":45,"16":134262133666873344,"45":9055753713958948864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,87,24,16,45]} 
[2026-09-17 15:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147263744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:06:58] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-17 15:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134262133666873344,"km_value":134262133666873.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055753713958948864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147263744001,"power":13450,"unknown_58":206,"unknown_87":10752,"ignition":45,"odometer":null,"unknown_45":9055753713958948864}} 
[2026-09-17 15:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":186714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:06:58] local.INFO: GPS data processed {"connection_id":186714,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:06:58] local.INFO: Acknowledgment sent {"connection_id":186714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:07:18] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:07:18] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:07:18] local.INFO: IMEI packet received {"connection_id":185401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":185401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:07:19] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:07:19] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:07:19] local.INFO: IMEI packet received {"connection_id":185263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":185263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:07:20] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:07:20] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:07:20] local.INFO: IMEI packet received {"connection_id":185401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":185401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:07:23] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:07:23] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:07:23] local.INFO: IMEI packet received {"connection_id":185263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":185263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:07:24] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:07:24] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:07:24] local.INFO: IMEI packet received {"connection_id":185263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":185263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:07:25] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb91bd0012d7d87c005fddab0001200e626..."} 
[2026-09-17 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb91bd0012d7d87c005fddab0001200e626..."} 
[2026-09-17 15:07:25] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb91bd0012d7d87c005fddab0001200e626..."} 
[2026-09-17 15:07:25] local.INFO: Packet analysis {"connection_id":185263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:07:25] local.INFO: Extracted packet for processing {"connection_id":185263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763201472,"raw_latitude":100522672,"longitude_deg":76.3201472,"latitude_deg":10.0522672,"altitude":18,"angle":230,"satellites":38,"speed":22,"hex_longitude":"2d7d87c0","hex_latitude":"05fddab0","is_valid_coordinates":true} 
[2026-09-17 15:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147264256001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134262567458570240,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053924126609938432,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789637762000,"timestamp_ms":1789637762000,"timestamp_seconds":1789637762,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb91bd0"} 
[2026-09-17 15:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 15:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147264256001,"66":13254,"58":206,"87":10752,"24":22,"16":134262567458570240,"45":9053924126609938432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,87,24,16,45]} 
[2026-09-17 15:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147264256001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:07:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-17 15:07:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134262567458570240,"km_value":134262567458570.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053924126609938432,"description":"Unknown IO ID 45"} 
[2026-09-17 15:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147264256001,"power":13254,"unknown_58":206,"unknown_87":10752,"ignition":22,"odometer":null,"unknown_45":9053924126609938432}} 
[2026-09-17 15:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":185263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:07:25] local.INFO: GPS data processed {"connection_id":185263,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:07:25] local.INFO: Acknowledgment sent {"connection_id":185263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:07:25] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:07:25] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:07:25] local.INFO: IMEI packet received {"connection_id":185401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":185401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:07:27] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:07:27] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:07:27] local.INFO: Packet analysis {"connection_id":185401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:07:27] local.INFO: Extracted packet for processing {"connection_id":185401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:07:27] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:07:27] 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-09-17 15:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:07:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:07:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":185401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:07:27] local.INFO: GPS data processed {"connection_id":185401,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:07:27] local.INFO: Acknowledgment sent {"connection_id":185401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:07:30] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb92788012d7d828005fdd5b8001300d627..."} 
[2026-09-17 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb92788012d7d828005fdd5b8001300d627..."} 
[2026-09-17 15:07:30] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb92788012d7d828005fdd5b8001300d627..."} 
[2026-09-17 15:07:30] local.INFO: Packet analysis {"connection_id":185263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:07:30] local.INFO: Extracted packet for processing {"connection_id":185263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763200128,"raw_latitude":100521400,"longitude_deg":76.3200128,"latitude_deg":10.05214,"altitude":19,"angle":214,"satellites":39,"speed":27,"hex_longitude":"2d7d8280","hex_latitude":"05fdd5b8","is_valid_coordinates":true} 
[2026-09-17 15:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147267072001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134262653357916160,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9045409508563267584,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789637765000,"timestamp_ms":1789637765000,"timestamp_seconds":1789637765,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb92788"} 
[2026-09-17 15:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 15:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147267072001,"66":13428,"58":206,"87":10752,"24":27,"16":134262653357916160,"45":9045409508563267584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,87,24,16,45]} 
[2026-09-17 15:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147267072001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:07:30] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-17 15:07:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134262653357916160,"km_value":134262653357916.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9045409508563267584,"description":"Unknown IO ID 45"} 
[2026-09-17 15:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147267072001,"power":13428,"unknown_58":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":9045409508563267584}} 
[2026-09-17 15:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":185263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:07:31] local.INFO: GPS data processed {"connection_id":185263,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:07:31] local.INFO: Acknowledgment sent {"connection_id":185263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:07:59] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:07:59] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:07:59] local.INFO: Packet analysis {"connection_id":185401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:07:59] local.INFO: Extracted packet for processing {"connection_id":185401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:07:59] 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-09-17 15:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:07:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":185401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:07:59] local.INFO: GPS data processed {"connection_id":185401,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:07:59] local.INFO: Acknowledgment sent {"connection_id":185401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:08:02] local.INFO: TCP Data received {"connection_id":185263,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeba9e88012d7cffc005fc2478000d00c423..."} 
[2026-09-17 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeba9e88012d7cffc005fc2478000d00c423..."} 
[2026-09-17 15:08:02] local.INFO: Processing buffer {"connection_id":185263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeba9e88012d7cffc005fc2478000d00c423..."} 
[2026-09-17 15:08:02] local.INFO: Packet analysis {"connection_id":185263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeba"} 
[2026-09-17 15:08:02] local.INFO: Extracted packet for processing {"connection_id":185263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeba"} 
[2026-09-17 15:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763166656,"raw_latitude":100410488,"longitude_deg":76.3166656,"latitude_deg":10.0410488,"altitude":13,"angle":196,"satellites":35,"speed":69,"hex_longitude":"2d7cffc0","hex_latitude":"05fc2478","is_valid_coordinates":true} 
[2026-09-17 15:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147290880001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134268271175139328,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767704068096,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789637861000,"timestamp_ms":1789637861000,"timestamp_seconds":1789637861,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeba9e88"} 
[2026-09-17 15:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 15:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147290880001,"66":13048,"144":206,"87":10752,"24":69,"16":134268271175139328,"45":9010154767704068096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 15:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147290880001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:08:02] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 15:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134268271175139328,"km_value":134268271175139.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767704068096,"description":"Unknown IO ID 45"} 
[2026-09-17 15:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147290880001,"power":13048,"unknown_144":206,"unknown_87":10752,"ignition":69,"odometer":null,"unknown_45":9010154767704068096}} 
[2026-09-17 15:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":185263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:08:02] local.INFO: GPS data processed {"connection_id":185263,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:08:02] local.INFO: Acknowledgment sent {"connection_id":185263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:08:15] local.INFO: TCP Data received {"connection_id":185264,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:08:15] local.INFO: Processing buffer {"connection_id":185264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:08:15] local.INFO: IMEI packet received {"connection_id":185264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":185264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:08:19] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:08:19] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:08:19] local.INFO: IMEI packet received {"connection_id":186716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":186716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:08:20] local.INFO: TCP Data received {"connection_id":185264,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:08:20] local.INFO: Processing buffer {"connection_id":185264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:08:20] local.INFO: IMEI packet received {"connection_id":185264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":185264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:08:21] local.INFO: TCP Data received {"connection_id":185264,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:08:21] local.INFO: Processing buffer {"connection_id":185264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:08:21] local.INFO: Packet analysis {"connection_id":185264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:08:21] local.INFO: Extracted packet for processing {"connection_id":185264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:08:21] 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-09-17 15:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:08:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":185264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:08:21] local.INFO: GPS data processed {"connection_id":185264,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:08:21] local.INFO: Acknowledgment sent {"connection_id":185264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:08:25] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:08:25] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:08:25] local.INFO: IMEI packet received {"connection_id":186716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":186716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:08:26] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebab9e0012d7cf34005fc00f0000b00c624..."} 
[2026-09-17 15:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebab9e0012d7cf34005fc00f0000b00c624..."} 
[2026-09-17 15:08:26] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebab9e0012d7cf34005fc00f0000b00c624..."} 
[2026-09-17 15:08:26] local.INFO: Packet analysis {"connection_id":186716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeba"} 
[2026-09-17 15:08:26] local.INFO: Extracted packet for processing {"connection_id":186716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeba"} 
[2026-09-17 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":100401392,"longitude_deg":76.3163456,"latitude_deg":10.0401392,"altitude":11,"angle":198,"satellites":36,"speed":41,"hex_longitude":"2d7cf340","hex_latitude":"05fc00f0","is_valid_coordinates":true} 
[2026-09-17 15:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147292416001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134268739326574592,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007128911701899264,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789637868000,"timestamp_ms":1789637868000,"timestamp_seconds":1789637868,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebab9e0"} 
[2026-09-17 15:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 15:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147292416001,"66":12809,"144":206,"87":10752,"24":41,"16":134268739326574592,"45":9007128911701899264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 15:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147292416001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:08:26] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 15:08:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134268739326574592,"km_value":134268739326574.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007128911701899264,"description":"Unknown IO ID 45"} 
[2026-09-17 15:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147292416001,"power":12809,"unknown_144":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":9007128911701899264}} 
[2026-09-17 15:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":186716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:08:26] local.INFO: GPS data processed {"connection_id":186716,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:08:26] local.INFO: Acknowledgment sent {"connection_id":186716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:08:36] local.INFO: TCP Data received {"connection_id":185402,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:08:36] local.INFO: Processing buffer {"connection_id":185402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:08:36] local.INFO: IMEI packet received {"connection_id":185402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":185402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:08:41] local.INFO: TCP Data received {"connection_id":185402,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:08:41] local.INFO: Processing buffer {"connection_id":185402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:08:41] local.INFO: IMEI packet received {"connection_id":185402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":185402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:08:42] local.INFO: TCP Data received {"connection_id":185402,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebb0030012d0b76c00703a5300019007626..."} 
[2026-09-17 15:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebb0030012d0b76c00703a5300019007626..."} 
[2026-09-17 15:08:42] local.INFO: Processing buffer {"connection_id":185402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebb0030012d0b76c00703a5300019007626..."} 
[2026-09-17 15:08:42] local.INFO: Packet analysis {"connection_id":185402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:08:42] local.INFO: Extracted packet for processing {"connection_id":185402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:08:42] local.INFO: GPS Element Parsed {"raw_longitude":755726016,"raw_latitude":117679408,"longitude_deg":75.5726016,"latitude_deg":11.7679408,"altitude":25,"angle":118,"satellites":38,"speed":19,"hex_longitude":"2d0b76c0","hex_latitude":"0703a530","is_valid_coordinates":true} 
[2026-09-17 15:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147297792001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32854528424411136,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823455074493106176,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789637886000,"timestamp_ms":1789637886000,"timestamp_seconds":1789637886,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebb0030"} 
[2026-09-17 15:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 15:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147297792001,"66":14515,"178":206,"94":10240,"24":19,"16":32854528424411136,"45":823455074493106176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-17 15:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147297792001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:08:42] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-17 15:08:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32854528424411136,"km_value":32854528424411.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":823455074493106176,"description":"Unknown IO ID 45"} 
[2026-09-17 15:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147297792001,"power":14515,"unknown_178":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":823455074493106176}} 
[2026-09-17 15:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":185402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856160,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:08:42] local.INFO: GPS data processed {"connection_id":185402,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:08:42] local.INFO: Acknowledgment sent {"connection_id":185402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:08:53] local.INFO: TCP Data received {"connection_id":185264,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:08:53] local.INFO: Processing buffer {"connection_id":185264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:08:53] local.INFO: Packet analysis {"connection_id":185264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:08:53] local.INFO: Extracted packet for processing {"connection_id":185264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:08:53] 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-09-17 15:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":185264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:08:53] local.INFO: GPS data processed {"connection_id":185264,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:08:53] local.INFO: Acknowledgment sent {"connection_id":185264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:08:57] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebae0f0012d7ce38005fbdfc8000a00cc25..."} 
[2026-09-17 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebae0f0012d7ce38005fbdfc8000a00cc25..."} 
[2026-09-17 15:08:57] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebae0f0012d7ce38005fbdfc8000a00cc25..."} 
[2026-09-17 15:08:57] local.INFO: Packet analysis {"connection_id":186716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeba"} 
[2026-09-17 15:08:57] local.INFO: Extracted packet for processing {"connection_id":186716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeba"} 
[2026-09-17 15:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763159424,"raw_latitude":100392904,"longitude_deg":76.3159424,"latitude_deg":10.0392904,"altitude":10,"angle":204,"satellites":37,"speed":28,"hex_longitude":"2d7ce380","hex_latitude":"05fbdfc8","is_valid_coordinates":true} 
[2026-09-17 15:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147294208001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134269190298140672,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003610474490687488,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789637878000,"timestamp_ms":1789637878000,"timestamp_seconds":1789637878,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebae0f0"} 
[2026-09-17 15:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1945555039191827456,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2931431864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-5047787509317287680,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2443706385,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1162543310,"corrected_to":0} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398479608565335,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-216858877033921762,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.WARNING: Large IO value detected {"io_id":42,"raw_value":6755614189551857,"note":"Value kept but may cause issues"} 
[2026-09-17 15:08:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,144,87,24,241,157,16,4,160,158,45,192,36,13,35,10,66,135,128,75,33,3,107,1,240,198,227,174,252,113,205,47,53,41,232,32,239,51,2,221,5,19,50,42],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1162543310,"validated":0}]} 
[2026-09-17 15:08:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792851392341016576,"timestamp_seconds":792851392341016.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147294208001,"66":13374,"144":206,"87":10752,"24":28,"16":134269190298140672,"45":9003610474490687488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 15:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147294208001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:08:57] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 15:08:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134269190298140672,"km_value":134269190298140.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003610474490687488,"description":"Unknown IO ID 45"} 
[2026-09-17 15:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147294208001,"power":13374,"unknown_144":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":9003610474490687488}} 
[2026-09-17 15:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":186716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:08:57] local.INFO: GPS data processed {"connection_id":186716,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:08:57] local.INFO: Acknowledgment sent {"connection_id":186716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:09:13] local.INFO: TCP Data received {"connection_id":188026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:13] local.INFO: Processing buffer {"connection_id":188026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:13] local.INFO: IMEI packet received {"connection_id":188026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":188026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:09:14] local.INFO: TCP Data received {"connection_id":188026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:14] local.INFO: Processing buffer {"connection_id":188026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:14] local.INFO: IMEI packet received {"connection_id":188026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":188026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:09:15] local.INFO: TCP Data received {"connection_id":188027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:09:15] local.INFO: Processing buffer {"connection_id":188027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:09:15] local.INFO: IMEI packet received {"connection_id":188027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":188027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:09:16] local.INFO: TCP Data received {"connection_id":188026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:16] local.INFO: Processing buffer {"connection_id":188026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:16] local.INFO: IMEI packet received {"connection_id":188026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":188026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:09:17] local.INFO: TCP Data received {"connection_id":188026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:17] local.INFO: Processing buffer {"connection_id":188026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:09:17] local.INFO: IMEI packet received {"connection_id":188026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":188026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:09:20] local.INFO: TCP Data received {"connection_id":185265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:09:20] local.INFO: Processing buffer {"connection_id":185265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:09:20] local.INFO: IMEI packet received {"connection_id":185265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":185265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:09:20] local.INFO: TCP Data received {"connection_id":188027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:09:20] local.INFO: Processing buffer {"connection_id":188027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:09:20] local.INFO: IMEI packet received {"connection_id":188027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":188027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:09:21] local.INFO: TCP Data received {"connection_id":188027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:09:21] local.INFO: Processing buffer {"connection_id":188027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:09:21] local.INFO: Packet analysis {"connection_id":188027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:09:21] local.INFO: Extracted packet for processing {"connection_id":188027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:09:21] 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-09-17 15:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:09:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":188027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:09:21] local.INFO: GPS data processed {"connection_id":188027,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:09:21] local.INFO: Acknowledgment sent {"connection_id":188027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:09:21] local.INFO: TCP Data received {"connection_id":185265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:09:21] local.INFO: Processing buffer {"connection_id":185265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:09:21] local.INFO: IMEI packet received {"connection_id":185265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":185265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:09:25] local.INFO: TCP Data received {"connection_id":185265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:09:25] local.INFO: Processing buffer {"connection_id":185265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:09:25] local.INFO: IMEI packet received {"connection_id":185265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":185265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:09:26] local.INFO: TCP Data received {"connection_id":185265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebb0800012d7cd24005fbbcb8000900cc23..."} 
[2026-09-17 15:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebb0800012d7cd24005fbbcb8000900cc23..."} 
[2026-09-17 15:09:26] local.INFO: Processing buffer {"connection_id":185265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebb0800012d7cd24005fbbcb8000900cc23..."} 
[2026-09-17 15:09:26] local.INFO: Packet analysis {"connection_id":185265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:09:26] local.INFO: Extracted packet for processing {"connection_id":185265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763155008,"raw_latitude":100383928,"longitude_deg":76.3155008,"latitude_deg":10.0383928,"altitude":9,"angle":204,"satellites":35,"speed":50,"hex_longitude":"2d7cd240","hex_latitude":"05fbbcb8","is_valid_coordinates":true} 
[2026-09-17 15:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147296768001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134269675629445120,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999177243605321728,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789637888000,"timestamp_ms":1789637888000,"timestamp_seconds":1789637888,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebb0800"} 
[2026-09-17 15:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 15:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147296768001,"66":13298,"144":206,"87":10752,"24":50,"16":134269675629445120,"45":8999177243605321728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-17 15:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147296768001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:09:26] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-17 15:09:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134269675629445120,"km_value":134269675629445.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999177243605321728,"description":"Unknown IO ID 45"} 
[2026-09-17 15:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147296768001,"power":13298,"unknown_144":206,"unknown_87":10752,"ignition":50,"odometer":null,"unknown_45":8999177243605321728}} 
[2026-09-17 15:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":185265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:09:26] local.INFO: GPS data processed {"connection_id":185265,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:09:26] local.INFO: Acknowledgment sent {"connection_id":185265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:09:52] local.INFO: TCP Data received {"connection_id":188027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:09:52] local.INFO: Processing buffer {"connection_id":188027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:09:52] local.INFO: Packet analysis {"connection_id":188027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:09:52] local.INFO: Extracted packet for processing {"connection_id":188027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:09:52] 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-09-17 15:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":188027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:09:52] local.INFO: GPS data processed {"connection_id":188027,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:09:52] local.INFO: Acknowledgment sent {"connection_id":188027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:09:57] local.INFO: TCP Data received {"connection_id":185265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebb2740012d7cc38005fb9c90000900cc21..."} 
[2026-09-17 15:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebb2740012d7cc38005fb9c90000900cc21..."} 
[2026-09-17 15:09:57] local.INFO: Processing buffer {"connection_id":185265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebb2740012d7cc38005fb9c90000900cc21..."} 
[2026-09-17 15:09:57] local.INFO: Packet analysis {"connection_id":185265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:09:57] local.INFO: Extracted packet for processing {"connection_id":185265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763151232,"raw_latitude":100375696,"longitude_deg":76.3151232,"latitude_deg":10.0375696,"altitude":9,"angle":204,"satellites":33,"speed":32,"hex_longitude":"2d7cc380","hex_latitude":"05fb9c90","is_valid_coordinates":true} 
[2026-09-17 15:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147299328001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134270113716109312,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994321800254765056,"note":"Value kept but may cause issues"} 
[2026-09-17 15:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789637896000,"timestamp_ms":1789637896000,"timestamp_seconds":1789637896,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebb2740"} 
[2026-09-17 15:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-17 15:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147299328001,"66":13015,"116":206,"87":10752,"24":32,"16":134270113716109312,"45":8994321800254765056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 15:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147299328001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:09:57] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 15:09:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134270113716109312,"km_value":134270113716109.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994321800254765056,"description":"Unknown IO ID 45"} 
[2026-09-17 15:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147299328001,"power":13015,"unknown_116":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":8994321800254765056}} 
[2026-09-17 15:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":185265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:09:57] local.INFO: GPS data processed {"connection_id":185265,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:09:57] local.INFO: Acknowledgment sent {"connection_id":185265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:10:15] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:10:15] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:10:15] local.INFO: IMEI packet received {"connection_id":186717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":186717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:10:20] local.INFO: TCP Data received {"connection_id":185266,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:10:20] local.INFO: Processing buffer {"connection_id":185266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:10:20] local.INFO: IMEI packet received {"connection_id":185266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":185266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:10:20] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:10:20] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:10:20] local.INFO: IMEI packet received {"connection_id":186717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":186717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:10:24] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:10:24] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:10:24] local.INFO: Packet analysis {"connection_id":186717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:10:24] local.INFO: Extracted packet for processing {"connection_id":186717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:10:24] 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-09-17 15:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":186717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:10:24] local.INFO: GPS data processed {"connection_id":186717,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:10:24] local.INFO: Acknowledgment sent {"connection_id":186717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:10:25] local.INFO: TCP Data received {"connection_id":186718,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:10:25] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:10:25] local.INFO: IMEI packet received {"connection_id":186718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":186718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:10:29] local.INFO: TCP Data received {"connection_id":186718,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:10:29] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:10:29] local.INFO: IMEI packet received {"connection_id":186718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":186718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:10:30] local.INFO: TCP Data received {"connection_id":186718,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebb7948012d7cb68005fb7e98000800cc21..."} 
[2026-09-17 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebb7948012d7cb68005fb7e98000800cc21..."} 
[2026-09-17 15:10:30] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebb7948012d7cb68005fb7e98000800cc21..."} 
[2026-09-17 15:10:30] local.INFO: Packet analysis {"connection_id":186718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:10:30] local.INFO: Extracted packet for processing {"connection_id":186718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763147904,"raw_latitude":100368024,"longitude_deg":76.3147904,"latitude_deg":10.0368024,"altitude":8,"angle":204,"satellites":33,"speed":24,"hex_longitude":"2d7cb680","hex_latitude":"05fb7e98","is_valid_coordinates":true} 
[2026-09-17 15:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147301376001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134270521738002432,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990170044346175488,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789637917000,"timestamp_ms":1789637917000,"timestamp_seconds":1789637917,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebb7948"} 
[2026-09-17 15:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 15:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147301376001,"66":13254,"116":206,"87":10752,"24":24,"16":134270521738002432,"45":8990170044346175488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 15:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147301376001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:10:30] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 15:10:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134270521738002432,"km_value":134270521738002.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990170044346175488,"description":"Unknown IO ID 45"} 
[2026-09-17 15:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147301376001,"power":13254,"unknown_116":206,"unknown_87":10752,"ignition":24,"odometer":null,"unknown_45":8990170044346175488}} 
[2026-09-17 15:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":186718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:10:30] local.INFO: GPS data processed {"connection_id":186718,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:10:30] local.INFO: Acknowledgment sent {"connection_id":186718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:10:35] local.INFO: TCP Data received {"connection_id":186718,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebbb3e0012d7ca6c005fb5e30000b00ce21..."} 
[2026-09-17 15:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebbb3e0012d7ca6c005fb5e30000b00ce21..."} 
[2026-09-17 15:10:35] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebbb3e0012d7ca6c005fb5e30000b00ce21..."} 
[2026-09-17 15:10:35] local.INFO: Packet analysis {"connection_id":186718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:10:35] local.INFO: Extracted packet for processing {"connection_id":186718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763143872,"raw_latitude":100359728,"longitude_deg":76.3143872,"latitude_deg":10.0359728,"altitude":11,"angle":206,"satellites":33,"speed":28,"hex_longitude":"2d7ca6c0","hex_latitude":"05fb5e30","is_valid_coordinates":true} 
[2026-09-17 15:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147306752001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134270968414601216,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986510869646972928,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789637932000,"timestamp_ms":1789637932000,"timestamp_seconds":1789637932,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebbb3e0"} 
[2026-09-17 15:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 15:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147306752001,"66":13091,"116":206,"87":10752,"24":28,"16":134270968414601216,"45":8986510869646972928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-17 15:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147306752001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:10:35] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-17 15:10:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134270968414601216,"km_value":134270968414601.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986510869646972928,"description":"Unknown IO ID 45"} 
[2026-09-17 15:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147306752001,"power":13091,"unknown_116":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8986510869646972928}} 
[2026-09-17 15:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":186718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:10:35] local.INFO: GPS data processed {"connection_id":186718,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:10:35] local.INFO: Acknowledgment sent {"connection_id":186718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:10:50] local.INFO: TCP Data received {"connection_id":185404,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:10:50] local.INFO: Processing buffer {"connection_id":185404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:10:50] local.INFO: IMEI packet received {"connection_id":185404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":185404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:10:55] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:10:55] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:10:55] local.INFO: Packet analysis {"connection_id":186717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:10:55] local.INFO: Extracted packet for processing {"connection_id":186717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:10:55] 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-09-17 15:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:10:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:10:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":186717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:10:55] local.INFO: GPS data processed {"connection_id":186717,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:10:55] local.INFO: Acknowledgment sent {"connection_id":186717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:11:15] local.INFO: TCP Data received {"connection_id":188028,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:11:15] local.INFO: Processing buffer {"connection_id":188028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:11:15] local.INFO: IMEI packet received {"connection_id":188028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":188028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:11:20] local.INFO: TCP Data received {"connection_id":188028,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:11:20] local.INFO: Processing buffer {"connection_id":188028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:11:20] local.INFO: IMEI packet received {"connection_id":188028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":188028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:11:21] local.INFO: TCP Data received {"connection_id":188028,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:11:21] local.INFO: Processing buffer {"connection_id":188028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:11:21] local.INFO: Packet analysis {"connection_id":188028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:11:21] local.INFO: Extracted packet for processing {"connection_id":188028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:11:21] 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-09-17 15:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:11:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":188028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:11:21] local.INFO: GPS data processed {"connection_id":188028,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:11:21] local.INFO: Acknowledgment sent {"connection_id":188028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:11:21] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:11:21] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:11:21] local.INFO: IMEI packet received {"connection_id":186720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":186720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:11:37] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:11:37] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:11:37] local.INFO: IMEI packet received {"connection_id":186720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":186720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:11:38] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebbded8012d7c978005fb3b90000800cc23..."} 
[2026-09-17 15:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebbded8012d7c978005fb3b90000800cc23..."} 
[2026-09-17 15:11:38] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebbded8012d7c978005fb3b90000800cc23..."} 
[2026-09-17 15:11:38] local.INFO: Packet analysis {"connection_id":186720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:11:38] local.INFO: Extracted packet for processing {"connection_id":186720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763139968,"raw_latitude":100350864,"longitude_deg":76.3139968,"latitude_deg":10.0350864,"altitude":8,"angle":204,"satellites":35,"speed":41,"hex_longitude":"2d7c9780","hex_latitude":"05fb3b90","is_valid_coordinates":true} 
[2026-09-17 15:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147310592001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134271436566036480,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982077638761656320,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789637943000,"timestamp_ms":1789637943000,"timestamp_seconds":1789637943,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebbded8"} 
[2026-09-17 15:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 15:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147310592001,"66":13428,"117":206,"87":10752,"24":41,"16":134271436566036480,"45":8982077638761656320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-09-17 15:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147310592001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:11:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-17 15:11:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134271436566036480,"km_value":134271436566036.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982077638761656320,"description":"Unknown IO ID 45"} 
[2026-09-17 15:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147310592001,"power":13428,"unknown_117":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":8982077638761656320}} 
[2026-09-17 15:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":186720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:11:39] local.INFO: GPS data processed {"connection_id":186720,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:11:39] local.INFO: Acknowledgment sent {"connection_id":186720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:11:40] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebbfe18012d7c884005fb17a0000700cc23..."} 
[2026-09-17 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebbfe18012d7c884005fb17a0000700cc23..."} 
[2026-09-17 15:11:40] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebbfe18012d7c884005fb17a0000700cc23..."} 
[2026-09-17 15:11:40] local.INFO: Packet analysis {"connection_id":186720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:11:40] local.INFO: Extracted packet for processing {"connection_id":186720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebb"} 
[2026-09-17 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763136064,"raw_latitude":100341664,"longitude_deg":76.3136064,"latitude_deg":10.0341664,"altitude":7,"angle":204,"satellites":35,"speed":48,"hex_longitude":"2d7c8840","hex_latitude":"05fb17a0","is_valid_coordinates":true} 
[2026-09-17 15: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-09-17 15:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147313408001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134271917602373632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977785145364549632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789637951000,"timestamp_ms":1789637951000,"timestamp_seconds":1789637951,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebbfe18"} 
[2026-09-17 15:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 15:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15: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-09-17 15:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147313408001,"66":13059,"117":206,"87":10752,"24":48,"16":134271917602373632,"45":8977785145364549632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-09-17 15:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147313408001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:11:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-17 15:11:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134271917602373632,"km_value":134271917602373.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977785145364549632,"description":"Unknown IO ID 45"} 
[2026-09-17 15:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147313408001,"power":13059,"unknown_117":206,"unknown_87":10752,"ignition":48,"odometer":null,"unknown_45":8977785145364549632}} 
[2026-09-17 15:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":186720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:11:40] local.INFO: GPS data processed {"connection_id":186720,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:11:40] local.INFO: Acknowledgment sent {"connection_id":186720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:11:52] local.INFO: TCP Data received {"connection_id":188028,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:11:52] local.INFO: Processing buffer {"connection_id":188028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeb9b040012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:11:52] local.INFO: Packet analysis {"connection_id":188028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:11:52] local.INFO: Extracted packet for processing {"connection_id":188028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeb9"} 
[2026-09-17 15:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147199744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789637800000,"timestamp_ms":1789637800000,"timestamp_seconds":1789637800,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeb9b040"} 
[2026-09-17 15:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:11:52] 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-09-17 15:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147199744001,"66":26060,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147199744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147199744001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":188028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:11:52] local.INFO: GPS data processed {"connection_id":188028,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:11:52] local.INFO: Acknowledgment sent {"connection_id":188028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:12:19] local.INFO: TCP Data received {"connection_id":185267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:12:19] local.INFO: Processing buffer {"connection_id":185267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:12:19] local.INFO: IMEI packet received {"connection_id":185267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":185267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:12:20] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:12:20] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:12:20] local.INFO: IMEI packet received {"connection_id":185268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":185268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:12:20] local.INFO: TCP Data received {"connection_id":185267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:12:20] local.INFO: Processing buffer {"connection_id":185267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:12:20] local.INFO: IMEI packet received {"connection_id":185267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":185267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:12:21] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:12:21] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:12:21] local.INFO: IMEI packet received {"connection_id":185268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":185268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:12:24] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:12:24] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:12:24] local.INFO: IMEI packet received {"connection_id":185268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":185268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:12:25] local.INFO: TCP Data received {"connection_id":185267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:12:25] local.INFO: Processing buffer {"connection_id":185267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:12:25] local.INFO: IMEI packet received {"connection_id":185267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":185267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:12:25] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe82a0012d7bb74005f9a1b0000c00b322..."} 
[2026-09-17 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe82a0012d7bb74005f9a1b0000c00b322..."} 
[2026-09-17 15:12:25] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe82a0012d7bb74005f9a1b0000c00b322..."} 
[2026-09-17 15:12:25] local.INFO: Packet analysis {"connection_id":185268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:25] local.INFO: Extracted packet for processing {"connection_id":185268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763082560,"raw_latitude":100245936,"longitude_deg":76.308256,"latitude_deg":10.0245936,"altitude":12,"angle":179,"satellites":34,"speed":27,"hex_longitude":"2d7bb740","hex_latitude":"05f9a1b0","is_valid_coordinates":true} 
[2026-09-17 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147357184001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134277243361820672,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914875488043192320,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789638116000,"timestamp_ms":1789638116000,"timestamp_seconds":1789638116,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe82a0"} 
[2026-09-17 15:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 15:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147357184001,"66":13298,"35":206,"87":10752,"24":27,"16":134277243361820672,"45":8914875488043192320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-09-17 15:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147357184001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:12:25] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 15:12:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134277243361820672,"km_value":134277243361820.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914875488043192320,"description":"Unknown IO ID 45"} 
[2026-09-17 15:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147357184001,"power":13298,"unknown_35":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":8914875488043192320}} 
[2026-09-17 15:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":185268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:12:25] local.INFO: GPS data processed {"connection_id":185268,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:12:25] local.INFO: Acknowledgment sent {"connection_id":185268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:12:26] local.INFO: TCP Data received {"connection_id":185267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:12:26] local.INFO: Processing buffer {"connection_id":185267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:12:26] local.INFO: Packet analysis {"connection_id":185267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:26] local.INFO: Extracted packet for processing {"connection_id":185267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:12:26] 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-09-17 15:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:12:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:12:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":185267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:12:26] local.INFO: GPS data processed {"connection_id":185267,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:12:26] local.INFO: Acknowledgment sent {"connection_id":185267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:12:27] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe8e58012d7bb88005f99818000e00a125..."} 
[2026-09-17 15:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe8e58012d7bb88005f99818000e00a125..."} 
[2026-09-17 15:12:27] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe8e58012d7bb88005f99818000e00a125..."} 
[2026-09-17 15:12:27] local.INFO: Packet analysis {"connection_id":185268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:27] local.INFO: Extracted packet for processing {"connection_id":185268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763082880,"raw_latitude":100243480,"longitude_deg":76.308288,"latitude_deg":10.024348,"altitude":14,"angle":161,"satellites":37,"speed":34,"hex_longitude":"2d7bb880","hex_latitude":"05f99818","is_valid_coordinates":true} 
[2026-09-17 15:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147357696001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134277363620904960,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914664381810323456,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789638119000,"timestamp_ms":1789638119000,"timestamp_seconds":1789638119,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe8e58"} 
[2026-09-17 15:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-17 15:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147357696001,"66":13319,"35":206,"87":10752,"24":34,"16":134277363620904960,"45":8914664381810323456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-09-17 15:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147357696001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:12:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 15:12:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134277363620904960,"km_value":134277363620904.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914664381810323456,"description":"Unknown IO ID 45"} 
[2026-09-17 15:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147357696001,"power":13319,"unknown_35":206,"unknown_87":10752,"ignition":34,"odometer":null,"unknown_45":8914664381810323456}} 
[2026-09-17 15:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":185268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:12:27] local.INFO: GPS data processed {"connection_id":185268,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:12:27] local.INFO: Acknowledgment sent {"connection_id":185268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:12:58] local.INFO: TCP Data received {"connection_id":185267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:12:58] local.INFO: Processing buffer {"connection_id":185267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:12:58] local.INFO: Packet analysis {"connection_id":185267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:58] local.INFO: Extracted packet for processing {"connection_id":185267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:12:58] 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-09-17 15:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:12:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:12:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":185267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:12:58] local.INFO: GPS data processed {"connection_id":185267,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:12:58] local.INFO: Acknowledgment sent {"connection_id":185267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:12:58] local.INFO: TCP Data received {"connection_id":185268,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe9628012d7bbcc005f99160000f009226..."} 
[2026-09-17 15:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe9628012d7bbcc005f99160000f009226..."} 
[2026-09-17 15:12:58] local.INFO: Processing buffer {"connection_id":185268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe9628012d7bbcc005f99160000f009226..."} 
[2026-09-17 15:12:58] local.INFO: Packet analysis {"connection_id":185268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:58] local.INFO: Extracted packet for processing {"connection_id":185268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":100241760,"longitude_deg":76.3083968,"latitude_deg":10.024176,"altitude":15,"angle":146,"satellites":38,"speed":41,"hex_longitude":"2d7bbcc0","hex_latitude":"05f99160","is_valid_coordinates":true} 
[2026-09-17 15:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147358464001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134277462405152768,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915016225530583040,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789638121000,"timestamp_ms":1789638121000,"timestamp_seconds":1789638121,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe9628"} 
[2026-09-17 15:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2931678864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3192647681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3144155149,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":706937038,"corrected_to":0} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221617109,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4193583104,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57748661396723498,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-5505649249595703291,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.WARNING: Large IO value detected {"io_id":250,"raw_value":1513209496284963584,"note":"Value kept but may cause issues"} 
[2026-09-17 15:12:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,35,87,24,241,157,16,12,160,130,45,64,161,34,10,66,122,166,11,36,118,1,240,40,227,174,249,4,113,205,18,21,209,239,52,26,2,221,5,7,138,189,250],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":706937038,"validated":0}]} 
[2026-09-17 15:12:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008983496819081216,"timestamp_seconds":1008983496819081.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147358464001,"66":12906,"35":206,"87":10752,"24":41,"16":134277462405152768,"45":8915016225530583040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-09-17 15:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147358464001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:12:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 15:12:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134277462405152768,"km_value":134277462405152.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915016225530583040,"description":"Unknown IO ID 45"} 
[2026-09-17 15:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147358464001,"power":12906,"unknown_35":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":8915016225530583040}} 
[2026-09-17 15:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":185268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:12:58] local.INFO: GPS data processed {"connection_id":185268,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:12:58] local.INFO: Acknowledgment sent {"connection_id":185268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:13:16] local.INFO: TCP Data received {"connection_id":185407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:13:16] local.INFO: Processing buffer {"connection_id":185407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:13:16] local.INFO: IMEI packet received {"connection_id":185407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":185407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:13:19] local.INFO: TCP Data received {"connection_id":185408,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:13:19] local.INFO: Processing buffer {"connection_id":185408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:13:19] local.INFO: IMEI packet received {"connection_id":185408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":185408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:13:20] local.INFO: TCP Data received {"connection_id":185407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:13:20] local.INFO: Processing buffer {"connection_id":185407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:13:20] local.INFO: IMEI packet received {"connection_id":185407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":185407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:13:21] local.INFO: TCP Data received {"connection_id":185407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:13:21] local.INFO: Processing buffer {"connection_id":185407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:13:21] local.INFO: Packet analysis {"connection_id":185407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:13:21] local.INFO: Extracted packet for processing {"connection_id":185407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:13: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-09-17 15:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:13:21] 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-09-17 15:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:13:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:13:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":185407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:13:21] local.INFO: GPS data processed {"connection_id":185407,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:13:21] local.INFO: Acknowledgment sent {"connection_id":185407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:13:25] local.INFO: TCP Data received {"connection_id":185408,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:13:25] local.INFO: Processing buffer {"connection_id":185408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:13:25] local.INFO: IMEI packet received {"connection_id":185408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":185408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:13:26] local.INFO: TCP Data received {"connection_id":185408,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebeb180012d7bd40005f97758000f008e25..."} 
[2026-09-17 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebeb180012d7bd40005f97758000f008e25..."} 
[2026-09-17 15:13:26] local.INFO: Processing buffer {"connection_id":185408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebeb180012d7bd40005f97758000f008e25..."} 
[2026-09-17 15:13:26] local.INFO: Packet analysis {"connection_id":185408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:13:26] local.INFO: Extracted packet for processing {"connection_id":185408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763089920,"raw_latitude":100235096,"longitude_deg":76.308992,"latitude_deg":10.0235096,"altitude":15,"angle":142,"satellites":37,"speed":56,"hex_longitude":"2d7bd400","hex_latitude":"05f97758","is_valid_coordinates":true} 
[2026-09-17 15:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147358976001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134277891901882368,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212494181163008,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638128000,"timestamp_ms":1789638128000,"timestamp_seconds":1789638128,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebeb180"} 
[2026-09-17 15:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 15:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147358976001,"66":12917,"35":206,"87":10752,"24":56,"16":134277891901882368,"45":8916212494181163008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-09-17 15:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147358976001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:13:26] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-17 15:13:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-17 15:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134277891901882368,"km_value":134277891901882.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212494181163008,"description":"Unknown IO ID 45"} 
[2026-09-17 15:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147358976001,"power":12917,"unknown_35":206,"unknown_87":10752,"ignition":56,"odometer":null,"unknown_45":8916212494181163008}} 
[2026-09-17 15:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":185408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:13:26] local.INFO: GPS data processed {"connection_id":185408,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:13:26] local.INFO: Acknowledgment sent {"connection_id":185408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:13:53] local.INFO: TCP Data received {"connection_id":185407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:13:53] local.INFO: Processing buffer {"connection_id":185407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:13:53] local.INFO: Packet analysis {"connection_id":185407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:13:53] local.INFO: Extracted packet for processing {"connection_id":185407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:13:53] 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-09-17 15:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":185407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:13:53] local.INFO: GPS data processed {"connection_id":185407,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:13:53] local.INFO: Acknowledgment sent {"connection_id":185407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:13:58] local.INFO: TCP Data received {"connection_id":185408,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec00558012d7c294005f873d8000c00ae27..."} 
[2026-09-17 15:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec00558012d7c294005f873d8000c00ae27..."} 
[2026-09-17 15:13:58] local.INFO: Processing buffer {"connection_id":185408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec00558012d7c294005f873d8000c00ae27..."} 
[2026-09-17 15:13:58] local.INFO: Packet analysis {"connection_id":185408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:13:58] local.INFO: Extracted packet for processing {"connection_id":185408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763111744,"raw_latitude":100168664,"longitude_deg":76.3111744,"latitude_deg":10.0168664,"altitude":12,"angle":174,"satellites":39,"speed":38,"hex_longitude":"2d7c2940","hex_latitude":"05f873d8","is_valid_coordinates":true} 
[2026-09-17 15:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147381760001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134281345055588352,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946893266624935936,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789638215000,"timestamp_ms":1789638215000,"timestamp_seconds":1789638215,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec00558"} 
[2026-09-17 15:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2931755864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3209543681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3462397970,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":709492942,"corrected_to":0} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252713,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4176683008,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":68,"raw_value":57748523957770034,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-871445233029971963,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.WARNING: Large IO value detected {"io_id":249,"raw_value":1675339112931992832,"note":"Value kept but may cause issues"} 
[2026-09-17 15:13:58] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,75,87,24,241,157,16,15,160,45,192,131,12,39,10,66,159,128,168,14,38,74,89,1,240,187,227,174,248,4,113,205,8,50,29,104,239,250,2,221,5,13,56,68,190,249],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":709492942,"validated":0}]} 
[2026-09-17 15:13:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864895805123330048,"timestamp_seconds":864895805123330.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147381760001,"66":13189,"75":206,"87":12800,"24":38,"16":134281345055588352,"45":8946893266624935936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-09-17 15:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147381760001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:13:58] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-17 15:13:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134281345055588352,"km_value":134281345055588.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946893266624935936,"description":"Unknown IO ID 45"} 
[2026-09-17 15:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147381760001,"power":13189,"unknown_75":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8946893266624935936}} 
[2026-09-17 15:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":185408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:13:58] local.INFO: GPS data processed {"connection_id":185408,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:13:58] local.INFO: Acknowledgment sent {"connection_id":185408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:14:15] local.INFO: TCP Data received {"connection_id":185269,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:14:15] local.INFO: Processing buffer {"connection_id":185269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:14:15] local.INFO: IMEI packet received {"connection_id":185269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":185269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:14:19] local.INFO: TCP Data received {"connection_id":185409,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:14:19] local.INFO: Processing buffer {"connection_id":185409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:14:19] local.INFO: IMEI packet received {"connection_id":185409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":185409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:14:20] local.INFO: TCP Data received {"connection_id":185269,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:14:20] local.INFO: Processing buffer {"connection_id":185269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:14:20] local.INFO: IMEI packet received {"connection_id":185269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":185269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:14:21] local.INFO: TCP Data received {"connection_id":185269,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:14:21] local.INFO: Processing buffer {"connection_id":185269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:14:21] local.INFO: Packet analysis {"connection_id":185269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:14:21] local.INFO: Extracted packet for processing {"connection_id":185269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:14: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-09-17 15:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:14:21] 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-09-17 15:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:14:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":185269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:14:21] local.INFO: GPS data processed {"connection_id":185269,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:14:21] local.INFO: Acknowledgment sent {"connection_id":185269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:14:21] local.INFO: TCP Data received {"connection_id":186723,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:14:21] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:14:21] local.INFO: IMEI packet received {"connection_id":186723,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":186723,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:14:22] local.INFO: TCP Data received {"connection_id":186723,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebfe230012d0bad800702abb8000d011d25..."} 
[2026-09-17 15:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebfe230012d0bad800702abb8000d011d25..."} 
[2026-09-17 15:14:22] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebfe230012d0bad800702abb8000d011d25..."} 
[2026-09-17 15:14:22] local.INFO: Packet analysis {"connection_id":186723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebf"} 
[2026-09-17 15:14:22] local.INFO: Extracted packet for processing {"connection_id":186723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebf"} 
[2026-09-17 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":755740032,"raw_latitude":117615544,"longitude_deg":75.5740032,"latitude_deg":11.7615544,"altitude":13,"angle":285,"satellites":37,"speed":5,"hex_longitude":"2d0bad80","hex_latitude":"0702abb8","is_valid_coordinates":true} 
[2026-09-17 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147379200001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32861241458294784,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842947216613439488,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789638206000,"timestamp_ms":1789638206000,"timestamp_seconds":1789638206,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebfe230"} 
[2026-09-17 15:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 15:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147379200001,"66":14396,"37":206,"94":11008,"24":5,"16":32861241458294784,"45":842947216613439488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147379200001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:14:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:14:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32861241458294784,"km_value":32861241458294.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":842947216613439488,"description":"Unknown IO ID 45"} 
[2026-09-17 15:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147379200001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":842947216613439488}} 
[2026-09-17 15:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":186723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:14:22] local.INFO: GPS data processed {"connection_id":186723,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:14:22] local.INFO: Acknowledgment sent {"connection_id":186723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:14:25] local.INFO: TCP Data received {"connection_id":185409,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:14:25] local.INFO: Processing buffer {"connection_id":185409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:14:25] local.INFO: IMEI packet received {"connection_id":185409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":185409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:14:27] local.INFO: TCP Data received {"connection_id":185409,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec02498012d7c2e4005f84ff0000c00ab27..."} 
[2026-09-17 15:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec02498012d7c2e4005f84ff0000c00ab27..."} 
[2026-09-17 15:14:27] local.INFO: Processing buffer {"connection_id":185409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec02498012d7c2e4005f84ff0000c00ab27..."} 
[2026-09-17 15:14:27] local.INFO: Packet analysis {"connection_id":185409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:14:27] local.INFO: Extracted packet for processing {"connection_id":185409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763113024,"raw_latitude":100159472,"longitude_deg":76.3113024,"latitude_deg":10.0159472,"altitude":12,"angle":171,"satellites":39,"speed":46,"hex_longitude":"2d7c2e40","hex_latitude":"05f84ff0","is_valid_coordinates":true} 
[2026-09-17 15:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147383040001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134281796027154432,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946752529135556608,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789638223000,"timestamp_ms":1789638223000,"timestamp_seconds":1789638223,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec02498"} 
[2026-09-17 15:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147383040001,"66":13341,"75":206,"87":12800,"24":46,"16":134281796027154432,"45":8946752529135556608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-09-17 15:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147383040001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:14:27] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-17 15:14:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134281796027154432,"km_value":134281796027154.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946752529135556608,"description":"Unknown IO ID 45"} 
[2026-09-17 15:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147383040001,"power":13341,"unknown_75":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8946752529135556608}} 
[2026-09-17 15:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":185409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:14:27] local.INFO: GPS data processed {"connection_id":185409,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:14:27] local.INFO: Acknowledgment sent {"connection_id":185409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:14:52] local.INFO: TCP Data received {"connection_id":185269,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:14:52] local.INFO: Processing buffer {"connection_id":185269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:14:52] local.INFO: Packet analysis {"connection_id":185269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:14:52] local.INFO: Extracted packet for processing {"connection_id":185269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:14:52] 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-09-17 15:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":185269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:14:52] local.INFO: GPS data processed {"connection_id":185269,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:14:52] local.INFO: Acknowledgment sent {"connection_id":185269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:14:54] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:14:54] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:14:54] local.INFO: IMEI packet received {"connection_id":186724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":186724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:14:58] local.INFO: TCP Data received {"connection_id":185409,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec043d8012d7c344005f82af0000c00a926..."} 
[2026-09-17 15:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec043d8012d7c344005f82af0000c00a926..."} 
[2026-09-17 15:14:58] local.INFO: Processing buffer {"connection_id":185409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec043d8012d7c344005f82af0000c00a926..."} 
[2026-09-17 15:14:58] local.INFO: Packet analysis {"connection_id":185409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:14:58] local.INFO: Extracted packet for processing {"connection_id":185409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":100150000,"longitude_deg":76.311456,"latitude_deg":10.015,"altitude":12,"angle":169,"satellites":38,"speed":38,"hex_longitude":"2d7c3440","hex_latitude":"05f82af0","is_valid_coordinates":true} 
[2026-09-17 15:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147385088001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134282259883622400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948159904016756736,"note":"Value kept but may cause issues"} 
[2026-09-17 15:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789638231000,"timestamp_ms":1789638231000,"timestamp_seconds":1789638231,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec043d8"} 
[2026-09-17 15:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 15:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147385088001,"66":13189,"75":206,"87":12800,"24":38,"16":134282259883622400,"45":8948159904016756736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-09-17 15:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147385088001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:14:58] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-17 15:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134282259883622400,"km_value":134282259883622.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948159904016756736,"description":"Unknown IO ID 45"} 
[2026-09-17 15:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147385088001,"power":13189,"unknown_75":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8948159904016756736}} 
[2026-09-17 15:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":185409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:14:58] local.INFO: GPS data processed {"connection_id":185409,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:14:58] local.INFO: Acknowledgment sent {"connection_id":185409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:15:00] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:15:00] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:15:00] local.INFO: IMEI packet received {"connection_id":186724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":186724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:15:05] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 15:15:05] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 15:15:05] local.INFO: IMEI packet received {"connection_id":186724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":186724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:15:20] local.INFO: TCP Data received {"connection_id":186725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:15:20] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:15:20] local.INFO: IMEI packet received {"connection_id":186725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":186725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:15:20] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:15:20] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:15:20] local.INFO: IMEI packet received {"connection_id":185410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":185410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:15:25] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:15:25] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:15:25] local.INFO: IMEI packet received {"connection_id":185410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":185410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:15:25] local.INFO: TCP Data received {"connection_id":186725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:15:25] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:15:25] local.INFO: IMEI packet received {"connection_id":186725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":186725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:15:26] local.INFO: TCP Data received {"connection_id":186725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:15:26] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:15:26] local.INFO: Packet analysis {"connection_id":186725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:15:26] local.INFO: Extracted packet for processing {"connection_id":186725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:15:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:15:26] 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-09-17 15:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:15:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:15:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":186725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:15:26] local.INFO: GPS data processed {"connection_id":186725,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:15:26] local.INFO: Acknowledgment sent {"connection_id":186725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:15:28] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:15:28] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:15:28] local.INFO: IMEI packet received {"connection_id":185410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":185410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:15:30] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec06ae8012d7c3a8005f808b8000d00a927..."} 
[2026-09-17 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec06ae8012d7c3a8005f808b8000d00a927..."} 
[2026-09-17 15:15:30] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec06ae8012d7c3a8005f808b8000d00a927..."} 
[2026-09-17 15:15:30] local.INFO: Packet analysis {"connection_id":185410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:15:30] local.INFO: Extracted packet for processing {"connection_id":185410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763116160,"raw_latitude":100141240,"longitude_deg":76.311616,"latitude_deg":10.014124,"altitude":13,"angle":169,"satellites":39,"speed":36,"hex_longitude":"2d7c3a80","hex_latitude":"05f808b8","is_valid_coordinates":true} 
[2026-09-17 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147387136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134282693675319296,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753874595840,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789638241000,"timestamp_ms":1789638241000,"timestamp_seconds":1789638241,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec06ae8"} 
[2026-09-17 15:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147387136001,"66":13341,"75":206,"87":12800,"24":36,"16":134282693675319296,"45":8949848753874595840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-09-17 15:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147387136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:15:30] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-17 15:15:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134282693675319296,"km_value":134282693675319.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753874595840,"description":"Unknown IO ID 45"} 
[2026-09-17 15:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147387136001,"power":13341,"unknown_75":206,"unknown_87":12800,"ignition":36,"odometer":null,"unknown_45":8949848753874595840}} 
[2026-09-17 15:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":185410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:15:30] local.INFO: GPS data processed {"connection_id":185410,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:15:30] local.INFO: Acknowledgment sent {"connection_id":185410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:15:32] local.INFO: TCP Data received {"connection_id":186725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:15:32] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:15:32] local.INFO: Packet analysis {"connection_id":186725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:15:32] local.INFO: Extracted packet for processing {"connection_id":186725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:15:32] 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-09-17 15:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:15:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:15:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":186725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:15:32] local.INFO: GPS data processed {"connection_id":186725,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:15:32] local.INFO: Acknowledgment sent {"connection_id":186725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:15:33] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec091f8012d7c400005f7e2c0000b00ab27..."} 
[2026-09-17 15:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec091f8012d7c400005f7e2c0000b00ab27..."} 
[2026-09-17 15:15:33] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec091f8012d7c400005f7e2c0000b00ab27..."} 
[2026-09-17 15:15:33] local.INFO: Packet analysis {"connection_id":185410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:15:33] local.INFO: Extracted packet for processing {"connection_id":185410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763117568,"raw_latitude":100131520,"longitude_deg":76.3117568,"latitude_deg":10.013152,"altitude":11,"angle":171,"satellites":39,"speed":42,"hex_longitude":"2d7c4000","hex_latitude":"05f7e2c0","is_valid_coordinates":true} 
[2026-09-17 15:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147389696001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134283166121721856,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951607972476794880,"note":"Value kept but may cause issues"} 
[2026-09-17 15:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789638251000,"timestamp_ms":1789638251000,"timestamp_seconds":1789638251,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec091f8"} 
[2026-09-17 15:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 15:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147389696001,"66":13450,"75":206,"87":12800,"24":42,"16":134283166121721856,"45":8951607972476794880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-09-17 15:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147389696001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:15:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-17 15:15:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134283166121721856,"km_value":134283166121721.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951607972476794880,"description":"Unknown IO ID 45"} 
[2026-09-17 15:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147389696001,"power":13450,"unknown_75":206,"unknown_87":12800,"ignition":42,"odometer":null,"unknown_45":8951607972476794880}} 
[2026-09-17 15:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":185410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:15:33] local.INFO: GPS data processed {"connection_id":185410,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:15:33] local.INFO: Acknowledgment sent {"connection_id":185410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:16:05] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec0c0d8012d7c460005f7c068000900ae26..."} 
[2026-09-17 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec0c0d8012d7c460005f7c068000900ae26..."} 
[2026-09-17 15:16:05] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec0c0d8012d7c460005f7c068000900ae26..."} 
[2026-09-17 15:16:05] local.INFO: Packet analysis {"connection_id":185410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:16:05] local.INFO: Extracted packet for processing {"connection_id":185410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec0"} 
[2026-09-17 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763119104,"raw_latitude":100122728,"longitude_deg":76.3119104,"latitude_deg":10.0122728,"altitude":9,"angle":174,"satellites":38,"speed":21,"hex_longitude":"2d7c4600","hex_latitude":"05f7c068","is_valid_coordinates":true} 
[2026-09-17 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147392256001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134283599913418752,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953156084846215168,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789638263000,"timestamp_ms":1789638263000,"timestamp_seconds":1789638263,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec0c0d8"} 
[2026-09-17 15:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 15:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147392256001,"66":13091,"75":206,"87":12800,"24":21,"16":134283599913418752,"45":8953156084846215168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-09-17 15:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147392256001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:16:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-17 15:16:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134283599913418752,"km_value":134283599913418.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953156084846215168,"description":"Unknown IO ID 45"} 
[2026-09-17 15:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147392256001,"power":13091,"unknown_75":206,"unknown_87":12800,"ignition":21,"odometer":null,"unknown_45":8953156084846215168}} 
[2026-09-17 15:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":185410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:16:05] local.INFO: GPS data processed {"connection_id":185410,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:16:05] local.INFO: Acknowledgment sent {"connection_id":185410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:16:10] local.INFO: TCP Data received {"connection_id":188030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:16:10] local.INFO: Processing buffer {"connection_id":188030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:16:10] local.INFO: IMEI packet received {"connection_id":188030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":188030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:16:15] local.INFO: TCP Data received {"connection_id":185412,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:16:15] local.INFO: Processing buffer {"connection_id":185412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:16:15] local.INFO: IMEI packet received {"connection_id":185412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":185412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:16:20] local.INFO: TCP Data received {"connection_id":185271,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:16:20] local.INFO: Processing buffer {"connection_id":185271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:16:20] local.INFO: IMEI packet received {"connection_id":185271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:16:21] local.INFO: TCP Data received {"connection_id":185412,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:16:21] local.INFO: Processing buffer {"connection_id":185412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:16:21] local.INFO: IMEI packet received {"connection_id":185412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":185412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:16:22] local.INFO: TCP Data received {"connection_id":185412,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:16:22] local.INFO: Processing buffer {"connection_id":185412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:16:22] local.INFO: Packet analysis {"connection_id":185412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:16:22] local.INFO: Extracted packet for processing {"connection_id":185412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:16:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:16: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-09-17 15:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:16:22] 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-09-17 15:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:16:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:16:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":185412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:16:22] local.INFO: GPS data processed {"connection_id":185412,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:16:22] local.INFO: Acknowledgment sent {"connection_id":185412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:16:25] local.INFO: TCP Data received {"connection_id":185271,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:16:25] local.INFO: Processing buffer {"connection_id":185271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:16:25] local.INFO: IMEI packet received {"connection_id":185271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":185271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:16:26] local.INFO: TCP Data received {"connection_id":185271,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec21898012d7c868005f63108000a00aa23..."} 
[2026-09-17 15:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec21898012d7c868005f63108000a00aa23..."} 
[2026-09-17 15:16:26] local.INFO: Processing buffer {"connection_id":185271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec21898012d7c868005f63108000a00aa23..."} 
[2026-09-17 15:16:26] local.INFO: Packet analysis {"connection_id":185271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:16:26] local.INFO: Extracted packet for processing {"connection_id":185271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763135616,"raw_latitude":100020488,"longitude_deg":76.3135616,"latitude_deg":10.0020488,"altitude":10,"angle":170,"satellites":35,"speed":41,"hex_longitude":"2d7c8680","hex_latitude":"05f63108","is_valid_coordinates":true} 
[2026-09-17 15:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147415296001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134288620730187776,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971311220818067456,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638351000,"timestamp_ms":1789638351000,"timestamp_seconds":1789638351,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec21898"} 
[2026-09-17 15:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 15:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147415296001,"66":13406,"143":206,"87":12800,"24":41,"16":134288620730187776,"45":8971311220818067456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,87,24,16,45]} 
[2026-09-17 15:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147415296001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:16:26] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-17 15:16:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134288620730187776,"km_value":134288620730187.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971311220818067456,"description":"Unknown IO ID 45"} 
[2026-09-17 15:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147415296001,"power":13406,"unknown_143":206,"unknown_87":12800,"ignition":41,"odometer":null,"unknown_45":8971311220818067456}} 
[2026-09-17 15:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":185271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:16:26] local.INFO: GPS data processed {"connection_id":185271,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:16:26] local.INFO: Acknowledgment sent {"connection_id":185271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:16:27] local.INFO: TCP Data received {"connection_id":185271,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec24b60012d7c8d0005f60dd0000700ab23..."} 
[2026-09-17 15:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec24b60012d7c8d0005f60dd0000700ab23..."} 
[2026-09-17 15:16:27] local.INFO: Processing buffer {"connection_id":185271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec24b60012d7c8d0005f60dd0000700ab23..."} 
[2026-09-17 15:16:27] local.INFO: Packet analysis {"connection_id":185271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:16:27] local.INFO: Extracted packet for processing {"connection_id":185271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763137280,"raw_latitude":100011472,"longitude_deg":76.313728,"latitude_deg":10.0011472,"altitude":7,"angle":171,"satellites":35,"speed":39,"hex_longitude":"2d7c8d00","hex_latitude":"05f60dd0","is_valid_coordinates":true} 
[2026-09-17 15:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147417856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134289067406786560,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973000070675892224,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789638364000,"timestamp_ms":1789638364000,"timestamp_seconds":1789638364,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec24b60"} 
[2026-09-17 15:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 15:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147417856001,"66":12341,"32":206,"87":12800,"24":39,"16":134289067406786560,"45":8973000070675892224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-17 15:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147417856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:16:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 15:16:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134289067406786560,"km_value":134289067406786.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973000070675892224,"description":"Unknown IO ID 45"} 
[2026-09-17 15:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147417856001,"power":12341,"unknown_32":206,"unknown_87":12800,"ignition":39,"odometer":null,"unknown_45":8973000070675892224}} 
[2026-09-17 15:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":185271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:16:27] local.INFO: GPS data processed {"connection_id":185271,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:16:27] local.INFO: Acknowledgment sent {"connection_id":185271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:16:50] local.INFO: TCP Data received {"connection_id":186726,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:16:50] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:16:50] local.INFO: IMEI packet received {"connection_id":186726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":186726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:16:53] local.INFO: TCP Data received {"connection_id":185412,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:16:53] local.INFO: Processing buffer {"connection_id":185412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aebe4808012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:16:53] local.INFO: Packet analysis {"connection_id":185412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:16:53] local.INFO: Extracted packet for processing {"connection_id":185412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aebe"} 
[2026-09-17 15:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147276800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638101000,"timestamp_ms":1789638101000,"timestamp_seconds":1789638101,"priority":1,"record_length":96,"hex_timestamp":"000001a0aebe4808"} 
[2026-09-17 15:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 15:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:16:53] 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-09-17 15:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147276800001,"66":26039,"97":206,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-17 15:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147276800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-17 15:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147276800001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":185412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:16:53] local.INFO: GPS data processed {"connection_id":185412,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:16:53] local.INFO: Acknowledgment sent {"connection_id":185412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:16:58] local.INFO: TCP Data received {"connection_id":185271,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec26e88012d7c92c005f5e9a8000700ab22..."} 
[2026-09-17 15:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec26e88012d7c92c005f5e9a8000700ab22..."} 
[2026-09-17 15:16:58] local.INFO: Processing buffer {"connection_id":185271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec26e88012d7c92c005f5e9a8000700ab22..."} 
[2026-09-17 15:16:58] local.INFO: Packet analysis {"connection_id":185271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:16:58] local.INFO: Extracted packet for processing {"connection_id":185271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763138752,"raw_latitude":100002216,"longitude_deg":76.3138752,"latitude_deg":10.0002216,"altitude":7,"angle":171,"satellites":34,"speed":40,"hex_longitude":"2d7c92c0","hex_latitude":"05f5e9a8","is_valid_coordinates":true} 
[2026-09-17 15:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147421184001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134289522673319936,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974829658022203392,"note":"Value kept but may cause issues"} 
[2026-09-17 15:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789638373000,"timestamp_ms":1789638373000,"timestamp_seconds":1789638373,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec26e88"} 
[2026-09-17 15:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-17 15:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147421184001,"66":13526,"32":206,"87":12800,"24":40,"16":134289522673319936,"45":8974829658022203392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-17 15:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147421184001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:16:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 15:16:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134289522673319936,"km_value":134289522673319.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974829658022203392,"description":"Unknown IO ID 45"} 
[2026-09-17 15:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147421184001,"power":13526,"unknown_32":206,"unknown_87":12800,"ignition":40,"odometer":null,"unknown_45":8974829658022203392}} 
[2026-09-17 15:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":185271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:16:58] local.INFO: GPS data processed {"connection_id":185271,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:16:58] local.INFO: Acknowledgment sent {"connection_id":185271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:17:16] local.INFO: TCP Data received {"connection_id":185272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:17:16] local.INFO: Processing buffer {"connection_id":185272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:17:16] local.INFO: IMEI packet received {"connection_id":185272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":185272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:17:17] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:17:17] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:17:17] local.INFO: IMEI packet received {"connection_id":185413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":185413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:17:20] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:17:20] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:17:20] local.INFO: IMEI packet received {"connection_id":185413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":185413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:17:21] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:17:21] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:17:21] local.INFO: Packet analysis {"connection_id":185413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:21] local.INFO: Extracted packet for processing {"connection_id":185413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:17: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-09-17 15:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:17:21] 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-09-17 15:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":185413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:17:21] local.INFO: GPS data processed {"connection_id":185413,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:17:21] local.INFO: Acknowledgment sent {"connection_id":185413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:17:21] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:17:21] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:17:21] local.INFO: Packet analysis {"connection_id":185413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:21] local.INFO: Extracted packet for processing {"connection_id":185413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:17: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-09-17 15:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:17:21] 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-09-17 15:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":185413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:17:21] local.INFO: GPS data processed {"connection_id":185413,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:17:21] local.INFO: Acknowledgment sent {"connection_id":185413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:17:30] local.INFO: TCP Data received {"connection_id":185272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:17:30] local.INFO: Processing buffer {"connection_id":185272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:17:30] local.INFO: IMEI packet received {"connection_id":185272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":185272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:17:32] local.INFO: TCP Data received {"connection_id":185272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:17:32] local.INFO: Processing buffer {"connection_id":185272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:17:32] local.INFO: IMEI packet received {"connection_id":185272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":185272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:17:33] local.INFO: TCP Data received {"connection_id":185272,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec29980012d7c980005f5c748000700a522..."} 
[2026-09-17 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec29980012d7c980005f5c748000700a522..."} 
[2026-09-17 15:17:33] local.INFO: Processing buffer {"connection_id":185272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec29980012d7c980005f5c748000700a522..."} 
[2026-09-17 15:17:33] local.INFO: Packet analysis {"connection_id":185272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:33] local.INFO: Extracted packet for processing {"connection_id":185272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763140096,"raw_latitude":99993416,"longitude_deg":76.3140096,"latitude_deg":9.9993416,"altitude":7,"angle":165,"satellites":34,"speed":20,"hex_longitude":"2d7c9800","hex_latitude":"05f5c748","is_valid_coordinates":true} 
[2026-09-17 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147423488001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134289952170049536,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976448139135920128,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789638384000,"timestamp_ms":1789638384000,"timestamp_seconds":1789638384,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec29980"} 
[2026-09-17 15:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 15:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147423488001,"66":13037,"166":206,"87":12800,"24":20,"16":134289952170049536,"45":8976448139135920128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,87,24,16,45]} 
[2026-09-17 15:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147423488001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:17:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-17 15:17:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134289952170049536,"km_value":134289952170049.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976448139135920128,"description":"Unknown IO ID 45"} 
[2026-09-17 15:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147423488001,"power":13037,"unknown_166":206,"unknown_87":12800,"ignition":20,"odometer":null,"unknown_45":8976448139135920128}} 
[2026-09-17 15:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":185272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:17:33] local.INFO: GPS data processed {"connection_id":185272,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:17:33] local.INFO: Acknowledgment sent {"connection_id":185272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:17:34] local.INFO: TCP Data received {"connection_id":185272,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2c090012d7c9d8005f5a2b0000800aa22..."} 
[2026-09-17 15:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2c090012d7c9d8005f5a2b0000800aa22..."} 
[2026-09-17 15:17:34] local.INFO: Processing buffer {"connection_id":185272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2c090012d7c9d8005f5a2b0000800aa22..."} 
[2026-09-17 15:17:34] local.INFO: Packet analysis {"connection_id":185272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:34] local.INFO: Extracted packet for processing {"connection_id":185272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763141504,"raw_latitude":99984048,"longitude_deg":76.3141504,"latitude_deg":9.9984048,"altitude":8,"angle":170,"satellites":34,"speed":49,"hex_longitude":"2d7c9d80","hex_latitude":"05f5a2b0","is_valid_coordinates":true} 
[2026-09-17 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147426304001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134290411731550208,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977925882761398272,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789638394000,"timestamp_ms":1789638394000,"timestamp_seconds":1789638394,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2c090"} 
[2026-09-17 15:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 15:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147426304001,"66":13059,"166":206,"87":12800,"24":49,"16":134290411731550208,"45":8977925882761398272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,87,24,16,45]} 
[2026-09-17 15:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147426304001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:17:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-17 15:17:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134290411731550208,"km_value":134290411731550.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977925882761398272,"description":"Unknown IO ID 45"} 
[2026-09-17 15:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147426304001,"power":13059,"unknown_166":206,"unknown_87":12800,"ignition":49,"odometer":null,"unknown_45":8977925882761398272}} 
[2026-09-17 15:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":185272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:17:34] local.INFO: GPS data processed {"connection_id":185272,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:17:34] local.INFO: Acknowledgment sent {"connection_id":185272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:17:53] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:17:53] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:17:53] local.INFO: Packet analysis {"connection_id":185413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:53] local.INFO: Extracted packet for processing {"connection_id":185413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:17:53] 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-09-17 15:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":185413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:17:53] local.INFO: GPS data processed {"connection_id":185413,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:17:53] local.INFO: Acknowledgment sent {"connection_id":185413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:18:20] local.INFO: TCP Data received {"connection_id":188032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:18:20] local.INFO: Processing buffer {"connection_id":188032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:18:20] local.INFO: IMEI packet received {"connection_id":188032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":188032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:18:25] local.INFO: TCP Data received {"connection_id":188032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:18:25] local.INFO: Processing buffer {"connection_id":188032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:18:25] local.INFO: IMEI packet received {"connection_id":188032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":188032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:18:26] local.INFO: TCP Data received {"connection_id":188032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:18:26] local.INFO: Processing buffer {"connection_id":188032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:18:26] local.INFO: Packet analysis {"connection_id":188032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:18:26] local.INFO: Extracted packet for processing {"connection_id":188032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:18:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:18:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:18:26] 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-09-17 15:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:18:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":188032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:18:26] local.INFO: GPS data processed {"connection_id":188032,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:18:26] local.INFO: Acknowledgment sent {"connection_id":188032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:18:31] local.INFO: TCP Data received {"connection_id":188032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:18:31] local.INFO: Processing buffer {"connection_id":188032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:18:31] local.INFO: Packet analysis {"connection_id":188032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:18:31] local.INFO: Extracted packet for processing {"connection_id":188032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:18:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:18:31] 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-09-17 15:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":188032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:18:31] local.INFO: GPS data processed {"connection_id":188032,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:18:31] local.INFO: Acknowledgment sent {"connection_id":188032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:18:54] local.INFO: TCP Data received {"connection_id":185273,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:18:54] local.INFO: Processing buffer {"connection_id":185273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:18:54] local.INFO: IMEI packet received {"connection_id":185273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":185273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:19:00] local.INFO: TCP Data received {"connection_id":185273,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:00] local.INFO: Processing buffer {"connection_id":185273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:00] local.INFO: IMEI packet received {"connection_id":185273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":185273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:19:01] local.INFO: TCP Data received {"connection_id":185273,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec46288012d7ce10005f41628000d00aa22..."} 
[2026-09-17 15:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec46288012d7ce10005f41628000d00aa22..."} 
[2026-09-17 15:19:01] local.INFO: Processing buffer {"connection_id":185273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec46288012d7ce10005f41628000d00aa22..."} 
[2026-09-17 15:19:01] local.INFO: Packet analysis {"connection_id":185273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:19:01] local.INFO: Extracted packet for processing {"connection_id":185273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763158784,"raw_latitude":99882536,"longitude_deg":76.3158784,"latitude_deg":9.9882536,"altitude":13,"angle":170,"satellites":34,"speed":36,"hex_longitude":"2d7ce100","hex_latitude":"05f41628","is_valid_coordinates":true} 
[2026-09-17 15:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147453952001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134295406778515456,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996643968686581760,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789638501000,"timestamp_ms":1789638501000,"timestamp_seconds":1789638501,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec46288"} 
[2026-09-17 15:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 15:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147453952001,"66":13091,"26":206,"87":12800,"24":36,"16":134295406778515456,"45":8996643968686581760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-09-17 15:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147453952001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:19:01] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-17 15:19:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134295406778515456,"km_value":134295406778515.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996643968686581760,"description":"Unknown IO ID 45"} 
[2026-09-17 15:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147453952001,"power":13091,"unknown_26":206,"unknown_87":12800,"ignition":36,"odometer":null,"unknown_45":8996643968686581760}} 
[2026-09-17 15:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":185273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:19:01] local.INFO: GPS data processed {"connection_id":185273,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:19:01] local.INFO: Acknowledgment sent {"connection_id":185273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:19:15] local.INFO: TCP Data received {"connection_id":185414,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:19:15] local.INFO: Processing buffer {"connection_id":185414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:19:15] local.INFO: IMEI packet received {"connection_id":185414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":185414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:19:20] local.INFO: TCP Data received {"connection_id":185414,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:19:20] local.INFO: Processing buffer {"connection_id":185414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:19:20] local.INFO: IMEI packet received {"connection_id":185414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":185414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:19:21] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:21] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:21] local.INFO: IMEI packet received {"connection_id":185415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":185415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:19:21] local.INFO: TCP Data received {"connection_id":185414,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:19:21] local.INFO: Processing buffer {"connection_id":185414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:19:21] local.INFO: Packet analysis {"connection_id":185414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:19:21] local.INFO: Extracted packet for processing {"connection_id":185414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:19: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-09-17 15:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:19:21] 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-09-17 15:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":185414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:19:21] local.INFO: GPS data processed {"connection_id":185414,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:19:21] local.INFO: Acknowledgment sent {"connection_id":185414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:19:24] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:24] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:24] local.INFO: IMEI packet received {"connection_id":185415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":185415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:19:30] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:30] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:19:30] local.INFO: IMEI packet received {"connection_id":185415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":185415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:19:31] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec49168012d7ce60005f3f380000800ad23..."} 
[2026-09-17 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec49168012d7ce60005f3f380000800ad23..."} 
[2026-09-17 15:19:31] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec49168012d7ce60005f3f380000800ad23..."} 
[2026-09-17 15:19:31] local.INFO: Packet analysis {"connection_id":185415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:19:31] local.INFO: Extracted packet for processing {"connection_id":185415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763160064,"raw_latitude":99873664,"longitude_deg":76.3160064,"latitude_deg":9.9873664,"altitude":8,"angle":173,"satellites":35,"speed":32,"hex_longitude":"2d7ce600","hex_latitude":"05f3f380","is_valid_coordinates":true} 
[2026-09-17 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147456256001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134295840570212352,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998473556032890880,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789638513000,"timestamp_ms":1789638513000,"timestamp_seconds":1789638513,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec49168"} 
[2026-09-17 15:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 15:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147456256001,"66":13276,"26":206,"87":12800,"24":32,"16":134295840570212352,"45":8998473556032890880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-09-17 15:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147456256001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:19:31] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-17 15:19:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134295840570212352,"km_value":134295840570212.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998473556032890880,"description":"Unknown IO ID 45"} 
[2026-09-17 15:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147456256001,"power":13276,"unknown_26":206,"unknown_87":12800,"ignition":32,"odometer":null,"unknown_45":8998473556032890880}} 
[2026-09-17 15:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":185415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:19:31] local.INFO: GPS data processed {"connection_id":185415,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:19:31] local.INFO: Acknowledgment sent {"connection_id":185415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:19:33] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec4b878012d7ceb8005f3cf40000900aa23..."} 
[2026-09-17 15:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec4b878012d7ceb8005f3cf40000900aa23..."} 
[2026-09-17 15:19:33] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec4b878012d7ceb8005f3cf40000900aa23..."} 
[2026-09-17 15:19:33] local.INFO: Packet analysis {"connection_id":185415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:19:33] local.INFO: Extracted packet for processing {"connection_id":185415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763161472,"raw_latitude":99864384,"longitude_deg":76.3161472,"latitude_deg":9.9864384,"altitude":9,"angle":170,"satellites":35,"speed":40,"hex_longitude":"2d7ceb80","hex_latitude":"05f3cf40","is_valid_coordinates":true} 
[2026-09-17 15:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147459328001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134296295836745728,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999880930914172928,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789638523000,"timestamp_ms":1789638523000,"timestamp_seconds":1789638523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec4b878"} 
[2026-09-17 15:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 15:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147459328001,"66":12504,"179":206,"87":12800,"24":40,"16":134296295836745728,"45":8999880930914172928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,87,24,16,45]} 
[2026-09-17 15:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147459328001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:19:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-17 15:19:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 15:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134296295836745728,"km_value":134296295836745.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999880930914172928,"description":"Unknown IO ID 45"} 
[2026-09-17 15:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147459328001,"power":12504,"unknown_179":206,"unknown_87":12800,"ignition":40,"odometer":null,"unknown_45":8999880930914172928}} 
[2026-09-17 15:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":185415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:19:33] local.INFO: GPS data processed {"connection_id":185415,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:19:33] local.INFO: Acknowledgment sent {"connection_id":185415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:19:53] local.INFO: TCP Data received {"connection_id":185414,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:19:53] local.INFO: Processing buffer {"connection_id":185414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:19:53] local.INFO: Packet analysis {"connection_id":185414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:19:53] local.INFO: Extracted packet for processing {"connection_id":185414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:19:53] 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-09-17 15:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":185414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:19:53] local.INFO: GPS data processed {"connection_id":185414,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:19:53] local.INFO: Acknowledgment sent {"connection_id":185414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:20:05] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec4dba0012d7cf1c005f3aab8000900aa22..."} 
[2026-09-17 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec4dba0012d7cf1c005f3aab8000900aa22..."} 
[2026-09-17 15:20:05] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec4dba0012d7cf1c005f3aab8000900aa22..."} 
[2026-09-17 15:20:05] local.INFO: Packet analysis {"connection_id":185415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:20:05] local.INFO: Extracted packet for processing {"connection_id":185415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763163072,"raw_latitude":99855032,"longitude_deg":76.3163072,"latitude_deg":9.9855032,"altitude":9,"angle":170,"satellites":34,"speed":45,"hex_longitude":"2d7cf1c0","hex_latitude":"05f3aab8","is_valid_coordinates":true} 
[2026-09-17 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147461888001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134296759693213696,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001429043283705856,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789638532000,"timestamp_ms":1789638532000,"timestamp_seconds":1789638532,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec4dba0"} 
[2026-09-17 15:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 15:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":185415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147461888001,"66":13059,"250":206,"87":13056,"24":45,"16":134296759693213696,"45":9001429043283705856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-17 15:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147461888001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:20:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-17 15:20:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-09-17 15:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134296759693213696,"km_value":134296759693213.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001429043283705856,"description":"Unknown IO ID 45"} 
[2026-09-17 15:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147461888001,"power":13059,"unknown_250":206,"unknown_87":13056,"ignition":45,"odometer":null,"unknown_45":9001429043283705856}} 
[2026-09-17 15:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":185415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:20:05] local.INFO: GPS data processed {"connection_id":185415,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:20:05] local.INFO: Acknowledgment sent {"connection_id":185415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:20:15] local.INFO: TCP Data received {"connection_id":186729,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:20:15] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:20:15] local.INFO: IMEI packet received {"connection_id":186729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":186729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:20:19] local.INFO: TCP Data received {"connection_id":188033,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:20:19] local.INFO: Processing buffer {"connection_id":188033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:20:19] local.INFO: IMEI packet received {"connection_id":188033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":188033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:20:20] local.INFO: TCP Data received {"connection_id":186729,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:20:20] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:20:20] local.INFO: IMEI packet received {"connection_id":186729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":186729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:20:21] local.INFO: TCP Data received {"connection_id":186729,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:20:21] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:20:21] local.INFO: Packet analysis {"connection_id":186729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:20:21] local.INFO: Extracted packet for processing {"connection_id":186729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:20: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-09-17 15:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:20:21] 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-09-17 15:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":186729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:20:21] local.INFO: GPS data processed {"connection_id":186729,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:20:21] local.INFO: Acknowledgment sent {"connection_id":186729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:20:22] local.INFO: TCP Data received {"connection_id":188033,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:20:22] local.INFO: Processing buffer {"connection_id":188033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:20:22] local.INFO: IMEI packet received {"connection_id":188033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":188033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:20:24] local.INFO: TCP Data received {"connection_id":188033,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:20:24] local.INFO: Processing buffer {"connection_id":188033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:20:24] local.INFO: IMEI packet received {"connection_id":188033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":188033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:20:26] local.INFO: TCP Data received {"connection_id":188033,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec4fec8012d7cf88005f386e0000800a522..."} 
[2026-09-17 15:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec4fec8012d7cf88005f386e0000800a522..."} 
[2026-09-17 15:20:26] local.INFO: Processing buffer {"connection_id":188033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec4fec8012d7cf88005f386e0000800a522..."} 
[2026-09-17 15:20:26] local.INFO: Packet analysis {"connection_id":188033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:20:26] local.INFO: Extracted packet for processing {"connection_id":188033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec4"} 
[2026-09-17 15:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763164800,"raw_latitude":99845856,"longitude_deg":76.31648,"latitude_deg":9.9845856,"altitude":8,"angle":165,"satellites":34,"speed":43,"hex_longitude":"2d7cf880","hex_latitude":"05f386e0","is_valid_coordinates":true} 
[2026-09-17 15:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147464192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134297210664779776,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003188261885753344,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638541000,"timestamp_ms":1789638541000,"timestamp_seconds":1789638541,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec4fec8"} 
[2026-09-17 15:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311860,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2932076864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":26,"raw_value":58079717463949342,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3292487681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":874119374,"corrected_to":0} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391924,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4102324224,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:26] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,250,87,24,241,157,16,30,160,184,45,128,207,9,35,10,66,179,29,145,243,8,26,98,1,240,227,28,174,244,4,113,205,40,212,120,34,239,51,2,221,5],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":874119374,"validated":0}]} 
[2026-09-17 15:20:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648705409349910528,"timestamp_seconds":648705409349910.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147464192001,"66":13363,"250":206,"87":13056,"24":43,"16":134297210664779776,"45":9003188261885753344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-17 15:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147464192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:20:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-17 15:20:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-09-17 15:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134297210664779776,"km_value":134297210664779.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003188261885753344,"description":"Unknown IO ID 45"} 
[2026-09-17 15:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147464192001,"power":13363,"unknown_250":206,"unknown_87":13056,"ignition":43,"odometer":null,"unknown_45":9003188261885753344}} 
[2026-09-17 15:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":188033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:20:26] local.INFO: GPS data processed {"connection_id":188033,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:20:26] local.INFO: Acknowledgment sent {"connection_id":188033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:20:53] local.INFO: TCP Data received {"connection_id":186729,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:20:53] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:20:53] local.INFO: Packet analysis {"connection_id":186729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:20:53] local.INFO: Extracted packet for processing {"connection_id":186729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:20:53] 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-09-17 15:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":186729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:20:53] local.INFO: GPS data processed {"connection_id":186729,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:20:53] local.INFO: Acknowledgment sent {"connection_id":186729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:20:57] local.INFO: TCP Data received {"connection_id":188033,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec675c8012d7d300005f1d508000b00ae22..."} 
[2026-09-17 15:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec675c8012d7d300005f1d508000b00ae22..."} 
[2026-09-17 15:20:57] local.INFO: Processing buffer {"connection_id":188033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec675c8012d7d300005f1d508000b00ae22..."} 
[2026-09-17 15:20:57] local.INFO: Packet analysis {"connection_id":188033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec6"} 
[2026-09-17 15:20:57] local.INFO: Extracted packet for processing {"connection_id":188033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec6"} 
[2026-09-17 15:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":99734792,"longitude_deg":76.3179008,"latitude_deg":9.9734792,"altitude":11,"angle":174,"satellites":34,"speed":46,"hex_longitude":"2d7d3000","hex_latitude":"05f1d508","is_valid_coordinates":true} 
[2026-09-17 15:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147489280001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134302643798409216,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019724916739000320,"note":"Value kept but may cause issues"} 
[2026-09-17 15:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789638637000,"timestamp_ms":1789638637000,"timestamp_seconds":1789638637,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec675c8"} 
[2026-09-17 15:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 15:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147489280001,"66":13298,"28":206,"87":13056,"24":46,"16":134302643798409216,"45":9019724916739000320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-09-17 15:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147489280001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:20:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-17 15:20:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-09-17 15:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134302643798409216,"km_value":134302643798409.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019724916739000320,"description":"Unknown IO ID 45"} 
[2026-09-17 15:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147489280001,"power":13298,"unknown_28":206,"unknown_87":13056,"ignition":46,"odometer":null,"unknown_45":9019724916739000320}} 
[2026-09-17 15:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":188033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:20:57] local.INFO: GPS data processed {"connection_id":188033,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:20:57] local.INFO: Acknowledgment sent {"connection_id":188033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:21:15] local.INFO: TCP Data received {"connection_id":188035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:21:15] local.INFO: Processing buffer {"connection_id":188035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:21:15] local.INFO: IMEI packet received {"connection_id":188035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":188035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:21:20] local.INFO: TCP Data received {"connection_id":188035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:21:20] local.INFO: Processing buffer {"connection_id":188035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:21:20] local.INFO: IMEI packet received {"connection_id":188035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":188035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:21:21] local.INFO: TCP Data received {"connection_id":188035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:21:21] local.INFO: Processing buffer {"connection_id":188035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:21:21] local.INFO: Packet analysis {"connection_id":188035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:21:21] local.INFO: Extracted packet for processing {"connection_id":188035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:21:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:21: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-09-17 15:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:21:21] 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-09-17 15:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":188035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:21:21] local.INFO: GPS data processed {"connection_id":188035,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:21:21] local.INFO: Acknowledgment sent {"connection_id":188035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:21:33] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:21:33] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:21:33] local.INFO: IMEI packet received {"connection_id":186730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":186730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:21:34] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:21:34] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:21:34] local.INFO: IMEI packet received {"connection_id":186730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":186730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:21:40] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:21:40] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:21:40] local.INFO: IMEI packet received {"connection_id":186730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":186730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:21:41] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec69508012d7d334005f1af38000900af22..."} 
[2026-09-17 15:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec69508012d7d334005f1af38000900af22..."} 
[2026-09-17 15:21:41] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec69508012d7d334005f1af38000900af22..."} 
[2026-09-17 15:21:41] local.INFO: Packet analysis {"connection_id":186730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec6"} 
[2026-09-17 15:21:41] local.INFO: Extracted packet for processing {"connection_id":186730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec6"} 
[2026-09-17 15:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":99725112,"longitude_deg":76.317984,"latitude_deg":9.9725112,"altitude":9,"angle":175,"satellites":34,"speed":53,"hex_longitude":"2d7d3340","hex_latitude":"05f1af38","is_valid_coordinates":true} 
[2026-09-17 15: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-09-17 15:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147491072001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134303111949844480,"note":"Value kept but may cause issues"} 
[2026-09-17 15:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710079155210240,"note":"Value kept but may cause issues"} 
[2026-09-17 15:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789638645000,"timestamp_ms":1789638645000,"timestamp_seconds":1789638645,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec69508"} 
[2026-09-17 15:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-17 15:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15: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-09-17 15:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147491072001,"66":13319,"29":206,"87":13056,"24":53,"16":134303111949844480,"45":9020710079155210240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,87,24,16,45]} 
[2026-09-17 15:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147491072001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:21:41] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-17 15:21:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-09-17 15:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134303111949844480,"km_value":134303111949844.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710079155210240,"description":"Unknown IO ID 45"} 
[2026-09-17 15:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147491072001,"power":13319,"unknown_29":206,"unknown_87":13056,"ignition":53,"odometer":null,"unknown_45":9020710079155210240}} 
[2026-09-17 15:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":186730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:21:41] local.INFO: GPS data processed {"connection_id":186730,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:21:41] local.INFO: Acknowledgment sent {"connection_id":186730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:21:53] local.INFO: TCP Data received {"connection_id":188035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:21:53] local.INFO: Processing buffer {"connection_id":188035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec2dfd0012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:21:53] local.INFO: Packet analysis {"connection_id":188035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:21:53] local.INFO: Extracted packet for processing {"connection_id":188035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec2"} 
[2026-09-17 15:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147353856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:21:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638402000,"timestamp_ms":1789638402000,"timestamp_seconds":1789638402,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec2dfd0"} 
[2026-09-17 15:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:21:53] 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-09-17 15:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147353856001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147353856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147353856001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":188035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:21:53] local.INFO: GPS data processed {"connection_id":188035,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:21:53] local.INFO: Acknowledgment sent {"connection_id":188035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:22:15] local.INFO: TCP Data received {"connection_id":188037,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:22:15] local.INFO: Processing buffer {"connection_id":188037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:22:15] local.INFO: IMEI packet received {"connection_id":188037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":188037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:22:15] local.INFO: TCP Data received {"connection_id":188036,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:22:15] local.INFO: Processing buffer {"connection_id":188036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:22:15] local.INFO: IMEI packet received {"connection_id":188036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":188036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:22:20] local.INFO: TCP Data received {"connection_id":185274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:22:20] local.INFO: Processing buffer {"connection_id":185274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:22:20] local.INFO: IMEI packet received {"connection_id":185274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":185274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:22:20] local.INFO: TCP Data received {"connection_id":185274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:22:20] local.INFO: Processing buffer {"connection_id":185274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:22:20] local.INFO: IMEI packet received {"connection_id":185274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":185274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:22:20] local.INFO: TCP Data received {"connection_id":188037,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:22:20] local.INFO: Processing buffer {"connection_id":188037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:22:20] local.INFO: IMEI packet received {"connection_id":188037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":188037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:22:21] local.INFO: TCP Data received {"connection_id":188037,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:22:21] local.INFO: Processing buffer {"connection_id":188037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:22:21] local.INFO: Packet analysis {"connection_id":188037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:22:21] local.INFO: Extracted packet for processing {"connection_id":188037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:22: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-09-17 15:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:22:21] 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-09-17 15:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":188037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:22:21] local.INFO: GPS data processed {"connection_id":188037,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:22:21] local.INFO: Acknowledgment sent {"connection_id":188037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:22:24] local.INFO: TCP Data received {"connection_id":185274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:22:24] local.INFO: Processing buffer {"connection_id":185274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:22:24] local.INFO: IMEI packet received {"connection_id":185274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":185274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:22:26] local.INFO: TCP Data received {"connection_id":185274,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec6b060012d7d360005f18760000700b022..."} 
[2026-09-17 15:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec6b060012d7d360005f18760000700b022..."} 
[2026-09-17 15:22:26] local.INFO: Processing buffer {"connection_id":185274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec6b060012d7d360005f18760000700b022..."} 
[2026-09-17 15:22:26] local.INFO: Packet analysis {"connection_id":185274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec6"} 
[2026-09-17 15:22:26] local.INFO: Extracted packet for processing {"connection_id":185274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec6"} 
[2026-09-17 15:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99714912,"longitude_deg":76.3180544,"latitude_deg":9.9714912,"altitude":7,"angle":176,"satellites":34,"speed":60,"hex_longitude":"2d7d3600","hex_latitude":"05f18760","is_valid_coordinates":true} 
[2026-09-17 15:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147493120001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134303610166050816,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872827041792,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638652000,"timestamp_ms":1789638652000,"timestamp_seconds":1789638652,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec6b060"} 
[2026-09-17 15:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2932201864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3323463681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":242,"raw_value":-6003298260324048896,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861601998,"corrected_to":0} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3758173565,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4069154816,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57758831879280435,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.WARNING: Large IO value detected {"io_id":197,"raw_value":-4460814136026464251,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,29,87,24,241,157,16,35,160,117,45,213,11,34,10,66,28,90,128,247,55,1,240,198,227,174,242,4,113,205,44,244,239,49,2,221,5,9,60,51,197],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":205,"original":861601998,"validated":0}]} 
[2026-09-17 15:22:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648710906908573696,"timestamp_seconds":648710906908573.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147493120001,"66":13319,"29":206,"87":13056,"24":60,"16":134303610166050816,"45":9021624872827041792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,87,24,16,45]} 
[2026-09-17 15:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147493120001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:22:26] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-17 15:22:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-09-17 15:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134303610166050816,"km_value":134303610166050.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872827041792,"description":"Unknown IO ID 45"} 
[2026-09-17 15:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147493120001,"power":13319,"unknown_29":206,"unknown_87":13056,"ignition":60,"odometer":null,"unknown_45":9021624872827041792}} 
[2026-09-17 15:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":185274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:22:26] local.INFO: GPS data processed {"connection_id":185274,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:22:26] local.INFO: Acknowledgment sent {"connection_id":185274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:22:53] local.INFO: TCP Data received {"connection_id":188037,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:22:53] local.INFO: Processing buffer {"connection_id":188037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:22:53] local.INFO: Packet analysis {"connection_id":188037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:22:53] local.INFO: Extracted packet for processing {"connection_id":188037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:22:53] 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-09-17 15:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":188037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:22:53] local.INFO: GPS data processed {"connection_id":188037,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:22:53] local.INFO: Acknowledgment sent {"connection_id":188037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:22:55] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:22:55] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:22:55] local.INFO: IMEI packet received {"connection_id":186731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":186731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:22:57] local.INFO: TCP Data received {"connection_id":185274,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec842b8012d7d4bc005efaf28000500b323..."} 
[2026-09-17 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec842b8012d7d4bc005efaf28000500b323..."} 
[2026-09-17 15:22:57] local.INFO: Processing buffer {"connection_id":185274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec842b8012d7d4bc005efaf28000500b323..."} 
[2026-09-17 15:22:57] local.INFO: Packet analysis {"connection_id":185274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec8"} 
[2026-09-17 15:22:57] local.INFO: Extracted packet for processing {"connection_id":185274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec8"} 
[2026-09-17 15:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":99594024,"longitude_deg":76.3186112,"latitude_deg":9.9594024,"altitude":5,"angle":179,"satellites":35,"speed":34,"hex_longitude":"2d7d4bc0","hex_latitude":"05efaf28","is_valid_coordinates":true} 
[2026-09-17 15:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147518720001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134309481386344448,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534748639232,"note":"Value kept but may cause issues"} 
[2026-09-17 15:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789638755000,"timestamp_ms":1789638755000,"timestamp_seconds":1789638755,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec842b8"} 
[2026-09-17 15:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 15:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147518720001,"66":12917,"117":206,"87":11264,"24":34,"16":134309481386344448,"45":9028239534748639232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-09-17 15:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147518720001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:22:57] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-17 15:22:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 15:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134309481386344448,"km_value":134309481386344.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534748639232,"description":"Unknown IO ID 45"} 
[2026-09-17 15:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147518720001,"power":12917,"unknown_117":206,"unknown_87":11264,"ignition":34,"odometer":null,"unknown_45":9028239534748639232}} 
[2026-09-17 15:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":185274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:22:58] local.INFO: GPS data processed {"connection_id":185274,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:22:58] local.INFO: Acknowledgment sent {"connection_id":185274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:23:15] local.INFO: TCP Data received {"connection_id":188038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:23:15] local.INFO: Processing buffer {"connection_id":188038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:23:15] local.INFO: IMEI packet received {"connection_id":188038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":188038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:23:20] local.INFO: TCP Data received {"connection_id":185416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:23:20] local.INFO: Processing buffer {"connection_id":185416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:23:20] local.INFO: IMEI packet received {"connection_id":185416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":185416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:23:20] local.INFO: TCP Data received {"connection_id":188038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:23:20] local.INFO: TCP Data received {"connection_id":185416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:23:20] local.INFO: Processing buffer {"connection_id":188038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:23:20] local.INFO: IMEI packet received {"connection_id":188038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":188038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:23:20] local.INFO: Processing buffer {"connection_id":185416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:23:20] local.INFO: IMEI packet received {"connection_id":185416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":185416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:23:21] local.INFO: TCP Data received {"connection_id":188038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:23:21] local.INFO: Processing buffer {"connection_id":188038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:23:21] local.INFO: Packet analysis {"connection_id":188038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:23:21] local.INFO: Extracted packet for processing {"connection_id":188038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:23: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-09-17 15:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:23:21] 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-09-17 15:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":188038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:23:21] local.INFO: GPS data processed {"connection_id":188038,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:23:21] local.INFO: Acknowledgment sent {"connection_id":188038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:23:24] local.INFO: TCP Data received {"connection_id":185416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:23:24] local.INFO: Processing buffer {"connection_id":185416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:23:24] local.INFO: IMEI packet received {"connection_id":185416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":185416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:23:25] local.INFO: TCP Data received {"connection_id":185416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec869c8012d7d4ac005ef8830000700b422..."} 
[2026-09-17 15:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec869c8012d7d4ac005ef8830000700b422..."} 
[2026-09-17 15:23:25] local.INFO: Processing buffer {"connection_id":185416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec869c8012d7d4ac005ef8830000700b422..."} 
[2026-09-17 15:23:25] local.INFO: Packet analysis {"connection_id":185416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec8"} 
[2026-09-17 15:23:25] local.INFO: Extracted packet for processing {"connection_id":185416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec8"} 
[2026-09-17 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":99584048,"longitude_deg":76.3185856,"latitude_deg":9.9584048,"altitude":7,"angle":180,"satellites":34,"speed":44,"hex_longitude":"2d7d4ac0","hex_latitude":"05ef8830","is_valid_coordinates":true} 
[2026-09-17 15:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147521280001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134309962422681600,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009722894336,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789638765000,"timestamp_ms":1789638765000,"timestamp_seconds":1789638765,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec869c8"} 
[2026-09-17 15:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 15:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147521280001,"66":13319,"117":206,"87":11264,"24":44,"16":134309962422681600,"45":9028521009722894336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-09-17 15:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147521280001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:23:25] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-17 15:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 15:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134309962422681600,"km_value":134309962422681.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009722894336,"description":"Unknown IO ID 45"} 
[2026-09-17 15:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147521280001,"power":13319,"unknown_117":206,"unknown_87":11264,"ignition":44,"odometer":null,"unknown_45":9028521009722894336}} 
[2026-09-17 15:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":185416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:23:25] local.INFO: GPS data processed {"connection_id":185416,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:23:25] local.INFO: Acknowledgment sent {"connection_id":185416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:23:53] local.INFO: TCP Data received {"connection_id":188038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:23:53] local.INFO: Processing buffer {"connection_id":188038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:23:53] local.INFO: Packet analysis {"connection_id":188038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:23:53] local.INFO: Extracted packet for processing {"connection_id":188038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:23:53] 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-09-17 15:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":188038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:23:53] local.INFO: GPS data processed {"connection_id":188038,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:23:53] local.INFO: Acknowledgment sent {"connection_id":188038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:23:56] local.INFO: TCP Data received {"connection_id":185416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec88908012d7d4a0005ef61e0000900b423..."} 
[2026-09-17 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec88908012d7d4a0005ef61e0000900b423..."} 
[2026-09-17 15:23:56] local.INFO: Processing buffer {"connection_id":185416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec88908012d7d4a0005ef61e0000900b423..."} 
[2026-09-17 15:23:56] local.INFO: Packet analysis {"connection_id":185416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec8"} 
[2026-09-17 15:23:56] local.INFO: Extracted packet for processing {"connection_id":185416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec8"} 
[2026-09-17 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":99574240,"longitude_deg":76.3185664,"latitude_deg":9.957424,"altitude":9,"angle":180,"satellites":35,"speed":51,"hex_longitude":"2d7d4a00","hex_latitude":"05ef61e0","is_valid_coordinates":true} 
[2026-09-17 15:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147523840001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134310439164051456,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534743629824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789638773000,"timestamp_ms":1789638773000,"timestamp_seconds":1789638773,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec88908"} 
[2026-09-17 15:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2932319864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4033200128,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-8592868058946592256,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3353415681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":930414798,"corrected_to":0} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57763341594941228,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.WARNING: Large IO value detected {"io_id":199,"raw_value":-8421730008296062971,"note":"Value kept but may cause issues"} 
[2026-09-17 15:23:56] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,117,87,24,241,157,16,42,160,66,45,192,175,5,35,10,41,27,212,1,240,29,227,40,174,4,113,205,44,193,71,248,239,51,116,2,221,7,49,166,199],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":930414798,"validated":0}]} 
[2026-09-17 15:23:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504601216390266880,"timestamp_seconds":504601216390266.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147523840001,"66":13243,"117":206,"87":11264,"24":51,"16":134310439164051456,"45":9028239534743629824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-09-17 15:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147523840001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:23:56] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-17 15:23:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 15:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134310439164051456,"km_value":134310439164051.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534743629824,"description":"Unknown IO ID 45"} 
[2026-09-17 15:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147523840001,"power":13243,"unknown_117":206,"unknown_87":11264,"ignition":51,"odometer":null,"unknown_45":9028239534743629824}} 
[2026-09-17 15:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":185416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:23:56] local.INFO: GPS data processed {"connection_id":185416,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:23:56] local.INFO: Acknowledgment sent {"connection_id":185416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:24:15] local.INFO: TCP Data received {"connection_id":186732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:24:15] local.INFO: Processing buffer {"connection_id":186732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:24:15] local.INFO: IMEI packet received {"connection_id":186732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":186732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:24:20] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:24:20] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:24:20] local.INFO: IMEI packet received {"connection_id":186733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":186733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:24:20] local.INFO: TCP Data received {"connection_id":186732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:24:20] local.INFO: Processing buffer {"connection_id":186732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:24:20] local.INFO: IMEI packet received {"connection_id":186732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":186732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:24:21] local.INFO: TCP Data received {"connection_id":186732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:24:21] local.INFO: Processing buffer {"connection_id":186732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:24:21] local.INFO: Packet analysis {"connection_id":186732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:24:21] local.INFO: Extracted packet for processing {"connection_id":186732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:24:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:24:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:24: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-09-17 15:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:24:21] 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-09-17 15:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:24:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":186732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:24:21] local.INFO: GPS data processed {"connection_id":186732,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:24:21] local.INFO: Acknowledgment sent {"connection_id":186732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:24:25] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:24:25] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:24:25] local.INFO: IMEI packet received {"connection_id":186733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":186733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:24:27] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec8a460012d7d49c005ef3eb8000a00b424..."} 
[2026-09-17 15:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec8a460012d7d49c005ef3eb8000a00b424..."} 
[2026-09-17 15:24:27] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec8a460012d7d49c005ef3eb8000a00b424..."} 
[2026-09-17 15:24:27] local.INFO: Packet analysis {"connection_id":186733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec8"} 
[2026-09-17 15:24:27] local.INFO: Extracted packet for processing {"connection_id":186733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec8"} 
[2026-09-17 15:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":99565240,"longitude_deg":76.31856,"latitude_deg":9.956524,"altitude":10,"angle":180,"satellites":36,"speed":45,"hex_longitude":"2d7d49c0","hex_latitude":"05ef3eb8","is_valid_coordinates":true} 
[2026-09-17 15:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147525888001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134310877250715648,"note":"Value kept but may cause issues"} 
[2026-09-17 15:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028428508585984,"note":"Value kept but may cause issues"} 
[2026-09-17 15:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789638780000,"timestamp_ms":1789638780000,"timestamp_seconds":1789638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec8a460"} 
[2026-09-17 15:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 15:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147525888001,"66":12982,"117":206,"87":11264,"24":45,"16":134310877250715648,"45":9028028428508585984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-09-17 15:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147525888001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:24:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-17 15:24:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-09-17 15:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134310877250715648,"km_value":134310877250715.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028428508585984,"description":"Unknown IO ID 45"} 
[2026-09-17 15:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147525888001,"power":12982,"unknown_117":206,"unknown_87":11264,"ignition":45,"odometer":null,"unknown_45":9028028428508585984}} 
[2026-09-17 15:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":186733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:24:27] local.INFO: GPS data processed {"connection_id":186733,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:24:27] local.INFO: Acknowledgment sent {"connection_id":186733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:24:53] local.INFO: TCP Data received {"connection_id":186732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:24:53] local.INFO: Processing buffer {"connection_id":186732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:24:53] local.INFO: Packet analysis {"connection_id":186732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:24:53] local.INFO: Extracted packet for processing {"connection_id":186732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:24:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:24:53] 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-09-17 15:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":186732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:24:53] local.INFO: GPS data processed {"connection_id":186732,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:24:53] local.INFO: Acknowledgment sent {"connection_id":186732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:25:01] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeca1390012d7d418005ed84f0000d00b426..."} 
[2026-09-17 15:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeca1390012d7d418005ed84f0000d00b426..."} 
[2026-09-17 15:25:01] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeca1390012d7d418005ed84f0000d00b426..."} 
[2026-09-17 15:25:01] local.INFO: Packet analysis {"connection_id":186733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:25:01] local.INFO: Extracted packet for processing {"connection_id":186733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":99452144,"longitude_deg":76.3183488,"latitude_deg":9.9452144,"altitude":13,"angle":180,"satellites":38,"speed":45,"hex_longitude":"2d7d4180","hex_latitude":"05ed84f0","is_valid_coordinates":true} 
[2026-09-17 15:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147549440001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134316361923952640,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917366154557440,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789638874000,"timestamp_ms":1789638874000,"timestamp_seconds":1789638874,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeca1390"} 
[2026-09-17 15:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2932425864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3380039681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":238,"raw_value":-5971773058636831488,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1029439694,"corrected_to":0} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4001792000,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57769835585492780,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3249348426034577413,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:01] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,255,87,24,241,157,16,47,160,209,45,64,208,9,38,10,66,181,245,7,46,150,192,1,240,214,227,174,238,4,113,205,91,67,176,37,239,52,92,2,221,5,63,117,201],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1029439694,"validated":0}]} 
[2026-09-17 15:25:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864889199464808448,"timestamp_seconds":864889199464808.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147549440001,"66":13602,"255":206,"87":13824,"24":45,"16":134316361923952640,"45":9025917366154557440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-09-17 15:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147549440001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:25:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-17 15:25:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134316361923952640,"km_value":134316361923952.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917366154557440,"description":"Unknown IO ID 45"} 
[2026-09-17 15:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147549440001,"power":13602,"unknown_255":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9025917366154557440}} 
[2026-09-17 15:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":186733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:25:01] local.INFO: GPS data processed {"connection_id":186733,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:25:01] local.INFO: Acknowledgment sent {"connection_id":186733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:25:15] local.INFO: TCP Data received {"connection_id":188039,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:25:15] local.INFO: Processing buffer {"connection_id":188039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:25:15] local.INFO: IMEI packet received {"connection_id":188039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":188039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:25:20] local.INFO: TCP Data received {"connection_id":188039,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:25:20] local.INFO: Processing buffer {"connection_id":188039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:25:20] local.INFO: IMEI packet received {"connection_id":188039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":188039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:25:21] local.INFO: TCP Data received {"connection_id":188039,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:25:21] local.INFO: Processing buffer {"connection_id":188039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:25:21] local.INFO: Packet analysis {"connection_id":188039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:25:21] local.INFO: Extracted packet for processing {"connection_id":188039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:25: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-09-17 15:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:25:21] 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-09-17 15:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":188039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:25:21] local.INFO: GPS data processed {"connection_id":188039,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:25:21] local.INFO: Acknowledgment sent {"connection_id":188039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:25:21] local.INFO: TCP Data received {"connection_id":185418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:25:22] local.INFO: Processing buffer {"connection_id":185418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:25:22] local.INFO: IMEI packet received {"connection_id":185418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":185418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:25:24] local.INFO: TCP Data received {"connection_id":185418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:25:24] local.INFO: Processing buffer {"connection_id":185418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:25:24] local.INFO: IMEI packet received {"connection_id":185418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":185418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:25:25] local.INFO: TCP Data received {"connection_id":185418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:25:25] local.INFO: Processing buffer {"connection_id":185418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:25:25] local.INFO: IMEI packet received {"connection_id":185418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":185418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:25:26] local.INFO: TCP Data received {"connection_id":185418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeca32d0012d7d40c005ed60a8000d00b526..."} 
[2026-09-17 15:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeca32d0012d7d40c005ed60a8000d00b526..."} 
[2026-09-17 15:25:26] local.INFO: Processing buffer {"connection_id":185418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeca32d0012d7d40c005ed60a8000d00b526..."} 
[2026-09-17 15:25:26] local.INFO: Packet analysis {"connection_id":185418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:25:26] local.INFO: Extracted packet for processing {"connection_id":185418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":99442856,"longitude_deg":76.3183296,"latitude_deg":9.9442856,"altitude":13,"angle":181,"satellites":38,"speed":44,"hex_longitude":"2d7d40c0","hex_latitude":"05ed60a8","is_valid_coordinates":true} 
[2026-09-17 15:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147551744001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134316812895518720,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635891175288832,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638882000,"timestamp_ms":1789638882000,"timestamp_seconds":1789638882,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeca32d0"} 
[2026-09-17 15:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-17 15:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147551744001,"66":13189,"255":206,"87":13824,"24":44,"16":134316812895518720,"45":9025635891175288832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-09-17 15:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147551744001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:25:26] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-17 15:25:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134316812895518720,"km_value":134316812895518.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635891175288832,"description":"Unknown IO ID 45"} 
[2026-09-17 15:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147551744001,"power":13189,"unknown_255":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":9025635891175288832}} 
[2026-09-17 15:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":185418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:25:27] local.INFO: GPS data processed {"connection_id":185418,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:25:27] local.INFO: Acknowledgment sent {"connection_id":185418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:25:53] local.INFO: TCP Data received {"connection_id":188039,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:25:53] local.INFO: Processing buffer {"connection_id":188039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:25:53] local.INFO: Packet analysis {"connection_id":188039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:25:53] local.INFO: Extracted packet for processing {"connection_id":188039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:25:53] 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-09-17 15:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":188039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:25:53] local.INFO: GPS data processed {"connection_id":188039,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:25:53] local.INFO: Acknowledgment sent {"connection_id":188039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:25:58] local.INFO: TCP Data received {"connection_id":185418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeca5dc8012d7d3f8005ed3d10000b00b426..."} 
[2026-09-17 15:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeca5dc8012d7d3f8005ed3d10000b00b426..."} 
[2026-09-17 15:25:58] local.INFO: Processing buffer {"connection_id":185418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeca5dc8012d7d3f8005ed3d10000b00b426..."} 
[2026-09-17 15:25:58] local.INFO: Packet analysis {"connection_id":185418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:25:58] local.INFO: Extracted packet for processing {"connection_id":185418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":99433744,"longitude_deg":76.3182976,"latitude_deg":9.9433744,"altitude":11,"angle":180,"satellites":38,"speed":35,"hex_longitude":"2d7d3f80","hex_latitude":"05ed3d10","is_valid_coordinates":true} 
[2026-09-17 15:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147553792001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134317255277150208,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784940378112,"note":"Value kept but may cause issues"} 
[2026-09-17 15:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789638893000,"timestamp_ms":1789638893000,"timestamp_seconds":1789638893,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeca5dc8"} 
[2026-09-17 15:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147553792001,"66":13352,"255":206,"87":13824,"24":35,"16":134317255277150208,"45":9025424784940378112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-09-17 15:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147553792001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:25:58] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-17 15:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134317255277150208,"km_value":134317255277150.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784940378112,"description":"Unknown IO ID 45"} 
[2026-09-17 15:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147553792001,"power":13352,"unknown_255":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9025424784940378112}} 
[2026-09-17 15:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":185418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:25:58] local.INFO: GPS data processed {"connection_id":185418,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:25:58] local.INFO: Acknowledgment sent {"connection_id":185418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:26:15] local.INFO: TCP Data received {"connection_id":186734,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:26:15] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:26:15] local.INFO: IMEI packet received {"connection_id":186734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":186734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:26:16] local.INFO: TCP Data received {"connection_id":188041,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:26:16] local.INFO: Processing buffer {"connection_id":188041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:26:16] local.INFO: IMEI packet received {"connection_id":188041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":188041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:26:20] local.INFO: TCP Data received {"connection_id":188041,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:26:20] local.INFO: Processing buffer {"connection_id":188041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:26:20] local.INFO: IMEI packet received {"connection_id":188041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":188041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:26:20] local.INFO: TCP Data received {"connection_id":186734,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:26:20] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:26:20] local.INFO: IMEI packet received {"connection_id":186734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":186734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:26:21] local.INFO: TCP Data received {"connection_id":186734,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:26:21] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:26:21] local.INFO: Packet analysis {"connection_id":186734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:26:21] local.INFO: Extracted packet for processing {"connection_id":186734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:26: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-09-17 15:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:26:21] 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-09-17 15:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":186734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:26:21] local.INFO: GPS data processed {"connection_id":186734,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:26:21] local.INFO: Acknowledgment sent {"connection_id":186734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:26:25] local.INFO: TCP Data received {"connection_id":188041,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:26:25] local.INFO: Processing buffer {"connection_id":188041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:26:25] local.INFO: IMEI packet received {"connection_id":188041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":188041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:26:26] local.INFO: TCP Data received {"connection_id":188041,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeca7d08012d7d3e4005ed1a30000a00b425..."} 
[2026-09-17 15:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeca7d08012d7d3e4005ed1a30000a00b425..."} 
[2026-09-17 15:26:26] local.INFO: Processing buffer {"connection_id":188041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeca7d08012d7d3e4005ed1a30000a00b425..."} 
[2026-09-17 15:26:26] local.INFO: Packet analysis {"connection_id":188041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:26:26] local.INFO: Extracted packet for processing {"connection_id":188041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":99424816,"longitude_deg":76.3182656,"latitude_deg":9.9424816,"altitude":10,"angle":180,"satellites":37,"speed":50,"hex_longitude":"2d7d3e40","hex_latitude":"05ed1a30","is_valid_coordinates":true} 
[2026-09-17 15:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147556608001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134317689068847104,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072941217157120,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638901000,"timestamp_ms":1789638901000,"timestamp_seconds":1789638901,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeca7d08"} 
[2026-09-17 15:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-17 15:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147556608001,"66":13189,"255":206,"87":13824,"24":50,"16":134317689068847104,"45":9025072941217157120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-09-17 15:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147556608001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:26:26] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-17 15:26:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134317689068847104,"km_value":134317689068847.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072941217157120,"description":"Unknown IO ID 45"} 
[2026-09-17 15:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147556608001,"power":13189,"unknown_255":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":9025072941217157120}} 
[2026-09-17 15:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":188041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:26:26] local.INFO: GPS data processed {"connection_id":188041,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:26:26] local.INFO: Acknowledgment sent {"connection_id":188041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:26:53] local.INFO: TCP Data received {"connection_id":186734,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:26:53] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:26:53] local.INFO: Packet analysis {"connection_id":186734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:26:53] local.INFO: Extracted packet for processing {"connection_id":186734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:26:53] 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-09-17 15:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":186734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:26:53] local.INFO: GPS data processed {"connection_id":186734,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:26:53] local.INFO: Acknowledgment sent {"connection_id":186734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:26:57] local.INFO: TCP Data received {"connection_id":188041,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeca9c48012d7d3dc005ecf2f0000a00b425..."} 
[2026-09-17 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeca9c48012d7d3dc005ecf2f0000a00b425..."} 
[2026-09-17 15:26:57] local.INFO: Processing buffer {"connection_id":188041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeca9c48012d7d3dc005ecf2f0000a00b425..."} 
[2026-09-17 15:26:57] local.INFO: Packet analysis {"connection_id":188041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:26:57] local.INFO: Extracted packet for processing {"connection_id":188041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:26:57] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":99414768,"longitude_deg":76.3182528,"latitude_deg":9.9414768,"altitude":10,"angle":180,"satellites":37,"speed":48,"hex_longitude":"2d7d3dc0","hex_latitude":"05ecf2f0","is_valid_coordinates":true} 
[2026-09-17 15:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147558656001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134318174400151552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721097493983232,"note":"Value kept but may cause issues"} 
[2026-09-17 15:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789638909000,"timestamp_ms":1789638909000,"timestamp_seconds":1789638909,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeca9c48"} 
[2026-09-17 15:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147558656001,"66":12298,"172":206,"87":13824,"24":48,"16":134318174400151552,"45":9024721097493983232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-09-17 15:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147558656001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:26:57] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-17 15:26:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134318174400151552,"km_value":134318174400151.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721097493983232,"description":"Unknown IO ID 45"} 
[2026-09-17 15:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147558656001,"power":12298,"unknown_172":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9024721097493983232}} 
[2026-09-17 15:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":188041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:26:57] local.INFO: GPS data processed {"connection_id":188041,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:26:57] local.INFO: Acknowledgment sent {"connection_id":188041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:27:16] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:27:16] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:27:16] local.INFO: IMEI packet received {"connection_id":186735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":186735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:27:19] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:27:19] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:27:19] local.INFO: IMEI packet received {"connection_id":186736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":186736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:27:20] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:27:20] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:27:20] local.INFO: IMEI packet received {"connection_id":186736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":186736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:27:20] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:27:20] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:27:20] local.INFO: IMEI packet received {"connection_id":186735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":186735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:27:21] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:27:21] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aec77798012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:27:21] local.INFO: Packet analysis {"connection_id":186735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:27:21] local.INFO: Extracted packet for processing {"connection_id":186735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aec7"} 
[2026-09-17 15:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147430912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789638703000,"timestamp_ms":1789638703000,"timestamp_seconds":1789638703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aec77798"} 
[2026-09-17 15:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:27: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-09-17 15:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:27:21] 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-09-17 15:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147430912001,"66":26082,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147430912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147430912001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":186735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:27:21] local.INFO: GPS data processed {"connection_id":186735,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:27:21] local.INFO: Acknowledgment sent {"connection_id":186735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:27:25] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:27:25] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:27:25] local.INFO: IMEI packet received {"connection_id":186736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":186736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:27:26] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecac740012d7d3e0005eccf00000900ab25..."} 
[2026-09-17 15:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecac740012d7d3e0005eccf00000900ab25..."} 
[2026-09-17 15:27:26] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecac740012d7d3e0005eccf00000900ab25..."} 
[2026-09-17 15:27:26] local.INFO: Packet analysis {"connection_id":186736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:27:26] local.INFO: Extracted packet for processing {"connection_id":186736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":99405568,"longitude_deg":76.3182592,"latitude_deg":9.9405568,"altitude":9,"angle":171,"satellites":37,"speed":17,"hex_longitude":"2d7d3e00","hex_latitude":"05eccf00","is_valid_coordinates":true} 
[2026-09-17 15:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147560704001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134318621076750336,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580360003055616,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789638920000,"timestamp_ms":1789638920000,"timestamp_seconds":1789638920,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecac740"} 
[2026-09-17 15:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":427267882092003509,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136467216368128,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186077,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5851946335813665469,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832602,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3669590153069789390,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":38,"raw_value":14636698789609476,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3390279681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2230321165,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1224671438,"corrected_to":0} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3989884928,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":9,"raw_value":50707278138966016,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3026418949592973313,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:26] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,172,87,24,241,157,16,49,160,125,45,64,26,10,37,66,255,93,128,61,11,38,48,50,192,1,240,133,227,174,237,4,113,205,248,239,52,2,221,5,9,47],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1224671438,"validated":0}]} 
[2026-09-17 15:27:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720774011389214720,"timestamp_seconds":720774011389214.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147560704001,"66":13037,"172":206,"87":13824,"24":17,"16":134318621076750336,"45":9024580360003055616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-09-17 15:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147560704001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:27:26] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-17 15:27:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134318621076750336,"km_value":134318621076750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580360003055616,"description":"Unknown IO ID 45"} 
[2026-09-17 15:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147560704001,"power":13037,"unknown_172":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9024580360003055616}} 
[2026-09-17 15:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":186736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:27:26] local.INFO: GPS data processed {"connection_id":186736,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:27:26] local.INFO: Acknowledgment sent {"connection_id":186736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:27:52] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:27:52] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:27:52] local.INFO: Packet analysis {"connection_id":186735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:27:52] local.INFO: Extracted packet for processing {"connection_id":186735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147507968001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789639004000,"timestamp_ms":1789639004000,"timestamp_seconds":1789639004,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecc0f60"} 
[2026-09-17 15:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:27:52] 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-09-17 15:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147507968001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147507968001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147507968001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":186735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:27:52] local.INFO: GPS data processed {"connection_id":186735,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:27:52] local.INFO: Acknowledgment sent {"connection_id":186735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:27:58] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecad6e0012d7d3e4005ecc5f0000a00b625..."} 
[2026-09-17 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecad6e0012d7d3e4005ecc5f0000a00b625..."} 
[2026-09-17 15:27:58] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecad6e0012d7d3e4005ecc5f0000a00b625..."} 
[2026-09-17 15:27:58] local.INFO: Packet analysis {"connection_id":186736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:27:58] local.INFO: Extracted packet for processing {"connection_id":186736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeca"} 
[2026-09-17 15:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":99403248,"longitude_deg":76.3182656,"latitude_deg":9.9403248,"altitude":10,"angle":182,"satellites":37,"speed":27,"hex_longitude":"2d7d3e40","hex_latitude":"05ecc5f0","is_valid_coordinates":true} 
[2026-09-17 15:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147563520001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134318737040867328,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728744878080,"note":"Value kept but may cause issues"} 
[2026-09-17 15:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789638924000,"timestamp_ms":1789638924000,"timestamp_seconds":1789638924,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecad6e0"} 
[2026-09-17 15:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 15:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147563520001,"66":13319,"172":206,"87":13824,"24":27,"16":134318737040867328,"45":9024650728744878080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-09-17 15:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147563520001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:27:58] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-17 15:27:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134318737040867328,"km_value":134318737040867.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728744878080,"description":"Unknown IO ID 45"} 
[2026-09-17 15:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147563520001,"power":13319,"unknown_172":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9024650728744878080}} 
[2026-09-17 15:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":186736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:27:58] local.INFO: GPS data processed {"connection_id":186736,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:27:58] local.INFO: Acknowledgment sent {"connection_id":186736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:28:14] local.INFO: TCP Data received {"connection_id":185276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:28:14] local.INFO: Processing buffer {"connection_id":185276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:28:14] local.INFO: IMEI packet received {"connection_id":185276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":185276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:28:15] local.INFO: TCP Data received {"connection_id":185277,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:28:15] local.INFO: Processing buffer {"connection_id":185277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:28:15] local.INFO: IMEI packet received {"connection_id":185277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":185277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:28:19] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:19] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:19] local.INFO: IMEI packet received {"connection_id":186737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":186737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:28:20] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:20] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:20] local.INFO: IMEI packet received {"connection_id":186737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":186737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:28:20] local.INFO: TCP Data received {"connection_id":185277,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:28:20] local.INFO: Processing buffer {"connection_id":185277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:28:20] local.INFO: IMEI packet received {"connection_id":185277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":185277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:28:21] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:21] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:21] local.INFO: IMEI packet received {"connection_id":186737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":186737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:28:21] local.INFO: TCP Data received {"connection_id":185277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:28:21] local.INFO: Processing buffer {"connection_id":185277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:28:21] local.INFO: Packet analysis {"connection_id":185277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:28:21] local.INFO: Extracted packet for processing {"connection_id":185277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147507968001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639004000,"timestamp_ms":1789639004000,"timestamp_seconds":1789639004,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecc0f60"} 
[2026-09-17 15:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:28: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-09-17 15:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:28:21] 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-09-17 15:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147507968001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147507968001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147507968001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":185277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:28:21] local.INFO: GPS data processed {"connection_id":185277,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:28:21] local.INFO: Acknowledgment sent {"connection_id":185277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:28:24] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:24] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:28:24] local.INFO: IMEI packet received {"connection_id":186737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":186737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:28:25] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecd6ef0012d7d408005ec7378001300b524..."} 
[2026-09-17 15:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecd6ef0012d7d408005ec7378001300b524..."} 
[2026-09-17 15:28:25] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecd6ef0012d7d408005ec7378001300b524..."} 
[2026-09-17 15:28:25] local.INFO: Packet analysis {"connection_id":186737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecd"} 
[2026-09-17 15:28:25] local.INFO: Extracted packet for processing {"connection_id":186737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecd"} 
[2026-09-17 15:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":99382136,"longitude_deg":76.3183232,"latitude_deg":9.9382136,"altitude":19,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d7d4080","hex_latitude":"05ec7378","is_valid_coordinates":true} 
[2026-09-17 15:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147602688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134319785012887552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784924833792,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789639094000,"timestamp_ms":1789639094000,"timestamp_seconds":1789639094,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecd6ef0"} 
[2026-09-17 15:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 15:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147602688001,"66":12917,"108":206,"87":13824,"24":0,"16":134319785012887552,"45":9025424784924833792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 15:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147602688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:28:25] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 15:28:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134319785012887552,"km_value":134319785012887.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784924833792,"description":"Unknown IO ID 45"} 
[2026-09-17 15:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147602688001,"power":12917,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025424784924833792}} 
[2026-09-17 15:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":186737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:28:25] local.INFO: GPS data processed {"connection_id":186737,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:28:25] local.INFO: Acknowledgment sent {"connection_id":186737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:28:50] local.INFO: TCP Data received {"connection_id":185278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:28:50] local.INFO: Processing buffer {"connection_id":185278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:28:50] local.INFO: IMEI packet received {"connection_id":185278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":185278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:28:53] local.INFO: TCP Data received {"connection_id":185277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:28:53] local.INFO: Processing buffer {"connection_id":185277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:28:53] local.INFO: Packet analysis {"connection_id":185277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:28:53] local.INFO: Extracted packet for processing {"connection_id":185277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147507968001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789639004000,"timestamp_ms":1789639004000,"timestamp_seconds":1789639004,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecc0f60"} 
[2026-09-17 15:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:28:53] 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-09-17 15:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147507968001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147507968001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147507968001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":185277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:28:53] local.INFO: GPS data processed {"connection_id":185277,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:28:53] local.INFO: Acknowledgment sent {"connection_id":185277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:28:58] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecd7e90012d7d3ec005ec7158001100c127..."} 
[2026-09-17 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecd7e90012d7d3ec005ec7158001100c127..."} 
[2026-09-17 15:28:58] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecd7e90012d7d3ec005ec7158001100c127..."} 
[2026-09-17 15:28:58] local.INFO: Packet analysis {"connection_id":186737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecd"} 
[2026-09-17 15:28:58] local.INFO: Extracted packet for processing {"connection_id":186737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecd"} 
[2026-09-17 15:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":99381592,"longitude_deg":76.3182784,"latitude_deg":9.9381592,"altitude":17,"angle":193,"satellites":39,"speed":4,"hex_longitude":"2d7d3ec0","hex_latitude":"05ec7158","is_valid_coordinates":true} 
[2026-09-17 15:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147608064001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134319819372625920,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354416180656128,"note":"Value kept but may cause issues"} 
[2026-09-17 15:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789639098000,"timestamp_ms":1789639098000,"timestamp_seconds":1789639098,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecd7e90"} 
[2026-09-17 15:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 15:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147608064001,"66":12939,"108":206,"87":13824,"24":4,"16":134319819372625920,"45":9025354416180656128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 15:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147608064001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:28:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 15:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134319819372625920,"km_value":134319819372625.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354416180656128,"description":"Unknown IO ID 45"} 
[2026-09-17 15:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147608064001,"power":12939,"unknown_108":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9025354416180656128}} 
[2026-09-17 15:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":186737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:28:58] local.INFO: GPS data processed {"connection_id":186737,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:28:58] local.INFO: Acknowledgment sent {"connection_id":186737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:29:15] local.INFO: TCP Data received {"connection_id":185420,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:29:15] local.INFO: Processing buffer {"connection_id":185420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:29:15] local.INFO: IMEI packet received {"connection_id":185420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":185420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:29:20] local.INFO: TCP Data received {"connection_id":185420,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:29:20] local.INFO: Processing buffer {"connection_id":185420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:29:20] local.INFO: IMEI packet received {"connection_id":185420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":185420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:29:21] local.INFO: TCP Data received {"connection_id":185420,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:29:21] local.INFO: Processing buffer {"connection_id":185420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:29:21] local.INFO: Packet analysis {"connection_id":185420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:29:21] local.INFO: Extracted packet for processing {"connection_id":185420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147507968001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639004000,"timestamp_ms":1789639004000,"timestamp_seconds":1789639004,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecc0f60"} 
[2026-09-17 15:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:29: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-09-17 15:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:29:21] 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-09-17 15:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147507968001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147507968001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147507968001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":185420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:29:21] local.INFO: GPS data processed {"connection_id":185420,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:29:21] local.INFO: Acknowledgment sent {"connection_id":185420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:29:23] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:29:24] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:29:24] local.INFO: IMEI packet received {"connection_id":185279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":185279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:29:24] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:29:24] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:29:24] local.INFO: IMEI packet received {"connection_id":185279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":185279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:29:30] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:29:30] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:29:30] local.INFO: IMEI packet received {"connection_id":185279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":185279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:29:31] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecd8278012d7d3ec005ec7110001100b025..."} 
[2026-09-17 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecd8278012d7d3ec005ec7110001100b025..."} 
[2026-09-17 15:29:31] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecd8278012d7d3ec005ec7110001100b025..."} 
[2026-09-17 15:29:31] local.INFO: Packet analysis {"connection_id":185279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecd"} 
[2026-09-17 15:29:31] local.INFO: Extracted packet for processing {"connection_id":185279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecd"} 
[2026-09-17 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":99381520,"longitude_deg":76.3182784,"latitude_deg":9.938152,"altitude":17,"angle":176,"satellites":37,"speed":1,"hex_longitude":"2d7d3ec0","hex_latitude":"05ec7110","is_valid_coordinates":true} 
[2026-09-17 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147609088001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134319823667593216,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834971273216,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789639099000,"timestamp_ms":1789639099000,"timestamp_seconds":1789639099,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecd8278"} 
[2026-09-17 15:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147609088001,"66":13037,"108":206,"87":13824,"24":1,"16":134319823667593216,"45":9024861834971273216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 15:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147609088001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:29:31] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 15:29:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134319823667593216,"km_value":134319823667593.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834971273216,"description":"Unknown IO ID 45"} 
[2026-09-17 15:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147609088001,"power":13037,"unknown_108":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9024861834971273216}} 
[2026-09-17 15:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":185279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:29:31] local.INFO: GPS data processed {"connection_id":185279,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:29:31] local.INFO: Acknowledgment sent {"connection_id":185279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:29:32] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecdd480012d7d3ec005ec70f0001000b026..."} 
[2026-09-17 15:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecdd480012d7d3ec005ec70f0001000b026..."} 
[2026-09-17 15:29:33] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecdd480012d7d3ec005ec70f0001000b026..."} 
[2026-09-17 15:29:33] local.INFO: Packet analysis {"connection_id":185279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecd"} 
[2026-09-17 15:29:33] local.INFO: Extracted packet for processing {"connection_id":185279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecd"} 
[2026-09-17 15:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":99381488,"longitude_deg":76.3182784,"latitude_deg":9.9381488,"altitude":16,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d7d3ec0","hex_latitude":"05ec70f0","is_valid_coordinates":true} 
[2026-09-17 15:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147609344001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134319827962560512,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834971254784,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789639120000,"timestamp_ms":1789639120000,"timestamp_seconds":1789639120,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecdd480"} 
[2026-09-17 15:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 15:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147609344001,"66":12961,"108":206,"87":13824,"24":0,"16":134319827962560512,"45":9024861834971254784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 15:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147609344001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:29:33] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 15:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134319827962560512,"km_value":134319827962560.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834971254784,"description":"Unknown IO ID 45"} 
[2026-09-17 15:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147609344001,"power":12961,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9024861834971254784}} 
[2026-09-17 15:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":185279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:29:33] local.INFO: GPS data processed {"connection_id":185279,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:29:33] local.INFO: Acknowledgment sent {"connection_id":185279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:29:53] local.INFO: TCP Data received {"connection_id":185420,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:29:53] local.INFO: Processing buffer {"connection_id":185420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecc0f60012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:29:53] local.INFO: Packet analysis {"connection_id":185420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:29:53] local.INFO: Extracted packet for processing {"connection_id":185420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecc"} 
[2026-09-17 15:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147507968001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789639004000,"timestamp_ms":1789639004000,"timestamp_seconds":1789639004,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecc0f60"} 
[2026-09-17 15:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-17 15:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:29:53] 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-09-17 15:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147507968001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147507968001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147507968001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":185420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:29:53] local.INFO: GPS data processed {"connection_id":185420,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:29:53] local.INFO: Acknowledgment sent {"connection_id":185420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:30:04] local.INFO: TCP Data received {"connection_id":185279,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aece2688012d7d3ec005ec70f0001000b027..."} 
[2026-09-17 15:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aece2688012d7d3ec005ec70f0001000b027..."} 
[2026-09-17 15:30:04] local.INFO: Processing buffer {"connection_id":185279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aece2688012d7d3ec005ec70f0001000b027..."} 
[2026-09-17 15:30:04] local.INFO: Packet analysis {"connection_id":185279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aece"} 
[2026-09-17 15:30:04] local.INFO: Extracted packet for processing {"connection_id":185279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aece"} 
[2026-09-17 15:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":99381488,"longitude_deg":76.3182784,"latitude_deg":9.9381488,"altitude":16,"angle":176,"satellites":39,"speed":0,"hex_longitude":"2d7d3ec0","hex_latitude":"05ec70f0","is_valid_coordinates":true} 
[2026-09-17 15:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147614720001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134319827962560512,"note":"Value kept but may cause issues"} 
[2026-09-17 15:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834971246592,"note":"Value kept but may cause issues"} 
[2026-09-17 15:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789639141000,"timestamp_ms":1789639141000,"timestamp_seconds":1789639141,"priority":1,"record_length":96,"hex_timestamp":"000001a0aece2688"} 
[2026-09-17 15:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-17 15:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147614720001,"66":13537,"108":206,"87":13824,"24":0,"16":134319827962560512,"45":9024861834971246592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 15:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147614720001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:30:04] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 15:30:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134319827962560512,"km_value":134319827962560.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834971246592,"description":"Unknown IO ID 45"} 
[2026-09-17 15:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147614720001,"power":13537,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9024861834971246592}} 
[2026-09-17 15:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":185279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:30:04] local.INFO: GPS data processed {"connection_id":185279,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:30:04] local.INFO: Acknowledgment sent {"connection_id":185279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:30:20] local.INFO: TCP Data received {"connection_id":185281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:30:20] local.INFO: Processing buffer {"connection_id":185281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:30:20] local.INFO: IMEI packet received {"connection_id":185281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":185281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:30:20] local.INFO: TCP Data received {"connection_id":185280,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:30:20] local.INFO: Processing buffer {"connection_id":185280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:30:20] local.INFO: IMEI packet received {"connection_id":185280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":185280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:30:25] local.INFO: TCP Data received {"connection_id":185281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:30:25] local.INFO: Processing buffer {"connection_id":185281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:30:25] local.INFO: IMEI packet received {"connection_id":185281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":185281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:30:26] local.INFO: TCP Data received {"connection_id":185281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aece7890012d7d3ec005ec70f0001000b024..."} 
[2026-09-17 15:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aece7890012d7d3ec005ec70f0001000b024..."} 
[2026-09-17 15:30:26] local.INFO: Processing buffer {"connection_id":185281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aece7890012d7d3ec005ec70f0001000b024..."} 
[2026-09-17 15:30:26] local.INFO: Packet analysis {"connection_id":185281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aece"} 
[2026-09-17 15:30:26] local.INFO: Extracted packet for processing {"connection_id":185281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aece"} 
[2026-09-17 15:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":99381488,"longitude_deg":76.3182784,"latitude_deg":9.9381488,"altitude":16,"angle":176,"satellites":36,"speed":0,"hex_longitude":"2d7d3ec0","hex_latitude":"05ec70f0","is_valid_coordinates":true} 
[2026-09-17 15:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147620096001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134319827962560512,"note":"Value kept but may cause issues"} 
[2026-09-17 15:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834971246592,"note":"Value kept but may cause issues"} 
[2026-09-17 15:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639162000,"timestamp_ms":1789639162000,"timestamp_seconds":1789639162,"priority":1,"record_length":96,"hex_timestamp":"000001a0aece7890"} 
[2026-09-17 15:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-17 15:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147620096001,"66":13102,"108":206,"87":13824,"24":0,"16":134319827962560512,"45":9024861834971246592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 15:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147620096001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:30:26] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 15:30:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134319827962560512,"km_value":134319827962560.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834971246592,"description":"Unknown IO ID 45"} 
[2026-09-17 15:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147620096001,"power":13102,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9024861834971246592}} 
[2026-09-17 15:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":185281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:30:26] local.INFO: GPS data processed {"connection_id":185281,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:30:26] local.INFO: Acknowledgment sent {"connection_id":185281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:30:36] local.INFO: TCP Data received {"connection_id":185280,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:30:36] local.INFO: Processing buffer {"connection_id":185280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:30:36] local.INFO: IMEI packet received {"connection_id":185280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":185280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:30:37] local.INFO: TCP Data received {"connection_id":185280,"ip":"42.109.136.10","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185280,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 15:30:37] local.INFO: Processing buffer {"connection_id":185280,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-17 15:30:37] local.INFO: IMEI packet received {"connection_id":185280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":185280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:30:58] local.INFO: TCP Data received {"connection_id":185281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aece97d0012d7d3f0005ec6e98001200bd26..."} 
[2026-09-17 15:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aece97d0012d7d3f0005ec6e98001200bd26..."} 
[2026-09-17 15:30:58] local.INFO: Processing buffer {"connection_id":185281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aece97d0012d7d3f0005ec6e98001200bd26..."} 
[2026-09-17 15:30:58] local.INFO: Packet analysis {"connection_id":185281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aece"} 
[2026-09-17 15:30:58] local.INFO: Extracted packet for processing {"connection_id":185281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aece"} 
[2026-09-17 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":99380888,"longitude_deg":76.3182848,"latitude_deg":9.9380888,"altitude":18,"angle":189,"satellites":38,"speed":7,"hex_longitude":"2d7d3f00","hex_latitude":"05ec6e98","is_valid_coordinates":true} 
[2026-09-17 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147625472001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134319858027331584,"note":"Value kept but may cause issues"} 
[2026-09-17 15:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834971246592,"note":"Value kept but may cause issues"} 
[2026-09-17 15:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789639170000,"timestamp_ms":1789639170000,"timestamp_seconds":1789639170,"priority":1,"record_length":96,"hex_timestamp":"000001a0aece97d0"} 
[2026-09-17 15:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 15:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147625472001,"66":13048,"108":206,"87":13824,"24":7,"16":134319858027331584,"45":9024861834971246592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-09-17 15:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147625472001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:30:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-17 15:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134319858027331584,"km_value":134319858027331.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834971246592,"description":"Unknown IO ID 45"} 
[2026-09-17 15:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147625472001,"power":13048,"unknown_108":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9024861834971246592}} 
[2026-09-17 15:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":185281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:30:58] local.INFO: GPS data processed {"connection_id":185281,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:30:58] local.INFO: Acknowledgment sent {"connection_id":185281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:31:18] local.INFO: TCP Data received {"connection_id":188044,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:31:18] local.INFO: Processing buffer {"connection_id":188044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:31:18] local.INFO: IMEI packet received {"connection_id":188044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":188044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:31:19] local.INFO: TCP Data received {"connection_id":188044,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:31:19] local.INFO: Processing buffer {"connection_id":188044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:31:19] local.INFO: IMEI packet received {"connection_id":188044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":188044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:31:25] local.INFO: TCP Data received {"connection_id":188044,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:31:25] local.INFO: Processing buffer {"connection_id":188044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:31:25] local.INFO: IMEI packet received {"connection_id":188044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":188044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:31:26] local.INFO: TCP Data received {"connection_id":188044,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aecfff30012d7d360005ec36d0000b011025..."} 
[2026-09-17 15:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aecfff30012d7d360005ec36d0000b011025..."} 
[2026-09-17 15:31:26] local.INFO: Processing buffer {"connection_id":188044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aecfff30012d7d360005ec36d0000b011025..."} 
[2026-09-17 15:31:26] local.INFO: Packet analysis {"connection_id":188044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aecf"} 
[2026-09-17 15:31:26] local.INFO: Extracted packet for processing {"connection_id":188044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aecf"} 
[2026-09-17 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99366608,"longitude_deg":76.3180544,"latitude_deg":9.9366608,"altitude":11,"angle":272,"satellites":37,"speed":10,"hex_longitude":"2d7d3600","hex_latitude":"05ec36d0","is_valid_coordinates":true} 
[2026-09-17 15:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147650560001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134320631121444864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091339743232,"note":"Value kept but may cause issues"} 
[2026-09-17 15:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639262000,"timestamp_ms":1789639262000,"timestamp_seconds":1789639262,"priority":1,"record_length":96,"hex_timestamp":"000001a0aecfff30"} 
[2026-09-17 15:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-17 15:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147650560001,"66":13048,"110":206,"87":13824,"24":10,"16":134320631121444864,"45":9023384091339743232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147650560001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:31:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:31:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134320631121444864,"km_value":134320631121444.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091339743232,"description":"Unknown IO ID 45"} 
[2026-09-17 15:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147650560001,"power":13048,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9023384091339743232}} 
[2026-09-17 15:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":188044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:31:26] local.INFO: GPS data processed {"connection_id":188044,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:31:26] local.INFO: Acknowledgment sent {"connection_id":188044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:31:58] local.INFO: TCP Data received {"connection_id":188044,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed00ed0012d7d32c005ec3770000b011b25..."} 
[2026-09-17 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed00ed0012d7d32c005ec3770000b011b25..."} 
[2026-09-17 15:31:58] local.INFO: Processing buffer {"connection_id":188044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed00ed0012d7d32c005ec3770000b011b25..."} 
[2026-09-17 15:31:58] local.INFO: Packet analysis {"connection_id":188044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:31:58] local.INFO: Extracted packet for processing {"connection_id":188044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":99366768,"longitude_deg":76.3179712,"latitude_deg":9.9366768,"altitude":11,"angle":283,"satellites":37,"speed":8,"hex_longitude":"2d7d32c0","hex_latitude":"05ec3770","is_valid_coordinates":true} 
[2026-09-17 15:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147651072001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134320674071117824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928921219072,"note":"Value kept but may cause issues"} 
[2026-09-17 15:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789639266000,"timestamp_ms":1789639266000,"timestamp_seconds":1789639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed00ed0"} 
[2026-09-17 15:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 15:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147651072001,"66":13222,"110":206,"87":13824,"24":8,"16":134320674071117824,"45":9022398928921219072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147651072001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:31:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134320674071117824,"km_value":134320674071117.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928921219072,"description":"Unknown IO ID 45"} 
[2026-09-17 15:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147651072001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9022398928921219072}} 
[2026-09-17 15:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":188044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:31:58] local.INFO: GPS data processed {"connection_id":188044,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:31:58] local.INFO: Acknowledgment sent {"connection_id":188044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:32:19] local.INFO: TCP Data received {"connection_id":186738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:32:19] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:32:19] local.INFO: IMEI packet received {"connection_id":186738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":186738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:32:19] local.INFO: TCP Data received {"connection_id":186738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:32:19] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:32:19] local.INFO: IMEI packet received {"connection_id":186738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":186738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:32:24] local.INFO: TCP Data received {"connection_id":186738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:32:24] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:32:24] local.INFO: IMEI packet received {"connection_id":186738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":186738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:32:26] local.INFO: TCP Data received {"connection_id":186738,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed035e0012d7d27c005ec3888000c010e26..."} 
[2026-09-17 15:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed035e0012d7d27c005ec3888000c010e26..."} 
[2026-09-17 15:32:26] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed035e0012d7d27c005ec3888000c010e26..."} 
[2026-09-17 15:32:26] local.INFO: Packet analysis {"connection_id":186738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:32:26] local.INFO: Extracted packet for processing {"connection_id":186738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":99367048,"longitude_deg":76.3176896,"latitude_deg":9.9367048,"altitude":12,"angle":270,"satellites":38,"speed":14,"hex_longitude":"2d7d27c0","hex_latitude":"05ec3888","is_valid_coordinates":true} 
[2026-09-17 15:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147652096001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134320807215104000,"note":"Value kept but may cause issues"} 
[2026-09-17 15:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135246950400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639276000,"timestamp_ms":1789639276000,"timestamp_seconds":1789639276,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed035e0"} 
[2026-09-17 15:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 15:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147652096001,"66":12613,"110":206,"87":13824,"24":14,"16":134320807215104000,"45":9021484135246950400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147652096001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:32:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:32:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134320807215104000,"km_value":134320807215104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135246950400,"description":"Unknown IO ID 45"} 
[2026-09-17 15:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147652096001,"power":12613,"unknown_110":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9021484135246950400}} 
[2026-09-17 15:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":186738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:32:26] local.INFO: GPS data processed {"connection_id":186738,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:32:26] local.INFO: Acknowledgment sent {"connection_id":186738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:32:58] local.INFO: TCP Data received {"connection_id":186738,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed087e8012d7d20c005ec38380006010827..."} 
[2026-09-17 15:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed087e8012d7d20c005ec38380006010827..."} 
[2026-09-17 15:32:58] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed087e8012d7d20c005ec38380006010827..."} 
[2026-09-17 15:32:58] local.INFO: Packet analysis {"connection_id":186738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:32:58] local.INFO: Extracted packet for processing {"connection_id":186738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99366968,"longitude_deg":76.3175104,"latitude_deg":9.9366968,"altitude":6,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d7d20c0","hex_latitude":"05ec3838","is_valid_coordinates":true} 
[2026-09-17 15:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147654656001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134320893114449920,"note":"Value kept but may cause issues"} 
[2026-09-17 15:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910503204864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789639297000,"timestamp_ms":1789639297000,"timestamp_seconds":1789639297,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed087e8"} 
[2026-09-17 15:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-17 15:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147654656001,"66":13276,"110":206,"87":13824,"24":0,"16":134320893114449920,"45":9018387910503204864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147654656001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:32:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:32:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134320893114449920,"km_value":134320893114449.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910503204864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147654656001,"power":13276,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018387910503204864}} 
[2026-09-17 15:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":186738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:32:58] local.INFO: GPS data processed {"connection_id":186738,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:32:58] local.INFO: Acknowledgment sent {"connection_id":186738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:33:12] local.INFO: TCP Data received {"connection_id":185424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185424,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:33:12] local.INFO: Processing buffer {"connection_id":185424,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:33:12] local.INFO: IMEI packet received {"connection_id":185424,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":185424,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:33:14] local.INFO: TCP Data received {"connection_id":185424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185424,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:33:14] local.INFO: Processing buffer {"connection_id":185424,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:33:14] local.INFO: IMEI packet received {"connection_id":185424,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":185424,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:33:17] local.INFO: TCP Data received {"connection_id":185424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185424,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:33:17] local.INFO: Processing buffer {"connection_id":185424,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:33:17] local.INFO: IMEI packet received {"connection_id":185424,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":185424,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:33:18] local.INFO: TCP Data received {"connection_id":185424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed12fe0012d0b2200070358980008002123..."} 
[2026-09-17 15:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed12fe0012d0b2200070358980008002123..."} 
[2026-09-17 15:33:18] local.INFO: Processing buffer {"connection_id":185424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed12fe0012d0b2200070358980008002123..."} 
[2026-09-17 15:33:18] local.INFO: Packet analysis {"connection_id":185424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:33:18] local.INFO: Extracted packet for processing {"connection_id":185424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:33:18] local.INFO: GPS Element Parsed {"raw_longitude":755704320,"raw_latitude":117659800,"longitude_deg":75.570432,"latitude_deg":11.76598,"altitude":8,"angle":33,"satellites":35,"speed":18,"hex_longitude":"2d0b2200","hex_latitude":"07035898","is_valid_coordinates":true} 
[2026-09-17 15: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-09-17 15:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147670016001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32866751901335552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801007445094729728,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789639340000,"timestamp_ms":1789639340000,"timestamp_seconds":1789639340,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed12fe0"} 
[2026-09-17 15:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 15:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15: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-09-17 15:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":185424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":185424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":185424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147670016001,"66":14439,"37":206,"94":11008,"24":18,"16":32866751901335552,"45":801007445094729728},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147670016001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:33:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:33:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32866751901335552,"km_value":32866751901335.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":801007445094729728,"description":"Unknown IO ID 45"} 
[2026-09-17 15:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147670016001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":801007445094729728}} 
[2026-09-17 15:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":185424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:33:18] local.INFO: GPS data processed {"connection_id":185424,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:33:18] local.INFO: Acknowledgment sent {"connection_id":185424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:33:20] local.INFO: TCP Data received {"connection_id":185424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed19188012d0b2bc0070367500009002221..."} 
[2026-09-17 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed19188012d0b2bc0070367500009002221..."} 
[2026-09-17 15:33:20] local.INFO: Processing buffer {"connection_id":185424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed19188012d0b2bc0070367500009002221..."} 
[2026-09-17 15:33:20] local.INFO: Packet analysis {"connection_id":185424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:33:20] local.INFO: Extracted packet for processing {"connection_id":185424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":755706816,"raw_latitude":117663568,"longitude_deg":75.5706816,"latitude_deg":11.7663568,"altitude":9,"angle":34,"satellites":33,"speed":0,"hex_longitude":"2d0b2bc0","hex_latitude":"07036750","is_valid_coordinates":true} 
[2026-09-17 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147671040001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32866975239634944,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802203713746278400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789639365000,"timestamp_ms":1789639365000,"timestamp_seconds":1789639365,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed19188"} 
[2026-09-17 15:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 15:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147671040001,"66":14352,"17":206,"94":11008,"24":0,"16":32866975239634944,"45":802203713746278400},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 15:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147671040001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:33:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32866975239634944,"km_value":32866975239634.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":802203713746278400,"description":"Unknown IO ID 45"} 
[2026-09-17 15:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147671040001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":802203713746278400}} 
[2026-09-17 15:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":185424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:33:20] local.INFO: GPS data processed {"connection_id":185424,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:33:20] local.INFO: Acknowledgment sent {"connection_id":185424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:33:24] local.INFO: TCP Data received {"connection_id":186740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:33:24] local.INFO: Processing buffer {"connection_id":186740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:33:24] local.INFO: IMEI packet received {"connection_id":186740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":186740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:33:30] local.INFO: TCP Data received {"connection_id":186740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:33:30] local.INFO: Processing buffer {"connection_id":186740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:33:30] local.INFO: IMEI packet received {"connection_id":186740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":186740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:33:32] local.INFO: TCP Data received {"connection_id":186740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed0a340012d7d1f0005ec38300006011827..."} 
[2026-09-17 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed0a340012d7d1f0005ec38300006011827..."} 
[2026-09-17 15:33:32] local.INFO: Processing buffer {"connection_id":186740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed0a340012d7d1f0005ec38300006011827..."} 
[2026-09-17 15:33:32] local.INFO: Packet analysis {"connection_id":186740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:33:32] local.INFO: Extracted packet for processing {"connection_id":186740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99366960,"longitude_deg":76.3174656,"latitude_deg":9.936696,"altitude":6,"angle":280,"satellites":39,"speed":10,"hex_longitude":"2d7d1f00","hex_latitude":"05ec3830","is_valid_coordinates":true} 
[2026-09-17 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147660032001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134320914589286400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585666209792,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789639304000,"timestamp_ms":1789639304000,"timestamp_seconds":1789639304,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed0a340"} 
[2026-09-17 15:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 15:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147660032001,"66":13015,"110":206,"87":13824,"24":10,"16":134320914589286400,"45":9016417585666209792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147660032001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:33:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:33:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134320914589286400,"km_value":134320914589286.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585666209792,"description":"Unknown IO ID 45"} 
[2026-09-17 15:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147660032001,"power":13015,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016417585666209792}} 
[2026-09-17 15:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":186740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:33:32] local.INFO: GPS data processed {"connection_id":186740,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:33:32] local.INFO: Acknowledgment sent {"connection_id":186740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:33:35] local.INFO: TCP Data received {"connection_id":186740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed0d608012d7cfe0005ec38f0000a010d26..."} 
[2026-09-17 15:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed0d608012d7cfe0005ec38f0000a010d26..."} 
[2026-09-17 15:33:35] local.INFO: Processing buffer {"connection_id":186740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed0d608012d7cfe0005ec38f0000a010d26..."} 
[2026-09-17 15:33:35] local.INFO: Packet analysis {"connection_id":186740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:33:35] local.INFO: Extracted packet for processing {"connection_id":186740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763166208,"raw_latitude":99367152,"longitude_deg":76.3166208,"latitude_deg":9.9367152,"altitude":10,"angle":269,"satellites":38,"speed":34,"hex_longitude":"2d7cfe00","hex_latitude":"05ec38f0","is_valid_coordinates":true} 
[2026-09-17 15:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147661824001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134321318316212224,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004456964096,"note":"Value kept but may cause issues"} 
[2026-09-17 15:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789639317000,"timestamp_ms":1789639317000,"timestamp_seconds":1789639317,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed0d608"} 
[2026-09-17 15:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 15:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147661824001,"66":13472,"110":206,"87":13824,"24":34,"16":134321318316212224,"45":9015925004456964096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147661824001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:33:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:33:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134321318316212224,"km_value":134321318316212.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004456964096,"description":"Unknown IO ID 45"} 
[2026-09-17 15:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147661824001,"power":13472,"unknown_110":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9015925004456964096}} 
[2026-09-17 15:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":186740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:33:35] local.INFO: GPS data processed {"connection_id":186740,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:33:35] local.INFO: Acknowledgment sent {"connection_id":186740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:34:13] local.INFO: TCP Data received {"connection_id":188046,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:13] local.INFO: Processing buffer {"connection_id":188046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:13] local.INFO: IMEI packet received {"connection_id":188046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":188046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:34:14] local.INFO: TCP Data received {"connection_id":188046,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:14] local.INFO: Processing buffer {"connection_id":188046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:14] local.INFO: IMEI packet received {"connection_id":188046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:34:14] local.INFO: TCP Data received {"connection_id":188046,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:14] local.INFO: Processing buffer {"connection_id":188046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:14] local.INFO: IMEI packet received {"connection_id":188046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:34:16] local.INFO: TCP Data received {"connection_id":185425,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:34:16] local.INFO: Processing buffer {"connection_id":185425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:34:16] local.INFO: IMEI packet received {"connection_id":185425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":185425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:34:16] local.INFO: TCP Data received {"connection_id":188046,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:16] local.INFO: Processing buffer {"connection_id":188046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:34:16] local.INFO: IMEI packet received {"connection_id":188046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":188046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:34:17] local.INFO: TCP Data received {"connection_id":188046,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed27418012d0b2580070359d80006006723..."} 
[2026-09-17 15:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed27418012d0b2580070359d80006006723..."} 
[2026-09-17 15:34:17] local.INFO: Processing buffer {"connection_id":188046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed27418012d0b2580070359d80006006723..."} 
[2026-09-17 15:34:17] local.INFO: Packet analysis {"connection_id":188046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed2"} 
[2026-09-17 15:34:17] local.INFO: Extracted packet for processing {"connection_id":188046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed2"} 
[2026-09-17 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":755705216,"raw_latitude":117660120,"longitude_deg":75.5705216,"latitude_deg":11.766012,"altitude":6,"angle":103,"satellites":35,"speed":4,"hex_longitude":"2d0b2580","hex_latitude":"070359d8","is_valid_coordinates":true} 
[2026-09-17 15:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147691520001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32867202872901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802766663699814400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789639423000,"timestamp_ms":1789639423000,"timestamp_seconds":1789639423,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed27418"} 
[2026-09-17 15:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 15:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147691520001,"66":14428,"17":206,"94":11008,"24":4,"16":32867202872901632,"45":802766663699814400},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 15:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147691520001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:34:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32867202872901632,"km_value":32867202872901.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":802766663699814400,"description":"Unknown IO ID 45"} 
[2026-09-17 15:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147691520001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":802766663699814400}} 
[2026-09-17 15:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":188046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856262,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:34:17] local.INFO: GPS data processed {"connection_id":188046,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:34:17] local.INFO: Acknowledgment sent {"connection_id":188046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:34:20] local.INFO: TCP Data received {"connection_id":185282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:34:20] local.INFO: Processing buffer {"connection_id":185282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:34:20] local.INFO: IMEI packet received {"connection_id":185282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":185282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:34:21] local.INFO: TCP Data received {"connection_id":185425,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:34:21] local.INFO: Processing buffer {"connection_id":185425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:34:21] local.INFO: IMEI packet received {"connection_id":185425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":185425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:34:25] local.INFO: TCP Data received {"connection_id":185425,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:34:25] local.INFO: Processing buffer {"connection_id":185425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:34:25] local.INFO: IMEI packet received {"connection_id":185425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":185425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:34:26] local.INFO: TCP Data received {"connection_id":185425,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed0f930012d7cda8005ec37f0000a010c27..."} 
[2026-09-17 15:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed0f930012d7cda8005ec37f0000a010c27..."} 
[2026-09-17 15:34:26] local.INFO: Processing buffer {"connection_id":185425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed0f930012d7cda8005ec37f0000a010c27..."} 
[2026-09-17 15:34:26] local.INFO: Packet analysis {"connection_id":185425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:34:26] local.INFO: Extracted packet for processing {"connection_id":185425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763157120,"raw_latitude":99366896,"longitude_deg":76.315712,"latitude_deg":9.9366896,"altitude":10,"angle":268,"satellites":39,"speed":42,"hex_longitude":"2d7cda80","hex_latitude":"05ec37f0","is_valid_coordinates":true} 
[2026-09-17 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147665152001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134321752107909120,"note":"Value kept but may cause issues"} 
[2026-09-17 15:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006636330225561600,"note":"Value kept but may cause issues"} 
[2026-09-17 15:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639326000,"timestamp_ms":1789639326000,"timestamp_seconds":1789639326,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed0f930"} 
[2026-09-17 15:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 15:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147665152001,"66":12906,"110":206,"87":13824,"24":42,"16":134321752107909120,"45":9006636330225561600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147665152001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:34:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:34:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134321752107909120,"km_value":134321752107909.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006636330225561600,"description":"Unknown IO ID 45"} 
[2026-09-17 15:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147665152001,"power":12906,"unknown_110":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":9006636330225561600}} 
[2026-09-17 15:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":185425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:34:26] local.INFO: GPS data processed {"connection_id":185425,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:34:26] local.INFO: Acknowledgment sent {"connection_id":185425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:34:30] local.INFO: TCP Data received {"connection_id":185425,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed12428012d7cb58005ec37100009010c26..."} 
[2026-09-17 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed12428012d7cb58005ec37100009010c26..."} 
[2026-09-17 15:34:30] local.INFO: Processing buffer {"connection_id":185425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed12428012d7cb58005ec37100009010c26..."} 
[2026-09-17 15:34:30] local.INFO: Packet analysis {"connection_id":185425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:34:30] local.INFO: Extracted packet for processing {"connection_id":185425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763147648,"raw_latitude":99366672,"longitude_deg":76.3147648,"latitude_deg":9.9366672,"altitude":9,"angle":268,"satellites":38,"speed":35,"hex_longitude":"2d7cb580","hex_latitude":"05ec3710","is_valid_coordinates":true} 
[2026-09-17 15:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147667456001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134322207374442496,"note":"Value kept but may cause issues"} 
[2026-09-17 15:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996643968552267776,"note":"Value kept but may cause issues"} 
[2026-09-17 15:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789639337000,"timestamp_ms":1789639337000,"timestamp_seconds":1789639337,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed12428"} 
[2026-09-17 15:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 15:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147667456001,"66":13189,"110":206,"87":13824,"24":35,"16":134322207374442496,"45":8996643968552267776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147667456001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:34:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134322207374442496,"km_value":134322207374442.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996643968552267776,"description":"Unknown IO ID 45"} 
[2026-09-17 15:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147667456001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8996643968552267776}} 
[2026-09-17 15:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":185425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:34:30] local.INFO: GPS data processed {"connection_id":185425,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:34:30] local.INFO: Acknowledgment sent {"connection_id":185425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:34:55] local.INFO: TCP Data received {"connection_id":188047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:34:55] local.INFO: Processing buffer {"connection_id":188047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:34:55] local.INFO: IMEI packet received {"connection_id":188047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":188047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:35:01] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:01] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:01] local.INFO: IMEI packet received {"connection_id":186742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":186742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:35:06] local.INFO: TCP Data received {"connection_id":185425,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed14f20012d7c8fc005ec36000009010c27..."} 
[2026-09-17 15:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed14f20012d7c8fc005ec36000009010c27..."} 
[2026-09-17 15:35:06] local.INFO: Processing buffer {"connection_id":185425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed14f20012d7c8fc005ec36000009010c27..."} 
[2026-09-17 15:35:06] local.INFO: Packet analysis {"connection_id":185425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:35:06] local.INFO: Extracted packet for processing {"connection_id":185425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763137984,"raw_latitude":99366400,"longitude_deg":76.3137984,"latitude_deg":9.93664,"altitude":9,"angle":268,"satellites":39,"speed":31,"hex_longitude":"2d7c8fc0","hex_latitude":"05ec3600","is_valid_coordinates":true} 
[2026-09-17 15:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147670272001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134322666935943168,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986229394413916160,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789639348000,"timestamp_ms":1789639348000,"timestamp_seconds":1789639348,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed14f20"} 
[2026-09-17 15:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147670272001,"66":13091,"110":206,"87":13824,"24":31,"16":134322666935943168,"45":8986229394413916160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147670272001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:35:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:35:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134322666935943168,"km_value":134322666935943.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986229394413916160,"description":"Unknown IO ID 45"} 
[2026-09-17 15:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147670272001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8986229394413916160}} 
[2026-09-17 15:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":185425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:35:06] local.INFO: GPS data processed {"connection_id":185425,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:35:06] local.INFO: Acknowledgment sent {"connection_id":185425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:35:07] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:07] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:07] local.INFO: IMEI packet received {"connection_id":186742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":186742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:35:08] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed29f10012d0b3500070355900004007326..."} 
[2026-09-17 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed29f10012d0b3500070355900004007326..."} 
[2026-09-17 15:35:08] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed29f10012d0b3500070355900004007326..."} 
[2026-09-17 15:35:08] local.INFO: Packet analysis {"connection_id":186742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed2"} 
[2026-09-17 15:35:08] local.INFO: Extracted packet for processing {"connection_id":186742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed2"} 
[2026-09-17 15:35:08] local.INFO: GPS Element Parsed {"raw_longitude":755709184,"raw_latitude":117659024,"longitude_deg":75.5709184,"latitude_deg":11.7659024,"altitude":4,"angle":115,"satellites":38,"speed":20,"hex_longitude":"2d0b3500","hex_latitude":"07035590","is_valid_coordinates":true} 
[2026-09-17 15: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-09-17 15:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147692288001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32867400441397248,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803188876164847616,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789639434000,"timestamp_ms":1789639434000,"timestamp_seconds":1789639434,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed29f10"} 
[2026-09-17 15:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 15:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15: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-09-17 15:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147692288001,"66":14396,"37":206,"94":11008,"24":20,"16":32867400441397248,"45":803188876164847616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147692288001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:35:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:35:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32867400441397248,"km_value":32867400441397.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":803188876164847616,"description":"Unknown IO ID 45"} 
[2026-09-17 15:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147692288001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":803188876164847616}} 
[2026-09-17 15:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":186742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856266,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:35:08] local.INFO: GPS data processed {"connection_id":186742,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:35:08] local.INFO: Acknowledgment sent {"connection_id":186742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:35:24] local.INFO: TCP Data received {"connection_id":185284,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:35:24] local.INFO: Processing buffer {"connection_id":185284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:35:24] local.INFO: IMEI packet received {"connection_id":185284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":185284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:35:29] local.INFO: TCP Data received {"connection_id":185284,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:35:29] local.INFO: Processing buffer {"connection_id":185284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:35:29] local.INFO: IMEI packet received {"connection_id":185284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":185284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:35:30] local.INFO: TCP Data received {"connection_id":185284,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed19188012d7c6c8005ec3510000a010c27..."} 
[2026-09-17 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed19188012d7c6c8005ec3510000a010c27..."} 
[2026-09-17 15:35:30] local.INFO: Processing buffer {"connection_id":185284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed19188012d7c6c8005ec3510000a010c27..."} 
[2026-09-17 15:35:30] local.INFO: Packet analysis {"connection_id":185284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:35:30] local.INFO: Extracted packet for processing {"connection_id":185284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763128960,"raw_latitude":99366160,"longitude_deg":76.312896,"latitude_deg":9.936616,"altitude":10,"angle":268,"satellites":39,"speed":28,"hex_longitude":"2d7c6c80","hex_latitude":"05ec3510","is_valid_coordinates":true} 
[2026-09-17 15:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147673088001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134323096432672768,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975603714043019264,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789639365000,"timestamp_ms":1789639365000,"timestamp_seconds":1789639365,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed19188"} 
[2026-09-17 15:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 15:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147673088001,"66":12939,"110":206,"87":13824,"24":28,"16":134323096432672768,"45":8975603714043019264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147673088001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:35:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:35:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134323096432672768,"km_value":134323096432672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975603714043019264,"description":"Unknown IO ID 45"} 
[2026-09-17 15:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147673088001,"power":12939,"unknown_110":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8975603714043019264}} 
[2026-09-17 15:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":185284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:35:30] local.INFO: GPS data processed {"connection_id":185284,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:35:30] local.INFO: Acknowledgment sent {"connection_id":185284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:35:35] local.INFO: TCP Data received {"connection_id":185283,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:35:35] local.INFO: Processing buffer {"connection_id":185283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:35:35] local.INFO: IMEI packet received {"connection_id":185283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":185283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:35:36] local.INFO: TCP Data received {"connection_id":185283,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed0a728012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed0a728012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:35:36] local.INFO: Processing buffer {"connection_id":185283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed0a728012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:35:36] local.INFO: Packet analysis {"connection_id":185283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:35:36] local.INFO: Extracted packet for processing {"connection_id":185283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147585024001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789639305000,"timestamp_ms":1789639305000,"timestamp_seconds":1789639305,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed0a728"} 
[2026-09-17 15:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:35:36] 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-09-17 15:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147585024001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147585024001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147585024001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":185283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:35:36] local.INFO: GPS data processed {"connection_id":185283,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:35:36] local.INFO: Acknowledgment sent {"connection_id":185283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:35:41] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed40288012d0b6e80070345800003008724..."} 
[2026-09-17 15:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed40288012d0b6e80070345800003008724..."} 
[2026-09-17 15:35:41] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed40288012d0b6e80070345800003008724..."} 
[2026-09-17 15:35:41] local.INFO: Packet analysis {"connection_id":186742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:35:41] local.INFO: Extracted packet for processing {"connection_id":186742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:35:41] local.INFO: GPS Element Parsed {"raw_longitude":755723904,"raw_latitude":117654912,"longitude_deg":75.5723904,"latitude_deg":11.7654912,"altitude":3,"angle":135,"satellites":36,"speed":2,"hex_longitude":"2d0b6e80","hex_latitude":"07034580","is_valid_coordinates":true} 
[2026-09-17 15:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147714304001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32868207895248896,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823525443230871552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789639525000,"timestamp_ms":1789639525000,"timestamp_seconds":1789639525,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed40288"} 
[2026-09-17 15:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 15:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147714304001,"66":14450,"37":206,"94":11008,"24":2,"16":32868207895248896,"45":823525443230871552},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147714304001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:35:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:35:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32868207895248896,"km_value":32868207895248.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":823525443230871552,"description":"Unknown IO ID 45"} 
[2026-09-17 15:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147714304001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":823525443230871552}} 
[2026-09-17 15:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":186742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856269,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:35:41] local.INFO: GPS data processed {"connection_id":186742,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:35:41] local.INFO: Acknowledgment sent {"connection_id":186742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:35:53] local.INFO: TCP Data received {"connection_id":185285,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:53] local.INFO: Processing buffer {"connection_id":185285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:53] local.INFO: IMEI packet received {"connection_id":185285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":185285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:35:56] local.INFO: TCP Data received {"connection_id":185285,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:56] local.INFO: Processing buffer {"connection_id":185285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:35:56] local.INFO: IMEI packet received {"connection_id":185285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":185285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:36:02] local.INFO: TCP Data received {"connection_id":185285,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:36:02] local.INFO: Processing buffer {"connection_id":185285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:36:02] local.INFO: IMEI packet received {"connection_id":185285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":185285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:36:02] local.INFO: TCP Data received {"connection_id":185284,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed1c068012d7c494005ec3418000d010a27..."} 
[2026-09-17 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed1c068012d7c494005ec3418000d010a27..."} 
[2026-09-17 15:36:02] local.INFO: Processing buffer {"connection_id":185284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed1c068012d7c494005ec3418000d010a27..."} 
[2026-09-17 15:36:02] local.INFO: Packet analysis {"connection_id":185284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:36:02] local.INFO: Extracted packet for processing {"connection_id":185284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed1"} 
[2026-09-17 15:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763119936,"raw_latitude":99365912,"longitude_deg":76.3119936,"latitude_deg":9.9365912,"altitude":13,"angle":266,"satellites":39,"speed":23,"hex_longitude":"2d7c4940","hex_latitude":"05ec3418","is_valid_coordinates":true} 
[2026-09-17 15:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147677440001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134323530224369664,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965681721113907200,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789639377000,"timestamp_ms":1789639377000,"timestamp_seconds":1789639377,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed1c068"} 
[2026-09-17 15:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147677440001,"66":13091,"110":206,"87":13824,"24":23,"16":134323530224369664,"45":8965681721113907200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147677440001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:36:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134323530224369664,"km_value":134323530224369.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965681721113907200,"description":"Unknown IO ID 45"} 
[2026-09-17 15:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147677440001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8965681721113907200}} 
[2026-09-17 15:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":185284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:36:02] local.INFO: GPS data processed {"connection_id":185284,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:36:02] local.INFO: Acknowledgment sent {"connection_id":185284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:36:03] local.INFO: TCP Data received {"connection_id":185285,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed40a58012d0b6f00070345380003007924..."} 
[2026-09-17 15:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed40a58012d0b6f00070345380003007924..."} 
[2026-09-17 15:36:03] local.INFO: Processing buffer {"connection_id":185285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed40a58012d0b6f00070345380003007924..."} 
[2026-09-17 15:36:03] local.INFO: Packet analysis {"connection_id":185285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:36:03] local.INFO: Extracted packet for processing {"connection_id":185285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:36:03] local.INFO: GPS Element Parsed {"raw_longitude":755724032,"raw_latitude":117654840,"longitude_deg":75.5724032,"latitude_deg":11.765484,"altitude":3,"angle":121,"satellites":36,"speed":2,"hex_longitude":"2d0b6f00","hex_latitude":"07034538","is_valid_coordinates":true} 
[2026-09-17 15:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147718400001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32868216485183488,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823736549463392256,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789639527000,"timestamp_ms":1789639527000,"timestamp_seconds":1789639527,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed40a58"} 
[2026-09-17 15:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 15:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147718400001,"66":14428,"37":206,"94":11008,"24":2,"16":32868216485183488,"45":823736549463392256},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147718400001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:36:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:36:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32868216485183488,"km_value":32868216485183.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":823736549463392256,"description":"Unknown IO ID 45"} 
[2026-09-17 15:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147718400001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":823736549463392256}} 
[2026-09-17 15:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":185285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:36:03] local.INFO: GPS data processed {"connection_id":185285,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:36:03] local.INFO: Acknowledgment sent {"connection_id":185285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:36:15] local.INFO: TCP Data received {"connection_id":188049,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:36:15] local.INFO: Processing buffer {"connection_id":188049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:36:15] local.INFO: IMEI packet received {"connection_id":188049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":188049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:36:19] local.INFO: TCP Data received {"connection_id":186743,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:36:19] local.INFO: Processing buffer {"connection_id":186743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:36:19] local.INFO: IMEI packet received {"connection_id":186743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":186743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:36:20] local.INFO: TCP Data received {"connection_id":188049,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:36:20] local.INFO: Processing buffer {"connection_id":188049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:36:20] local.INFO: IMEI packet received {"connection_id":188049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":188049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:36:21] local.INFO: TCP Data received {"connection_id":188049,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed0a728012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed0a728012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:36:21] local.INFO: Processing buffer {"connection_id":188049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed0a728012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:36:21] local.INFO: Packet analysis {"connection_id":188049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:36:21] local.INFO: Extracted packet for processing {"connection_id":188049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147585024001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639305000,"timestamp_ms":1789639305000,"timestamp_seconds":1789639305,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed0a728"} 
[2026-09-17 15:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:36: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-09-17 15:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:36:21] 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-09-17 15:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147585024001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147585024001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147585024001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":188049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:36:21] local.INFO: GPS data processed {"connection_id":188049,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:36:21] local.INFO: Acknowledgment sent {"connection_id":188049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:36:22] local.INFO: TCP Data received {"connection_id":186743,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:36:22] local.INFO: Processing buffer {"connection_id":186743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:36:22] local.INFO: IMEI packet received {"connection_id":186743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":186743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:36:24] local.INFO: TCP Data received {"connection_id":186743,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:36:24] local.INFO: Processing buffer {"connection_id":186743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:36:24] local.INFO: IMEI packet received {"connection_id":186743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":186743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:36:26] local.INFO: TCP Data received {"connection_id":186743,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed46c00012d7b370005ebf5e8000d00eb27..."} 
[2026-09-17 15:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed46c00012d7b370005ebf5e8000d00eb27..."} 
[2026-09-17 15:36:26] local.INFO: Processing buffer {"connection_id":186743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed46c00012d7b370005ebf5e8000d00eb27..."} 
[2026-09-17 15:36:26] local.INFO: Packet analysis {"connection_id":186743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:36:26] local.INFO: Extracted packet for processing {"connection_id":186743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763049728,"raw_latitude":99349992,"longitude_deg":76.3049728,"latitude_deg":9.9349992,"altitude":13,"angle":235,"satellites":39,"speed":30,"hex_longitude":"2d7b3700","hex_latitude":"05ebf5e8","is_valid_coordinates":true} 
[2026-09-17 15:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147724800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134327004852912128,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879902221957369856,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639552000,"timestamp_ms":1789639552000,"timestamp_seconds":1789639552,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed46c00"} 
[2026-09-17 15:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2933059864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962372096,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3548743681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3609635152894437120,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3221613603,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422293,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-6140656797053911035,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:26] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,98,87,24,241,157,16,57,160,88,45,128,250,13,39,10,66,22,192,5,199,64,1,240,68,227,56,174,236,4,113,205,26,55,187,80,239,51,198,2,221,15,7,210],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-17 15:36:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937019369858727936,"timestamp_seconds":937019369858727.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147724800001,"66":13135,"98":206,"87":13824,"24":30,"16":134327004852912128,"45":8879902221957369856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-17 15:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147724800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:36:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-17 15:36:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134327004852912128,"km_value":134327004852912.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879902221957369856,"description":"Unknown IO ID 45"} 
[2026-09-17 15:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147724800001,"power":13135,"unknown_98":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8879902221957369856}} 
[2026-09-17 15:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":186743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:36:26] local.INFO: GPS data processed {"connection_id":186743,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:36:26] local.INFO: Acknowledgment sent {"connection_id":186743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:36:34] local.INFO: TCP Data received {"connection_id":185285,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed4c5d8012d0b9880070350780008006721..."} 
[2026-09-17 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed4c5d8012d0b9880070350780008006721..."} 
[2026-09-17 15:36:34] local.INFO: Processing buffer {"connection_id":185285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed4c5d8012d0b9880070350780008006721..."} 
[2026-09-17 15:36:34] local.INFO: Packet analysis {"connection_id":185285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:36:34] local.INFO: Extracted packet for processing {"connection_id":185285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":117657720,"longitude_deg":75.5734656,"latitude_deg":11.765772,"altitude":8,"angle":103,"satellites":33,"speed":2,"hex_longitude":"2d0b9880","hex_latitude":"07035078","is_valid_coordinates":true} 
[2026-09-17 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147730176001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32868847845376000,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835347392253442048,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789639575000,"timestamp_ms":1789639575000,"timestamp_seconds":1789639575,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed4c5d8"} 
[2026-09-17 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 15:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185285,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147730176001,"66":14515,"37":206,"94":11008,"24":2,"16":32868847845376000,"45":835347392253442048},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147730176001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:36:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:36:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32868847845376000,"km_value":32868847845376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":835347392253442048,"description":"Unknown IO ID 45"} 
[2026-09-17 15:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147730176001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":835347392253442048}} 
[2026-09-17 15:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":185285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856274,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:36:35] local.INFO: GPS data processed {"connection_id":185285,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:36:35] local.INFO: Acknowledgment sent {"connection_id":185285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:36:53] local.INFO: TCP Data received {"connection_id":188049,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed0a728012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed0a728012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:36:53] local.INFO: Processing buffer {"connection_id":188049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed0a728012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:36:53] local.INFO: Packet analysis {"connection_id":188049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:36:53] local.INFO: Extracted packet for processing {"connection_id":188049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed0"} 
[2026-09-17 15:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147585024001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789639305000,"timestamp_ms":1789639305000,"timestamp_seconds":1789639305,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed0a728"} 
[2026-09-17 15:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:36:53] 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-09-17 15:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147585024001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147585024001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147585024001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":188049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:36:53] local.INFO: GPS data processed {"connection_id":188049,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:36:53] local.INFO: Acknowledgment sent {"connection_id":188049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:36:54] local.INFO: TCP Data received {"connection_id":188051,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188051,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:36:54] local.INFO: Processing buffer {"connection_id":188051,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:36:54] local.INFO: IMEI packet received {"connection_id":188051,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":188051,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:36:57] local.INFO: TCP Data received {"connection_id":188051,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188051,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:36:57] local.INFO: Processing buffer {"connection_id":188051,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:36:57] local.INFO: IMEI packet received {"connection_id":188051,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":188051,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:36:59] local.INFO: TCP Data received {"connection_id":186743,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed48f28012d7b160005ebe4e8000d00f427..."} 
[2026-09-17 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed48f28012d7b160005ebe4e8000d00f427..."} 
[2026-09-17 15:36:59] local.INFO: Processing buffer {"connection_id":186743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed48f28012d7b160005ebe4e8000d00f427..."} 
[2026-09-17 15:36:59] local.INFO: Packet analysis {"connection_id":186743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:36:59] local.INFO: Extracted packet for processing {"connection_id":186743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763041280,"raw_latitude":99345640,"longitude_deg":76.304128,"latitude_deg":9.934564,"altitude":13,"angle":244,"satellites":39,"speed":44,"hex_longitude":"2d7b1600","hex_latitude":"05ebe4e8","is_valid_coordinates":true} 
[2026-09-17 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147725312001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134327460119445504,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878565215817820160,"note":"Value kept but may cause issues"} 
[2026-09-17 15:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789639561000,"timestamp_ms":1789639561000,"timestamp_seconds":1789639561,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed48f28"} 
[2026-09-17 15:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 15:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147725312001,"66":12645,"98":206,"87":13824,"24":44,"16":134327460119445504,"45":8878565215817820160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-17 15:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147725312001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:36:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-17 15:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134327460119445504,"km_value":134327460119445.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878565215817820160,"description":"Unknown IO ID 45"} 
[2026-09-17 15:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147725312001,"power":12645,"unknown_98":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8878565215817820160}} 
[2026-09-17 15:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":186743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:36:59] local.INFO: GPS data processed {"connection_id":186743,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:36:59] local.INFO: Acknowledgment sent {"connection_id":186743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:37:02] local.INFO: TCP Data received {"connection_id":188051,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188051,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:37:02] local.INFO: Processing buffer {"connection_id":188051,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:37:02] local.INFO: IMEI packet received {"connection_id":188051,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":188051,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:37:03] local.INFO: TCP Data received {"connection_id":188051,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed4d960012d0b9c80070350a00008005322..."} 
[2026-09-17 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed4d960012d0b9c80070350a00008005322..."} 
[2026-09-17 15:37:03] local.INFO: Processing buffer {"connection_id":188051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed4d960012d0b9c80070350a00008005322..."} 
[2026-09-17 15:37:03] local.INFO: Packet analysis {"connection_id":188051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:37:03] local.INFO: Extracted packet for processing {"connection_id":188051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":755735680,"raw_latitude":117657760,"longitude_deg":75.573568,"latitude_deg":11.765776,"altitude":8,"angle":83,"satellites":34,"speed":11,"hex_longitude":"2d0b9c80","hex_latitude":"070350a0","is_valid_coordinates":true} 
[2026-09-17 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147731200001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32868899384983552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835558498485958656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789639580000,"timestamp_ms":1789639580000,"timestamp_seconds":1789639580,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed4d960"} 
[2026-09-17 15:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 15:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147731200001,"66":14515,"37":206,"94":11008,"24":11,"16":32868899384983552,"45":835558498485958656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147731200001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:37:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:37:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32868899384983552,"km_value":32868899384983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":835558498485958656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147731200001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":835558498485958656}} 
[2026-09-17 15:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":188051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:37:03] local.INFO: GPS data processed {"connection_id":188051,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:37:03] local.INFO: Acknowledgment sent {"connection_id":188051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:37:19] local.INFO: TCP Data received {"connection_id":185286,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:37:19] local.INFO: Processing buffer {"connection_id":185286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:37:19] local.INFO: IMEI packet received {"connection_id":185286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":185286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:37:20] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:37:20] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:37:20] local.INFO: IMEI packet received {"connection_id":186744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":186744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:37:24] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:37:24] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:37:24] local.INFO: IMEI packet received {"connection_id":186744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":186744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:37:25] local.INFO: TCP Data received {"connection_id":185286,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:37:25] local.INFO: Processing buffer {"connection_id":185286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:37:25] local.INFO: IMEI packet received {"connection_id":185286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":185286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:37:26] local.INFO: TCP Data received {"connection_id":185286,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed4b250012d7af6c005ebd520000c00f327..."} 
[2026-09-17 15:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed4b250012d7af6c005ebd520000c00f327..."} 
[2026-09-17 15:37:26] local.INFO: Processing buffer {"connection_id":185286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed4b250012d7af6c005ebd520000c00f327..."} 
[2026-09-17 15:37:26] local.INFO: Packet analysis {"connection_id":185286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:37:26] local.INFO: Extracted packet for processing {"connection_id":185286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763033280,"raw_latitude":99341600,"longitude_deg":76.303328,"latitude_deg":9.93416,"altitude":12,"angle":243,"satellites":39,"speed":38,"hex_longitude":"2d7af6c0","hex_latitude":"05ebd520","is_valid_coordinates":true} 
[2026-09-17 15:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147727616001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134327889616175104,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869276541585254400,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639570000,"timestamp_ms":1789639570000,"timestamp_seconds":1789639570,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed4b250"} 
[2026-09-17 15:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-17 15:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147727616001,"66":13428,"98":206,"87":13824,"24":38,"16":134327889616175104,"45":8869276541585254400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-17 15:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147727616001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:37:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-17 15:37:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134327889616175104,"km_value":134327889616175.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869276541585254400,"description":"Unknown IO ID 45"} 
[2026-09-17 15:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147727616001,"power":13428,"unknown_98":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8869276541585254400}} 
[2026-09-17 15:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":185286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:37:26] local.INFO: GPS data processed {"connection_id":185286,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:37:26] local.INFO: Acknowledgment sent {"connection_id":185286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:37:26] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:37:26] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:37:26] local.INFO: Packet analysis {"connection_id":186744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:37:26] local.INFO: Extracted packet for processing {"connection_id":186744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:37:26] 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-09-17 15:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:37:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":186744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:37:26] local.INFO: GPS data processed {"connection_id":186744,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:37:26] local.INFO: Acknowledgment sent {"connection_id":186744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:37:28] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:37:28] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:37:28] local.INFO: Packet analysis {"connection_id":186744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:37:28] local.INFO: Extracted packet for processing {"connection_id":186744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:37:28] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:37:28] 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-09-17 15:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:37:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":186744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:37:28] local.INFO: GPS data processed {"connection_id":186744,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:37:28] local.INFO: Acknowledgment sent {"connection_id":186744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:37:34] local.INFO: TCP Data received {"connection_id":188051,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed5b420012d0bfa80070359f8000b008024..."} 
[2026-09-17 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed5b420012d0bfa80070359f8000b008024..."} 
[2026-09-17 15:37:34] local.INFO: Processing buffer {"connection_id":188051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed5b420012d0bfa80070359f8000b008024..."} 
[2026-09-17 15:37:34] local.INFO: Packet analysis {"connection_id":188051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:37:34] local.INFO: Extracted packet for processing {"connection_id":188051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":755759744,"raw_latitude":117660152,"longitude_deg":75.5759744,"latitude_deg":11.7660152,"altitude":11,"angle":128,"satellites":36,"speed":8,"hex_longitude":"2d0bfa80","hex_latitude":"070359f8","is_valid_coordinates":true} 
[2026-09-17 15:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147746560001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32870080500989952,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862861571227559936,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789639636000,"timestamp_ms":1789639636000,"timestamp_seconds":1789639636,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed5b420"} 
[2026-09-17 15:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 15:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147746560001,"66":14461,"37":206,"94":11008,"24":8,"16":32870080500989952,"45":862861571227559936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147746560001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:37:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:37:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32870080500989952,"km_value":32870080500989.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":862861571227559936,"description":"Unknown IO ID 45"} 
[2026-09-17 15:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147746560001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":862861571227559936}} 
[2026-09-17 15:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":188051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856281,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:37:34] local.INFO: GPS data processed {"connection_id":188051,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:37:34] local.INFO: Acknowledgment sent {"connection_id":188051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:37:56] local.INFO: TCP Data received {"connection_id":188052,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188052,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:37:56] local.INFO: Processing buffer {"connection_id":188052,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:37:56] local.INFO: IMEI packet received {"connection_id":188052,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":188052,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:37:57] local.INFO: TCP Data received {"connection_id":185286,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed4d960012d7ad54005ebc470000900f327..."} 
[2026-09-17 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed4d960012d7ad54005ebc470000900f327..."} 
[2026-09-17 15:37:57] local.INFO: Processing buffer {"connection_id":185286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed4d960012d7ad54005ebc470000900f327..."} 
[2026-09-17 15:37:57] local.INFO: Packet analysis {"connection_id":185286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:37:57] local.INFO: Extracted packet for processing {"connection_id":185286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed4"} 
[2026-09-17 15:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763024704,"raw_latitude":99337328,"longitude_deg":76.3024704,"latitude_deg":9.9337328,"altitude":9,"angle":243,"satellites":39,"speed":36,"hex_longitude":"2d7ad540","hex_latitude":"05ebc470","is_valid_coordinates":true} 
[2026-09-17 15:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147729920001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134328349177675776,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860480448562012160,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789639580000,"timestamp_ms":1789639580000,"timestamp_seconds":1789639580,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed4d960"} 
[2026-09-17 15:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 15:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147729920001,"66":13037,"98":206,"87":13824,"24":36,"16":134328349177675776,"45":8860480448562012160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-17 15:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147729920001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:37:57] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-17 15:37:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134328349177675776,"km_value":134328349177675.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860480448562012160,"description":"Unknown IO ID 45"} 
[2026-09-17 15:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147729920001,"power":13037,"unknown_98":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8860480448562012160}} 
[2026-09-17 15:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":185286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:37:57] local.INFO: GPS data processed {"connection_id":185286,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:37:57] local.INFO: Acknowledgment sent {"connection_id":185286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:37:59] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:37:59] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:37:59] local.INFO: Packet analysis {"connection_id":186744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:37:59] local.INFO: Extracted packet for processing {"connection_id":186744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:37:59] 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-09-17 15:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:37:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":186744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:37:59] local.INFO: GPS data processed {"connection_id":186744,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:37:59] local.INFO: Acknowledgment sent {"connection_id":186744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:38:02] local.INFO: TCP Data received {"connection_id":188052,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188052,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:38:02] local.INFO: Processing buffer {"connection_id":188052,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:38:02] local.INFO: IMEI packet received {"connection_id":188052,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":188052,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:38:02] local.INFO: TCP Data received {"connection_id":188052,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed5b808012d0bfb00070359a0000b006a22..."} 
[2026-09-17 15:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed5b808012d0bfb00070359a0000b006a22..."} 
[2026-09-17 15:38:02] local.INFO: Processing buffer {"connection_id":188052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed5b808012d0bfb00070359a0000b006a22..."} 
[2026-09-17 15:38:02] local.INFO: Packet analysis {"connection_id":188052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:02] local.INFO: Extracted packet for processing {"connection_id":188052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:02] local.INFO: GPS Element Parsed {"raw_longitude":755759872,"raw_latitude":117660064,"longitude_deg":75.5759872,"latitude_deg":11.7660064,"altitude":11,"angle":106,"satellites":34,"speed":8,"hex_longitude":"2d0bfb00","hex_latitude":"070359a0","is_valid_coordinates":true} 
[2026-09-17 15:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147746816001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32870089090924544,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863143046204225536,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789639637000,"timestamp_ms":1789639637000,"timestamp_seconds":1789639637,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed5b808"} 
[2026-09-17 15:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 15:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147746816001,"66":14439,"37":206,"94":11008,"24":8,"16":32870089090924544,"45":863143046204225536},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147746816001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:38:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:38:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32870089090924544,"km_value":32870089090924.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":863143046204225536,"description":"Unknown IO ID 45"} 
[2026-09-17 15:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147746816001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":863143046204225536}} 
[2026-09-17 15:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":188052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:38:02] local.INFO: GPS data processed {"connection_id":188052,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:38:02] local.INFO: Acknowledgment sent {"connection_id":188052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:38:15] local.INFO: TCP Data received {"connection_id":185287,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:38:15] local.INFO: Processing buffer {"connection_id":185287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:38:15] local.INFO: IMEI packet received {"connection_id":185287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":185287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:38:19] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:38:19] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:38:19] local.INFO: IMEI packet received {"connection_id":186745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":186745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:38:20] local.INFO: TCP Data received {"connection_id":185287,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:38:20] local.INFO: Processing buffer {"connection_id":185287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:38:20] local.INFO: IMEI packet received {"connection_id":185287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":185287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:38:21] local.INFO: TCP Data received {"connection_id":185287,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:38:21] local.INFO: Processing buffer {"connection_id":185287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:38:21] local.INFO: Packet analysis {"connection_id":185287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:21] local.INFO: Extracted packet for processing {"connection_id":185287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:38: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-09-17 15:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:38:21] 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-09-17 15:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:38:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":185287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:38:21] local.INFO: GPS data processed {"connection_id":185287,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:38:21] local.INFO: Acknowledgment sent {"connection_id":185287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:38:25] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:38:25] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:38:25] local.INFO: IMEI packet received {"connection_id":186745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":186745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:38:25] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed50840012d7ab4c005ebb570000700f727..."} 
[2026-09-17 15:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed50840012d7ab4c005ebb570000700f727..."} 
[2026-09-17 15:38:25] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed50840012d7ab4c005ebb570000700f727..."} 
[2026-09-17 15:38:25] local.INFO: Packet analysis {"connection_id":186745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:25] local.INFO: Extracted packet for processing {"connection_id":186745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763016384,"raw_latitude":99333488,"longitude_deg":76.3016384,"latitude_deg":9.9333488,"altitude":7,"angle":247,"satellites":39,"speed":26,"hex_longitude":"2d7ab4c0","hex_latitude":"05ebb570","is_valid_coordinates":true} 
[2026-09-17 15:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147732480001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134328791559307264,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851051036841111552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789639592000,"timestamp_ms":1789639592000,"timestamp_seconds":1789639592,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed50840"} 
[2026-09-17 15:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 15:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147732480001,"66":13102,"98":206,"87":13824,"24":26,"16":134328791559307264,"45":8851051036841111552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-17 15:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147732480001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:38:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-17 15:38:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134328791559307264,"km_value":134328791559307.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851051036841111552,"description":"Unknown IO ID 45"} 
[2026-09-17 15:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147732480001,"power":13102,"unknown_98":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8851051036841111552}} 
[2026-09-17 15:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":186745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:38:26] local.INFO: GPS data processed {"connection_id":186745,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:38:26] local.INFO: Acknowledgment sent {"connection_id":186745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:38:34] local.INFO: TCP Data received {"connection_id":188052,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed6b9d8012d0c1c8007035198000e002723..."} 
[2026-09-17 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed6b9d8012d0c1c8007035198000e002723..."} 
[2026-09-17 15:38:34] local.INFO: Processing buffer {"connection_id":188052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed6b9d8012d0c1c8007035198000e002723..."} 
[2026-09-17 15:38:34] local.INFO: Packet analysis {"connection_id":188052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed6"} 
[2026-09-17 15:38:34] local.INFO: Extracted packet for processing {"connection_id":188052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed6"} 
[2026-09-17 15:38:34] local.INFO: GPS Element Parsed {"raw_longitude":755768448,"raw_latitude":117658008,"longitude_deg":75.5768448,"latitude_deg":11.7658008,"altitude":14,"angle":39,"satellites":35,"speed":14,"hex_longitude":"2d0c1c80","hex_latitude":"07035198","is_valid_coordinates":true} 
[2026-09-17 15:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147763712001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32870896544776192,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872431720435056640,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789639703000,"timestamp_ms":1789639703000,"timestamp_seconds":1789639703,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed6b9d8"} 
[2026-09-17 15:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 15:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147763712001,"66":14428,"37":206,"94":11008,"24":14,"16":32870896544776192,"45":872431720435056640},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147763712001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:38:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:38:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32870896544776192,"km_value":32870896544776.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":872431720435056640,"description":"Unknown IO ID 45"} 
[2026-09-17 15:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147763712001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":872431720435056640}} 
[2026-09-17 15:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":188052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856287,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:38:34] local.INFO: GPS data processed {"connection_id":188052,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:38:34] local.INFO: Acknowledgment sent {"connection_id":188052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:38:53] local.INFO: TCP Data received {"connection_id":185287,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:38:53] local.INFO: Processing buffer {"connection_id":185287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:38:53] local.INFO: Packet analysis {"connection_id":185287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:53] local.INFO: Extracted packet for processing {"connection_id":185287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:38:53] 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-09-17 15:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":185287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:38:53] local.INFO: GPS data processed {"connection_id":185287,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:38:53] local.INFO: Acknowledgment sent {"connection_id":185287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:38:57] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d7a93c005eba8e8000600f825..."} 
[2026-09-17 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d7a93c005eba8e8000600f825..."} 
[2026-09-17 15:38:57] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d7a93c005eba8e8000600f825..."} 
[2026-09-17 15:38:57] local.INFO: Packet analysis {"connection_id":186745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:57] local.INFO: Extracted packet for processing {"connection_id":186745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763007936,"raw_latitude":99330280,"longitude_deg":76.3007936,"latitude_deg":9.933028,"altitude":6,"angle":248,"satellites":37,"speed":22,"hex_longitude":"2d7a93c0","hex_latitude":"05eba8e8","is_valid_coordinates":true} 
[2026-09-17 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147735552001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134329221056036864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841903100097032192,"note":"Value kept but may cause issues"} 
[2026-09-17 15:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 15:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147735552001,"66":13363,"98":206,"87":13824,"24":22,"16":134329221056036864,"45":8841903100097032192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-17 15:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147735552001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:38:57] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-17 15:38:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134329221056036864,"km_value":134329221056036.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841903100097032192,"description":"Unknown IO ID 45"} 
[2026-09-17 15:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147735552001,"power":13363,"unknown_98":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8841903100097032192}} 
[2026-09-17 15:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":186745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:38:57] local.INFO: GPS data processed {"connection_id":186745,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:38:57] local.INFO: Acknowledgment sent {"connection_id":186745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:38:57] local.INFO: TCP Data received {"connection_id":185427,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:38:57] local.INFO: Processing buffer {"connection_id":185427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:38:57] local.INFO: IMEI packet received {"connection_id":185427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":185427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:39:02] local.INFO: TCP Data received {"connection_id":185427,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:39:02] local.INFO: Processing buffer {"connection_id":185427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:39:02] local.INFO: IMEI packet received {"connection_id":185427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":185427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:39:03] local.INFO: TCP Data received {"connection_id":185427,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed6bdc0012d0c1dc007035290000f003325..."} 
[2026-09-17 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed6bdc0012d0c1dc007035290000f003325..."} 
[2026-09-17 15:39:03] local.INFO: Processing buffer {"connection_id":185427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed6bdc0012d0c1dc007035290000f003325..."} 
[2026-09-17 15:39:03] local.INFO: Packet analysis {"connection_id":185427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed6"} 
[2026-09-17 15:39:03] local.INFO: Extracted packet for processing {"connection_id":185427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed6"} 
[2026-09-17 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":755768768,"raw_latitude":117658256,"longitude_deg":75.5768768,"latitude_deg":11.7658256,"altitude":15,"angle":51,"satellites":37,"speed":15,"hex_longitude":"2d0c1dc0","hex_latitude":"07035290","is_valid_coordinates":true} 
[2026-09-17 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147763968001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32870918019612672,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872713195411838976,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789639704000,"timestamp_ms":1789639704000,"timestamp_seconds":1789639704,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed6bdc0"} 
[2026-09-17 15:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 15:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147763968001,"66":14428,"37":206,"94":11008,"24":15,"16":32870918019612672,"45":872713195411838976},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147763968001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:39:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:39:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32870918019612672,"km_value":32870918019612.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":872713195411838976,"description":"Unknown IO ID 45"} 
[2026-09-17 15:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147763968001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":872713195411838976}} 
[2026-09-17 15:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":185427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856290,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:39:03] local.INFO: GPS data processed {"connection_id":185427,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:39:03] local.INFO: Acknowledgment sent {"connection_id":185427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:39:15] local.INFO: TCP Data received {"connection_id":185428,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:39:15] local.INFO: Processing buffer {"connection_id":185428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:39:15] local.INFO: IMEI packet received {"connection_id":185428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":185428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:39:19] local.INFO: TCP Data received {"connection_id":185288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:39:19] local.INFO: Processing buffer {"connection_id":185288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:39:19] local.INFO: IMEI packet received {"connection_id":185288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":185288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:39:20] local.INFO: TCP Data received {"connection_id":185428,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:39:20] local.INFO: Processing buffer {"connection_id":185428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:39:20] local.INFO: IMEI packet received {"connection_id":185428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":185428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:39:21] local.INFO: TCP Data received {"connection_id":185428,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:39:21] local.INFO: Processing buffer {"connection_id":185428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:39:21] local.INFO: Packet analysis {"connection_id":185428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:39:21] local.INFO: Extracted packet for processing {"connection_id":185428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:39: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-09-17 15:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:39:21] 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-09-17 15:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":185428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:39:21] local.INFO: GPS data processed {"connection_id":185428,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:39:21] local.INFO: Acknowledgment sent {"connection_id":185428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:39:25] local.INFO: TCP Data received {"connection_id":185288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:39:25] local.INFO: Processing buffer {"connection_id":185288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:39:25] local.INFO: IMEI packet received {"connection_id":185288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":185288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:39:25] local.INFO: TCP Data received {"connection_id":185288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed590f8012d7a740005eb9c90000700f720..."} 
[2026-09-17 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed590f8012d7a740005eb9c90000700f720..."} 
[2026-09-17 15:39:25] local.INFO: Processing buffer {"connection_id":185288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed590f8012d7a740005eb9c90000700f720..."} 
[2026-09-17 15:39:25] local.INFO: Packet analysis {"connection_id":185288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:39:25] local.INFO: Extracted packet for processing {"connection_id":185288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:39:25] local.INFO: GPS Element Parsed {"raw_longitude":762999808,"raw_latitude":99327120,"longitude_deg":76.2999808,"latitude_deg":9.932712,"altitude":7,"angle":247,"satellites":32,"speed":0,"hex_longitude":"2d7a7400","hex_latitude":"05eb9c90","is_valid_coordinates":true} 
[2026-09-17 15:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134329637667864576,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832614425864759296,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789639627000,"timestamp_ms":1789639627000,"timestamp_seconds":1789639627,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed590f8"} 
[2026-09-17 15:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 15:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":13015,"161":206,"87":13824,"24":0,"16":134329637667864576,"45":8832614425864759296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-17 15:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:39:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-17 15:39:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134329637667864576,"km_value":134329637667864.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832614425864759296,"description":"Unknown IO ID 45"} 
[2026-09-17 15:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":13015,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8832614425864759296}} 
[2026-09-17 15:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":185288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:39:25] local.INFO: GPS data processed {"connection_id":185288,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:39:25] local.INFO: Acknowledgment sent {"connection_id":185288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:39:34] local.INFO: TCP Data received {"connection_id":185427,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed6c1a8012d0c1ec007035340000f003e24..."} 
[2026-09-17 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed6c1a8012d0c1ec007035340000f003e24..."} 
[2026-09-17 15:39:34] local.INFO: Processing buffer {"connection_id":185427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed6c1a8012d0c1ec007035340000f003e24..."} 
[2026-09-17 15:39:34] local.INFO: Packet analysis {"connection_id":185427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed6"} 
[2026-09-17 15:39:34] local.INFO: Extracted packet for processing {"connection_id":185427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed6"} 
[2026-09-17 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":755769024,"raw_latitude":117658432,"longitude_deg":75.5769024,"latitude_deg":11.7658432,"altitude":15,"angle":62,"satellites":36,"speed":16,"hex_longitude":"2d0c1ec0","hex_latitude":"07035340","is_valid_coordinates":true} 
[2026-09-17 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147764224001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32870935199481856,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873065039132790784,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789639705000,"timestamp_ms":1789639705000,"timestamp_seconds":1789639705,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed6c1a8"} 
[2026-09-17 15:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 15:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147764224001,"66":14439,"37":206,"94":11008,"24":16,"16":32870935199481856,"45":873065039132790784},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147764224001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:39:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:39:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32870935199481856,"km_value":32870935199481.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":873065039132790784,"description":"Unknown IO ID 45"} 
[2026-09-17 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147764224001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":873065039132790784}} 
[2026-09-17 15:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":185427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856293,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:39:34] local.INFO: GPS data processed {"connection_id":185427,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:39:34] local.INFO: Acknowledgment sent {"connection_id":185427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:39:52] local.INFO: TCP Data received {"connection_id":185428,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:39:52] local.INFO: Processing buffer {"connection_id":185428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:39:52] local.INFO: Packet analysis {"connection_id":185428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:39:52] local.INFO: Extracted packet for processing {"connection_id":185428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:39:52] 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-09-17 15:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":185428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:39:52] local.INFO: GPS data processed {"connection_id":185428,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:39:52] local.INFO: Acknowledgment sent {"connection_id":185428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:39:57] local.INFO: TCP Data received {"connection_id":185288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed77170012d7a250005ebee500006015027..."} 
[2026-09-17 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed77170012d7a250005ebee500006015027..."} 
[2026-09-17 15:39:57] local.INFO: Processing buffer {"connection_id":185288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed77170012d7a250005ebee500006015027..."} 
[2026-09-17 15:39:57] local.INFO: Packet analysis {"connection_id":185288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:39:57] local.INFO: Extracted packet for processing {"connection_id":185288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:39:57] local.INFO: GPS Element Parsed {"raw_longitude":762979584,"raw_latitude":99348048,"longitude_deg":76.2979584,"latitude_deg":9.9348048,"altitude":6,"angle":336,"satellites":39,"speed":24,"hex_longitude":"2d7a2500","hex_latitude":"05ebee50","is_valid_coordinates":true} 
[2026-09-17 15:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147770624001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134331342769881088,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090615103488,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789639750000,"timestamp_ms":1789639750000,"timestamp_seconds":1789639750,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed77170"} 
[2026-09-17 15:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2933291864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57752539752191798,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3600455681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7352126361601563136,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986396973,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952349184,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.WARNING: Large IO value detected {"io_id":214,"raw_value":5791630415637643269,"note":"Value kept but may cause issues"} 
[2026-09-17 15:39:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,163,87,24,241,157,16,61,160,232,45,181,6,35,10,66,60,162,192,149,8,37,161,158,1,240,122,227,174,235,4,113,205,13,150,84,224,239,49,2,221,5,20,214],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-09-17 15:39:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360652050273665024,"timestamp_seconds":360652050273665.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147770624001,"66":13428,"163":206,"87":13824,"24":24,"16":134331342769881088,"45":8805452090615103488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-17 15:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147770624001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:39:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-17 15:39:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134331342769881088,"km_value":134331342769881.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090615103488,"description":"Unknown IO ID 45"} 
[2026-09-17 15:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147770624001,"power":13428,"unknown_163":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8805452090615103488}} 
[2026-09-17 15:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":185288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:39:57] local.INFO: GPS data processed {"connection_id":185288,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:39:57] local.INFO: Acknowledgment sent {"connection_id":185288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:39:58] local.INFO: TCP Data received {"connection_id":185289,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:39:58] local.INFO: Processing buffer {"connection_id":185289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:39:58] local.INFO: IMEI packet received {"connection_id":185289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":185289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:39:58] local.INFO: TCP Data received {"connection_id":185289,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:39:58] local.INFO: Processing buffer {"connection_id":185289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:39:58] local.INFO: IMEI packet received {"connection_id":185289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":185289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:40:02] local.INFO: TCP Data received {"connection_id":185289,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:40:02] local.INFO: Processing buffer {"connection_id":185289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:40:02] local.INFO: IMEI packet received {"connection_id":185289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":185289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:40:03] local.INFO: TCP Data received {"connection_id":185289,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed7a050012d0c3bc0070361f00013004526..."} 
[2026-09-17 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed7a050012d0c3bc0070361f00013004526..."} 
[2026-09-17 15:40:03] local.INFO: Processing buffer {"connection_id":185289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed7a050012d0c3bc0070361f00013004526..."} 
[2026-09-17 15:40:03] local.INFO: Packet analysis {"connection_id":185289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:40:03] local.INFO: Extracted packet for processing {"connection_id":185289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":755776448,"raw_latitude":117662192,"longitude_deg":75.5776448,"latitude_deg":11.7662192,"altitude":19,"angle":69,"satellites":38,"speed":12,"hex_longitude":"2d0c3bc0","hex_latitude":"070361f0","is_valid_coordinates":true} 
[2026-09-17 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147778304001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32871386171047936,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880594494760708096,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789639762000,"timestamp_ms":1789639762000,"timestamp_seconds":1789639762,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed7a050"} 
[2026-09-17 15:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 15:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147778304001,"66":14407,"37":206,"94":11008,"24":12,"16":32871386171047936,"45":880594494760708096},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147778304001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:40:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:40:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32871386171047936,"km_value":32871386171047.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":880594494760708096,"description":"Unknown IO ID 45"} 
[2026-09-17 15:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147778304001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":880594494760708096}} 
[2026-09-17 15:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":185289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856296,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:40:03] local.INFO: GPS data processed {"connection_id":185289,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:40:03] local.INFO: Acknowledgment sent {"connection_id":185289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:40:15] local.INFO: TCP Data received {"connection_id":185290,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:40:15] local.INFO: Processing buffer {"connection_id":185290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:40:15] local.INFO: IMEI packet received {"connection_id":185290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":185290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:40:20] local.INFO: TCP Data received {"connection_id":188054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:40:20] local.INFO: Processing buffer {"connection_id":188054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:40:20] local.INFO: IMEI packet received {"connection_id":188054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":188054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:40:20] local.INFO: TCP Data received {"connection_id":185290,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:40:20] local.INFO: Processing buffer {"connection_id":185290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:40:20] local.INFO: IMEI packet received {"connection_id":185290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":185290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:40:21] local.INFO: TCP Data received {"connection_id":185290,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:40:21] local.INFO: Processing buffer {"connection_id":185290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:40:21] local.INFO: Packet analysis {"connection_id":185290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:40:21] local.INFO: Extracted packet for processing {"connection_id":185290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:40: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-09-17 15:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:40:21] 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-09-17 15:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":185290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:40:21] local.INFO: GPS data processed {"connection_id":185290,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:40:21] local.INFO: Acknowledgment sent {"connection_id":185290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:40:24] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:40:24] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:40:24] local.INFO: IMEI packet received {"connection_id":188055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":188055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:40:25] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:40:25] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:40:25] local.INFO: IMEI packet received {"connection_id":188055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":188055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:40:30] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:40:30] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:40:30] local.INFO: IMEI packet received {"connection_id":188055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":188055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:40:30] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed7b3d8012d7a18c005ec1108000601541e..."} 
[2026-09-17 15:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed7b3d8012d7a18c005ec1108000601541e..."} 
[2026-09-17 15:40:30] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed7b3d8012d7a18c005ec1108000601541e..."} 
[2026-09-17 15:40:30] local.INFO: Packet analysis {"connection_id":188055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:40:30] local.INFO: Extracted packet for processing {"connection_id":188055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:40:30] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99356936,"longitude_deg":76.2976448,"latitude_deg":9.9356936,"altitude":6,"angle":340,"satellites":30,"speed":34,"hex_longitude":"2d7a18c0","hex_latitude":"05ec1108","is_valid_coordinates":true} 
[2026-09-17 15:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147776000001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134331798036414464,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801441072198602752,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789639767000,"timestamp_ms":1789639767000,"timestamp_seconds":1789639767,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed7b3d8"} 
[2026-09-17 15:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 15:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147776000001,"66":13493,"163":206,"87":13824,"24":34,"16":134331798036414464,"45":8801441072198602752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-17 15:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147776000001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:40:30] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-17 15:40:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134331798036414464,"km_value":134331798036414.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801441072198602752,"description":"Unknown IO ID 45"} 
[2026-09-17 15:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147776000001,"power":13493,"unknown_163":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8801441072198602752}} 
[2026-09-17 15:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":188055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:40:31] local.INFO: GPS data processed {"connection_id":188055,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:40:31] local.INFO: Acknowledgment sent {"connection_id":188055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:40:33] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed7ee70012d7a0ac005ec31900005015c21..."} 
[2026-09-17 15:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed7ee70012d7a0ac005ec31900005015c21..."} 
[2026-09-17 15:40:33] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed7ee70012d7a0ac005ec31900005015c21..."} 
[2026-09-17 15:40:33] local.INFO: Packet analysis {"connection_id":188055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:40:33] local.INFO: Extracted packet for processing {"connection_id":188055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:40:33] local.INFO: GPS Element Parsed {"raw_longitude":762972864,"raw_latitude":99365264,"longitude_deg":76.2972864,"latitude_deg":9.9365264,"altitude":5,"angle":348,"satellites":33,"speed":16,"hex_longitude":"2d7a0ac0","hex_latitude":"05ec3190","is_valid_coordinates":true} 
[2026-09-17 15:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147780352001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134332240418045952,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003736172544,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789639782000,"timestamp_ms":1789639782000,"timestamp_seconds":1789639782,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed7ee70"} 
[2026-09-17 15:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 15:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147780352001,"66":12841,"99":206,"87":13824,"24":16,"16":134332240418045952,"45":8797993003736172544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 15:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147780352001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:40:33] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 15:40:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134332240418045952,"km_value":134332240418045.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003736172544,"description":"Unknown IO ID 45"} 
[2026-09-17 15:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147780352001,"power":12841,"unknown_99":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8797993003736172544}} 
[2026-09-17 15:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":188055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:40:33] local.INFO: GPS data processed {"connection_id":188055,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:40:33] local.INFO: Acknowledgment sent {"connection_id":188055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:40:34] local.INFO: TCP Data received {"connection_id":185289,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed7e6a0012d0c5d8007036dd00015004623..."} 
[2026-09-17 15:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed7e6a0012d0c5d8007036dd00015004623..."} 
[2026-09-17 15:40:34] local.INFO: Processing buffer {"connection_id":185289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed7e6a0012d0c5d8007036dd00015004623..."} 
[2026-09-17 15:40:34] local.INFO: Packet analysis {"connection_id":185289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:40:34] local.INFO: Extracted packet for processing {"connection_id":185289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:40:34] local.INFO: GPS Element Parsed {"raw_longitude":755785088,"raw_latitude":117665232,"longitude_deg":75.5785088,"latitude_deg":11.7665232,"altitude":21,"angle":70,"satellites":35,"speed":16,"hex_longitude":"2d0c5d80","hex_latitude":"07036dd0","is_valid_coordinates":true} 
[2026-09-17 15:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147779072001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32871819962744832,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288435118080,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789639780000,"timestamp_ms":1789639780000,"timestamp_seconds":1789639780,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed7e6a0"} 
[2026-09-17 15:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 15:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147779072001,"66":14276,"37":206,"94":11008,"24":16,"16":32871819962744832,"45":881509288435118080},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147779072001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:40:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:40:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32871819962744832,"km_value":32871819962744.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288435118080,"description":"Unknown IO ID 45"} 
[2026-09-17 15:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147779072001,"power":14276,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":881509288435118080}} 
[2026-09-17 15:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":185289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856300,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:40:34] local.INFO: GPS data processed {"connection_id":185289,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:40:34] local.INFO: Acknowledgment sent {"connection_id":185289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:40:50] local.INFO: TCP Data received {"connection_id":185429,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:40:50] local.INFO: Processing buffer {"connection_id":185429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:40:50] local.INFO: IMEI packet received {"connection_id":185429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":185429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:40:53] local.INFO: TCP Data received {"connection_id":185290,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:40:53] local.INFO: Processing buffer {"connection_id":185290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:40:53] local.INFO: Packet analysis {"connection_id":185290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:40:53] local.INFO: Extracted packet for processing {"connection_id":185290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:40:53] 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-09-17 15:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":185290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:40:53] local.INFO: GPS data processed {"connection_id":185290,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:40:53] local.INFO: Acknowledgment sent {"connection_id":185290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:40:56] local.INFO: TCP Data received {"connection_id":185430,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:40:56] local.INFO: Processing buffer {"connection_id":185430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:40:56] local.INFO: IMEI packet received {"connection_id":185430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":185430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:41:02] local.INFO: TCP Data received {"connection_id":185430,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:41:02] local.INFO: Processing buffer {"connection_id":185430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:41:02] local.INFO: IMEI packet received {"connection_id":185430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":185430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:41:02] local.INFO: TCP Data received {"connection_id":185430,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed7ee70012d0c5fc007036f000015003124..."} 
[2026-09-17 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed7ee70012d0c5fc007036f000015003124..."} 
[2026-09-17 15:41:02] local.INFO: Processing buffer {"connection_id":185430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed7ee70012d0c5fc007036f000015003124..."} 
[2026-09-17 15:41:02] local.INFO: Packet analysis {"connection_id":185430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:41:02] local.INFO: Extracted packet for processing {"connection_id":185430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":755785664,"raw_latitude":117665536,"longitude_deg":75.5785664,"latitude_deg":11.7665536,"altitude":21,"angle":49,"satellites":36,"speed":10,"hex_longitude":"2d0c5fc0","hex_latitude":"07036f00","is_valid_coordinates":true} 
[2026-09-17 15:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147783680001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32871854322483200,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891009068899880960,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789639782000,"timestamp_ms":1789639782000,"timestamp_seconds":1789639782,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed7ee70"} 
[2026-09-17 15:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-17 15:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147783680001,"66":14515,"37":206,"94":11008,"24":10,"16":32871854322483200,"45":891009068899880960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147783680001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:41:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:41:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32871854322483200,"km_value":32871854322483.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":891009068899880960,"description":"Unknown IO ID 45"} 
[2026-09-17 15:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147783680001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":891009068899880960}} 
[2026-09-17 15:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":185430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856302,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:41:03] local.INFO: GPS data processed {"connection_id":185430,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:41:03] local.INFO: Acknowledgment sent {"connection_id":185430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:41:04] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed83c90012d7a07c005ec42000009015b21..."} 
[2026-09-17 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed83c90012d7a07c005ec42000009015b21..."} 
[2026-09-17 15:41:04] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed83c90012d7a07c005ec42000009015b21..."} 
[2026-09-17 15:41:04] local.INFO: Packet analysis {"connection_id":188055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed8"} 
[2026-09-17 15:41:04] local.INFO: Extracted packet for processing {"connection_id":188055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed8"} 
[2026-09-17 15:41:04] local.INFO: GPS Element Parsed {"raw_longitude":762972096,"raw_latitude":99369472,"longitude_deg":76.2972096,"latitude_deg":9.9369472,"altitude":9,"angle":347,"satellites":33,"speed":0,"hex_longitude":"2d7a07c0","hex_latitude":"05ec4200","is_valid_coordinates":true} 
[2026-09-17 15:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147784192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134332450871443456,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794052354064355328,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789639802000,"timestamp_ms":1789639802000,"timestamp_seconds":1789639802,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed83c90"} 
[2026-09-17 15:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 15:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147784192001,"66":13374,"99":206,"87":13824,"24":0,"16":134332450871443456,"45":8794052354064355328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 15:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147784192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:41:04] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 15:41:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134332450871443456,"km_value":134332450871443.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794052354064355328,"description":"Unknown IO ID 45"} 
[2026-09-17 15:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147784192001,"power":13374,"unknown_99":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794052354064355328}} 
[2026-09-17 15:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":188055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:41:04] local.INFO: GPS data processed {"connection_id":188055,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:41:04] local.INFO: Acknowledgment sent {"connection_id":188055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:41:16] local.INFO: TCP Data received {"connection_id":188057,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:41:16] local.INFO: Processing buffer {"connection_id":188057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:41:16] local.INFO: IMEI packet received {"connection_id":188057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":188057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:41:19] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:19] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:19] local.INFO: IMEI packet received {"connection_id":188056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":188056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:41:19] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:19] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:19] local.INFO: IMEI packet received {"connection_id":188056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":188056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:41:20] local.INFO: TCP Data received {"connection_id":188057,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:41:20] local.INFO: Processing buffer {"connection_id":188057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:41:20] local.INFO: IMEI packet received {"connection_id":188057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":188057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:41:20] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:20] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:20] local.INFO: IMEI packet received {"connection_id":188056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":188056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:41:21] local.INFO: TCP Data received {"connection_id":188057,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:41:21] local.INFO: Processing buffer {"connection_id":188057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:41:21] local.INFO: Packet analysis {"connection_id":188057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:41:21] local.INFO: Extracted packet for processing {"connection_id":188057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15: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-09-17 15:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15: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-09-17 15:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15: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-09-17 15:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:41:21] 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-09-17 15:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":188057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:41:21] local.INFO: GPS data processed {"connection_id":188057,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:41:21] local.INFO: Acknowledgment sent {"connection_id":188057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:41:21] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:21] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:41:21] local.INFO: IMEI packet received {"connection_id":188056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":188056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:41:22] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed96188012d79f2c005ecae88000e004021..."} 
[2026-09-17 15:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed96188012d79f2c005ecae88000e004021..."} 
[2026-09-17 15:41:22] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed96188012d79f2c005ecae88000e004021..."} 
[2026-09-17 15:41:22] local.INFO: Packet analysis {"connection_id":188056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:41:22] local.INFO: Extracted packet for processing {"connection_id":188056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:41:22] local.INFO: GPS Element Parsed {"raw_longitude":762966720,"raw_latitude":99397256,"longitude_deg":76.296672,"latitude_deg":9.9397256,"altitude":14,"angle":64,"satellites":33,"speed":6,"hex_longitude":"2d79f2c0","hex_latitude":"05ecae88","is_valid_coordinates":true} 
[2026-09-17 15: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-09-17 15:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147805952001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334095843917824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783848886166669312,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789639877000,"timestamp_ms":1789639877000,"timestamp_seconds":1789639877,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed96188"} 
[2026-09-17 15:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-17 15:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15: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-09-17 15:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147805952001,"66":13298,"100":206,"87":13824,"24":6,"16":134334095843917824,"45":8783848886166669312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147805952001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:41:22] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:41:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334095843917824,"km_value":134334095843917.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783848886166669312,"description":"Unknown IO ID 45"} 
[2026-09-17 15:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147805952001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8783848886166669312}} 
[2026-09-17 15:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":188056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:41:22] local.INFO: GPS data processed {"connection_id":188056,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:41:22] local.INFO: Acknowledgment sent {"connection_id":188056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:41:25] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed96570012d79f30005ecafb8000e001921..."} 
[2026-09-17 15:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed96570012d79f30005ecafb8000e001921..."} 
[2026-09-17 15:41:25] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed96570012d79f30005ecafb8000e001921..."} 
[2026-09-17 15:41:25] local.INFO: Packet analysis {"connection_id":188056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:41:25] local.INFO: Extracted packet for processing {"connection_id":188056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:41:25] local.INFO: GPS Element Parsed {"raw_longitude":762966784,"raw_latitude":99397560,"longitude_deg":76.2966784,"latitude_deg":9.939756,"altitude":14,"angle":25,"satellites":33,"speed":6,"hex_longitude":"2d79f300","hex_latitude":"05ecafb8","is_valid_coordinates":true} 
[2026-09-17 15:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147808512001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334108728819712,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787296954631489536,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789639878000,"timestamp_ms":1789639878000,"timestamp_seconds":1789639878,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed96570"} 
[2026-09-17 15:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-17 15:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147808512001,"66":13298,"100":206,"87":13824,"24":6,"16":134334108728819712,"45":8787296954631489536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147808512001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:41:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:41:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334108728819712,"km_value":134334108728819.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787296954631489536,"description":"Unknown IO ID 45"} 
[2026-09-17 15:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147808512001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8787296954631489536}} 
[2026-09-17 15:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":188056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:41:25] local.INFO: GPS data processed {"connection_id":188056,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:41:25] local.INFO: Acknowledgment sent {"connection_id":188056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:41:36] local.INFO: TCP Data received {"connection_id":185430,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed7f258012d0c60c007036fb00015002124..."} 
[2026-09-17 15:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed7f258012d0c60c007036fb00015002124..."} 
[2026-09-17 15:41:36] local.INFO: Processing buffer {"connection_id":185430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed7f258012d0c60c007036fb00015002124..."} 
[2026-09-17 15:41:36] local.INFO: Packet analysis {"connection_id":185430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:41:36] local.INFO: Extracted packet for processing {"connection_id":185430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed7"} 
[2026-09-17 15:41:36] local.INFO: GPS Element Parsed {"raw_longitude":755785920,"raw_latitude":117665712,"longitude_deg":75.578592,"latitude_deg":11.7665712,"altitude":21,"angle":33,"satellites":36,"speed":7,"hex_longitude":"2d0c60c0","hex_latitude":"07036fb0","is_valid_coordinates":true} 
[2026-09-17 15:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147784192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32871867207385088,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891642387597557760,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789639783000,"timestamp_ms":1789639783000,"timestamp_seconds":1789639783,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed7f258"} 
[2026-09-17 15:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 15:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147784192001,"66":14515,"37":206,"94":11008,"24":7,"16":32871867207385088,"45":891642387597557760},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 15:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147784192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:41:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 15:41:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32871867207385088,"km_value":32871867207385.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":891642387597557760,"description":"Unknown IO ID 45"} 
[2026-09-17 15:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147784192001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":891642387597557760}} 
[2026-09-17 15:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":185430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856307,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:41:37] local.INFO: GPS data processed {"connection_id":185430,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:41:37] local.INFO: Acknowledgment sent {"connection_id":185430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:41:52] local.INFO: TCP Data received {"connection_id":188057,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:41:52] local.INFO: Processing buffer {"connection_id":188057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed53ef0012d34c30006aa4608000a00b525..."} 
[2026-09-17 15:41:52] local.INFO: Packet analysis {"connection_id":188057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:41:52] local.INFO: Extracted packet for processing {"connection_id":188057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed5"} 
[2026-09-17 15:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147662080001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789639606000,"timestamp_ms":1789639606000,"timestamp_seconds":1789639606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed53ef0"} 
[2026-09-17 15:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:41:52] 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-09-17 15:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147662080001,"66":26039,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147662080001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147662080001,"power":26039,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":188057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:41:52] local.INFO: GPS data processed {"connection_id":188057,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:41:52] local.INFO: Acknowledgment sent {"connection_id":188057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:41:56] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed96d40012d79f38005ecb168000e000920..."} 
[2026-09-17 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed96d40012d79f38005ecb168000e000920..."} 
[2026-09-17 15:41:56] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed96d40012d79f38005ecb168000e000920..."} 
[2026-09-17 15:41:56] local.INFO: Packet analysis {"connection_id":188056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:41:56] local.INFO: Extracted packet for processing {"connection_id":188056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:41:56] local.INFO: GPS Element Parsed {"raw_longitude":762966912,"raw_latitude":99397992,"longitude_deg":76.2966912,"latitude_deg":9.9397992,"altitude":14,"angle":9,"satellites":32,"speed":6,"hex_longitude":"2d79f380","hex_latitude":"05ecb168","is_valid_coordinates":true} 
[2026-09-17 15:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147808768001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334130203656192,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787367323375745024,"note":"Value kept but may cause issues"} 
[2026-09-17 15:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789639880000,"timestamp_ms":1789639880000,"timestamp_seconds":1789639880,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed96d40"} 
[2026-09-17 15:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-17 15:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147808768001,"66":13135,"100":206,"87":13824,"24":6,"16":134334130203656192,"45":8787367323375745024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147808768001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:41:56] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:41:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334130203656192,"km_value":134334130203656.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787367323375745024,"description":"Unknown IO ID 45"} 
[2026-09-17 15:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147808768001,"power":13135,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8787367323375745024}} 
[2026-09-17 15:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":188056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:41:56] local.INFO: GPS data processed {"connection_id":188056,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:41:56] local.INFO: Acknowledgment sent {"connection_id":188056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:41:56] local.INFO: TCP Data received {"connection_id":185291,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:41:56] local.INFO: Processing buffer {"connection_id":185291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:41:56] local.INFO: IMEI packet received {"connection_id":185291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":185291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:42:02] local.INFO: TCP Data received {"connection_id":185291,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:42:02] local.INFO: Processing buffer {"connection_id":185291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:42:02] local.INFO: IMEI packet received {"connection_id":185291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":185291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:42:02] local.INFO: TCP Data received {"connection_id":185291,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed99c20012d0c6b000703bcc00015000025..."} 
[2026-09-17 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed99c20012d0c6b000703bcc00015000025..."} 
[2026-09-17 15:42:02] local.INFO: Processing buffer {"connection_id":185291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed99c20012d0c6b000703bcc00015000025..."} 
[2026-09-17 15:42:02] local.INFO: Packet analysis {"connection_id":185291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:02] local.INFO: Extracted packet for processing {"connection_id":185291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:02] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117685440,"longitude_deg":75.5788544,"latitude_deg":11.768544,"altitude":21,"angle":0,"satellites":37,"speed":24,"hex_longitude":"2d0c6b00","hex_latitude":"0703bcc0","is_valid_coordinates":true} 
[2026-09-17 15:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147809792001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32872945244176384,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894175662391842816,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789639892000,"timestamp_ms":1789639892000,"timestamp_seconds":1789639892,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed99c20"} 
[2026-09-17 15:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-17 15:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147809792001,"66":14537,"16":32872945244176384,"94":11008,"24":24,"45":894175662391842816},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 15:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147809792001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32872945244176384,"km_value":32872945244176.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:42:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":894175662391842816,"description":"Unknown IO ID 45"} 
[2026-09-17 15:42:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458147809792001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":24,"unknown_45":894175662391842816}} 
[2026-09-17 15:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":185291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:42:03] local.INFO: GPS data processed {"connection_id":185291,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:42:03] local.INFO: Acknowledgment sent {"connection_id":185291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:42:20] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:42:20] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:42:20] local.INFO: IMEI packet received {"connection_id":186747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":186747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:42:20] local.INFO: TCP Data received {"connection_id":188058,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:42:20] local.INFO: Processing buffer {"connection_id":188058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:42:20] local.INFO: IMEI packet received {"connection_id":188058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":188058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:42:20] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:42:20] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:42:20] local.INFO: IMEI packet received {"connection_id":186747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":186747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:42:25] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:42:25] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:42:25] local.INFO: IMEI packet received {"connection_id":186747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":186747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:42:25] local.INFO: TCP Data received {"connection_id":188058,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:42:25] local.INFO: Processing buffer {"connection_id":188058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:42:25] local.INFO: IMEI packet received {"connection_id":188058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":188058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:42:25] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed98c80012d79f40005ecafe8000e00aa1e..."} 
[2026-09-17 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed98c80012d79f40005ecafe8000e00aa1e..."} 
[2026-09-17 15:42:25] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed98c80012d79f40005ecafe8000e00aa1e..."} 
[2026-09-17 15:42:25] local.INFO: Packet analysis {"connection_id":186747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:25] local.INFO: Extracted packet for processing {"connection_id":186747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397608,"longitude_deg":76.296704,"latitude_deg":9.9397608,"altitude":14,"angle":170,"satellites":30,"speed":6,"hex_longitude":"2d79f400","hex_latitude":"05ecafe8","is_valid_coordinates":true} 
[2026-09-17 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147809280001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334177448296448,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787508060864210944,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789639888000,"timestamp_ms":1789639888000,"timestamp_seconds":1789639888,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed98c80"} 
[2026-09-17 15:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 15:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147809280001,"66":13406,"100":206,"87":13824,"24":6,"16":134334177448296448,"45":8787508060864210944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147809280001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:42:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:42:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334177448296448,"km_value":134334177448296.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787508060864210944,"description":"Unknown IO ID 45"} 
[2026-09-17 15:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147809280001,"power":13406,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8787508060864210944}} 
[2026-09-17 15:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":186747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:42:25] local.INFO: GPS data processed {"connection_id":186747,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:42:25] local.INFO: Acknowledgment sent {"connection_id":186747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:42:26] local.INFO: TCP Data received {"connection_id":188058,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:42:26] local.INFO: Processing buffer {"connection_id":188058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:42:26] local.INFO: Packet analysis {"connection_id":188058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:26] local.INFO: Extracted packet for processing {"connection_id":188058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:42:26] 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-09-17 15:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:42:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":188058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:42:26] local.INFO: GPS data processed {"connection_id":188058,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:42:26] local.INFO: Acknowledgment sent {"connection_id":188058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:42:27] local.INFO: TCP Data received {"connection_id":188058,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:42:27] local.INFO: Processing buffer {"connection_id":188058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:42:27] local.INFO: Packet analysis {"connection_id":188058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:27] local.INFO: Extracted packet for processing {"connection_id":188058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:27] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:42:27] 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-09-17 15:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:42:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":188058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:42:27] local.INFO: GPS data processed {"connection_id":188058,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:42:27] local.INFO: Acknowledgment sent {"connection_id":188058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:42:34] local.INFO: TCP Data received {"connection_id":185291,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9a7d8012d0c6a800703c3880015015c24..."} 
[2026-09-17 15:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9a7d8012d0c6a800703c3880015015c24..."} 
[2026-09-17 15:42:34] local.INFO: Processing buffer {"connection_id":185291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9a7d8012d0c6a800703c3880015015c24..."} 
[2026-09-17 15:42:34] local.INFO: Packet analysis {"connection_id":185291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:34] local.INFO: Extracted packet for processing {"connection_id":185291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:34] local.INFO: GPS Element Parsed {"raw_longitude":755788416,"raw_latitude":117687176,"longitude_deg":75.5788416,"latitude_deg":11.7687176,"altitude":21,"angle":348,"satellites":36,"speed":20,"hex_longitude":"2d0c6a80","hex_latitude":"0703c388","is_valid_coordinates":true} 
[2026-09-17 15:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147812352001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32873031143522304,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981090648064,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789639895000,"timestamp_ms":1789639895000,"timestamp_seconds":1789639895,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9a7d8"} 
[2026-09-17 15:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 15:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147812352001,"66":14559,"16":32873031143522304,"94":11008,"24":20,"45":894808981090648064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 15:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147812352001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32873031143522304,"km_value":32873031143522.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:42:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981090648064,"description":"Unknown IO ID 45"} 
[2026-09-17 15:42:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458147812352001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":894808981090648064}} 
[2026-09-17 15:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":185291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:42:34] local.INFO: GPS data processed {"connection_id":185291,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:42:34] local.INFO: Acknowledgment sent {"connection_id":185291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:42:56] local.INFO: TCP Data received {"connection_id":188060,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188060,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:42:56] local.INFO: Processing buffer {"connection_id":188060,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:42:56] local.INFO: IMEI packet received {"connection_id":188060,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":188060,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:42:57] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed99068012d79f40005ecaf48000e009a1e..."} 
[2026-09-17 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed99068012d79f40005ecaf48000e009a1e..."} 
[2026-09-17 15:42:57] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed99068012d79f40005ecaf48000e009a1e..."} 
[2026-09-17 15:42:57] local.INFO: Packet analysis {"connection_id":186747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:57] local.INFO: Extracted packet for processing {"connection_id":186747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397448,"longitude_deg":76.296704,"latitude_deg":9.9397448,"altitude":14,"angle":154,"satellites":30,"speed":6,"hex_longitude":"2d79f400","hex_latitude":"05ecaf48","is_valid_coordinates":true} 
[2026-09-17 15:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334181743263744,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352467968,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789639889000,"timestamp_ms":1789639889000,"timestamp_seconds":1789639889,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed99068"} 
[2026-09-17 15:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 15:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147811328001,"66":13406,"100":206,"87":13824,"24":6,"16":134334181743263744,"45":8787648798352467968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:42:57] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:42:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334181743263744,"km_value":134334181743263.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352467968,"description":"Unknown IO ID 45"} 
[2026-09-17 15:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147811328001,"power":13406,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8787648798352467968}} 
[2026-09-17 15:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":186747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:42:57] local.INFO: GPS data processed {"connection_id":186747,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:42:57] local.INFO: Acknowledgment sent {"connection_id":186747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:42:58] local.INFO: TCP Data received {"connection_id":188058,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:42:58] local.INFO: Processing buffer {"connection_id":188058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:42:58] local.INFO: Packet analysis {"connection_id":188058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:58] local.INFO: Extracted packet for processing {"connection_id":188058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:42:58] 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-09-17 15:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:42:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":188058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:42:58] local.INFO: GPS data processed {"connection_id":188058,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:42:58] local.INFO: Acknowledgment sent {"connection_id":188058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:43:01] local.INFO: TCP Data received {"connection_id":188060,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188060,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:43:01] local.INFO: Processing buffer {"connection_id":188060,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:43:01] local.INFO: IMEI packet received {"connection_id":188060,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":188060,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:43:02] local.INFO: TCP Data received {"connection_id":188060,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedaa5c0012d0c74000703fe700020003524..."} 
[2026-09-17 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedaa5c0012d0c74000703fe700020003524..."} 
[2026-09-17 15:43:02] local.INFO: Processing buffer {"connection_id":188060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedaa5c0012d0c74000703fe700020003524..."} 
[2026-09-17 15:43:02] local.INFO: Packet analysis {"connection_id":188060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeda"} 
[2026-09-17 15:43:02] local.INFO: Extracted packet for processing {"connection_id":188060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeda"} 
[2026-09-17 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":755790848,"raw_latitude":117702256,"longitude_deg":75.5790848,"latitude_deg":11.7702256,"altitude":32,"angle":53,"satellites":36,"speed":33,"hex_longitude":"2d0c7400","hex_latitude":"0703fe70","is_valid_coordinates":true} 
[2026-09-17 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147826688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32874229439397888,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889742431512670208,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789639960000,"timestamp_ms":1789639960000,"timestamp_seconds":1789639960,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedaa5c0"} 
[2026-09-17 15:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-17 15:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147826688001,"66":14559,"16":32874229439397888,"94":11008,"24":33,"45":889742431512670208},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 15:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147826688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32874229439397888,"km_value":32874229439397.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:43:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":889742431512670208,"description":"Unknown IO ID 45"} 
[2026-09-17 15:43:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458147826688001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":33,"unknown_45":889742431512670208}} 
[2026-09-17 15:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":188060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:43:03] local.INFO: GPS data processed {"connection_id":188060,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:43:03] local.INFO: Acknowledgment sent {"connection_id":188060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:43:15] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:43:15] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:43:15] local.INFO: IMEI packet received {"connection_id":186748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:43:20] local.INFO: TCP Data received {"connection_id":185431,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:43:20] local.INFO: Processing buffer {"connection_id":185431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:43:20] local.INFO: IMEI packet received {"connection_id":185431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":185431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:43:20] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:43:20] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:43:20] local.INFO: IMEI packet received {"connection_id":186748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":186748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:43:21] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:43:21] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:43:21] local.INFO: Packet analysis {"connection_id":186748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:43:21] local.INFO: Extracted packet for processing {"connection_id":186748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:43: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-09-17 15:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:43:21] 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-09-17 15:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":186748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:43:21] local.INFO: GPS data processed {"connection_id":186748,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:43:21] local.INFO: Acknowledgment sent {"connection_id":186748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:43:25] local.INFO: TCP Data received {"connection_id":185431,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:43:25] local.INFO: Processing buffer {"connection_id":185431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:43:25] local.INFO: IMEI packet received {"connection_id":185431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":185431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:43:26] local.INFO: TCP Data received {"connection_id":185431,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9e270012d79f4c005ecad28000e009c23..."} 
[2026-09-17 15:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9e270012d79f4c005ecad28000e009c23..."} 
[2026-09-17 15:43:26] local.INFO: Processing buffer {"connection_id":185431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9e270012d79f4c005ecad28000e009c23..."} 
[2026-09-17 15:43:26] local.INFO: Packet analysis {"connection_id":185431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:43:26] local.INFO: Extracted packet for processing {"connection_id":185431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:43:26] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99396904,"longitude_deg":76.2967232,"latitude_deg":9.9396904,"altitude":14,"angle":156,"satellites":35,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecad28","is_valid_coordinates":true} 
[2026-09-17 15:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147811584001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334211808034816,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352427008,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639910000,"timestamp_ms":1789639910000,"timestamp_seconds":1789639910,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9e270"} 
[2026-09-17 15:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 15:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147811584001,"66":13319,"100":206,"87":13824,"24":0,"16":134334211808034816,"45":8787648798352427008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147811584001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:43:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:43:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334211808034816,"km_value":134334211808034.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352427008,"description":"Unknown IO ID 45"} 
[2026-09-17 15:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147811584001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352427008}} 
[2026-09-17 15:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":185431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:43:26] local.INFO: GPS data processed {"connection_id":185431,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:43:26] local.INFO: Acknowledgment sent {"connection_id":185431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:43:39] local.INFO: TCP Data received {"connection_id":188060,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedaccd0012d0c91c0070414180021003125..."} 
[2026-09-17 15:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedaccd0012d0c91c0070414180021003125..."} 
[2026-09-17 15:43:39] local.INFO: Processing buffer {"connection_id":188060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedaccd0012d0c91c0070414180021003125..."} 
[2026-09-17 15:43:39] local.INFO: Packet analysis {"connection_id":188060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeda"} 
[2026-09-17 15:43:39] local.INFO: Extracted packet for processing {"connection_id":188060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeda"} 
[2026-09-17 15:43:39] local.INFO: GPS Element Parsed {"raw_longitude":755798464,"raw_latitude":117707800,"longitude_deg":75.5798464,"latitude_deg":11.77078,"altitude":33,"angle":49,"satellites":37,"speed":36,"hex_longitude":"2d0c91c0","hex_latitude":"07041418","is_valid_coordinates":true} 
[2026-09-17 15: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-09-17 15:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147829760001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32874680410963968,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897342255885348864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789639970000,"timestamp_ms":1789639970000,"timestamp_seconds":1789639970,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedaccd0"} 
[2026-09-17 15:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 15:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15: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-09-17 15:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147829760001,"66":14559,"16":32874680410963968,"94":11008,"24":36,"45":897342255885348864},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-17 15:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147829760001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32874680410963968,"km_value":32874680410963.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:43:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 15:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":897342255885348864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:43:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458147829760001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":36,"unknown_45":897342255885348864}} 
[2026-09-17 15:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":188060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856320,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:43:39] local.INFO: GPS data processed {"connection_id":188060,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:43:39] local.INFO: Acknowledgment sent {"connection_id":188060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:43:53] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:43:53] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:43:53] local.INFO: Packet analysis {"connection_id":186748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:43:53] local.INFO: Extracted packet for processing {"connection_id":186748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:43:53] 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-09-17 15:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":186748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:43:53] local.INFO: GPS data processed {"connection_id":186748,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:43:53] local.INFO: Acknowledgment sent {"connection_id":186748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:43:56] local.INFO: TCP Data received {"connection_id":188062,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188062,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:43:56] local.INFO: Processing buffer {"connection_id":188062,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:43:56] local.INFO: IMEI packet received {"connection_id":188062,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":188062,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:43:57] local.INFO: TCP Data received {"connection_id":185431,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedb9bd8012d79e84005eca970000f011824..."} 
[2026-09-17 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedb9bd8012d79e84005eca970000f011824..."} 
[2026-09-17 15:43:57] local.INFO: Processing buffer {"connection_id":185431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedb9bd8012d79e84005eca970000f011824..."} 
[2026-09-17 15:43:57] local.INFO: Packet analysis {"connection_id":185431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:43:57] local.INFO: Extracted packet for processing {"connection_id":185431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:43:57] local.INFO: GPS Element Parsed {"raw_longitude":762964032,"raw_latitude":99395952,"longitude_deg":76.2964032,"latitude_deg":9.9395952,"altitude":15,"angle":280,"satellites":36,"speed":2,"hex_longitude":"2d79e840","hex_latitude":"05eca970","is_valid_coordinates":true} 
[2026-09-17 15:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147843072001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334413671497728,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784834048584941568,"note":"Value kept but may cause issues"} 
[2026-09-17 15:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789640023000,"timestamp_ms":1789640023000,"timestamp_seconds":1789640023,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedb9bd8"} 
[2026-09-17 15:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 15:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147843072001,"66":13374,"100":206,"87":13824,"24":2,"16":134334413671497728,"45":8784834048584941568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147843072001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:43:57] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:43:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334413671497728,"km_value":134334413671497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784834048584941568,"description":"Unknown IO ID 45"} 
[2026-09-17 15:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147843072001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8784834048584941568}} 
[2026-09-17 15:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":185431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:43:57] local.INFO: GPS data processed {"connection_id":185431,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:43:57] local.INFO: Acknowledgment sent {"connection_id":185431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:44:00] local.INFO: TCP Data received {"connection_id":188062,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188062,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:44:00] local.INFO: Processing buffer {"connection_id":188062,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:44:00] local.INFO: IMEI packet received {"connection_id":188062,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":188062,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:44:01] local.INFO: TCP Data received {"connection_id":188062,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188062,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:44:01] local.INFO: Processing buffer {"connection_id":188062,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:44:01] local.INFO: IMEI packet received {"connection_id":188062,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":188062,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:44:02] local.INFO: TCP Data received {"connection_id":188062,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedba3a8012d0c8cc00704d2980018013524..."} 
[2026-09-17 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedba3a8012d0c8cc00704d2980018013524..."} 
[2026-09-17 15:44:02] local.INFO: Processing buffer {"connection_id":188062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedba3a8012d0c8cc00704d2980018013524..."} 
[2026-09-17 15:44:02] local.INFO: Packet analysis {"connection_id":188062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:44:02] local.INFO: Extracted packet for processing {"connection_id":188062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":755797184,"raw_latitude":117756568,"longitude_deg":75.5797184,"latitude_deg":11.7756568,"altitude":24,"angle":309,"satellites":36,"speed":14,"hex_longitude":"2d0c8cc0","hex_latitude":"0704d298","is_valid_coordinates":true} 
[2026-09-17 15:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147846144001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32877308930949120,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904590236549480448,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789640025000,"timestamp_ms":1789640025000,"timestamp_seconds":1789640025,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedba3a8"} 
[2026-09-17 15:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 15:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188062,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188062,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147846144001,"66":14537,"95":206,"94":10240,"24":14,"16":32877308930949120,"45":904590236549480448},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 15:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147846144001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:44:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 15:44:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32877308930949120,"km_value":32877308930949.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":904590236549480448,"description":"Unknown IO ID 45"} 
[2026-09-17 15:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147846144001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":904590236549480448}} 
[2026-09-17 15:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":188062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:44:03] local.INFO: GPS data processed {"connection_id":188062,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:44:03] local.INFO: Acknowledgment sent {"connection_id":188062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:44:15] local.INFO: TCP Data received {"connection_id":185292,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:44:15] local.INFO: Processing buffer {"connection_id":185292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:44:15] local.INFO: IMEI packet received {"connection_id":185292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":185292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:44:18] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:44:18] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:44:18] local.INFO: IMEI packet received {"connection_id":186749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":186749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:44:19] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:44:19] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:44:19] local.INFO: IMEI packet received {"connection_id":186749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":186749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:44:20] local.INFO: TCP Data received {"connection_id":185292,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:44:20] local.INFO: Processing buffer {"connection_id":185292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:44:20] local.INFO: IMEI packet received {"connection_id":185292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":185292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:44:21] local.INFO: TCP Data received {"connection_id":185292,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:44:21] local.INFO: Processing buffer {"connection_id":185292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:44:21] local.INFO: Packet analysis {"connection_id":185292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:44:21] local.INFO: Extracted packet for processing {"connection_id":185292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:44: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-09-17 15:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:44:21] 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-09-17 15:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":185292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:44:21] local.INFO: GPS data processed {"connection_id":185292,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:44:21] local.INFO: Acknowledgment sent {"connection_id":185292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:44:25] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:44:25] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:44:25] local.INFO: IMEI packet received {"connection_id":186749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":186749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:44:26] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedba3a8012d79e68005eca960000f010025..."} 
[2026-09-17 15:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedba3a8012d79e68005eca960000f010025..."} 
[2026-09-17 15:44:26] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedba3a8012d79e68005eca960000f010025..."} 
[2026-09-17 15:44:26] local.INFO: Packet analysis {"connection_id":186749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:44:26] local.INFO: Extracted packet for processing {"connection_id":186749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:44:26] local.INFO: GPS Element Parsed {"raw_longitude":762963584,"raw_latitude":99395936,"longitude_deg":76.2963584,"latitude_deg":9.9395936,"altitude":15,"angle":256,"satellites":37,"speed":8,"hex_longitude":"2d79e680","hex_latitude":"05eca960","is_valid_coordinates":true} 
[2026-09-17 15:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147845888001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334435146334208,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784341467375693824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789640025000,"timestamp_ms":1789640025000,"timestamp_seconds":1789640025,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedba3a8"} 
[2026-09-17 15:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 15:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147845888001,"66":13417,"100":206,"87":13824,"24":8,"16":134334435146334208,"45":8784341467375693824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147845888001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:44:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:44:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334435146334208,"km_value":134334435146334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784341467375693824,"description":"Unknown IO ID 45"} 
[2026-09-17 15:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147845888001,"power":13417,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8784341467375693824}} 
[2026-09-17 15:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":186749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:44:26] local.INFO: GPS data processed {"connection_id":186749,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:44:26] local.INFO: Acknowledgment sent {"connection_id":186749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:44:34] local.INFO: TCP Data received {"connection_id":188062,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedba790012d0c8b800704d3300018012424..."} 
[2026-09-17 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedba790012d0c8b800704d3300018012424..."} 
[2026-09-17 15:44:34] local.INFO: Processing buffer {"connection_id":188062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedba790012d0c8b800704d3300018012424..."} 
[2026-09-17 15:44:34] local.INFO: Packet analysis {"connection_id":188062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:44:34] local.INFO: Extracted packet for processing {"connection_id":188062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":755796864,"raw_latitude":117756720,"longitude_deg":75.5796864,"latitude_deg":11.775672,"altitude":24,"angle":292,"satellites":36,"speed":15,"hex_longitude":"2d0c8b80","hex_latitude":"0704d330","is_valid_coordinates":true} 
[2026-09-17 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147846400001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32877326110818304,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904308761572841472,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789640026000,"timestamp_ms":1789640026000,"timestamp_seconds":1789640026,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedba790"} 
[2026-09-17 15:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 15:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188062,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188062,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147846400001,"66":14537,"95":206,"94":10240,"24":15,"16":32877326110818304,"45":904308761572841472},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 15:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147846400001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:44:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 15:44:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32877326110818304,"km_value":32877326110818.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":904308761572841472,"description":"Unknown IO ID 45"} 
[2026-09-17 15:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147846400001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":904308761572841472}} 
[2026-09-17 15:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":188062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856326,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:44:34] local.INFO: GPS data processed {"connection_id":188062,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:44:34] local.INFO: Acknowledgment sent {"connection_id":188062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:44:52] local.INFO: TCP Data received {"connection_id":185292,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:44:52] local.INFO: Processing buffer {"connection_id":185292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:44:52] local.INFO: Packet analysis {"connection_id":185292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:44:52] local.INFO: Extracted packet for processing {"connection_id":185292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:44:52] 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-09-17 15:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":185292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:44:52] local.INFO: GPS data processed {"connection_id":185292,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:44:52] local.INFO: Acknowledgment sent {"connection_id":185292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:44:57] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedbab78012d79e44005eca8c8000f00f226..."} 
[2026-09-17 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedbab78012d79e44005eca8c8000f00f226..."} 
[2026-09-17 15:44:57] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedbab78012d79e44005eca8c8000f00f226..."} 
[2026-09-17 15:44:57] local.INFO: Packet analysis {"connection_id":186749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:44:57] local.INFO: Extracted packet for processing {"connection_id":186749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:44:57] local.INFO: GPS Element Parsed {"raw_longitude":762963008,"raw_latitude":99395784,"longitude_deg":76.2963008,"latitude_deg":9.9395784,"altitude":15,"angle":242,"satellites":38,"speed":5,"hex_longitude":"2d79e440","hex_latitude":"05eca8c8","is_valid_coordinates":true} 
[2026-09-17 15:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147846400001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334460916137984,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783848886166446080,"note":"Value kept but may cause issues"} 
[2026-09-17 15:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789640027000,"timestamp_ms":1789640027000,"timestamp_seconds":1789640027,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedbab78"} 
[2026-09-17 15:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-17 15:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147846400001,"66":13319,"100":206,"87":13824,"24":5,"16":134334460916137984,"45":8783848886166446080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147846400001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:44:57] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:44:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334460916137984,"km_value":134334460916137.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783848886166446080,"description":"Unknown IO ID 45"} 
[2026-09-17 15:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147846400001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8783848886166446080}} 
[2026-09-17 15:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":186749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:44:57] local.INFO: GPS data processed {"connection_id":186749,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:44:57] local.INFO: Acknowledgment sent {"connection_id":186749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:45:02] local.INFO: TCP Data received {"connection_id":185433,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:02] local.INFO: Processing buffer {"connection_id":185433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:02] local.INFO: IMEI packet received {"connection_id":185433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":185433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:45:03] local.INFO: TCP Data received {"connection_id":185433,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:03] local.INFO: Processing buffer {"connection_id":185433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:03] local.INFO: IMEI packet received {"connection_id":185433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":185433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:45:03] local.INFO: TCP Data received {"connection_id":185433,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedbb348012d0c84c00704d4680017011725..."} 
[2026-09-17 15:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedbb348012d0c84c00704d4680017011725..."} 
[2026-09-17 15:45:03] local.INFO: Processing buffer {"connection_id":185433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedbb348012d0c84c00704d4680017011725..."} 
[2026-09-17 15:45:03] local.INFO: Packet analysis {"connection_id":185433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:45:03] local.INFO: Extracted packet for processing {"connection_id":185433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:45:03] local.INFO: GPS Element Parsed {"raw_longitude":755795136,"raw_latitude":117757032,"longitude_deg":75.5795136,"latitude_deg":11.7757032,"altitude":23,"angle":279,"satellites":37,"speed":26,"hex_longitude":"2d0c84c0","hex_latitude":"0704d468","is_valid_coordinates":true} 
[2026-09-17 15:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147846656001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32877412010164224,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903956917851992064,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789640029000,"timestamp_ms":1789640029000,"timestamp_seconds":1789640029,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedbb348"} 
[2026-09-17 15:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 15:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147846656001,"66":14548,"95":206,"94":10240,"24":26,"16":32877412010164224,"45":903956917851992064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 15:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147846656001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:45:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 15:45:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32877412010164224,"km_value":32877412010164.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":903956917851992064,"description":"Unknown IO ID 45"} 
[2026-09-17 15:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147846656001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":903956917851992064}} 
[2026-09-17 15:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":185433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856329,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:45:03] local.INFO: GPS data processed {"connection_id":185433,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:45:03] local.INFO: Acknowledgment sent {"connection_id":185433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:45:04] local.INFO: TCP Data received {"connection_id":185433,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedbd670012d0c69c00704d5a80016010a25..."} 
[2026-09-17 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedbd670012d0c69c00704d5a80016010a25..."} 
[2026-09-17 15:45:04] local.INFO: Processing buffer {"connection_id":185433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedbd670012d0c69c00704d5a80016010a25..."} 
[2026-09-17 15:45:04] local.INFO: Packet analysis {"connection_id":185433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:45:04] local.INFO: Extracted packet for processing {"connection_id":185433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":755788224,"raw_latitude":117757352,"longitude_deg":75.5788224,"latitude_deg":11.7757352,"altitude":22,"angle":266,"satellites":37,"speed":29,"hex_longitude":"2d0c69c0","hex_latitude":"0704d5a8","is_valid_coordinates":true} 
[2026-09-17 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147847424001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32877738427678720,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":902056961759275008,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789640038000,"timestamp_ms":1789640038000,"timestamp_seconds":1789640038,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedbd670"} 
[2026-09-17 15:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 15:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147847424001,"66":14450,"95":206,"94":10240,"24":29,"16":32877738427678720,"45":902056961759275008},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 15:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147847424001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:45:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 15:45:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32877738427678720,"km_value":32877738427678.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":902056961759275008,"description":"Unknown IO ID 45"} 
[2026-09-17 15:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147847424001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":902056961759275008}} 
[2026-09-17 15:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":185433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:45:04] local.INFO: GPS data processed {"connection_id":185433,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:45:04] local.INFO: Acknowledgment sent {"connection_id":185433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:45:15] local.INFO: TCP Data received {"connection_id":185293,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:45:15] local.INFO: Processing buffer {"connection_id":185293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:45:15] local.INFO: IMEI packet received {"connection_id":185293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":185293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:45:19] local.INFO: TCP Data received {"connection_id":185434,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:45:19] local.INFO: Processing buffer {"connection_id":185434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:45:19] local.INFO: IMEI packet received {"connection_id":185434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":185434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:45:20] local.INFO: TCP Data received {"connection_id":185293,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:45:20] local.INFO: Processing buffer {"connection_id":185293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:45:20] local.INFO: IMEI packet received {"connection_id":185293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":185293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:45:21] local.INFO: TCP Data received {"connection_id":185293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:45:21] local.INFO: Processing buffer {"connection_id":185293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:45:21] local.INFO: Packet analysis {"connection_id":185293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:45:21] local.INFO: Extracted packet for processing {"connection_id":185293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:45: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-09-17 15:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:45:21] 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-09-17 15:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":185293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:45:21] local.INFO: GPS data processed {"connection_id":185293,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:45:21] local.INFO: Acknowledgment sent {"connection_id":185293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:45:25] local.INFO: TCP Data received {"connection_id":185434,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:45:25] local.INFO: Processing buffer {"connection_id":185434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:45:25] local.INFO: IMEI packet received {"connection_id":185434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":185434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:45:25] local.INFO: TCP Data received {"connection_id":185434,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedbcea0012d79e34005eca898000f00d329..."} 
[2026-09-17 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedbcea0012d79e34005eca898000f00d329..."} 
[2026-09-17 15:45:25] local.INFO: Processing buffer {"connection_id":185434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedbcea0012d79e34005eca898000f00d329..."} 
[2026-09-17 15:45:25] local.INFO: Packet analysis {"connection_id":185434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:45:25] local.INFO: Extracted packet for processing {"connection_id":185434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedb"} 
[2026-09-17 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":762962752,"raw_latitude":99395736,"longitude_deg":76.2962752,"latitude_deg":9.9395736,"altitude":15,"angle":211,"satellites":41,"speed":3,"hex_longitude":"2d79e340","hex_latitude":"05eca898","is_valid_coordinates":true} 
[2026-09-17 15:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147846912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134334478096007168,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783215567468808192,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640036000,"timestamp_ms":1789640036000,"timestamp_seconds":1789640036,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedbcea0"} 
[2026-09-17 15:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2933587864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3676487681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6084363032136834304,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":26,"raw_value":4026609017,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147871913,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391940,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970652160,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-310747079457423355,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:25] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,100,87,24,241,157,16,64,160,163,45,128,169,15,37,10,66,155,36,112,1,240,79,227,174,236,4,113,205,26,235,168,239,51,2,221,5,7,198,218],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-17 15:45:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081130155591925760,"timestamp_seconds":1081130155591925.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147846912001,"66":13298,"100":206,"87":13824,"24":3,"16":134334478096007168,"45":8783215567468808192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147846912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:45:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:45:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134334478096007168,"km_value":134334478096007.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783215567468808192,"description":"Unknown IO ID 45"} 
[2026-09-17 15:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147846912001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8783215567468808192}} 
[2026-09-17 15:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":185434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:45:25] local.INFO: GPS data processed {"connection_id":185434,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:45:25] local.INFO: Acknowledgment sent {"connection_id":185434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:45:35] local.INFO: TCP Data received {"connection_id":185433,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedd3dd0012d0b7b800704bfc00012014624..."} 
[2026-09-17 15:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedd3dd0012d0b7b800704bfc00012014624..."} 
[2026-09-17 15:45:35] local.INFO: Processing buffer {"connection_id":185433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedd3dd0012d0b7b800704bfc00012014624..."} 
[2026-09-17 15:45:35] local.INFO: Packet analysis {"connection_id":185433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:45:35] local.INFO: Extracted packet for processing {"connection_id":185433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:45:35] local.INFO: GPS Element Parsed {"raw_longitude":755727232,"raw_latitude":117751744,"longitude_deg":75.5727232,"latitude_deg":11.7751744,"altitude":18,"angle":326,"satellites":36,"speed":23,"hex_longitude":"2d0b7b80","hex_latitude":"0704bfc0","is_valid_coordinates":true} 
[2026-09-17 15:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147873024001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32880740609818624,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827747567906172928,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789640130000,"timestamp_ms":1789640130000,"timestamp_seconds":1789640130,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedd3dd0"} 
[2026-09-17 15:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 15:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147873024001,"66":14461,"96":206,"94":10240,"24":23,"16":32880740609818624,"45":827747567906172928},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-17 15:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147873024001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:45:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 15:45:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32880740609818624,"km_value":32880740609818.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":827747567906172928,"description":"Unknown IO ID 45"} 
[2026-09-17 15:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147873024001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":827747567906172928}} 
[2026-09-17 15:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":185433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856333,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:45:35] local.INFO: GPS data processed {"connection_id":185433,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:45:35] local.INFO: Acknowledgment sent {"connection_id":185433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:45:53] local.INFO: TCP Data received {"connection_id":185293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:45:53] local.INFO: Processing buffer {"connection_id":185293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:45:53] local.INFO: Packet analysis {"connection_id":185293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:45:53] local.INFO: Extracted packet for processing {"connection_id":185293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:45:53] 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-09-17 15:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":185293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:45:53] local.INFO: GPS data processed {"connection_id":185293,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:45:53] local.INFO: Acknowledgment sent {"connection_id":185293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:45:56] local.INFO: TCP Data received {"connection_id":188063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:56] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:56] local.INFO: IMEI packet received {"connection_id":188063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":188063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:45:56] local.INFO: TCP Data received {"connection_id":188063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:56] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:56] local.INFO: IMEI packet received {"connection_id":188063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":188063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:45:57] local.INFO: TCP Data received {"connection_id":185434,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedd3600012d7a190005ec8250000800ff25..."} 
[2026-09-17 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedd3600012d7a190005ec8250000800ff25..."} 
[2026-09-17 15:45:57] local.INFO: Processing buffer {"connection_id":185434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedd3600012d7a190005ec8250000800ff25..."} 
[2026-09-17 15:45:57] local.INFO: Packet analysis {"connection_id":185434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:45:57] local.INFO: Extracted packet for processing {"connection_id":185434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":762976512,"raw_latitude":99385936,"longitude_deg":76.2976512,"latitude_deg":9.9385936,"altitude":8,"angle":255,"satellites":37,"speed":7,"hex_longitude":"2d7a1900","hex_latitude":"05ec8250","is_valid_coordinates":true} 
[2026-09-17 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147867904001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335732226457600,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428673916928,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789640128000,"timestamp_ms":1789640128000,"timestamp_seconds":1789640128,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedd3600"} 
[2026-09-17 15:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2933669864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3703111681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8806789015478130432,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2550214009,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3221613687,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967348736,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":86,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2071657123421274117,"note":"Value kept but may cause issues"} 
[2026-09-17 15:45:57] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,100,87,24,241,157,16,65,160,231,45,128,132,10,37,66,227,192,131,38,224,1,240,7,174,236,4,113,205,12,118,251,64,41,239,52,2,221,5,86,220],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-17 15:45:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720578298316849152,"timestamp_seconds":720578298316849.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147867904001,"66":13526,"100":206,"87":13824,"24":7,"16":134335732226457600,"45":8798837428673916928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147867904001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:45:57] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:45:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335732226457600,"km_value":134335732226457.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428673916928,"description":"Unknown IO ID 45"} 
[2026-09-17 15:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147867904001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8798837428673916928}} 
[2026-09-17 15:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":185434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:45:57] local.INFO: GPS data processed {"connection_id":185434,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:45:57] local.INFO: Acknowledgment sent {"connection_id":185434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:45:58] local.INFO: TCP Data received {"connection_id":188063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:58] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:58] local.INFO: IMEI packet received {"connection_id":188063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":188063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:45:59] local.INFO: TCP Data received {"connection_id":188063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:59] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:45:59] local.INFO: IMEI packet received {"connection_id":188063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":188063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:46:01] local.INFO: TCP Data received {"connection_id":188063,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedd9b90012d0b5d000704eca00017015625..."} 
[2026-09-17 15:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedd9b90012d0b5d000704eca00017015625..."} 
[2026-09-17 15:46:01] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedd9b90012d0b5d000704eca00017015625..."} 
[2026-09-17 15:46:01] local.INFO: Packet analysis {"connection_id":188063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:01] local.INFO: Extracted packet for processing {"connection_id":188063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":755719424,"raw_latitude":117763232,"longitude_deg":75.5719424,"latitude_deg":11.7763232,"altitude":23,"angle":342,"satellites":37,"speed":26,"hex_longitude":"2d0b5d00","hex_latitude":"0704eca0","is_valid_coordinates":true} 
[2026-09-17 15:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147877888001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32881556653604864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819584793583237120,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789640154000,"timestamp_ms":1789640154000,"timestamp_seconds":1789640154,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedd9b90"} 
[2026-09-17 15:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 15:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147877888001,"66":14537,"96":206,"94":10240,"24":26,"16":32881556653604864,"45":819584793583237120},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-17 15:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147877888001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:46:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 15:46:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32881556653604864,"km_value":32881556653604.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":819584793583237120,"description":"Unknown IO ID 45"} 
[2026-09-17 15:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147877888001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":819584793583237120}} 
[2026-09-17 15:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":188063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:46:01] local.INFO: GPS data processed {"connection_id":188063,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:46:01] local.INFO: Acknowledgment sent {"connection_id":188063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:46:02] local.INFO: TCP Data received {"connection_id":188063,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedda360012d0b5b000704f0200017013e25..."} 
[2026-09-17 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedda360012d0b5b000704f0200017013e25..."} 
[2026-09-17 15:46:02] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedda360012d0b5b000704f0200017013e25..."} 
[2026-09-17 15:46:02] local.INFO: Packet analysis {"connection_id":188063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:02] local.INFO: Extracted packet for processing {"connection_id":188063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":755718912,"raw_latitude":117764128,"longitude_deg":75.5718912,"latitude_deg":11.7764128,"altitude":23,"angle":318,"satellites":37,"speed":17,"hex_longitude":"2d0b5b00","hex_latitude":"0704f020","is_valid_coordinates":true} 
[2026-09-17 15:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147879424001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32881608193212416,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818810737398685696,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789640156000,"timestamp_ms":1789640156000,"timestamp_seconds":1789640156,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedda360"} 
[2026-09-17 15:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 15:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147879424001,"66":14157,"96":206,"94":10240,"24":17,"16":32881608193212416,"45":818810737398685696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-17 15:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147879424001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:46:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 15:46:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32881608193212416,"km_value":32881608193212.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":818810737398685696,"description":"Unknown IO ID 45"} 
[2026-09-17 15:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147879424001,"power":14157,"unknown_96":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":818810737398685696}} 
[2026-09-17 15:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":188063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:46:02] local.INFO: GPS data processed {"connection_id":188063,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:46:02] local.INFO: Acknowledgment sent {"connection_id":188063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:46:19] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:46:19] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:46:19] local.INFO: IMEI packet received {"connection_id":186751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":186751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:46:20] local.INFO: TCP Data received {"connection_id":185294,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:46:20] local.INFO: Processing buffer {"connection_id":185294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:46:20] local.INFO: IMEI packet received {"connection_id":185294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":185294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:46:20] local.INFO: TCP Data received {"connection_id":186750,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:46:20] local.INFO: Processing buffer {"connection_id":186750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:46:20] local.INFO: IMEI packet received {"connection_id":186750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":186750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:46:25] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:46:25] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:46:25] local.INFO: IMEI packet received {"connection_id":186751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":186751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:46:25] local.INFO: TCP Data received {"connection_id":185294,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:46:25] local.INFO: Processing buffer {"connection_id":185294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:46:25] local.INFO: IMEI packet received {"connection_id":185294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":185294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:46:25] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedd41b8012d7a170005ec81a80009010d25..."} 
[2026-09-17 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedd41b8012d7a170005ec81a80009010d25..."} 
[2026-09-17 15:46:25] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedd41b8012d7a170005ec81a80009010d25..."} 
[2026-09-17 15:46:25] local.INFO: Packet analysis {"connection_id":186751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:25] local.INFO: Extracted packet for processing {"connection_id":186751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":762976000,"raw_latitude":99385768,"longitude_deg":76.2976,"latitude_deg":9.9385768,"altitude":9,"angle":269,"satellites":37,"speed":6,"hex_longitude":"2d7a1700","hex_latitude":"05ec81a8","is_valid_coordinates":true} 
[2026-09-17 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147872768001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335757996261376,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798063372487774208,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640131000,"timestamp_ms":1789640131000,"timestamp_seconds":1789640131,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedd41b8"} 
[2026-09-17 15:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 15:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147872768001,"66":13374,"100":206,"87":13824,"24":6,"16":134335757996261376,"45":8798063372487774208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147872768001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:46:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:46:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335757996261376,"km_value":134335757996261.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798063372487774208,"description":"Unknown IO ID 45"} 
[2026-09-17 15:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147872768001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8798063372487774208}} 
[2026-09-17 15:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":186751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:46:25] local.INFO: GPS data processed {"connection_id":186751,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:46:25] local.INFO: Acknowledgment sent {"connection_id":186751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:46:26] local.INFO: TCP Data received {"connection_id":185294,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:46:26] local.INFO: Processing buffer {"connection_id":185294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:46:26] local.INFO: Packet analysis {"connection_id":185294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:46:26] local.INFO: Extracted packet for processing {"connection_id":185294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:46:26] 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-09-17 15:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:46:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":185294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:46:26] local.INFO: GPS data processed {"connection_id":185294,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:46:26] local.INFO: Acknowledgment sent {"connection_id":185294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:46:30] local.INFO: TCP Data received {"connection_id":185294,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:46:30] local.INFO: Processing buffer {"connection_id":185294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:46:30] local.INFO: Packet analysis {"connection_id":185294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:46:30] local.INFO: Extracted packet for processing {"connection_id":185294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:46:30] 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-09-17 15:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:46:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":185294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:46:30] local.INFO: GPS data processed {"connection_id":185294,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:46:30] local.INFO: Acknowledgment sent {"connection_id":185294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:46:37] local.INFO: TCP Data received {"connection_id":188063,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedda748012d0b59800704f1100018012d25..."} 
[2026-09-17 15:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedda748012d0b59800704f1100018012d25..."} 
[2026-09-17 15:46:37] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedda748012d0b59800704f1100018012d25..."} 
[2026-09-17 15:46:37] local.INFO: Packet analysis {"connection_id":188063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:37] local.INFO: Extracted packet for processing {"connection_id":188063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:37] local.INFO: GPS Element Parsed {"raw_longitude":755718528,"raw_latitude":117764368,"longitude_deg":75.5718528,"latitude_deg":11.7764368,"altitude":24,"angle":301,"satellites":37,"speed":19,"hex_longitude":"2d0b5980","hex_latitude":"0704f110","is_valid_coordinates":true} 
[2026-09-17 15:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147879936001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32881629668048896,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818247787445493760,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789640157000,"timestamp_ms":1789640157000,"timestamp_seconds":1789640157,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedda748"} 
[2026-09-17 15:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-17 15:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147879936001,"66":14157,"96":206,"94":10240,"24":19,"16":32881629668048896,"45":818247787445493760},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-17 15:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147879936001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:46:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-17 15:46:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32881629668048896,"km_value":32881629668048.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":818247787445493760,"description":"Unknown IO ID 45"} 
[2026-09-17 15:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147879936001,"power":14157,"unknown_96":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":818247787445493760}} 
[2026-09-17 15:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":188063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856341,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:46:37] local.INFO: GPS data processed {"connection_id":188063,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:46:37] local.INFO: Acknowledgment sent {"connection_id":188063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:46:51] local.INFO: TCP Data received {"connection_id":185435,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:46:51] local.INFO: Processing buffer {"connection_id":185435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:46:51] local.INFO: IMEI packet received {"connection_id":185435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":185435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:46:57] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedd4d70012d7a150005ec81800009010226..."} 
[2026-09-17 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedd4d70012d7a150005ec81800009010226..."} 
[2026-09-17 15:46:57] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedd4d70012d7a150005ec81800009010226..."} 
[2026-09-17 15:46:57] local.INFO: Packet analysis {"connection_id":186751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:57] local.INFO: Extracted packet for processing {"connection_id":186751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:46:57] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385728,"longitude_deg":76.2975488,"latitude_deg":9.9385728,"altitude":9,"angle":258,"satellites":38,"speed":5,"hex_longitude":"2d7a1500","hex_latitude":"05ec8180","is_valid_coordinates":true} 
[2026-09-17 15:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147873536001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335783766065152,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797500422534309888,"note":"Value kept but may cause issues"} 
[2026-09-17 15:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789640134000,"timestamp_ms":1789640134000,"timestamp_seconds":1789640134,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedd4d70"} 
[2026-09-17 15:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 15:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147873536001,"66":12819,"100":206,"87":13824,"24":5,"16":134335783766065152,"45":8797500422534309888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147873536001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:46:57] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:46:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335783766065152,"km_value":134335783766065.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797500422534309888,"description":"Unknown IO ID 45"} 
[2026-09-17 15:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147873536001,"power":12819,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8797500422534309888}} 
[2026-09-17 15:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":186751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:46:58] local.INFO: GPS data processed {"connection_id":186751,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:46:58] local.INFO: Acknowledgment sent {"connection_id":186751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:47:00] local.INFO: TCP Data received {"connection_id":185295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:00] local.INFO: Processing buffer {"connection_id":185295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:00] local.INFO: IMEI packet received {"connection_id":185295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":185295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:47:01] local.INFO: TCP Data received {"connection_id":185295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:01] local.INFO: Processing buffer {"connection_id":185295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:01] local.INFO: IMEI packet received {"connection_id":185295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":185295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:47:01] local.INFO: TCP Data received {"connection_id":185295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:01] local.INFO: Processing buffer {"connection_id":185295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:01] local.INFO: IMEI packet received {"connection_id":185295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":185295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:47:02] local.INFO: TCP Data received {"connection_id":185295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:02] local.INFO: Processing buffer {"connection_id":185295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:47:02] local.INFO: IMEI packet received {"connection_id":185295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":185295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:47:15] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:47:15] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:47:15] local.INFO: IMEI packet received {"connection_id":186752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":186752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:47:20] local.INFO: TCP Data received {"connection_id":185297,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:47:20] local.INFO: Processing buffer {"connection_id":185297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:47:20] local.INFO: IMEI packet received {"connection_id":185297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":185297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:47:20] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:47:20] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:47:20] local.INFO: IMEI packet received {"connection_id":186752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":186752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:47:20] local.INFO: TCP Data received {"connection_id":185297,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:47:20] local.INFO: Processing buffer {"connection_id":185297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:47:20] local.INFO: IMEI packet received {"connection_id":185297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":185297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:47:21] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:47:21] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aed9d6b8012d34c30006aa4608000a00b524..."} 
[2026-09-17 15:47:21] local.INFO: Packet analysis {"connection_id":186752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:47:21] local.INFO: Extracted packet for processing {"connection_id":186752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aed9"} 
[2026-09-17 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147739136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789639907000,"timestamp_ms":1789639907000,"timestamp_seconds":1789639907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aed9d6b8"} 
[2026-09-17 15:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:47: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-09-17 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-17 15:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:47:21] 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-09-17 15:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147739136001,"66":26006,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147739136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147739136001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":186752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:47:21] local.INFO: GPS data processed {"connection_id":186752,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:47:21] local.INFO: Acknowledgment sent {"connection_id":186752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:47:21] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:47:21] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:47:21] local.INFO: IMEI packet received {"connection_id":185296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 15:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":185296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:47:22] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:47:22] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:47:22] local.INFO: IMEI packet received {"connection_id":185296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 15:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":185296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:47:23] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000000000011d280100000000000000000000000000..."} 
[2026-09-17 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000011d280100000000000000000000000000..."} 
[2026-09-17 15:47:23] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000011d280100000000000000000000000000..."} 
[2026-09-17 15:47:23] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 15:47:23] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 15:47:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:47:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":73000,"timestamp_seconds":73,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:47:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 15:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-17 15:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-17 15:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 15:47:23] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 15:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 15:47:23] local.ERROR: GPS data processing failed {"connection_id":185296,"error":"No valid data to process"} 
[2026-09-17 15:47:23] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 15:47:25] local.INFO: TCP Data received {"connection_id":185297,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:47:25] local.INFO: Processing buffer {"connection_id":185297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:47:25] local.INFO: IMEI packet received {"connection_id":185297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":185297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:47:26] local.INFO: TCP Data received {"connection_id":185297,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedd9f78012d7a13c005ec80c0000900fe25..."} 
[2026-09-17 15:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedd9f78012d7a13c005ec80c0000900fe25..."} 
[2026-09-17 15:47:26] local.INFO: Processing buffer {"connection_id":185297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedd9f78012d7a13c005ec80c0000900fe25..."} 
[2026-09-17 15:47:26] local.INFO: Packet analysis {"connection_id":185297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:47:26] local.INFO: Extracted packet for processing {"connection_id":185297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:47:26] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147874304001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580878336,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789640155000,"timestamp_ms":1789640155000,"timestamp_seconds":1789640155,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedd9f78"} 
[2026-09-17 15:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2933710864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505649424760832,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-2542000509615991808,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2218262538,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6341332162427814144,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4928064778476584984,"corrected_to":0} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3221613699,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182216824717568,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504628851884740183,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1404991142159692505,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195178496,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84858090155273335,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3096504604559616,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,65,160,45,129,9,37,10,66,54,130,8,235,192,1,240,7,227,174,236,4,113,205,13,26,40,38,239,52,2,221,5,131,69,152,64],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":4928064778476584984,"validated":0}]} 
[2026-09-17 15:47:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648802183550402560,"timestamp_seconds":648802183550402.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147874304001,"66":13363,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796937472580878336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147874304001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:47:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:47:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580878336,"description":"Unknown IO ID 45"} 
[2026-09-17 15:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147874304001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580878336}} 
[2026-09-17 15:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":185297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:47:26] local.INFO: GPS data processed {"connection_id":185297,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:47:26] local.INFO: Acknowledgment sent {"connection_id":185297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:47:26] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000000000011d280100000000000000000000000000..."} 
[2026-09-17 15:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000011d280100000000000000000000000000..."} 
[2026-09-17 15:47:26] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000011d280100000000000000000000000000..."} 
[2026-09-17 15:47:26] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 15:47:26] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-17 15:47:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:47:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":73000,"timestamp_seconds":73,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:47:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 15:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-17 15:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-17 15:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 15:47:26] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 15:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 15:47:26] local.ERROR: GPS data processing failed {"connection_id":185296,"error":"No valid data to process"} 
[2026-09-17 15:47:26] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 15:47:52] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:47:52] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:47:52] local.INFO: Packet analysis {"connection_id":186752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:47:52] local.INFO: Extracted packet for processing {"connection_id":186752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:47:52] 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-09-17 15:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":186752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:47:52] local.INFO: GPS data processed {"connection_id":186752,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:47:52] local.INFO: Acknowledgment sent {"connection_id":186752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:47:58] local.INFO: TCP Data received {"connection_id":185297,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeddf180012d7a13c005ec80c0000900fe26..."} 
[2026-09-17 15:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeddf180012d7a13c005ec80c0000900fe26..."} 
[2026-09-17 15:47:58] local.INFO: Processing buffer {"connection_id":185297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeddf180012d7a13c005ec80c0000900fe26..."} 
[2026-09-17 15:47:58] local.INFO: Packet analysis {"connection_id":185297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:47:58] local.INFO: Extracted packet for processing {"connection_id":185297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedd"} 
[2026-09-17 15:47:58] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147879680001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789640176000,"timestamp_ms":1789640176000,"timestamp_seconds":1789640176,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeddf180"} 
[2026-09-17 15:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 15:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147879680001,"66":13059,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147879680001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:47:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:47:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147879680001,"power":13059,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":185297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:47:58] local.INFO: GPS data processed {"connection_id":185297,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:47:58] local.INFO: Acknowledgment sent {"connection_id":185297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:48:00] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedf41700100000000000000000000000000..."} 
[2026-09-17 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedf41700100000000000000000000000000..."} 
[2026-09-17 15:48:00] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedf41700100000000000000000000000000..."} 
[2026-09-17 15:48:00] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:48:00] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:48:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789640262000,"timestamp_ms":1789640262000,"timestamp_seconds":1789640262,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedf4170"} 
[2026-09-17 15:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-17 15:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 15:48:00] local.INFO: GPS data processed {"connection_id":185296,"processed":0,"errors":0,"total":1} 
[2026-09-17 15:48:00] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:48:15] local.INFO: TCP Data received {"connection_id":185437,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:48:15] local.INFO: Processing buffer {"connection_id":185437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:48:15] local.INFO: IMEI packet received {"connection_id":185437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":185437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:48:19] local.INFO: TCP Data received {"connection_id":188065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:48:19] local.INFO: Processing buffer {"connection_id":188065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:48:19] local.INFO: IMEI packet received {"connection_id":188065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":188065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:48:20] local.INFO: TCP Data received {"connection_id":185437,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:48:20] local.INFO: Processing buffer {"connection_id":185437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:48:20] local.INFO: IMEI packet received {"connection_id":185437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":185437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:48:21] local.INFO: TCP Data received {"connection_id":185437,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:48:21] local.INFO: Processing buffer {"connection_id":185437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:48:21] local.INFO: Packet analysis {"connection_id":185437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:48:21] local.INFO: Extracted packet for processing {"connection_id":185437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":185437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:48:21] local.INFO: GPS data processed {"connection_id":185437,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:48:21] local.INFO: Acknowledgment sent {"connection_id":185437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:48:23] local.INFO: TCP Data received {"connection_id":188065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:48:23] local.INFO: Processing buffer {"connection_id":188065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:48:23] local.INFO: IMEI packet received {"connection_id":188065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":188065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:48:24] local.INFO: TCP Data received {"connection_id":188065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:48:24] local.INFO: Processing buffer {"connection_id":188065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:48:24] local.INFO: IMEI packet received {"connection_id":188065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":188065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:48:25] local.INFO: TCP Data received {"connection_id":188065,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede4388012d7a13c005ec80c0000900fe26..."} 
[2026-09-17 15:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede4388012d7a13c005ec80c0000900fe26..."} 
[2026-09-17 15:48:25] local.INFO: Processing buffer {"connection_id":188065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede4388012d7a13c005ec80c0000900fe26..."} 
[2026-09-17 15:48:25] local.INFO: Packet analysis {"connection_id":188065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:48:25] local.INFO: Extracted packet for processing {"connection_id":188065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:48:25] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147885056001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640197000,"timestamp_ms":1789640197000,"timestamp_seconds":1789640197,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede4388"} 
[2026-09-17 15:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496580,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":100,"raw_value":58079734643818509,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2933712864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3711303681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2186280968,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221613701,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968088064,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,65,160,159,45,192,128,9,37,10,66,77,129,38,1,240,62,227,174,236,4,113,205,7,235,27,48,239,52,2,221,5,13],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-17 15:48:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648797785503563776,"timestamp_seconds":648797785503563.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147885056001,"66":13493,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147885056001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:48:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:48:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147885056001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":188065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:48:25] local.INFO: GPS data processed {"connection_id":188065,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:48:25] local.INFO: Acknowledgment sent {"connection_id":188065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:48:49] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedf93780100000000000000000000000000..."} 
[2026-09-17 15:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedf93780100000000000000000000000000..."} 
[2026-09-17 15:48:49] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedf93780100000000000000000000000000..."} 
[2026-09-17 15:48:49] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:48:49] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:48:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789640283000,"timestamp_ms":1789640283000,"timestamp_seconds":1789640283,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedf9378"} 
[2026-09-17 15:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493159438160128,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6424103393467301898,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18586230468706304,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263882795188480,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510848,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84725629068979044,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.WARNING: Large IO value detected {"io_id":216,"raw_value":5630981985796096,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:49] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,119,83,24,241,157,16,30,29,10,66,191,214,109,1,240,33,4,113,205,27,239,2,48,75,206,192,216],"length":628,"final_offset":758,"validated_count":28,"validation_warnings":[]} 
[2026-09-17 15:48:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 15:48:49] local.INFO: GPS data processed {"connection_id":185296,"processed":0,"errors":0,"total":1} 
[2026-09-17 15:48:49] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:48:53] local.INFO: TCP Data received {"connection_id":185437,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:48:53] local.INFO: Processing buffer {"connection_id":185437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:48:53] local.INFO: Packet analysis {"connection_id":185437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:48:53] local.INFO: Extracted packet for processing {"connection_id":185437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":185437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:48:53] local.INFO: GPS data processed {"connection_id":185437,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:48:53] local.INFO: Acknowledgment sent {"connection_id":185437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:48:58] local.INFO: TCP Data received {"connection_id":188065,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede9590012d7a13c005ec80c0000900fe25..."} 
[2026-09-17 15:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede9590012d7a13c005ec80c0000900fe25..."} 
[2026-09-17 15:48:58] local.INFO: Processing buffer {"connection_id":188065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede9590012d7a13c005ec80c0000900fe25..."} 
[2026-09-17 15:48:58] local.INFO: Packet analysis {"connection_id":188065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:48:58] local.INFO: Extracted packet for processing {"connection_id":188065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147890432001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789640218000,"timestamp_ms":1789640218000,"timestamp_seconds":1789640218,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede9590"} 
[2026-09-17 15:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 15:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147890432001,"66":13602,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147890432001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:48:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147890432001,"power":13602,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":188065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:48:58] local.INFO: GPS data processed {"connection_id":188065,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:48:58] local.INFO: Acknowledgment sent {"connection_id":188065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:49:15] local.INFO: TCP Data received {"connection_id":185439,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:49:15] local.INFO: Processing buffer {"connection_id":185439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:49:15] local.INFO: IMEI packet received {"connection_id":185439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":185439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:49:20] local.INFO: TCP Data received {"connection_id":185439,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:49:20] local.INFO: Processing buffer {"connection_id":185439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:49:20] local.INFO: IMEI packet received {"connection_id":185439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":185439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:49:21] local.INFO: TCP Data received {"connection_id":185439,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:49:21] local.INFO: Processing buffer {"connection_id":185439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:49:21] local.INFO: Packet analysis {"connection_id":185439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:49:21] local.INFO: Extracted packet for processing {"connection_id":185439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:49:21] 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-09-17 15:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:49:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":185439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:49:21] local.INFO: GPS data processed {"connection_id":185439,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:49:21] local.INFO: Acknowledgment sent {"connection_id":185439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:49:25] local.INFO: TCP Data received {"connection_id":185440,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:49:25] local.INFO: Processing buffer {"connection_id":185440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:49:25] local.INFO: IMEI packet received {"connection_id":185440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":185440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:49:26] local.INFO: TCP Data received {"connection_id":185440,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:49:26] local.INFO: Processing buffer {"connection_id":185440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:49:26] local.INFO: IMEI packet received {"connection_id":185440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":185440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:49:28] local.INFO: TCP Data received {"connection_id":185440,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedee798012d7a13c005ec80c0000900fe22..."} 
[2026-09-17 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedee798012d7a13c005ec80c0000900fe22..."} 
[2026-09-17 15:49:28] local.INFO: Processing buffer {"connection_id":185440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedee798012d7a13c005ec80c0000900fe22..."} 
[2026-09-17 15:49:28] local.INFO: Packet analysis {"connection_id":185440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:49:28] local.INFO: Extracted packet for processing {"connection_id":185440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147895808001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789640239000,"timestamp_ms":1789640239000,"timestamp_seconds":1789640239,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedee798"} 
[2026-09-17 15:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-17 15:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":185440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147895808001,"66":13450,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147895808001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:49:28] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:49:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147895808001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":185440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:49:28] local.INFO: GPS data processed {"connection_id":185440,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:49:28] local.INFO: Acknowledgment sent {"connection_id":185440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:49:30] local.INFO: TCP Data received {"connection_id":185440,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedf39a0012d7a13c005ec80c0000900fe23..."} 
[2026-09-17 15:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedf39a0012d7a13c005ec80c0000900fe23..."} 
[2026-09-17 15:49:30] local.INFO: Processing buffer {"connection_id":185440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedf39a0012d7a13c005ec80c0000900fe23..."} 
[2026-09-17 15:49:30] local.INFO: Packet analysis {"connection_id":185440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:49:30] local.INFO: Extracted packet for processing {"connection_id":185440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:49:30] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":35,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147901184001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789640260000,"timestamp_ms":1789640260000,"timestamp_seconds":1789640260,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedf39a0"} 
[2026-09-17 15:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-17 15:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147901184001,"66":13526,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147901184001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:49:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147901184001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":185440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:49:30] local.INFO: GPS data processed {"connection_id":185440,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:49:30] local.INFO: Acknowledgment sent {"connection_id":185440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:49:33] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedfe5800100000000000000000000000000..."} 
[2026-09-17 15:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedfe5800100000000000000000000000000..."} 
[2026-09-17 15:49:33] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedfe5800100000000000000000000000000..."} 
[2026-09-17 15:49:33] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:49:33] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:49:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789640304000,"timestamp_ms":1789640304000,"timestamp_seconds":1789640304,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedfe580"} 
[2026-09-17 15:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-17 15:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 15:49:33] local.INFO: GPS data processed {"connection_id":185296,"processed":0,"errors":0,"total":1} 
[2026-09-17 15:49:33] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:49:52] local.INFO: TCP Data received {"connection_id":185439,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:49:52] local.INFO: Processing buffer {"connection_id":185439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:49:52] local.INFO: Packet analysis {"connection_id":185439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:49:52] local.INFO: Extracted packet for processing {"connection_id":185439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:49:52] 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-09-17 15:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":185439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:49:52] local.INFO: GPS data processed {"connection_id":185439,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:49:52] local.INFO: Acknowledgment sent {"connection_id":185439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:50:01] local.INFO: TCP Data received {"connection_id":185440,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedf8ba8012d7a13c005ec80c0000900fe23..."} 
[2026-09-17 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedf8ba8012d7a13c005ec80c0000900fe23..."} 
[2026-09-17 15:50:01] local.INFO: Processing buffer {"connection_id":185440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedf8ba8012d7a13c005ec80c0000900fe23..."} 
[2026-09-17 15:50:01] local.INFO: Packet analysis {"connection_id":185440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:50:01] local.INFO: Extracted packet for processing {"connection_id":185440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:50:01] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":35,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147906560001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789640281000,"timestamp_ms":1789640281000,"timestamp_seconds":1789640281,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedf8ba8"} 
[2026-09-17 15:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 15:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147906560001,"66":13428,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147906560001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:50:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:50:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147906560001,"power":13428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":185440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:50:01] local.INFO: GPS data processed {"connection_id":185440,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:50:01] local.INFO: Acknowledgment sent {"connection_id":185440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:50:06] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee037880100000000000000000000000000..."} 
[2026-09-17 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee037880100000000000000000000000000..."} 
[2026-09-17 15:50:06] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee037880100000000000000000000000000..."} 
[2026-09-17 15:50:06] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:50:06] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:50:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,214,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789640325000,"timestamp_ms":1789640325000,"timestamp_seconds":1789640325,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee03788"} 
[2026-09-17 15:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 15:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 15:50:06] local.INFO: GPS data processed {"connection_id":185296,"processed":0,"errors":0,"total":1} 
[2026-09-17 15:50:06] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:50:15] local.INFO: TCP Data received {"connection_id":188066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:50:15] local.INFO: Processing buffer {"connection_id":188066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:50:15] local.INFO: IMEI packet received {"connection_id":188066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":188066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:50:20] local.INFO: TCP Data received {"connection_id":185298,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:50:20] local.INFO: Processing buffer {"connection_id":185298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:50:20] local.INFO: IMEI packet received {"connection_id":185298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":185298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:50:20] local.INFO: TCP Data received {"connection_id":188066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:50:20] local.INFO: Processing buffer {"connection_id":188066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:50:20] local.INFO: IMEI packet received {"connection_id":188066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":188066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:50:21] local.INFO: TCP Data received {"connection_id":188066,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:50:21] local.INFO: Processing buffer {"connection_id":188066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:50:21] local.INFO: Packet analysis {"connection_id":188066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:50:21] local.INFO: Extracted packet for processing {"connection_id":188066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:50:21] 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-09-17 15:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":188066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:50:21] local.INFO: GPS data processed {"connection_id":188066,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:50:21] local.INFO: Acknowledgment sent {"connection_id":188066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:50:25] local.INFO: TCP Data received {"connection_id":185298,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:50:25] local.INFO: Processing buffer {"connection_id":185298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:50:25] local.INFO: IMEI packet received {"connection_id":185298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":185298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:50:26] local.INFO: TCP Data received {"connection_id":185298,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aedfddb0012d7a13c005ec80c0000900fe20..."} 
[2026-09-17 15:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aedfddb0012d7a13c005ec80c0000900fe20..."} 
[2026-09-17 15:50:26] local.INFO: Processing buffer {"connection_id":185298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aedfddb0012d7a13c005ec80c0000900fe20..."} 
[2026-09-17 15:50:26] local.INFO: Packet analysis {"connection_id":185298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:50:26] local.INFO: Extracted packet for processing {"connection_id":185298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aedf"} 
[2026-09-17 15:50:26] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":32,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147911936001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789640302000,"timestamp_ms":1789640302000,"timestamp_seconds":1789640302,"priority":1,"record_length":96,"hex_timestamp":"000001a0aedfddb0"} 
[2026-09-17 15:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 15:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147911936001,"66":13461,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147911936001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:50:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:50:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147911936001,"power":13461,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":185298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:50:26] local.INFO: GPS data processed {"connection_id":185298,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:50:26] local.INFO: Acknowledgment sent {"connection_id":185298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:50:30] local.INFO: TCP Data received {"connection_id":185298,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee02fb8012d7a13c005ec80c0000900fe22..."} 
[2026-09-17 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee02fb8012d7a13c005ec80c0000900fe22..."} 
[2026-09-17 15:50:30] local.INFO: Processing buffer {"connection_id":185298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee02fb8012d7a13c005ec80c0000900fe22..."} 
[2026-09-17 15:50:30] local.INFO: Packet analysis {"connection_id":185298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:50:30] local.INFO: Extracted packet for processing {"connection_id":185298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147917312001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789640323000,"timestamp_ms":1789640323000,"timestamp_seconds":1789640323,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee02fb8"} 
[2026-09-17 15:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-17 15:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147917312001,"66":12982,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147917312001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:50:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:50:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147917312001,"power":12982,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":185298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:50:30] local.INFO: GPS data processed {"connection_id":185298,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:50:30] local.INFO: Acknowledgment sent {"connection_id":185298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:50:38] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee089900100000000000000000000000000..."} 
[2026-09-17 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee089900100000000000000000000000000..."} 
[2026-09-17 15:50:38] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee089900100000000000000000000000000..."} 
[2026-09-17 15:50:38] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:50:38] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:50:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,255,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789640346000,"timestamp_ms":1789640346000,"timestamp_seconds":1789640346,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee08990"} 
[2026-09-17 15:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 15:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 15:50:38] local.INFO: GPS data processed {"connection_id":185296,"processed":0,"errors":0,"total":1} 
[2026-09-17 15:50:38] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:50:52] local.INFO: TCP Data received {"connection_id":188066,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:50:52] local.INFO: Processing buffer {"connection_id":188066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:50:52] local.INFO: Packet analysis {"connection_id":188066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:50:52] local.INFO: Extracted packet for processing {"connection_id":188066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:50:52] 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-09-17 15:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":188066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:50:52] local.INFO: GPS data processed {"connection_id":188066,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:50:52] local.INFO: Acknowledgment sent {"connection_id":188066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:51:01] local.INFO: TCP Data received {"connection_id":185298,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee081c0012d7a13c005ec80c0000900fe21..."} 
[2026-09-17 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee081c0012d7a13c005ec80c0000900fe21..."} 
[2026-09-17 15:51:01] local.INFO: Processing buffer {"connection_id":185298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee081c0012d7a13c005ec80c0000900fe21..."} 
[2026-09-17 15:51:01] local.INFO: Packet analysis {"connection_id":185298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:51:01] local.INFO: Extracted packet for processing {"connection_id":185298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:51:01] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":33,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147922688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789640344000,"timestamp_ms":1789640344000,"timestamp_seconds":1789640344,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee081c0"} 
[2026-09-17 15:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-17 15:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147922688001,"66":13396,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147922688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:51:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:51:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147922688001,"power":13396,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":185298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:51:01] local.INFO: GPS data processed {"connection_id":185298,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:51:01] local.INFO: Acknowledgment sent {"connection_id":185298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:51:09] local.INFO: TCP Data received {"connection_id":185296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee0db980100000000000000000000000000..."} 
[2026-09-17 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee0db980100000000000000000000000000..."} 
[2026-09-17 15:51:09] local.INFO: Processing buffer {"connection_id":185296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee0db980100000000000000000000000000..."} 
[2026-09-17 15:51:09] local.INFO: Packet analysis {"connection_id":185296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:51:09] local.INFO: Extracted packet for processing {"connection_id":185296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15: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-09-17 15:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,255,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789640367000,"timestamp_ms":1789640367000,"timestamp_seconds":1789640367,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee0db98"} 
[2026-09-17 15:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 15:51:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:09] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:09] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2919288141,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503922267258880,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:09] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3745607681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299644622,"corrected_to":0} 
[2026-09-17 15:51:09] local.WARNING: Large IO value detected {"io_id":96,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:09] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,255,83,24,241,157,16,30,160,55,10,66,214,229,119,147,1,240,33,227,174,4,113,205,29,239,2,75,206,96],"length":529,"final_offset":659,"validated_count":30,"validation_warnings":[{"io_id":205,"original":1299644622,"validated":0}]} 
[2026-09-17 15:51:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":185296,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 15:51:09] local.INFO: GPS data processed {"connection_id":185296,"processed":0,"errors":0,"total":1} 
[2026-09-17 15:51:09] local.INFO: Acknowledgment sent {"connection_id":185296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:51:20] local.INFO: TCP Data received {"connection_id":185444,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:51:20] local.INFO: Processing buffer {"connection_id":185444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:51:20] local.INFO: IMEI packet received {"connection_id":185444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":185444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:51:20] local.INFO: TCP Data received {"connection_id":185443,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:51:20] local.INFO: Processing buffer {"connection_id":185443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:51:20] local.INFO: IMEI packet received {"connection_id":185443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":185443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:51:24] local.INFO: TCP Data received {"connection_id":185444,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:51:24] local.INFO: Processing buffer {"connection_id":185444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:51:24] local.INFO: IMEI packet received {"connection_id":185444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":185444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:51:25] local.INFO: TCP Data received {"connection_id":185444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee0d3c8012d7a13c005ec80c0000900fe21..."} 
[2026-09-17 15:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee0d3c8012d7a13c005ec80c0000900fe21..."} 
[2026-09-17 15:51:25] local.INFO: Processing buffer {"connection_id":185444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee0d3c8012d7a13c005ec80c0000900fe21..."} 
[2026-09-17 15:51:25] local.INFO: Packet analysis {"connection_id":185444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:51:25] local.INFO: Extracted packet for processing {"connection_id":185444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee0"} 
[2026-09-17 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":33,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147928064001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640365000,"timestamp_ms":1789640365000,"timestamp_seconds":1789640365,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee0d3c8"} 
[2026-09-17 15:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-17 15:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147928064001,"66":13504,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147928064001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:51:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:51:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147928064001,"power":13504,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":185444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:51:25] local.INFO: GPS data processed {"connection_id":185444,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:51:25] local.INFO: Acknowledgment sent {"connection_id":185444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:51:25] local.INFO: TCP Data received {"connection_id":185443,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:51:25] local.INFO: Processing buffer {"connection_id":185443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:51:25] local.INFO: IMEI packet received {"connection_id":185443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":185443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:51:26] local.INFO: TCP Data received {"connection_id":185443,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:51:26] local.INFO: Processing buffer {"connection_id":185443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:51:26] local.INFO: Packet analysis {"connection_id":185443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:51:26] local.INFO: Extracted packet for processing {"connection_id":185443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:51:26] 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-09-17 15:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":185443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:51:26] local.INFO: GPS data processed {"connection_id":185443,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:51:26] local.INFO: Acknowledgment sent {"connection_id":185443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:51:31] local.INFO: TCP Data received {"connection_id":185443,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:51:31] local.INFO: Processing buffer {"connection_id":185443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:51:31] local.INFO: Packet analysis {"connection_id":185443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:51:31] local.INFO: Extracted packet for processing {"connection_id":185443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:51:31] 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-09-17 15:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":185443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:51:31] local.INFO: GPS data processed {"connection_id":185443,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:51:31] local.INFO: Acknowledgment sent {"connection_id":185443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:51:36] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:51:36] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:51:36] local.INFO: IMEI packet received {"connection_id":188067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 15:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":188067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:51:44] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:51:44] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:51:44] local.INFO: IMEI packet received {"connection_id":188067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 15:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":188067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:51:46] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee12da00100000000000000000000000000..."} 
[2026-09-17 15:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee12da00100000000000000000000000000..."} 
[2026-09-17 15:51:46] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee12da00100000000000000000000000000..."} 
[2026-09-17 15:51:46] local.INFO: Packet analysis {"connection_id":188067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee1"} 
[2026-09-17 15:51:46] local.INFO: Extracted packet for processing {"connection_id":188067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee1"} 
[2026-09-17 15:51:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789640388000,"timestamp_ms":1789640388000,"timestamp_seconds":1789640388,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee12da0"} 
[2026-09-17 15:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 15:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":188067,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 15:51:46] local.INFO: GPS data processed {"connection_id":188067,"processed":0,"errors":0,"total":1} 
[2026-09-17 15:51:46] local.INFO: Acknowledgment sent {"connection_id":188067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:51:56] local.INFO: TCP Data received {"connection_id":185444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee125d0012d7a13c005ec80c0000900fe20..."} 
[2026-09-17 15:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee125d0012d7a13c005ec80c0000900fe20..."} 
[2026-09-17 15:51:56] local.INFO: Processing buffer {"connection_id":185444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee125d0012d7a13c005ec80c0000900fe20..."} 
[2026-09-17 15:51:56] local.INFO: Packet analysis {"connection_id":185444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee1"} 
[2026-09-17 15:51:56] local.INFO: Extracted packet for processing {"connection_id":185444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee1"} 
[2026-09-17 15:51:56] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":32,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147933440001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789640386000,"timestamp_ms":1789640386000,"timestamp_seconds":1789640386,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee125d0"} 
[2026-09-17 15:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-17 15:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147933440001,"66":13319,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147933440001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:51:56] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:51:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147933440001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":185444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:51:57] local.INFO: GPS data processed {"connection_id":185444,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:51:57] local.INFO: Acknowledgment sent {"connection_id":185444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:52:06] local.INFO: TCP Data received {"connection_id":185300,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:52:06] local.INFO: Processing buffer {"connection_id":185300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:52:06] local.INFO: IMEI packet received {"connection_id":185300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":185300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:52:07] local.INFO: TCP Data received {"connection_id":185300,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee26df0012d0a76c00705c6280010015822..."} 
[2026-09-17 15:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee26df0012d0a76c00705c6280010015822..."} 
[2026-09-17 15:52:07] local.INFO: Processing buffer {"connection_id":185300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee26df0012d0a76c00705c6280010015822..."} 
[2026-09-17 15:52:07] local.INFO: Packet analysis {"connection_id":185300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee2"} 
[2026-09-17 15:52:07] local.INFO: Extracted packet for processing {"connection_id":185300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee2"} 
[2026-09-17 15:52:07] local.INFO: GPS Element Parsed {"raw_longitude":755660480,"raw_latitude":117818920,"longitude_deg":75.566048,"latitude_deg":11.781892,"altitude":16,"angle":344,"satellites":34,"speed":0,"hex_longitude":"2d0a76c0","hex_latitude":"0705c628","is_valid_coordinates":true} 
[2026-09-17 15:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147955200001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32887213125533696,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754423336490024960,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789640470000,"timestamp_ms":1789640470000,"timestamp_seconds":1789640470,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee26df0"} 
[2026-09-17 15:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 15:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147955200001,"66":14428,"153":206,"94":10240,"24":0,"16":32887213125533696,"45":754423336490024960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147955200001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:52:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:52:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32887213125533696,"km_value":32887213125533.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":754423336490024960,"description":"Unknown IO ID 45"} 
[2026-09-17 15:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147955200001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":754423336490024960}} 
[2026-09-17 15:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":185300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856365,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:52:07] local.INFO: GPS data processed {"connection_id":185300,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:52:07] local.INFO: Acknowledgment sent {"connection_id":185300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:52:11] local.INFO: TCP Data received {"connection_id":186755,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:52:11] local.INFO: Processing buffer {"connection_id":186755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:52:11] local.INFO: IMEI packet received {"connection_id":186755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":186755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:52:15] local.INFO: TCP Data received {"connection_id":185445,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:52:15] local.INFO: Processing buffer {"connection_id":185445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:52:15] local.INFO: IMEI packet received {"connection_id":185445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":185445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:52:20] local.INFO: TCP Data received {"connection_id":188068,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:52:20] local.INFO: Processing buffer {"connection_id":188068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:52:20] local.INFO: IMEI packet received {"connection_id":188068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":188068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:52:20] local.INFO: TCP Data received {"connection_id":185445,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:52:20] local.INFO: Processing buffer {"connection_id":185445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:52:20] local.INFO: IMEI packet received {"connection_id":185445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":185445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:52:21] local.INFO: TCP Data received {"connection_id":185445,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:52:21] local.INFO: Processing buffer {"connection_id":185445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aede6e80012d34c30006aa4608000a00b526..."} 
[2026-09-17 15:52:21] local.INFO: Packet analysis {"connection_id":185445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:52:21] local.INFO: Extracted packet for processing {"connection_id":185445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aede"} 
[2026-09-17 15:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147816192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789640208000,"timestamp_ms":1789640208000,"timestamp_seconds":1789640208,"priority":1,"record_length":96,"hex_timestamp":"000001a0aede6e80"} 
[2026-09-17 15:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 15:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147816192001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147816192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147816192001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":185445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:52:21] local.INFO: GPS data processed {"connection_id":185445,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:52:21] local.INFO: Acknowledgment sent {"connection_id":185445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:52:24] local.INFO: TCP Data received {"connection_id":188068,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:52:24] local.INFO: Processing buffer {"connection_id":188068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:52:24] local.INFO: IMEI packet received {"connection_id":188068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":188068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:52:26] local.INFO: TCP Data received {"connection_id":188068,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee177d8012d7a13c005ec80c0000900fe22..."} 
[2026-09-17 15:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee177d8012d7a13c005ec80c0000900fe22..."} 
[2026-09-17 15:52:26] local.INFO: Processing buffer {"connection_id":188068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee177d8012d7a13c005ec80c0000900fe22..."} 
[2026-09-17 15:52:26] local.INFO: Packet analysis {"connection_id":188068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee1"} 
[2026-09-17 15:52:26] local.INFO: Extracted packet for processing {"connection_id":188068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee1"} 
[2026-09-17 15:52:26] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385536,"longitude_deg":76.2975168,"latitude_deg":9.9385536,"altitude":9,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a13c0","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-09-17 15:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147938816001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134335805240901632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859940864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789640407000,"timestamp_ms":1789640407000,"timestamp_seconds":1789640407,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee177d8"} 
[2026-09-17 15:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2933864864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3755847681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-9169328802654969344,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2818649466,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3221613696,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967860736,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-1758654359654907899,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:26] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,65,160,211,45,192,128,9,33,10,66,129,47,1,240,182,227,174,236,4,113,205,139,19,35,239,52,2,221,5,214,222],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-17 15:52:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648797759733760000,"timestamp_seconds":648797759733760,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147938816001,"66":13428,"100":206,"87":13824,"24":0,"16":134335805240901632,"45":8796585628859940864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147938816001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:52:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:52:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134335805240901632,"km_value":134335805240901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859940864,"description":"Unknown IO ID 45"} 
[2026-09-17 15:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147938816001,"power":13428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796585628859940864}} 
[2026-09-17 15:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":188068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:52:26] local.INFO: GPS data processed {"connection_id":188068,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:52:26] local.INFO: Acknowledgment sent {"connection_id":188068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:52:37] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee17fa80100000000000000000000000000..."} 
[2026-09-17 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee17fa80100000000000000000000000000..."} 
[2026-09-17 15:52:37] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee17fa80100000000000000000000000000..."} 
[2026-09-17 15:52:37] local.INFO: Packet analysis {"connection_id":188067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee1"} 
[2026-09-17 15:52:37] local.INFO: Extracted packet for processing {"connection_id":188067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee1"} 
[2026-09-17 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 15:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21144527725133824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,214,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789640409000,"timestamp_ms":1789640409000,"timestamp_seconds":1789640409,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee17fa8"} 
[2026-09-17 15:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-17 15:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":188067,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 15:52:37] local.INFO: GPS data processed {"connection_id":188067,"processed":0,"errors":0,"total":1} 
[2026-09-17 15:52:37] local.INFO: Acknowledgment sent {"connection_id":188067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:52:38] local.INFO: TCP Data received {"connection_id":185300,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee396d0012d0a7340070606c8000b001223..."} 
[2026-09-17 15:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee396d0012d0a7340070606c8000b001223..."} 
[2026-09-17 15:52:38] local.INFO: Processing buffer {"connection_id":185300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee396d0012d0a7340070606c8000b001223..."} 
[2026-09-17 15:52:38] local.INFO: Packet analysis {"connection_id":185300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:52:38] local.INFO: Extracted packet for processing {"connection_id":185300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117835464,"longitude_deg":75.5659584,"latitude_deg":11.7835464,"altitude":11,"angle":18,"satellites":35,"speed":3,"hex_longitude":"2d0a7340","hex_latitude":"070606c8","is_valid_coordinates":true} 
[2026-09-17 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147975936001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32888033464287232,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961611014144,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789640546000,"timestamp_ms":1789640546000,"timestamp_seconds":1789640546,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee396d0"} 
[2026-09-17 15:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 15:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147975936001,"66":14450,"153":206,"94":10240,"24":3,"16":32888033464287232,"45":753015961611014144},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147975936001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:52:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:52:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32888033464287232,"km_value":32888033464287.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961611014144,"description":"Unknown IO ID 45"} 
[2026-09-17 15:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147975936001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":753015961611014144}} 
[2026-09-17 15:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":185300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:52:38] local.INFO: GPS data processed {"connection_id":185300,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:52:38] local.INFO: Acknowledgment sent {"connection_id":185300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:52:52] local.INFO: TCP Data received {"connection_id":185445,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:52:52] local.INFO: Processing buffer {"connection_id":185445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:52:52] local.INFO: Packet analysis {"connection_id":185445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:52:52] local.INFO: Extracted packet for processing {"connection_id":185445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":185445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:52:52] local.INFO: GPS data processed {"connection_id":185445,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:52:52] local.INFO: Acknowledgment sent {"connection_id":185445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:52:55] local.INFO: TCP Data received {"connection_id":186756,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:52:55] local.INFO: Processing buffer {"connection_id":186756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:52:55] local.INFO: IMEI packet received {"connection_id":186756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":186756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:52:56] local.INFO: TCP Data received {"connection_id":186757,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:52:56] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:52:56] local.INFO: IMEI packet received {"connection_id":186757,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":186757,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:52:58] local.INFO: TCP Data received {"connection_id":188068,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee34c98012d7a030005ec54d00006009e22..."} 
[2026-09-17 15:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee34c98012d7a030005ec54d00006009e22..."} 
[2026-09-17 15:52:58] local.INFO: Processing buffer {"connection_id":188068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee34c98012d7a030005ec54d00006009e22..."} 
[2026-09-17 15:52:58] local.INFO: Packet analysis {"connection_id":188068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:52:58] local.INFO: Extracted packet for processing {"connection_id":188068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:52:58] local.INFO: GPS Element Parsed {"raw_longitude":762970880,"raw_latitude":99374288,"longitude_deg":76.297088,"latitude_deg":9.9374288,"altitude":6,"angle":158,"satellites":34,"speed":4,"hex_longitude":"2d7a0300","hex_latitude":"05ec54d0","is_valid_coordinates":true} 
[2026-09-17 15:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147969536001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134336604104818688,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791378341788235776,"note":"Value kept but may cause issues"} 
[2026-09-17 15:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789640527000,"timestamp_ms":1789640527000,"timestamp_seconds":1789640527,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee34c98"} 
[2026-09-17 15:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147969536001,"66":13428,"100":206,"87":13824,"24":4,"16":134336604104818688,"45":8791378341788235776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147969536001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:52:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134336604104818688,"km_value":134336604104818.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791378341788235776,"description":"Unknown IO ID 45"} 
[2026-09-17 15:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147969536001,"power":13428,"unknown_100":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8791378341788235776}} 
[2026-09-17 15:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":188068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:52:58] local.INFO: GPS data processed {"connection_id":188068,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:52:58] local.INFO: Acknowledgment sent {"connection_id":188068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:52:58] local.INFO: TCP Data received {"connection_id":186757,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:52:58] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:52:58] local.INFO: IMEI packet received {"connection_id":186757,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":186757,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:53:00] local.INFO: TCP Data received {"connection_id":186757,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:00] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:00] local.INFO: IMEI packet received {"connection_id":186757,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":186757,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:53:01] local.INFO: TCP Data received {"connection_id":186757,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee3a288012d0a7380070608b8000b000520..."} 
[2026-09-17 15:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee3a288012d0a7380070608b8000b000520..."} 
[2026-09-17 15:53:01] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee3a288012d0a7380070608b8000b000520..."} 
[2026-09-17 15:53:01] local.INFO: Packet analysis {"connection_id":186757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:01] local.INFO: Extracted packet for processing {"connection_id":186757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117835960,"longitude_deg":75.5659648,"latitude_deg":11.783596,"altitude":11,"angle":5,"satellites":32,"speed":6,"hex_longitude":"2d0a7380","hex_latitude":"070608b8","is_valid_coordinates":true} 
[2026-09-17 15:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147979776001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32888059234091008,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961611061248,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789640549000,"timestamp_ms":1789640549000,"timestamp_seconds":1789640549,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee3a288"} 
[2026-09-17 15:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 15:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186757,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186757,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147979776001,"66":14396,"153":206,"94":10240,"24":6,"16":32888059234091008,"45":753015961611061248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147979776001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:53:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:53:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32888059234091008,"km_value":32888059234091.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961611061248,"description":"Unknown IO ID 45"} 
[2026-09-17 15:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147979776001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":753015961611061248}} 
[2026-09-17 15:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":186757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856371,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:53:01] local.INFO: GPS data processed {"connection_id":186757,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:53:01] local.INFO: Acknowledgment sent {"connection_id":186757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:53:10] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee413d0012d024900072b1c100029008e12..."} 
[2026-09-17 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee413d0012d024900072b1c100029008e12..."} 
[2026-09-17 15:53:10] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee413d0012d024900072b1c100029008e12..."} 
[2026-09-17 15:53:10] local.INFO: Packet analysis {"connection_id":188067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:53:10] local.INFO: Extracted packet for processing {"connection_id":188067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:53:10] local.INFO: GPS Element Parsed {"raw_longitude":755124480,"raw_latitude":120265744,"longitude_deg":75.512448,"latitude_deg":12.0265744,"altitude":41,"angle":142,"satellites":18,"speed":18,"hex_longitude":"2d024900","hex_latitude":"072b1c10","is_valid_coordinates":true} 
[2026-09-17 15:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147987712001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21145554222317568,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":164451785931313152,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789640578000,"timestamp_ms":1789640578000,"timestamp_seconds":1789640578,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee413d0"} 
[2026-09-17 15:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6990783433,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934165864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503922278006784,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3823687681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1377763534,"corrected_to":0} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147953442,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837522,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84726373172063013,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.WARNING: Large IO value detected {"io_id":128,"raw_value":10696444553988352,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,31,83,24,241,157,16,160,8,45,64,40,18,10,66,244,30,43,240,192,1,185,227,174,4,113,205,14,217,52,248,239,55,2,75,7,38,206,152,128],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1377763534,"validated":0}]} 
[2026-09-17 15:53:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954505468888875008,"timestamp_seconds":2954505468888875.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147987712001,"66":14341,"31":206,"83":44288,"24":18,"16":21145554222317568,"45":164451785931313152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-17 15:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 15:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 15:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147987712001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:53:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 15:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 15:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21145554222317568,"km_value":21145554222317.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":164451785931313152,"description":"Unknown IO ID 45"} 
[2026-09-17 15:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147987712001,"power":14341,"unknown_31":206,"unknown_83":44288,"ignition":18,"odometer":null,"unknown_45":164451785931313152}} 
[2026-09-17 15:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":188067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:53:10] local.INFO: GPS data processed {"connection_id":188067,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:53:10] local.INFO: Acknowledgment sent {"connection_id":188067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:53:15] local.INFO: TCP Data received {"connection_id":188069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:53:15] local.INFO: Processing buffer {"connection_id":188069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:53:15] local.INFO: IMEI packet received {"connection_id":188069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":188069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:53:19] local.INFO: TCP Data received {"connection_id":185446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:53:19] local.INFO: Processing buffer {"connection_id":185446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:53:19] local.INFO: IMEI packet received {"connection_id":185446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":185446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:53:20] local.INFO: TCP Data received {"connection_id":188069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:53:20] local.INFO: Processing buffer {"connection_id":188069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:53:20] local.INFO: IMEI packet received {"connection_id":188069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":188069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:53:21] local.INFO: TCP Data received {"connection_id":188069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:53:21] local.INFO: Processing buffer {"connection_id":188069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:53:21] local.INFO: Packet analysis {"connection_id":188069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:21] local.INFO: Extracted packet for processing {"connection_id":188069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:53: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-09-17 15:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:53:21] 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-09-17 15:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":188069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:53:21] local.INFO: GPS data processed {"connection_id":188069,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:53:21] local.INFO: Acknowledgment sent {"connection_id":188069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:53:22] local.INFO: TCP Data received {"connection_id":185446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:53:22] local.INFO: Processing buffer {"connection_id":185446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:53:22] local.INFO: IMEI packet received {"connection_id":185446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":185446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:53:24] local.INFO: TCP Data received {"connection_id":185446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee39ea0012d7a07c005ec4318000500a421..."} 
[2026-09-17 15:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee39ea0012d7a07c005ec4318000500a421..."} 
[2026-09-17 15:53:24] local.INFO: Processing buffer {"connection_id":185446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee39ea0012d7a07c005ec4318000500a421..."} 
[2026-09-17 15:53:24] local.INFO: Packet analysis {"connection_id":185446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:24] local.INFO: Extracted packet for processing {"connection_id":185446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:24] local.INFO: GPS Element Parsed {"raw_longitude":762972096,"raw_latitude":99369752,"longitude_deg":76.2972096,"latitude_deg":9.9369752,"altitude":5,"angle":164,"satellites":33,"speed":10,"hex_longitude":"2d7a07c0","hex_latitude":"05ec4318","is_valid_coordinates":true} 
[2026-09-17 15:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147974912001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134336831738085376,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791870922997157888,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789640548000,"timestamp_ms":1789640548000,"timestamp_seconds":1789640548,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee39ea0"} 
[2026-09-17 15:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 15:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147974912001,"66":13243,"100":206,"87":13824,"24":10,"16":134336831738085376,"45":8791870922997157888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147974912001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:53:24] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:53:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134336831738085376,"km_value":134336831738085.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791870922997157888,"description":"Unknown IO ID 45"} 
[2026-09-17 15:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147974912001,"power":13243,"unknown_100":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8791870922997157888}} 
[2026-09-17 15:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":185446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:53:24] local.INFO: GPS data processed {"connection_id":185446,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:53:24] local.INFO: Acknowledgment sent {"connection_id":185446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:53:34] local.INFO: TCP Data received {"connection_id":186757,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee45a20012d0a8800070613f0000800b424..."} 
[2026-09-17 15:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee45a20012d0a8800070613f0000800b424..."} 
[2026-09-17 15:53:34] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee45a20012d0a8800070613f0000800b424..."} 
[2026-09-17 15:53:34] local.INFO: Packet analysis {"connection_id":186757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:53:34] local.INFO: Extracted packet for processing {"connection_id":186757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:53:34] local.INFO: GPS Element Parsed {"raw_longitude":755664896,"raw_latitude":117838832,"longitude_deg":75.5664896,"latitude_deg":11.7838832,"altitude":8,"angle":180,"satellites":36,"speed":3,"hex_longitude":"2d0a8800","hex_latitude":"070613f0","is_valid_coordinates":true} 
[2026-09-17 15:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147992320001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32888510205657088,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758926936122863616,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789640596000,"timestamp_ms":1789640596000,"timestamp_seconds":1789640596,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee45a20"} 
[2026-09-17 15:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 15:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":186757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":186757,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":186757,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147992320001,"66":14548,"153":206,"94":10240,"24":3,"16":32888510205657088,"45":758926936122863616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147992320001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:53:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:53:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32888510205657088,"km_value":32888510205657.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":758926936122863616,"description":"Unknown IO ID 45"} 
[2026-09-17 15:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147992320001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":758926936122863616}} 
[2026-09-17 15:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":186757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:53:34] local.INFO: GPS data processed {"connection_id":186757,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:53:34] local.INFO: Acknowledgment sent {"connection_id":186757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:53:42] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee417b8012d0249c0072b1ab00028009912..."} 
[2026-09-17 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee417b8012d0249c0072b1ab00028009912..."} 
[2026-09-17 15:53:42] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee417b8012d0249c0072b1ab00028009912..."} 
[2026-09-17 15:53:42] local.INFO: Packet analysis {"connection_id":188067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:53:42] local.INFO: Extracted packet for processing {"connection_id":188067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":755124672,"raw_latitude":120265392,"longitude_deg":75.5124672,"latitude_deg":12.0265392,"altitude":40,"angle":153,"satellites":18,"speed":18,"hex_longitude":"2d0249c0","hex_latitude":"072b1ab0","is_valid_coordinates":true} 
[2026-09-17 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147987968001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21145571402186752,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":164662892163764224,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789640579000,"timestamp_ms":1789640579000,"timestamp_seconds":1789640579,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee417b8"} 
[2026-09-17 15:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6990783441,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934167864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503922278596608,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3824199681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1377763534,"corrected_to":0} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3623955714,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2147953439,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485650,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84726382835739428,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.WARNING: Large IO value detected {"io_id":184,"raw_value":10696569108040192,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:42] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,31,83,24,241,157,16,160,15,45,64,29,41,18,10,66,8,40,244,1,240,185,227,174,43,4,113,205,13,232,56,96,239,55,2,75,7,12,206,104,184],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1377763534,"validated":0}]} 
[2026-09-17 15:53:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954517563516780544,"timestamp_seconds":2954517563516780.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147987968001,"66":14396,"31":206,"83":44288,"24":18,"16":21145571402186752,"45":164662892163764224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-17 15:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 15:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 15:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147987968001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:53:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 15:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 15:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21145571402186752,"km_value":21145571402186.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":164662892163764224,"description":"Unknown IO ID 45"} 
[2026-09-17 15:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147987968001,"power":14396,"unknown_31":206,"unknown_83":44288,"ignition":18,"odometer":null,"unknown_45":164662892163764224}} 
[2026-09-17 15:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":188067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:53:42] local.INFO: GPS data processed {"connection_id":188067,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:53:42] local.INFO: Acknowledgment sent {"connection_id":188067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:53:53] local.INFO: TCP Data received {"connection_id":188069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:53:53] local.INFO: Processing buffer {"connection_id":188069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:53:53] local.INFO: Packet analysis {"connection_id":188069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:53] local.INFO: Extracted packet for processing {"connection_id":188069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:53:53] 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-09-17 15:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":188069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:53:53] local.INFO: GPS data processed {"connection_id":188069,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:53:53] local.INFO: Acknowledgment sent {"connection_id":188069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:53:55] local.INFO: TCP Data received {"connection_id":185446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee3e8d8012d7a130005ec20c00004009c1b..."} 
[2026-09-17 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee3e8d8012d7a130005ec20c00004009c1b..."} 
[2026-09-17 15:53:55] local.INFO: Processing buffer {"connection_id":185446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee3e8d8012d7a130005ec20c00004009c1b..."} 
[2026-09-17 15:53:55] local.INFO: Packet analysis {"connection_id":185446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:55] local.INFO: Extracted packet for processing {"connection_id":185446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99360960,"longitude_deg":76.2974976,"latitude_deg":9.936096,"altitude":4,"angle":156,"satellites":27,"speed":25,"hex_longitude":"2d7a1300","hex_latitude":"05ec20c0","is_valid_coordinates":true} 
[2026-09-17 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147980288001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134337282709651456,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793207929135372288,"note":"Value kept but may cause issues"} 
[2026-09-17 15:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789640567000,"timestamp_ms":1789640567000,"timestamp_seconds":1789640567,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee3e8d8"} 
[2026-09-17 15:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 15:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147980288001,"66":13319,"100":206,"87":13824,"24":25,"16":134337282709651456,"45":8793207929135372288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147980288001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:53:55] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:53:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134337282709651456,"km_value":134337282709651.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793207929135372288,"description":"Unknown IO ID 45"} 
[2026-09-17 15:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147980288001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8793207929135372288}} 
[2026-09-17 15:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":185446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:53:55] local.INFO: GPS data processed {"connection_id":185446,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:53:55] local.INFO: Acknowledgment sent {"connection_id":185446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:53:55] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:55] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:55] local.INFO: IMEI packet received {"connection_id":185448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":185448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:53:56] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:56] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:56] local.INFO: IMEI packet received {"connection_id":185448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":185448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:53:59] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:59] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:53:59] local.INFO: IMEI packet received {"connection_id":185448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":185448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:54:01] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:54:01] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:54:01] local.INFO: IMEI packet received {"connection_id":185448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":185448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:54:01] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee45e08012d0a8800070613b8000800c023..."} 
[2026-09-17 15:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee45e08012d0a8800070613b8000800c023..."} 
[2026-09-17 15:54:01] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee45e08012d0a8800070613b8000800c023..."} 
[2026-09-17 15:54:01] local.INFO: Packet analysis {"connection_id":185448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:01] local.INFO: Extracted packet for processing {"connection_id":185448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:01] local.INFO: GPS Element Parsed {"raw_longitude":755664896,"raw_latitude":117838776,"longitude_deg":75.5664896,"latitude_deg":11.7838776,"altitude":8,"angle":192,"satellites":35,"speed":2,"hex_longitude":"2d0a8800","hex_latitude":"070613b8","is_valid_coordinates":true} 
[2026-09-17 15:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147992576001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32888514500624384,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758856567378669568,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789640597000,"timestamp_ms":1789640597000,"timestamp_seconds":1789640597,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee45e08"} 
[2026-09-17 15:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 15:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147992576001,"66":14548,"153":206,"94":10240,"24":2,"16":32888514500624384,"45":758856567378669568},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147992576001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:54:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:54:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32888514500624384,"km_value":32888514500624.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":758856567378669568,"description":"Unknown IO ID 45"} 
[2026-09-17 15:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147992576001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":758856567378669568}} 
[2026-09-17 15:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":185448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:54:01] local.INFO: GPS data processed {"connection_id":185448,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:54:01] local.INFO: Acknowledgment sent {"connection_id":185448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:54:13] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee41f88012d024a80072b17a8002700a512..."} 
[2026-09-17 15:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee41f88012d024a80072b17a8002700a512..."} 
[2026-09-17 15:54:13] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee41f88012d024a80072b17a8002700a512..."} 
[2026-09-17 15:54:13] local.INFO: Packet analysis {"connection_id":188067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:13] local.INFO: Extracted packet for processing {"connection_id":188067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:13] local.INFO: GPS Element Parsed {"raw_longitude":755124864,"raw_latitude":120264616,"longitude_deg":75.5124864,"latitude_deg":12.0264616,"altitude":39,"angle":165,"satellites":18,"speed":18,"hex_longitude":"2d024a80","hex_latitude":"072b17a8","is_valid_coordinates":true} 
[2026-09-17 15:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147988224001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21145614351859712,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":164873998396207104,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789640581000,"timestamp_ms":1789640581000,"timestamp_seconds":1789640581,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee41f88"} 
[2026-09-17 15:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 15:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147988224001,"66":14298,"31":206,"83":44288,"24":18,"16":21145614351859712,"45":164873998396207104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-17 15:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 15:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 15:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147988224001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:54:13] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 15:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 15:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21145614351859712,"km_value":21145614351859.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":164873998396207104,"description":"Unknown IO ID 45"} 
[2026-09-17 15:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147988224001,"power":14298,"unknown_31":206,"unknown_83":44288,"ignition":18,"odometer":null,"unknown_45":164873998396207104}} 
[2026-09-17 15:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":188067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:54:13] local.INFO: GPS data processed {"connection_id":188067,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:54:13] local.INFO: Acknowledgment sent {"connection_id":188067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:54:15] local.INFO: TCP Data received {"connection_id":188070,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:54:15] local.INFO: Processing buffer {"connection_id":188070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:54:15] local.INFO: IMEI packet received {"connection_id":188070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":188070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:54:20] local.INFO: TCP Data received {"connection_id":188070,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:54:20] local.INFO: Processing buffer {"connection_id":188070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:54:20] local.INFO: IMEI packet received {"connection_id":188070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":188070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:54:20] local.INFO: TCP Data received {"connection_id":185301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:54:20] local.INFO: Processing buffer {"connection_id":185301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:54:20] local.INFO: IMEI packet received {"connection_id":185301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":185301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:54:20] local.INFO: TCP Data received {"connection_id":185301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:54:20] local.INFO: Processing buffer {"connection_id":185301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:54:20] local.INFO: IMEI packet received {"connection_id":185301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":185301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:54:21] local.INFO: TCP Data received {"connection_id":188070,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:54:21] local.INFO: Processing buffer {"connection_id":188070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:54:21] local.INFO: Packet analysis {"connection_id":188070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:54:21] local.INFO: Extracted packet for processing {"connection_id":188070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:54: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-09-17 15:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":188070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:54:21] local.INFO: GPS data processed {"connection_id":188070,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:54:21] local.INFO: Acknowledgment sent {"connection_id":188070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:54:24] local.INFO: TCP Data received {"connection_id":185301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:54:24] local.INFO: Processing buffer {"connection_id":185301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:54:24] local.INFO: IMEI packet received {"connection_id":185301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":185301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:54:25] local.INFO: TCP Data received {"connection_id":185301,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee41f88012d7a200005ebff580004009d1b..."} 
[2026-09-17 15:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee41f88012d7a200005ebff580004009d1b..."} 
[2026-09-17 15:54:25] local.INFO: Processing buffer {"connection_id":185301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee41f88012d7a200005ebff580004009d1b..."} 
[2026-09-17 15:54:25] local.INFO: Packet analysis {"connection_id":185301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:25] local.INFO: Extracted packet for processing {"connection_id":185301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:25] local.INFO: GPS Element Parsed {"raw_longitude":762978304,"raw_latitude":99352408,"longitude_deg":76.2978304,"latitude_deg":9.9352408,"altitude":4,"angle":157,"satellites":27,"speed":21,"hex_longitude":"2d7a2000","hex_latitude":"05ebff58","is_valid_coordinates":true} 
[2026-09-17 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147985152001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134337729386250240,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522621116416,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640581000,"timestamp_ms":1789640581000,"timestamp_seconds":1789640581,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee41f88"} 
[2026-09-17 15:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934086864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967016960,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3802695681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":236,"raw_value":8432990332328551936,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2684431737,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2147871858,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.WARNING: Large IO value detected {"io_id":226,"raw_value":7077408109244268549,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,67,160,158,45,192,5,33,10,66,76,84,6,34,250,64,1,240,133,227,174,236,4,113,205,164,249,36,239,52,2,221,7,3,51,226],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-17 15:54:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288402015931400192,"timestamp_seconds":288402015931400.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147985152001,"66":13189,"100":206,"87":13824,"24":21,"16":134337729386250240,"45":8796374522621116416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-17 15:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147985152001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:54:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-17 15:54:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134337729386250240,"km_value":134337729386250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522621116416,"description":"Unknown IO ID 45"} 
[2026-09-17 15:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147985152001,"power":13189,"unknown_100":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8796374522621116416}} 
[2026-09-17 15:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":185301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:54:25] local.INFO: GPS data processed {"connection_id":185301,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:54:25] local.INFO: Acknowledgment sent {"connection_id":185301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:54:33] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee48130012d0a8740070613d00008013b23..."} 
[2026-09-17 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee48130012d0a8740070613d00008013b23..."} 
[2026-09-17 15:54:33] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee48130012d0a8740070613d00008013b23..."} 
[2026-09-17 15:54:33] local.INFO: Packet analysis {"connection_id":185448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:33] local.INFO: Extracted packet for processing {"connection_id":185448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":755664704,"raw_latitude":117838800,"longitude_deg":75.5664704,"latitude_deg":11.78388,"altitude":8,"angle":315,"satellites":35,"speed":2,"hex_longitude":"2d0a8740","hex_latitude":"070613d0","is_valid_coordinates":true} 
[2026-09-17 15:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147992832001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32888531680493568,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758856567378655232,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789640606000,"timestamp_ms":1789640606000,"timestamp_seconds":1789640606,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee48130"} 
[2026-09-17 15:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 15:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147992832001,"66":14450,"153":206,"94":10240,"24":2,"16":32888531680493568,"45":758856567378655232},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147992832001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:54:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:54:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32888531680493568,"km_value":32888531680493.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":758856567378655232,"description":"Unknown IO ID 45"} 
[2026-09-17 15:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147992832001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":758856567378655232}} 
[2026-09-17 15:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":185448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:54:33] local.INFO: GPS data processed {"connection_id":185448,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:54:33] local.INFO: Acknowledgment sent {"connection_id":185448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:54:34] local.INFO: TCP Data received {"connection_id":185302,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:34] local.INFO: Processing buffer {"connection_id":185302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:34] local.INFO: IMEI packet received {"connection_id":185302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 15:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":185302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:54:35] local.INFO: TCP Data received {"connection_id":185302,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:35] local.INFO: Processing buffer {"connection_id":185302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:35] local.INFO: IMEI packet received {"connection_id":185302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 15:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":185302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:54:36] local.INFO: TCP Data received {"connection_id":185302,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:36] local.INFO: Processing buffer {"connection_id":185302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:36] local.INFO: IMEI packet received {"connection_id":185302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 15:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":185302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:54:37] local.INFO: TCP Data received {"connection_id":185302,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:37] local.INFO: Processing buffer {"connection_id":185302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:54:37] local.INFO: IMEI packet received {"connection_id":185302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 15:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":185302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:54:53] local.INFO: TCP Data received {"connection_id":188070,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:54:53] local.INFO: Processing buffer {"connection_id":188070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:54:53] local.INFO: Packet analysis {"connection_id":188070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:54:53] local.INFO: Extracted packet for processing {"connection_id":188070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":188070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:54:53] local.INFO: GPS data processed {"connection_id":188070,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:54:53] local.INFO: Acknowledgment sent {"connection_id":188070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:54:56] local.INFO: TCP Data received {"connection_id":185301,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee46da8012d7a2a4005ebe8e8000700971d..."} 
[2026-09-17 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee46da8012d7a2a4005ebe8e8000700971d..."} 
[2026-09-17 15:54:56] local.INFO: Processing buffer {"connection_id":185301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee46da8012d7a2a4005ebe8e8000700971d..."} 
[2026-09-17 15:54:56] local.INFO: Packet analysis {"connection_id":185301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:56] local.INFO: Extracted packet for processing {"connection_id":185301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:54:56] local.INFO: GPS Element Parsed {"raw_longitude":762980928,"raw_latitude":99346664,"longitude_deg":76.2980928,"latitude_deg":9.9346664,"altitude":7,"angle":151,"satellites":29,"speed":14,"hex_longitude":"2d7a2a40","hex_latitude":"05ebe8e8","is_valid_coordinates":true} 
[2026-09-17 15:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147988736001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134338038623895552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800033697316165632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789640601000,"timestamp_ms":1789640601000,"timestamp_seconds":1789640601,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee46da8"} 
[2026-09-17 15:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 15:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147988736001,"66":13559,"99":206,"87":13824,"24":14,"16":134338038623895552,"45":8800033697316165632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 15:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147988736001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:54:56] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 15:54:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134338038623895552,"km_value":134338038623895.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800033697316165632,"description":"Unknown IO ID 45"} 
[2026-09-17 15:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147988736001,"power":13559,"unknown_99":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8800033697316165632}} 
[2026-09-17 15:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":185301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:54:56] local.INFO: GPS data processed {"connection_id":185301,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:54:56] local.INFO: Acknowledgment sent {"connection_id":185301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:54:56] local.INFO: TCP Data received {"connection_id":185303,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:54:56] local.INFO: Processing buffer {"connection_id":185303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:54:56] local.INFO: IMEI packet received {"connection_id":185303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":185303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:54:58] local.INFO: TCP Data received {"connection_id":185303,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:54:58] local.INFO: Processing buffer {"connection_id":185303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:54:58] local.INFO: IMEI packet received {"connection_id":185303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":185303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:55:01] local.INFO: TCP Data received {"connection_id":185303,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:55:01] local.INFO: Processing buffer {"connection_id":185303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:55:01] local.INFO: IMEI packet received {"connection_id":185303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":185303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:55:02] local.INFO: TCP Data received {"connection_id":185303,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee59688012d0a72800705e058001300ca20..."} 
[2026-09-17 15:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee59688012d0a72800705e058001300ca20..."} 
[2026-09-17 15:55:02] local.INFO: Processing buffer {"connection_id":185303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee59688012d0a72800705e058001300ca20..."} 
[2026-09-17 15:55:02] local.INFO: Packet analysis {"connection_id":185303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee5"} 
[2026-09-17 15:55:02] local.INFO: Extracted packet for processing {"connection_id":185303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee5"} 
[2026-09-17 15:55:02] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117825624,"longitude_deg":75.5659392,"latitude_deg":11.7825624,"altitude":19,"angle":202,"satellites":32,"speed":10,"hex_longitude":"2d0a7280","hex_latitude":"0705e058","is_valid_coordinates":true} 
[2026-09-17 15:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148012800001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32889429328658432,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330352836608,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789640677000,"timestamp_ms":1789640677000,"timestamp_seconds":1789640677,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee59688"} 
[2026-09-17 15:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 15:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148012800001,"66":14646,"153":206,"94":10240,"24":10,"16":32889429328658432,"45":753086330352836608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148012800001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:55:02] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:55:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32889429328658432,"km_value":32889429328658.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330352836608,"description":"Unknown IO ID 45"} 
[2026-09-17 15:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148012800001,"power":14646,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753086330352836608}} 
[2026-09-17 15:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":185303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:55:02] local.INFO: GPS data processed {"connection_id":185303,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:55:02] local.INFO: Acknowledgment sent {"connection_id":185303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:55:19] local.INFO: TCP Data received {"connection_id":185451,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:55:19] local.INFO: Processing buffer {"connection_id":185451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:55:19] local.INFO: IMEI packet received {"connection_id":185451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":185451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:55:20] local.INFO: TCP Data received {"connection_id":185450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:55:20] local.INFO: Processing buffer {"connection_id":185450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:55:20] local.INFO: IMEI packet received {"connection_id":185450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":185450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:55:24] local.INFO: TCP Data received {"connection_id":185451,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:55:24] local.INFO: Processing buffer {"connection_id":185451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:55:24] local.INFO: IMEI packet received {"connection_id":185451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":185451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:55:25] local.INFO: TCP Data received {"connection_id":185450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:55:25] local.INFO: Processing buffer {"connection_id":185450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:55:25] local.INFO: IMEI packet received {"connection_id":185450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":185450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:55:25] local.INFO: TCP Data received {"connection_id":185451,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee4bfb0012d7a394005ebc9700008009e20..."} 
[2026-09-17 15:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee4bfb0012d7a394005ebc9700008009e20..."} 
[2026-09-17 15:55:25] local.INFO: Processing buffer {"connection_id":185451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee4bfb0012d7a394005ebc9700008009e20..."} 
[2026-09-17 15:55:25] local.INFO: Packet analysis {"connection_id":185451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:55:25] local.INFO: Extracted packet for processing {"connection_id":185451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:55:25] local.INFO: GPS Element Parsed {"raw_longitude":762984768,"raw_latitude":99338608,"longitude_deg":76.2984768,"latitude_deg":9.9338608,"altitude":8,"angle":158,"satellites":32,"speed":21,"hex_longitude":"2d7a3940","hex_latitude":"05ebc970","is_valid_coordinates":true} 
[2026-09-17 15:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147993856001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134338468120625152,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802918815825979392,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640622000,"timestamp_ms":1789640622000,"timestamp_seconds":1789640622,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee4bfb0"} 
[2026-09-17 15:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-17 15:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147993856001,"66":13091,"99":206,"87":13824,"24":21,"16":134338468120625152,"45":8802918815825979392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 15:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147993856001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:55:25] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 15:55:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134338468120625152,"km_value":134338468120625.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802918815825979392,"description":"Unknown IO ID 45"} 
[2026-09-17 15:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147993856001,"power":13091,"unknown_99":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8802918815825979392}} 
[2026-09-17 15:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":185451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:55:26] local.INFO: GPS data processed {"connection_id":185451,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:55:26] local.INFO: Acknowledgment sent {"connection_id":185451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:55:26] local.INFO: TCP Data received {"connection_id":185450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:55:26] local.INFO: Processing buffer {"connection_id":185450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:55:26] local.INFO: Packet analysis {"connection_id":185450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:55:26] local.INFO: Extracted packet for processing {"connection_id":185450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:55:26] 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-09-17 15:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:55:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":185450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:55:26] local.INFO: GPS data processed {"connection_id":185450,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:55:26] local.INFO: Acknowledgment sent {"connection_id":185450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:55:34] local.INFO: TCP Data received {"connection_id":185303,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee59a70012d0a72400705df38001300bd20..."} 
[2026-09-17 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee59a70012d0a72400705df38001300bd20..."} 
[2026-09-17 15:55:34] local.INFO: Processing buffer {"connection_id":185303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee59a70012d0a72400705df38001300bd20..."} 
[2026-09-17 15:55:34] local.INFO: Packet analysis {"connection_id":185303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee5"} 
[2026-09-17 15:55:34] local.INFO: Extracted packet for processing {"connection_id":185303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee5"} 
[2026-09-17 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825336,"longitude_deg":75.5659328,"latitude_deg":11.7825336,"altitude":19,"angle":189,"satellites":32,"speed":10,"hex_longitude":"2d0a7240","hex_latitude":"0705df38","is_valid_coordinates":true} 
[2026-09-17 15:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148013312001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32889442213560320,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855376009216,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789640678000,"timestamp_ms":1789640678000,"timestamp_seconds":1789640678,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee59a70"} 
[2026-09-17 15:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-17 15:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148013312001,"66":14515,"153":206,"94":10240,"24":10,"16":32889442213560320,"45":752804855376009216},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148013312001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:55:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:55:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32889442213560320,"km_value":32889442213560.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855376009216,"description":"Unknown IO ID 45"} 
[2026-09-17 15:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148013312001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":752804855376009216}} 
[2026-09-17 15:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":185303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856389,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:55:34] local.INFO: GPS data processed {"connection_id":185303,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:55:34] local.INFO: Acknowledgment sent {"connection_id":185303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:55:57] local.INFO: TCP Data received {"connection_id":185451,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee4cf50012d7a3e4005ebc098000700921d..."} 
[2026-09-17 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee4cf50012d7a3e4005ebc098000700921d..."} 
[2026-09-17 15:55:57] local.INFO: Processing buffer {"connection_id":185451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee4cf50012d7a3e4005ebc098000700921d..."} 
[2026-09-17 15:55:57] local.INFO: Packet analysis {"connection_id":185451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:55:57] local.INFO: Extracted packet for processing {"connection_id":185451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee4"} 
[2026-09-17 15:55:57] local.INFO: GPS Element Parsed {"raw_longitude":762986048,"raw_latitude":99336344,"longitude_deg":76.2986048,"latitude_deg":9.9336344,"altitude":7,"angle":146,"satellites":29,"speed":28,"hex_longitude":"2d7a3e40","hex_latitude":"05ebc098","is_valid_coordinates":true} 
[2026-09-17 15:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147999232001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134338596969644032,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807140940474576896,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789640626000,"timestamp_ms":1789640626000,"timestamp_seconds":1789640626,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee4cf50"} 
[2026-09-17 15:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 15:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147999232001,"66":13428,"99":206,"87":13824,"24":28,"16":134338596969644032,"45":8807140940474576896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 15:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147999232001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:55:57] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 15:55:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134338596969644032,"km_value":134338596969644.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807140940474576896,"description":"Unknown IO ID 45"} 
[2026-09-17 15:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147999232001,"power":13428,"unknown_99":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8807140940474576896}} 
[2026-09-17 15:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":185451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:55:57] local.INFO: GPS data processed {"connection_id":185451,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:55:57] local.INFO: Acknowledgment sent {"connection_id":185451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:55:58] local.INFO: TCP Data received {"connection_id":185450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:55:58] local.INFO: Processing buffer {"connection_id":185450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:55:58] local.INFO: Packet analysis {"connection_id":185450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:55:58] local.INFO: Extracted packet for processing {"connection_id":185450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:55:58] 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-09-17 15:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:55:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":185450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:55:58] local.INFO: GPS data processed {"connection_id":185450,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:55:58] local.INFO: Acknowledgment sent {"connection_id":185450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:56:08] local.INFO: TCP Data received {"connection_id":188071,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188071,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:08] local.INFO: Processing buffer {"connection_id":188071,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:08] local.INFO: IMEI packet received {"connection_id":188071,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188071,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:56:11] local.INFO: TCP Data received {"connection_id":188071,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188071,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:11] local.INFO: Processing buffer {"connection_id":188071,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:11] local.INFO: IMEI packet received {"connection_id":188071,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":188071,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:56:12] local.INFO: TCP Data received {"connection_id":188071,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee6cb20012d0a4fc007057b100014012524..."} 
[2026-09-17 15:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee6cb20012d0a4fc007057b100014012524..."} 
[2026-09-17 15:56:12] local.INFO: Processing buffer {"connection_id":188071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee6cb20012d0a4fc007057b100014012524..."} 
[2026-09-17 15:56:12] local.INFO: Packet analysis {"connection_id":188071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:56:12] local.INFO: Extracted packet for processing {"connection_id":188071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:56:12] local.INFO: GPS Element Parsed {"raw_longitude":755650496,"raw_latitude":117799696,"longitude_deg":75.5650496,"latitude_deg":11.7799696,"altitude":20,"angle":293,"satellites":36,"speed":11,"hex_longitude":"2d0a4fc0","hex_latitude":"07057b10","is_valid_coordinates":true} 
[2026-09-17 15:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148033024001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32891022761525248,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743656918626263040,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789640756000,"timestamp_ms":1789640756000,"timestamp_seconds":1789640756,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee6cb20"} 
[2026-09-17 15:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 15:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148033024001,"66":14559,"153":206,"94":10240,"24":11,"16":32891022761525248,"45":743656918626263040},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148033024001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:56:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:56:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32891022761525248,"km_value":32891022761525.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":743656918626263040,"description":"Unknown IO ID 45"} 
[2026-09-17 15:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148033024001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":743656918626263040}} 
[2026-09-17 15:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":188071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856392,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:56:12] local.INFO: GPS data processed {"connection_id":188071,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:56:12] local.INFO: Acknowledgment sent {"connection_id":188071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:56:15] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:56:15] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:56:15] local.INFO: IMEI packet received {"connection_id":186759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:56:20] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:56:20] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:56:20] local.INFO: IMEI packet received {"connection_id":186759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":186759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:56:22] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:56:22] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:56:22] local.INFO: Packet analysis {"connection_id":186759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:56:22] local.INFO: Extracted packet for processing {"connection_id":186759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:56: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-09-17 15:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:56:22] 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-09-17 15:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":186759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:56:22] local.INFO: GPS data processed {"connection_id":186759,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:56:22] local.INFO: Acknowledgment sent {"connection_id":186759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:56:24] local.INFO: TCP Data received {"connection_id":188072,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:56:24] local.INFO: Processing buffer {"connection_id":188072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:56:24] local.INFO: IMEI packet received {"connection_id":188072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":188072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:56:30] local.INFO: TCP Data received {"connection_id":188072,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:56:30] local.INFO: Processing buffer {"connection_id":188072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:56:30] local.INFO: IMEI packet received {"connection_id":188072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":188072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:56:31] local.INFO: TCP Data received {"connection_id":188072,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee684d0012d7b254005ebed98000e003e28..."} 
[2026-09-17 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee684d0012d7b254005ebed98000e003e28..."} 
[2026-09-17 15:56:31] local.INFO: Processing buffer {"connection_id":188072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee684d0012d7b254005ebed98000e003e28..."} 
[2026-09-17 15:56:31] local.INFO: Packet analysis {"connection_id":188072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:56:31] local.INFO: Extracted packet for processing {"connection_id":188072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":99347864,"longitude_deg":76.3045184,"latitude_deg":9.9347864,"altitude":14,"angle":62,"satellites":40,"speed":23,"hex_longitude":"2d7b2540","hex_latitude":"05ebed98","is_valid_coordinates":true} 
[2026-09-17 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148025088001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134341968518971392,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204469059584,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789640738000,"timestamp_ms":1789640738000,"timestamp_seconds":1789640738,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee684d0"} 
[2026-09-17 15:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934259864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6701129371563845632,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277027336476398976,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3849799681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7687644551030168576,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2147871639,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391917,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952437248,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":229,"raw_value":4091521556303822853,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.WARNING: Large IO value detected {"io_id":9,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:31] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,99,87,24,241,157,16,70,160,248,45,192,206,12,39,10,66,197,190,37,158,64,1,240,78,227,69,174,235,4,113,205,36,76,95,48,35,239,51,163,2,221,5,56,229,9],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-09-17 15:56:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936818159230779392,"timestamp_seconds":936818159230779.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148025088001,"66":13580,"99":206,"87":13824,"24":23,"16":134341968518971392,"45":8864632204469059584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 15:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148025088001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:56:31] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 15:56:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134341968518971392,"km_value":134341968518971.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204469059584,"description":"Unknown IO ID 45"} 
[2026-09-17 15:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148025088001,"power":13580,"unknown_99":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8864632204469059584}} 
[2026-09-17 15:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":188072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:56:31] local.INFO: GPS data processed {"connection_id":188072,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:56:31] local.INFO: Acknowledgment sent {"connection_id":188072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:56:53] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:56:53] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:56:53] local.INFO: Packet analysis {"connection_id":186759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:56:53] local.INFO: Extracted packet for processing {"connection_id":186759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:56:53] 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-09-17 15:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":186759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:56:53] local.INFO: GPS data processed {"connection_id":186759,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:56:53] local.INFO: Acknowledgment sent {"connection_id":186759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:56:56] local.INFO: TCP Data received {"connection_id":185304,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:56] local.INFO: Processing buffer {"connection_id":185304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:56] local.INFO: IMEI packet received {"connection_id":185304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":185304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:56:57] local.INFO: TCP Data received {"connection_id":185304,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:57] local.INFO: Processing buffer {"connection_id":185304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:56:57] local.INFO: IMEI packet received {"connection_id":185304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":185304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:57:02] local.INFO: TCP Data received {"connection_id":188072,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee6d2f0012d7b3ac005ebf7d8000f003e27..."} 
[2026-09-17 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee6d2f0012d7b3ac005ebf7d8000f003e27..."} 
[2026-09-17 15:57:02] local.INFO: Processing buffer {"connection_id":188072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee6d2f0012d7b3ac005ebf7d8000f003e27..."} 
[2026-09-17 15:57:02] local.INFO: Packet analysis {"connection_id":188072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:57:02] local.INFO: Extracted packet for processing {"connection_id":188072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763050688,"raw_latitude":99350488,"longitude_deg":76.3050688,"latitude_deg":9.9350488,"altitude":15,"angle":62,"satellites":39,"speed":11,"hex_longitude":"2d7b3ac0","hex_latitude":"05ebf7d8","is_valid_coordinates":true} 
[2026-09-17 15:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148028928001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134342260576747520,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873569034980661248,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789640758000,"timestamp_ms":1789640758000,"timestamp_seconds":1789640758,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee6d2f0"} 
[2026-09-17 15:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635780,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934262864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2502622605236764672,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3852359681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2951217155,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634226728250787,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376749,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952553984,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":122,"raw_value":6485189972795588610,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035450862015925847,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,99,87,24,241,157,16,71,160,74,45,128,221,13,39,10,66,70,248,192,206,12,197,1,240,227,174,235,4,113,205,34,119,31,239,52,163,2,5,122,53,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-09-17 15:57:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008874658052112384,"timestamp_seconds":1008874658052112.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148028928001,"66":13319,"99":206,"87":13824,"24":11,"16":134342260576747520,"45":8873569034980661248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 15:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148028928001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:57:02] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 15:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134342260576747520,"km_value":134342260576747.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873569034980661248,"description":"Unknown IO ID 45"} 
[2026-09-17 15:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148028928001,"power":13319,"unknown_99":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8873569034980661248}} 
[2026-09-17 15:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":188072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:57:02] local.INFO: GPS data processed {"connection_id":188072,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:57:02] local.INFO: Acknowledgment sent {"connection_id":188072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:57:03] local.INFO: TCP Data received {"connection_id":185304,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:57:03] local.INFO: Processing buffer {"connection_id":185304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:57:03] local.INFO: IMEI packet received {"connection_id":185304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":185304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:57:03] local.INFO: TCP Data received {"connection_id":185304,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee6cf08012d0a4f0007057bc00013014423..."} 
[2026-09-17 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee6cf08012d0a4f0007057bc00013014423..."} 
[2026-09-17 15:57:03] local.INFO: Processing buffer {"connection_id":185304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee6cf08012d0a4f0007057bc00013014423..."} 
[2026-09-17 15:57:03] local.INFO: Packet analysis {"connection_id":185304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:57:03] local.INFO: Extracted packet for processing {"connection_id":185304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:57:03] local.INFO: GPS Element Parsed {"raw_longitude":755650304,"raw_latitude":117799872,"longitude_deg":75.5650304,"latitude_deg":11.7799872,"altitude":19,"angle":324,"satellites":35,"speed":10,"hex_longitude":"2d0a4f00","hex_latitude":"07057bc0","is_valid_coordinates":true} 
[2026-09-17 15:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148033536001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32891031351459840,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743023599928676352,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789640757000,"timestamp_ms":1789640757000,"timestamp_seconds":1789640757,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee6cf08"} 
[2026-09-17 15:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 15:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148033536001,"66":14537,"153":206,"94":10240,"24":10,"16":32891031351459840,"45":743023599928676352},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148033536001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:57:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:57:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32891031351459840,"km_value":32891031351459.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":743023599928676352,"description":"Unknown IO ID 45"} 
[2026-09-17 15:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148033536001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":743023599928676352}} 
[2026-09-17 15:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":185304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856397,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:57:03] local.INFO: GPS data processed {"connection_id":185304,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:57:03] local.INFO: Acknowledgment sent {"connection_id":185304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:57:15] local.INFO: TCP Data received {"connection_id":185454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:57:15] local.INFO: Processing buffer {"connection_id":185454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:57:15] local.INFO: IMEI packet received {"connection_id":185454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":185454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:57:19] local.INFO: TCP Data received {"connection_id":185455,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:57:19] local.INFO: Processing buffer {"connection_id":185455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:57:19] local.INFO: IMEI packet received {"connection_id":185455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":185455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:57:20] local.INFO: TCP Data received {"connection_id":185454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:57:20] local.INFO: Processing buffer {"connection_id":185454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:57:20] local.INFO: IMEI packet received {"connection_id":185454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":185454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:57:21] local.INFO: TCP Data received {"connection_id":185454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:57:21] local.INFO: Processing buffer {"connection_id":185454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee30648012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:57:21] local.INFO: Packet analysis {"connection_id":185454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:57:21] local.INFO: Extracted packet for processing {"connection_id":185454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee3"} 
[2026-09-17 15:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147893248001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789640509000,"timestamp_ms":1789640509000,"timestamp_seconds":1789640509,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee30648"} 
[2026-09-17 15:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:57: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-09-17 15:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:57:21] 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-09-17 15:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147893248001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147893248001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147893248001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":185454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:57:21] local.INFO: GPS data processed {"connection_id":185454,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:57:21] local.INFO: Acknowledgment sent {"connection_id":185454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:57:24] local.INFO: TCP Data received {"connection_id":185455,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:57:24] local.INFO: Processing buffer {"connection_id":185455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:57:24] local.INFO: IMEI packet received {"connection_id":185455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":185455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:57:25] local.INFO: TCP Data received {"connection_id":185455,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee724f8012d7b5c8005ec07180011004327..."} 
[2026-09-17 15:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee724f8012d7b5c8005ec07180011004327..."} 
[2026-09-17 15:57:25] local.INFO: Processing buffer {"connection_id":185455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee724f8012d7b5c8005ec07180011004327..."} 
[2026-09-17 15:57:25] local.INFO: Packet analysis {"connection_id":185455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:57:25] local.INFO: Extracted packet for processing {"connection_id":185455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99354392,"longitude_deg":76.3059328,"latitude_deg":9.9354392,"altitude":17,"angle":67,"satellites":39,"speed":21,"hex_longitude":"2d7b5c80","hex_latitude":"05ec0718","is_valid_coordinates":true} 
[2026-09-17 15:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148034048001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134342715843280896,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879620746980612096,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640779000,"timestamp_ms":1789640779000,"timestamp_seconds":1789640779,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee724f8"} 
[2026-09-17 15:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934273864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452387,"corrected_to":0} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3854919681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7552536570800889088,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3953393664,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.WARNING: Large IO value detected {"io_id":229,"raw_value":5498896439857610757,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:25] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,99,87,24,241,157,16,71,160,132,45,64,237,14,40,10,66,74,128,221,13,39,70,248,192,1,240,203,227,174,235,4,113,205,36,158,163,232,32,239,53,161,2,5,214,229],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":203,"original":13452387,"validated":0},{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-09-17 15:57:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080932247794286592,"timestamp_seconds":1080932247794286.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148034048001,"66":13374,"99":206,"87":13824,"24":21,"16":134342715843280896,"45":8879620746980612096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-17 15:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148034048001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:57:25] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 15:57:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134342715843280896,"km_value":134342715843280.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879620746980612096,"description":"Unknown IO ID 45"} 
[2026-09-17 15:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148034048001,"power":13374,"unknown_99":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8879620746980612096}} 
[2026-09-17 15:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":185455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:57:25] local.INFO: GPS data processed {"connection_id":185455,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:57:25] local.INFO: Acknowledgment sent {"connection_id":185455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:57:35] local.INFO: TCP Data received {"connection_id":185304,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee6dac0012d0a4d8007057ec00012015623..."} 
[2026-09-17 15:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee6dac0012d0a4d8007057ec00012015623..."} 
[2026-09-17 15:57:35] local.INFO: Processing buffer {"connection_id":185304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee6dac0012d0a4d8007057ec00012015623..."} 
[2026-09-17 15:57:35] local.INFO: Packet analysis {"connection_id":185304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:57:35] local.INFO: Extracted packet for processing {"connection_id":185304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee6"} 
[2026-09-17 15:57:35] local.INFO: GPS Element Parsed {"raw_longitude":755649920,"raw_latitude":117800640,"longitude_deg":75.564992,"latitude_deg":11.780064,"altitude":18,"angle":342,"satellites":35,"speed":12,"hex_longitude":"2d0a4d80","hex_latitude":"07057ec0","is_valid_coordinates":true} 
[2026-09-17 15:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148033792001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32891074301132800,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742812493696188416,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789640760000,"timestamp_ms":1789640760000,"timestamp_seconds":1789640760,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee6dac0"} 
[2026-09-17 15:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 15:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148033792001,"66":14439,"153":206,"94":10240,"24":12,"16":32891074301132800,"45":742812493696188416},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-17 15:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148033792001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:57:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-17 15:57:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32891074301132800,"km_value":32891074301132.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":742812493696188416,"description":"Unknown IO ID 45"} 
[2026-09-17 15:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148033792001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":742812493696188416}} 
[2026-09-17 15:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":185304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:57:35] local.INFO: GPS data processed {"connection_id":185304,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:57:35] local.INFO: Acknowledgment sent {"connection_id":185304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:57:52] local.INFO: TCP Data received {"connection_id":185454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:57:52] local.INFO: Processing buffer {"connection_id":185454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:57:52] local.INFO: Packet analysis {"connection_id":185454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:57:52] local.INFO: Extracted packet for processing {"connection_id":185454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 15:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:57:52] 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-09-17 15:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":185454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:57:52] local.INFO: GPS data processed {"connection_id":185454,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:57:52] local.INFO: Acknowledgment sent {"connection_id":185454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:57:56] local.INFO: TCP Data received {"connection_id":185455,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee75ba8012d7b804005ec12f80013004925..."} 
[2026-09-17 15:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee75ba8012d7b804005ec12f80013004925..."} 
[2026-09-17 15:57:56] local.INFO: Processing buffer {"connection_id":185455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee75ba8012d7b804005ec12f80013004925..."} 
[2026-09-17 15:57:56] local.INFO: Packet analysis {"connection_id":185455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:57:56] local.INFO: Extracted packet for processing {"connection_id":185455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763068480,"raw_latitude":99357432,"longitude_deg":76.306848,"latitude_deg":9.9357432,"altitude":19,"angle":73,"satellites":37,"speed":38,"hex_longitude":"2d7b8040","hex_latitude":"05ec12f8","is_valid_coordinates":true} 
[2026-09-17 15:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148039424001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134343175404781568,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527445596160,"note":"Value kept but may cause issues"} 
[2026-09-17 15:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789640793000,"timestamp_ms":1789640793000,"timestamp_seconds":1789640793,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee75ba8"} 
[2026-09-17 15:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 15:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148039424001,"66":13428,"198":206,"87":13824,"24":38,"16":134343175404781568,"45":8889120527445596160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 15:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148039424001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:57:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 15:57:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134343175404781568,"km_value":134343175404781.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527445596160,"description":"Unknown IO ID 45"} 
[2026-09-17 15:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148039424001,"power":13428,"unknown_198":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8889120527445596160}} 
[2026-09-17 15:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":185455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:57:56] local.INFO: GPS data processed {"connection_id":185455,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:57:56] local.INFO: Acknowledgment sent {"connection_id":185455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:57:56] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:57:56] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:57:56] local.INFO: IMEI packet received {"connection_id":188074,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":188074,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:58:01] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:58:01] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:58:01] local.INFO: IMEI packet received {"connection_id":188074,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":188074,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:58:02] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.10","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 15:58:02] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 15:58:02] local.INFO: IMEI packet received {"connection_id":188074,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":188074,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:58:03] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee851c0012d0a3740070584d80011003825..."} 
[2026-09-17 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee851c0012d0a3740070584d80011003825..."} 
[2026-09-17 15:58:03] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0ae..."} 
[2026-09-17 15:58:03] local.INFO: IMEI packet received {"connection_id":188074,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":188074,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:58:04] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee855a8012d0a37c0070584f80011004824..."} 
[2026-09-17 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee855a8012d0a37c0070584f80011004824..."} 
[2026-09-17 15:58:04] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0aee851c0012d0a3740070584d80011003825..."} 
[2026-09-17 15:58:04] local.INFO: Packet analysis {"connection_id":188074,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0aee8"} 
[2026-09-17 15:58:04] local.INFO: Extracted packet for processing {"connection_id":188074,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee8"} 
[2026-09-17 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755644224,"raw_latitude":117802200,"longitude_deg":75.5644224,"latitude_deg":11.78022,"altitude":17,"angle":56,"satellites":37,"speed":3,"hex_longitude":"2d0a3740","hex_latitude":"070584d8","is_valid_coordinates":true} 
[2026-09-17 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148058880001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32891520977731584,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":736057094255714304,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789640856000,"timestamp_ms":1789640856000,"timestamp_seconds":1789640856,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee851c0"} 
[2026-09-17 15:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 15:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148058880001,"66":14374,"177":206,"94":10240,"24":3,"16":32891520977731584,"45":736057094255714304},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-17 15:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148058880001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:58:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-17 15:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32891520977731584,"km_value":32891520977731.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":736057094255714304,"description":"Unknown IO ID 45"} 
[2026-09-17 15:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148058880001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":736057094255714304}} 
[2026-09-17 15:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":188074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856403,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:58:04] local.INFO: GPS data processed {"connection_id":188074,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:58:04] local.INFO: Acknowledgment sent {"connection_id":188074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:58:04] local.INFO: Packet analysis {"connection_id":188074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee8"} 
[2026-09-17 15:58:04] local.INFO: Extracted packet for processing {"connection_id":188074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee8"} 
[2026-09-17 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755644352,"raw_latitude":117802232,"longitude_deg":75.5644352,"latitude_deg":11.7802232,"altitude":17,"angle":72,"satellites":36,"speed":4,"hex_longitude":"2d0a37c0","hex_latitude":"070584f8","is_valid_coordinates":true} 
[2026-09-17 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148059136001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32891529567666176,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":736127462999906304,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789640857000,"timestamp_ms":1789640857000,"timestamp_seconds":1789640857,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee855a8"} 
[2026-09-17 15:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 15:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148059136001,"66":14396,"177":206,"94":10240,"24":4,"16":32891529567666176,"45":736127462999906304},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-17 15:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148059136001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:58:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-17 15:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32891529567666176,"km_value":32891529567666.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":736127462999906304,"description":"Unknown IO ID 45"} 
[2026-09-17 15:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148059136001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":736127462999906304}} 
[2026-09-17 15:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":188074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:58:04] local.INFO: GPS data processed {"connection_id":188074,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:58:04] local.INFO: Acknowledgment sent {"connection_id":188074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:58:05] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee85d78012d0a39c0070585300011005726..."} 
[2026-09-17 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee85d78012d0a39c0070585300011005726..."} 
[2026-09-17 15:58:05] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee85d78012d0a39c0070585300011005726..."} 
[2026-09-17 15:58:05] local.INFO: Packet analysis {"connection_id":188074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee8"} 
[2026-09-17 15:58:05] local.INFO: Extracted packet for processing {"connection_id":188074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee8"} 
[2026-09-17 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":755644864,"raw_latitude":117802288,"longitude_deg":75.5644864,"latitude_deg":11.7802288,"altitude":17,"angle":87,"satellites":38,"speed":10,"hex_longitude":"2d0a39c0","hex_latitude":"07058530","is_valid_coordinates":true} 
[2026-09-17 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148059392001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32891551042502656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":736268200488269824,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789640859000,"timestamp_ms":1789640859000,"timestamp_seconds":1789640859,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee85d78"} 
[2026-09-17 15:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 15:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148059392001,"66":14374,"177":206,"94":10240,"24":10,"16":32891551042502656,"45":736268200488269824},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-17 15:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148059392001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:58:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-17 15:58:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32891551042502656,"km_value":32891551042502.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":736268200488269824,"description":"Unknown IO ID 45"} 
[2026-09-17 15:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148059392001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":736268200488269824}} 
[2026-09-17 15:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":188074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856405,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:58:05] local.INFO: GPS data processed {"connection_id":188074,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:58:05] local.INFO: Acknowledgment sent {"connection_id":188074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:58:11] local.INFO: TCP Data received {"connection_id":185456,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:58:11] local.INFO: Processing buffer {"connection_id":185456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:58:11] local.INFO: IMEI packet received {"connection_id":185456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":185456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:58:15] local.INFO: TCP Data received {"connection_id":188075,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:58:15] local.INFO: Processing buffer {"connection_id":188075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:58:15] local.INFO: IMEI packet received {"connection_id":188075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":188075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:58:20] local.INFO: TCP Data received {"connection_id":188075,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:58:20] local.INFO: Processing buffer {"connection_id":188075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:58:20] local.INFO: IMEI packet received {"connection_id":188075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":188075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:58:21] local.INFO: TCP Data received {"connection_id":188075,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:58:21] local.INFO: Processing buffer {"connection_id":188075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:58:21] local.INFO: Packet analysis {"connection_id":188075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:58:21] local.INFO: Extracted packet for processing {"connection_id":188075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 15:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:58: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-09-17 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":188075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:58:21] local.INFO: GPS data processed {"connection_id":188075,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:58:21] local.INFO: Acknowledgment sent {"connection_id":188075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:58:25] local.INFO: TCP Data received {"connection_id":185457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:58:25] local.INFO: Processing buffer {"connection_id":185457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:58:25] local.INFO: IMEI packet received {"connection_id":185457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":185457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:58:25] local.INFO: TCP Data received {"connection_id":185457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:58:25] local.INFO: Processing buffer {"connection_id":185457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:58:25] local.INFO: IMEI packet received {"connection_id":185457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":185457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:58:26] local.INFO: TCP Data received {"connection_id":185457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee782b8012d7ba40005ec1da00010004928..."} 
[2026-09-17 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee782b8012d7ba40005ec1da00010004928..."} 
[2026-09-17 15:58:26] local.INFO: Processing buffer {"connection_id":185457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee782b8012d7ba40005ec1da00010004928..."} 
[2026-09-17 15:58:26] local.INFO: Packet analysis {"connection_id":185457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:58:26] local.INFO: Extracted packet for processing {"connection_id":185457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763077632,"raw_latitude":99360160,"longitude_deg":76.3077632,"latitude_deg":9.936016,"altitude":16,"angle":73,"satellites":40,"speed":34,"hex_longitude":"2d7ba400","hex_latitude":"05ec1da0","is_valid_coordinates":true} 
[2026-09-17 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148043008001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134343634966282240,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899183257863780352,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789640803000,"timestamp_ms":1789640803000,"timestamp_seconds":1789640803,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee782b8"} 
[2026-09-17 15:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-17 15:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148043008001,"66":13319,"198":206,"87":13824,"24":34,"16":134343634966282240,"45":8899183257863780352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 15:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148043008001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:58:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 15:58:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134343634966282240,"km_value":134343634966282.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899183257863780352,"description":"Unknown IO ID 45"} 
[2026-09-17 15:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148043008001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8899183257863780352}} 
[2026-09-17 15:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":185457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:58:26] local.INFO: GPS data processed {"connection_id":185457,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:58:26] local.INFO: Acknowledgment sent {"connection_id":185457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:58:30] local.INFO: TCP Data received {"connection_id":185457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee7b198012d7bc7c005ec28500010004a27..."} 
[2026-09-17 15:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee7b198012d7bc7c005ec28500010004a27..."} 
[2026-09-17 15:58:30] local.INFO: Processing buffer {"connection_id":185457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee7b198012d7bc7c005ec28500010004a27..."} 
[2026-09-17 15:58:30] local.INFO: Packet analysis {"connection_id":185457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:58:30] local.INFO: Extracted packet for processing {"connection_id":185457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763086784,"raw_latitude":99362896,"longitude_deg":76.3086784,"latitude_deg":9.9362896,"altitude":16,"angle":74,"satellites":39,"speed":25,"hex_longitude":"2d7bc7c0","hex_latitude":"05ec2850","is_valid_coordinates":true} 
[2026-09-17 15:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148045568001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134344090232815616,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909245988281884672,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789640815000,"timestamp_ms":1789640815000,"timestamp_seconds":1789640815,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee7b198"} 
[2026-09-17 15:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934306864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3867463681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-4701757959430986496,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3956150272,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57777562231658294,"corrected_to":0} 
[2026-09-17 15:58:30] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-4222123355814887419,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:30] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,198,87,24,241,157,16,72,160,91,45,64,18,19,37,10,66,36,128,7,17,39,99,71,210,192,1,240,227,174,235,4,113,205,23,74,5,239,52,2,221,12,8,203,229],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0},{"io_id":203,"original":57777562231658294,"validated":0}]} 
[2026-09-17 15:58:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153001940756594688,"timestamp_seconds":1153001940756594.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148045568001,"66":13580,"198":206,"87":13824,"24":25,"16":134344090232815616,"45":8909245988281884672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 15:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148045568001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:58:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 15:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134344090232815616,"km_value":134344090232815.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909245988281884672,"description":"Unknown IO ID 45"} 
[2026-09-17 15:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148045568001,"power":13580,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8909245988281884672}} 
[2026-09-17 15:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":185457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:58:30] local.INFO: GPS data processed {"connection_id":185457,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:58:30] local.INFO: Acknowledgment sent {"connection_id":185457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:58:36] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee91510012d0a5480070551e8001600d423..."} 
[2026-09-17 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee91510012d0a5480070551e8001600d423..."} 
[2026-09-17 15:58:36] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee91510012d0a5480070551e8001600d423..."} 
[2026-09-17 15:58:36] local.INFO: Packet analysis {"connection_id":188074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:58:36] local.INFO: Extracted packet for processing {"connection_id":188074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":755651712,"raw_latitude":117789160,"longitude_deg":75.5651712,"latitude_deg":11.778916,"altitude":22,"angle":212,"satellites":35,"speed":12,"hex_longitude":"2d0a5480","hex_latitude":"070551e8","is_valid_coordinates":true} 
[2026-09-17 15:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148071424001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32892461575569408,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744712449786394624,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789640906000,"timestamp_ms":1789640906000,"timestamp_seconds":1789640906,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee91510"} 
[2026-09-17 15:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 15:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148071424001,"66":14461,"177":206,"94":10240,"24":12,"16":32892461575569408,"45":744712449786394624},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-17 15:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148071424001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:58:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-17 15:58:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32892461575569408,"km_value":32892461575569.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":744712449786394624,"description":"Unknown IO ID 45"} 
[2026-09-17 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148071424001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":744712449786394624}} 
[2026-09-17 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":188074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:58:37] local.INFO: GPS data processed {"connection_id":188074,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:58:37] local.INFO: Acknowledgment sent {"connection_id":188074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:58:50] local.INFO: TCP Data received {"connection_id":188076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:58:50] local.INFO: Processing buffer {"connection_id":188076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 15:58:50] local.INFO: IMEI packet received {"connection_id":188076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":188076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:58:53] local.INFO: TCP Data received {"connection_id":188075,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:58:53] local.INFO: Processing buffer {"connection_id":188075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:58:53] local.INFO: Packet analysis {"connection_id":188075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:58:53] local.INFO: Extracted packet for processing {"connection_id":188075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 15:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":188075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:58:53] local.INFO: GPS data processed {"connection_id":188075,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:58:53] local.INFO: Acknowledgment sent {"connection_id":188075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:58:59] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:58:59] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:58:59] local.INFO: IMEI packet received {"connection_id":186761,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":186761,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:59:00] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:59:00] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:59:00] local.INFO: IMEI packet received {"connection_id":186761,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":186761,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:59:01] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:59:01] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:59:01] local.INFO: IMEI packet received {"connection_id":186761,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":186761,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:59:02] local.INFO: TCP Data received {"connection_id":185457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee7ffb8012d7be34005ec2f200011004d27..."} 
[2026-09-17 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee7ffb8012d7be34005ec2f200011004d27..."} 
[2026-09-17 15:59:02] local.INFO: Processing buffer {"connection_id":185457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee7ffb8012d7be34005ec2f200011004d27..."} 
[2026-09-17 15:59:02] local.INFO: Packet analysis {"connection_id":185457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:59:02] local.INFO: Extracted packet for processing {"connection_id":185457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763093824,"raw_latitude":99364640,"longitude_deg":76.3093824,"latitude_deg":9.936464,"altitude":17,"angle":77,"satellites":39,"speed":0,"hex_longitude":"2d7be340","hex_latitude":"05ec2f20","is_valid_coordinates":true} 
[2026-09-17 15:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148048640001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134344438125166592,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919308718699991040,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789640835000,"timestamp_ms":1789640835000,"timestamp_seconds":1789640835,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee7ffb8"} 
[2026-09-17 15:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751635782,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934327864,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2502055257236832256,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3872583681,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4158128143,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634600390411363,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3957178368,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-1891505333162999796,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790407713193,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:02] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,198,87,24,241,157,16,73,160,130,45,29,40,10,66,72,91,64,18,19,37,36,128,1,240,62,227,71,174,235,4,113,205,11,132,152,239,53,99,2,221,5,13,22,122,52,54],"length":577,"final_offset":707,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-09-17 15:59:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153003035972665344,"timestamp_seconds":1153003035972665.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 15:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148048640001,"66":13341,"198":206,"87":13824,"24":0,"16":134344438125166592,"45":8919308718699991040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 15:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148048640001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:59:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 15:59:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134344438125166592,"km_value":134344438125166.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919308718699991040,"description":"Unknown IO ID 45"} 
[2026-09-17 15:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148048640001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8919308718699991040}} 
[2026-09-17 15:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":185457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:59:02] local.INFO: GPS data processed {"connection_id":185457,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:59:02] local.INFO: Acknowledgment sent {"connection_id":185457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:59:04] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:59:04] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 15:59:04] local.INFO: IMEI packet received {"connection_id":186761,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 15:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":186761,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:59:05] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee918f8012d0a534007055100001600e423..."} 
[2026-09-17 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee918f8012d0a534007055100001600e423..."} 
[2026-09-17 15:59:05] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee918f8012d0a534007055100001600e423..."} 
[2026-09-17 15:59:05] local.INFO: Packet analysis {"connection_id":186761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:59:05] local.INFO: Extracted packet for processing {"connection_id":186761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":755651392,"raw_latitude":117788928,"longitude_deg":75.5651392,"latitude_deg":11.7788928,"altitude":22,"angle":228,"satellites":35,"speed":14,"hex_longitude":"2d0a5340","hex_latitude":"07055100","is_valid_coordinates":true} 
[2026-09-17 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148071936001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32892478755438592,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744360606065354752,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789640907000,"timestamp_ms":1789640907000,"timestamp_seconds":1789640907,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee918f8"} 
[2026-09-17 15:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 15:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148071936001,"66":13722,"177":206,"94":10240,"24":14,"16":32892478755438592,"45":744360606065354752},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-17 15:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148071936001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:59:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-17 15:59:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32892478755438592,"km_value":32892478755438.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":744360606065354752,"description":"Unknown IO ID 45"} 
[2026-09-17 15:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148071936001,"power":13722,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":744360606065354752}} 
[2026-09-17 15:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":186761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:59:05] local.INFO: GPS data processed {"connection_id":186761,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:59:05] local.INFO: Acknowledgment sent {"connection_id":186761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:59:15] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:59:15] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:59:15] local.INFO: IMEI packet received {"connection_id":186762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 15:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":186762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:59:19] local.INFO: TCP Data received {"connection_id":185305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:59:19] local.INFO: Processing buffer {"connection_id":185305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:59:19] local.INFO: IMEI packet received {"connection_id":185305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 15:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":185305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:59:20] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:59:20] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 15:59:20] local.INFO: IMEI packet received {"connection_id":186762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 15:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":186762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:59:25] local.INFO: TCP Data received {"connection_id":185305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:59:25] local.INFO: Processing buffer {"connection_id":185305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 15:59:25] local.INFO: IMEI packet received {"connection_id":185305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 15:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":185305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 15:59:25] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:59:25] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:59:25] local.INFO: Packet analysis {"connection_id":186762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:59:25] local.INFO: Extracted packet for processing {"connection_id":186762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 15:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:59:25] 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-09-17 15:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":186762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:59:25] local.INFO: GPS data processed {"connection_id":186762,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:59:25] local.INFO: Acknowledgment sent {"connection_id":186762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:59:27] local.INFO: TCP Data received {"connection_id":185305,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee9bd08012d7d1d4005ec3f780005002225..."} 
[2026-09-17 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee9bd08012d7d1d4005ec3f780005002225..."} 
[2026-09-17 15:59:27] local.INFO: Processing buffer {"connection_id":185305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee9bd08012d7d1d4005ec3f780005002225..."} 
[2026-09-17 15:59:27] local.INFO: Packet analysis {"connection_id":185305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:59:27] local.INFO: Extracted packet for processing {"connection_id":185305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":99368824,"longitude_deg":76.3174208,"latitude_deg":9.9368824,"altitude":5,"angle":34,"satellites":37,"speed":10,"hex_longitude":"2d7d1d40","hex_latitude":"05ec3f78","is_valid_coordinates":true} 
[2026-09-17 15:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148082688001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134348290710831104,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685759789056,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789640949000,"timestamp_ms":1789640949000,"timestamp_seconds":1789640949,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee9bd08"} 
[2026-09-17 15:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-17 15:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 15:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 15:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 15:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148082688001,"66":12743,"110":206,"87":13824,"24":10,"16":134348290710831104,"45":9015291685759789056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 15:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 15:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148082688001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 15:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134348290710831104,"km_value":134348290710831.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685759789056,"description":"Unknown IO ID 45"} 
[2026-09-17 15:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148082688001,"power":12743,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015291685759789056}} 
[2026-09-17 15:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":185305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:59:27] local.INFO: GPS data processed {"connection_id":185305,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:59:27] local.INFO: Acknowledgment sent {"connection_id":185305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:59:41] local.INFO: TCP Data received {"connection_id":186763,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:59:41] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 15:59:41] local.INFO: IMEI packet received {"connection_id":186763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 15:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":186763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 15:59:41] local.INFO: TCP Data received {"connection_id":186763,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee94fa8012d033540072972a80043006a14..."} 
[2026-09-17 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee94fa8012d033540072972a80043006a14..."} 
[2026-09-17 15:59:41] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee94fa8012d033540072972a80043006a14..."} 
[2026-09-17 15:59:41] local.INFO: Packet analysis {"connection_id":186763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:59:41] local.INFO: Extracted packet for processing {"connection_id":186763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:59:41] local.INFO: GPS Element Parsed {"raw_longitude":755184960,"raw_latitude":120156840,"longitude_deg":75.518496,"latitude_deg":12.015684,"altitude":67,"angle":106,"satellites":20,"speed":42,"hex_longitude":"2d033540","hex_latitude":"072972a8","is_valid_coordinates":true} 
[2026-09-17 15:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148075264001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153658825605120,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":228839186826016768,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 15:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789640921000,"timestamp_ms":1789640921000,"timestamp_seconds":1789640921,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee94fa8"} 
[2026-09-17 15:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 15:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15: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-09-17 15:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 15:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 15:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 15:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148075264001,"66":14080,"83":44288,"24":42,"16":21153658825605120,"45":228839186826016768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-17 15:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 15:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 15:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148075264001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 15:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21153658825605120,"km_value":21153658825605.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":228839186826016768,"description":"Unknown IO ID 45"} 
[2026-09-17 15:59:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458148075264001,"power":14080,"unknown_83":44288,"ignition":42,"odometer":null,"unknown_45":228839186826016768}} 
[2026-09-17 15:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":186763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:59:41] local.INFO: GPS data processed {"connection_id":186763,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:59:41] local.INFO: Acknowledgment sent {"connection_id":186763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:59:46] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee91ce0012d0a518007055020001600f021..."} 
[2026-09-17 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee91ce0012d0a518007055020001600f021..."} 
[2026-09-17 15:59:46] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee91ce0012d0a518007055020001600f021..."} 
[2026-09-17 15:59:46] local.INFO: Packet analysis {"connection_id":186761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:59:46] local.INFO: Extracted packet for processing {"connection_id":186761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":755650944,"raw_latitude":117788704,"longitude_deg":75.5650944,"latitude_deg":11.7788704,"altitude":22,"angle":240,"satellites":33,"speed":19,"hex_longitude":"2d0a5180","hex_latitude":"07055020","is_valid_coordinates":true} 
[2026-09-17 15:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148072192001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32892504525242368,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744008762344407040,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 15:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789640908000,"timestamp_ms":1789640908000,"timestamp_seconds":1789640908,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee91ce0"} 
[2026-09-17 15:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 15:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 15:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 15:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 15:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 15:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 15:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148072192001,"66":13722,"177":206,"94":10240,"24":19,"16":32892504525242368,"45":744008762344407040},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-17 15:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 15:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 15:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148072192001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:59:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-17 15:59:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 15:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32892504525242368,"km_value":32892504525242.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":744008762344407040,"description":"Unknown IO ID 45"} 
[2026-09-17 15:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148072192001,"power":13722,"unknown_177":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":744008762344407040}} 
[2026-09-17 15:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":186761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856416,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:59:46] local.INFO: GPS data processed {"connection_id":186761,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:59:46] local.INFO: Acknowledgment sent {"connection_id":186761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 15:59:57] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:59:57] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 15:59:57] local.INFO: Packet analysis {"connection_id":186762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:59:57] local.INFO: Extracted packet for processing {"connection_id":186762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 15:59:57] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 15:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 15:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 15:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 15:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 15:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 15:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 15:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 15:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 15:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 15:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 15:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 15:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 15:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 15:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 15:59:57] 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-09-17 15:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 15:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 15:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 15:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 15:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 15:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 15:59:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 15:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 15:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 15:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 15:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":186762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 15:59:57] local.INFO: GPS data processed {"connection_id":186762,"processed":1,"errors":0,"total":1} 
[2026-09-17 15:59:57] local.INFO: Acknowledgment sent {"connection_id":186762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:00:00] local.INFO: TCP Data received {"connection_id":185305,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee9c0f0012d7d1d8005ec40500005000724..."} 
[2026-09-17 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee9c0f0012d7d1d8005ec40500005000724..."} 
[2026-09-17 16:00:00] local.INFO: Processing buffer {"connection_id":185305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee9c0f0012d7d1d8005ec40500005000724..."} 
[2026-09-17 16:00:00] local.INFO: Packet analysis {"connection_id":185305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 16:00:00] local.INFO: Extracted packet for processing {"connection_id":185305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99369040,"longitude_deg":76.3174272,"latitude_deg":9.936904,"altitude":5,"angle":7,"satellites":36,"speed":9,"hex_longitude":"2d7d1d80","hex_latitude":"05ec4050","is_valid_coordinates":true} 
[2026-09-17 16:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148082944001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134348299300765696,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423248197632,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789640950000,"timestamp_ms":1789640950000,"timestamp_seconds":1789640950,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee9c0f0"} 
[2026-09-17 16:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-17 16:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148082944001,"66":13254,"110":206,"87":13824,"24":9,"16":134348299300765696,"45":9015432423248197632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 16:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148082944001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:00:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 16:00:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134348299300765696,"km_value":134348299300765.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423248197632,"description":"Unknown IO ID 45"} 
[2026-09-17 16:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148082944001,"power":13254,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015432423248197632}} 
[2026-09-17 16:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":185305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:00:00] local.INFO: GPS data processed {"connection_id":185305,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:00:00] local.INFO: Acknowledgment sent {"connection_id":185305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:00:12] local.INFO: TCP Data received {"connection_id":186763,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeea8828012d044fc007297818003b005d14..."} 
[2026-09-17 16:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeea8828012d044fc007297818003b005d14..."} 
[2026-09-17 16:00:12] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeea8828012d044fc007297818003b005d14..."} 
[2026-09-17 16:00:12] local.INFO: Packet analysis {"connection_id":186763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeea"} 
[2026-09-17 16:00:12] local.INFO: Extracted packet for processing {"connection_id":186763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeea"} 
[2026-09-17 16:00:12] local.INFO: GPS Element Parsed {"raw_longitude":755257280,"raw_latitude":120158232,"longitude_deg":75.525728,"latitude_deg":12.0158232,"altitude":59,"angle":93,"satellites":20,"speed":36,"hex_longitude":"2d044fc0","hex_latitude":"07297818","is_valid_coordinates":true} 
[2026-09-17 16:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148095744001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21157270893101056,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":308637342723729408,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789641001000,"timestamp_ms":1789641001000,"timestamp_seconds":1789641001,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeea8828"} 
[2026-09-17 16:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148095744001,"66":14428,"207":206,"83":44288,"24":36,"16":21157270893101056,"45":308637342723729408},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-09-17 16:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148095744001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:00:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 16:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21157270893101056,"km_value":21157270893101.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":308637342723729408,"description":"Unknown IO ID 45"} 
[2026-09-17 16:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148095744001,"power":14428,"unknown_207":206,"unknown_83":44288,"ignition":36,"odometer":null,"unknown_45":308637342723729408}} 
[2026-09-17 16:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":186763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:00:12] local.INFO: GPS data processed {"connection_id":186763,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:00:12] local.INFO: Acknowledgment sent {"connection_id":186763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:00:15] local.INFO: TCP Data received {"connection_id":185460,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:00:15] local.INFO: Processing buffer {"connection_id":185460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:00:15] local.INFO: IMEI packet received {"connection_id":185460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":185460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:00:15] local.INFO: TCP Data received {"connection_id":188077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:00:15] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:00:15] local.INFO: IMEI packet received {"connection_id":188077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":188077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:00:15] local.INFO: TCP Data received {"connection_id":185460,"ip":"42.109.136.10","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185460,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 16:00:15] local.INFO: Processing buffer {"connection_id":185460,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 16:00:15] local.INFO: IMEI packet received {"connection_id":185460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":185460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:00:20] local.INFO: TCP Data received {"connection_id":185461,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:00:20] local.INFO: Processing buffer {"connection_id":185461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:00:20] local.INFO: IMEI packet received {"connection_id":185461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":185461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:00:20] local.INFO: TCP Data received {"connection_id":188077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:00:20] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:00:20] local.INFO: IMEI packet received {"connection_id":188077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":188077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:00:20] local.INFO: TCP Data received {"connection_id":185461,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:00:20] local.INFO: Processing buffer {"connection_id":185461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:00:20] local.INFO: IMEI packet received {"connection_id":185461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":185461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:00:25] local.INFO: TCP Data received {"connection_id":185461,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:00:25] local.INFO: Processing buffer {"connection_id":185461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:00:25] local.INFO: IMEI packet received {"connection_id":185461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":185461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:00:25] local.INFO: TCP Data received {"connection_id":188077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:00:25] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:00:25] local.INFO: Packet analysis {"connection_id":188077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:00:25] local.INFO: Extracted packet for processing {"connection_id":188077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 16:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:00:25] 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-09-17 16:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":188077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:00:25] local.INFO: GPS data processed {"connection_id":188077,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:00:25] local.INFO: Acknowledgment sent {"connection_id":188077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:00:25] local.INFO: TCP Data received {"connection_id":185461,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee9c4d8012d7d1d4005ec41380005015124..."} 
[2026-09-17 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee9c4d8012d7d1d4005ec41380005015124..."} 
[2026-09-17 16:00:25] local.INFO: Processing buffer {"connection_id":185461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee9c4d8012d7d1d4005ec41380005015124..."} 
[2026-09-17 16:00:25] local.INFO: Packet analysis {"connection_id":185461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 16:00:25] local.INFO: Extracted packet for processing {"connection_id":185461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 16:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":99369272,"longitude_deg":76.3174208,"latitude_deg":9.9369272,"altitude":5,"angle":337,"satellites":36,"speed":9,"hex_longitude":"2d7d1d40","hex_latitude":"05ec4138","is_valid_coordinates":true} 
[2026-09-17 16:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148083200001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134348312185667584,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992430592,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789640951000,"timestamp_ms":1789640951000,"timestamp_seconds":1789640951,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee9c4d8"} 
[2026-09-17 16:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 16:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148083200001,"66":13254,"110":206,"87":13824,"24":9,"16":134348312185667584,"45":9015502791992430592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 16:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148083200001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:00:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 16:00:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134348312185667584,"km_value":134348312185667.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992430592,"description":"Unknown IO ID 45"} 
[2026-09-17 16:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148083200001,"power":13254,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015502791992430592}} 
[2026-09-17 16:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":185461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:00:25] local.INFO: GPS data processed {"connection_id":185461,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:00:25] local.INFO: Acknowledgment sent {"connection_id":185461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:00:36] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:00:36] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:00:36] local.INFO: IMEI packet received {"connection_id":186764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":186764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:00:37] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:00:37] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:00:37] local.INFO: IMEI packet received {"connection_id":186764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":186764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:00:40] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:00:40] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:00:40] local.INFO: IMEI packet received {"connection_id":186764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":186764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:00:41] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeea8ff8012d04560007297650003b006d14..."} 
[2026-09-17 16:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeea8ff8012d04560007297650003b006d14..."} 
[2026-09-17 16:00:41] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeea8ff8012d04560007297650003b006d14..."} 
[2026-09-17 16:00:41] local.INFO: Packet analysis {"connection_id":186764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeea"} 
[2026-09-17 16:00:41] local.INFO: Extracted packet for processing {"connection_id":186764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeea"} 
[2026-09-17 16:00:41] local.INFO: GPS Element Parsed {"raw_longitude":755258880,"raw_latitude":120157776,"longitude_deg":75.525888,"latitude_deg":12.0157776,"altitude":59,"angle":109,"satellites":20,"speed":34,"hex_longitude":"2d045600","hex_latitude":"07297650","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148096256001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21157348202512384,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":310678036304893952,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789641003000,"timestamp_ms":1789641003000,"timestamp_seconds":1789641003,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeea8ff8"} 
[2026-09-17 16:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148096256001,"66":14048,"207":206,"83":44288,"24":34,"16":21157348202512384,"45":310678036304893952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-09-17 16:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148096256001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:00:41] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 16:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21157348202512384,"km_value":21157348202512.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":310678036304893952,"description":"Unknown IO ID 45"} 
[2026-09-17 16:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148096256001,"power":14048,"unknown_207":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_45":310678036304893952}} 
[2026-09-17 16:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":186764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:00:41] local.INFO: GPS data processed {"connection_id":186764,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:00:41] local.INFO: Acknowledgment sent {"connection_id":186764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:00:56] local.INFO: TCP Data received {"connection_id":188077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:00:56] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:00:56] local.INFO: Packet analysis {"connection_id":188077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:00:56] local.INFO: Extracted packet for processing {"connection_id":188077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 16:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:00:56] 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-09-17 16:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:00:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":188077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:00:56] local.INFO: GPS data processed {"connection_id":188077,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:00:56] local.INFO: Acknowledgment sent {"connection_id":188077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:00:57] local.INFO: TCP Data received {"connection_id":185461,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee9c8c0012d7d1cc005ec41f00004013822..."} 
[2026-09-17 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee9c8c0012d7d1cc005ec41f00004013822..."} 
[2026-09-17 16:00:57] local.INFO: Processing buffer {"connection_id":185461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee9c8c0012d7d1cc005ec41f00004013822..."} 
[2026-09-17 16:00:57] local.INFO: Packet analysis {"connection_id":185461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 16:00:57] local.INFO: Extracted packet for processing {"connection_id":185461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee9"} 
[2026-09-17 16:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99369456,"longitude_deg":76.317408,"latitude_deg":9.9369456,"altitude":4,"angle":312,"satellites":34,"speed":10,"hex_longitude":"2d7d1cc0","hex_latitude":"05ec41f0","is_valid_coordinates":true} 
[2026-09-17 16:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148083456001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134348325070569472,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423248312320,"note":"Value kept but may cause issues"} 
[2026-09-17 16:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789640952000,"timestamp_ms":1789640952000,"timestamp_seconds":1789640952,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee9c8c0"} 
[2026-09-17 16:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 16:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148083456001,"66":12722,"110":206,"87":13824,"24":10,"16":134348325070569472,"45":9015432423248312320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-17 16:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148083456001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:00:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-17 16:00:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134348325070569472,"km_value":134348325070569.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423248312320,"description":"Unknown IO ID 45"} 
[2026-09-17 16:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148083456001,"power":12722,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015432423248312320}} 
[2026-09-17 16:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":185461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:00:57] local.INFO: GPS data processed {"connection_id":185461,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:00:57] local.INFO: Acknowledgment sent {"connection_id":185461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:01:12] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeeb66d0012d04ef40072987b80025006115..."} 
[2026-09-17 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeeb66d0012d04ef40072987b80025006115..."} 
[2026-09-17 16:01:12] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeeb66d0012d04ef40072987b80025006115..."} 
[2026-09-17 16:01:12] local.INFO: Packet analysis {"connection_id":186764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:01:12] local.INFO: Extracted packet for processing {"connection_id":186764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:01:12] local.INFO: GPS Element Parsed {"raw_longitude":755298112,"raw_latitude":120162232,"longitude_deg":75.5298112,"latitude_deg":12.0162232,"altitude":37,"angle":97,"satellites":21,"speed":21,"hex_longitude":"2d04ef40","hex_latitude":"072987b8","is_valid_coordinates":true} 
[2026-09-17 16:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148108032001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21159491391193088,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":349662320580765696,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789641058000,"timestamp_ms":1789641058000,"timestamp_seconds":1789641058,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeeb66d0"} 
[2026-09-17 16:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-17 16:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148108032001,"66":14428,"77":206,"83":44288,"24":21,"16":21159491391193088,"45":349662320580765696},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-17 16:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148108032001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:01:12] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-17 16:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21159491391193088,"km_value":21159491391193.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":349662320580765696,"description":"Unknown IO ID 45"} 
[2026-09-17 16:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148108032001,"power":14428,"unknown_77":206,"unknown_83":44288,"ignition":21,"odometer":null,"unknown_45":349662320580765696}} 
[2026-09-17 16:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":186764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:01:12] local.INFO: GPS data processed {"connection_id":186764,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:01:12] local.INFO: Acknowledgment sent {"connection_id":186764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:01:15] local.INFO: TCP Data received {"connection_id":188078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:01:15] local.INFO: Processing buffer {"connection_id":188078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:01:15] local.INFO: IMEI packet received {"connection_id":188078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":188078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:01:20] local.INFO: TCP Data received {"connection_id":188078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:01:20] local.INFO: Processing buffer {"connection_id":188078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:01:20] local.INFO: IMEI packet received {"connection_id":188078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":188078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:01:20] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:01:20] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:01:20] local.INFO: IMEI packet received {"connection_id":188079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":188079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:01:21] local.INFO: TCP Data received {"connection_id":188078,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:01:21] local.INFO: Processing buffer {"connection_id":188078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:01:21] local.INFO: Packet analysis {"connection_id":188078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:01:21] local.INFO: Extracted packet for processing {"connection_id":188078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 16:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:01: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-09-17 16:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:01:21] 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-09-17 16:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":188078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:01:21] local.INFO: GPS data processed {"connection_id":188078,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:01:21] local.INFO: Acknowledgment sent {"connection_id":188078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:01:22] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:01:22] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:01:22] local.INFO: IMEI packet received {"connection_id":188079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":188079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:01:25] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:01:25] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:01:25] local.INFO: IMEI packet received {"connection_id":188079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":188079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:01:27] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeeb6ea0012d7be58005ec3000000800bd22..."} 
[2026-09-17 16:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeeb6ea0012d7be58005ec3000000800bd22..."} 
[2026-09-17 16:01:27] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeeb6ea0012d7be58005ec3000000800bd22..."} 
[2026-09-17 16:01:27] local.INFO: Packet analysis {"connection_id":188079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:01:27] local.INFO: Extracted packet for processing {"connection_id":188079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763094400,"raw_latitude":99364864,"longitude_deg":76.30944,"latitude_deg":9.9364864,"altitude":8,"angle":189,"satellites":34,"speed":13,"hex_longitude":"2d7be580","hex_latitude":"05ec3000","is_valid_coordinates":true} 
[2026-09-17 16:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148111104001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134352169066299392,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752968001902592,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789641060000,"timestamp_ms":1789641060000,"timestamp_seconds":1789641060,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeeb6ea0"} 
[2026-09-17 16:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 16:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148111104001,"66":13091,"198":206,"87":13824,"24":13,"16":134352169066299392,"45":8927752968001902592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 16:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148111104001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:01:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 16:01:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134352169066299392,"km_value":134352169066299.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752968001902592,"description":"Unknown IO ID 45"} 
[2026-09-17 16:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148111104001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8927752968001902592}} 
[2026-09-17 16:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":188079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:01:27] local.INFO: GPS data processed {"connection_id":188079,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:01:27] local.INFO: Acknowledgment sent {"connection_id":188079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:01:28] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeeb7288012d7be5c005ec2e88000800ac22..."} 
[2026-09-17 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeeb7288012d7be5c005ec2e88000800ac22..."} 
[2026-09-17 16:01:28] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeeb7288012d7be5c005ec2e88000800ac22..."} 
[2026-09-17 16:01:28] local.INFO: Packet analysis {"connection_id":188079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:01:28] local.INFO: Extracted packet for processing {"connection_id":188079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763094464,"raw_latitude":99364488,"longitude_deg":76.3094464,"latitude_deg":9.9364488,"altitude":8,"angle":172,"satellites":34,"speed":13,"hex_longitude":"2d7be5c0","hex_latitude":"05ec2e88","is_valid_coordinates":true} 
[2026-09-17 16:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148111360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134352190541135872,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682599257636864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789641061000,"timestamp_ms":1789641061000,"timestamp_seconds":1789641061,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeeb7288"} 
[2026-09-17 16:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 16:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148111360001,"66":12689,"198":206,"87":13824,"24":13,"16":134352190541135872,"45":8927682599257636864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 16:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148111360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:01:28] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 16:01:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134352190541135872,"km_value":134352190541135.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682599257636864,"description":"Unknown IO ID 45"} 
[2026-09-17 16:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148111360001,"power":12689,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8927682599257636864}} 
[2026-09-17 16:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":188079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:01:28] local.INFO: GPS data processed {"connection_id":188079,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:01:28] local.INFO: Acknowledgment sent {"connection_id":188079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:01:36] local.INFO: TCP Data received {"connection_id":185307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:36] local.INFO: Processing buffer {"connection_id":185307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:36] local.INFO: IMEI packet received {"connection_id":185307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":185307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:01:36] local.INFO: TCP Data received {"connection_id":185307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:36] local.INFO: Processing buffer {"connection_id":185307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:36] local.INFO: IMEI packet received {"connection_id":185307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":185307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:01:36] local.INFO: TCP Data received {"connection_id":185307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:36] local.INFO: Processing buffer {"connection_id":185307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:36] local.INFO: IMEI packet received {"connection_id":185307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":185307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:01:37] local.INFO: TCP Data received {"connection_id":185307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:37] local.INFO: Processing buffer {"connection_id":185307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:01:37] local.INFO: IMEI packet received {"connection_id":185307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":185307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:01:52] local.INFO: TCP Data received {"connection_id":188078,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:01:52] local.INFO: Processing buffer {"connection_id":188078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:01:52] local.INFO: Packet analysis {"connection_id":188078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:01:52] local.INFO: Extracted packet for processing {"connection_id":188078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 16:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:01:52] 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-09-17 16:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":188078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:01:52] local.INFO: GPS data processed {"connection_id":188078,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:01:52] local.INFO: Acknowledgment sent {"connection_id":188078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:02:00] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeeb7670012d7be70005ec2ce8000800981f..."} 
[2026-09-17 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeeb7670012d7be70005ec2ce8000800981f..."} 
[2026-09-17 16:02:00] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeeb7670012d7be70005ec2ce8000800981f..."} 
[2026-09-17 16:02:00] local.INFO: Packet analysis {"connection_id":188079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:02:00] local.INFO: Extracted packet for processing {"connection_id":188079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":99364072,"longitude_deg":76.3094784,"latitude_deg":9.9364072,"altitude":8,"angle":152,"satellites":31,"speed":16,"hex_longitude":"2d7be700","hex_latitude":"05ec2ce8","is_valid_coordinates":true} 
[2026-09-17 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148111616001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134352212015972352,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752968001718272,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789641062000,"timestamp_ms":1789641062000,"timestamp_seconds":1789641062,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeeb7670"} 
[2026-09-17 16:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 16:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148111616001,"66":12689,"198":206,"87":13824,"24":16,"16":134352212015972352,"45":8927752968001718272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 16:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148111616001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:02:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 16:02:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134352212015972352,"km_value":134352212015972.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752968001718272,"description":"Unknown IO ID 45"} 
[2026-09-17 16:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148111616001,"power":12689,"unknown_198":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8927752968001718272}} 
[2026-09-17 16:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":188079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:02:00] local.INFO: GPS data processed {"connection_id":188079,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:02:00] local.INFO: Acknowledgment sent {"connection_id":188079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:02:15] local.INFO: TCP Data received {"connection_id":185309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:02:15] local.INFO: Processing buffer {"connection_id":185309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:02:15] local.INFO: IMEI packet received {"connection_id":185309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":185309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:02:20] local.INFO: TCP Data received {"connection_id":185309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:02:20] local.INFO: Processing buffer {"connection_id":185309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:02:20] local.INFO: IMEI packet received {"connection_id":185309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":185309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:02:21] local.INFO: TCP Data received {"connection_id":185310,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:02:21] local.INFO: Processing buffer {"connection_id":185310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:02:21] local.INFO: IMEI packet received {"connection_id":185310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":185310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:02:22] local.INFO: TCP Data received {"connection_id":185309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:02:22] local.INFO: Processing buffer {"connection_id":185309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aee79e10012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:02:22] local.INFO: Packet analysis {"connection_id":185309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:02:22] local.INFO: Extracted packet for processing {"connection_id":185309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aee7"} 
[2026-09-17 16:02:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458147970304001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789640810000,"timestamp_ms":1789640810000,"timestamp_seconds":1789640810,"priority":1,"record_length":96,"hex_timestamp":"000001a0aee79e10"} 
[2026-09-17 16:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:02: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-09-17 16:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458147970304001,"66":25995,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458147970304001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458147970304001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":185309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:02:22] local.INFO: GPS data processed {"connection_id":185309,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:02:22] local.INFO: Acknowledgment sent {"connection_id":185309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:02:24] local.INFO: TCP Data received {"connection_id":185310,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:02:24] local.INFO: Processing buffer {"connection_id":185310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:02:24] local.INFO: IMEI packet received {"connection_id":185310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":185310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:02:30] local.INFO: TCP Data received {"connection_id":185310,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:02:30] local.INFO: Processing buffer {"connection_id":185310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:02:30] local.INFO: IMEI packet received {"connection_id":185310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":185310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:02:30] local.INFO: TCP Data received {"connection_id":185310,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeeb91c8012d7bee8005ec1da0000800a423..."} 
[2026-09-17 16:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeeb91c8012d7bee8005ec1da0000800a423..."} 
[2026-09-17 16:02:30] local.INFO: Processing buffer {"connection_id":185310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeeb91c8012d7bee8005ec1da0000800a423..."} 
[2026-09-17 16:02:30] local.INFO: Packet analysis {"connection_id":185310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:02:30] local.INFO: Extracted packet for processing {"connection_id":185310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeeb"} 
[2026-09-17 16:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763096704,"raw_latitude":99360160,"longitude_deg":76.3096704,"latitude_deg":9.936016,"altitude":8,"angle":164,"satellites":35,"speed":25,"hex_longitude":"2d7bee80","hex_latitude":"05ec1da0","is_valid_coordinates":true} 
[2026-09-17 16:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148111872001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134352426764337152,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811722500096,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789641069000,"timestamp_ms":1789641069000,"timestamp_seconds":1789641069,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeeb91c8"} 
[2026-09-17 16:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 16:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148111872001,"66":13222,"198":206,"87":13824,"24":25,"16":134352426764337152,"45":8928104811722500096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-17 16:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148111872001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:02:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 16:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134352426764337152,"km_value":134352426764337.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811722500096,"description":"Unknown IO ID 45"} 
[2026-09-17 16:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148111872001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8928104811722500096}} 
[2026-09-17 16:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":185310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:02:31] local.INFO: GPS data processed {"connection_id":185310,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:02:31] local.INFO: Acknowledgment sent {"connection_id":185310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:02:53] local.INFO: TCP Data received {"connection_id":185309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:02:53] local.INFO: Processing buffer {"connection_id":185309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:02:53] local.INFO: Packet analysis {"connection_id":185309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:02:53] local.INFO: Extracted packet for processing {"connection_id":185309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":185309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:02:53] local.INFO: GPS data processed {"connection_id":185309,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:02:53] local.INFO: Acknowledgment sent {"connection_id":185309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:03:02] local.INFO: TCP Data received {"connection_id":185310,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeed00f8012d7c344005eb0f480000008d23..."} 
[2026-09-17 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeed00f8012d7c344005eb0f480000008d23..."} 
[2026-09-17 16:03:02] local.INFO: Processing buffer {"connection_id":185310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeed00f8012d7c344005eb0f480000008d23..."} 
[2026-09-17 16:03:02] local.INFO: Packet analysis {"connection_id":185310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:03:02] local.INFO: Extracted packet for processing {"connection_id":185310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":99290952,"longitude_deg":76.311456,"latitude_deg":9.9290952,"altitude":0,"angle":141,"satellites":35,"speed":25,"hex_longitude":"2d7c3440","hex_latitude":"05eb0f48","is_valid_coordinates":true} 
[2026-09-17 16:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148137472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134355927162683392,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541189750784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789641163000,"timestamp_ms":1789641163000,"timestamp_seconds":1789641163,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeed00f8"} 
[2026-09-17 16:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 16:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148137472001,"66":13341,"10":206,"87":13824,"24":25,"16":134355927162683392,"45":8949426541189750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 16:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148137472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:03:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 16:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134355927162683392,"km_value":134355927162683.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541189750784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148137472001,"power":13341,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8949426541189750784}} 
[2026-09-17 16:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":185310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:03:02] local.INFO: GPS data processed {"connection_id":185310,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:03:02] local.INFO: Acknowledgment sent {"connection_id":185310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:03:15] local.INFO: TCP Data received {"connection_id":185465,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:03:15] local.INFO: Processing buffer {"connection_id":185465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:03:15] local.INFO: IMEI packet received {"connection_id":185465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":185465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:03:19] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:19] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:19] local.INFO: IMEI packet received {"connection_id":186766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":186766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:03:20] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:20] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:20] local.INFO: IMEI packet received {"connection_id":186766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":186766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:03:20] local.INFO: TCP Data received {"connection_id":185465,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:03:20] local.INFO: Processing buffer {"connection_id":185465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:03:20] local.INFO: IMEI packet received {"connection_id":185465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":185465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:03:20] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:20] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:20] local.INFO: IMEI packet received {"connection_id":186766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":186766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:03:21] local.INFO: TCP Data received {"connection_id":185465,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:03:21] local.INFO: Processing buffer {"connection_id":185465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:03:21] local.INFO: Packet analysis {"connection_id":185465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:03:21] local.INFO: Extracted packet for processing {"connection_id":185465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:03: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-09-17 16:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":185465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:03:21] local.INFO: GPS data processed {"connection_id":185465,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:03:21] local.INFO: Acknowledgment sent {"connection_id":185465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:03:22] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:22] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:03:22] local.INFO: IMEI packet received {"connection_id":186766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":186766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:03:23] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeed1480012d7c3b4005eb05f8000100a326..."} 
[2026-09-17 16:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeed1480012d7c3b4005eb05f8000100a326..."} 
[2026-09-17 16:03:23] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeed1480012d7c3b4005eb05f8000100a326..."} 
[2026-09-17 16:03:23] local.INFO: Packet analysis {"connection_id":186766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:03:23] local.INFO: Extracted packet for processing {"connection_id":186766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763116352,"raw_latitude":99288568,"longitude_deg":76.3116352,"latitude_deg":9.9288568,"altitude":1,"angle":163,"satellites":38,"speed":25,"hex_longitude":"2d7c3b40","hex_latitude":"05eb05f8","is_valid_coordinates":true} 
[2026-09-17 16:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148137728001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134356073191571456,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753654679552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789641168000,"timestamp_ms":1789641168000,"timestamp_seconds":1789641168,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeed1480"} 
[2026-09-17 16:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 16:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148137728001,"66":13363,"10":206,"87":13824,"24":25,"16":134356073191571456,"45":8949848753654679552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 16:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148137728001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:03:23] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 16:03:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134356073191571456,"km_value":134356073191571.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753654679552,"description":"Unknown IO ID 45"} 
[2026-09-17 16:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148137728001,"power":13363,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8949848753654679552}} 
[2026-09-17 16:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":186766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:03:23] local.INFO: GPS data processed {"connection_id":186766,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:03:23] local.INFO: Acknowledgment sent {"connection_id":186766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:03:53] local.INFO: TCP Data received {"connection_id":185465,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:03:53] local.INFO: Processing buffer {"connection_id":185465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:03:53] local.INFO: Packet analysis {"connection_id":185465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:03:53] local.INFO: Extracted packet for processing {"connection_id":185465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":185465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:03:53] local.INFO: GPS data processed {"connection_id":185465,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:03:53] local.INFO: Acknowledgment sent {"connection_id":185465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:03:54] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeed2038012d7c3c8005eafd68000400af24..."} 
[2026-09-17 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeed2038012d7c3c8005eafd68000400af24..."} 
[2026-09-17 16:03:54] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeed2038012d7c3c8005eafd68000400af24..."} 
[2026-09-17 16:03:54] local.INFO: Packet analysis {"connection_id":186766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:03:54] local.INFO: Extracted packet for processing {"connection_id":186766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":99286376,"longitude_deg":76.3116672,"latitude_deg":9.9286376,"altitude":4,"angle":175,"satellites":36,"speed":32,"hex_longitude":"2d7c3c80","hex_latitude":"05eafd68","is_valid_coordinates":true} 
[2026-09-17 16:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148139008001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134356180565753856,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951819078491043840,"note":"Value kept but may cause issues"} 
[2026-09-17 16:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789641171000,"timestamp_ms":1789641171000,"timestamp_seconds":1789641171,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeed2038"} 
[2026-09-17 16:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 16:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148139008001,"66":13102,"10":206,"87":13824,"24":32,"16":134356180565753856,"45":8951819078491043840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 16:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148139008001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:03:54] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 16:03:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134356180565753856,"km_value":134356180565753.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951819078491043840,"description":"Unknown IO ID 45"} 
[2026-09-17 16:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148139008001,"power":13102,"unknown_10":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8951819078491043840}} 
[2026-09-17 16:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":186766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:03:55] local.INFO: GPS data processed {"connection_id":186766,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:03:55] local.INFO: Acknowledgment sent {"connection_id":186766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:04:15] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:04:15] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:04:15] local.INFO: IMEI packet received {"connection_id":185312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":185312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:04:19] local.INFO: TCP Data received {"connection_id":185467,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:04:19] local.INFO: Processing buffer {"connection_id":185467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:04:19] local.INFO: IMEI packet received {"connection_id":185467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":185467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:04:20] local.INFO: TCP Data received {"connection_id":188081,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:04:20] local.INFO: Processing buffer {"connection_id":188081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:04:20] local.INFO: IMEI packet received {"connection_id":188081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":188081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:04:20] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:04:20] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:04:20] local.INFO: IMEI packet received {"connection_id":185312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":185312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:04:21] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:04:21] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:04:21] local.INFO: Packet analysis {"connection_id":185312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:04:21] local.INFO: Extracted packet for processing {"connection_id":185312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:04: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-09-17 16:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:04:21] 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-09-17 16:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:04:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":185312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:04:21] local.INFO: GPS data processed {"connection_id":185312,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:04:21] local.INFO: Acknowledgment sent {"connection_id":185312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:04:24] local.INFO: TCP Data received {"connection_id":185467,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:04:24] local.INFO: Processing buffer {"connection_id":185467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:04:24] local.INFO: IMEI packet received {"connection_id":185467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":185467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:04:25] local.INFO: TCP Data received {"connection_id":185467,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeed5eb8012d7c3dc005eadbb8000a00c81f..."} 
[2026-09-17 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeed5eb8012d7c3dc005eadbb8000a00c81f..."} 
[2026-09-17 16:04:25] local.INFO: Processing buffer {"connection_id":185467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeed5eb8012d7c3dc005eadbb8000a00c81f..."} 
[2026-09-17 16:04:25] local.INFO: Packet analysis {"connection_id":185467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:04:25] local.INFO: Extracted packet for processing {"connection_id":185467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":99277752,"longitude_deg":76.3116992,"latitude_deg":9.9277752,"altitude":10,"angle":200,"satellites":31,"speed":8,"hex_longitude":"2d7c3dc0","hex_latitude":"05eadbb8","is_valid_coordinates":true} 
[2026-09-17 16:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148139776001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134356610062483456,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952170922211371008,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789641187000,"timestamp_ms":1789641187000,"timestamp_seconds":1789641187,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeed5eb8"} 
[2026-09-17 16:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 16:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148139776001,"66":12917,"10":206,"87":13824,"24":8,"16":134356610062483456,"45":8952170922211371008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 16:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148139776001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:04:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 16:04:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134356610062483456,"km_value":134356610062483.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952170922211371008,"description":"Unknown IO ID 45"} 
[2026-09-17 16:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148139776001,"power":12917,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8952170922211371008}} 
[2026-09-17 16:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":185467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:04:25] local.INFO: GPS data processed {"connection_id":185467,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:04:25] local.INFO: Acknowledgment sent {"connection_id":185467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:04:53] local.INFO: TCP Data received {"connection_id":185312,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:04:53] local.INFO: Processing buffer {"connection_id":185312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:04:53] local.INFO: Packet analysis {"connection_id":185312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:04:53] local.INFO: Extracted packet for processing {"connection_id":185312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:04:53] 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-09-17 16:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":185312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:04:53] local.INFO: GPS data processed {"connection_id":185312,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:04:53] local.INFO: Acknowledgment sent {"connection_id":185312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:04:55] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:04:55] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:04:55] local.INFO: IMEI packet received {"connection_id":186768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":186768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:04:56] local.INFO: TCP Data received {"connection_id":185467,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeed6a70012d7c3d4005ead810000a00b820..."} 
[2026-09-17 16:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeed6a70012d7c3d4005ead810000a00b820..."} 
[2026-09-17 16:04:56] local.INFO: Processing buffer {"connection_id":185467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeed6a70012d7c3d4005ead810000a00b820..."} 
[2026-09-17 16:04:56] local.INFO: Packet analysis {"connection_id":185467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:04:56] local.INFO: Extracted packet for processing {"connection_id":185467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763116864,"raw_latitude":99276816,"longitude_deg":76.3116864,"latitude_deg":9.9276816,"altitude":10,"angle":184,"satellites":32,"speed":14,"hex_longitude":"2d7c3d40","hex_latitude":"05ead810","is_valid_coordinates":true} 
[2026-09-17 16:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148143872001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134356653012156416,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765930051584,"note":"Value kept but may cause issues"} 
[2026-09-17 16:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789641190000,"timestamp_ms":1789641190000,"timestamp_seconds":1789641190,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeed6a70"} 
[2026-09-17 16:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148143872001,"66":13222,"10":206,"87":13824,"24":14,"16":134356653012156416,"45":8952522765930051584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 16:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148143872001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:04:56] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 16:04:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134356653012156416,"km_value":134356653012156.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765930051584,"description":"Unknown IO ID 45"} 
[2026-09-17 16:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148143872001,"power":13222,"unknown_10":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8952522765930051584}} 
[2026-09-17 16:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":185467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:04:56] local.INFO: GPS data processed {"connection_id":185467,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:04:56] local.INFO: Acknowledgment sent {"connection_id":185467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:05:15] local.INFO: TCP Data received {"connection_id":185468,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:05:15] local.INFO: Processing buffer {"connection_id":185468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:05:15] local.INFO: IMEI packet received {"connection_id":185468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":185468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:05:17] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:05:17] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:05:17] local.INFO: IMEI packet received {"connection_id":186769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":186769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:05:17] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeeee940012d0c678007050bc8001a016126..."} 
[2026-09-17 16:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeeee940012d0c678007050bc8001a016126..."} 
[2026-09-17 16:05:17] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeeee940012d0c678007050bc8001a016126..."} 
[2026-09-17 16:05:17] local.INFO: Packet analysis {"connection_id":186769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeee"} 
[2026-09-17 16:05:17] local.INFO: Extracted packet for processing {"connection_id":186769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeee"} 
[2026-09-17 16:05:17] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":117771208,"longitude_deg":75.5787648,"latitude_deg":11.7771208,"altitude":26,"angle":353,"satellites":38,"speed":8,"hex_longitude":"2d0c6780","hex_latitude":"07050bc8","is_valid_coordinates":true} 
[2026-09-17 16:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148168192001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32902722252439552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894527506135195648,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789641288000,"timestamp_ms":1789641288000,"timestamp_seconds":1789641288,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeeee940"} 
[2026-09-17 16:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 16:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148168192001,"66":14450,"95":206,"94":10240,"24":8,"16":32902722252439552,"45":894527506135195648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-17 16:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148168192001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:05:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 16:05:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32902722252439552,"km_value":32902722252439.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":894527506135195648,"description":"Unknown IO ID 45"} 
[2026-09-17 16:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148168192001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":894527506135195648}} 
[2026-09-17 16:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":186769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:05:18] local.INFO: GPS data processed {"connection_id":186769,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:05:18] local.INFO: Acknowledgment sent {"connection_id":186769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:05:19] local.INFO: TCP Data received {"connection_id":185313,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:05:19] local.INFO: Processing buffer {"connection_id":185313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:05:19] local.INFO: IMEI packet received {"connection_id":185313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":185313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:05:20] local.INFO: TCP Data received {"connection_id":185468,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:05:20] local.INFO: Processing buffer {"connection_id":185468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:05:20] local.INFO: IMEI packet received {"connection_id":185468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":185468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:05:21] local.INFO: TCP Data received {"connection_id":185468,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:05:21] local.INFO: Processing buffer {"connection_id":185468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:05:21] local.INFO: Packet analysis {"connection_id":185468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:05:21] local.INFO: Extracted packet for processing {"connection_id":185468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:05: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-09-17 16:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:05:21] 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-09-17 16:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":185468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:05:21] local.INFO: GPS data processed {"connection_id":185468,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:05:21] local.INFO: Acknowledgment sent {"connection_id":185468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:05:25] local.INFO: TCP Data received {"connection_id":185313,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:05:25] local.INFO: Processing buffer {"connection_id":185313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:05:25] local.INFO: IMEI packet received {"connection_id":185313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":185313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:05:25] local.INFO: TCP Data received {"connection_id":185313,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeed89b0012d7c3d4005eac970000b00a91f..."} 
[2026-09-17 16:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeed89b0012d7c3d4005eac970000b00a91f..."} 
[2026-09-17 16:05:25] local.INFO: Processing buffer {"connection_id":185313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeed89b0012d7c3d4005eac970000b00a91f..."} 
[2026-09-17 16:05:25] local.INFO: Packet analysis {"connection_id":185313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:05:25] local.INFO: Extracted packet for processing {"connection_id":185313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeed"} 
[2026-09-17 16:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763116864,"raw_latitude":99273072,"longitude_deg":76.3116864,"latitude_deg":9.9273072,"altitude":11,"angle":169,"satellites":31,"speed":11,"hex_longitude":"2d7c3d40","hex_latitude":"05eac970","is_valid_coordinates":true} 
[2026-09-17 16:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148144640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134356837695750144,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952382028441456640,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789641198000,"timestamp_ms":1789641198000,"timestamp_seconds":1789641198,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeed89b0"} 
[2026-09-17 16:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 16:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148144640001,"66":12863,"10":206,"87":13824,"24":11,"16":134356837695750144,"45":8952382028441456640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-17 16:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148144640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:05:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-17 16:05:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134356837695750144,"km_value":134356837695750.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952382028441456640,"description":"Unknown IO ID 45"} 
[2026-09-17 16:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148144640001,"power":12863,"unknown_10":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8952382028441456640}} 
[2026-09-17 16:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":185313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:05:25] local.INFO: GPS data processed {"connection_id":185313,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:05:25] local.INFO: Acknowledgment sent {"connection_id":185313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:05:53] local.INFO: TCP Data received {"connection_id":185468,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:05:53] local.INFO: Processing buffer {"connection_id":185468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:05:53] local.INFO: Packet analysis {"connection_id":185468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:05:53] local.INFO: Extracted packet for processing {"connection_id":185468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:05:53] 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-09-17 16:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":185468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:05:53] local.INFO: GPS data processed {"connection_id":185468,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:05:53] local.INFO: Acknowledgment sent {"connection_id":185468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:05:57] local.INFO: TCP Data received {"connection_id":185313,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeef9138012d7ce3c005eaed780011006123..."} 
[2026-09-17 16:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeef9138012d7ce3c005eaed780011006123..."} 
[2026-09-17 16:05:57] local.INFO: Processing buffer {"connection_id":185313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeef9138012d7ce3c005eaed780011006123..."} 
[2026-09-17 16:05:57] local.INFO: Packet analysis {"connection_id":185313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeef"} 
[2026-09-17 16:05:57] local.INFO: Extracted packet for processing {"connection_id":185313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeef"} 
[2026-09-17 16:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763159488,"raw_latitude":99282296,"longitude_deg":76.3159488,"latitude_deg":9.9282296,"altitude":17,"angle":97,"satellites":35,"speed":6,"hex_longitude":"2d7ce3c0","hex_latitude":"05eaed78","is_valid_coordinates":true} 
[2026-09-17 16:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148175872001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134358980884430848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992984793833273344,"note":"Value kept but may cause issues"} 
[2026-09-17 16:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789641331000,"timestamp_ms":1789641331000,"timestamp_seconds":1789641331,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeef9138"} 
[2026-09-17 16:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 16:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148175872001,"66":13091,"8":206,"87":13824,"24":6,"16":134358980884430848,"45":8992984793833273344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-17 16:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148175872001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:05:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-17 16:05:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134358980884430848,"km_value":134358980884430.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992984793833273344,"description":"Unknown IO ID 45"} 
[2026-09-17 16:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148175872001,"power":13091,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8992984793833273344}} 
[2026-09-17 16:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":185313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:05:57] local.INFO: GPS data processed {"connection_id":185313,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:05:57] local.INFO: Acknowledgment sent {"connection_id":185313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:06:15] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:06:15] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:06:15] local.INFO: IMEI packet received {"connection_id":186770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":186770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:06:19] local.INFO: TCP Data received {"connection_id":188082,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:06:19] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:06:19] local.INFO: IMEI packet received {"connection_id":188082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":188082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:06:20] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:06:20] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:06:20] local.INFO: IMEI packet received {"connection_id":186770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":186770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:06:20] local.INFO: TCP Data received {"connection_id":188082,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:06:20] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:06:20] local.INFO: IMEI packet received {"connection_id":188082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":188082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:06:21] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:06:21] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:06:21] local.INFO: Packet analysis {"connection_id":186770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:06:21] local.INFO: Extracted packet for processing {"connection_id":186770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:06: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-09-17 16:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:06:21] 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-09-17 16:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":186770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:06:21] local.INFO: GPS data processed {"connection_id":186770,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:06:21] local.INFO: Acknowledgment sent {"connection_id":186770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:06:25] local.INFO: TCP Data received {"connection_id":188082,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:06:25] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:06:25] local.INFO: IMEI packet received {"connection_id":188082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":188082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:06:25] local.INFO: TCP Data received {"connection_id":188082,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeefa8a8012d7cea0005eaecb80011005420..."} 
[2026-09-17 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeefa8a8012d7cea0005eaecb80011005420..."} 
[2026-09-17 16:06:25] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeefa8a8012d7cea0005eaecb80011005420..."} 
[2026-09-17 16:06:25] local.INFO: Packet analysis {"connection_id":188082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeef"} 
[2026-09-17 16:06:25] local.INFO: Extracted packet for processing {"connection_id":188082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeef"} 
[2026-09-17 16:06:25] local.INFO: GPS Element Parsed {"raw_longitude":763161088,"raw_latitude":99282104,"longitude_deg":76.3161088,"latitude_deg":9.9282104,"altitude":17,"angle":84,"satellites":32,"speed":15,"hex_longitude":"2d7cea00","hex_latitude":"05eaecb8","is_valid_coordinates":true} 
[2026-09-17 16:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148180736001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134359062488809472,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999247612065183744,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789641337000,"timestamp_ms":1789641337000,"timestamp_seconds":1789641337,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeefa8a8"} 
[2026-09-17 16:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 16:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148180736001,"66":13319,"8":206,"87":13824,"24":15,"16":134359062488809472,"45":8999247612065183744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-17 16:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148180736001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:06:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-17 16:06:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134359062488809472,"km_value":134359062488809.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999247612065183744,"description":"Unknown IO ID 45"} 
[2026-09-17 16:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148180736001,"power":13319,"unknown_8":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8999247612065183744}} 
[2026-09-17 16:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":188082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:06:26] local.INFO: GPS data processed {"connection_id":188082,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:06:26] local.INFO: Acknowledgment sent {"connection_id":188082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:06:26] local.INFO: TCP Data received {"connection_id":185470,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:06:26] local.INFO: Processing buffer {"connection_id":185470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:06:26] local.INFO: IMEI packet received {"connection_id":185470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":185470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:06:31] local.INFO: TCP Data received {"connection_id":185470,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:06:31] local.INFO: Processing buffer {"connection_id":185470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:06:31] local.INFO: IMEI packet received {"connection_id":185470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":185470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:06:32] local.INFO: TCP Data received {"connection_id":185470,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef04100012d0c3ac007057ca80018016525..."} 
[2026-09-17 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef04100012d0c3ac007057ca80018016525..."} 
[2026-09-17 16:06:32] local.INFO: Processing buffer {"connection_id":185470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef04100012d0c3ac007057ca80018016525..."} 
[2026-09-17 16:06:32] local.INFO: Packet analysis {"connection_id":185470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:06:32] local.INFO: Extracted packet for processing {"connection_id":185470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":755776192,"raw_latitude":117800104,"longitude_deg":75.5776192,"latitude_deg":11.7800104,"altitude":24,"angle":357,"satellites":37,"speed":7,"hex_longitude":"2d0c3ac0","hex_latitude":"07057ca8","is_valid_coordinates":true} 
[2026-09-17 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148192000001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32904264145698816,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550982021120,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789641376000,"timestamp_ms":1789641376000,"timestamp_seconds":1789641376,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef04100"} 
[2026-09-17 16:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 16:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148192000001,"66":14689,"165":206,"94":10240,"24":7,"16":32904264145698816,"45":881368550982021120},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148192000001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:06:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:06:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32904264145698816,"km_value":32904264145698.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550982021120,"description":"Unknown IO ID 45"} 
[2026-09-17 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148192000001,"power":14689,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":881368550982021120}} 
[2026-09-17 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":185470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:06:32] local.INFO: GPS data processed {"connection_id":185470,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:06:32] local.INFO: Acknowledgment sent {"connection_id":185470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:06:38] local.INFO: TCP Data received {"connection_id":185315,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:06:38] local.INFO: Processing buffer {"connection_id":185315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:06:38] local.INFO: IMEI packet received {"connection_id":185315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":185315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:06:40] local.INFO: TCP Data received {"connection_id":185315,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:06:40] local.INFO: Processing buffer {"connection_id":185315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:06:40] local.INFO: IMEI packet received {"connection_id":185315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":185315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:06:43] local.INFO: TCP Data received {"connection_id":185315,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:06:43] local.INFO: Processing buffer {"connection_id":185315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:06:43] local.INFO: IMEI packet received {"connection_id":185315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":185315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:06:44] local.INFO: TCP Data received {"connection_id":185315,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef044e8012d0743c0072743e8004d00c418..."} 
[2026-09-17 16:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef044e8012d0743c0072743e8004d00c418..."} 
[2026-09-17 16:06:44] local.INFO: Processing buffer {"connection_id":185315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef044e8012d0743c0072743e8004d00c418..."} 
[2026-09-17 16:06:44] local.INFO: Packet analysis {"connection_id":185315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:06:44] local.INFO: Extracted packet for processing {"connection_id":185315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":755450816,"raw_latitude":120013800,"longitude_deg":75.5450816,"latitude_deg":12.00138,"altitude":77,"angle":196,"satellites":24,"speed":30,"hex_longitude":"2d0743c0","hex_latitude":"072743e8","is_valid_coordinates":true} 
[2026-09-17 16:06: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-09-17 16:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148191488001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21171976861122560,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":525232337266282496,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789641377000,"timestamp_ms":1789641377000,"timestamp_seconds":1789641377,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef044e8"} 
[2026-09-17 16:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 16:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:06: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-09-17 16:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148191488001,"66":14265,"25":206,"83":44288,"24":30,"16":21171976861122560,"45":525232337266282496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-17 16:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148191488001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:06:44] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-17 16:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21171976861122560,"km_value":21171976861122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":525232337266282496,"description":"Unknown IO ID 45"} 
[2026-09-17 16:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148191488001,"power":14265,"unknown_25":206,"unknown_83":44288,"ignition":30,"odometer":null,"unknown_45":525232337266282496}} 
[2026-09-17 16:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":185315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:06:44] local.INFO: GPS data processed {"connection_id":185315,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:06:44] local.INFO: Acknowledgment sent {"connection_id":185315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:06:53] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:06:53] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:06:53] local.INFO: Packet analysis {"connection_id":186770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:06:53] local.INFO: Extracted packet for processing {"connection_id":186770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:06:53] 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-09-17 16:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":186770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:06:54] local.INFO: GPS data processed {"connection_id":186770,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:06:54] local.INFO: Acknowledgment sent {"connection_id":186770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:06:57] local.INFO: TCP Data received {"connection_id":188082,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeefbc30012d7cf0c005eaedb8001000471d..."} 
[2026-09-17 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeefbc30012d7cf0c005eaedb8001000471d..."} 
[2026-09-17 16:06:57] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeefbc30012d7cf0c005eaedb8001000471d..."} 
[2026-09-17 16:06:57] local.INFO: Packet analysis {"connection_id":188082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeef"} 
[2026-09-17 16:06:57] local.INFO: Extracted packet for processing {"connection_id":188082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeef"} 
[2026-09-17 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763162816,"raw_latitude":99282360,"longitude_deg":76.3162816,"latitude_deg":9.928236,"altitude":16,"angle":71,"satellites":29,"speed":6,"hex_longitude":"2d7cf0c0","hex_latitude":"05eaedb8","is_valid_coordinates":true} 
[2026-09-17 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148182272001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134359144093188096,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001006830669576192,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789641342000,"timestamp_ms":1789641342000,"timestamp_seconds":1789641342,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeefbc30"} 
[2026-09-17 16:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934851864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4007495681,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-3445253663394095104,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3939569664,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480590,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57788166505912118,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.WARNING: Large IO value detected {"io_id":238,"raw_value":4422536128951353349,"note":"Value kept but may cause issues"} 
[2026-09-17 16:06:57] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,8,87,24,241,157,16,86,160,145,45,192,237,17,35,10,66,71,128,235,15,31,1,240,187,227,174,234,4,113,205,5,151,135,239,48,2,221,13,238],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-09-17 16:06:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225071595061444608,"timestamp_seconds":1225071595061444.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148182272001,"66":13059,"8":206,"87":13824,"24":6,"16":134359144093188096,"45":9001006830669576192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-17 16:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148182272001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:06:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-17 16:06:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134359144093188096,"km_value":134359144093188.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001006830669576192,"description":"Unknown IO ID 45"} 
[2026-09-17 16:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148182272001,"power":13059,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9001006830669576192}} 
[2026-09-17 16:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":188082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:06:57] local.INFO: GPS data processed {"connection_id":188082,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:06:57] local.INFO: Acknowledgment sent {"connection_id":188082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:06:57] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:06:57] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:06:57] local.INFO: IMEI packet received {"connection_id":188083,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":188083,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:07:01] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:07:01] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:07:01] local.INFO: IMEI packet received {"connection_id":188083,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":188083,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:07:04] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:07:04] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:07:04] local.INFO: IMEI packet received {"connection_id":188083,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":188083,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:07:05] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0d570012d0c528007058748001c009a23..."} 
[2026-09-17 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0d570012d0c528007058748001c009a23..."} 
[2026-09-17 16:07:05] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0d570012d0c528007058748001c009a23..."} 
[2026-09-17 16:07:05] local.INFO: Packet analysis {"connection_id":188083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:05] local.INFO: Extracted packet for processing {"connection_id":188083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":755782272,"raw_latitude":117802824,"longitude_deg":75.5782272,"latitude_deg":11.7802824,"altitude":28,"angle":154,"satellites":35,"speed":3,"hex_longitude":"2d0c5280","hex_latitude":"07058748","is_valid_coordinates":true} 
[2026-09-17 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201728001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32904612038049792,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887772106702950400,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789641414000,"timestamp_ms":1789641414000,"timestamp_seconds":1789641414,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0d570"} 
[2026-09-17 16:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201728001,"66":14559,"164":206,"94":10240,"24":3,"16":32904612038049792,"45":887772106702950400},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201728001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:07:05] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:07:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32904612038049792,"km_value":32904612038049.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":887772106702950400,"description":"Unknown IO ID 45"} 
[2026-09-17 16:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201728001,"power":14559,"unknown_164":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":887772106702950400}} 
[2026-09-17 16:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":188083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:07:05] local.INFO: GPS data processed {"connection_id":188083,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:07:05] local.INFO: Acknowledgment sent {"connection_id":188083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:07:07] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0dd40012d0c528007058760001c013b23..."} 
[2026-09-17 16:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0dd40012d0c528007058760001c013b23..."} 
[2026-09-17 16:07:07] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0dd40012d0c528007058760001c013b23..."} 
[2026-09-17 16:07:07] local.INFO: Packet analysis {"connection_id":188083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:07] local.INFO: Extracted packet for processing {"connection_id":188083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":755782272,"raw_latitude":117802848,"longitude_deg":75.5782272,"latitude_deg":11.7802848,"altitude":28,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2d0c5280","hex_latitude":"07058760","is_valid_coordinates":true} 
[2026-09-17 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201984001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32904616333017088,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887912844191287296,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789641416000,"timestamp_ms":1789641416000,"timestamp_seconds":1789641416,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0dd40"} 
[2026-09-17 16:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 16:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201984001,"66":14537,"164":206,"94":10240,"24":0,"16":32904616333017088,"45":887912844191287296},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201984001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:07:07] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:07:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32904616333017088,"km_value":32904616333017.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":887912844191287296,"description":"Unknown IO ID 45"} 
[2026-09-17 16:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201984001,"power":14537,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":887912844191287296}} 
[2026-09-17 16:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":188083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856455,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:07:07] local.INFO: GPS data processed {"connection_id":188083,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:07:07] local.INFO: Acknowledgment sent {"connection_id":188083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:07:15] local.INFO: TCP Data received {"connection_id":188084,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:07:15] local.INFO: Processing buffer {"connection_id":188084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:07:15] local.INFO: IMEI packet received {"connection_id":188084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":188084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:07:19] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:07:19] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:07:19] local.INFO: IMEI packet received {"connection_id":186771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":186771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:07:20] local.INFO: TCP Data received {"connection_id":188084,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:07:20] local.INFO: Processing buffer {"connection_id":188084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:07:20] local.INFO: IMEI packet received {"connection_id":188084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":188084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:07:21] local.INFO: TCP Data received {"connection_id":188084,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:07:21] local.INFO: Processing buffer {"connection_id":188084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeec35d8012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:07:21] local.INFO: Packet analysis {"connection_id":188084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:07:21] local.INFO: Extracted packet for processing {"connection_id":188084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeec"} 
[2026-09-17 16:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148047360001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641111000,"timestamp_ms":1789641111000,"timestamp_seconds":1789641111,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeec35d8"} 
[2026-09-17 16:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:07: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-09-17 16:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 16:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:07:21] 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-09-17 16:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148047360001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148047360001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148047360001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":188084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:07:21] local.INFO: GPS data processed {"connection_id":188084,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:07:21] local.INFO: Acknowledgment sent {"connection_id":188084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:07:25] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:07:25] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:07:25] local.INFO: IMEI packet received {"connection_id":186771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":186771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:07:26] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef00e38012d7cf14005eaedc80010004719..."} 
[2026-09-17 16:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef00e38012d7cf14005eaedc80010004719..."} 
[2026-09-17 16:07:26] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef00e38012d7cf14005eaedc80010004719..."} 
[2026-09-17 16:07:26] local.INFO: Packet analysis {"connection_id":186771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:26] local.INFO: Extracted packet for processing {"connection_id":186771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763162944,"raw_latitude":99282376,"longitude_deg":76.3162944,"latitude_deg":9.9282376,"altitude":16,"angle":71,"satellites":25,"speed":0,"hex_longitude":"2d7cf140","hex_latitude":"05eaedc8","is_valid_coordinates":true} 
[2026-09-17 16:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148183552001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134359148388155392,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002906786762438656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789641363000,"timestamp_ms":1789641363000,"timestamp_seconds":1789641363,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef00e38"} 
[2026-09-17 16:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303153886055758,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2934871864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4011335681,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3847749646,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2147871449,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3940007936,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,8,87,24,241,157,16,86,160,168,45,236,17,32,10,66,145,192,237,35,71,128,1,240,166,227,174,234,4,113,205,21,221,140,208,33,239,50,2,5,13],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-09-17 16:07:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152999694486863872,"timestamp_seconds":1152999694486863.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148183552001,"66":12526,"158":206,"87":13824,"24":0,"16":134359148388155392,"45":9002906786762438656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 16:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148183552001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:07:26] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 16:07:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134359148388155392,"km_value":134359148388155.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002906786762438656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148183552001,"power":12526,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9002906786762438656}} 
[2026-09-17 16:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":186771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:07:26] local.INFO: GPS data processed {"connection_id":186771,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:07:26] local.INFO: Acknowledgment sent {"connection_id":186771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:07:35] local.INFO: TCP Data received {"connection_id":185315,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0e510012d0762400726e7a00036005d18..."} 
[2026-09-17 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0e510012d0762400726e7a00036005d18..."} 
[2026-09-17 16:07:35] local.INFO: Processing buffer {"connection_id":185315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0e510012d0762400726e7a00036005d18..."} 
[2026-09-17 16:07:35] local.INFO: Packet analysis {"connection_id":185315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:35] local.INFO: Extracted packet for processing {"connection_id":185315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":755458624,"raw_latitude":119990176,"longitude_deg":75.5458624,"latitude_deg":11.9990176,"altitude":54,"angle":93,"satellites":24,"speed":18,"hex_longitude":"2d076240","hex_latitude":"0726e7a0","is_valid_coordinates":true} 
[2026-09-17 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148202752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21173351250657280,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":531635892979746816,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789641418000,"timestamp_ms":1789641418000,"timestamp_seconds":1789641418,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0e510"} 
[2026-09-17 16:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":185315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":185315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":185315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148202752001,"66":14428,"237":206,"83":44288,"24":18,"16":21173351250657280,"45":531635892979746816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 16:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148202752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:07:35] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 16:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21173351250657280,"km_value":21173351250657.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":531635892979746816,"description":"Unknown IO ID 45"} 
[2026-09-17 16:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148202752001,"power":14428,"unknown_237":206,"unknown_83":44288,"ignition":18,"odometer":null,"unknown_45":531635892979746816}} 
[2026-09-17 16:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":185315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:07:35] local.INFO: GPS data processed {"connection_id":185315,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:07:35] local.INFO: Acknowledgment sent {"connection_id":185315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:07:38] local.INFO: TCP Data received {"connection_id":188085,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:38] local.INFO: Processing buffer {"connection_id":188085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:38] local.INFO: IMEI packet received {"connection_id":188085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":188085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:07:38] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0f4b0012d0c518007058858001b012d23..."} 
[2026-09-17 16:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0f4b0012d0c518007058858001b012d23..."} 
[2026-09-17 16:07:38] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0f4b0012d0c518007058858001b012d23..."} 
[2026-09-17 16:07:38] local.INFO: Packet analysis {"connection_id":188083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:38] local.INFO: Extracted packet for processing {"connection_id":188083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:38] local.INFO: GPS Element Parsed {"raw_longitude":755782016,"raw_latitude":117803096,"longitude_deg":75.5782016,"latitude_deg":11.7803096,"altitude":27,"angle":301,"satellites":35,"speed":2,"hex_longitude":"2d0c5180","hex_latitude":"07058858","is_valid_coordinates":true} 
[2026-09-17 16:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148202496001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32904633512886272,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887912844191293440,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789641422000,"timestamp_ms":1789641422000,"timestamp_seconds":1789641422,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0f4b0"} 
[2026-09-17 16:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 16:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148202496001,"66":14428,"164":206,"94":10240,"24":2,"16":32904633512886272,"45":887912844191293440},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148202496001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:07:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:07:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32904633512886272,"km_value":32904633512886.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":887912844191293440,"description":"Unknown IO ID 45"} 
[2026-09-17 16:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148202496001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":887912844191293440}} 
[2026-09-17 16:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":188083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:07:38] local.INFO: GPS data processed {"connection_id":188083,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:07:38] local.INFO: Acknowledgment sent {"connection_id":188083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:07:40] local.INFO: TCP Data received {"connection_id":188085,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:40] local.INFO: Processing buffer {"connection_id":188085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:40] local.INFO: IMEI packet received {"connection_id":188085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":188085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:07:41] local.INFO: TCP Data received {"connection_id":188085,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:41] local.INFO: Processing buffer {"connection_id":188085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:41] local.INFO: IMEI packet received {"connection_id":188085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":188085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:07:43] local.INFO: TCP Data received {"connection_id":188085,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:43] local.INFO: Processing buffer {"connection_id":188085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:07:43] local.INFO: IMEI packet received {"connection_id":188085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":188085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:07:44] local.INFO: TCP Data received {"connection_id":188085,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0f0c8012d076a000726e8b80034005118..."} 
[2026-09-17 16:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0f0c8012d076a000726e8b80034005118..."} 
[2026-09-17 16:07:44] local.INFO: Processing buffer {"connection_id":188085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0f0c8012d076a000726e8b80034005118..."} 
[2026-09-17 16:07:44] local.INFO: Packet analysis {"connection_id":188085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:44] local.INFO: Extracted packet for processing {"connection_id":188085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:44] local.INFO: GPS Element Parsed {"raw_longitude":755460608,"raw_latitude":119990456,"longitude_deg":75.5460608,"latitude_deg":11.9990456,"altitude":52,"angle":81,"satellites":24,"speed":31,"hex_longitude":"2d076a00","hex_latitude":"0726e8b8","is_valid_coordinates":true} 
[2026-09-17 16:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148203008001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21173445739937792,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":532058105444802560,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789641421000,"timestamp_ms":1789641421000,"timestamp_seconds":1789641421,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0f0c8"} 
[2026-09-17 16:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148203008001,"66":14341,"237":206,"83":44288,"24":31,"16":21173445739937792,"45":532058105444802560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 16:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148203008001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:07:44] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 16:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21173445739937792,"km_value":21173445739937.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":532058105444802560,"description":"Unknown IO ID 45"} 
[2026-09-17 16:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148203008001,"power":14341,"unknown_237":206,"unknown_83":44288,"ignition":31,"odometer":null,"unknown_45":532058105444802560}} 
[2026-09-17 16:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":188085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:07:44] local.INFO: GPS data processed {"connection_id":188085,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:07:44] local.INFO: Acknowledgment sent {"connection_id":188085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:07:52] local.INFO: TCP Data received {"connection_id":188084,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:07:52] local.INFO: Processing buffer {"connection_id":188084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:07:52] local.INFO: Packet analysis {"connection_id":188084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:52] local.INFO: Extracted packet for processing {"connection_id":188084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:07:52] 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-09-17 16:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":188084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:07:52] local.INFO: GPS data processed {"connection_id":188084,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:07:52] local.INFO: Acknowledgment sent {"connection_id":188084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:07:57] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef15a40012d7d1fc005ead1a0000e00b125..."} 
[2026-09-17 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef15a40012d7d1fc005ead1a0000e00b125..."} 
[2026-09-17 16:07:57] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef15a40012d7d1fc005ead1a0000e00b125..."} 
[2026-09-17 16:07:57] local.INFO: Packet analysis {"connection_id":186771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:07:57] local.INFO: Extracted packet for processing {"connection_id":186771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99275168,"longitude_deg":76.3174848,"latitude_deg":9.9275168,"altitude":14,"angle":177,"satellites":37,"speed":20,"hex_longitude":"2d7d1fc0","hex_latitude":"05ead1a0","is_valid_coordinates":true} 
[2026-09-17 16:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148209920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134360346684030976,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479410604032,"note":"Value kept but may cause issues"} 
[2026-09-17 16:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789641448000,"timestamp_ms":1789641448000,"timestamp_seconds":1789641448,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef15a40"} 
[2026-09-17 16:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 16:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148209920001,"66":12048,"158":206,"87":13824,"24":20,"16":134360346684030976,"45":9016206479410604032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 16:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148209920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:07:57] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 16:07:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134360346684030976,"km_value":134360346684030.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479410604032,"description":"Unknown IO ID 45"} 
[2026-09-17 16:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148209920001,"power":12048,"unknown_158":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":9016206479410604032}} 
[2026-09-17 16:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":186771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:07:57] local.INFO: GPS data processed {"connection_id":186771,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:07:57] local.INFO: Acknowledgment sent {"connection_id":186771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:08:06] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:08:06] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:08:06] local.INFO: IMEI packet received {"connection_id":186772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":186772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:08:12] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:08:12] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:08:12] local.INFO: IMEI packet received {"connection_id":186772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":186772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:08:15] local.INFO: TCP Data received {"connection_id":188085,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef1f298012d07e180072675e8001300c517..."} 
[2026-09-17 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef1f298012d07e180072675e8001300c517..."} 
[2026-09-17 16:08:15] local.INFO: Processing buffer {"connection_id":188085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef1f298012d07e180072675e8001300c517..."} 
[2026-09-17 16:08:15] local.INFO: Packet analysis {"connection_id":188085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:08:15] local.INFO: Extracted packet for processing {"connection_id":188085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":755491200,"raw_latitude":119961064,"longitude_deg":75.54912,"latitude_deg":11.9961064,"altitude":19,"angle":197,"satellites":23,"speed":33,"hex_longitude":"2d07e180","hex_latitude":"072675e8","is_valid_coordinates":true} 
[2026-09-17 16:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148220160001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21176602540900352,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":568720221154322432,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789641487000,"timestamp_ms":1789641487000,"timestamp_seconds":1789641487,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef1f298"} 
[2026-09-17 16:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148220160001,"66":14048,"237":206,"83":44288,"24":33,"16":21176602540900352,"45":568720221154322432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 16:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148220160001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:08:15] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 16:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21176602540900352,"km_value":21176602540900.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":568720221154322432,"description":"Unknown IO ID 45"} 
[2026-09-17 16:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148220160001,"power":14048,"unknown_237":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":568720221154322432}} 
[2026-09-17 16:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":188085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:08:15] local.INFO: GPS data processed {"connection_id":188085,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:08:15] local.INFO: Acknowledgment sent {"connection_id":188085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:08:16] local.INFO: TCP Data received {"connection_id":185317,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:08:16] local.INFO: Processing buffer {"connection_id":185317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:08:16] local.INFO: IMEI packet received {"connection_id":185317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":185317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:08:20] local.INFO: TCP Data received {"connection_id":185317,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:08:20] local.INFO: Processing buffer {"connection_id":185317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:08:20] local.INFO: IMEI packet received {"connection_id":185317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":185317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:08:21] local.INFO: TCP Data received {"connection_id":185317,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:08:21] local.INFO: Processing buffer {"connection_id":185317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:08:21] local.INFO: Packet analysis {"connection_id":185317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:08:21] local.INFO: Extracted packet for processing {"connection_id":185317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:08: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-09-17 16:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":185317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:08:21] local.INFO: GPS data processed {"connection_id":185317,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:08:21] local.INFO: Acknowledgment sent {"connection_id":185317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:08:28] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:08:28] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:08:28] local.INFO: IMEI packet received {"connection_id":186773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":186773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:08:33] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:08:33] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:08:33] local.INFO: IMEI packet received {"connection_id":186774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":186774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:08:35] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:08:35] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:08:35] local.INFO: IMEI packet received {"connection_id":186774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":186774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:08:41] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:08:41] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:08:41] local.INFO: IMEI packet received {"connection_id":186774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":186774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:08:42] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef1fa68012d07e08007266ff8001200b818..."} 
[2026-09-17 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef1fa68012d07e08007266ff8001200b818..."} 
[2026-09-17 16:08:42] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef1fa68012d07e08007266ff8001200b818..."} 
[2026-09-17 16:08:42] local.INFO: Packet analysis {"connection_id":186774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:08:42] local.INFO: Extracted packet for processing {"connection_id":186774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":755490944,"raw_latitude":119959544,"longitude_deg":75.5490944,"latitude_deg":11.9959544,"altitude":18,"angle":184,"satellites":24,"speed":29,"hex_longitude":"2d07e080","hex_latitude":"07266ff8","is_valid_coordinates":true} 
[2026-09-17 16:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148220672001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21176675555344384,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":567875796223780864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789641489000,"timestamp_ms":1789641489000,"timestamp_seconds":1789641489,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef1fa68"} 
[2026-09-17 16:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 16:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148220672001,"66":13993,"237":206,"83":44288,"24":29,"16":21176675555344384,"45":567875796223780864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 16:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148220672001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:08:42] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 16:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21176675555344384,"km_value":21176675555344.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":567875796223780864,"description":"Unknown IO ID 45"} 
[2026-09-17 16:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148220672001,"power":13993,"unknown_237":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":567875796223780864}} 
[2026-09-17 16:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":186774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:08:42] local.INFO: GPS data processed {"connection_id":186774,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:08:42] local.INFO: Acknowledgment sent {"connection_id":186774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:08:44] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 16:08:44] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 16:08:44] local.INFO: IMEI packet received {"connection_id":186773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":186773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:08:46] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef18d08012d7d1e8005eaae28000d00b624..."} 
[2026-09-17 16:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef18d08012d7d1e8005eaae28000d00b624..."} 
[2026-09-17 16:08:46] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0ae..."} 
[2026-09-17 16:08:46] local.INFO: IMEI packet received {"connection_id":186773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":186773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:08:50] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef1b418012d7d1cc005ea89b8000d00b525..."} 
[2026-09-17 16:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef1b418012d7d1cc005ea89b8000d00b525..."} 
[2026-09-17 16:08:50] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0aef18d08012d7d1e8005eaae28000d00b624..."} 
[2026-09-17 16:08:50] local.INFO: Packet analysis {"connection_id":186773,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:08:50] local.INFO: Extracted packet for processing {"connection_id":186773,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":763174528,"raw_latitude":99266088,"longitude_deg":76.3174528,"latitude_deg":9.9266088,"altitude":13,"angle":182,"satellites":36,"speed":35,"hex_longitude":"2d7d1e80","hex_latitude":"05eaae28","is_valid_coordinates":true} 
[2026-09-17 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148210688001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134360784770695168,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110665998336,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789641461000,"timestamp_ms":1789641461000,"timestamp_seconds":1789641461,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef18d08"} 
[2026-09-17 16:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578332004892013568,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2935015864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2497434009865289728,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84861486400662265,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505649794580480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4044103681,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4248305679,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634273972899998,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5809081455580938264,"corrected_to":0} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182212529750272,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397008,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1513693259661028572,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195089408,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":104,"raw_value":4222417329196032,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,158,87,24,241,157,16,88,160,78,45,216,15,38,10,66,19,192,251,37,1,240,9,227,174,234,4,113,205,3,32,64,36,239,49,2,221,5,69,104],"length":583,"final_offset":713,"validated_count":40,"validation_warnings":[{"io_id":205,"original":5809081455580938264,"validated":0}]} 
[2026-09-17 16:08:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009001089004208128,"timestamp_seconds":1009001089004208.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148210688001,"66":13319,"158":206,"87":13824,"24":35,"16":134360784770695168,"45":9016136110665998336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 16:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148210688001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:08:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 16:08:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134360784770695168,"km_value":134360784770695.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110665998336,"description":"Unknown IO ID 45"} 
[2026-09-17 16:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148210688001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9016136110665998336}} 
[2026-09-17 16:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":186773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:08:50] local.INFO: GPS data processed {"connection_id":186773,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:08:50] local.INFO: Acknowledgment sent {"connection_id":186773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:08:50] local.INFO: Packet analysis {"connection_id":186773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:08:50] local.INFO: Extracted packet for processing {"connection_id":186773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef1"} 
[2026-09-17 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99256760,"longitude_deg":76.317408,"latitude_deg":9.925676,"altitude":13,"angle":181,"satellites":37,"speed":28,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea89b8","is_valid_coordinates":true} 
[2026-09-17 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148214016001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134361240037228544,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015784266942785536,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789641471000,"timestamp_ms":1789641471000,"timestamp_seconds":1789641471,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef1b418"} 
[2026-09-17 16:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2935016864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-3911374981486886907,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4044359681,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-123848925322730496,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3942531072,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931216,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.WARNING: Large IO value detected {"io_id":178,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,158,87,24,241,157,16,88,160,90,45,192,209,14,37,10,66,78,216,15,38,19,1,240,9,227,174,234,4,113,205,5,12,34,56,239,48,2,221,8,178],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-17 16:08:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936948988230434816,"timestamp_seconds":936948988230434.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148214016001,"66":13319,"158":206,"87":13824,"24":28,"16":134361240037228544,"45":9015784266942785536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 16:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148214016001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:08:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 16:08:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134361240037228544,"km_value":134361240037228.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015784266942785536,"description":"Unknown IO ID 45"} 
[2026-09-17 16:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148214016001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9015784266942785536}} 
[2026-09-17 16:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":186773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:08:50] local.INFO: GPS data processed {"connection_id":186773,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:08:50] local.INFO: Acknowledgment sent {"connection_id":186773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:08:52] local.INFO: TCP Data received {"connection_id":185317,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:08:52] local.INFO: Processing buffer {"connection_id":185317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:08:52] local.INFO: Packet analysis {"connection_id":185317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:08:52] local.INFO: Extracted packet for processing {"connection_id":185317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":185317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:08:52] local.INFO: GPS data processed {"connection_id":185317,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:08:52] local.INFO: Acknowledgment sent {"connection_id":185317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:09:14] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef2e0e0012d07f4c00725dd48000f00b618..."} 
[2026-09-17 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef2e0e0012d07f4c00725dd48000f00b618..."} 
[2026-09-17 16:09:14] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef2e0e0012d07f4c00725dd48000f00b618..."} 
[2026-09-17 16:09:14] local.INFO: Packet analysis {"connection_id":186774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef2"} 
[2026-09-17 16:09:14] local.INFO: Extracted packet for processing {"connection_id":186774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef2"} 
[2026-09-17 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":755496128,"raw_latitude":119921992,"longitude_deg":75.5496128,"latitude_deg":11.9921992,"altitude":15,"angle":182,"satellites":24,"speed":28,"hex_longitude":"2d07f4c0","hex_latitude":"0725dd48","is_valid_coordinates":true} 
[2026-09-17 16:09: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-09-17 16:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148236032001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21178775794352128,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573294189515642880,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789641548000,"timestamp_ms":1789641548000,"timestamp_seconds":1789641548,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef2e0e0"} 
[2026-09-17 16:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 16:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148236032001,"66":14233,"25":206,"83":44288,"24":28,"16":21178775794352128,"45":573294189515642880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-17 16:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148236032001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:09:14] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-17 16:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21178775794352128,"km_value":21178775794352.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":573294189515642880,"description":"Unknown IO ID 45"} 
[2026-09-17 16:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148236032001,"power":14233,"unknown_25":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":573294189515642880}} 
[2026-09-17 16:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":186774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:09:14] local.INFO: GPS data processed {"connection_id":186774,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:09:14] local.INFO: Acknowledgment sent {"connection_id":186774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:09:15] local.INFO: TCP Data received {"connection_id":188086,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:09:15] local.INFO: Processing buffer {"connection_id":188086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:09:15] local.INFO: IMEI packet received {"connection_id":188086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":188086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:09:20] local.INFO: TCP Data received {"connection_id":188086,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:09:20] local.INFO: Processing buffer {"connection_id":188086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:09:20] local.INFO: IMEI packet received {"connection_id":188086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":188086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:09:21] local.INFO: TCP Data received {"connection_id":188086,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:09:21] local.INFO: Processing buffer {"connection_id":188086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:09:21] local.INFO: Packet analysis {"connection_id":188086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:09:21] local.INFO: Extracted packet for processing {"connection_id":188086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:09: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-09-17 16:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":188086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:09:21] local.INFO: GPS data processed {"connection_id":188086,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:09:21] local.INFO: Acknowledgment sent {"connection_id":188086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:09:29] local.INFO: TCP Data received {"connection_id":188087,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:09:29] local.INFO: Processing buffer {"connection_id":188087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:09:29] local.INFO: IMEI packet received {"connection_id":188087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":188087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:09:30] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:09:30] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:09:30] local.INFO: IMEI packet received {"connection_id":186772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":186772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:09:32] local.INFO: TCP Data received {"connection_id":185319,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:09:32] local.INFO: Processing buffer {"connection_id":185319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:09:32] local.INFO: IMEI packet received {"connection_id":185319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":185319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:09:37] local.INFO: TCP Data received {"connection_id":188087,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:09:37] local.INFO: Processing buffer {"connection_id":188087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:09:37] local.INFO: IMEI packet received {"connection_id":188087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":188087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:09:39] local.INFO: TCP Data received {"connection_id":188087,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef20620012d7d1bc005ea7580000c00b523..."} 
[2026-09-17 16:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef20620012d7d1bc005ea7580000c00b523..."} 
[2026-09-17 16:09:39] local.INFO: Processing buffer {"connection_id":188087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef20620012d7d1bc005ea7580000c00b523..."} 
[2026-09-17 16:09:39] local.INFO: Packet analysis {"connection_id":188087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef2"} 
[2026-09-17 16:09:39] local.INFO: Extracted packet for processing {"connection_id":188087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef2"} 
[2026-09-17 16:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99251584,"longitude_deg":76.3173824,"latitude_deg":9.9251584,"altitude":12,"angle":181,"satellites":35,"speed":26,"hex_longitude":"2d7d1bc0","hex_latitude":"05ea7580","is_valid_coordinates":true} 
[2026-09-17 16:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148216576001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134361502030233600,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685731153920,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789641492000,"timestamp_ms":1789641492000,"timestamp_seconds":1789641492,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef20620"} 
[2026-09-17 16:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2935032864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4044615681,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-3629900004776198139,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-126100725134646272,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221613308,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3942463488,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.WARNING: Large IO value detected {"io_id":216,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,158,87,24,241,157,16,88,160,141,45,128,174,13,36,10,66,90,192,209,14,37,78,1,240,248,227,234,4,113,205,33,136,239,50,2,221,5,15,3,216],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-17 16:09:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936947893013315584,"timestamp_seconds":936947893013315.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148216576001,"66":12722,"158":206,"87":13824,"24":26,"16":134361502030233600,"45":9015291685731153920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-17 16:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148216576001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:09:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-17 16:09:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134361502030233600,"km_value":134361502030233.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685731153920,"description":"Unknown IO ID 45"} 
[2026-09-17 16:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148216576001,"power":12722,"unknown_158":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9015291685731153920}} 
[2026-09-17 16:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":188087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:09:39] local.INFO: GPS data processed {"connection_id":188087,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:09:39] local.INFO: Acknowledgment sent {"connection_id":188087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:09:41] local.INFO: TCP Data received {"connection_id":185320,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:09:41] local.INFO: Processing buffer {"connection_id":185320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:09:41] local.INFO: IMEI packet received {"connection_id":185320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":185320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:09:44] local.INFO: TCP Data received {"connection_id":185320,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:09:44] local.INFO: Processing buffer {"connection_id":185320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:09:44] local.INFO: IMEI packet received {"connection_id":185320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":185320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:09:45] local.INFO: TCP Data received {"connection_id":185320,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:09:45] local.INFO: Processing buffer {"connection_id":185320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:09:45] local.INFO: IMEI packet received {"connection_id":185320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":185320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:09:46] local.INFO: TCP Data received {"connection_id":185320,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef2e8b0012d07f3400725d7d8000f00ca18..."} 
[2026-09-17 16:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef2e8b0012d07f3400725d7d8000f00ca18..."} 
[2026-09-17 16:09:46] local.INFO: Processing buffer {"connection_id":185320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef2e8b0012d07f3400725d7d8000f00ca18..."} 
[2026-09-17 16:09:46] local.INFO: Packet analysis {"connection_id":185320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef2"} 
[2026-09-17 16:09:46] local.INFO: Extracted packet for processing {"connection_id":185320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef2"} 
[2026-09-17 16:09:46] local.INFO: GPS Element Parsed {"raw_longitude":755495744,"raw_latitude":119920600,"longitude_deg":75.5495744,"latitude_deg":11.99206,"altitude":15,"angle":202,"satellites":24,"speed":28,"hex_longitude":"2d07f340","hex_latitude":"0725d7d8","is_valid_coordinates":true} 
[2026-09-17 16:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148236288001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21178844513828864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573294189515458560,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789641550000,"timestamp_ms":1789641550000,"timestamp_seconds":1789641550,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef2e8b0"} 
[2026-09-17 16:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 16:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148236288001,"66":14396,"25":206,"83":44288,"24":28,"16":21178844513828864,"45":573294189515458560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-17 16:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148236288001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:09:46] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-17 16:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21178844513828864,"km_value":21178844513828.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":573294189515458560,"description":"Unknown IO ID 45"} 
[2026-09-17 16:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148236288001,"power":14396,"unknown_25":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":573294189515458560}} 
[2026-09-17 16:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":185320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:09:46] local.INFO: GPS data processed {"connection_id":185320,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:09:46] local.INFO: Acknowledgment sent {"connection_id":185320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:09:52] local.INFO: TCP Data received {"connection_id":188086,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:09:52] local.INFO: Processing buffer {"connection_id":188086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:09:52] local.INFO: Packet analysis {"connection_id":188086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:09:52] local.INFO: Extracted packet for processing {"connection_id":188086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":188086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:09:52] local.INFO: GPS data processed {"connection_id":188086,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:09:52] local.INFO: Acknowledgment sent {"connection_id":188086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:09:54] local.INFO: TCP Data received {"connection_id":185320,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef2ec98012d07f1c00725d540000f00d618..."} 
[2026-09-17 16:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef2ec98012d07f1c00725d540000f00d618..."} 
[2026-09-17 16:09:54] local.INFO: Processing buffer {"connection_id":185320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef2ec98012d07f1c00725d540000f00d618..."} 
[2026-09-17 16:09:54] local.INFO: Packet analysis {"connection_id":185320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef2"} 
[2026-09-17 16:09:54] local.INFO: Extracted packet for processing {"connection_id":185320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef2"} 
[2026-09-17 16:09:54] local.INFO: GPS Element Parsed {"raw_longitude":755495360,"raw_latitude":119919936,"longitude_deg":75.549536,"latitude_deg":11.9919936,"altitude":15,"angle":214,"satellites":24,"speed":30,"hex_longitude":"2d07f1c0","hex_latitude":"0725d540","is_valid_coordinates":true} 
[2026-09-17 16:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148236800001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21178883168534528,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572871977050036224,"note":"Value kept but may cause issues"} 
[2026-09-17 16:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789641551000,"timestamp_ms":1789641551000,"timestamp_seconds":1789641551,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef2ec98"} 
[2026-09-17 16:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148236800001,"66":14407,"25":206,"83":44288,"24":30,"16":21178883168534528,"45":572871977050036224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-17 16:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148236800001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:09:54] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-17 16:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21178883168534528,"km_value":21178883168534.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":572871977050036224,"description":"Unknown IO ID 45"} 
[2026-09-17 16:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148236800001,"power":14407,"unknown_25":206,"unknown_83":44288,"ignition":30,"odometer":null,"unknown_45":572871977050036224}} 
[2026-09-17 16:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":185320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:09:54] local.INFO: GPS data processed {"connection_id":185320,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:09:54] local.INFO: Acknowledgment sent {"connection_id":185320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:10:15] local.INFO: TCP Data received {"connection_id":185473,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:10:15] local.INFO: Processing buffer {"connection_id":185473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:10:15] local.INFO: IMEI packet received {"connection_id":185473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":185473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:10:20] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:20] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:20] local.INFO: IMEI packet received {"connection_id":185474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":185474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:10:20] local.INFO: TCP Data received {"connection_id":185473,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:10:20] local.INFO: Processing buffer {"connection_id":185473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:10:20] local.INFO: IMEI packet received {"connection_id":185473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":185473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:10:20] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:20] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:20] local.INFO: IMEI packet received {"connection_id":185474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":185474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:10:21] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:21] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:21] local.INFO: IMEI packet received {"connection_id":185474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":185474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:10:21] local.INFO: TCP Data received {"connection_id":185473,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:10:21] local.INFO: Processing buffer {"connection_id":185473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:10:21] local.INFO: Packet analysis {"connection_id":185473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:10:21] local.INFO: Extracted packet for processing {"connection_id":185473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:10: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-09-17 16:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:10:21] 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-09-17 16:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":185473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:10:21] local.INFO: GPS data processed {"connection_id":185473,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:10:21] local.INFO: Acknowledgment sent {"connection_id":185473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:10:21] local.INFO: TCP Data received {"connection_id":185472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:10:21] local.INFO: Processing buffer {"connection_id":185472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:10:21] local.INFO: IMEI packet received {"connection_id":185472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":185472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:10:22] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:22] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:10:22] local.INFO: IMEI packet received {"connection_id":185474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":185474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:10:23] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef3f250012d7cc04005e9bd700004011525..."} 
[2026-09-17 16:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef3f250012d7cc04005e9bd700004011525..."} 
[2026-09-17 16:10:23] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef3f250012d7cc04005e9bd700004011525..."} 
[2026-09-17 16:10:23] local.INFO: Packet analysis {"connection_id":185474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef3"} 
[2026-09-17 16:10:23] local.INFO: Extracted packet for processing {"connection_id":185474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef3"} 
[2026-09-17 16:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763150400,"raw_latitude":99204464,"longitude_deg":76.31504,"latitude_deg":9.9204464,"altitude":4,"angle":277,"satellites":37,"speed":19,"hex_longitude":"2d7cc040","hex_latitude":"05e9bd70","is_valid_coordinates":true} 
[2026-09-17 16:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148253440001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134364856399691776,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991014468976510976,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789641618000,"timestamp_ms":1789641618000,"timestamp_seconds":1789641618,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef3f250"} 
[2026-09-17 16:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 16:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148253440001,"66":13254,"192":206,"87":13824,"24":19,"16":134364856399691776,"45":8991014468976510976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-17 16:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148253440001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:10:23] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-17 16:10:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134364856399691776,"km_value":134364856399691.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991014468976510976,"description":"Unknown IO ID 45"} 
[2026-09-17 16:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148253440001,"power":13254,"unknown_192":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8991014468976510976}} 
[2026-09-17 16:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":185474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:10:23] local.INFO: GPS data processed {"connection_id":185474,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:10:23] local.INFO: Acknowledgment sent {"connection_id":185474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:10:35] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:10:35] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:10:35] local.INFO: IMEI packet received {"connection_id":186776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":186776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:10:40] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:10:40] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:10:40] local.INFO: IMEI packet received {"connection_id":186776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":186776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:10:41] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef3e698012d07cc8007253d90000e00a516..."} 
[2026-09-17 16:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef3e698012d07cc8007253d90000e00a516..."} 
[2026-09-17 16:10:41] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef3e698012d07cc8007253d90000e00a516..."} 
[2026-09-17 16:10:41] local.INFO: Packet analysis {"connection_id":186776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef3"} 
[2026-09-17 16:10:41] local.INFO: Extracted packet for processing {"connection_id":186776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef3"} 
[2026-09-17 16:10:41] local.INFO: GPS Element Parsed {"raw_longitude":755485824,"raw_latitude":119881104,"longitude_deg":75.5485824,"latitude_deg":11.9881104,"altitude":14,"angle":165,"satellites":22,"speed":29,"hex_longitude":"2d07cc80","hex_latitude":"07253d90","is_valid_coordinates":true} 
[2026-09-17 16:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148251904001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21181129436430336,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":559079703181922304,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789641615000,"timestamp_ms":1789641615000,"timestamp_seconds":1789641615,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef3e698"} 
[2026-09-17 16:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6990787367,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2935172864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503922801704960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4082759681,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2541223957,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1780023502,"corrected_to":0} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3221693873,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84732526786454970,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.WARNING: Large IO value detected {"io_id":176,"raw_value":5348982737870080,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:41] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,251,83,24,241,157,16,63,160,199,45,192,78,23,10,66,179,64,92,17,129,1,240,169,227,174,37,4,113,205,26,54,194,239,25,2,75,7,19,29,206,48,176],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1780023502,"validated":0}]} 
[2026-09-17 16:10:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081021235222544384,"timestamp_seconds":1081021235222544.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148251904001,"66":14243,"251":206,"83":44288,"24":29,"16":21181129436430336,"45":559079703181922304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-17 16:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148251904001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:10:41] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 16:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21181129436430336,"km_value":21181129436430.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":559079703181922304,"description":"Unknown IO ID 45"} 
[2026-09-17 16:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148251904001,"power":14243,"unknown_251":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":559079703181922304}} 
[2026-09-17 16:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":186776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:10:41] local.INFO: GPS data processed {"connection_id":186776,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:10:41] local.INFO: Acknowledgment sent {"connection_id":186776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:10:49] local.INFO: TCP Data received {"connection_id":185321,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:10:49] local.INFO: Processing buffer {"connection_id":185321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:10:49] local.INFO: IMEI packet received {"connection_id":185321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":185321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:10:52] local.INFO: TCP Data received {"connection_id":185473,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:10:52] local.INFO: Processing buffer {"connection_id":185473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:10:52] local.INFO: Packet analysis {"connection_id":185473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:10:52] local.INFO: Extracted packet for processing {"connection_id":185473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:10:52] 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-09-17 16:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":185473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:10:52] local.INFO: GPS data processed {"connection_id":185473,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:10:52] local.INFO: Acknowledgment sent {"connection_id":185473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:10:54] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef3f638012d7cbe8005e9be000004012425..."} 
[2026-09-17 16:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef3f638012d7cbe8005e9be000004012425..."} 
[2026-09-17 16:10:54] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef3f638012d7cbe8005e9be000004012425..."} 
[2026-09-17 16:10:54] local.INFO: Packet analysis {"connection_id":185474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef3"} 
[2026-09-17 16:10:54] local.INFO: Extracted packet for processing {"connection_id":185474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef3"} 
[2026-09-17 16:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763149952,"raw_latitude":99204608,"longitude_deg":76.3149952,"latitude_deg":9.9204608,"altitude":4,"angle":292,"satellites":37,"speed":18,"hex_longitude":"2d7cbe80","hex_latitude":"05e9be00","is_valid_coordinates":true} 
[2026-09-17 16:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148254208001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134364877874528256,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989255250372030464,"note":"Value kept but may cause issues"} 
[2026-09-17 16:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789641619000,"timestamp_ms":1789641619000,"timestamp_seconds":1789641619,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef3f638"} 
[2026-09-17 16:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 16:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148254208001,"66":13254,"192":206,"87":13824,"24":18,"16":134364877874528256,"45":8989255250372030464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-17 16:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148254208001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:10:54] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-17 16:10:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134364877874528256,"km_value":134364877874528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989255250372030464,"description":"Unknown IO ID 45"} 
[2026-09-17 16:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148254208001,"power":13254,"unknown_192":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8989255250372030464}} 
[2026-09-17 16:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":185474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:10:55] local.INFO: GPS data processed {"connection_id":185474,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:10:55] local.INFO: Acknowledgment sent {"connection_id":185474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:11:13] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef47b08012d082dc00724f8480013008518..."} 
[2026-09-17 16:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef47b08012d082dc00724f8480013008518..."} 
[2026-09-17 16:11:13] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef47b08012d082dc00724f8480013008518..."} 
[2026-09-17 16:11:13] local.INFO: Packet analysis {"connection_id":186776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:11:13] local.INFO: Extracted packet for processing {"connection_id":186776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:11:13] local.INFO: GPS Element Parsed {"raw_longitude":755510720,"raw_latitude":119863368,"longitude_deg":75.551072,"latitude_deg":11.9863368,"altitude":19,"angle":133,"satellites":24,"speed":35,"hex_longitude":"2d082dc0","hex_latitude":"0724f848","is_valid_coordinates":true} 
[2026-09-17 16:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148262656001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21182782998839296,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":588001257033922560,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789641653000,"timestamp_ms":1789641653000,"timestamp_seconds":1789641653,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef47b08"} 
[2026-09-17 16:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148262656001,"66":14374,"129":206,"83":44288,"24":35,"16":21182782998839296,"45":588001257033922560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-09-17 16:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148262656001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:11:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-17 16:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21182782998839296,"km_value":21182782998839.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":588001257033922560,"description":"Unknown IO ID 45"} 
[2026-09-17 16:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148262656001,"power":14374,"unknown_129":206,"unknown_83":44288,"ignition":35,"odometer":null,"unknown_45":588001257033922560}} 
[2026-09-17 16:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":186776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:11:13] local.INFO: GPS data processed {"connection_id":186776,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:11:13] local.INFO: Acknowledgment sent {"connection_id":186776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:11:15] local.INFO: TCP Data received {"connection_id":188088,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:11:15] local.INFO: Processing buffer {"connection_id":188088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:11:15] local.INFO: IMEI packet received {"connection_id":188088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":188088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:11:19] local.INFO: TCP Data received {"connection_id":186777,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:11:19] local.INFO: Processing buffer {"connection_id":186777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:11:19] local.INFO: IMEI packet received {"connection_id":186777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":186777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:11:20] local.INFO: TCP Data received {"connection_id":188088,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:11:20] local.INFO: Processing buffer {"connection_id":188088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:11:20] local.INFO: IMEI packet received {"connection_id":188088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":188088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:11:21] local.INFO: TCP Data received {"connection_id":188088,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:11:21] local.INFO: Processing buffer {"connection_id":188088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:11:21] local.INFO: Packet analysis {"connection_id":188088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:11:21] local.INFO: Extracted packet for processing {"connection_id":188088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:11: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-09-17 16:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:11:21] 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-09-17 16:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":188088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:11:21] local.INFO: GPS data processed {"connection_id":188088,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:11:21] local.INFO: Acknowledgment sent {"connection_id":188088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:11:24] local.INFO: TCP Data received {"connection_id":186777,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:11:24] local.INFO: Processing buffer {"connection_id":186777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:11:24] local.INFO: IMEI packet received {"connection_id":186777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":186777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:11:25] local.INFO: TCP Data received {"connection_id":186777,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef3fe08012d7cbb0005e9bf000004011621..."} 
[2026-09-17 16:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef3fe08012d7cbb0005e9bf000004011621..."} 
[2026-09-17 16:11:25] local.INFO: Processing buffer {"connection_id":186777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef3fe08012d7cbb0005e9bf000004011621..."} 
[2026-09-17 16:11:25] local.INFO: Packet analysis {"connection_id":186777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef3"} 
[2026-09-17 16:11:25] local.INFO: Extracted packet for processing {"connection_id":186777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef3"} 
[2026-09-17 16:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":99204864,"longitude_deg":76.3149056,"latitude_deg":9.9204864,"altitude":4,"angle":278,"satellites":33,"speed":20,"hex_longitude":"2d7cbb00","hex_latitude":"05e9bf00","is_valid_coordinates":true} 
[2026-09-17 16:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148254464001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134364925119168512,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988762669162823680,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789641621000,"timestamp_ms":1789641621000,"timestamp_seconds":1789641621,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef3fe08"} 
[2026-09-17 16:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 16:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148254464001,"66":13037,"192":206,"87":13824,"24":20,"16":134364925119168512,"45":8988762669162823680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-17 16:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148254464001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:11:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-17 16:11:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134364925119168512,"km_value":134364925119168.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988762669162823680,"description":"Unknown IO ID 45"} 
[2026-09-17 16:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148254464001,"power":13037,"unknown_192":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8988762669162823680}} 
[2026-09-17 16:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":186777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:11:25] local.INFO: GPS data processed {"connection_id":186777,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:11:25] local.INFO: Acknowledgment sent {"connection_id":186777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:11:36] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:11:36] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:11:36] local.INFO: IMEI packet received {"connection_id":188089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":188089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:11:38] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:11:38] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:11:38] local.INFO: IMEI packet received {"connection_id":188089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":188089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:11:41] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:11:41] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:11:41] local.INFO: IMEI packet received {"connection_id":188089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":188089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:11:42] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef49278012d083d800724e8680013007918..."} 
[2026-09-17 16:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef49278012d083d800724e8680013007918..."} 
[2026-09-17 16:11:42] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef49278012d083d800724e8680013007918..."} 
[2026-09-17 16:11:42] local.INFO: Packet analysis {"connection_id":188089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:11:42] local.INFO: Extracted packet for processing {"connection_id":188089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:11:42] local.INFO: GPS Element Parsed {"raw_longitude":755514752,"raw_latitude":119859304,"longitude_deg":75.5514752,"latitude_deg":11.9859304,"altitude":19,"angle":121,"satellites":24,"speed":40,"hex_longitude":"2d083d80","hex_latitude":"0724e868","is_valid_coordinates":true} 
[2026-09-17 16:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148263168001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21183062171713536,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":589338263172958208,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789641659000,"timestamp_ms":1789641659000,"timestamp_seconds":1789641659,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef49278"} 
[2026-09-17 16:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148263168001,"66":14276,"129":206,"83":44288,"24":40,"16":21183062171713536,"45":589338263172958208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-09-17 16:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148263168001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:11:42] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-17 16:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21183062171713536,"km_value":21183062171713.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":589338263172958208,"description":"Unknown IO ID 45"} 
[2026-09-17 16:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148263168001,"power":14276,"unknown_129":206,"unknown_83":44288,"ignition":40,"odometer":null,"unknown_45":589338263172958208}} 
[2026-09-17 16:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":188089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:11:42] local.INFO: GPS data processed {"connection_id":188089,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:11:42] local.INFO: Acknowledgment sent {"connection_id":188089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:11:52] local.INFO: TCP Data received {"connection_id":188088,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:11:52] local.INFO: Processing buffer {"connection_id":188088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:11:52] local.INFO: Packet analysis {"connection_id":188088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:11:52] local.INFO: Extracted packet for processing {"connection_id":188088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:11:52] 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-09-17 16:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":188088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:11:52] local.INFO: GPS data processed {"connection_id":188088,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:11:52] local.INFO: Acknowledgment sent {"connection_id":188088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:11:56] local.INFO: TCP Data received {"connection_id":186777,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef401f0012d7cb88005e9bef80004010a23..."} 
[2026-09-17 16:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef401f0012d7cb88005e9bef80004010a23..."} 
[2026-09-17 16:11:56] local.INFO: Processing buffer {"connection_id":186777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef401f0012d7cb88005e9bef80004010a23..."} 
[2026-09-17 16:11:56] local.INFO: Packet analysis {"connection_id":186777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:11:56] local.INFO: Extracted packet for processing {"connection_id":186777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763148416,"raw_latitude":99204856,"longitude_deg":76.3148416,"latitude_deg":9.9204856,"altitude":4,"angle":266,"satellites":35,"speed":22,"hex_longitude":"2d7cb880","hex_latitude":"05e9bef8","is_valid_coordinates":true} 
[2026-09-17 16:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148254976001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134364955183939584,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777506744401920,"note":"Value kept but may cause issues"} 
[2026-09-17 16:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789641622000,"timestamp_ms":1789641622000,"timestamp_seconds":1789641622,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef401f0"} 
[2026-09-17 16:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 16:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148254976001,"66":13037,"192":206,"87":13824,"24":22,"16":134364955183939584,"45":8987777506744401920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-17 16:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148254976001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:11:56] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-17 16:11:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134364955183939584,"km_value":134364955183939.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777506744401920,"description":"Unknown IO ID 45"} 
[2026-09-17 16:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148254976001,"power":13037,"unknown_192":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8987777506744401920}} 
[2026-09-17 16:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":186777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:11:56] local.INFO: GPS data processed {"connection_id":186777,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:11:56] local.INFO: Acknowledgment sent {"connection_id":186777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:12:13] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef4b988012d085b800724d5b80010007617..."} 
[2026-09-17 16:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef4b988012d085b800724d5b80010007617..."} 
[2026-09-17 16:12:13] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef4b988012d085b800724d5b80010007617..."} 
[2026-09-17 16:12:13] local.INFO: Packet analysis {"connection_id":188089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:12:13] local.INFO: Extracted packet for processing {"connection_id":188089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:12:13] local.INFO: GPS Element Parsed {"raw_longitude":755522432,"raw_latitude":119854520,"longitude_deg":75.5522432,"latitude_deg":11.985452,"altitude":16,"angle":118,"satellites":23,"speed":24,"hex_longitude":"2d085b80","hex_latitude":"0724d5b8","is_valid_coordinates":true} 
[2026-09-17 16:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148264704001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21183495963410432,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":593771494055110656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789641669000,"timestamp_ms":1789641669000,"timestamp_seconds":1789641669,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef4b988"} 
[2026-09-17 16:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-17 16:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148264704001,"66":14341,"129":206,"83":44288,"24":24,"16":21183495963410432,"45":593771494055110656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-09-17 16:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148264704001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:12:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-17 16:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21183495963410432,"km_value":21183495963410.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":593771494055110656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148264704001,"power":14341,"unknown_129":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":593771494055110656}} 
[2026-09-17 16:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":188089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:12:14] local.INFO: GPS data processed {"connection_id":188089,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:12:14] local.INFO: Acknowledgment sent {"connection_id":188089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:12:19] local.INFO: TCP Data received {"connection_id":185475,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:12:19] local.INFO: Processing buffer {"connection_id":185475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:12:19] local.INFO: IMEI packet received {"connection_id":185475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":185475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:12:25] local.INFO: TCP Data received {"connection_id":188090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:12:25] local.INFO: Processing buffer {"connection_id":188090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:12:25] local.INFO: IMEI packet received {"connection_id":188090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":188090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:12:28] local.INFO: TCP Data received {"connection_id":185475,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:12:28] local.INFO: Processing buffer {"connection_id":185475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:12:28] local.INFO: IMEI packet received {"connection_id":185475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":185475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:12:29] local.INFO: TCP Data received {"connection_id":185475,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef42900012d7ca3c005e9bbe0000500fb23..."} 
[2026-09-17 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef42900012d7ca3c005e9bbe0000500fb23..."} 
[2026-09-17 16:12:29] local.INFO: Processing buffer {"connection_id":185475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef42900012d7ca3c005e9bbe0000500fb23..."} 
[2026-09-17 16:12:29] local.INFO: Packet analysis {"connection_id":185475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:12:29] local.INFO: Extracted packet for processing {"connection_id":185475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763143104,"raw_latitude":99204064,"longitude_deg":76.3143104,"latitude_deg":9.9204064,"altitude":5,"angle":251,"satellites":35,"speed":17,"hex_longitude":"2d7ca3c0","hex_latitude":"05e9bbe0","is_valid_coordinates":true} 
[2026-09-17 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148255232001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134365212881977344,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987073819302623232,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789641632000,"timestamp_ms":1789641632000,"timestamp_seconds":1789641632,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef42900"} 
[2026-09-17 16:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 16:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148255232001,"66":13059,"192":206,"87":13824,"24":17,"16":134365212881977344,"45":8987073819302623232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-17 16:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148255232001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:12:29] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-17 16:12:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134365212881977344,"km_value":134365212881977.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987073819302623232,"description":"Unknown IO ID 45"} 
[2026-09-17 16:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148255232001,"power":13059,"unknown_192":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8987073819302623232}} 
[2026-09-17 16:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":185475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:12:29] local.INFO: GPS data processed {"connection_id":185475,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:12:29] local.INFO: Acknowledgment sent {"connection_id":185475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:12:30] local.INFO: TCP Data received {"connection_id":188090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:12:30] local.INFO: Processing buffer {"connection_id":188090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:12:30] local.INFO: IMEI packet received {"connection_id":188090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":188090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:12:31] local.INFO: TCP Data received {"connection_id":188090,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:12:31] local.INFO: Processing buffer {"connection_id":188090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef0cda0012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:12:31] local.INFO: Packet analysis {"connection_id":188090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:12:31] local.INFO: Extracted packet for processing {"connection_id":188090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef0"} 
[2026-09-17 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148124416001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789641412000,"timestamp_ms":1789641412000,"timestamp_seconds":1789641412,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef0cda0"} 
[2026-09-17 16:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:12:31] 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-09-17 16:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148124416001,"66":25973,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148124416001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148124416001,"power":25973,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":188090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:12:31] local.INFO: GPS data processed {"connection_id":188090,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:12:31] local.INFO: Acknowledgment sent {"connection_id":188090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:12:32] local.INFO: TCP Data received {"connection_id":188090,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:12:32] local.INFO: Processing buffer {"connection_id":188090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:12:32] local.INFO: Packet analysis {"connection_id":188090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:12:32] local.INFO: Extracted packet for processing {"connection_id":188090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:12:32] 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-09-17 16:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":188090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:12:32] local.INFO: GPS data processed {"connection_id":188090,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:12:32] local.INFO: Acknowledgment sent {"connection_id":188090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:12:35] local.INFO: TCP Data received {"connection_id":186780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:12:35] local.INFO: Processing buffer {"connection_id":186780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:12:35] local.INFO: IMEI packet received {"connection_id":186780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":186780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:12:41] local.INFO: TCP Data received {"connection_id":186780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:12:41] local.INFO: Processing buffer {"connection_id":186780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:12:41] local.INFO: IMEI packet received {"connection_id":186780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":186780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:12:41] local.INFO: TCP Data received {"connection_id":186780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef4cd10012d0865400724ce980011008917..."} 
[2026-09-17 16:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef4cd10012d0865400724ce980011008917..."} 
[2026-09-17 16:12:41] local.INFO: Processing buffer {"connection_id":186780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef4cd10012d0865400724ce980011008917..."} 
[2026-09-17 16:12:41] local.INFO: Packet analysis {"connection_id":186780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:12:41] local.INFO: Extracted packet for processing {"connection_id":186780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef4"} 
[2026-09-17 16:12:41] local.INFO: GPS Element Parsed {"raw_longitude":755524928,"raw_latitude":119852696,"longitude_deg":75.5524928,"latitude_deg":11.9852696,"altitude":17,"angle":137,"satellites":23,"speed":26,"hex_longitude":"2d086540","hex_latitude":"0724ce98","is_valid_coordinates":true} 
[2026-09-17 16:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148267264001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21183641992298496,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":602215743355205632,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789641674000,"timestamp_ms":1789641674000,"timestamp_seconds":1789641674,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef4cd10"} 
[2026-09-17 16:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6990787660,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2935247864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503922843844608,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4100935681,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1417740494,"corrected_to":0} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3355520264,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147951868,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84732773747074302,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3941135407917568,"note":"Value kept but may cause issues"} 
[2026-09-17 16:12:41] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,129,83,24,241,157,16,66,160,146,45,128,232,19,10,65,123,192,248,115,1,240,60,227,174,36,4,113,205,91,18,80,23,239,56,251,2,75,7,14,42,206,40,88],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1417740494,"validated":0}]} 
[2026-09-17 16:12:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153051345764745216,"timestamp_seconds":1153051345764745.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148267264001,"66":14341,"129":206,"83":44288,"24":26,"16":21183641992298496,"45":602215743355205632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-09-17 16:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148267264001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:12:41] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-17 16:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21183641992298496,"km_value":21183641992298.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":602215743355205632,"description":"Unknown IO ID 45"} 
[2026-09-17 16:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148267264001,"power":14341,"unknown_129":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":602215743355205632}} 
[2026-09-17 16:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":186780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:12:42] local.INFO: GPS data processed {"connection_id":186780,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:12:42] local.INFO: Acknowledgment sent {"connection_id":186780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:13:00] local.INFO: TCP Data received {"connection_id":185475,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef61918012d7c124005e96b70000c00f926..."} 
[2026-09-17 16:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef61918012d7c124005e96b70000c00f926..."} 
[2026-09-17 16:13:00] local.INFO: Processing buffer {"connection_id":185475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef61918012d7c124005e96b70000c00f926..."} 
[2026-09-17 16:13:00] local.INFO: Packet analysis {"connection_id":185475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:00] local.INFO: Extracted packet for processing {"connection_id":185475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763105856,"raw_latitude":99183472,"longitude_deg":76.3105856,"latitude_deg":9.9183472,"altitude":12,"angle":249,"satellites":38,"speed":28,"hex_longitude":"2d7c1240","hex_latitude":"05e96b70","is_valid_coordinates":true} 
[2026-09-17 16:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148286464001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134367510689480704,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950059859860549632,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789641759000,"timestamp_ms":1789641759000,"timestamp_seconds":1789641759,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef61918"} 
[2026-09-17 16:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 16:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148286464001,"66":12917,"156":206,"87":13824,"24":28,"16":134367510689480704,"45":8950059859860549632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-17 16:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148286464001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:13:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 16:13:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134367510689480704,"km_value":134367510689480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950059859860549632,"description":"Unknown IO ID 45"} 
[2026-09-17 16:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148286464001,"power":12917,"unknown_156":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8950059859860549632}} 
[2026-09-17 16:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":185475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:13:00] local.INFO: GPS data processed {"connection_id":185475,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:13:00] local.INFO: Acknowledgment sent {"connection_id":185475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:13:13] local.INFO: TCP Data received {"connection_id":186780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef676d8012d093940072466700011009217..."} 
[2026-09-17 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef676d8012d093940072466700011009217..."} 
[2026-09-17 16:13:13] local.INFO: Processing buffer {"connection_id":186780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef676d8012d093940072466700011009217..."} 
[2026-09-17 16:13:13] local.INFO: Packet analysis {"connection_id":186780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:13] local.INFO: Extracted packet for processing {"connection_id":186780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":755579200,"raw_latitude":119826032,"longitude_deg":75.55792,"latitude_deg":11.9826032,"altitude":17,"angle":146,"satellites":23,"speed":36,"hex_longitude":"2d093940","hex_latitude":"07246670","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148294912001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21186807383195648,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":661044013481486336,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789641783000,"timestamp_ms":1789641783000,"timestamp_seconds":1789641783,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef676d8"} 
[2026-09-17 16:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-17 16:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148294912001,"66":13863,"233":206,"83":44288,"24":36,"16":21186807383195648,"45":661044013481486336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-17 16:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148294912001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:13:13] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-17 16:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21186807383195648,"km_value":21186807383195.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":661044013481486336,"description":"Unknown IO ID 45"} 
[2026-09-17 16:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148294912001,"power":13863,"unknown_233":206,"unknown_83":44288,"ignition":36,"odometer":null,"unknown_45":661044013481486336}} 
[2026-09-17 16:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":186780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:13:13] local.INFO: GPS data processed {"connection_id":186780,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:13:13] local.INFO: Acknowledgment sent {"connection_id":186780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:13:15] local.INFO: TCP Data received {"connection_id":188092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:13:15] local.INFO: Processing buffer {"connection_id":188092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:13:15] local.INFO: IMEI packet received {"connection_id":188092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":188092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:13:19] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:13:19] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:13:19] local.INFO: IMEI packet received {"connection_id":186782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":186782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:13:20] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:13:20] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:13:20] local.INFO: IMEI packet received {"connection_id":186782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":186782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:13:20] local.INFO: TCP Data received {"connection_id":188092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:13:20] local.INFO: Processing buffer {"connection_id":188092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:13:20] local.INFO: IMEI packet received {"connection_id":188092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":188092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:13:21] local.INFO: TCP Data received {"connection_id":188092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:13:21] local.INFO: Processing buffer {"connection_id":188092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:13:21] local.INFO: Packet analysis {"connection_id":188092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:13:21] local.INFO: Extracted packet for processing {"connection_id":188092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:13: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-09-17 16:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:13:21] 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-09-17 16:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:13:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":188092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:13:21] local.INFO: GPS data processed {"connection_id":188092,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:13:21] local.INFO: Acknowledgment sent {"connection_id":188092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:13:25] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:13:25] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:13:25] local.INFO: IMEI packet received {"connection_id":186782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":186782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:13:25] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef63c40012d7bf98005e962b8000a010627..."} 
[2026-09-17 16:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef63c40012d7bf98005e962b8000a010627..."} 
[2026-09-17 16:13:25] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef63c40012d7bf98005e962b8000a010627..."} 
[2026-09-17 16:13:25] local.INFO: Packet analysis {"connection_id":186782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:25] local.INFO: Extracted packet for processing {"connection_id":186782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763099520,"raw_latitude":99181240,"longitude_deg":76.309952,"latitude_deg":9.918124,"altitude":10,"angle":262,"satellites":39,"speed":25,"hex_longitude":"2d7bf980","hex_latitude":"05e962b8","is_valid_coordinates":true} 
[2026-09-17 16:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148290304001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134367832812027904,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940278604419002368,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789641768000,"timestamp_ms":1789641768000,"timestamp_seconds":1789641768,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef63c40"} 
[2026-09-17 16:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148290304001,"66":12906,"156":206,"87":13824,"24":25,"16":134367832812027904,"45":8940278604419002368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-17 16:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148290304001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:13:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 16:13:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134367832812027904,"km_value":134367832812027.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940278604419002368,"description":"Unknown IO ID 45"} 
[2026-09-17 16:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148290304001,"power":12906,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8940278604419002368}} 
[2026-09-17 16:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":186782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:13:25] local.INFO: GPS data processed {"connection_id":186782,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:13:25] local.INFO: Acknowledgment sent {"connection_id":186782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:13:38] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:38] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:38] local.INFO: IMEI packet received {"connection_id":188093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":188093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:13:39] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:39] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:39] local.INFO: IMEI packet received {"connection_id":188093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":188093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:13:40] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:40] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:40] local.INFO: IMEI packet received {"connection_id":188093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":188093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:13:45] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:45] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:13:45] local.INFO: IMEI packet received {"connection_id":188093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":188093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:13:46] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef6d0b0012d096a4007246878000c005117..."} 
[2026-09-17 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef6d0b0012d096a4007246878000c005117..."} 
[2026-09-17 16:13:46] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef6d0b0012d096a4007246878000c005117..."} 
[2026-09-17 16:13:46] local.INFO: Packet analysis {"connection_id":188093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:46] local.INFO: Extracted packet for processing {"connection_id":188093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:46] local.INFO: GPS Element Parsed {"raw_longitude":755591744,"raw_latitude":119826552,"longitude_deg":75.5591744,"latitude_deg":11.9826552,"altitude":12,"angle":81,"satellites":23,"speed":24,"hex_longitude":"2d096a40","hex_latitude":"07246878","is_valid_coordinates":true} 
[2026-09-17 16:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148302080001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21187606247112704,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":677721405850654720,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789641806000,"timestamp_ms":1789641806000,"timestamp_seconds":1789641806,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef6d0b0"} 
[2026-09-17 16:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 16:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148302080001,"66":14407,"233":206,"83":44288,"24":24,"16":21187606247112704,"45":677721405850654720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-17 16:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148302080001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:13:46] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-17 16:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21187606247112704,"km_value":21187606247112.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":677721405850654720,"description":"Unknown IO ID 45"} 
[2026-09-17 16:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148302080001,"power":14407,"unknown_233":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":677721405850654720}} 
[2026-09-17 16:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":188093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:13:47] local.INFO: GPS data processed {"connection_id":188093,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:13:47] local.INFO: Acknowledgment sent {"connection_id":188093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:13:53] local.INFO: TCP Data received {"connection_id":188092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:13:53] local.INFO: Processing buffer {"connection_id":188092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:13:53] local.INFO: Packet analysis {"connection_id":188092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:13:53] local.INFO: Extracted packet for processing {"connection_id":188092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:13:53] 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-09-17 16:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":188092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:13:53] local.INFO: GPS data processed {"connection_id":188092,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:13:53] local.INFO: Acknowledgment sent {"connection_id":188092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:13:57] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef65798012d7be70005e95f28000600fb27..."} 
[2026-09-17 16:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef65798012d7be70005e95f28000600fb27..."} 
[2026-09-17 16:13:57] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef65798012d7be70005e95f28000600fb27..."} 
[2026-09-17 16:13:57] local.INFO: Packet analysis {"connection_id":186782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:57] local.INFO: Extracted packet for processing {"connection_id":186782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":99180328,"longitude_deg":76.3094784,"latitude_deg":9.9180328,"altitude":6,"angle":251,"satellites":39,"speed":28,"hex_longitude":"2d7be700","hex_latitude":"05e95f28","is_valid_coordinates":true} 
[2026-09-17 16:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148292608001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134368064740261888,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933312098744842240,"note":"Value kept but may cause issues"} 
[2026-09-17 16:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789641775000,"timestamp_ms":1789641775000,"timestamp_seconds":1789641775,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef65798"} 
[2026-09-17 16:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-17 16:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148292608001,"66":13189,"156":206,"87":13824,"24":28,"16":134368064740261888,"45":8933312098744842240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-17 16:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148292608001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:13:57] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-17 16:13:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134368064740261888,"km_value":134368064740261.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933312098744842240,"description":"Unknown IO ID 45"} 
[2026-09-17 16:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148292608001,"power":13189,"unknown_156":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8933312098744842240}} 
[2026-09-17 16:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":186782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:13:57] local.INFO: GPS data processed {"connection_id":186782,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:13:57] local.INFO: Acknowledgment sent {"connection_id":186782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:14:15] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:14:15] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:14:15] local.INFO: IMEI packet received {"connection_id":186783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:14:18] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef6d498012d096d0007246840000b005d17..."} 
[2026-09-17 16:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef6d498012d096d0007246840000b005d17..."} 
[2026-09-17 16:14:18] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef6d498012d096d0007246840000b005d17..."} 
[2026-09-17 16:14:18] local.INFO: Packet analysis {"connection_id":188093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:14:18] local.INFO: Extracted packet for processing {"connection_id":188093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef6"} 
[2026-09-17 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":755592448,"raw_latitude":119826496,"longitude_deg":75.5592448,"latitude_deg":11.9826496,"altitude":11,"angle":93,"satellites":23,"speed":26,"hex_longitude":"2d096d00","hex_latitude":"07246840","is_valid_coordinates":true} 
[2026-09-17 16:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148302336001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21187636311883776,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":678425093292455936,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789641807000,"timestamp_ms":1789641807000,"timestamp_seconds":1789641807,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef6d498"} 
[2026-09-17 16:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 16:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148302336001,"66":14374,"233":206,"83":44288,"24":26,"16":21187636311883776,"45":678425093292455936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-17 16:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148302336001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:14:18] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-17 16:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21187636311883776,"km_value":21187636311883.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":678425093292455936,"description":"Unknown IO ID 45"} 
[2026-09-17 16:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148302336001,"power":14374,"unknown_233":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":678425093292455936}} 
[2026-09-17 16:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":188093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:14:18] local.INFO: GPS data processed {"connection_id":188093,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:14:18] local.INFO: Acknowledgment sent {"connection_id":188093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:14:20] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:14:20] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:14:20] local.INFO: IMEI packet received {"connection_id":186783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":186783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:14:23] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:14:23] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:14:23] local.INFO: Packet analysis {"connection_id":186783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:14:23] local.INFO: Extracted packet for processing {"connection_id":186783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:14:23] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:14:23] 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-09-17 16:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":186783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:14:23] local.INFO: GPS data processed {"connection_id":186783,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:14:23] local.INFO: Acknowledgment sent {"connection_id":186783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:14:27] local.INFO: TCP Data received {"connection_id":188095,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:27] local.INFO: Processing buffer {"connection_id":188095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:27] local.INFO: IMEI packet received {"connection_id":188095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":188095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:14:28] local.INFO: TCP Data received {"connection_id":188095,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:28] local.INFO: Processing buffer {"connection_id":188095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:28] local.INFO: IMEI packet received {"connection_id":188095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":188095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:14:29] local.INFO: TCP Data received {"connection_id":188095,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:29] local.INFO: Processing buffer {"connection_id":188095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:29] local.INFO: IMEI packet received {"connection_id":188095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":188095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:14:30] local.INFO: TCP Data received {"connection_id":188095,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:30] local.INFO: Processing buffer {"connection_id":188095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:14:30] local.INFO: IMEI packet received {"connection_id":188095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":188095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:14:36] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:36] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:36] local.INFO: IMEI packet received {"connection_id":188096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":188096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:14:36] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:36] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:36] local.INFO: IMEI packet received {"connection_id":188096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":188096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:14:37] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:37] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:37] local.INFO: IMEI packet received {"connection_id":188096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":188096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:14:40] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:40] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:14:40] local.INFO: IMEI packet received {"connection_id":188096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":188096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:14:40] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef774c0012d09b3c007244768000f009718..."} 
[2026-09-17 16:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef774c0012d09b3c007244768000f009718..."} 
[2026-09-17 16:14:40] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef774c0012d09b3c007244768000f009718..."} 
[2026-09-17 16:14:40] local.INFO: Packet analysis {"connection_id":188096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef7"} 
[2026-09-17 16:14:40] local.INFO: Extracted packet for processing {"connection_id":188096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef7"} 
[2026-09-17 16:14:40] local.INFO: GPS Element Parsed {"raw_longitude":755610560,"raw_latitude":119818088,"longitude_deg":75.561056,"latitude_deg":11.9818088,"altitude":15,"angle":151,"satellites":24,"speed":32,"hex_longitude":"2d09b3c0","hex_latitude":"07244768","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148309248001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21188826017824768,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694258060732377088,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789641848000,"timestamp_ms":1789641848000,"timestamp_seconds":1789641848,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef774c0"} 
[2026-09-17 16:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-17 16:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148309248001,"66":14374,"232":206,"83":44288,"24":32,"16":21188826017824768,"45":694258060732377088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-17 16:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148309248001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:14:40] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-17 16:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21188826017824768,"km_value":21188826017824.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":694258060732377088,"description":"Unknown IO ID 45"} 
[2026-09-17 16:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148309248001,"power":14374,"unknown_232":206,"unknown_83":44288,"ignition":32,"odometer":null,"unknown_45":694258060732377088}} 
[2026-09-17 16:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":188096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:14:40] local.INFO: GPS data processed {"connection_id":188096,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:14:40] local.INFO: Acknowledgment sent {"connection_id":188096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:14:41] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef79fb8012d09c580072427480010009818..."} 
[2026-09-17 16:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef79fb8012d09c580072427480010009818..."} 
[2026-09-17 16:14:41] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef79fb8012d09c580072427480010009818..."} 
[2026-09-17 16:14:41] local.INFO: Packet analysis {"connection_id":188096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef7"} 
[2026-09-17 16:14:41] local.INFO: Extracted packet for processing {"connection_id":188096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef7"} 
[2026-09-17 16:14:41] local.INFO: GPS Element Parsed {"raw_longitude":755615104,"raw_latitude":119809864,"longitude_deg":75.5615104,"latitude_deg":11.9809864,"altitude":16,"angle":152,"satellites":24,"speed":33,"hex_longitude":"2d09c580","hex_latitude":"07242748","is_valid_coordinates":true} 
[2026-09-17 16:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148313088001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21189276989390848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":699113504078522368,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789641859000,"timestamp_ms":1789641859000,"timestamp_seconds":1789641859,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef79fb8"} 
[2026-09-17 16:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148313088001,"66":14396,"232":206,"83":44288,"24":33,"16":21189276989390848,"45":699113504078522368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-17 16:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148313088001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:14:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-17 16:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21189276989390848,"km_value":21189276989390.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":699113504078522368,"description":"Unknown IO ID 45"} 
[2026-09-17 16:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148313088001,"power":14396,"unknown_232":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":699113504078522368}} 
[2026-09-17 16:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":188096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:14:41] local.INFO: GPS data processed {"connection_id":188096,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:14:41] local.INFO: Acknowledgment sent {"connection_id":188096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:14:54] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:14:54] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:14:54] local.INFO: Packet analysis {"connection_id":186783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:14:54] local.INFO: Extracted packet for processing {"connection_id":186783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:14:54] 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-09-17 16:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":186783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:14:54] local.INFO: GPS data processed {"connection_id":186783,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:14:54] local.INFO: Acknowledgment sent {"connection_id":186783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:15:13] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef85750012d097fc00723b9b0001b00ce18..."} 
[2026-09-17 16:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef85750012d097fc00723b9b0001b00ce18..."} 
[2026-09-17 16:15:13] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef85750012d097fc00723b9b0001b00ce18..."} 
[2026-09-17 16:15:13] local.INFO: Packet analysis {"connection_id":188096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef8"} 
[2026-09-17 16:15:13] local.INFO: Extracted packet for processing {"connection_id":188096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef8"} 
[2026-09-17 16:15:13] local.INFO: GPS Element Parsed {"raw_longitude":755597248,"raw_latitude":119781808,"longitude_deg":75.5597248,"latitude_deg":11.9781808,"altitude":27,"angle":206,"satellites":24,"speed":16,"hex_longitude":"2d097fc0","hex_latitude":"0723b9b0","is_valid_coordinates":true} 
[2026-09-17 16:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148327680001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21191106645458944,"note":"Value kept but may cause issues"} 
[2026-09-17 16:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":684617542768726016,"note":"Value kept but may cause issues"} 
[2026-09-17 16:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789641906000,"timestamp_ms":1789641906000,"timestamp_seconds":1789641906,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef85750"} 
[2026-09-17 16:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 16:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148327680001,"66":14004,"232":206,"83":44288,"24":16,"16":21191106645458944,"45":684617542768726016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-17 16:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148327680001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:15:13] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-17 16:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-17 16:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21191106645458944,"km_value":21191106645458.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":684617542768726016,"description":"Unknown IO ID 45"} 
[2026-09-17 16:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148327680001,"power":14004,"unknown_232":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":684617542768726016}} 
[2026-09-17 16:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":188096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:15:13] local.INFO: GPS data processed {"connection_id":188096,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:15:13] local.INFO: Acknowledgment sent {"connection_id":188096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:15:15] local.INFO: TCP Data received {"connection_id":185476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:15:15] local.INFO: Processing buffer {"connection_id":185476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:15:15] local.INFO: IMEI packet received {"connection_id":185476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":185476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:15:20] local.INFO: TCP Data received {"connection_id":185476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:15:20] local.INFO: Processing buffer {"connection_id":185476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:15:20] local.INFO: IMEI packet received {"connection_id":185476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":185476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:15:21] local.INFO: TCP Data received {"connection_id":185476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:15:21] local.INFO: Processing buffer {"connection_id":185476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:15:21] local.INFO: Packet analysis {"connection_id":185476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:15:21] local.INFO: Extracted packet for processing {"connection_id":185476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:15:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:15: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-09-17 16:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:15:21] 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-09-17 16:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":185476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:15:21] local.INFO: GPS data processed {"connection_id":185476,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:15:21] local.INFO: Acknowledgment sent {"connection_id":185476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:15:37] local.INFO: TCP Data received {"connection_id":188097,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:15:37] local.INFO: Processing buffer {"connection_id":188097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:15:37] local.INFO: IMEI packet received {"connection_id":188097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":188097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:15:38] local.INFO: TCP Data received {"connection_id":185325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:38] local.INFO: Processing buffer {"connection_id":185325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:38] local.INFO: IMEI packet received {"connection_id":185325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":185325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:15:39] local.INFO: TCP Data received {"connection_id":185325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:39] local.INFO: Processing buffer {"connection_id":185325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:39] local.INFO: IMEI packet received {"connection_id":185325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":185325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:15:40] local.INFO: TCP Data received {"connection_id":185325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:40] local.INFO: Processing buffer {"connection_id":185325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:40] local.INFO: IMEI packet received {"connection_id":185325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":185325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:15:42] local.INFO: TCP Data received {"connection_id":185325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:42] local.INFO: Processing buffer {"connection_id":185325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:15:42] local.INFO: IMEI packet received {"connection_id":185325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":185325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:15:53] local.INFO: TCP Data received {"connection_id":185476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:15:53] local.INFO: Processing buffer {"connection_id":185476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:15:53] local.INFO: Packet analysis {"connection_id":185476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:15:53] local.INFO: Extracted packet for processing {"connection_id":185476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:15:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:15:53] 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-09-17 16:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":185476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:15:53] local.INFO: GPS data processed {"connection_id":185476,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:15:53] local.INFO: Acknowledgment sent {"connection_id":185476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:16:06] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:16:06] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:16:06] local.INFO: IMEI packet received {"connection_id":186784,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":186784,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:16:10] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:16:10] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:16:10] local.INFO: IMEI packet received {"connection_id":186784,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":186784,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:16:11] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef88e00012d0c3b8007063da80014000322..."} 
[2026-09-17 16:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef88e00012d0c3b8007063da80014000322..."} 
[2026-09-17 16:16:11] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef88e00012d0c3b8007063da80014000322..."} 
[2026-09-17 16:16:11] local.INFO: Packet analysis {"connection_id":186784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef8"} 
[2026-09-17 16:16:11] local.INFO: Extracted packet for processing {"connection_id":186784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef8"} 
[2026-09-17 16:16:11] local.INFO: GPS Element Parsed {"raw_longitude":755776384,"raw_latitude":117849512,"longitude_deg":75.5776384,"latitude_deg":11.7849512,"altitude":20,"angle":3,"satellites":34,"speed":8,"hex_longitude":"2d0c3b80","hex_latitude":"07063da8","is_valid_coordinates":true} 
[2026-09-17 16:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148329984001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32907781723914240,"note":"Value kept but may cause issues"} 
[2026-09-17 16:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931500947390464,"note":"Value kept but may cause issues"} 
[2026-09-17 16:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789641920000,"timestamp_ms":1789641920000,"timestamp_seconds":1789641920,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef88e00"} 
[2026-09-17 16:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 16:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186784,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186784,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148329984001,"66":14374,"164":206,"94":10240,"24":8,"16":32907781723914240,"45":881931500947390464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148329984001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:16:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:16:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32907781723914240,"km_value":32907781723914.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931500947390464,"description":"Unknown IO ID 45"} 
[2026-09-17 16:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148329984001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":881931500947390464}} 
[2026-09-17 16:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":186784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856506,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:16:11] local.INFO: GPS data processed {"connection_id":186784,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:16:11] local.INFO: Acknowledgment sent {"connection_id":186784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:16:15] local.INFO: TCP Data received {"connection_id":188098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:16:15] local.INFO: Processing buffer {"connection_id":188098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:16:15] local.INFO: IMEI packet received {"connection_id":188098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":188098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:16:20] local.INFO: TCP Data received {"connection_id":185477,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:16:20] local.INFO: Processing buffer {"connection_id":185477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:16:20] local.INFO: IMEI packet received {"connection_id":185477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:16:25] local.INFO: TCP Data received {"connection_id":185477,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:16:25] local.INFO: Processing buffer {"connection_id":185477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:16:25] local.INFO: IMEI packet received {"connection_id":185477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":185477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:16:26] local.INFO: TCP Data received {"connection_id":185477,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:16:26] local.INFO: Processing buffer {"connection_id":185477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:16:26] local.INFO: Packet analysis {"connection_id":185477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:16:26] local.INFO: Extracted packet for processing {"connection_id":185477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:16:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:16:26] 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-09-17 16:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:16:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":185477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:16:26] local.INFO: GPS data processed {"connection_id":185477,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:16:26] local.INFO: Acknowledgment sent {"connection_id":185477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:16:31] local.INFO: TCP Data received {"connection_id":185477,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:16:31] local.INFO: Processing buffer {"connection_id":185477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:16:31] local.INFO: Packet analysis {"connection_id":185477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:16:31] local.INFO: Extracted packet for processing {"connection_id":185477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:16:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:16:31] 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-09-17 16:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":185477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:16:31] local.INFO: GPS data processed {"connection_id":185477,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:16:31] local.INFO: Acknowledgment sent {"connection_id":185477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:16:50] local.INFO: TCP Data received {"connection_id":188101,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:16:50] local.INFO: Processing buffer {"connection_id":188101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:16:50] local.INFO: IMEI packet received {"connection_id":188101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":188101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:16:57] local.INFO: TCP Data received {"connection_id":188102,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:16:57] local.INFO: Processing buffer {"connection_id":188102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:16:57] local.INFO: IMEI packet received {"connection_id":188102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":188102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:17:01] local.INFO: TCP Data received {"connection_id":188102,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:17:01] local.INFO: Processing buffer {"connection_id":188102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:17:01] local.INFO: IMEI packet received {"connection_id":188102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":188102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:17:02] local.INFO: TCP Data received {"connection_id":188102,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9beb0012d0c7500070615280011008723..."} 
[2026-09-17 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9beb0012d0c7500070615280011008723..."} 
[2026-09-17 16:17:02] local.INFO: Processing buffer {"connection_id":188102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9beb0012d0c7500070615280011008723..."} 
[2026-09-17 16:17:02] local.INFO: Packet analysis {"connection_id":188102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:17:02] local.INFO: Extracted packet for processing {"connection_id":188102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117839144,"longitude_deg":75.5791104,"latitude_deg":11.7839144,"altitude":17,"angle":135,"satellites":35,"speed":11,"hex_longitude":"2d0c7500","hex_latitude":"07061528","is_valid_coordinates":true} 
[2026-09-17 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148346624001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32908799631163392,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891572018899578880,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789641998000,"timestamp_ms":1789641998000,"timestamp_seconds":1789641998,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9beb0"} 
[2026-09-17 16:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 16:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148346624001,"66":14428,"220":206,"94":10240,"24":11,"16":32908799631163392,"45":891572018899578880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-17 16:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148346624001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:17:02] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-17 16:17:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32908799631163392,"km_value":32908799631163.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":891572018899578880,"description":"Unknown IO ID 45"} 
[2026-09-17 16:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148346624001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":891572018899578880}} 
[2026-09-17 16:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":188102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:17:02] local.INFO: GPS data processed {"connection_id":188102,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:17:02] local.INFO: Acknowledgment sent {"connection_id":188102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:17:15] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:17:15] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:17:15] local.INFO: IMEI packet received {"connection_id":186785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":186785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:17:20] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:17:20] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:17:20] local.INFO: IMEI packet received {"connection_id":186785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":186785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:17:22] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:17:22] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef56568012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:17:22] local.INFO: Packet analysis {"connection_id":186785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:17:22] local.INFO: Extracted packet for processing {"connection_id":186785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef5"} 
[2026-09-17 16:17:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148201472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789641713000,"timestamp_ms":1789641713000,"timestamp_seconds":1789641713,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef56568"} 
[2026-09-17 16:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:17: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-09-17 16:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:17:22] 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-09-17 16:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148201472001,"66":25952,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148201472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148201472001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":186785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:17:22] local.INFO: GPS data processed {"connection_id":186785,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:17:22] local.INFO: Acknowledgment sent {"connection_id":186785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:17:33] local.INFO: TCP Data received {"connection_id":188102,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9f560012d0c84c0070606d00012007527..."} 
[2026-09-17 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9f560012d0c84c0070606d00012007527..."} 
[2026-09-17 16:17:33] local.INFO: Processing buffer {"connection_id":188102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9f560012d0c84c0070606d00012007527..."} 
[2026-09-17 16:17:33] local.INFO: Packet analysis {"connection_id":188102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:17:33] local.INFO: Extracted packet for processing {"connection_id":188102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:17:33] local.INFO: GPS Element Parsed {"raw_longitude":755795136,"raw_latitude":117835472,"longitude_deg":75.5795136,"latitude_deg":11.7835472,"altitude":18,"angle":117,"satellites":39,"speed":11,"hex_longitude":"2d0c84c0","hex_latitude":"070606d0","is_valid_coordinates":true} 
[2026-09-17 16:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148351488001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32909061624168448,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730897102848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789642012000,"timestamp_ms":1789642012000,"timestamp_seconds":1789642012,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9f560"} 
[2026-09-17 16:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148351488001,"66":14396,"220":206,"94":10240,"24":11,"16":32909061624168448,"45":897623730897102848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-17 16:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148351488001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:17:33] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-17 16:17:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32909061624168448,"km_value":32909061624168.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730897102848,"description":"Unknown IO ID 45"} 
[2026-09-17 16:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148351488001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":897623730897102848}} 
[2026-09-17 16:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":188102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:17:33] local.INFO: GPS data processed {"connection_id":188102,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:17:33] local.INFO: Acknowledgment sent {"connection_id":188102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:17:53] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:17:53] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:17:53] local.INFO: Packet analysis {"connection_id":186785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:17:53] local.INFO: Extracted packet for processing {"connection_id":186785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:17:53] 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-09-17 16:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":186785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:17:53] local.INFO: GPS data processed {"connection_id":186785,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:17:53] local.INFO: Acknowledgment sent {"connection_id":186785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:17:56] local.INFO: TCP Data received {"connection_id":185479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:17:56] local.INFO: Processing buffer {"connection_id":185479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:17:56] local.INFO: IMEI packet received {"connection_id":185479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":185479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:18:01] local.INFO: TCP Data received {"connection_id":185479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:01] local.INFO: Processing buffer {"connection_id":185479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:01] local.INFO: IMEI packet received {"connection_id":185479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":185479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:18:01] local.INFO: TCP Data received {"connection_id":185479,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefa10b8012d0c8b00070602e00014008327..."} 
[2026-09-17 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefa10b8012d0c8b00070602e00014008327..."} 
[2026-09-17 16:18:01] local.INFO: Processing buffer {"connection_id":185479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefa10b8012d0c8b00070602e00014008327..."} 
[2026-09-17 16:18:01] local.INFO: Packet analysis {"connection_id":185479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefa"} 
[2026-09-17 16:18:01] local.INFO: Extracted packet for processing {"connection_id":185479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefa"} 
[2026-09-17 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":755796736,"raw_latitude":117834464,"longitude_deg":75.5796736,"latitude_deg":11.7834464,"altitude":20,"angle":131,"satellites":39,"speed":10,"hex_longitude":"2d0c8b00","hex_latitude":"070602e0","is_valid_coordinates":true} 
[2026-09-17 16:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355072001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32909156113448960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":902056961779355648,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789642019000,"timestamp_ms":1789642019000,"timestamp_seconds":1789642019,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefa10b8"} 
[2026-09-17 16:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355072001,"66":14428,"220":206,"94":10240,"24":10,"16":32909156113448960,"45":902056961779355648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-17 16:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355072001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:18:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-17 16:18:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32909156113448960,"km_value":32909156113448.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":902056961779355648,"description":"Unknown IO ID 45"} 
[2026-09-17 16:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355072001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":902056961779355648}} 
[2026-09-17 16:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":185479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856513,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:18:02] local.INFO: GPS data processed {"connection_id":185479,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:18:02] local.INFO: Acknowledgment sent {"connection_id":185479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:18:15] local.INFO: TCP Data received {"connection_id":185480,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:18:15] local.INFO: Processing buffer {"connection_id":185480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:18:15] local.INFO: IMEI packet received {"connection_id":185480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":185480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:18:20] local.INFO: TCP Data received {"connection_id":185480,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:18:20] local.INFO: Processing buffer {"connection_id":185480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:18:20] local.INFO: IMEI packet received {"connection_id":185480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":185480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:18:22] local.INFO: TCP Data received {"connection_id":185480,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:18:22] local.INFO: Processing buffer {"connection_id":185480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:18:22] local.INFO: Packet analysis {"connection_id":185480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:18:22] local.INFO: Extracted packet for processing {"connection_id":185480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:18:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:18: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-09-17 16:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:18:22] 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-09-17 16:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:18:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":185480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:18:22] local.INFO: GPS data processed {"connection_id":185480,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:18:22] local.INFO: Acknowledgment sent {"connection_id":185480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:18:32] local.INFO: TCP Data received {"connection_id":185479,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefb6490012d0cbc800705b5d80013008529..."} 
[2026-09-17 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefb6490012d0cbc800705b5d80013008529..."} 
[2026-09-17 16:18:32] local.INFO: Processing buffer {"connection_id":185479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefb6490012d0cbc800705b5d80013008529..."} 
[2026-09-17 16:18:32] local.INFO: Packet analysis {"connection_id":185479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefb"} 
[2026-09-17 16:18:32] local.INFO: Extracted packet for processing {"connection_id":185479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefb"} 
[2026-09-17 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":755809408,"raw_latitude":117814744,"longitude_deg":75.5809408,"latitude_deg":11.7814744,"altitude":19,"angle":133,"satellites":41,"speed":6,"hex_longitude":"2d0cbc80","hex_latitude":"0705b5d8","is_valid_coordinates":true} 
[2026-09-17 16:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148378880001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32910401653964800,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917608454237349888,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789642106000,"timestamp_ms":1789642106000,"timestamp_seconds":1789642106,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefb6490"} 
[2026-09-17 16:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 16:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148378880001,"66":14341,"220":206,"94":10240,"24":6,"16":32910401653964800,"45":917608454237349888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-17 16:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148378880001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:18:32] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-17 16:18:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32910401653964800,"km_value":32910401653964.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":917608454237349888,"description":"Unknown IO ID 45"} 
[2026-09-17 16:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148378880001,"power":14341,"unknown_220":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":917608454237349888}} 
[2026-09-17 16:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":185479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856515,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:18:33] local.INFO: GPS data processed {"connection_id":185479,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:18:33] local.INFO: Acknowledgment sent {"connection_id":185479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:18:54] local.INFO: TCP Data received {"connection_id":185480,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:18:54] local.INFO: Processing buffer {"connection_id":185480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:18:54] local.INFO: Packet analysis {"connection_id":185480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:18:54] local.INFO: Extracted packet for processing {"connection_id":185480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:18:54] 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-09-17 16:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:18:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":185480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:18:54] local.INFO: GPS data processed {"connection_id":185480,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:18:54] local.INFO: Acknowledgment sent {"connection_id":185480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:18:55] local.INFO: TCP Data received {"connection_id":185327,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:55] local.INFO: Processing buffer {"connection_id":185327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:55] local.INFO: IMEI packet received {"connection_id":185327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":185327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:18:56] local.INFO: TCP Data received {"connection_id":185327,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:56] local.INFO: Processing buffer {"connection_id":185327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:56] local.INFO: IMEI packet received {"connection_id":185327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":185327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:18:57] local.INFO: TCP Data received {"connection_id":185327,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:57] local.INFO: Processing buffer {"connection_id":185327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:57] local.INFO: IMEI packet received {"connection_id":185327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":185327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:18:57] local.INFO: TCP Data received {"connection_id":185327,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:57] local.INFO: Processing buffer {"connection_id":185327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:18:57] local.INFO: IMEI packet received {"connection_id":185327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":185327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:19:15] local.INFO: TCP Data received {"connection_id":185481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:19:15] local.INFO: Processing buffer {"connection_id":185481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:19:15] local.INFO: IMEI packet received {"connection_id":185481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":185481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:19:21] local.INFO: TCP Data received {"connection_id":185481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:19:21] local.INFO: Processing buffer {"connection_id":185481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:19:21] local.INFO: IMEI packet received {"connection_id":185481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":185481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:19:23] local.INFO: TCP Data received {"connection_id":185481,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:19:23] local.INFO: Processing buffer {"connection_id":185481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:19:23] local.INFO: Packet analysis {"connection_id":185481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:19:23] local.INFO: Extracted packet for processing {"connection_id":185481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:19:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:19:23] 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-09-17 16:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":185481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:19:23] local.INFO: GPS data processed {"connection_id":185481,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:19:23] local.INFO: Acknowledgment sent {"connection_id":185481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:19:31] local.INFO: TCP Data received {"connection_id":188106,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:19:31] local.INFO: Processing buffer {"connection_id":188106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:19:31] local.INFO: IMEI packet received {"connection_id":188106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":188106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:19:31] local.INFO: TCP Data received {"connection_id":188106,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefc2fb0012d7bca0005e62e60000900a321..."} 
[2026-09-17 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefc2fb0012d7bca0005e62e60000900a321..."} 
[2026-09-17 16:19:31] local.INFO: Processing buffer {"connection_id":188106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefc2fb0012d7bca0005e62e60000900a321..."} 
[2026-09-17 16:19:31] local.INFO: Packet analysis {"connection_id":188106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefc"} 
[2026-09-17 16:19:31] local.INFO: Extracted packet for processing {"connection_id":188106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefc"} 
[2026-09-17 16:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763087360,"raw_latitude":98971232,"longitude_deg":76.308736,"latitude_deg":9.8971232,"altitude":9,"angle":163,"satellites":33,"speed":14,"hex_longitude":"2d7bca00","hex_latitude":"05e62e60","is_valid_coordinates":true} 
[2026-09-17 16:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148390912001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134379897375162368,"note":"Value kept but may cause issues"} 
[2026-09-17 16:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919308718600026112,"note":"Value kept but may cause issues"} 
[2026-09-17 16:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789642158000,"timestamp_ms":1789642158000,"timestamp_seconds":1789642158,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefc2fb0"} 
[2026-09-17 16:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 16:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148390912001,"66":13374,"95":206,"87":13824,"24":14,"16":134379897375162368,"45":8919308718600026112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 16:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148390912001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:19:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 16:19:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134379897375162368,"km_value":134379897375162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919308718600026112,"description":"Unknown IO ID 45"} 
[2026-09-17 16:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148390912001,"power":13374,"unknown_95":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8919308718600026112}} 
[2026-09-17 16:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":188106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:19:32] local.INFO: GPS data processed {"connection_id":188106,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:19:32] local.INFO: Acknowledgment sent {"connection_id":188106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:19:55] local.INFO: TCP Data received {"connection_id":185481,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:19:55] local.INFO: Processing buffer {"connection_id":185481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:19:55] local.INFO: Packet analysis {"connection_id":185481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:19:55] local.INFO: Extracted packet for processing {"connection_id":185481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:19:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:19:55] 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-09-17 16:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:19:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":185481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:19:55] local.INFO: GPS data processed {"connection_id":185481,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:19:55] local.INFO: Acknowledgment sent {"connection_id":185481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:20:03] local.INFO: TCP Data received {"connection_id":188106,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefc3f50012d7bcc0005e62970000800971b..."} 
[2026-09-17 16:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefc3f50012d7bcc0005e62970000800971b..."} 
[2026-09-17 16:20:03] local.INFO: Processing buffer {"connection_id":188106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefc3f50012d7bcc0005e62970000800971b..."} 
[2026-09-17 16:20:03] local.INFO: Packet analysis {"connection_id":188106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefc"} 
[2026-09-17 16:20:03] local.INFO: Extracted packet for processing {"connection_id":188106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefc"} 
[2026-09-17 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763087872,"raw_latitude":98969968,"longitude_deg":76.3087872,"latitude_deg":9.8969968,"altitude":8,"angle":151,"satellites":27,"speed":6,"hex_longitude":"2d7bcc00","hex_latitude":"05e62970","is_valid_coordinates":true} 
[2026-09-17 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148392448001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134379966094639104,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919942037297324032,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789642162000,"timestamp_ms":1789642162000,"timestamp_seconds":1789642162,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefc3f50"} 
[2026-09-17 16:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 16:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148392448001,"66":12200,"95":206,"87":13824,"24":6,"16":134379966094639104,"45":8919942037297324032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 16:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148392448001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:20:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 16:20:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134379966094639104,"km_value":134379966094639.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919942037297324032,"description":"Unknown IO ID 45"} 
[2026-09-17 16:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148392448001,"power":12200,"unknown_95":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8919942037297324032}} 
[2026-09-17 16:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":188106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:20:03] local.INFO: GPS data processed {"connection_id":188106,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:20:03] local.INFO: Acknowledgment sent {"connection_id":188106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:20:20] local.INFO: TCP Data received {"connection_id":185328,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:20:20] local.INFO: Processing buffer {"connection_id":185328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:20:20] local.INFO: IMEI packet received {"connection_id":185328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":185328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:20:20] local.INFO: TCP Data received {"connection_id":185482,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:20:20] local.INFO: Processing buffer {"connection_id":185482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:20:20] local.INFO: IMEI packet received {"connection_id":185482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":185482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:20:25] local.INFO: TCP Data received {"connection_id":185328,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:20:25] local.INFO: Processing buffer {"connection_id":185328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:20:25] local.INFO: IMEI packet received {"connection_id":185328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":185328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:20:25] local.INFO: TCP Data received {"connection_id":185482,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:20:25] local.INFO: Processing buffer {"connection_id":185482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:20:25] local.INFO: IMEI packet received {"connection_id":185482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":185482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:20:25] local.INFO: TCP Data received {"connection_id":185328,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefc5aa8012d7bcec005e62120000700a21d..."} 
[2026-09-17 16:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefc5aa8012d7bcec005e62120000700a21d..."} 
[2026-09-17 16:20:25] local.INFO: Processing buffer {"connection_id":185328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefc5aa8012d7bcec005e62120000700a21d..."} 
[2026-09-17 16:20:25] local.INFO: Packet analysis {"connection_id":185328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefc"} 
[2026-09-17 16:20:25] local.INFO: Extracted packet for processing {"connection_id":185328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefc"} 
[2026-09-17 16:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763088576,"raw_latitude":98967840,"longitude_deg":76.3088576,"latitude_deg":9.896784,"altitude":7,"angle":162,"satellites":29,"speed":20,"hex_longitude":"2d7bcec0","hex_latitude":"05e62120","is_valid_coordinates":true} 
[2026-09-17 16:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148393472001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134380073468821504,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920504987250421760,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789642169000,"timestamp_ms":1789642169000,"timestamp_seconds":1789642169,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefc5aa8"} 
[2026-09-17 16:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-17 16:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148393472001,"66":13135,"95":206,"87":13824,"24":20,"16":134380073468821504,"45":8920504987250421760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 16:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148393472001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:20:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 16:20:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134380073468821504,"km_value":134380073468821.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920504987250421760,"description":"Unknown IO ID 45"} 
[2026-09-17 16:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148393472001,"power":13135,"unknown_95":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8920504987250421760}} 
[2026-09-17 16:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":185328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:20:25] local.INFO: GPS data processed {"connection_id":185328,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:20:25] local.INFO: Acknowledgment sent {"connection_id":185328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:20:27] local.INFO: TCP Data received {"connection_id":185482,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:20:27] local.INFO: Processing buffer {"connection_id":185482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:20:27] local.INFO: Packet analysis {"connection_id":185482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:20:27] local.INFO: Extracted packet for processing {"connection_id":185482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:20:27] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:20:27] 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-09-17 16:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":185482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:20:27] local.INFO: GPS data processed {"connection_id":185482,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:20:27] local.INFO: Acknowledgment sent {"connection_id":185482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:20:58] local.INFO: TCP Data received {"connection_id":185482,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:20:58] local.INFO: Processing buffer {"connection_id":185482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:20:58] local.INFO: Packet analysis {"connection_id":185482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:20:58] local.INFO: Extracted packet for processing {"connection_id":185482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:20:58] 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-09-17 16:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:20:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":185482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:20:58] local.INFO: GPS data processed {"connection_id":185482,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:20:58] local.INFO: Acknowledgment sent {"connection_id":185482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:20:59] local.INFO: TCP Data received {"connection_id":185328,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefc8d70012d7bd88005e60080000600af23..."} 
[2026-09-17 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefc8d70012d7bd88005e60080000600af23..."} 
[2026-09-17 16:20:59] local.INFO: Processing buffer {"connection_id":185328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefc8d70012d7bd88005e60080000600af23..."} 
[2026-09-17 16:20:59] local.INFO: Packet analysis {"connection_id":185328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefc"} 
[2026-09-17 16:20:59] local.INFO: Extracted packet for processing {"connection_id":185328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefc"} 
[2026-09-17 16:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763091072,"raw_latitude":98959488,"longitude_deg":76.3091072,"latitude_deg":9.8959488,"altitude":6,"angle":175,"satellites":35,"speed":14,"hex_longitude":"2d7bd880","hex_latitude":"05e60080","is_valid_coordinates":true} 
[2026-09-17 16:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148395264001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134380498670583808,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921279043435831296,"note":"Value kept but may cause issues"} 
[2026-09-17 16:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789642182000,"timestamp_ms":1789642182000,"timestamp_seconds":1789642182,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefc8d70"} 
[2026-09-17 16:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 16:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":185328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":185328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":185328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148395264001,"66":13461,"95":206,"87":13824,"24":14,"16":134380498670583808,"45":8921279043435831296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-17 16:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148395264001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:20:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-17 16:20:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134380498670583808,"km_value":134380498670583.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921279043435831296,"description":"Unknown IO ID 45"} 
[2026-09-17 16:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148395264001,"power":13461,"unknown_95":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8921279043435831296}} 
[2026-09-17 16:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":185328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:20:59] local.INFO: GPS data processed {"connection_id":185328,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:20:59] local.INFO: Acknowledgment sent {"connection_id":185328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:21:15] local.INFO: TCP Data received {"connection_id":185483,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:21:15] local.INFO: Processing buffer {"connection_id":185483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:21:15] local.INFO: IMEI packet received {"connection_id":185483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":185483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:21:16] local.INFO: TCP Data received {"connection_id":185484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:16] local.INFO: Processing buffer {"connection_id":185484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:16] local.INFO: IMEI packet received {"connection_id":185484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":185484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:21:19] local.INFO: TCP Data received {"connection_id":185484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:19] local.INFO: Processing buffer {"connection_id":185484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:19] local.INFO: IMEI packet received {"connection_id":185484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":185484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:21:20] local.INFO: TCP Data received {"connection_id":185484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:20] local.INFO: Processing buffer {"connection_id":185484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:20] local.INFO: IMEI packet received {"connection_id":185484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":185484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:21:20] local.INFO: TCP Data received {"connection_id":185483,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:21:20] local.INFO: Processing buffer {"connection_id":185483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:21:20] local.INFO: IMEI packet received {"connection_id":185483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":185483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:21:21] local.INFO: TCP Data received {"connection_id":185484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:21] local.INFO: Processing buffer {"connection_id":185484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:21:21] local.INFO: IMEI packet received {"connection_id":185484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":185484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:21:22] local.INFO: TCP Data received {"connection_id":185484,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefdc5f0012d7c398005e54070000b00a620..."} 
[2026-09-17 16:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefdc5f0012d7c398005e54070000b00a620..."} 
[2026-09-17 16:21:22] local.INFO: Processing buffer {"connection_id":185484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefdc5f0012d7c398005e54070000b00a620..."} 
[2026-09-17 16:21:22] local.INFO: Packet analysis {"connection_id":185484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefd"} 
[2026-09-17 16:21:22] local.INFO: Extracted packet for processing {"connection_id":185484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefd"} 
[2026-09-17 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763115904,"raw_latitude":98910320,"longitude_deg":76.3115904,"latitude_deg":9.891032,"altitude":11,"angle":166,"satellites":32,"speed":19,"hex_longitude":"2d7c3980","hex_latitude":"05e54070","is_valid_coordinates":true} 
[2026-09-17 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148416768001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134383230269784064,"note":"Value kept but may cause issues"} 
[2026-09-17 16:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722853652002816,"note":"Value kept but may cause issues"} 
[2026-09-17 16:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789642262000,"timestamp_ms":1789642262000,"timestamp_seconds":1789642262,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefdc5f0"} 
[2026-09-17 16:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-17 16:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148416768001,"66":13135,"39":206,"87":13824,"24":19,"16":134383230269784064,"45":8948722853652002816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-17 16:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148416768001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:21:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 16:21:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134383230269784064,"km_value":134383230269784.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722853652002816,"description":"Unknown IO ID 45"} 
[2026-09-17 16:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148416768001,"power":13135,"unknown_39":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8948722853652002816}} 
[2026-09-17 16:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":185484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:21:22] local.INFO: GPS data processed {"connection_id":185484,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:21:22] local.INFO: Acknowledgment sent {"connection_id":185484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:21:22] local.INFO: TCP Data received {"connection_id":185483,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:21:22] local.INFO: Processing buffer {"connection_id":185483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:21:22] local.INFO: Packet analysis {"connection_id":185483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:21:22] local.INFO: Extracted packet for processing {"connection_id":185483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:21:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:21: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-09-17 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:21:22] 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-09-17 16:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:21:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":185483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:21:22] local.INFO: GPS data processed {"connection_id":185483,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:21:22] local.INFO: Acknowledgment sent {"connection_id":185483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:21:54] local.INFO: TCP Data received {"connection_id":185483,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:21:54] local.INFO: Processing buffer {"connection_id":185483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:21:54] local.INFO: Packet analysis {"connection_id":185483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:21:54] local.INFO: Extracted packet for processing {"connection_id":185483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:21:54] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:21:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:21:54] 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-09-17 16:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":185483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:21:54] local.INFO: GPS data processed {"connection_id":185483,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:21:54] local.INFO: Acknowledgment sent {"connection_id":185483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:22:00] local.INFO: TCP Data received {"connection_id":188109,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:00] local.INFO: Processing buffer {"connection_id":188109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:00] local.INFO: IMEI packet received {"connection_id":188109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":188109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:22:01] local.INFO: TCP Data received {"connection_id":188109,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:01] local.INFO: Processing buffer {"connection_id":188109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:01] local.INFO: IMEI packet received {"connection_id":188109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":188109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:22:05] local.INFO: TCP Data received {"connection_id":188109,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:05] local.INFO: Processing buffer {"connection_id":188109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:05] local.INFO: IMEI packet received {"connection_id":188109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":188109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:22:05] local.INFO: TCP Data received {"connection_id":188109,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe4ea8012d0adc4007202f500018009818..."} 
[2026-09-17 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe4ea8012d0adc4007202f500018009818..."} 
[2026-09-17 16:22:05] local.INFO: Processing buffer {"connection_id":188109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe4ea8012d0adc4007202f500018009818..."} 
[2026-09-17 16:22:05] local.INFO: Packet analysis {"connection_id":188109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:22:05] local.INFO: Extracted packet for processing {"connection_id":188109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":755686464,"raw_latitude":119549776,"longitude_deg":75.5686464,"latitude_deg":11.9549776,"altitude":24,"angle":152,"satellites":24,"speed":44,"hex_longitude":"2d0adc40","hex_latitude":"07202f50","is_valid_coordinates":true} 
[2026-09-17 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148427008001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21210236429795328,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781233828466280448,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789642297000,"timestamp_ms":1789642297000,"timestamp_seconds":1789642297,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe4ea8"} 
[2026-09-17 16:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-17 16:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454286848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2935872864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:05] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:05] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4261703681,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1777402062,"corrected_to":0} 
[2026-09-17 16:22:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247844,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,241,83,24,157,16,90,160,31,45,192,99,23,10,66,128,107,22,89,1,240,180,174,32,4,113,205,46,229,164,104,239,54,60,2,75,7,50],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1777402062,"validated":0}]} 
[2026-09-17 16:22:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729569276969156608,"timestamp_seconds":1729569276969156.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148427008001,"66":14070,"241":206,"83":41984,"24":44,"16":21210236429795328,"45":781233828466280448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-09-17 16:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148427008001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:22:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-17 16:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21210236429795328,"km_value":21210236429795.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":781233828466280448,"description":"Unknown IO ID 45"} 
[2026-09-17 16:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148427008001,"power":14070,"unknown_241":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":781233828466280448}} 
[2026-09-17 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":188109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:22:06] local.INFO: GPS data processed {"connection_id":188109,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:22:06] local.INFO: Acknowledgment sent {"connection_id":188109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:22:15] local.INFO: TCP Data received {"connection_id":188110,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:22:15] local.INFO: Processing buffer {"connection_id":188110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:22:15] local.INFO: IMEI packet received {"connection_id":188110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":188110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:22:15] local.INFO: TCP Data received {"connection_id":186790,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:22:15] local.INFO: Processing buffer {"connection_id":186790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:22:15] local.INFO: IMEI packet received {"connection_id":186790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":186790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:22:20] local.INFO: TCP Data received {"connection_id":188110,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:22:20] local.INFO: Processing buffer {"connection_id":188110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:22:20] local.INFO: IMEI packet received {"connection_id":188110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":188110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:22:21] local.INFO: TCP Data received {"connection_id":188110,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:22:21] local.INFO: Processing buffer {"connection_id":188110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aef9fd30012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:22:21] local.INFO: Packet analysis {"connection_id":188110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:22:21] local.INFO: Extracted packet for processing {"connection_id":188110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aef9"} 
[2026-09-17 16:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148278528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642014000,"timestamp_ms":1789642014000,"timestamp_seconds":1789642014,"priority":1,"record_length":96,"hex_timestamp":"000001a0aef9fd30"} 
[2026-09-17 16:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:22: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-09-17 16:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 16:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:22:21] 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-09-17 16:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148278528001,"66":25941,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148278528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148278528001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":188110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:22:21] local.INFO: GPS data processed {"connection_id":188110,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:22:21] local.INFO: Acknowledgment sent {"connection_id":188110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:22:23] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:22:23] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:22:23] local.INFO: IMEI packet received {"connection_id":186791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":186791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:22:25] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:22:25] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:22:25] local.INFO: IMEI packet received {"connection_id":186791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":186791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:22:28] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:22:28] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:22:28] local.INFO: IMEI packet received {"connection_id":186791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":186791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:22:30] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":249,"data_hex":"00000000000000ed8e03000001a0aefee700012d7bb8c005e44798001300d523..."} 
[2026-09-17 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a0aefee700012d7bb8c005e44798001300d523..."} 
[2026-09-17 16:22:30] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a0aefee700012d7bb8c005e44798001300d523..."} 
[2026-09-17 16:22:30] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a0aefe"} 
[2026-09-17 16:22:30] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a0aefe"} 
[2026-09-17 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763082944,"raw_latitude":98846616,"longitude_deg":76.3082944,"latitude_deg":9.8846616,"altitude":19,"angle":213,"satellites":35,"speed":57,"hex_longitude":"2d7bb8c0","hex_latitude":"05e44798","is_valid_coordinates":true} 
[2026-09-17 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-09-17 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148436224001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134385287559118848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921279043406993408,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789642336000,"timestamp_ms":1789642336000,"timestamp_seconds":1789642336,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefee700"} 
[2026-09-17 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":249,"current_offset":136} 
[2026-09-17 16:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-09-17 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148436224001,"66":12972,"39":206,"87":13824,"24":57,"16":134385287559118848,"45":8921279043406993408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-17 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148436224001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:22:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-17 16:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-17 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134385287559118848,"km_value":134385287559118.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921279043406993408,"description":"Unknown IO ID 45"} 
[2026-09-17 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148436224001,"power":12972,"unknown_39":206,"unknown_87":13824,"ignition":57,"odometer":null,"unknown_45":8921279043406993408}} 
[2026-09-17 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:22:30] local.INFO: GPS data processed {"connection_id":186791,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:22:30] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:22:34] local.INFO: TCP Data received {"connection_id":185329,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:34] local.INFO: Processing buffer {"connection_id":185329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:34] local.INFO: IMEI packet received {"connection_id":185329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":185329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:22:35] local.INFO: TCP Data received {"connection_id":185329,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:35] local.INFO: Processing buffer {"connection_id":185329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:35] local.INFO: IMEI packet received {"connection_id":185329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":185329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:22:41] local.INFO: TCP Data received {"connection_id":185329,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:41] local.INFO: Processing buffer {"connection_id":185329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:22:41] local.INFO: IMEI packet received {"connection_id":185329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":185329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:22:41] local.INFO: TCP Data received {"connection_id":185329,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe6a00012d0aeac007201440001900a518..."} 
[2026-09-17 16:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe6a00012d0aeac007201440001900a518..."} 
[2026-09-17 16:22:41] local.INFO: Processing buffer {"connection_id":185329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe6a00012d0aeac007201440001900a518..."} 
[2026-09-17 16:22:41] local.INFO: Packet analysis {"connection_id":185329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:22:41] local.INFO: Extracted packet for processing {"connection_id":185329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":755690176,"raw_latitude":119542848,"longitude_deg":75.5690176,"latitude_deg":11.9542848,"altitude":25,"angle":165,"satellites":24,"speed":44,"hex_longitude":"2d0aeac0","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-09-17 16:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148428032001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21210618681884672,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782570834604544000,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789642304000,"timestamp_ms":1789642304000,"timestamp_seconds":1789642304,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe6a00"} 
[2026-09-17 16:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 16:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148428032001,"66":14265,"171":206,"83":41984,"24":44,"16":21210618681884672,"45":782570834604544000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,45]} 
[2026-09-17 16:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148428032001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:22:41] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-17 16:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21210618681884672,"km_value":21210618681884.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":782570834604544000,"description":"Unknown IO ID 45"} 
[2026-09-17 16:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148428032001,"power":14265,"unknown_171":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":782570834604544000}} 
[2026-09-17 16:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":185329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:22:41] local.INFO: GPS data processed {"connection_id":185329,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:22:41] local.INFO: Acknowledgment sent {"connection_id":185329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:22:49] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:22:49] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:22:49] local.INFO: IMEI packet received {"connection_id":186792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":186792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:22:52] local.INFO: TCP Data received {"connection_id":188110,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:22:52] local.INFO: Processing buffer {"connection_id":188110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:22:52] local.INFO: Packet analysis {"connection_id":188110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:22:52] local.INFO: Extracted packet for processing {"connection_id":188110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:22:52] 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-09-17 16:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":188110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:22:52] local.INFO: GPS data processed {"connection_id":188110,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:22:52] local.INFO: Acknowledgment sent {"connection_id":188110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:23:01] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":93,"data_hex":"00000000000000518e01000001a0aeff0258012d7ba30005e42640001100d426..."} 
[2026-09-17 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":93,"packet_hex":"00000000000000518e01000001a0aeff0258012d7ba30005e42640001100d426..."} 
[2026-09-17 16:23:01] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0aeff0258012d7ba30005e42640001100d426..."} 
[2026-09-17 16:23:01] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0aeff"} 
[2026-09-17 16:23:01] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0aeff"} 
[2026-09-17 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763077376,"raw_latitude":98838080,"longitude_deg":76.3077376,"latitude_deg":9.883808,"altitude":17,"angle":212,"satellites":38,"speed":59,"hex_longitude":"2d7ba300","hex_latitude":"05e42640","is_valid_coordinates":true} 
[2026-09-17 16:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-17 16:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:23:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:23:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 16:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 16:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 16:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 16:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 16:23:01] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 16:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 16:23:01] local.ERROR: GPS data processing failed {"connection_id":186791,"error":"No valid data to process"} 
[2026-09-17 16:23:01] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 16:23:13] local.INFO: TCP Data received {"connection_id":185329,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeff7b70012d0bda80071f64f00016009318..."} 
[2026-09-17 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeff7b70012d0bda80071f64f00016009318..."} 
[2026-09-17 16:23:13] local.INFO: Processing buffer {"connection_id":185329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeff7b70012d0bda80071f64f00016009318..."} 
[2026-09-17 16:23:13] local.INFO: Packet analysis {"connection_id":185329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeff"} 
[2026-09-17 16:23:13] local.INFO: Extracted packet for processing {"connection_id":185329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeff"} 
[2026-09-17 16:23:13] local.INFO: GPS Element Parsed {"raw_longitude":755751552,"raw_latitude":119497968,"longitude_deg":75.5751552,"latitude_deg":11.9497968,"altitude":22,"angle":147,"satellites":24,"speed":36,"hex_longitude":"2d0bda80","hex_latitude":"071f64f0","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148447232001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21214393958137856,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852869210025127936,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789642374000,"timestamp_ms":1789642374000,"timestamp_seconds":1789642374,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeff7b70"} 
[2026-09-17 16:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148447232001,"66":14048,"242":206,"83":41984,"24":36,"16":21214393958137856,"45":852869210025127936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-17 16:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148447232001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:23:13] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-17 16:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21214393958137856,"km_value":21214393958137.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":852869210025127936,"description":"Unknown IO ID 45"} 
[2026-09-17 16:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148447232001,"power":14048,"unknown_242":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":852869210025127936}} 
[2026-09-17 16:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":185329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:23:13] local.INFO: GPS data processed {"connection_id":185329,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:23:13] local.INFO: Acknowledgment sent {"connection_id":185329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:23:14] local.INFO: TCP Data received {"connection_id":185486,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:23:14] local.INFO: Processing buffer {"connection_id":185486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:23:14] local.INFO: IMEI packet received {"connection_id":185486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":185486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:23:20] local.INFO: TCP Data received {"connection_id":185486,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:23:20] local.INFO: Processing buffer {"connection_id":185486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:23:20] local.INFO: IMEI packet received {"connection_id":185486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":185486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:23:21] local.INFO: TCP Data received {"connection_id":185486,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:23:21] local.INFO: Processing buffer {"connection_id":185486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:23:21] local.INFO: Packet analysis {"connection_id":185486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:23:21] local.INFO: Extracted packet for processing {"connection_id":185486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:23: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-09-17 16:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":185486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:23:21] local.INFO: GPS data processed {"connection_id":185486,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:23:21] local.INFO: Acknowledgment sent {"connection_id":185486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:23:32] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":93,"data_hex":"00000000000000518e01000001a0aeff1db0012d7b8d4005e404b0000f00d525..."} 
[2026-09-17 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":93,"packet_hex":"00000000000000518e01000001a0aeff1db0012d7b8d4005e404b0000f00d525..."} 
[2026-09-17 16:23:32] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0aeff1db0012d7b8d4005e404b0000f00d525..."} 
[2026-09-17 16:23:32] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0aeff"} 
[2026-09-17 16:23:32] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0aeff"} 
[2026-09-17 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763071808,"raw_latitude":98829488,"longitude_deg":76.3071808,"latitude_deg":9.8829488,"altitude":15,"angle":213,"satellites":37,"speed":55,"hex_longitude":"2d7b8d40","hex_latitude":"05e404b0","is_valid_coordinates":true} 
[2026-09-17 16:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-17 16:23:32] 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-09-17 16:23:32] 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-09-17 16:23:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:23:32] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 16:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 16:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 16:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 16:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 16:23:32] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 16:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 16:23:32] local.ERROR: GPS data processing failed {"connection_id":186791,"error":"No valid data to process"} 
[2026-09-17 16:23:32] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 16:23:36] local.INFO: TCP Data received {"connection_id":185487,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:23:36] local.INFO: Processing buffer {"connection_id":185487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:23:36] local.INFO: IMEI packet received {"connection_id":185487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":185487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:23:39] local.INFO: TCP Data received {"connection_id":185487,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:23:39] local.INFO: Processing buffer {"connection_id":185487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:23:39] local.INFO: IMEI packet received {"connection_id":185487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":185487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:23:40] local.INFO: TCP Data received {"connection_id":185487,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeff8340012d0bdd80071f5e28001700a118..."} 
[2026-09-17 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeff8340012d0bdd80071f5e28001700a118..."} 
[2026-09-17 16:23:40] local.INFO: Processing buffer {"connection_id":185487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeff8340012d0bdd80071f5e28001700a118..."} 
[2026-09-17 16:23:40] local.INFO: Packet analysis {"connection_id":185487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeff"} 
[2026-09-17 16:23:40] local.INFO: Extracted packet for processing {"connection_id":185487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeff"} 
[2026-09-17 16:23:40] local.INFO: GPS Element Parsed {"raw_longitude":755752320,"raw_latitude":119496232,"longitude_deg":75.575232,"latitude_deg":11.9496232,"altitude":23,"angle":161,"satellites":24,"speed":38,"hex_longitude":"2d0bdd80","hex_latitude":"071f5e28","is_valid_coordinates":true} 
[2026-09-17 16:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148447744001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21214484152451072,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854135847419965440,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789642376000,"timestamp_ms":1789642376000,"timestamp_seconds":1789642376,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeff8340"} 
[2026-09-17 16:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 16:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148447744001,"66":13928,"242":206,"83":41984,"24":38,"16":21214484152451072,"45":854135847419965440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-17 16:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148447744001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:23:40] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-17 16:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21214484152451072,"km_value":21214484152451.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":854135847419965440,"description":"Unknown IO ID 45"} 
[2026-09-17 16:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148447744001,"power":13928,"unknown_242":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":854135847419965440}} 
[2026-09-17 16:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":185487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:23:40] local.INFO: GPS data processed {"connection_id":185487,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:23:40] local.INFO: Acknowledgment sent {"connection_id":185487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:23:53] local.INFO: TCP Data received {"connection_id":185486,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:23:53] local.INFO: Processing buffer {"connection_id":185486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:23:53] local.INFO: Packet analysis {"connection_id":185486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:23:53] local.INFO: Extracted packet for processing {"connection_id":185486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":185486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:23:53] local.INFO: GPS data processed {"connection_id":185486,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:23:53] local.INFO: Acknowledgment sent {"connection_id":185486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:24:02] local.INFO: TCP Data received {"connection_id":188112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:24:02] local.INFO: Processing buffer {"connection_id":188112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:24:02] local.INFO: IMEI packet received {"connection_id":188112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":188112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:24:02] local.INFO: TCP Data received {"connection_id":188112,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeffcd78012d0da4c00705b8a00015006927..."} 
[2026-09-17 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeffcd78012d0da4c00705b8a00015006927..."} 
[2026-09-17 16:24:03] local.INFO: Processing buffer {"connection_id":188112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeffcd78012d0da4c00705b8a00015006927..."} 
[2026-09-17 16:24:03] local.INFO: Packet analysis {"connection_id":188112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeff"} 
[2026-09-17 16:24:03] local.INFO: Extracted packet for processing {"connection_id":188112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeff"} 
[2026-09-17 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":755868864,"raw_latitude":117815456,"longitude_deg":75.5868864,"latitude_deg":11.7815456,"altitude":21,"angle":105,"satellites":39,"speed":0,"hex_longitude":"2d0da4c0","hex_latitude":"0705b8a0","is_valid_coordinates":true} 
[2026-09-17 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148452864001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32914649376620544,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983121755066900480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789642395000,"timestamp_ms":1789642395000,"timestamp_seconds":1789642395,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeffcd78"} 
[2026-09-17 16:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 16:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148452864001,"66":14439,"167":206,"94":11008,"24":0,"16":32914649376620544,"45":983121755066900480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 16:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148452864001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:24:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 16:24:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32914649376620544,"km_value":32914649376620.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":983121755066900480,"description":"Unknown IO ID 45"} 
[2026-09-17 16:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148452864001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":983121755066900480}} 
[2026-09-17 16:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":188112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:24:03] local.INFO: GPS data processed {"connection_id":188112,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:24:03] local.INFO: Acknowledgment sent {"connection_id":188112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:24:03] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":93,"data_hex":"00000000000000518e01000001a0af005630012d7b098005e335e80008013d17..."} 
[2026-09-17 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":93,"packet_hex":"00000000000000518e01000001a0af005630012d7b098005e335e80008013d17..."} 
[2026-09-17 16:24:03] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0af005630012d7b098005e335e80008013d17..."} 
[2026-09-17 16:24:03] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0af00"} 
[2026-09-17 16:24:03] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0af00"} 
[2026-09-17 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98776552,"longitude_deg":76.303808,"latitude_deg":9.8776552,"altitude":8,"angle":317,"satellites":23,"speed":7,"hex_longitude":"2d7b0980","hex_latitude":"05e335e8","is_valid_coordinates":true} 
[2026-09-17 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-17 16:24:03] 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-09-17 16:24:03] 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-09-17 16:24:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:24:03] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 16:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 16:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 16:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 16:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 16:24:03] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 16:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 16:24:03] local.ERROR: GPS data processing failed {"connection_id":186791,"error":"No valid data to process"} 
[2026-09-17 16:24:03] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 16:24:12] local.INFO: TCP Data received {"connection_id":185487,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0aeffaa50012d0be7c0071f3ab8002000a518..."} 
[2026-09-17 16:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aeffaa50012d0be7c0071f3ab8002000a518..."} 
[2026-09-17 16:24:12] local.INFO: Processing buffer {"connection_id":185487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aeffaa50012d0be7c0071f3ab8002000a518..."} 
[2026-09-17 16:24:12] local.INFO: Packet analysis {"connection_id":185487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aeff"} 
[2026-09-17 16:24:12] local.INFO: Extracted packet for processing {"connection_id":185487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aeff"} 
[2026-09-17 16:24:12] local.INFO: GPS Element Parsed {"raw_longitude":755754944,"raw_latitude":119487160,"longitude_deg":75.5754944,"latitude_deg":11.948716,"altitude":32,"angle":165,"satellites":24,"speed":34,"hex_longitude":"2d0be7c0","hex_latitude":"071f3ab8","is_valid_coordinates":true} 
[2026-09-17 16:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148448256001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21214939418984448,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854980272349652992,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789642386000,"timestamp_ms":1789642386000,"timestamp_seconds":1789642386,"priority":1,"record_length":96,"hex_timestamp":"000001a0aeffaa50"} 
[2026-09-17 16:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-17 16:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148448256001,"66":14407,"242":206,"83":41984,"24":34,"16":21214939418984448,"45":854980272349652992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-17 16:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148448256001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:24:12] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-17 16:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21214939418984448,"km_value":21214939418984.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":854980272349652992,"description":"Unknown IO ID 45"} 
[2026-09-17 16:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148448256001,"power":14407,"unknown_242":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":854980272349652992}} 
[2026-09-17 16:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":185487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:24:13] local.INFO: GPS data processed {"connection_id":185487,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:24:13] local.INFO: Acknowledgment sent {"connection_id":185487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:24:20] local.INFO: TCP Data received {"connection_id":185330,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:24:20] local.INFO: Processing buffer {"connection_id":185330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:24:20] local.INFO: IMEI packet received {"connection_id":185330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":185330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:24:25] local.INFO: TCP Data received {"connection_id":185330,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:24:25] local.INFO: Processing buffer {"connection_id":185330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:24:25] local.INFO: IMEI packet received {"connection_id":185330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":185330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:24:26] local.INFO: TCP Data received {"connection_id":185330,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:24:26] local.INFO: Processing buffer {"connection_id":185330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:24:26] local.INFO: Packet analysis {"connection_id":185330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:24:26] local.INFO: Extracted packet for processing {"connection_id":185330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:24:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":185330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:24:26] local.INFO: GPS data processed {"connection_id":185330,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:24:26] local.INFO: Acknowledgment sent {"connection_id":185330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:24:30] local.INFO: TCP Data received {"connection_id":185330,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:24:30] local.INFO: Processing buffer {"connection_id":185330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:24:30] local.INFO: Packet analysis {"connection_id":185330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:24:30] local.INFO: Extracted packet for processing {"connection_id":185330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":185330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:24:31] local.INFO: GPS data processed {"connection_id":185330,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:24:31] local.INFO: Acknowledgment sent {"connection_id":185330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:24:34] local.INFO: TCP Data received {"connection_id":188112,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af00c390012d0dd1400705ce200018006728..."} 
[2026-09-17 16:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af00c390012d0dd1400705ce200018006728..."} 
[2026-09-17 16:24:34] local.INFO: Processing buffer {"connection_id":188112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af00c390012d0dd1400705ce200018006728..."} 
[2026-09-17 16:24:34] local.INFO: Packet analysis {"connection_id":188112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af00"} 
[2026-09-17 16:24:34] local.INFO: Extracted packet for processing {"connection_id":188112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af00"} 
[2026-09-17 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":755880256,"raw_latitude":117820960,"longitude_deg":75.5880256,"latitude_deg":11.782096,"altitude":24,"angle":103,"satellites":40,"speed":38,"hex_longitude":"2d0dd140","hex_latitude":"0705ce20","is_valid_coordinates":true} 
[2026-09-17 16:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148467456001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32915508370079744,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":988258673393418240,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789642458000,"timestamp_ms":1789642458000,"timestamp_seconds":1789642458,"priority":1,"record_length":96,"hex_timestamp":"000001a0af00c390"} 
[2026-09-17 16:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 16:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148467456001,"66":14537,"167":206,"94":11008,"24":38,"16":32915508370079744,"45":988258673393418240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 16:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148467456001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:24:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 16:24:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32915508370079744,"km_value":32915508370079.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":988258673393418240,"description":"Unknown IO ID 45"} 
[2026-09-17 16:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148467456001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":38,"odometer":null,"unknown_45":988258673393418240}} 
[2026-09-17 16:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":188112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:24:34] local.INFO: GPS data processed {"connection_id":188112,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:24:34] local.INFO: Acknowledgment sent {"connection_id":188112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:24:35] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":93,"data_hex":"00000000000000518e01000001a0af005a18012d7b090005e336a80008014d16..."} 
[2026-09-17 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":93,"packet_hex":"00000000000000518e01000001a0af005a18012d7b090005e336a80008014d16..."} 
[2026-09-17 16:24:35] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0af005a18012d7b090005e336a80008014d16..."} 
[2026-09-17 16:24:35] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0af00"} 
[2026-09-17 16:24:35] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0af00"} 
[2026-09-17 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98776744,"longitude_deg":76.3037952,"latitude_deg":9.8776744,"altitude":8,"angle":333,"satellites":22,"speed":8,"hex_longitude":"2d7b0900","hex_latitude":"05e336a8","is_valid_coordinates":true} 
[2026-09-17 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-17 16:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:24:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:24:35] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 16:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 16:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 16:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-17 16:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 16:24:35] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 16:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 16:24:35] local.ERROR: GPS data processing failed {"connection_id":186791,"error":"No valid data to process"} 
[2026-09-17 16:24:35] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 16:24:36] local.INFO: TCP Data received {"connection_id":188113,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:24:36] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:24:36] local.INFO: IMEI packet received {"connection_id":188113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":188113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:24:36] local.INFO: TCP Data received {"connection_id":188113,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:24:36] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:24:36] local.INFO: IMEI packet received {"connection_id":188113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":188113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:24:41] local.INFO: TCP Data received {"connection_id":188113,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:24:41] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:24:41] local.INFO: IMEI packet received {"connection_id":188113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":188113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:24:41] local.INFO: TCP Data received {"connection_id":188113,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af00ac20012d0c4800071e9cd8002f006f18..."} 
[2026-09-17 16:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af00ac20012d0c4800071e9cd8002f006f18..."} 
[2026-09-17 16:24:41] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af00ac20012d0c4800071e9cd8002f006f18..."} 
[2026-09-17 16:24:41] local.INFO: Packet analysis {"connection_id":188113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af00"} 
[2026-09-17 16:24:41] local.INFO: Extracted packet for processing {"connection_id":188113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af00"} 
[2026-09-17 16:24:41] local.INFO: GPS Element Parsed {"raw_longitude":755779584,"raw_latitude":119446744,"longitude_deg":75.5779584,"latitude_deg":11.9446744,"altitude":47,"angle":111,"satellites":24,"speed":20,"hex_longitude":"2d0c4800","hex_latitude":"071e9cd8","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148464384001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21217456269819904,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875457576893419520,"note":"Value kept but may cause issues"} 
[2026-09-17 16:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789642452000,"timestamp_ms":1789642452000,"timestamp_seconds":1789642452,"priority":1,"record_length":96,"hex_timestamp":"000001a0af00ac20"} 
[2026-09-17 16:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-17 16:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148464384001,"66":13993,"155":206,"83":41984,"24":20,"16":21217456269819904,"45":875457576893419520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 16:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148464384001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:24:41] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 16:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21217456269819904,"km_value":21217456269819.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":875457576893419520,"description":"Unknown IO ID 45"} 
[2026-09-17 16:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148464384001,"power":13993,"unknown_155":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":875457576893419520}} 
[2026-09-17 16:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":188113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:24:41] local.INFO: GPS data processed {"connection_id":188113,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:24:41] local.INFO: Acknowledgment sent {"connection_id":188113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:24:57] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:24:57] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:24:57] local.INFO: IMEI packet received {"connection_id":185331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":185331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:25:00] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:25:00] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:25:00] local.INFO: IMEI packet received {"connection_id":185331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":185331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:25:01] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af00d330012d0de1800705cbf00018005b2a..."} 
[2026-09-17 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af00d330012d0de1800705cbf00018005b2a..."} 
[2026-09-17 16:25:01] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af00d330012d0de1800705cbf00018005b2a..."} 
[2026-09-17 16:25:01] local.INFO: Packet analysis {"connection_id":185331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af00"} 
[2026-09-17 16:25:01] local.INFO: Extracted packet for processing {"connection_id":185331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af00"} 
[2026-09-17 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":755884416,"raw_latitude":117820400,"longitude_deg":75.5884416,"latitude_deg":11.78204,"altitude":24,"angle":91,"satellites":42,"speed":44,"hex_longitude":"2d0de180","hex_latitude":"0705cbf0","is_valid_coordinates":true} 
[2026-09-17 16:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148469248001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32915710233542656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995647391531933696,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789642462000,"timestamp_ms":1789642462000,"timestamp_seconds":1789642462,"priority":1,"record_length":96,"hex_timestamp":"000001a0af00d330"} 
[2026-09-17 16:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 16:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148469248001,"66":14450,"167":206,"94":11008,"24":44,"16":32915710233542656,"45":995647391531933696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-17 16:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148469248001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:25:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-17 16:25:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32915710233542656,"km_value":32915710233542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":995647391531933696,"description":"Unknown IO ID 45"} 
[2026-09-17 16:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148469248001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":44,"odometer":null,"unknown_45":995647391531933696}} 
[2026-09-17 16:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":185331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:25:01] local.INFO: GPS data processed {"connection_id":185331,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:25:01] local.INFO: Acknowledgment sent {"connection_id":185331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:25:06] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":171,"data_hex":"000000000000009f8e02000001a0af005e00012d7b08c005e337a80008015d17..."} 
[2026-09-17 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":171,"packet_hex":"000000000000009f8e02000001a0af005e00012d7b08c005e337a80008015d17..."} 
[2026-09-17 16:25:06] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a0af005e00012d7b08c005e337a80008015d17..."} 
[2026-09-17 16:25:06] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a0af00"} 
[2026-09-17 16:25:06] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a0af00"} 
[2026-09-17 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98777000,"longitude_deg":76.3037888,"latitude_deg":9.8777,"altitude":8,"angle":349,"satellites":23,"speed":10,"hex_longitude":"2d7b08c0","hex_latitude":"05e337a8","is_valid_coordinates":true} 
[2026-09-17 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-09-17 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148462336001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134389402137788416,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366742378496,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789642432000,"timestamp_ms":1789642432000,"timestamp_seconds":1789642432,"priority":1,"record_length":96,"hex_timestamp":"000001a0af005e00"} 
[2026-09-17 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":171,"current_offset":136} 
[2026-09-17 16:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-09-17 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148462336001,"66":13102,"208":206,"85":15104,"24":10,"16":134389402137788416,"45":8865617366742378496},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148462336001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:25:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 16:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134389402137788416,"km_value":134389402137788.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366742378496,"description":"Unknown IO ID 45"} 
[2026-09-17 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148462336001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8865617366742378496}} 
[2026-09-17 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:25:06] local.INFO: GPS data processed {"connection_id":186791,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:25:06] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:25:12] local.INFO: TCP Data received {"connection_id":188113,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af00b7d8012d0c4ec0071e9b50002e006218..."} 
[2026-09-17 16:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af00b7d8012d0c4ec0071e9b50002e006218..."} 
[2026-09-17 16:25:12] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af00b7d8012d0c4ec0071e9b50002e006218..."} 
[2026-09-17 16:25:12] local.INFO: Packet analysis {"connection_id":188113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af00"} 
[2026-09-17 16:25:12] local.INFO: Extracted packet for processing {"connection_id":188113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af00"} 
[2026-09-17 16:25:12] local.INFO: GPS Element Parsed {"raw_longitude":755781312,"raw_latitude":119446352,"longitude_deg":75.5781312,"latitude_deg":11.9446352,"altitude":46,"angle":98,"satellites":24,"speed":25,"hex_longitude":"2d0c4ec0","hex_latitude":"071e9b50","is_valid_coordinates":true} 
[2026-09-17 16:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148467712001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21217542169165824,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884957357356668928,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789642455000,"timestamp_ms":1789642455000,"timestamp_seconds":1789642455,"priority":1,"record_length":96,"hex_timestamp":"000001a0af00b7d8"} 
[2026-09-17 16:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148467712001,"66":14004,"155":206,"83":41984,"24":25,"16":21217542169165824,"45":884957357356668928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 16:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148467712001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:25:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 16:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21217542169165824,"km_value":21217542169165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":884957357356668928,"description":"Unknown IO ID 45"} 
[2026-09-17 16:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148467712001,"power":14004,"unknown_155":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":884957357356668928}} 
[2026-09-17 16:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":188113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:25:12] local.INFO: GPS data processed {"connection_id":188113,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:25:12] local.INFO: Acknowledgment sent {"connection_id":188113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:25:15] local.INFO: TCP Data received {"connection_id":185490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:25:15] local.INFO: Processing buffer {"connection_id":185490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:25:15] local.INFO: IMEI packet received {"connection_id":185490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":185490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:25:20] local.INFO: TCP Data received {"connection_id":185490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:25:20] local.INFO: Processing buffer {"connection_id":185490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:25:20] local.INFO: IMEI packet received {"connection_id":185490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":185490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:25:21] local.INFO: TCP Data received {"connection_id":185490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:25:21] local.INFO: Processing buffer {"connection_id":185490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:25:21] local.INFO: Packet analysis {"connection_id":185490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:25:21] local.INFO: Extracted packet for processing {"connection_id":185490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:25: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-09-17 16:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:25: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-09-17 16:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":185490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:25:21] local.INFO: GPS data processed {"connection_id":185490,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:25:21] local.INFO: Acknowledgment sent {"connection_id":185490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:25:32] local.INFO: TCP Data received {"connection_id":185331,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af01bd90012d0e67800705e8e00018000525..."} 
[2026-09-17 16:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af01bd90012d0e67800705e8e00018000525..."} 
[2026-09-17 16:25:32] local.INFO: Processing buffer {"connection_id":185331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af01bd90012d0e67800705e8e00018000525..."} 
[2026-09-17 16:25:32] local.INFO: Packet analysis {"connection_id":185331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:25:32] local.INFO: Extracted packet for processing {"connection_id":185331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:25:32] local.INFO: GPS Element Parsed {"raw_longitude":755918720,"raw_latitude":117827808,"longitude_deg":75.591872,"latitude_deg":11.7827808,"altitude":24,"angle":5,"satellites":37,"speed":13,"hex_longitude":"2d0e6780","hex_latitude":"0705e8e0","is_valid_coordinates":true} 
[2026-09-17 16:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148484864001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32917578544316416,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037516794319142912,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789642522000,"timestamp_ms":1789642522000,"timestamp_seconds":1789642522,"priority":1,"record_length":96,"hex_timestamp":"000001a0af01bd90"} 
[2026-09-17 16:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 16:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148484864001,"66":14515,"165":206,"94":11008,"24":13,"16":32917578544316416,"45":1037516794319142912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148484864001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:25:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:25:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32917578544316416,"km_value":32917578544316.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037516794319142912,"description":"Unknown IO ID 45"} 
[2026-09-17 16:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148484864001,"power":14515,"unknown_165":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":1037516794319142912}} 
[2026-09-17 16:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":185331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856547,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:25:32] local.INFO: GPS data processed {"connection_id":185331,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:25:32] local.INFO: Acknowledgment sent {"connection_id":185331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:25:35] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:25:35] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:25:35] local.INFO: IMEI packet received {"connection_id":186793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":186793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:25:37] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":249,"data_hex":"00000000000000ed8e03000001a0af008510012d7b044005e35218000801511a..."} 
[2026-09-17 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a0af008510012d7b044005e35218000801511a..."} 
[2026-09-17 16:25:37] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a0af008510012d7b044005e35218000801511a..."} 
[2026-09-17 16:25:37] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a0af00"} 
[2026-09-17 16:25:37] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a0af00"} 
[2026-09-17 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98783768,"longitude_deg":76.3036736,"latitude_deg":9.8783768,"altitude":8,"angle":337,"satellites":26,"speed":38,"hex_longitude":"2d7b0440","hex_latitude":"05e35218","is_valid_coordinates":true} 
[2026-09-17 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-09-17 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148462592001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134389741440204800,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997998266368,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789642442000,"timestamp_ms":1789642442000,"timestamp_seconds":1789642442,"priority":1,"record_length":96,"hex_timestamp":"000001a0af008510"} 
[2026-09-17 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":249,"current_offset":136} 
[2026-09-17 16:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-09-17 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148462592001,"66":13059,"208":206,"85":15104,"24":38,"16":134389741440204800,"45":8865546997998266368},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148462592001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:25:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 16:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134389741440204800,"km_value":134389741440204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997998266368,"description":"Unknown IO ID 45"} 
[2026-09-17 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148462592001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8865546997998266368}} 
[2026-09-17 16:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:25:38] local.INFO: GPS data processed {"connection_id":186791,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:25:38] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:25:40] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:25:40] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:25:40] local.INFO: IMEI packet received {"connection_id":186793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":186793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:25:41] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af01adf0012d0cca80071ead180023006f18..."} 
[2026-09-17 16:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af01adf0012d0cca80071ead180023006f18..."} 
[2026-09-17 16:25:41] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af01adf0012d0cca80071ead180023006f18..."} 
[2026-09-17 16:25:41] local.INFO: Packet analysis {"connection_id":186793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:25:41] local.INFO: Extracted packet for processing {"connection_id":186793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":755812992,"raw_latitude":119450904,"longitude_deg":75.5812992,"latitude_deg":11.9450904,"altitude":35,"angle":111,"satellites":24,"speed":12,"hex_longitude":"2d0cca80","hex_latitude":"071ead18","is_valid_coordinates":true} 
[2026-09-17 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148484096001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21219096947326976,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921197260609257472,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789642518000,"timestamp_ms":1789642518000,"timestamp_seconds":1789642518,"priority":1,"record_length":96,"hex_timestamp":"000001a0af01adf0"} 
[2026-09-17 16:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 16:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148484096001,"66":14363,"155":206,"83":41984,"24":12,"16":21219096947326976,"45":921197260609257472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 16:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148484096001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:25:41] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 16:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21219096947326976,"km_value":21219096947326.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":921197260609257472,"description":"Unknown IO ID 45"} 
[2026-09-17 16:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148484096001,"power":14363,"unknown_155":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":921197260609257472}} 
[2026-09-17 16:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":186793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:25:41] local.INFO: GPS data processed {"connection_id":186793,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:25:41] local.INFO: Acknowledgment sent {"connection_id":186793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:25:52] local.INFO: TCP Data received {"connection_id":185490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:25:52] local.INFO: Processing buffer {"connection_id":185490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:25:52] local.INFO: Packet analysis {"connection_id":185490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:25:52] local.INFO: Extracted packet for processing {"connection_id":185490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:25:52] 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-09-17 16:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":185490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:25:52] local.INFO: GPS data processed {"connection_id":185490,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:25:52] local.INFO: Acknowledgment sent {"connection_id":185490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:25:57] local.INFO: TCP Data received {"connection_id":186794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:25:57] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:25:57] local.INFO: IMEI packet received {"connection_id":186794,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":186794,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:25:57] local.INFO: TCP Data received {"connection_id":186794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:25:57] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:25:57] local.INFO: IMEI packet received {"connection_id":186794,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":186794,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:26:01] local.INFO: TCP Data received {"connection_id":186794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:01] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:01] local.INFO: IMEI packet received {"connection_id":186794,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":186794,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:26:02] local.INFO: TCP Data received {"connection_id":186794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af01c948012d0e67400705ee100019015f26..."} 
[2026-09-17 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af01c948012d0e67400705ee100019015f26..."} 
[2026-09-17 16:26:02] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af01c948012d0e67400705ee100019015f26..."} 
[2026-09-17 16:26:02] local.INFO: Packet analysis {"connection_id":186794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:26:02] local.INFO: Extracted packet for processing {"connection_id":186794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:26:02] local.INFO: GPS Element Parsed {"raw_longitude":755918656,"raw_latitude":117829136,"longitude_deg":75.5918656,"latitude_deg":11.7829136,"altitude":25,"angle":351,"satellites":38,"speed":18,"hex_longitude":"2d0e6740","hex_latitude":"0705ee10","is_valid_coordinates":true} 
[2026-09-17 16:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148485632001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32917642968825856,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037939006784462848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789642525000,"timestamp_ms":1789642525000,"timestamp_seconds":1789642525,"priority":1,"record_length":96,"hex_timestamp":"000001a0af01c948"} 
[2026-09-17 16:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 16:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148485632001,"66":14428,"165":206,"94":11008,"24":18,"16":32917642968825856,"45":1037939006784462848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148485632001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:26:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:26:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32917642968825856,"km_value":32917642968825.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037939006784462848,"description":"Unknown IO ID 45"} 
[2026-09-17 16:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148485632001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":1037939006784462848}} 
[2026-09-17 16:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":186794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856551,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:26:02] local.INFO: GPS data processed {"connection_id":186794,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:26:02] local.INFO: Acknowledgment sent {"connection_id":186794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:26:10] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af021768012d7aca8005e410a0000e011727..."} 
[2026-09-17 16:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af021768012d7aca8005e410a0000e011727..."} 
[2026-09-17 16:26:10] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af021768012d7aca8005e410a0000e011727..."} 
[2026-09-17 16:26:10] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:26:10] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763021952,"raw_latitude":98832544,"longitude_deg":76.3021952,"latitude_deg":9.8832544,"altitude":14,"angle":279,"satellites":39,"speed":14,"hex_longitude":"2d7aca80","hex_latitude":"05e410a0","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148491264001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134392232521236480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848447393177284608,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789642545000,"timestamp_ms":1789642545000,"timestamp_seconds":1789642545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af021768"} 
[2026-09-17 16:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 16:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148491264001,"66":13015,"208":206,"85":15104,"24":14,"16":134392232521236480,"45":8848447393177284608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 16:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148491264001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:26:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 16:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 16:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134392232521236480,"km_value":134392232521236.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848447393177284608,"description":"Unknown IO ID 45"} 
[2026-09-17 16:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148491264001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8848447393177284608}} 
[2026-09-17 16:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:26:10] local.INFO: GPS data processed {"connection_id":186791,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:26:10] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:26:12] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af01dcd0012d0cdd80071ea5000024008118..."} 
[2026-09-17 16:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af01dcd0012d0cdd80071ea5000024008118..."} 
[2026-09-17 16:26:12] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af01dcd0012d0cdd80071ea5000024008118..."} 
[2026-09-17 16:26:12] local.INFO: Packet analysis {"connection_id":186793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:26:12] local.INFO: Extracted packet for processing {"connection_id":186793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:26:12] local.INFO: GPS Element Parsed {"raw_longitude":755817856,"raw_latitude":119448832,"longitude_deg":75.5817856,"latitude_deg":11.9448832,"altitude":36,"angle":129,"satellites":24,"speed":6,"hex_longitude":"2d0cdd80","hex_latitude":"071ea500","is_valid_coordinates":true} 
[2026-09-17 16:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148484608001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21219350350397440,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921689841818474496,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789642530000,"timestamp_ms":1789642530000,"timestamp_seconds":1789642530,"priority":1,"record_length":96,"hex_timestamp":"000001a0af01dcd0"} 
[2026-09-17 16:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-17 16:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148484608001,"66":14494,"155":206,"83":41984,"24":6,"16":21219350350397440,"45":921689841818474496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 16:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148484608001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:26:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 16:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21219350350397440,"km_value":21219350350397.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":921689841818474496,"description":"Unknown IO ID 45"} 
[2026-09-17 16:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148484608001,"power":14494,"unknown_155":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":921689841818474496}} 
[2026-09-17 16:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":186793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:26:12] local.INFO: GPS data processed {"connection_id":186793,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:26:12] local.INFO: Acknowledgment sent {"connection_id":186793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:26:15] local.INFO: TCP Data received {"connection_id":188114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:26:15] local.INFO: Processing buffer {"connection_id":188114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:26:15] local.INFO: IMEI packet received {"connection_id":188114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":188114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:26:20] local.INFO: TCP Data received {"connection_id":188114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:26:20] local.INFO: Processing buffer {"connection_id":188114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:26:20] local.INFO: IMEI packet received {"connection_id":188114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":188114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:26:21] local.INFO: TCP Data received {"connection_id":188114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:26:21] local.INFO: Processing buffer {"connection_id":188114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:26:21] local.INFO: Packet analysis {"connection_id":188114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:26:21] local.INFO: Extracted packet for processing {"connection_id":188114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:26: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-09-17 16:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:26: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-09-17 16:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":188114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:26:21] local.INFO: GPS data processed {"connection_id":188114,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:26:21] local.INFO: Acknowledgment sent {"connection_id":188114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:26:33] local.INFO: TCP Data received {"connection_id":186794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af029468012d0e65c007063b280022012f27..."} 
[2026-09-17 16:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af029468012d0e65c007063b280022012f27..."} 
[2026-09-17 16:26:33] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af029468012d0e65c007063b280022012f27..."} 
[2026-09-17 16:26:33] local.INFO: Packet analysis {"connection_id":186794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:26:33] local.INFO: Extracted packet for processing {"connection_id":186794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":755918272,"raw_latitude":117848872,"longitude_deg":75.5918272,"latitude_deg":11.7848872,"altitude":34,"angle":303,"satellites":39,"speed":12,"hex_longitude":"2d0e65c0","hex_latitude":"07063b28","is_valid_coordinates":true} 
[2026-09-17 16:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148499456001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32918729595551744,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037727900557273088,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789642577000,"timestamp_ms":1789642577000,"timestamp_seconds":1789642577,"priority":1,"record_length":96,"hex_timestamp":"000001a0af029468"} 
[2026-09-17 16:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 16:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148499456001,"66":14428,"165":206,"94":11008,"24":12,"16":32918729595551744,"45":1037727900557273088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148499456001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:26:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:26:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32918729595551744,"km_value":32918729595551.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037727900557273088,"description":"Unknown IO ID 45"} 
[2026-09-17 16:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148499456001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":1037727900557273088}} 
[2026-09-17 16:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":186794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856555,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:26:34] local.INFO: GPS data processed {"connection_id":186794,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:26:34] local.INFO: Acknowledgment sent {"connection_id":186794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:26:40] local.INFO: TCP Data received {"connection_id":188115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:26:40] local.INFO: Processing buffer {"connection_id":188115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:26:40] local.INFO: IMEI packet received {"connection_id":188115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":188115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:26:40] local.INFO: TCP Data received {"connection_id":188115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:26:40] local.INFO: Processing buffer {"connection_id":188115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:26:40] local.INFO: IMEI packet received {"connection_id":188115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":188115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:26:42] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af021b50012d7ac90005e41088000e010627..."} 
[2026-09-17 16:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af021b50012d7ac90005e41088000e010627..."} 
[2026-09-17 16:26:42] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af021b50012d7ac90005e41088000e010627..."} 
[2026-09-17 16:26:42] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:26:42] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763021568,"raw_latitude":98832520,"longitude_deg":76.3021568,"latitude_deg":9.883252,"altitude":14,"angle":262,"satellites":39,"speed":16,"hex_longitude":"2d7ac900","hex_latitude":"05e41088","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148491520001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134392249701105664,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848025180712247296,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789642546000,"timestamp_ms":1789642546000,"timestamp_seconds":1789642546,"priority":1,"record_length":96,"hex_timestamp":"000001a0af021b50"} 
[2026-09-17 16:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 16:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148491520001,"66":13048,"208":206,"85":15104,"24":16,"16":134392249701105664,"45":8848025180712247296},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 16:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148491520001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:26:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 16:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 16:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134392249701105664,"km_value":134392249701105.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848025180712247296,"description":"Unknown IO ID 45"} 
[2026-09-17 16:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148491520001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8848025180712247296}} 
[2026-09-17 16:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:26:42] local.INFO: GPS data processed {"connection_id":186791,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:26:42] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:26:45] local.INFO: TCP Data received {"connection_id":188115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:26:45] local.INFO: Processing buffer {"connection_id":188115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:26:45] local.INFO: IMEI packet received {"connection_id":188115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":188115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:26:46] local.INFO: TCP Data received {"connection_id":188115,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af01e888012d0ce000071ea3800023007618..."} 
[2026-09-17 16:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af01e888012d0ce000071ea3800023007618..."} 
[2026-09-17 16:26:46] local.INFO: Processing buffer {"connection_id":188115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af01e888012d0ce000071ea3800023007618..."} 
[2026-09-17 16:26:46] local.INFO: Packet analysis {"connection_id":188115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:26:46] local.INFO: Extracted packet for processing {"connection_id":188115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af01"} 
[2026-09-17 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":755818496,"raw_latitude":119448448,"longitude_deg":75.5818496,"latitude_deg":11.9448448,"altitude":35,"angle":118,"satellites":24,"speed":10,"hex_longitude":"2d0ce000","hex_latitude":"071ea380","is_valid_coordinates":true} 
[2026-09-17 16:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148487680001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21219384710135808,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927037866375446528,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789642533000,"timestamp_ms":1789642533000,"timestamp_seconds":1789642533,"priority":1,"record_length":96,"hex_timestamp":"000001a0af01e888"} 
[2026-09-17 16:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-17 16:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148487680001,"66":9069,"155":206,"83":41984,"24":10,"16":21219384710135808,"45":927037866375446528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 16:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148487680001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:26:46] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 16:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21219384710135808,"km_value":21219384710135.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":927037866375446528,"description":"Unknown IO ID 45"} 
[2026-09-17 16:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148487680001,"power":9069,"unknown_155":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":927037866375446528}} 
[2026-09-17 16:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":188115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:26:46] local.INFO: GPS data processed {"connection_id":188115,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:26:46] local.INFO: Acknowledgment sent {"connection_id":188115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:26:51] local.INFO: TCP Data received {"connection_id":188115,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0232c0012d0d00c0071e9220001f007519..."} 
[2026-09-17 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0232c0012d0d00c0071e9220001f007519..."} 
[2026-09-17 16:26:51] local.INFO: Processing buffer {"connection_id":188115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0232c0012d0d00c0071e9220001f007519..."} 
[2026-09-17 16:26:51] local.INFO: Packet analysis {"connection_id":188115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:26:51] local.INFO: Extracted packet for processing {"connection_id":188115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":755826880,"raw_latitude":119444000,"longitude_deg":75.582688,"latitude_deg":11.9444,"altitude":31,"angle":117,"satellites":25,"speed":28,"hex_longitude":"2d0d00c0","hex_latitude":"071e9220","is_valid_coordinates":true} 
[2026-09-17 16:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148488448001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21219835681701888,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927741553817124864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789642552000,"timestamp_ms":1789642552000,"timestamp_seconds":1789642552,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0232c0"} 
[2026-09-17 16:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":35,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-17 16:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1354,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148488448001,"66":14048,"155":206,"83":41984,"24":28,"16":21219835681701888,"45":927741553817124864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 16:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148488448001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:26:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 16:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21219835681701888,"km_value":21219835681701.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":927741553817124864,"description":"Unknown IO ID 45"} 
[2026-09-17 16:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148488448001,"power":14048,"unknown_155":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":927741553817124864}} 
[2026-09-17 16:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":188115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:26:51] local.INFO: GPS data processed {"connection_id":188115,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:26:51] local.INFO: Acknowledgment sent {"connection_id":188115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:26:53] local.INFO: TCP Data received {"connection_id":188114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:26:53] local.INFO: Processing buffer {"connection_id":188114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:26:53] local.INFO: Packet analysis {"connection_id":188114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:26:53] local.INFO: Extracted packet for processing {"connection_id":188114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:26:53] 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-09-17 16:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":188114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:26:53] local.INFO: GPS data processed {"connection_id":188114,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:26:53] local.INFO: Acknowledgment sent {"connection_id":188114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:26:57] local.INFO: TCP Data received {"connection_id":185491,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:57] local.INFO: Processing buffer {"connection_id":185491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:57] local.INFO: IMEI packet received {"connection_id":185491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":185491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:26:57] local.INFO: TCP Data received {"connection_id":185491,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:57] local.INFO: Processing buffer {"connection_id":185491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:57] local.INFO: IMEI packet received {"connection_id":185491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":185491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:26:59] local.INFO: TCP Data received {"connection_id":185491,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:59] local.INFO: Processing buffer {"connection_id":185491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:26:59] local.INFO: IMEI packet received {"connection_id":185491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":185491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:27:01] local.INFO: TCP Data received {"connection_id":185491,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:27:01] local.INFO: Processing buffer {"connection_id":185491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:27:01] local.INFO: IMEI packet received {"connection_id":185491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":185491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:27:02] local.INFO: TCP Data received {"connection_id":185491,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af02a020012d0e610007063d38002201202a..."} 
[2026-09-17 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af02a020012d0e610007063d38002201202a..."} 
[2026-09-17 16:27:02] local.INFO: Processing buffer {"connection_id":185491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af02a020012d0e610007063d38002201202a..."} 
[2026-09-17 16:27:02] local.INFO: Packet analysis {"connection_id":185491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:27:02] local.INFO: Extracted packet for processing {"connection_id":185491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:27:02] local.INFO: GPS Element Parsed {"raw_longitude":755917056,"raw_latitude":117849400,"longitude_deg":75.5917056,"latitude_deg":11.78494,"altitude":34,"angle":288,"satellites":42,"speed":20,"hex_longitude":"2d0e6100","hex_latitude":"07063d38","is_valid_coordinates":true} 
[2026-09-17 16:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148499712001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32918794020061184,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037446425580611584,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789642580000,"timestamp_ms":1789642580000,"timestamp_seconds":1789642580,"priority":1,"record_length":96,"hex_timestamp":"000001a0af02a020"} 
[2026-09-17 16:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148499712001,"66":14515,"165":206,"94":11008,"24":20,"16":32918794020061184,"45":1037446425580611584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148499712001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:27:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:27:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32918794020061184,"km_value":32918794020061.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037446425580611584,"description":"Unknown IO ID 45"} 
[2026-09-17 16:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148499712001,"power":14515,"unknown_165":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":1037446425580611584}} 
[2026-09-17 16:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":185491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856560,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:27:02] local.INFO: GPS data processed {"connection_id":185491,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:27:02] local.INFO: Acknowledgment sent {"connection_id":185491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:27:04] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:04] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:04] local.INFO: IMEI packet received {"connection_id":186796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":186796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:27:06] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:06] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:06] local.INFO: IMEI packet received {"connection_id":186796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":186796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:27:08] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:08] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:08] local.INFO: IMEI packet received {"connection_id":186796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":186796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:27:08] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:08] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:27:08] local.INFO: IMEI packet received {"connection_id":186796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":186796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:27:15] local.INFO: TCP Data received {"connection_id":185333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:27:15] local.INFO: Processing buffer {"connection_id":185333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:27:15] local.INFO: IMEI packet received {"connection_id":185333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":185333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:27:20] local.INFO: TCP Data received {"connection_id":185333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:27:20] local.INFO: Processing buffer {"connection_id":185333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:27:20] local.INFO: IMEI packet received {"connection_id":185333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":185333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:27:21] local.INFO: TCP Data received {"connection_id":185333,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:27:21] local.INFO: Processing buffer {"connection_id":185333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aefe94f8012d34c30006aa4608000a00b528..."} 
[2026-09-17 16:27:21] local.INFO: Packet analysis {"connection_id":185333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:27:21] local.INFO: Extracted packet for processing {"connection_id":185333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aefe"} 
[2026-09-17 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148355584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642315000,"timestamp_ms":1789642315000,"timestamp_seconds":1789642315,"priority":1,"record_length":96,"hex_timestamp":"000001a0aefe94f8"} 
[2026-09-17 16:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:27: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-09-17 16:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 16:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:27: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-09-17 16:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148355584001,"66":25919,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148355584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148355584001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":185333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:27:21] local.INFO: GPS data processed {"connection_id":185333,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:27:21] local.INFO: Acknowledgment sent {"connection_id":185333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:27:31] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:31] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:31] local.INFO: IMEI packet received {"connection_id":188116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":188116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:27:33] local.INFO: TCP Data received {"connection_id":185491,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af02abd8012d0e5a4007063e60002301102a..."} 
[2026-09-17 16:27:33] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af02abd8012d0e5a4007063e60002301102a..."} 
[2026-09-17 16:27:33] local.INFO: Processing buffer {"connection_id":185491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af02abd8012d0e5a4007063e60002301102a..."} 
[2026-09-17 16:27:33] local.INFO: Packet analysis {"connection_id":185491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:27:33] local.INFO: Extracted packet for processing {"connection_id":185491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":755915328,"raw_latitude":117849696,"longitude_deg":75.5915328,"latitude_deg":11.7849696,"altitude":35,"angle":272,"satellites":42,"speed":19,"hex_longitude":"2d0e5a40","hex_latitude":"07063e60","is_valid_coordinates":true} 
[2026-09-17 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148500480001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32918879919407104,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036109419441371136,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:33] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789642583000,"timestamp_ms":1789642583000,"timestamp_seconds":1789642583,"priority":1,"record_length":96,"hex_timestamp":"000001a0af02abd8"} 
[2026-09-17 16:27:33] local.INFO: IMEI packet received {"connection_id":188116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":188116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 16:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148500480001,"66":14341,"165":206,"94":11008,"24":19,"16":32918879919407104,"45":1036109419441371136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148500480001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:27:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:27:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32918879919407104,"km_value":32918879919407.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036109419441371136,"description":"Unknown IO ID 45"} 
[2026-09-17 16:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148500480001,"power":14341,"unknown_165":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":1036109419441371136}} 
[2026-09-17 16:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":185491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856562,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:27:34] local.INFO: GPS data processed {"connection_id":185491,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:27:34] local.INFO: Acknowledgment sent {"connection_id":185491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:27:36] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:36] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:36] local.INFO: IMEI packet received {"connection_id":188116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":188116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:27:40] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:40] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:27:40] local.INFO: IMEI packet received {"connection_id":188116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":188116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:27:40] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af023e78012d0d0840071e8f78001d006619..."} 
[2026-09-17 16:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af023e78012d0d0840071e8f78001d006619..."} 
[2026-09-17 16:27:40] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af023e78012d0d0840071e8f78001d006619..."} 
[2026-09-17 16:27:40] local.INFO: Packet analysis {"connection_id":188116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:27:40] local.INFO: Extracted packet for processing {"connection_id":188116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:27:40] local.INFO: GPS Element Parsed {"raw_longitude":755828800,"raw_latitude":119443320,"longitude_deg":75.58288,"latitude_deg":11.944332,"altitude":29,"angle":102,"satellites":25,"speed":26,"hex_longitude":"2d0d0840","hex_latitude":"071e8f78","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148493312001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21219934465949696,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":936959859303260160,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789642555000,"timestamp_ms":1789642555000,"timestamp_seconds":1789642555,"priority":1,"record_length":96,"hex_timestamp":"000001a0af023e78"} 
[2026-09-17 16:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 16:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148493312001,"66":14363,"155":206,"83":41984,"24":26,"16":21219934465949696,"45":936959859303260160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 16:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148493312001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:27:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 16:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21219934465949696,"km_value":21219934465949.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":936959859303260160,"description":"Unknown IO ID 45"} 
[2026-09-17 16:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148493312001,"power":14363,"unknown_155":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":936959859303260160}} 
[2026-09-17 16:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":188116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:27:40] local.INFO: GPS data processed {"connection_id":188116,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:27:40] local.INFO: Acknowledgment sent {"connection_id":188116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:27:41] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af026d58012d0d2200071e88e0001d007119..."} 
[2026-09-17 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af026d58012d0d2200071e88e0001d007119..."} 
[2026-09-17 16:27:41] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af026d58012d0d2200071e88e0001d007119..."} 
[2026-09-17 16:27:41] local.INFO: Packet analysis {"connection_id":188116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:27:41] local.INFO: Extracted packet for processing {"connection_id":188116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af02"} 
[2026-09-17 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":755835392,"raw_latitude":119441632,"longitude_deg":75.5835392,"latitude_deg":11.9441632,"altitude":29,"angle":113,"satellites":25,"speed":18,"hex_longitude":"2d0d2200","hex_latitude":"071e88e0","is_valid_coordinates":true} 
[2026-09-17 16:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148494080001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21220260883464192,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":939070921628416000,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789642567000,"timestamp_ms":1789642567000,"timestamp_seconds":1789642567,"priority":1,"record_length":96,"hex_timestamp":"000001a0af026d58"} 
[2026-09-17 16:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-17 16:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148494080001,"66":14428,"155":206,"83":41984,"24":18,"16":21220260883464192,"45":939070921628416000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-17 16:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148494080001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:27:41] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-17 16:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21220260883464192,"km_value":21220260883464.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":939070921628416000,"description":"Unknown IO ID 45"} 
[2026-09-17 16:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148494080001,"power":14428,"unknown_155":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":939070921628416000}} 
[2026-09-17 16:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":188116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:27:41] local.INFO: GPS data processed {"connection_id":188116,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:27:41] local.INFO: Acknowledgment sent {"connection_id":188116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:27:52] local.INFO: TCP Data received {"connection_id":185333,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:27:52] local.INFO: Processing buffer {"connection_id":185333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:27:52] local.INFO: Packet analysis {"connection_id":185333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:27:52] local.INFO: Extracted packet for processing {"connection_id":185333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:27:52] 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-09-17 16:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":185333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:27:52] local.INFO: GPS data processed {"connection_id":185333,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:27:52] local.INFO: Acknowledgment sent {"connection_id":185333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:28:02] local.INFO: TCP Data received {"connection_id":186798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:02] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:02] local.INFO: IMEI packet received {"connection_id":186798,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":186798,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:28:07] local.INFO: TCP Data received {"connection_id":186798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:07] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:07] local.INFO: IMEI packet received {"connection_id":186798,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":186798,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:28:07] local.INFO: TCP Data received {"connection_id":186798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af03b960012d0e2d4007066b80001f014a26..."} 
[2026-09-17 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af03b960012d0e2d4007066b80001f014a26..."} 
[2026-09-17 16:28:07] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af03b960012d0e2d4007066b80001f014a26..."} 
[2026-09-17 16:28:07] local.INFO: Packet analysis {"connection_id":186798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:07] local.INFO: Extracted packet for processing {"connection_id":186798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":755903808,"raw_latitude":117861248,"longitude_deg":75.5903808,"latitude_deg":11.7861248,"altitude":31,"angle":330,"satellites":38,"speed":12,"hex_longitude":"2d0e2d40","hex_latitude":"07066b80","is_valid_coordinates":true} 
[2026-09-17 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148517376001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32919889236721664,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022668989306253312,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789642652000,"timestamp_ms":1789642652000,"timestamp_seconds":1789642652,"priority":1,"record_length":96,"hex_timestamp":"000001a0af03b960"} 
[2026-09-17 16:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 16:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186798,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186798,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148517376001,"66":14559,"165":206,"94":11008,"24":12,"16":32919889236721664,"45":1022668989306253312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148517376001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:28:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:28:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32919889236721664,"km_value":32919889236721.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022668989306253312,"description":"Unknown IO ID 45"} 
[2026-09-17 16:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148517376001,"power":14559,"unknown_165":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":1022668989306253312}} 
[2026-09-17 16:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":186798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856566,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:28:08] local.INFO: GPS data processed {"connection_id":186798,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:28:08] local.INFO: Acknowledgment sent {"connection_id":186798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:28:12] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af03dc88012d0daa80071e38a0002b008119..."} 
[2026-09-17 16:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af03dc88012d0daa80071e38a0002b008119..."} 
[2026-09-17 16:28:12] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af03dc88012d0daa80071e38a0002b008119..."} 
[2026-09-17 16:28:12] local.INFO: Packet analysis {"connection_id":188116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:12] local.INFO: Extracted packet for processing {"connection_id":188116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:12] local.INFO: GPS Element Parsed {"raw_longitude":755870336,"raw_latitude":119421088,"longitude_deg":75.5870336,"latitude_deg":11.9421088,"altitude":43,"angle":129,"satellites":25,"speed":18,"hex_longitude":"2d0daa80","hex_latitude":"071e38a0","is_valid_coordinates":true} 
[2026-09-17 16:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148520448001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21222258043256832,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983684705431633920,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789642661000,"timestamp_ms":1789642661000,"timestamp_seconds":1789642661,"priority":1,"record_length":96,"hex_timestamp":"000001a0af03dc88"} 
[2026-09-17 16:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-17 16:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148520448001,"66":14026,"11":206,"83":41984,"24":18,"16":21222258043256832,"45":983684705431633920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 16:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148520448001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:28:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 16:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21222258043256832,"km_value":21222258043256.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":983684705431633920,"description":"Unknown IO ID 45"} 
[2026-09-17 16:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148520448001,"power":14026,"unknown_11":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":983684705431633920}} 
[2026-09-17 16:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":188116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:28:12] local.INFO: GPS data processed {"connection_id":188116,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:28:12] local.INFO: Acknowledgment sent {"connection_id":188116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:28:20] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:28:20] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:28:20] local.INFO: IMEI packet received {"connection_id":186797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":186797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:28:20] local.INFO: TCP Data received {"connection_id":185492,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:28:20] local.INFO: Processing buffer {"connection_id":185492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:28:20] local.INFO: IMEI packet received {"connection_id":185492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":185492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:28:25] local.INFO: TCP Data received {"connection_id":185492,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:28:25] local.INFO: Processing buffer {"connection_id":185492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:28:25] local.INFO: IMEI packet received {"connection_id":185492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":185492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:28:26] local.INFO: TCP Data received {"connection_id":185492,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:28:26] local.INFO: Processing buffer {"connection_id":185492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:28:26] local.INFO: Packet analysis {"connection_id":185492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:26] local.INFO: Extracted packet for processing {"connection_id":185492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:28:26] 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-09-17 16:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:28:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":185492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:28:26] local.INFO: GPS data processed {"connection_id":185492,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:28:26] local.INFO: Acknowledgment sent {"connection_id":185492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:28:30] local.INFO: TCP Data received {"connection_id":185492,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:28:30] local.INFO: Processing buffer {"connection_id":185492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:28:30] local.INFO: Packet analysis {"connection_id":185492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:30] local.INFO: Extracted packet for processing {"connection_id":185492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:28:30] 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-09-17 16:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:28:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":185492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:28:30] local.INFO: GPS data processed {"connection_id":185492,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:28:30] local.INFO: Acknowledgment sent {"connection_id":185492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:28:32] local.INFO: TCP Data received {"connection_id":185334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:28:32] local.INFO: Processing buffer {"connection_id":185334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:28:32] local.INFO: IMEI packet received {"connection_id":185334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":185334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:28:35] local.INFO: TCP Data received {"connection_id":185334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:28:35] local.INFO: Processing buffer {"connection_id":185334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:28:35] local.INFO: IMEI packet received {"connection_id":185334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":185334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:28:39] local.INFO: TCP Data received {"connection_id":186798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af03bd48012d0e2c8007066ca0001f015a26..."} 
[2026-09-17 16:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af03bd48012d0e2c8007066ca0001f015a26..."} 
[2026-09-17 16:28:39] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af03bd48012d0e2c8007066ca0001f015a26..."} 
[2026-09-17 16:28:39] local.INFO: Packet analysis {"connection_id":186798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:39] local.INFO: Extracted packet for processing {"connection_id":186798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:28:39] local.INFO: GPS Element Parsed {"raw_longitude":755903616,"raw_latitude":117861536,"longitude_deg":75.5903616,"latitude_deg":11.7861536,"altitude":31,"angle":346,"satellites":38,"speed":11,"hex_longitude":"2d0e2c80","hex_latitude":"07066ca0","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148518912001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32919906416590848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021543089399627776,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789642653000,"timestamp_ms":1789642653000,"timestamp_seconds":1789642653,"priority":1,"record_length":96,"hex_timestamp":"000001a0af03bd48"} 
[2026-09-17 16:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 16:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186798,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186798,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148518912001,"66":14559,"165":206,"94":11008,"24":11,"16":32919906416590848,"45":1021543089399627776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148518912001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:28:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:28:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32919906416590848,"km_value":32919906416590.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021543089399627776,"description":"Unknown IO ID 45"} 
[2026-09-17 16:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148518912001,"power":14559,"unknown_165":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":1021543089399627776}} 
[2026-09-17 16:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":186798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:28:39] local.INFO: GPS data processed {"connection_id":186798,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:28:39] local.INFO: Acknowledgment sent {"connection_id":186798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:28:39] local.INFO: TCP Data received {"connection_id":185334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:28:39] local.INFO: Processing buffer {"connection_id":185334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:28:39] local.INFO: IMEI packet received {"connection_id":185334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":185334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:28:40] local.INFO: TCP Data received {"connection_id":185334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0422d8012d0dc780071e23c80020008419..."} 
[2026-09-17 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0422d8012d0dc780071e23c80020008419..."} 
[2026-09-17 16:28:40] local.INFO: Processing buffer {"connection_id":185334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0422d8012d0dc780071e23c80020008419..."} 
[2026-09-17 16:28:40] local.INFO: Packet analysis {"connection_id":185334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af04"} 
[2026-09-17 16:28:40] local.INFO: Extracted packet for processing {"connection_id":185334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af04"} 
[2026-09-17 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":755877760,"raw_latitude":119415752,"longitude_deg":75.587776,"latitude_deg":11.9415752,"altitude":32,"angle":132,"satellites":25,"speed":18,"hex_longitude":"2d0dc780","hex_latitude":"071e23c8","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148521216001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21222696129921024,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984740236594028544,"note":"Value kept but may cause issues"} 
[2026-09-17 16:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789642679000,"timestamp_ms":1789642679000,"timestamp_seconds":1789642679,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0422d8"} 
[2026-09-17 16:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-17 16:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148521216001,"66":14048,"11":206,"83":41984,"24":18,"16":21222696129921024,"45":984740236594028544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 16:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148521216001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:28:40] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 16:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21222696129921024,"km_value":21222696129921.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":984740236594028544,"description":"Unknown IO ID 45"} 
[2026-09-17 16:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148521216001,"power":14048,"unknown_11":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":984740236594028544}} 
[2026-09-17 16:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":185334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:28:40] local.INFO: GPS data processed {"connection_id":185334,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:28:40] local.INFO: Acknowledgment sent {"connection_id":185334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:28:49] local.INFO: TCP Data received {"connection_id":185335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:28:49] local.INFO: Processing buffer {"connection_id":185335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:28:49] local.INFO: IMEI packet received {"connection_id":185335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":185335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:28:57] local.INFO: TCP Data received {"connection_id":188117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:57] local.INFO: Processing buffer {"connection_id":188117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:57] local.INFO: IMEI packet received {"connection_id":188117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":188117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:28:58] local.INFO: TCP Data received {"connection_id":188117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:58] local.INFO: Processing buffer {"connection_id":188117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:28:58] local.INFO: IMEI packet received {"connection_id":188117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":188117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:29:02] local.INFO: TCP Data received {"connection_id":188117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:02] local.INFO: Processing buffer {"connection_id":188117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:02] local.INFO: IMEI packet received {"connection_id":188117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":188117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:29:03] local.INFO: TCP Data received {"connection_id":188117,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af03c900012d0e2c4007067070001f000126..."} 
[2026-09-17 16:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af03c900012d0e2c4007067070001f000126..."} 
[2026-09-17 16:29:03] local.INFO: Processing buffer {"connection_id":188117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af03c900012d0e2c4007067070001f000126..."} 
[2026-09-17 16:29:03] local.INFO: Packet analysis {"connection_id":188117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:29:03] local.INFO: Extracted packet for processing {"connection_id":188117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:29:03] local.INFO: GPS Element Parsed {"raw_longitude":755903552,"raw_latitude":117862512,"longitude_deg":75.5903552,"latitude_deg":11.7862512,"altitude":31,"angle":1,"satellites":38,"speed":13,"hex_longitude":"2d0e2c40","hex_latitude":"07067070","is_valid_coordinates":true} 
[2026-09-17 16:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148519168001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32919953661231104,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021331983167168512,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789642656000,"timestamp_ms":1789642656000,"timestamp_seconds":1789642656,"priority":1,"record_length":96,"hex_timestamp":"000001a0af03c900"} 
[2026-09-17 16:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 16:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148519168001,"66":14439,"165":206,"94":11008,"24":13,"16":32919953661231104,"45":1021331983167168512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148519168001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:29:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:29:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32919953661231104,"km_value":32919953661231.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021331983167168512,"description":"Unknown IO ID 45"} 
[2026-09-17 16:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148519168001,"power":14439,"unknown_165":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":1021331983167168512}} 
[2026-09-17 16:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":188117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:29:03] local.INFO: GPS data processed {"connection_id":188117,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:29:03] local.INFO: Acknowledgment sent {"connection_id":188117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:29:11] local.INFO: TCP Data received {"connection_id":185334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af044218012d0dd500071e1a500019007918..."} 
[2026-09-17 16:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af044218012d0dd500071e1a500019007918..."} 
[2026-09-17 16:29:11] local.INFO: Processing buffer {"connection_id":185334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af044218012d0dd500071e1a500019007918..."} 
[2026-09-17 16:29:11] local.INFO: Packet analysis {"connection_id":185334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af04"} 
[2026-09-17 16:29:11] local.INFO: Extracted packet for processing {"connection_id":185334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af04"} 
[2026-09-17 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":755881216,"raw_latitude":119413328,"longitude_deg":75.5881216,"latitude_deg":11.9413328,"altitude":25,"angle":121,"satellites":24,"speed":21,"hex_longitude":"2d0dd500","hex_latitude":"071e1a50","is_valid_coordinates":true} 
[2026-09-17 16:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148525824001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21222897993383936,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":992903010917271552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789642687000,"timestamp_ms":1789642687000,"timestamp_seconds":1789642687,"priority":1,"record_length":96,"hex_timestamp":"000001a0af044218"} 
[2026-09-17 16:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 16:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148525824001,"66":14048,"11":206,"83":41984,"24":21,"16":21222897993383936,"45":992903010917271552},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 16:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148525824001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:29:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 16:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21222897993383936,"km_value":21222897993383.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":992903010917271552,"description":"Unknown IO ID 45"} 
[2026-09-17 16:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148525824001,"power":14048,"unknown_11":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":992903010917271552}} 
[2026-09-17 16:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":185334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:29:11] local.INFO: GPS data processed {"connection_id":185334,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:29:11] local.INFO: Acknowledgment sent {"connection_id":185334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:29:15] local.INFO: TCP Data received {"connection_id":188118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:29:15] local.INFO: Processing buffer {"connection_id":188118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:29:15] local.INFO: IMEI packet received {"connection_id":188118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":188118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:29:20] local.INFO: TCP Data received {"connection_id":188118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:29:20] local.INFO: Processing buffer {"connection_id":188118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:29:20] local.INFO: IMEI packet received {"connection_id":188118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":188118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:29:21] local.INFO: TCP Data received {"connection_id":188118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:29:21] local.INFO: Processing buffer {"connection_id":188118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:29:21] local.INFO: Packet analysis {"connection_id":188118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:29:21] local.INFO: Extracted packet for processing {"connection_id":188118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:29: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-09-17 16:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:29: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-09-17 16:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":188118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:29:21] local.INFO: GPS data processed {"connection_id":188118,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:29:21] local.INFO: Acknowledgment sent {"connection_id":188118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:29:34] local.INFO: TCP Data received {"connection_id":188117,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0576b0012d0e020007068de8001c00bf2a..."} 
[2026-09-17 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0576b0012d0e020007068de8001c00bf2a..."} 
[2026-09-17 16:29:34] local.INFO: Processing buffer {"connection_id":188117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0576b0012d0e020007068de8001c00bf2a..."} 
[2026-09-17 16:29:34] local.INFO: Packet analysis {"connection_id":188117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:29:34] local.INFO: Extracted packet for processing {"connection_id":188117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":755892736,"raw_latitude":117870056,"longitude_deg":75.5892736,"latitude_deg":11.7870056,"altitude":28,"angle":191,"satellites":42,"speed":8,"hex_longitude":"2d0e0200","hex_latitude":"07068de8","is_valid_coordinates":true} 
[2026-09-17 16:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148547840001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32920726755344384,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009439665403373568,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789642766000,"timestamp_ms":1789642766000,"timestamp_seconds":1789642766,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0576b0"} 
[2026-09-17 16:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 16:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148547840001,"66":14233,"219":206,"94":10240,"24":8,"16":32920726755344384,"45":1009439665403373568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148547840001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:29:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:29:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32920726755344384,"km_value":32920726755344.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009439665403373568,"description":"Unknown IO ID 45"} 
[2026-09-17 16:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148547840001,"power":14233,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1009439665403373568}} 
[2026-09-17 16:29:34] local.INFO: TCP Data received {"connection_id":185493,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:29:34] local.INFO: Processing buffer {"connection_id":185493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:29:34] local.INFO: IMEI packet received {"connection_id":185493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":185493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":188117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:29:34] local.INFO: GPS data processed {"connection_id":188117,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:29:34] local.INFO: Acknowledgment sent {"connection_id":188117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:29:35] local.INFO: TCP Data received {"connection_id":185493,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:29:35] local.INFO: Processing buffer {"connection_id":185493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:29:35] local.INFO: IMEI packet received {"connection_id":185493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":185493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:29:40] local.INFO: TCP Data received {"connection_id":185493,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:29:41] local.INFO: Processing buffer {"connection_id":185493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:29:41] local.INFO: IMEI packet received {"connection_id":185493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":185493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:29:41] local.INFO: TCP Data received {"connection_id":185493,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af054000012d0e0380071df630000f007419..."} 
[2026-09-17 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af054000012d0e0380071df630000f007419..."} 
[2026-09-17 16:29:41] local.INFO: Processing buffer {"connection_id":185493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af054000012d0e0380071df630000f007419..."} 
[2026-09-17 16:29:41] local.INFO: Packet analysis {"connection_id":185493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:29:41] local.INFO: Extracted packet for processing {"connection_id":185493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":755893120,"raw_latitude":119404080,"longitude_deg":75.589312,"latitude_deg":11.940408,"altitude":15,"angle":116,"satellites":25,"speed":14,"hex_longitude":"2d0e0380","hex_latitude":"071df630","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148544000001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21223688267366400,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009087822075176960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789642752000,"timestamp_ms":1789642752000,"timestamp_seconds":1789642752,"priority":1,"record_length":96,"hex_timestamp":"000001a0af054000"} 
[2026-09-17 16:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 16:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148544000001,"66":14102,"11":206,"83":41984,"24":14,"16":21223688267366400,"45":1009087822075176960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 16:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148544000001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:29:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 16:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21223688267366400,"km_value":21223688267366.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009087822075176960,"description":"Unknown IO ID 45"} 
[2026-09-17 16:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148544000001,"power":14102,"unknown_11":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1009087822075176960}} 
[2026-09-17 16:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":185493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:29:41] local.INFO: GPS data processed {"connection_id":185493,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:29:41] local.INFO: Acknowledgment sent {"connection_id":185493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:29:52] local.INFO: TCP Data received {"connection_id":188118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:29:52] local.INFO: Processing buffer {"connection_id":188118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:29:52] local.INFO: Packet analysis {"connection_id":188118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:29:52] local.INFO: Extracted packet for processing {"connection_id":188118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:29:52] 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-09-17 16:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":188118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:29:52] local.INFO: GPS data processed {"connection_id":188118,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:29:52] local.INFO: Acknowledgment sent {"connection_id":188118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:29:55] local.INFO: TCP Data received {"connection_id":185337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:55] local.INFO: Processing buffer {"connection_id":185337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:55] local.INFO: IMEI packet received {"connection_id":185337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":185337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:29:56] local.INFO: TCP Data received {"connection_id":185337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:56] local.INFO: Processing buffer {"connection_id":185337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:56] local.INFO: IMEI packet received {"connection_id":185337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":185337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:29:58] local.INFO: TCP Data received {"connection_id":185337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:58] local.INFO: Processing buffer {"connection_id":185337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:29:58] local.INFO: IMEI packet received {"connection_id":185337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":185337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:30:02] local.INFO: TCP Data received {"connection_id":185337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:30:02] local.INFO: Processing buffer {"connection_id":185337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:30:02] local.INFO: IMEI packet received {"connection_id":185337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":185337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:30:02] local.INFO: TCP Data received {"connection_id":185337,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af05e410012d0e088007068e10001d008b28..."} 
[2026-09-17 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af05e410012d0e088007068e10001d008b28..."} 
[2026-09-17 16:30:02] local.INFO: Processing buffer {"connection_id":185337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af05e410012d0e088007068e10001d008b28..."} 
[2026-09-17 16:30:02] local.INFO: Packet analysis {"connection_id":185337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:30:02] local.INFO: Extracted packet for processing {"connection_id":185337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":755894400,"raw_latitude":117870096,"longitude_deg":75.58944,"latitude_deg":11.7870096,"altitude":29,"angle":139,"satellites":40,"speed":5,"hex_longitude":"2d0e0880","hex_latitude":"07068e10","is_valid_coordinates":true} 
[2026-09-17 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148554752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32920868489265152,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010917409031106560,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789642794000,"timestamp_ms":1789642794000,"timestamp_seconds":1789642794,"priority":1,"record_length":96,"hex_timestamp":"000001a0af05e410"} 
[2026-09-17 16:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148554752001,"66":14428,"219":206,"94":10240,"24":5,"16":32920868489265152,"45":1010917409031106560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148554752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:30:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:30:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32920868489265152,"km_value":32920868489265.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010917409031106560,"description":"Unknown IO ID 45"} 
[2026-09-17 16:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148554752001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1010917409031106560}} 
[2026-09-17 16:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":185337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:30:03] local.INFO: GPS data processed {"connection_id":185337,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:30:03] local.INFO: Acknowledgment sent {"connection_id":185337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:30:13] local.INFO: TCP Data received {"connection_id":185493,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0543e8012d0e0480071df548000e008919..."} 
[2026-09-17 16:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0543e8012d0e0480071df548000e008919..."} 
[2026-09-17 16:30:13] local.INFO: Processing buffer {"connection_id":185493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0543e8012d0e0480071df548000e008919..."} 
[2026-09-17 16:30:13] local.INFO: Packet analysis {"connection_id":185493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:30:13] local.INFO: Extracted packet for processing {"connection_id":185493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:30:13] local.INFO: GPS Element Parsed {"raw_longitude":755893376,"raw_latitude":119403848,"longitude_deg":75.5893376,"latitude_deg":11.9403848,"altitude":14,"angle":137,"satellites":25,"speed":14,"hex_longitude":"2d0e0480","hex_latitude":"071df548","is_valid_coordinates":true} 
[2026-09-17 16:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148544512001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21223705447235584,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009791509516922880,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789642753000,"timestamp_ms":1789642753000,"timestamp_seconds":1789642753,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0543e8"} 
[2026-09-17 16:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-17 16:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148544512001,"66":14102,"11":206,"83":41984,"24":14,"16":21223705447235584,"45":1009791509516922880},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 16:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148544512001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:30:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 16:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21223705447235584,"km_value":21223705447235.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009791509516922880,"description":"Unknown IO ID 45"} 
[2026-09-17 16:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148544512001,"power":14102,"unknown_11":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1009791509516922880}} 
[2026-09-17 16:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":185493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:30:13] local.INFO: GPS data processed {"connection_id":185493,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:30:13] local.INFO: Acknowledgment sent {"connection_id":185493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:30:16] local.INFO: TCP Data received {"connection_id":186799,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:30:16] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:30:16] local.INFO: IMEI packet received {"connection_id":186799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":186799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:30:20] local.INFO: TCP Data received {"connection_id":186799,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:30:20] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:30:20] local.INFO: IMEI packet received {"connection_id":186799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":186799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:30:21] local.INFO: TCP Data received {"connection_id":186799,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:30:21] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:30:21] local.INFO: Packet analysis {"connection_id":186799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:30:21] local.INFO: Extracted packet for processing {"connection_id":186799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:30: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-09-17 16:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:30: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-09-17 16:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":186799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:30:21] local.INFO: GPS data processed {"connection_id":186799,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:30:21] local.INFO: Acknowledgment sent {"connection_id":186799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:30:34] local.INFO: TCP Data received {"connection_id":185337,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af05efc8012d0e090007068d48001d009928..."} 
[2026-09-17 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af05efc8012d0e090007068d48001d009928..."} 
[2026-09-17 16:30:34] local.INFO: Processing buffer {"connection_id":185337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af05efc8012d0e090007068d48001d009928..."} 
[2026-09-17 16:30:34] local.INFO: Packet analysis {"connection_id":185337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:30:34] local.INFO: Extracted packet for processing {"connection_id":185337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af05"} 
[2026-09-17 16:30:34] local.INFO: GPS Element Parsed {"raw_longitude":755894528,"raw_latitude":117869896,"longitude_deg":75.5894528,"latitude_deg":11.7869896,"altitude":29,"angle":153,"satellites":40,"speed":3,"hex_longitude":"2d0e0900","hex_latitude":"07068d48","is_valid_coordinates":true} 
[2026-09-17 16:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148555264001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32920885669134336,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011198884007776256,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789642797000,"timestamp_ms":1789642797000,"timestamp_seconds":1789642797,"priority":1,"record_length":96,"hex_timestamp":"000001a0af05efc8"} 
[2026-09-17 16:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148555264001,"66":13820,"219":206,"94":10240,"24":3,"16":32920885669134336,"45":1011198884007776256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148555264001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:30:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:30:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32920885669134336,"km_value":32920885669134.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011198884007776256,"description":"Unknown IO ID 45"} 
[2026-09-17 16:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148555264001,"power":13820,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":1011198884007776256}} 
[2026-09-17 16:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":185337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:30:34] local.INFO: GPS data processed {"connection_id":185337,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:30:34] local.INFO: Acknowledgment sent {"connection_id":185337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:30:40] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:30:40] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:30:40] local.INFO: IMEI packet received {"connection_id":186800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":186800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:30:45] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:30:45] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:30:45] local.INFO: IMEI packet received {"connection_id":186800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":186800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:30:45] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:30:45] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:30:45] local.INFO: IMEI packet received {"connection_id":186800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":186800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:30:46] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af065940012d0e6080071ddcd8001d004019..."} 
[2026-09-17 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af065940012d0e6080071ddcd8001d004019..."} 
[2026-09-17 16:30:46] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af065940012d0e6080071ddcd8001d004019..."} 
[2026-09-17 16:30:46] local.INFO: Packet analysis {"connection_id":186800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:30:46] local.INFO: Extracted packet for processing {"connection_id":186800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":755916928,"raw_latitude":119397592,"longitude_deg":75.5916928,"latitude_deg":11.9397592,"altitude":29,"angle":64,"satellites":25,"speed":46,"hex_longitude":"2d0e6080","hex_latitude":"071ddcd8","is_valid_coordinates":true} 
[2026-09-17 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148560896001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21225466383826944,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026680008116934656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789642824000,"timestamp_ms":1789642824000,"timestamp_seconds":1789642824,"priority":1,"record_length":96,"hex_timestamp":"000001a0af065940"} 
[2026-09-17 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-17 16:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148560896001,"66":13993,"237":206,"83":41984,"24":46,"16":21225466383826944,"45":1026680008116934656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148560896001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:30:46] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 16:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21225466383826944,"km_value":21225466383826.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026680008116934656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148560896001,"power":13993,"unknown_237":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1026680008116934656}} 
[2026-09-17 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":186800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:30:46] local.INFO: GPS data processed {"connection_id":186800,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:30:46] local.INFO: Acknowledgment sent {"connection_id":186800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:30:49] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af067880012d0e8200071dece0001f003c19..."} 
[2026-09-17 16:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af067880012d0e8200071dece0001f003c19..."} 
[2026-09-17 16:30:49] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af067880012d0e8200071dece0001f003c19..."} 
[2026-09-17 16:30:49] local.INFO: Packet analysis {"connection_id":186800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:30:49] local.INFO: Extracted packet for processing {"connection_id":186800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:30:49] local.INFO: GPS Element Parsed {"raw_longitude":755925504,"raw_latitude":119401696,"longitude_deg":75.5925504,"latitude_deg":11.9401696,"altitude":31,"angle":60,"satellites":25,"speed":45,"hex_longitude":"2d0e8200","hex_latitude":"071dece0","is_valid_coordinates":true} 
[2026-09-17 16:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148562944001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21225921650360320,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1035968682349352960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789642832000,"timestamp_ms":1789642832000,"timestamp_seconds":1789642832,"priority":1,"record_length":96,"hex_timestamp":"000001a0af067880"} 
[2026-09-17 16:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148562944001,"66":13961,"237":206,"83":41984,"24":45,"16":21225921650360320,"45":1035968682349352960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 16:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148562944001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:30:49] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 16:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21225921650360320,"km_value":21225921650360.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1035968682349352960,"description":"Unknown IO ID 45"} 
[2026-09-17 16:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148562944001,"power":13961,"unknown_237":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1035968682349352960}} 
[2026-09-17 16:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":186800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:30:49] local.INFO: GPS data processed {"connection_id":186800,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:30:49] local.INFO: Acknowledgment sent {"connection_id":186800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:30:52] local.INFO: TCP Data received {"connection_id":186799,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:30:52] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:30:52] local.INFO: Packet analysis {"connection_id":186799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:30:52] local.INFO: Extracted packet for processing {"connection_id":186799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:30:52] 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-09-17 16:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":186799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:30:52] local.INFO: GPS data processed {"connection_id":186799,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:30:52] local.INFO: Acknowledgment sent {"connection_id":186799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:30:56] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:30:56] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:30:56] local.INFO: IMEI packet received {"connection_id":188120,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":188120,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:30:57] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:30:57] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:30:57] local.INFO: IMEI packet received {"connection_id":188120,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":188120,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:31:02] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:31:02] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:31:02] local.INFO: IMEI packet received {"connection_id":188120,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":188120,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:31:02] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af06c6a0012d0e2800070681d80023006523..."} 
[2026-09-17 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af06c6a0012d0e2800070681d80023006523..."} 
[2026-09-17 16:31:02] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af06c6a0012d0e2800070681d80023006523..."} 
[2026-09-17 16:31:02] local.INFO: Packet analysis {"connection_id":188120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:02] local.INFO: Extracted packet for processing {"connection_id":188120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:02] local.INFO: GPS Element Parsed {"raw_longitude":755902464,"raw_latitude":117866968,"longitude_deg":75.5902464,"latitude_deg":11.7866968,"altitude":35,"angle":101,"satellites":35,"speed":8,"hex_longitude":"2d0e2800","hex_latitude":"070681d8","is_valid_coordinates":true} 
[2026-09-17 16:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148568320001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32921332345733120,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1018376495913304064,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789642852000,"timestamp_ms":1789642852000,"timestamp_seconds":1789642852,"priority":1,"record_length":96,"hex_timestamp":"000001a0af06c6a0"} 
[2026-09-17 16:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-17 16:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148568320001,"66":14309,"219":206,"94":10240,"24":8,"16":32921332345733120,"45":1018376495913304064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148568320001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:31:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:31:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32921332345733120,"km_value":32921332345733.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1018376495913304064,"description":"Unknown IO ID 45"} 
[2026-09-17 16:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148568320001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1018376495913304064}} 
[2026-09-17 16:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":188120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:31:03] local.INFO: GPS data processed {"connection_id":188120,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:31:03] local.INFO: Acknowledgment sent {"connection_id":188120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:31:15] local.INFO: TCP Data received {"connection_id":185338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:31:15] local.INFO: Processing buffer {"connection_id":185338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:31:15] local.INFO: IMEI packet received {"connection_id":185338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":185338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:31:20] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af068438012d0e8cc0071df4a80021002f19..."} 
[2026-09-17 16:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af068438012d0e8cc0071df4a80021002f19..."} 
[2026-09-17 16:31:20] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af068438012d0e8cc0071df4a80021002f19..."} 
[2026-09-17 16:31:20] local.INFO: Packet analysis {"connection_id":186800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:20] local.INFO: Extracted packet for processing {"connection_id":186800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:20] local.INFO: GPS Element Parsed {"raw_longitude":755928256,"raw_latitude":119403688,"longitude_deg":75.5928256,"latitude_deg":11.9403688,"altitude":33,"angle":47,"satellites":25,"speed":43,"hex_longitude":"2d0e8cc0","hex_latitude":"071df4a8","is_valid_coordinates":true} 
[2026-09-17 16:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148564992001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21226084859117568,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1045398094070210560,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789642835000,"timestamp_ms":1789642835000,"timestamp_seconds":1789642835,"priority":1,"record_length":96,"hex_timestamp":"000001a0af068438"} 
[2026-09-17 16:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-17 16:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148564992001,"66":13928,"237":206,"83":41984,"24":43,"16":21226084859117568,"45":1045398094070210560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 16:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148564992001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:31:20] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 16:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21226084859117568,"km_value":21226084859117.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1045398094070210560,"description":"Unknown IO ID 45"} 
[2026-09-17 16:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148564992001,"power":13928,"unknown_237":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1045398094070210560}} 
[2026-09-17 16:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":186800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:31:20] local.INFO: GPS data processed {"connection_id":186800,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:31:20] local.INFO: Acknowledgment sent {"connection_id":186800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:31:20] local.INFO: TCP Data received {"connection_id":185338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:31:20] local.INFO: Processing buffer {"connection_id":185338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:31:20] local.INFO: IMEI packet received {"connection_id":185338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":185338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:31:21] local.INFO: TCP Data received {"connection_id":185338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:31:21] local.INFO: Processing buffer {"connection_id":185338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:31:21] local.INFO: Packet analysis {"connection_id":185338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:31:21] local.INFO: Extracted packet for processing {"connection_id":185338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:31: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-09-17 16:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:31:21] 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-09-17 16:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":185338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:31:21] local.INFO: GPS data processed {"connection_id":185338,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:31:21] local.INFO: Acknowledgment sent {"connection_id":185338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:31:33] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af06ca88012d0e2900070681c00023005723..."} 
[2026-09-17 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af06ca88012d0e2900070681c00023005723..."} 
[2026-09-17 16:31:33] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af06ca88012d0e2900070681c00023005723..."} 
[2026-09-17 16:31:33] local.INFO: Packet analysis {"connection_id":188120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:33] local.INFO: Extracted packet for processing {"connection_id":188120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":755902720,"raw_latitude":117866944,"longitude_deg":75.590272,"latitude_deg":11.7866944,"altitude":35,"angle":87,"satellites":35,"speed":9,"hex_longitude":"2d0e2900","hex_latitude":"070681c0","is_valid_coordinates":true} 
[2026-09-17 16:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148570112001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32921345230635008,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020065345773361152,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789642853000,"timestamp_ms":1789642853000,"timestamp_seconds":1789642853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af06ca88"} 
[2026-09-17 16:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-17 16:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148570112001,"66":14428,"219":206,"94":10240,"24":9,"16":32921345230635008,"45":1020065345773361152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148570112001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:31:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:31:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32921345230635008,"km_value":32921345230635.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020065345773361152,"description":"Unknown IO ID 45"} 
[2026-09-17 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148570112001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1020065345773361152}} 
[2026-09-17 16:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":188120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856588,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:31:33] local.INFO: GPS data processed {"connection_id":188120,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:31:33] local.INFO: Acknowledgment sent {"connection_id":188120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:31:42] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:31:42] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:31:42] local.INFO: IMEI packet received {"connection_id":188121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":188121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:31:43] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:31:43] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:31:43] local.INFO: IMEI packet received {"connection_id":188121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":188121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:31:45] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:31:45] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:31:45] local.INFO: IMEI packet received {"connection_id":188121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":188121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:31:46] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af06a378012d0ea4c0071e0e680024002919..."} 
[2026-09-17 16:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af06a378012d0ea4c0071e0e680024002919..."} 
[2026-09-17 16:31:46] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af06a378012d0ea4c0071e0e680024002919..."} 
[2026-09-17 16:31:46] local.INFO: Packet analysis {"connection_id":188121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:46] local.INFO: Extracted packet for processing {"connection_id":188121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":755934400,"raw_latitude":119410280,"longitude_deg":75.59344,"latitude_deg":11.941028,"altitude":36,"angle":41,"satellites":25,"speed":45,"hex_longitude":"2d0ea4c0","hex_latitude":"071e0e68","is_valid_coordinates":true} 
[2026-09-17 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148565760001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21226514355847168,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1048423950070360064,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789642843000,"timestamp_ms":1789642843000,"timestamp_seconds":1789642843,"priority":1,"record_length":96,"hex_timestamp":"000001a0af06a378"} 
[2026-09-17 16:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-17 16:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148565760001,"66":14048,"237":206,"83":41984,"24":45,"16":21226514355847168,"45":1048423950070360064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 16:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148565760001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:31:46] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 16:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21226514355847168,"km_value":21226514355847.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1048423950070360064,"description":"Unknown IO ID 45"} 
[2026-09-17 16:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148565760001,"power":14048,"unknown_237":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1048423950070360064}} 
[2026-09-17 16:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":188121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:31:46] local.INFO: GPS data processed {"connection_id":188121,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:31:46] local.INFO: Acknowledgment sent {"connection_id":188121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:31:49] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af06b318012d0eb240071e1b080026003519..."} 
[2026-09-17 16:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af06b318012d0eb240071e1b080026003519..."} 
[2026-09-17 16:31:49] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af06b318012d0eb240071e1b080026003519..."} 
[2026-09-17 16:31:49] local.INFO: Packet analysis {"connection_id":188121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:49] local.INFO: Extracted packet for processing {"connection_id":188121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:31:49] local.INFO: GPS Element Parsed {"raw_longitude":755937856,"raw_latitude":119413512,"longitude_deg":75.5937856,"latitude_deg":11.9413512,"altitude":38,"angle":53,"satellites":25,"speed":47,"hex_longitude":"2d0eb240","hex_latitude":"071e1b08","is_valid_coordinates":true} 
[2026-09-17 16:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148567808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21226746284081152,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1055179349513103360,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789642847000,"timestamp_ms":1789642847000,"timestamp_seconds":1789642847,"priority":1,"record_length":96,"hex_timestamp":"000001a0af06b318"} 
[2026-09-17 16:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 16:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148567808001,"66":14004,"237":206,"83":41984,"24":47,"16":21226746284081152,"45":1055179349513103360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-17 16:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148567808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:31:49] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-17 16:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21226746284081152,"km_value":21226746284081.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1055179349513103360,"description":"Unknown IO ID 45"} 
[2026-09-17 16:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148567808001,"power":14004,"unknown_237":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1055179349513103360}} 
[2026-09-17 16:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":188121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:31:49] local.INFO: GPS data processed {"connection_id":188121,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:31:49] local.INFO: Acknowledgment sent {"connection_id":188121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:31:52] local.INFO: TCP Data received {"connection_id":185338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:31:52] local.INFO: Processing buffer {"connection_id":185338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:31:52] local.INFO: Packet analysis {"connection_id":185338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:31:52] local.INFO: Extracted packet for processing {"connection_id":185338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:31:52] 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-09-17 16:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":185338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:31:52] local.INFO: GPS data processed {"connection_id":185338,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:31:52] local.INFO: Acknowledgment sent {"connection_id":185338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:31:56] local.INFO: TCP Data received {"connection_id":185494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185494,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:31:56] local.INFO: Processing buffer {"connection_id":185494,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:31:56] local.INFO: IMEI packet received {"connection_id":185494,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":185494,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:32:02] local.INFO: TCP Data received {"connection_id":185494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185494,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:32:02] local.INFO: Processing buffer {"connection_id":185494,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:32:02] local.INFO: IMEI packet received {"connection_id":185494,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":185494,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:32:02] local.INFO: TCP Data received {"connection_id":185494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af06d258012d0e2b40070682480024004624..."} 
[2026-09-17 16:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af06d258012d0e2b40070682480024004624..."} 
[2026-09-17 16:32:02] local.INFO: Processing buffer {"connection_id":185494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af06d258012d0e2b40070682480024004624..."} 
[2026-09-17 16:32:02] local.INFO: Packet analysis {"connection_id":185494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:32:02] local.INFO: Extracted packet for processing {"connection_id":185494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:32:02] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":117867080,"longitude_deg":75.5903296,"latitude_deg":11.786708,"altitude":36,"angle":70,"satellites":36,"speed":11,"hex_longitude":"2d0e2b40","hex_latitude":"07068248","is_valid_coordinates":true} 
[2026-09-17 16:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148570368001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32921375295406080,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020346820750065664,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789642855000,"timestamp_ms":1789642855000,"timestamp_seconds":1789642855,"priority":1,"record_length":96,"hex_timestamp":"000001a0af06d258"} 
[2026-09-17 16:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148570368001,"66":14439,"219":206,"94":10240,"24":11,"16":32921375295406080,"45":1020346820750065664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148570368001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:32:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:32:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32921375295406080,"km_value":32921375295406.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020346820750065664,"description":"Unknown IO ID 45"} 
[2026-09-17 16:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148570368001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1020346820750065664}} 
[2026-09-17 16:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":185494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:32:03] local.INFO: GPS data processed {"connection_id":185494,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:32:03] local.INFO: Acknowledgment sent {"connection_id":185494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:32:14] local.INFO: TCP Data received {"connection_id":185495,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:32:14] local.INFO: Processing buffer {"connection_id":185495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:32:14] local.INFO: IMEI packet received {"connection_id":185495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":185495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:32:15] local.INFO: TCP Data received {"connection_id":188122,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:32:15] local.INFO: Processing buffer {"connection_id":188122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:32:15] local.INFO: IMEI packet received {"connection_id":188122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":188122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:32:15] local.INFO: TCP Data received {"connection_id":185495,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af06edb0012d7b0ec005e2fa980007016216..."} 
[2026-09-17 16:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af06edb0012d7b0ec005e2fa980007016216..."} 
[2026-09-17 16:32:15] local.INFO: Processing buffer {"connection_id":185495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af06edb0012d7b0ec005e2fa980007016216..."} 
[2026-09-17 16:32:15] local.INFO: Packet analysis {"connection_id":185495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:32:15] local.INFO: Extracted packet for processing {"connection_id":185495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af06"} 
[2026-09-17 16:32:15] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98761368,"longitude_deg":76.3039424,"latitude_deg":9.8761368,"altitude":7,"angle":354,"satellites":22,"speed":0,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fa98","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148567552001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134399757303939072,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869558016410251264,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789642862000,"timestamp_ms":1789642862000,"timestamp_seconds":1789642862,"priority":1,"record_length":96,"hex_timestamp":"000001a0af06edb0"} 
[2026-09-17 16:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-17 16:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148567552001,"66":13178,"207":206,"85":15104,"24":0,"16":134399757303939072,"45":8869558016410251264},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 16:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148567552001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:32:15] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 16:32:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 16:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134399757303939072,"km_value":134399757303939.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869558016410251264,"description":"Unknown IO ID 45"} 
[2026-09-17 16:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148567552001,"power":13178,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869558016410251264}} 
[2026-09-17 16:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":185495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:32:15] local.INFO: GPS data processed {"connection_id":185495,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:32:15] local.INFO: Acknowledgment sent {"connection_id":185495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:32:20] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07eb98012d100300071e49700031006118..."} 
[2026-09-17 16:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07eb98012d100300071e49700031006118..."} 
[2026-09-17 16:32:20] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07eb98012d100300071e49700031006118..."} 
[2026-09-17 16:32:20] local.INFO: Packet analysis {"connection_id":188121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:20] local.INFO: Extracted packet for processing {"connection_id":188121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756024064,"raw_latitude":119425392,"longitude_deg":75.6024064,"latitude_deg":11.9425392,"altitude":49,"angle":97,"satellites":24,"speed":39,"hex_longitude":"2d100300","hex_latitude":"071e4970","is_valid_coordinates":true} 
[2026-09-17 16:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148588800001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21230920992292864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1151514160296198144,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789642927000,"timestamp_ms":1789642927000,"timestamp_seconds":1789642927,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07eb98"} 
[2026-09-17 16:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148588800001,"66":13972,"235":206,"83":41984,"24":39,"16":21230920992292864,"45":1151514160296198144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-17 16:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148588800001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:32:20] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-17 16:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21230920992292864,"km_value":21230920992292.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1151514160296198144,"description":"Unknown IO ID 45"} 
[2026-09-17 16:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148588800001,"power":13972,"unknown_235":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1151514160296198144}} 
[2026-09-17 16:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":188121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:32:20] local.INFO: GPS data processed {"connection_id":188121,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:32:20] local.INFO: Acknowledgment sent {"connection_id":188121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:32:21] local.INFO: TCP Data received {"connection_id":188122,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:32:21] local.INFO: Processing buffer {"connection_id":188122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:32:21] local.INFO: IMEI packet received {"connection_id":188122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":188122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:32:22] local.INFO: TCP Data received {"connection_id":188122,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:32:22] local.INFO: Processing buffer {"connection_id":188122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af032cc0012d34c30006aa4608000a00b529..."} 
[2026-09-17 16:32:22] local.INFO: Packet analysis {"connection_id":188122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:32:22] local.INFO: Extracted packet for processing {"connection_id":188122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af03"} 
[2026-09-17 16:32:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148432640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789642616000,"timestamp_ms":1789642616000,"timestamp_seconds":1789642616,"priority":1,"record_length":96,"hex_timestamp":"000001a0af032cc0"} 
[2026-09-17 16:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:32: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-09-17 16:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 16:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:32:22] 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-09-17 16:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148432640001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148432640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:32:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148432640001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":188122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:32:22] local.INFO: GPS data processed {"connection_id":188122,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:32:22] local.INFO: Acknowledgment sent {"connection_id":188122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:32:34] local.INFO: TCP Data received {"connection_id":185494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af070908012d0e2b00070682800026010524..."} 
[2026-09-17 16:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af070908012d0e2b00070682800026010524..."} 
[2026-09-17 16:32:34] local.INFO: Processing buffer {"connection_id":185494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af070908012d0e2b00070682800026010524..."} 
[2026-09-17 16:32:34] local.INFO: Packet analysis {"connection_id":185494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:34] local.INFO: Extracted packet for processing {"connection_id":185494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:34] local.INFO: GPS Element Parsed {"raw_longitude":755903232,"raw_latitude":117867136,"longitude_deg":75.5903232,"latitude_deg":11.7867136,"altitude":38,"angle":261,"satellites":36,"speed":2,"hex_longitude":"2d0e2b00","hex_latitude":"07068280","is_valid_coordinates":true} 
[2026-09-17 16:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148570880001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32921435424948224,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020980139447699456,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789642869000,"timestamp_ms":1789642869000,"timestamp_seconds":1789642869,"priority":1,"record_length":96,"hex_timestamp":"000001a0af070908"} 
[2026-09-17 16:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 16:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148570880001,"66":14537,"219":206,"94":10240,"24":2,"16":32921435424948224,"45":1020980139447699456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148570880001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:32:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:32:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32921435424948224,"km_value":32921435424948.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020980139447699456,"description":"Unknown IO ID 45"} 
[2026-09-17 16:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148570880001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1020980139447699456}} 
[2026-09-17 16:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":185494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:32:34] local.INFO: GPS data processed {"connection_id":185494,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:32:34] local.INFO: Acknowledgment sent {"connection_id":185494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:32:35] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:32:35] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:32:35] local.INFO: IMEI packet received {"connection_id":188123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":188123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:32:38] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:32:38] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:32:38] local.INFO: IMEI packet received {"connection_id":188123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":188123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:32:41] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:32:41] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:32:41] local.INFO: IMEI packet received {"connection_id":188123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":188123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:32:41] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07f750012d100e40071e46280030007318..."} 
[2026-09-17 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07f750012d100e40071e46280030007318..."} 
[2026-09-17 16:32:41] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07f750012d100e40071e46280030007318..."} 
[2026-09-17 16:32:41] local.INFO: Packet analysis {"connection_id":188123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:41] local.INFO: Extracted packet for processing {"connection_id":188123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756026944,"raw_latitude":119424552,"longitude_deg":75.6026944,"latitude_deg":11.9424552,"altitude":48,"angle":115,"satellites":24,"speed":39,"hex_longitude":"2d100e40","hex_latitude":"071e4628","is_valid_coordinates":true} 
[2026-09-17 16:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148589312001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21231058431246336,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1153765960109879296,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789642930000,"timestamp_ms":1789642930000,"timestamp_seconds":1789642930,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07f750"} 
[2026-09-17 16:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-17 16:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148589312001,"66":14026,"235":206,"83":41984,"24":39,"16":21231058431246336,"45":1153765960109879296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-17 16:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148589312001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:32:41] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-17 16:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21231058431246336,"km_value":21231058431246.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1153765960109879296,"description":"Unknown IO ID 45"} 
[2026-09-17 16:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148589312001,"power":14026,"unknown_235":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1153765960109879296}} 
[2026-09-17 16:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":188123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:32:41] local.INFO: GPS data processed {"connection_id":188123,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:32:41] local.INFO: Acknowledgment sent {"connection_id":188123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:32:46] local.INFO: TCP Data received {"connection_id":185495,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af072c30012d7b0ac005e31280000a01531e..."} 
[2026-09-17 16:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af072c30012d7b0ac005e31280000a01531e..."} 
[2026-09-17 16:32:46] local.INFO: Processing buffer {"connection_id":185495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af072c30012d7b0ac005e31280000a01531e..."} 
[2026-09-17 16:32:46] local.INFO: Packet analysis {"connection_id":185495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:46] local.INFO: Extracted packet for processing {"connection_id":185495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:46] local.INFO: GPS Element Parsed {"raw_longitude":763038400,"raw_latitude":98767488,"longitude_deg":76.30384,"latitude_deg":9.8767488,"altitude":10,"angle":339,"satellites":30,"speed":6,"hex_longitude":"2d7b0ac0","hex_latitude":"05e31280","is_valid_coordinates":true} 
[2026-09-17 16:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148572672001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134400062246617088,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854528512,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789642878000,"timestamp_ms":1789642878000,"timestamp_seconds":1789642878,"priority":1,"record_length":96,"hex_timestamp":"000001a0af072c30"} 
[2026-09-17 16:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-17 16:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148572672001,"66":13243,"207":206,"85":15104,"24":6,"16":134400062246617088,"45":8867235847854528512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-17 16:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148572672001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:32:46] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-17 16:32:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 16:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134400062246617088,"km_value":134400062246617.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854528512,"description":"Unknown IO ID 45"} 
[2026-09-17 16:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148572672001,"power":13243,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8867235847854528512}} 
[2026-09-17 16:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":185495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:32:46] local.INFO: GPS data processed {"connection_id":185495,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:32:46] local.INFO: Acknowledgment sent {"connection_id":185495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:32:54] local.INFO: TCP Data received {"connection_id":188122,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:32:54] local.INFO: Processing buffer {"connection_id":188122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:32:54] local.INFO: Packet analysis {"connection_id":188122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:54] local.INFO: Extracted packet for processing {"connection_id":188122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:32:54] 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-09-17 16:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":188122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:32:54] local.INFO: GPS data processed {"connection_id":188122,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:32:54] local.INFO: Acknowledgment sent {"connection_id":188122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:32:56] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:32:56] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:32:56] local.INFO: IMEI packet received {"connection_id":185339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":185339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:32:58] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:32:58] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:32:58] local.INFO: IMEI packet received {"connection_id":185339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":185339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:33:00] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:00] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:00] local.INFO: IMEI packet received {"connection_id":185339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":185339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:33:01] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:01] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:01] local.INFO: IMEI packet received {"connection_id":185339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":185339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:33:03] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0af085ce0012d0e3bc00706c4980022000925..."} 
[2026-09-17 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":93,"packet_hex":"00000000000000518e01000001a0af085ce0012d0e3bc00706c4980022000925..."} 
[2026-09-17 16:33:03] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0af085ce0012d0e3bc00706c4980022000925..."} 
[2026-09-17 16:33:03] local.INFO: Packet analysis {"connection_id":185339,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0af08"} 
[2026-09-17 16:33:03] local.INFO: Extracted packet for processing {"connection_id":185339,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0af08"} 
[2026-09-17 16:33:03] local.INFO: GPS Element Parsed {"raw_longitude":755907520,"raw_latitude":117884056,"longitude_deg":75.590752,"latitude_deg":11.7884056,"altitude":34,"angle":9,"satellites":37,"speed":1,"hex_longitude":"2d0e3bc0","hex_latitude":"0706c498","is_valid_coordinates":true} 
[2026-09-17 16:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-17 16:33:03] 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-09-17 16:33:03] 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-09-17 16:33:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:33:03] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 16:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185339,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 16:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185339,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-17 16:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185339,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-17 16:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 16:33:03] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 16:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":185339,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 16:33:03] local.ERROR: GPS data processing failed {"connection_id":185339,"error":"No valid data to process"} 
[2026-09-17 16:33:03] local.INFO: Acknowledgment sent {"connection_id":185339,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 16:33:13] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af080308012d101800071e3f980031008218..."} 
[2026-09-17 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af080308012d101800071e3f980031008218..."} 
[2026-09-17 16:33:13] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af080308012d101800071e3f980031008218..."} 
[2026-09-17 16:33:13] local.INFO: Packet analysis {"connection_id":188123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af08"} 
[2026-09-17 16:33:13] local.INFO: Extracted packet for processing {"connection_id":188123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af08"} 
[2026-09-17 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756029440,"raw_latitude":119422872,"longitude_deg":75.602944,"latitude_deg":11.9422872,"altitude":49,"angle":130,"satellites":24,"speed":40,"hex_longitude":"2d101800","hex_latitude":"071e3f98","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148590080001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21231204460134400,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1156932553597659136,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789642933000,"timestamp_ms":1789642933000,"timestamp_seconds":1789642933,"priority":1,"record_length":96,"hex_timestamp":"000001a0af080308"} 
[2026-09-17 16:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-17 16:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148590080001,"66":13993,"235":206,"83":41984,"24":40,"16":21231204460134400,"45":1156932553597659136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-17 16:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148590080001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:33:13] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-17 16:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21231204460134400,"km_value":21231204460134.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1156932553597659136,"description":"Unknown IO ID 45"} 
[2026-09-17 16:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148590080001,"power":13993,"unknown_235":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1156932553597659136}} 
[2026-09-17 16:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":188123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:33:13] local.INFO: GPS data processed {"connection_id":188123,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:33:13] local.INFO: Acknowledgment sent {"connection_id":188123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:33:17] local.INFO: TCP Data received {"connection_id":185495,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af089390012d7adc4005e3d040000f015827..."} 
[2026-09-17 16:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af089390012d7adc4005e3d040000f015827..."} 
[2026-09-17 16:33:17] local.INFO: Processing buffer {"connection_id":185495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af089390012d7adc4005e3d040000f015827..."} 
[2026-09-17 16:33:17] local.INFO: Packet analysis {"connection_id":185495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af08"} 
[2026-09-17 16:33:17] local.INFO: Extracted packet for processing {"connection_id":185495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af08"} 
[2026-09-17 16:33:17] local.INFO: GPS Element Parsed {"raw_longitude":763026496,"raw_latitude":98816064,"longitude_deg":76.3026496,"latitude_deg":9.8816064,"altitude":15,"angle":344,"satellites":39,"speed":27,"hex_longitude":"2d7adc40","hex_latitude":"05e3d040","is_valid_coordinates":true} 
[2026-09-17 16:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148597248001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134402531852812288,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855906480053671936,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789642970000,"timestamp_ms":1789642970000,"timestamp_seconds":1789642970,"priority":1,"record_length":96,"hex_timestamp":"000001a0af089390"} 
[2026-09-17 16:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 16:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148597248001,"66":13037,"208":206,"85":15104,"24":27,"16":134402531852812288,"45":8855906480053671936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 16:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148597248001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:33:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 16:33:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 16:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134402531852812288,"km_value":134402531852812.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855906480053671936,"description":"Unknown IO ID 45"} 
[2026-09-17 16:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148597248001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8855906480053671936}} 
[2026-09-17 16:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":185495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:33:17] local.INFO: GPS data processed {"connection_id":185495,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:33:17] local.INFO: Acknowledgment sent {"connection_id":185495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:33:20] local.INFO: TCP Data received {"connection_id":185340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:33:20] local.INFO: Processing buffer {"connection_id":185340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:33:20] local.INFO: IMEI packet received {"connection_id":185340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":185340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:33:25] local.INFO: TCP Data received {"connection_id":185340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:33:25] local.INFO: Processing buffer {"connection_id":185340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:33:25] local.INFO: IMEI packet received {"connection_id":185340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":185340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:33:26] local.INFO: TCP Data received {"connection_id":185340,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:33:26] local.INFO: Processing buffer {"connection_id":185340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:33:26] local.INFO: Packet analysis {"connection_id":185340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:33:26] local.INFO: Extracted packet for processing {"connection_id":185340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:33:26] 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-09-17 16:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:33:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":185340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:33:26] local.INFO: GPS data processed {"connection_id":185340,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:33:26] local.INFO: Acknowledgment sent {"connection_id":185340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:33:30] local.INFO: TCP Data received {"connection_id":185340,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:33:30] local.INFO: Processing buffer {"connection_id":185340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:33:30] local.INFO: Packet analysis {"connection_id":185340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:33:30] local.INFO: Extracted packet for processing {"connection_id":185340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:33:30] 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-09-17 16:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:33:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":185340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:33:30] local.INFO: GPS data processed {"connection_id":185340,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:33:30] local.INFO: Acknowledgment sent {"connection_id":185340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:33:34] local.INFO: TCP Data received {"connection_id":185339,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af092800012d0e3b80070702280023013521..."} 
[2026-09-17 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af092800012d0e3b80070702280023013521..."} 
[2026-09-17 16:33:34] local.INFO: Processing buffer {"connection_id":185339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af092800012d0e3b80070702280023013521..."} 
[2026-09-17 16:33:34] local.INFO: Packet analysis {"connection_id":185339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:33:34] local.INFO: Extracted packet for processing {"connection_id":185339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":755907456,"raw_latitude":117899816,"longitude_deg":75.5907456,"latitude_deg":11.7899816,"altitude":35,"angle":309,"satellites":33,"speed":15,"hex_longitude":"2d0e3b80","hex_latitude":"07070228","is_valid_coordinates":true} 
[2026-09-17 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148609792001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32923149116899328,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025905951548448768,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789643008000,"timestamp_ms":1789643008000,"timestamp_seconds":1789643008,"priority":1,"record_length":96,"hex_timestamp":"000001a0af092800"} 
[2026-09-17 16:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 16:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148609792001,"66":14439,"219":206,"94":10240,"24":15,"16":32923149116899328,"45":1025905951548448768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148609792001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:33:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:33:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32923149116899328,"km_value":32923149116899.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025905951548448768,"description":"Unknown IO ID 45"} 
[2026-09-17 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148609792001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1025905951548448768}} 
[2026-09-17 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":185339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856604,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:33:34] local.INFO: GPS data processed {"connection_id":185339,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:33:34] local.INFO: Acknowledgment sent {"connection_id":185339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:33:35] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:33:35] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:33:35] local.INFO: IMEI packet received {"connection_id":186803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":186803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:33:37] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:33:37] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:33:37] local.INFO: IMEI packet received {"connection_id":186803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":186803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:33:41] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:33:41] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:33:41] local.INFO: IMEI packet received {"connection_id":186803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":186803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:33:42] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0900f0012d10dfc0071ea1800037001a19..."} 
[2026-09-17 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0900f0012d10dfc0071ea1800037001a19..."} 
[2026-09-17 16:33:42] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0900f0012d10dfc0071ea1800037001a19..."} 
[2026-09-17 16:33:42] local.INFO: Packet analysis {"connection_id":186803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:33:42] local.INFO: Extracted packet for processing {"connection_id":186803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756080576,"raw_latitude":119447936,"longitude_deg":75.6080576,"latitude_deg":11.9447936,"altitude":55,"angle":26,"satellites":25,"speed":38,"hex_longitude":"2d10dfc0","hex_latitude":"071ea180","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148604928001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21234451455410176,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1211186855362361344,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789642998000,"timestamp_ms":1789642998000,"timestamp_seconds":1789642998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0900f0"} 
[2026-09-17 16:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148604928001,"66":14374,"32":206,"83":41984,"24":38,"16":21234451455410176,"45":1211186855362361344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-17 16:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148604928001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:33:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 16:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21234451455410176,"km_value":21234451455410.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1211186855362361344,"description":"Unknown IO ID 45"} 
[2026-09-17 16:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148604928001,"power":14374,"unknown_32":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1211186855362361344}} 
[2026-09-17 16:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":186803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:33:42] local.INFO: GPS data processed {"connection_id":186803,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:33:42] local.INFO: Acknowledgment sent {"connection_id":186803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:33:52] local.INFO: TCP Data received {"connection_id":185495,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af08c658012d7ad44005e3f218000e015b28..."} 
[2026-09-17 16:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af08c658012d7ad44005e3f218000e015b28..."} 
[2026-09-17 16:33:52] local.INFO: Processing buffer {"connection_id":185495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af08c658012d7ad44005e3f218000e015b28..."} 
[2026-09-17 16:33:52] local.INFO: Packet analysis {"connection_id":185495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af08"} 
[2026-09-17 16:33:52] local.INFO: Extracted packet for processing {"connection_id":185495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af08"} 
[2026-09-17 16:33:52] local.INFO: GPS Element Parsed {"raw_longitude":763024448,"raw_latitude":98824728,"longitude_deg":76.3024448,"latitude_deg":9.8824728,"altitude":14,"angle":347,"satellites":40,"speed":34,"hex_longitude":"2d7ad440","hex_latitude":"05e3f218","is_valid_coordinates":true} 
[2026-09-17 16:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148600320001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134402965644509184,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853021361544642560,"note":"Value kept but may cause issues"} 
[2026-09-17 16:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789642983000,"timestamp_ms":1789642983000,"timestamp_seconds":1789642983,"priority":1,"record_length":96,"hex_timestamp":"000001a0af08c658"} 
[2026-09-17 16:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 16:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148600320001,"66":12809,"208":206,"85":15104,"24":34,"16":134402965644509184,"45":8853021361544642560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 16:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148600320001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:33:52] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 16:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 16:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134402965644509184,"km_value":134402965644509.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853021361544642560,"description":"Unknown IO ID 45"} 
[2026-09-17 16:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148600320001,"power":12809,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8853021361544642560}} 
[2026-09-17 16:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":185495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:33:52] local.INFO: GPS data processed {"connection_id":185495,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:33:52] local.INFO: Acknowledgment sent {"connection_id":185495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:33:57] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:57] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:57] local.INFO: IMEI packet received {"connection_id":188124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":188124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:33:59] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:59] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:33:59] local.INFO: IMEI packet received {"connection_id":188124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":188124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:34:02] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:34:02] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:34:02] local.INFO: IMEI packet received {"connection_id":188124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":188124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:34:07] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:34:07] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:34:07] local.INFO: IMEI packet received {"connection_id":188124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":188124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:34:07] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af092be8012d0e3a00070702e80023011f1f..."} 
[2026-09-17 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af092be8012d0e3a00070702e80023011f1f..."} 
[2026-09-17 16:34:07] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af092be8012d0e3a00070702e80023011f1f..."} 
[2026-09-17 16:34:07] local.INFO: Packet analysis {"connection_id":188124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:34:07] local.INFO: Extracted packet for processing {"connection_id":188124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:34:07] local.INFO: GPS Element Parsed {"raw_longitude":755907072,"raw_latitude":117900008,"longitude_deg":75.5907072,"latitude_deg":11.7900008,"altitude":35,"angle":287,"satellites":31,"speed":14,"hex_longitude":"2d0e3a00","hex_latitude":"070702e8","is_valid_coordinates":true} 
[2026-09-17 16:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148610048001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32923170591735808,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025554107827628032,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789643009000,"timestamp_ms":1789643009000,"timestamp_seconds":1789643009,"priority":1,"record_length":96,"hex_timestamp":"000001a0af092be8"} 
[2026-09-17 16:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 16:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148610048001,"66":14439,"219":206,"94":10240,"24":14,"16":32923170591735808,"45":1025554107827628032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148610048001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:34:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:34:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32923170591735808,"km_value":32923170591735.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025554107827628032,"description":"Unknown IO ID 45"} 
[2026-09-17 16:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148610048001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1025554107827628032}} 
[2026-09-17 16:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":188124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:34:08] local.INFO: GPS data processed {"connection_id":188124,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:34:08] local.INFO: Acknowledgment sent {"connection_id":188124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:34:12] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af092fd0012d0e3840070703280023010f20..."} 
[2026-09-17 16:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af092fd0012d0e3840070703280023010f20..."} 
[2026-09-17 16:34:12] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af092fd0012d0e3840070703280023010f20..."} 
[2026-09-17 16:34:12] local.INFO: Packet analysis {"connection_id":188124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:34:12] local.INFO: Extracted packet for processing {"connection_id":188124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:34:12] local.INFO: GPS Element Parsed {"raw_longitude":755906624,"raw_latitude":117900072,"longitude_deg":75.5906624,"latitude_deg":11.7900072,"altitude":35,"angle":271,"satellites":32,"speed":18,"hex_longitude":"2d0e3840","hex_latitude":"07070328","is_valid_coordinates":true} 
[2026-09-17 16:34: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-09-17 16:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148610304001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32923192066572288,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025131895362611200,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789643010000,"timestamp_ms":1789643010000,"timestamp_seconds":1789643010,"priority":1,"record_length":96,"hex_timestamp":"000001a0af092fd0"} 
[2026-09-17 16:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 16:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:34: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-09-17 16:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148610304001,"66":14439,"219":206,"94":10240,"24":18,"16":32923192066572288,"45":1025131895362611200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148610304001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:34:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:34:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32923192066572288,"km_value":32923192066572.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025131895362611200,"description":"Unknown IO ID 45"} 
[2026-09-17 16:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148610304001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1025131895362611200}} 
[2026-09-17 16:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":188124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856608,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:34:12] local.INFO: GPS data processed {"connection_id":188124,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:34:12] local.INFO: Acknowledgment sent {"connection_id":188124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:34:12] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af092418012d10f180071ebff00038002219..."} 
[2026-09-17 16:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af092418012d10f180071ebff00038002219..."} 
[2026-09-17 16:34:12] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af092418012d10f180071ebff00038002219..."} 
[2026-09-17 16:34:12] local.INFO: Packet analysis {"connection_id":186803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:34:12] local.INFO: Extracted packet for processing {"connection_id":186803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756085120,"raw_latitude":119455728,"longitude_deg":75.608512,"latitude_deg":11.9455728,"altitude":56,"angle":34,"satellites":25,"speed":40,"hex_longitude":"2d10f180","hex_latitude":"071ebff0","is_valid_coordinates":true} 
[2026-09-17 16:34: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-09-17 16:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148607488001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21234889542074368,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1215901561224527872,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789643007000,"timestamp_ms":1789643007000,"timestamp_seconds":1789643007,"priority":1,"record_length":96,"hex_timestamp":"000001a0af092418"} 
[2026-09-17 16:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:34: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-09-17 16:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148607488001,"66":14070,"32":206,"83":41984,"24":40,"16":21234889542074368,"45":1215901561224527872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-17 16:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148607488001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:34:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 16:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21234889542074368,"km_value":21234889542074.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1215901561224527872,"description":"Unknown IO ID 45"} 
[2026-09-17 16:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148607488001,"power":14070,"unknown_32":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1215901561224527872}} 
[2026-09-17 16:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":186803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:34:13] local.INFO: GPS data processed {"connection_id":186803,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:34:13] local.INFO: Acknowledgment sent {"connection_id":186803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:34:14] local.INFO: TCP Data received {"connection_id":185343,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:34:14] local.INFO: Processing buffer {"connection_id":185343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:34:14] local.INFO: IMEI packet received {"connection_id":185343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":185343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:34:15] local.INFO: TCP Data received {"connection_id":185341,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:34:15] local.INFO: Processing buffer {"connection_id":185341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:34:15] local.INFO: IMEI packet received {"connection_id":185341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":185341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:34:15] local.INFO: TCP Data received {"connection_id":185342,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:34:15] local.INFO: Processing buffer {"connection_id":185342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:34:15] local.INFO: IMEI packet received {"connection_id":185342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":185342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:34:19] local.INFO: TCP Data received {"connection_id":185343,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:34:19] local.INFO: Processing buffer {"connection_id":185343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:34:19] local.INFO: IMEI packet received {"connection_id":185343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":185343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:34:20] local.INFO: TCP Data received {"connection_id":185342,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:34:20] local.INFO: Processing buffer {"connection_id":185342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:34:20] local.INFO: IMEI packet received {"connection_id":185342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":185342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:34:20] local.INFO: TCP Data received {"connection_id":185343,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af08e980012d7acb8005e40fb0000f014729..."} 
[2026-09-17 16:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af08e980012d7acb8005e40fb0000f014729..."} 
[2026-09-17 16:34:20] local.INFO: Processing buffer {"connection_id":185343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af08e980012d7acb8005e40fb0000f014729..."} 
[2026-09-17 16:34:20] local.INFO: Packet analysis {"connection_id":185343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af08"} 
[2026-09-17 16:34:20] local.INFO: Extracted packet for processing {"connection_id":185343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af08"} 
[2026-09-17 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":763022208,"raw_latitude":98832304,"longitude_deg":76.3022208,"latitude_deg":9.8832304,"altitude":15,"angle":327,"satellites":41,"speed":34,"hex_longitude":"2d7acb80","hex_latitude":"05e40fb0","is_valid_coordinates":true} 
[2026-09-17 16:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148603648001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134403347896598528,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850769561733175296,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789642992000,"timestamp_ms":1789642992000,"timestamp_seconds":1789642992,"priority":1,"record_length":96,"hex_timestamp":"000001a0af08e980"} 
[2026-09-17 16:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1441151880926331904,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936509864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":175,"raw_value":532234001645766912,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3221611341,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817311,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2081305142451239652,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":1729608068305571413,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:20] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,208,85,24,241,157,16,126,160,147,45,64,15,39,10,66,100,128,173,14,41,125,38,192,1,240,3,227,175,4,113,205,21,169,8,33,239,49,2,221,5,51,59,179],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-17 16:34:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009188018866749440,"timestamp_seconds":1009188018866749.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148603648001,"66":12776,"208":206,"85":15104,"24":34,"16":134403347896598528,"45":8850769561733175296},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-17 16:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148603648001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:34:20] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-17 16:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 16:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134403347896598528,"km_value":134403347896598.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850769561733175296,"description":"Unknown IO ID 45"} 
[2026-09-17 16:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148603648001,"power":12776,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8850769561733175296}} 
[2026-09-17 16:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":185343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:34:20] local.INFO: GPS data processed {"connection_id":185343,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:34:20] local.INFO: Acknowledgment sent {"connection_id":185343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:34:21] local.INFO: TCP Data received {"connection_id":185342,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:34:21] local.INFO: Processing buffer {"connection_id":185342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:34:21] local.INFO: Packet analysis {"connection_id":185342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:34:21] local.INFO: Extracted packet for processing {"connection_id":185342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:34: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-09-17 16:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:34:21] 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-09-17 16:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":185342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:34:21] local.INFO: GPS data processed {"connection_id":185342,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:34:21] local.INFO: Acknowledgment sent {"connection_id":185342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:34:35] local.INFO: TCP Data received {"connection_id":185496,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:34:35] local.INFO: Processing buffer {"connection_id":185496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:34:35] local.INFO: IMEI packet received {"connection_id":185496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":185496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:34:37] local.INFO: TCP Data received {"connection_id":185496,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:34:37] local.INFO: Processing buffer {"connection_id":185496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:34:37] local.INFO: IMEI packet received {"connection_id":185496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":185496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:34:40] local.INFO: TCP Data received {"connection_id":185496,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:34:40] local.INFO: Processing buffer {"connection_id":185496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:34:40] local.INFO: IMEI packet received {"connection_id":185496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":185496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:34:41] local.INFO: TCP Data received {"connection_id":185496,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af094740012d1105c0071edd680035002119..."} 
[2026-09-17 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af094740012d1105c0071edd680035002119..."} 
[2026-09-17 16:34:41] local.INFO: Processing buffer {"connection_id":185496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af094740012d1105c0071edd680035002119..."} 
[2026-09-17 16:34:41] local.INFO: Packet analysis {"connection_id":185496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:34:41] local.INFO: Extracted packet for processing {"connection_id":185496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af09"} 
[2026-09-17 16:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756090304,"raw_latitude":119463272,"longitude_deg":75.6090304,"latitude_deg":11.9463272,"altitude":53,"angle":33,"satellites":25,"speed":40,"hex_longitude":"2d1105c0","hex_latitude":"071edd68","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148609792001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21235331923705856,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220897742063136768,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789643016000,"timestamp_ms":1789643016000,"timestamp_seconds":1789643016,"priority":1,"record_length":96,"hex_timestamp":"000001a0af094740"} 
[2026-09-17 16:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 16:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148609792001,"66":14004,"32":206,"83":41984,"24":40,"16":21235331923705856,"45":1220897742063136768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-17 16:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148609792001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:34:41] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-17 16:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21235331923705856,"km_value":21235331923705.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220897742063136768,"description":"Unknown IO ID 45"} 
[2026-09-17 16:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148609792001,"power":14004,"unknown_32":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1220897742063136768}} 
[2026-09-17 16:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":185496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:34:41] local.INFO: GPS data processed {"connection_id":185496,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:34:41] local.INFO: Acknowledgment sent {"connection_id":185496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:34:53] local.INFO: TCP Data received {"connection_id":185342,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:34:53] local.INFO: Processing buffer {"connection_id":185342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:34:53] local.INFO: Packet analysis {"connection_id":185342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:34:53] local.INFO: Extracted packet for processing {"connection_id":185342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:34:53] 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-09-17 16:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":185342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:34:53] local.INFO: GPS data processed {"connection_id":185342,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:34:53] local.INFO: Acknowledgment sent {"connection_id":185342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:34:55] local.INFO: TCP Data received {"connection_id":186804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:34:55] local.INFO: Processing buffer {"connection_id":186804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:34:55] local.INFO: IMEI packet received {"connection_id":186804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":186804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:34:57] local.INFO: TCP Data received {"connection_id":185344,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:34:57] local.INFO: Processing buffer {"connection_id":185344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:34:57] local.INFO: IMEI packet received {"connection_id":185344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":185344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:35:02] local.INFO: TCP Data received {"connection_id":185344,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:35:02] local.INFO: Processing buffer {"connection_id":185344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:35:02] local.INFO: IMEI packet received {"connection_id":185344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":185344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:35:02] local.INFO: TCP Data received {"connection_id":185344,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0a0e78012d0dce400706e610002100a524..."} 
[2026-09-17 16:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0a0e78012d0dce400706e610002100a524..."} 
[2026-09-17 16:35:02] local.INFO: Processing buffer {"connection_id":185344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0a0e78012d0dce400706e610002100a524..."} 
[2026-09-17 16:35:02] local.INFO: Packet analysis {"connection_id":185344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0a"} 
[2026-09-17 16:35:02] local.INFO: Extracted packet for processing {"connection_id":185344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0a"} 
[2026-09-17 16:35:02] local.INFO: GPS Element Parsed {"raw_longitude":755879488,"raw_latitude":117892624,"longitude_deg":75.5879488,"latitude_deg":11.7892624,"altitude":33,"angle":165,"satellites":36,"speed":20,"hex_longitude":"2d0dce40","hex_latitude":"0706e610","is_valid_coordinates":true} 
[2026-09-17 16:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148624128001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32924742549766144,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994380754155704320,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789643067000,"timestamp_ms":1789643067000,"timestamp_seconds":1789643067,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0a0e78"} 
[2026-09-17 16:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 16:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148624128001,"66":14494,"219":206,"94":10240,"24":20,"16":32924742549766144,"45":994380754155704320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148624128001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:35:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:35:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32924742549766144,"km_value":32924742549766.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":994380754155704320,"description":"Unknown IO ID 45"} 
[2026-09-17 16:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148624128001,"power":14494,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":994380754155704320}} 
[2026-09-17 16:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":185344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:35:03] local.INFO: GPS data processed {"connection_id":185344,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:35:03] local.INFO: Acknowledgment sent {"connection_id":185344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:35:12] local.INFO: TCP Data received {"connection_id":185496,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0a54c8012d11e9c0071f2cc80036006517..."} 
[2026-09-17 16:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0a54c8012d11e9c0071f2cc80036006517..."} 
[2026-09-17 16:35:12] local.INFO: Processing buffer {"connection_id":185496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0a54c8012d11e9c0071f2cc80036006517..."} 
[2026-09-17 16:35:12] local.INFO: Packet analysis {"connection_id":185496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0a"} 
[2026-09-17 16:35:12] local.INFO: Extracted packet for processing {"connection_id":185496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0a"} 
[2026-09-17 16:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756148672,"raw_latitude":119483592,"longitude_deg":75.6148672,"latitude_deg":11.9483592,"altitude":54,"angle":101,"satellites":23,"speed":44,"hex_longitude":"2d11e9c0","hex_latitude":"071f2cc8","is_valid_coordinates":true} 
[2026-09-17 16:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148628992001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21238935401267200,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1287114730341703680,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789643085000,"timestamp_ms":1789643085000,"timestamp_seconds":1789643085,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0a54c8"} 
[2026-09-17 16:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 16:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148628992001,"66":14428,"31":206,"83":41984,"24":44,"16":21238935401267200,"45":1287114730341703680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-17 16:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148628992001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:35:12] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 16:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21238935401267200,"km_value":21238935401267.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1287114730341703680,"description":"Unknown IO ID 45"} 
[2026-09-17 16:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148628992001,"power":14428,"unknown_31":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1287114730341703680}} 
[2026-09-17 16:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":185496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:35:12] local.INFO: GPS data processed {"connection_id":185496,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:35:12] local.INFO: Acknowledgment sent {"connection_id":185496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:35:16] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:35:16] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:35:16] local.INFO: IMEI packet received {"connection_id":186805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":186805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:35:20] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:35:20] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:35:20] local.INFO: IMEI packet received {"connection_id":186805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":186805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:35:22] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:35:22] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:35:22] local.INFO: Packet analysis {"connection_id":186805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:35:22] local.INFO: Extracted packet for processing {"connection_id":186805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:35: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-09-17 16:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:35:22] 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-09-17 16:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":186805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:35:22] local.INFO: GPS data processed {"connection_id":186805,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:35:22] local.INFO: Acknowledgment sent {"connection_id":186805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:35:29] local.INFO: TCP Data received {"connection_id":188125,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:35:29] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:35:29] local.INFO: IMEI packet received {"connection_id":188125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":188125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:35:30] local.INFO: TCP Data received {"connection_id":188125,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:35:30] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:35:30] local.INFO: IMEI packet received {"connection_id":188125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":188125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:35:32] local.INFO: TCP Data received {"connection_id":188125,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 16:35:32] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-17 16:35:32] local.INFO: IMEI packet received {"connection_id":188125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":188125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:35:34] local.INFO: TCP Data received {"connection_id":185344,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0a25e8012d0dd0800706d9e8002000b124..."} 
[2026-09-17 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0a25e8012d0dd0800706d9e8002000b124..."} 
[2026-09-17 16:35:34] local.INFO: Processing buffer {"connection_id":185344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0a25e8012d0dd0800706d9e8002000b124..."} 
[2026-09-17 16:35:34] local.INFO: Packet analysis {"connection_id":185344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0a"} 
[2026-09-17 16:35:34] local.INFO: Extracted packet for processing {"connection_id":185344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0a"} 
[2026-09-17 16:35:34] local.INFO: GPS Element Parsed {"raw_longitude":755880064,"raw_latitude":117889512,"longitude_deg":75.5880064,"latitude_deg":11.7889512,"altitude":32,"angle":177,"satellites":36,"speed":29,"hex_longitude":"2d0dd080","hex_latitude":"0706d9e8","is_valid_coordinates":true} 
[2026-09-17 16:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148625152001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32924892873621504,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994802966620147712,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789643073000,"timestamp_ms":1789643073000,"timestamp_seconds":1789643073,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0a25e8"} 
[2026-09-17 16:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-17 16:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148625152001,"66":14559,"219":206,"94":10240,"24":29,"16":32924892873621504,"45":994802966620147712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148625152001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:35:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:35:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32924892873621504,"km_value":32924892873621.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":994802966620147712,"description":"Unknown IO ID 45"} 
[2026-09-17 16:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148625152001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":994802966620147712}} 
[2026-09-17 16:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":185344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:35:34] local.INFO: GPS data processed {"connection_id":185344,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:35:34] local.INFO: Acknowledgment sent {"connection_id":185344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:35:54] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:35:54] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:35:54] local.INFO: Packet analysis {"connection_id":186805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:35:54] local.INFO: Extracted packet for processing {"connection_id":186805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:35:54] 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-09-17 16:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":186805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:35:54] local.INFO: GPS data processed {"connection_id":186805,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:35:54] local.INFO: Acknowledgment sent {"connection_id":186805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:35:56] local.INFO: TCP Data received {"connection_id":185497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185497,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:35:56] local.INFO: Processing buffer {"connection_id":185497,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:35:56] local.INFO: IMEI packet received {"connection_id":185497,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":185497,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:36:01] local.INFO: TCP Data received {"connection_id":185497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185497,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:36:01] local.INFO: Processing buffer {"connection_id":185497,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:36:01] local.INFO: IMEI packet received {"connection_id":185497,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":185497,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:36:02] local.INFO: TCP Data received {"connection_id":185497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0a4528012d0dcf800706c6b8002200a023..."} 
[2026-09-17 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0a4528012d0dcf800706c6b8002200a023..."} 
[2026-09-17 16:36:02] local.INFO: Processing buffer {"connection_id":185497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0a4528012d0dcf800706c6b8002200a023..."} 
[2026-09-17 16:36:02] local.INFO: Packet analysis {"connection_id":185497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0a"} 
[2026-09-17 16:36:02] local.INFO: Extracted packet for processing {"connection_id":185497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0a"} 
[2026-09-17 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":755879808,"raw_latitude":117884600,"longitude_deg":75.5879808,"latitude_deg":11.78846,"altitude":34,"angle":160,"satellites":35,"speed":14,"hex_longitude":"2d0dcf80","hex_latitude":"0706c6b8","is_valid_coordinates":true} 
[2026-09-17 16:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148626688001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32925133391790080,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995436285316950016,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789643081000,"timestamp_ms":1789643081000,"timestamp_seconds":1789643081,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0a4528"} 
[2026-09-17 16:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-17 16:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148626688001,"66":14439,"219":206,"94":10240,"24":14,"16":32925133391790080,"45":995436285316950016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148626688001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:36:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:36:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32925133391790080,"km_value":32925133391790.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":995436285316950016,"description":"Unknown IO ID 45"} 
[2026-09-17 16:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148626688001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":995436285316950016}} 
[2026-09-17 16:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":185497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856619,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:36:02] local.INFO: GPS data processed {"connection_id":185497,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:36:02] local.INFO: Acknowledgment sent {"connection_id":185497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:36:10] local.INFO: TCP Data received {"connection_id":188127,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:10] local.INFO: Processing buffer {"connection_id":188127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:10] local.INFO: IMEI packet received {"connection_id":188127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":188127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:36:11] local.INFO: TCP Data received {"connection_id":188127,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:11] local.INFO: Processing buffer {"connection_id":188127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:11] local.INFO: IMEI packet received {"connection_id":188127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":188127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:36:14] local.INFO: TCP Data received {"connection_id":188127,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:14] local.INFO: Processing buffer {"connection_id":188127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:14] local.INFO: IMEI packet received {"connection_id":188127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":188127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:36:15] local.INFO: TCP Data received {"connection_id":186806,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:36:15] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:36:15] local.INFO: IMEI packet received {"connection_id":186806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":186806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:36:15] local.INFO: TCP Data received {"connection_id":188127,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:15] local.INFO: Processing buffer {"connection_id":188127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:15] local.INFO: IMEI packet received {"connection_id":188127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":188127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:36:16] local.INFO: TCP Data received {"connection_id":188127,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0b6250012d12fa00071f1850002b001f19..."} 
[2026-09-17 16:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0b6250012d12fa00071f1850002b001f19..."} 
[2026-09-17 16:36:16] local.INFO: Processing buffer {"connection_id":188127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0b6250012d12fa00071f1850002b001f19..."} 
[2026-09-17 16:36:16] local.INFO: Packet analysis {"connection_id":188127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:36:16] local.INFO: Extracted packet for processing {"connection_id":188127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756218368,"raw_latitude":119478352,"longitude_deg":75.6218368,"latitude_deg":11.9478352,"altitude":43,"angle":31,"satellites":25,"speed":8,"hex_longitude":"2d12fa00","hex_latitude":"071f1850","is_valid_coordinates":true} 
[2026-09-17 16:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148647168001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242294065692672,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367194361214246912,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789643154000,"timestamp_ms":1789643154000,"timestamp_seconds":1789643154,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0b6250"} 
[2026-09-17 16:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148647168001,"66":13993,"31":206,"83":41984,"24":8,"16":21242294065692672,"45":1367194361214246912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-17 16:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148647168001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:36:16] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 16:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242294065692672,"km_value":21242294065692.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367194361214246912,"description":"Unknown IO ID 45"} 
[2026-09-17 16:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148647168001,"power":13993,"unknown_31":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1367194361214246912}} 
[2026-09-17 16:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":188127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:36:16] local.INFO: GPS data processed {"connection_id":188127,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:36:16] local.INFO: Acknowledgment sent {"connection_id":188127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:36:20] local.INFO: TCP Data received {"connection_id":186806,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:36:20] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:36:20] local.INFO: IMEI packet received {"connection_id":186806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":186806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:36:21] local.INFO: TCP Data received {"connection_id":186806,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:36:21] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:36:21] local.INFO: Packet analysis {"connection_id":186806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:36:21] local.INFO: Extracted packet for processing {"connection_id":186806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:36: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-09-17 16:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:36:21] 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-09-17 16:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":186806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:36:21] local.INFO: GPS data processed {"connection_id":186806,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:36:21] local.INFO: Acknowledgment sent {"connection_id":186806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:36:33] local.INFO: TCP Data received {"connection_id":185497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0be720012d0dcec00706c6300022014227..."} 
[2026-09-17 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0be720012d0dcec00706c6300022014227..."} 
[2026-09-17 16:36:33] local.INFO: Processing buffer {"connection_id":185497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0be720012d0dcec00706c6300022014227..."} 
[2026-09-17 16:36:33] local.INFO: Packet analysis {"connection_id":185497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:36:33] local.INFO: Extracted packet for processing {"connection_id":185497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":755879616,"raw_latitude":117884464,"longitude_deg":75.5879616,"latitude_deg":11.7884464,"altitude":34,"angle":322,"satellites":39,"speed":19,"hex_longitude":"2d0dcec0","hex_latitude":"0706c630","is_valid_coordinates":true} 
[2026-09-17 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148655872001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32925700327473152,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995365916571394048,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789643188000,"timestamp_ms":1789643188000,"timestamp_seconds":1789643188,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0be720"} 
[2026-09-17 16:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 16:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148655872001,"66":14428,"219":206,"94":10240,"24":19,"16":32925700327473152,"45":995365916571394048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148655872001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:36:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:36:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32925700327473152,"km_value":32925700327473.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":995365916571394048,"description":"Unknown IO ID 45"} 
[2026-09-17 16:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148655872001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":995365916571394048}} 
[2026-09-17 16:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":185497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:36:33] local.INFO: GPS data processed {"connection_id":185497,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:36:33] local.INFO: Acknowledgment sent {"connection_id":185497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:36:48] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:48] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:48] local.INFO: IMEI packet received {"connection_id":188128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":188128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:36:51] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:51] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:36:51] local.INFO: IMEI packet received {"connection_id":188128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":188128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:36:51] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0b6a20012d12fa80071f19b8002b001119..."} 
[2026-09-17 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0b6a20012d12fa80071f19b8002b001119..."} 
[2026-09-17 16:36:51] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0b6a20012d12fa80071f19b8002b001119..."} 
[2026-09-17 16:36:51] local.INFO: Packet analysis {"connection_id":188128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:36:51] local.INFO: Extracted packet for processing {"connection_id":188128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756218496,"raw_latitude":119478712,"longitude_deg":75.6218496,"latitude_deg":11.9478712,"altitude":43,"angle":17,"satellites":25,"speed":7,"hex_longitude":"2d12fa80","hex_latitude":"071f19b8","is_valid_coordinates":true} 
[2026-09-17 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148647424001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242311245561856,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367405467446824960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789643156000,"timestamp_ms":1789643156000,"timestamp_seconds":1789643156,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0b6a20"} 
[2026-09-17 16:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148647424001,"66":13993,"31":206,"83":41984,"24":7,"16":21242311245561856,"45":1367405467446824960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-17 16:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148647424001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:36:51] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-17 16:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242311245561856,"km_value":21242311245561.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367405467446824960,"description":"Unknown IO ID 45"} 
[2026-09-17 16:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148647424001,"power":13993,"unknown_31":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1367405467446824960}} 
[2026-09-17 16:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":188128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:36:51] local.INFO: GPS data processed {"connection_id":188128,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:36:51] local.INFO: Acknowledgment sent {"connection_id":188128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:36:53] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0ba0d0012d130140071f2f680031016718..."} 
[2026-09-17 16:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0ba0d0012d130140071f2f680031016718..."} 
[2026-09-17 16:36:53] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0ba0d0012d130140071f2f680031016718..."} 
[2026-09-17 16:36:53] local.INFO: Packet analysis {"connection_id":188128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:36:53] local.INFO: Extracted packet for processing {"connection_id":188128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756220224,"raw_latitude":119484264,"longitude_deg":75.6220224,"latitude_deg":11.9484264,"altitude":49,"angle":359,"satellites":24,"speed":18,"hex_longitude":"2d130140","hex_latitude":"071f2f68","is_valid_coordinates":true} 
[2026-09-17 16:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148647936001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242594713403392,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367546204935272448,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789643170000,"timestamp_ms":1789643170000,"timestamp_seconds":1789643170,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0ba0d0"} 
[2026-09-17 16:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148647936001,"66":14298,"145":206,"83":41984,"24":18,"16":21242594713403392,"45":1367546204935272448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-09-17 16:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148647936001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:36:53] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242594713403392,"km_value":21242594713403.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367546204935272448,"description":"Unknown IO ID 45"} 
[2026-09-17 16:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148647936001,"power":14298,"unknown_145":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1367546204935272448}} 
[2026-09-17 16:36:53] local.INFO: TCP Data received {"connection_id":186806,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:36:53] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:36:53] local.INFO: Packet analysis {"connection_id":186806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:36:53] local.INFO: Extracted packet for processing {"connection_id":186806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:36:53] 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-09-17 16:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":186806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:36:53] local.INFO: GPS data processed {"connection_id":186806,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:36:53] local.INFO: Acknowledgment sent {"connection_id":186806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":188128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:36:53] local.INFO: GPS data processed {"connection_id":188128,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:36:53] local.INFO: Acknowledgment sent {"connection_id":188128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:36:57] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:36:57] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:36:57] local.INFO: IMEI packet received {"connection_id":185345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":185345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:37:01] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:37:01] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:37:01] local.INFO: IMEI packet received {"connection_id":185345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":185345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:37:01] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0beb08012d0dce000706c8000022015727..."} 
[2026-09-17 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0beb08012d0dce000706c8000022015727..."} 
[2026-09-17 16:37:01] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0beb08012d0dce000706c8000022015727..."} 
[2026-09-17 16:37:01] local.INFO: Packet analysis {"connection_id":185345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:37:01] local.INFO: Extracted packet for processing {"connection_id":185345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:37:01] local.INFO: GPS Element Parsed {"raw_longitude":755879424,"raw_latitude":117884928,"longitude_deg":75.5879424,"latitude_deg":11.7884928,"altitude":34,"angle":343,"satellites":39,"speed":19,"hex_longitude":"2d0dce00","hex_latitude":"0706c800","is_valid_coordinates":true} 
[2026-09-17 16:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148656128001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32925721802309632,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994943704106414080,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789643189000,"timestamp_ms":1789643189000,"timestamp_seconds":1789643189,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0beb08"} 
[2026-09-17 16:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":185345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":185345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":185345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148656128001,"66":14428,"219":206,"94":10240,"24":19,"16":32925721802309632,"45":994943704106414080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148656128001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:37:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:37:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32925721802309632,"km_value":32925721802309.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":994943704106414080,"description":"Unknown IO ID 45"} 
[2026-09-17 16:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148656128001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":994943704106414080}} 
[2026-09-17 16:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":185345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856626,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:37:02] local.INFO: GPS data processed {"connection_id":185345,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:37:02] local.INFO: Acknowledgment sent {"connection_id":185345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:37:15] local.INFO: TCP Data received {"connection_id":186808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:37:15] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:37:15] local.INFO: IMEI packet received {"connection_id":186808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":186808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:37:20] local.INFO: TCP Data received {"connection_id":186808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:37:20] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:37:20] local.INFO: IMEI packet received {"connection_id":186808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":186808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:37:21] local.INFO: TCP Data received {"connection_id":186808,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:37:21] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af07c488012d34c30006aa4608000a00b524..."} 
[2026-09-17 16:37:21] local.INFO: Packet analysis {"connection_id":186808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:37:21] local.INFO: Extracted packet for processing {"connection_id":186808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af07"} 
[2026-09-17 16:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148509696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789642917000,"timestamp_ms":1789642917000,"timestamp_seconds":1789642917,"priority":1,"record_length":96,"hex_timestamp":"000001a0af07c488"} 
[2026-09-17 16:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:37: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-09-17 16:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:37:21] 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-09-17 16:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148509696001,"66":25908,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148509696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148509696001,"power":25908,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":186808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:37:21] local.INFO: GPS data processed {"connection_id":186808,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:37:21] local.INFO: Acknowledgment sent {"connection_id":186808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:37:32] local.INFO: TCP Data received {"connection_id":185345,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0beef0012d0dce000706ca380022016726..."} 
[2026-09-17 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0beef0012d0dce000706ca380022016726..."} 
[2026-09-17 16:37:32] local.INFO: Processing buffer {"connection_id":185345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0beef0012d0dce000706ca380022016726..."} 
[2026-09-17 16:37:32] local.INFO: Packet analysis {"connection_id":185345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:37:32] local.INFO: Extracted packet for processing {"connection_id":185345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:37:32] local.INFO: GPS Element Parsed {"raw_longitude":755879424,"raw_latitude":117885496,"longitude_deg":75.5879424,"latitude_deg":11.7885496,"altitude":34,"angle":359,"satellites":38,"speed":22,"hex_longitude":"2d0dce00","hex_latitude":"0706ca38","is_valid_coordinates":true} 
[2026-09-17 16:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148656384001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32925751867080704,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994732597873999872,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789643190000,"timestamp_ms":1789643190000,"timestamp_seconds":1789643190,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0beef0"} 
[2026-09-17 16:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148656384001,"66":14428,"219":206,"94":10240,"24":22,"16":32925751867080704,"45":994732597873999872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148656384001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:37:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:37:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32925751867080704,"km_value":32925751867080.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":994732597873999872,"description":"Unknown IO ID 45"} 
[2026-09-17 16:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148656384001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":994732597873999872}} 
[2026-09-17 16:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":185345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856628,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:37:33] local.INFO: GPS data processed {"connection_id":185345,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:37:33] local.INFO: Acknowledgment sent {"connection_id":185345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:37:35] local.INFO: TCP Data received {"connection_id":185346,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:37:35] local.INFO: Processing buffer {"connection_id":185346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:37:35] local.INFO: IMEI packet received {"connection_id":185346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":185346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:37:36] local.INFO: TCP Data received {"connection_id":185346,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:37:36] local.INFO: Processing buffer {"connection_id":185346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:37:36] local.INFO: IMEI packet received {"connection_id":185346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":185346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:37:44] local.INFO: TCP Data received {"connection_id":185346,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:37:44] local.INFO: Processing buffer {"connection_id":185346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:37:44] local.INFO: IMEI packet received {"connection_id":185346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":185346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:37:44] local.INFO: TCP Data received {"connection_id":185346,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0bac88012d130040071f3500002f015c18..."} 
[2026-09-17 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0bac88012d130040071f3500002f015c18..."} 
[2026-09-17 16:37:44] local.INFO: Processing buffer {"connection_id":185346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0bac88012d130040071f3500002f015c18..."} 
[2026-09-17 16:37:44] local.INFO: Packet analysis {"connection_id":185346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:37:44] local.INFO: Extracted packet for processing {"connection_id":185346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756219968,"raw_latitude":119485696,"longitude_deg":75.6219968,"latitude_deg":11.9485696,"altitude":47,"angle":348,"satellites":24,"speed":18,"hex_longitude":"2d130040","hex_latitude":"071f3500","is_valid_coordinates":true} 
[2026-09-17 16:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148651520001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21242663432880128,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1369446161029490688,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789643173000,"timestamp_ms":1789643173000,"timestamp_seconds":1789643173,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0bac88"} 
[2026-09-17 16:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 16:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148651520001,"66":14363,"145":206,"83":41984,"24":18,"16":21242663432880128,"45":1369446161029490688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-09-17 16:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148651520001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:37:44] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21242663432880128,"km_value":21242663432880.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1369446161029490688,"description":"Unknown IO ID 45"} 
[2026-09-17 16:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148651520001,"power":14363,"unknown_145":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1369446161029490688}} 
[2026-09-17 16:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":185346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:37:45] local.INFO: GPS data processed {"connection_id":185346,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:37:45] local.INFO: Acknowledgment sent {"connection_id":185346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:37:52] local.INFO: TCP Data received {"connection_id":186808,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:37:52] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:37:52] local.INFO: Packet analysis {"connection_id":186808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:37:52] local.INFO: Extracted packet for processing {"connection_id":186808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:37:52] 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-09-17 16:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":186808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:37:52] local.INFO: GPS data processed {"connection_id":186808,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:37:52] local.INFO: Acknowledgment sent {"connection_id":186808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:37:56] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:37:56] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:37:56] local.INFO: IMEI packet received {"connection_id":188129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":188129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:37:58] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:37:58] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:37:58] local.INFO: IMEI packet received {"connection_id":188129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":188129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:38:03] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:03] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:03] local.INFO: IMEI packet received {"connection_id":188129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":188129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:38:04] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0d0060012d0d58c0070714100029010d23..."} 
[2026-09-17 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0d0060012d0d58c0070714100029010d23..."} 
[2026-09-17 16:38:04] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0d0060012d0d58c0070714100029010d23..."} 
[2026-09-17 16:38:04] local.INFO: Packet analysis {"connection_id":188129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:38:04] local.INFO: Extracted packet for processing {"connection_id":188129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":755849408,"raw_latitude":117904400,"longitude_deg":75.5849408,"latitude_deg":11.79044,"altitude":41,"angle":269,"satellites":35,"speed":17,"hex_longitude":"2d0d58c0","hex_latitude":"07071410","is_valid_coordinates":true} 
[2026-09-17 16:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148673536001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32927766206742528,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963911087929096192,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789643260000,"timestamp_ms":1789643260000,"timestamp_seconds":1789643260,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0d0060"} 
[2026-09-17 16:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 16:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188129,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188129,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148673536001,"66":14396,"219":206,"94":10240,"24":17,"16":32927766206742528,"45":963911087929096192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148673536001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:38:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:38:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32927766206742528,"km_value":32927766206742.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":963911087929096192,"description":"Unknown IO ID 45"} 
[2026-09-17 16:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148673536001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":963911087929096192}} 
[2026-09-17 16:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":188129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856631,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:38:04] local.INFO: GPS data processed {"connection_id":188129,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:38:04] local.INFO: Acknowledgment sent {"connection_id":188129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:38:15] local.INFO: TCP Data received {"connection_id":185346,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0d6208012d12f8c0072005600028016619..."} 
[2026-09-17 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0d6208012d12f8c0072005600028016619..."} 
[2026-09-17 16:38:15] local.INFO: Processing buffer {"connection_id":185346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0d6208012d12f8c0072005600028016619..."} 
[2026-09-17 16:38:15] local.INFO: Packet analysis {"connection_id":185346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:38:15] local.INFO: Extracted packet for processing {"connection_id":185346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756218048,"raw_latitude":119539040,"longitude_deg":75.6218048,"latitude_deg":11.953904,"altitude":40,"angle":358,"satellites":25,"speed":27,"hex_longitude":"2d12f8c0","hex_latitude":"07200560","is_valid_coordinates":true} 
[2026-09-17 16:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148679168001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21245296247832576,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1366561042530990080,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789643285000,"timestamp_ms":1789643285000,"timestamp_seconds":1789643285,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0d6208"} 
[2026-09-17 16:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 16:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148679168001,"66":14080,"46":206,"83":41984,"24":27,"16":21245296247832576,"45":1366561042530990080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148679168001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:38:15] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21245296247832576,"km_value":21245296247832.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1366561042530990080,"description":"Unknown IO ID 45"} 
[2026-09-17 16:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148679168001,"power":14080,"unknown_46":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1366561042530990080}} 
[2026-09-17 16:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":185346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:38:16] local.INFO: GPS data processed {"connection_id":185346,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:38:16] local.INFO: Acknowledgment sent {"connection_id":185346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:38:20] local.INFO: TCP Data received {"connection_id":185499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:38:20] local.INFO: Processing buffer {"connection_id":185499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:38:20] local.INFO: IMEI packet received {"connection_id":185499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":185499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:38:25] local.INFO: TCP Data received {"connection_id":185499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:38:25] local.INFO: Processing buffer {"connection_id":185499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:38:25] local.INFO: IMEI packet received {"connection_id":185499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":185499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:38:26] local.INFO: TCP Data received {"connection_id":185499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:38:26] local.INFO: Processing buffer {"connection_id":185499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:38:26] local.INFO: Packet analysis {"connection_id":185499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:38:26] local.INFO: Extracted packet for processing {"connection_id":185499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:38:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:38:26] 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-09-17 16:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:38:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":185499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:38:26] local.INFO: GPS data processed {"connection_id":185499,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:38:26] local.INFO: Acknowledgment sent {"connection_id":185499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:38:30] local.INFO: TCP Data received {"connection_id":185499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:38:30] local.INFO: Processing buffer {"connection_id":185499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:38:30] local.INFO: Packet analysis {"connection_id":185499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:38:30] local.INFO: Extracted packet for processing {"connection_id":185499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:38:30] 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-09-17 16:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:38:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":185499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:38:30] local.INFO: GPS data processed {"connection_id":185499,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:38:30] local.INFO: Acknowledgment sent {"connection_id":185499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:38:36] local.INFO: TCP Data received {"connection_id":185348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:38:36] local.INFO: Processing buffer {"connection_id":185348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:38:36] local.INFO: IMEI packet received {"connection_id":185348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":185348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:38:36] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0d2f40012d0d4180070714780027011b22..."} 
[2026-09-17 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0d2f40012d0d4180070714780027011b22..."} 
[2026-09-17 16:38:36] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0d2f40012d0d4180070714780027011b22..."} 
[2026-09-17 16:38:36] local.INFO: Packet analysis {"connection_id":188129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:38:36] local.INFO: Extracted packet for processing {"connection_id":188129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:38:36] local.INFO: GPS Element Parsed {"raw_longitude":755843456,"raw_latitude":117904504,"longitude_deg":75.5843456,"latitude_deg":11.7904504,"altitude":39,"angle":283,"satellites":34,"speed":19,"hex_longitude":"2d0d4180","hex_latitude":"07071478","is_valid_coordinates":true} 
[2026-09-17 16:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148674560001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32928049674584064,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961729656859660288,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789643272000,"timestamp_ms":1789643272000,"timestamp_seconds":1789643272,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0d2f40"} 
[2026-09-17 16:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188129,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188129,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148674560001,"66":14439,"219":206,"94":10240,"24":19,"16":32928049674584064,"45":961729656859660288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-17 16:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148674560001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:38:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-17 16:38:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32928049674584064,"km_value":32928049674584.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":961729656859660288,"description":"Unknown IO ID 45"} 
[2026-09-17 16:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148674560001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":961729656859660288}} 
[2026-09-17 16:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":188129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:38:36] local.INFO: GPS data processed {"connection_id":188129,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:38:36] local.INFO: Acknowledgment sent {"connection_id":188129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:38:36] local.INFO: TCP Data received {"connection_id":185348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:38:36] local.INFO: Processing buffer {"connection_id":185348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:38:36] local.INFO: IMEI packet received {"connection_id":185348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":185348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:38:41] local.INFO: TCP Data received {"connection_id":185348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:38:41] local.INFO: Processing buffer {"connection_id":185348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:38:41] local.INFO: IMEI packet received {"connection_id":185348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":185348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:38:41] local.INFO: TCP Data received {"connection_id":185348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0d6dc0012d12f90007200cf00026000a19..."} 
[2026-09-17 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0d6dc0012d12f90007200cf00026000a19..."} 
[2026-09-17 16:38:41] local.INFO: Processing buffer {"connection_id":185348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0d6dc0012d12f90007200cf00026000a19..."} 
[2026-09-17 16:38:41] local.INFO: Packet analysis {"connection_id":185348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:38:41] local.INFO: Extracted packet for processing {"connection_id":185348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756218112,"raw_latitude":119540976,"longitude_deg":75.6218112,"latitude_deg":11.9540976,"altitude":38,"angle":10,"satellites":25,"speed":24,"hex_longitude":"2d12f900","hex_latitude":"07200cf0","is_valid_coordinates":true} 
[2026-09-17 16:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148680960001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21245390737113088,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367053623741472768,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789643288000,"timestamp_ms":1789643288000,"timestamp_seconds":1789643288,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0d6dc0"} 
[2026-09-17 16:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-17 16:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446313216,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936847864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3813146678,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:38:41] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":466879,"corrected_to":0} 
[2026-09-17 16:38:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3670017,"corrected_to":0} 
[2026-09-17 16:38:41] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-09-17 16:38:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,46,83,24,241,157,16,122,160,70,45,242,47,25,10,66,145,62,128,237,50,192,1,240,227,175,31,4,113,205,15,229,247,200,239,54,2,75,7,56,19],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0},{"io_id":247,"original":466879,"validated":0},{"io_id":200,"original":3670017,"validated":0}]} 
[2026-09-17 16:38:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882697494055813120,"timestamp_seconds":2882697494055813.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148680960001,"66":13993,"46":206,"83":41984,"24":24,"16":21245390737113088,"45":1367053623741472768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148680960001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:38:41] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21245390737113088,"km_value":21245390737113.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367053623741472768,"description":"Unknown IO ID 45"} 
[2026-09-17 16:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148680960001,"power":13993,"unknown_46":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1367053623741472768}} 
[2026-09-17 16:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":185348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:38:41] local.INFO: GPS data processed {"connection_id":185348,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:38:41] local.INFO: Acknowledgment sent {"connection_id":185348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:38:56] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:56] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:56] local.INFO: IMEI packet received {"connection_id":188130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":188130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:38:59] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:59] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:59] local.INFO: IMEI packet received {"connection_id":188130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":188130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:38:59] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:59] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:38:59] local.INFO: IMEI packet received {"connection_id":188130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":188130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:39:00] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:39:00] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:39:00] local.INFO: IMEI packet received {"connection_id":188130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":188130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:39:13] local.INFO: TCP Data received {"connection_id":185348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0d71a8012d12fa4007200f280026001819..."} 
[2026-09-17 16:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0d71a8012d12fa4007200f280026001819..."} 
[2026-09-17 16:39:13] local.INFO: Processing buffer {"connection_id":185348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0d71a8012d12fa4007200f280026001819..."} 
[2026-09-17 16:39:13] local.INFO: Packet analysis {"connection_id":185348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:39:13] local.INFO: Extracted packet for processing {"connection_id":185348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0d"} 
[2026-09-17 16:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756218432,"raw_latitude":119541544,"longitude_deg":75.6218432,"latitude_deg":11.9541544,"altitude":38,"angle":24,"satellites":25,"speed":25,"hex_longitude":"2d12fa40","hex_latitude":"07200f28","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148681728001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21245420801884160,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367123992486146048,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789643289000,"timestamp_ms":1789643289000,"timestamp_seconds":1789643289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0d71a8"} 
[2026-09-17 16:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148681728001,"66":13222,"46":206,"83":41984,"24":25,"16":21245420801884160,"45":1367123992486146048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148681728001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:39:13] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21245420801884160,"km_value":21245420801884.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367123992486146048,"description":"Unknown IO ID 45"} 
[2026-09-17 16:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148681728001,"power":13222,"unknown_46":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1367123992486146048}} 
[2026-09-17 16:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":185348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:39:13] local.INFO: GPS data processed {"connection_id":185348,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:39:13] local.INFO: Acknowledgment sent {"connection_id":185348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:39:15] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:39:15] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:39:15] local.INFO: IMEI packet received {"connection_id":186809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":186809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:39:20] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:39:20] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:39:20] local.INFO: IMEI packet received {"connection_id":186809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":186809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:39:21] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:39:21] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:39:21] local.INFO: Packet analysis {"connection_id":186809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:39:21] local.INFO: Extracted packet for processing {"connection_id":186809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:39:21] 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-09-17 16:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":186809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:39:21] local.INFO: GPS data processed {"connection_id":186809,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:39:21] local.INFO: Acknowledgment sent {"connection_id":186809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:39:25] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:39:25] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:39:25] local.INFO: Packet analysis {"connection_id":186809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:39:25] local.INFO: Extracted packet for processing {"connection_id":186809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:39:25] 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-09-17 16:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":186809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:39:25] local.INFO: GPS data processed {"connection_id":186809,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:39:25] local.INFO: Acknowledgment sent {"connection_id":186809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:39:35] local.INFO: TCP Data received {"connection_id":188131,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:39:35] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:39:35] local.INFO: IMEI packet received {"connection_id":188131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":188131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:39:41] local.INFO: TCP Data received {"connection_id":188131,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:39:41] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:39:41] local.INFO: IMEI packet received {"connection_id":188131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":188131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:39:41] local.INFO: TCP Data received {"connection_id":188131,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0e7f30012d1303c007205aa00019007e19..."} 
[2026-09-17 16:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0e7f30012d1303c007205aa00019007e19..."} 
[2026-09-17 16:39:41] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0e7f30012d1303c007205aa00019007e19..."} 
[2026-09-17 16:39:41] local.INFO: Packet analysis {"connection_id":188131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:39:41] local.INFO: Extracted packet for processing {"connection_id":188131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756220864,"raw_latitude":119560864,"longitude_deg":75.6220864,"latitude_deg":11.9560864,"altitude":25,"angle":126,"satellites":25,"speed":2,"hex_longitude":"2d1303c0","hex_latitude":"07205aa0","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148699392001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21246438709133312,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1369938742258356224,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789643358000,"timestamp_ms":1789643358000,"timestamp_seconds":1789643358,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0e7f30"} 
[2026-09-17 16:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148699392001,"66":14374,"46":206,"83":41984,"24":2,"16":21246438709133312,"45":1369938742258356224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148699392001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:39:41] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21246438709133312,"km_value":21246438709133.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1369938742258356224,"description":"Unknown IO ID 45"} 
[2026-09-17 16:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148699392001,"power":14374,"unknown_46":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1369938742258356224}} 
[2026-09-17 16:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":188131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:39:41] local.INFO: GPS data processed {"connection_id":188131,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:39:41] local.INFO: Acknowledgment sent {"connection_id":188131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:39:57] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:39:57] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:39:57] local.INFO: Packet analysis {"connection_id":186809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:39:57] local.INFO: Extracted packet for processing {"connection_id":186809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:39:57] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:39:57] 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-09-17 16:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:39:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":186809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:39:57] local.INFO: GPS data processed {"connection_id":186809,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:39:57] local.INFO: Acknowledgment sent {"connection_id":186809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:40:11] local.INFO: TCP Data received {"connection_id":188132,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:40:11] local.INFO: Processing buffer {"connection_id":188132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:40:11] local.INFO: IMEI packet received {"connection_id":188132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":188132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:40:12] local.INFO: TCP Data received {"connection_id":188131,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0e8318012d13044007205a880019006f19..."} 
[2026-09-17 16:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0e8318012d13044007205a880019006f19..."} 
[2026-09-17 16:40:12] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0e8318012d13044007205a880019006f19..."} 
[2026-09-17 16:40:12] local.INFO: Packet analysis {"connection_id":188131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:40:12] local.INFO: Extracted packet for processing {"connection_id":188131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756220992,"raw_latitude":119560840,"longitude_deg":75.6220992,"latitude_deg":11.956084,"altitude":25,"angle":111,"satellites":25,"speed":3,"hex_longitude":"2d130440","hex_latitude":"07205a88","is_valid_coordinates":true} 
[2026-09-17 16:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148699648001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21246447299067904,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1370149848490876928,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789643359000,"timestamp_ms":1789643359000,"timestamp_seconds":1789643359,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0e8318"} 
[2026-09-17 16:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148699648001,"66":13798,"46":206,"83":41984,"24":3,"16":21246447299067904,"45":1370149848490876928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148699648001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:40:12] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21246447299067904,"km_value":21246447299067.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1370149848490876928,"description":"Unknown IO ID 45"} 
[2026-09-17 16:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148699648001,"power":13798,"unknown_46":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1370149848490876928}} 
[2026-09-17 16:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":188131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:40:12] local.INFO: GPS data processed {"connection_id":188131,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:40:12] local.INFO: Acknowledgment sent {"connection_id":188131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:40:15] local.INFO: TCP Data received {"connection_id":186810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:40:15] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:40:15] local.INFO: IMEI packet received {"connection_id":186810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":186810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:40:20] local.INFO: TCP Data received {"connection_id":186810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:40:20] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:40:20] local.INFO: IMEI packet received {"connection_id":186810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":186810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:40:21] local.INFO: TCP Data received {"connection_id":186810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:40:21] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:40:21] local.INFO: Packet analysis {"connection_id":186810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:40:21] local.INFO: Extracted packet for processing {"connection_id":186810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:40:21] 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-09-17 16:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":186810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:40:22] local.INFO: GPS data processed {"connection_id":186810,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:40:22] local.INFO: Acknowledgment sent {"connection_id":186810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:40:35] local.INFO: TCP Data received {"connection_id":185350,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:40:35] local.INFO: Processing buffer {"connection_id":185350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:40:35] local.INFO: IMEI packet received {"connection_id":185350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":185350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:40:41] local.INFO: TCP Data received {"connection_id":185350,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:40:41] local.INFO: Processing buffer {"connection_id":185350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:40:41] local.INFO: IMEI packet received {"connection_id":185350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":185350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:40:42] local.INFO: TCP Data received {"connection_id":185350,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0e92b8012d13048007205a68001900c219..."} 
[2026-09-17 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0e92b8012d13048007205a68001900c219..."} 
[2026-09-17 16:40:42] local.INFO: Processing buffer {"connection_id":185350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0e92b8012d13048007205a68001900c219..."} 
[2026-09-17 16:40:42] local.INFO: Packet analysis {"connection_id":185350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:40:42] local.INFO: Extracted packet for processing {"connection_id":185350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756221056,"raw_latitude":119560808,"longitude_deg":75.6221056,"latitude_deg":11.9560808,"altitude":25,"angle":194,"satellites":25,"speed":0,"hex_longitude":"2d130480","hex_latitude":"07205a68","is_valid_coordinates":true} 
[2026-09-17 16:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148700160001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21246460183969792,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1370360954723409920,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789643363000,"timestamp_ms":1789643363000,"timestamp_seconds":1789643363,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0e92b8"} 
[2026-09-17 16:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-17 16:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148700160001,"66":14428,"46":206,"83":41984,"24":0,"16":21246460183969792,"45":1370360954723409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148700160001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:40:42] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21246460183969792,"km_value":21246460183969.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1370360954723409920,"description":"Unknown IO ID 45"} 
[2026-09-17 16:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148700160001,"power":14428,"unknown_46":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1370360954723409920}} 
[2026-09-17 16:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":185350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:40:42] local.INFO: GPS data processed {"connection_id":185350,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:40:42] local.INFO: Acknowledgment sent {"connection_id":185350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:40:53] local.INFO: TCP Data received {"connection_id":186810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:40:53] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:40:53] local.INFO: Packet analysis {"connection_id":186810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:40:53] local.INFO: Extracted packet for processing {"connection_id":186810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:40:53] 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-09-17 16:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":186810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:40:53] local.INFO: GPS data processed {"connection_id":186810,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:40:53] local.INFO: Acknowledgment sent {"connection_id":186810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:40:55] local.INFO: TCP Data received {"connection_id":186811,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:40:55] local.INFO: Processing buffer {"connection_id":186811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:40:55] local.INFO: IMEI packet received {"connection_id":186811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":186811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:41:13] local.INFO: TCP Data received {"connection_id":185350,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0e9a88012d13048007205948001900ab19..."} 
[2026-09-17 16:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0e9a88012d13048007205948001900ab19..."} 
[2026-09-17 16:41:13] local.INFO: Processing buffer {"connection_id":185350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0e9a88012d13048007205948001900ab19..."} 
[2026-09-17 16:41:13] local.INFO: Packet analysis {"connection_id":185350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:41:13] local.INFO: Extracted packet for processing {"connection_id":185350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756221056,"raw_latitude":119560520,"longitude_deg":75.6221056,"latitude_deg":11.956052,"altitude":25,"angle":171,"satellites":25,"speed":8,"hex_longitude":"2d130480","hex_latitude":"07205948","is_valid_coordinates":true} 
[2026-09-17 16:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148700928001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21246473068871680,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1370360954723395584,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789643365000,"timestamp_ms":1789643365000,"timestamp_seconds":1789643365,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0e9a88"} 
[2026-09-17 16:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148700928001,"66":14374,"46":206,"83":41984,"24":8,"16":21246473068871680,"45":1370360954723395584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148700928001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:41:13] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21246473068871680,"km_value":21246473068871.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1370360954723395584,"description":"Unknown IO ID 45"} 
[2026-09-17 16:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148700928001,"power":14374,"unknown_46":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1370360954723395584}} 
[2026-09-17 16:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":185350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:41:13] local.INFO: GPS data processed {"connection_id":185350,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:41:13] local.INFO: Acknowledgment sent {"connection_id":185350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:41:15] local.INFO: TCP Data received {"connection_id":186812,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:41:15] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:41:15] local.INFO: IMEI packet received {"connection_id":186812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":186812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:41:20] local.INFO: TCP Data received {"connection_id":186812,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:41:20] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:41:20] local.INFO: IMEI packet received {"connection_id":186812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":186812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:41:21] local.INFO: TCP Data received {"connection_id":186812,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:41:21] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:41:21] local.INFO: Packet analysis {"connection_id":186812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:41:21] local.INFO: Extracted packet for processing {"connection_id":186812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:41:21] 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-09-17 16:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":186812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:41:21] local.INFO: GPS data processed {"connection_id":186812,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:41:21] local.INFO: Acknowledgment sent {"connection_id":186812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:41:41] local.INFO: TCP Data received {"connection_id":185501,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:41:41] local.INFO: Processing buffer {"connection_id":185501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:41:41] local.INFO: IMEI packet received {"connection_id":185501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":185501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:41:45] local.INFO: TCP Data received {"connection_id":185501,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:41:45] local.INFO: Processing buffer {"connection_id":185501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:41:45] local.INFO: IMEI packet received {"connection_id":185501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":185501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:41:46] local.INFO: TCP Data received {"connection_id":185501,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0eb9c8012d13058007205310001700bd19..."} 
[2026-09-17 16:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0eb9c8012d13058007205310001700bd19..."} 
[2026-09-17 16:41:46] local.INFO: Processing buffer {"connection_id":185501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0eb9c8012d13058007205310001700bd19..."} 
[2026-09-17 16:41:46] local.INFO: Packet analysis {"connection_id":185501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:41:46] local.INFO: Extracted packet for processing {"connection_id":185501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0e"} 
[2026-09-17 16:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756221312,"raw_latitude":119558928,"longitude_deg":75.6221312,"latitude_deg":11.9558928,"altitude":23,"angle":189,"satellites":25,"speed":0,"hex_longitude":"2d130580","hex_latitude":"07205310","is_valid_coordinates":true} 
[2026-09-17 16:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148701440001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21246554673250304,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1370360954723321856,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789643373000,"timestamp_ms":1789643373000,"timestamp_seconds":1789643373,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0eb9c8"} 
[2026-09-17 16:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148701440001,"66":13993,"46":206,"83":41984,"24":0,"16":21246554673250304,"45":1370360954723321856},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148701440001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:41:46] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21246554673250304,"km_value":21246554673250.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1370360954723321856,"description":"Unknown IO ID 45"} 
[2026-09-17 16:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148701440001,"power":13993,"unknown_46":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1370360954723321856}} 
[2026-09-17 16:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":185501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:41:46] local.INFO: GPS data processed {"connection_id":185501,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:41:46] local.INFO: Acknowledgment sent {"connection_id":185501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:41:51] local.INFO: TCP Data received {"connection_id":185501,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0f0bd0012d13058007205320001700bd1b..."} 
[2026-09-17 16:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0f0bd0012d13058007205320001700bd1b..."} 
[2026-09-17 16:41:51] local.INFO: Processing buffer {"connection_id":185501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0f0bd0012d13058007205320001700bd1b..."} 
[2026-09-17 16:41:51] local.INFO: Packet analysis {"connection_id":185501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0f"} 
[2026-09-17 16:41:51] local.INFO: Extracted packet for processing {"connection_id":185501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0f"} 
[2026-09-17 16:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756221312,"raw_latitude":119558944,"longitude_deg":75.6221312,"latitude_deg":11.9558944,"altitude":23,"angle":189,"satellites":27,"speed":0,"hex_longitude":"2d130580","hex_latitude":"07205320","is_valid_coordinates":true} 
[2026-09-17 16:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148703488001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21246554673250304,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1370642429699624960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789643394000,"timestamp_ms":1789643394000,"timestamp_seconds":1789643394,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0f0bd0"} 
[2026-09-17 16:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148703488001,"66":14102,"46":206,"83":41984,"24":0,"16":21246554673250304,"45":1370642429699624960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148703488001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:41:51] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21246554673250304,"km_value":21246554673250.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1370642429699624960,"description":"Unknown IO ID 45"} 
[2026-09-17 16:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148703488001,"power":14102,"unknown_46":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1370642429699624960}} 
[2026-09-17 16:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":185501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:41:51] local.INFO: GPS data processed {"connection_id":185501,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:41:51] local.INFO: Acknowledgment sent {"connection_id":185501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:41:53] local.INFO: TCP Data received {"connection_id":186812,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:41:53] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:41:53] local.INFO: Packet analysis {"connection_id":186812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:41:53] local.INFO: Extracted packet for processing {"connection_id":186812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:41:53] 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-09-17 16:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":186812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:41:53] local.INFO: GPS data processed {"connection_id":186812,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:41:53] local.INFO: Acknowledgment sent {"connection_id":186812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:42:13] local.INFO: TCP Data received {"connection_id":188134,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:42:13] local.INFO: Processing buffer {"connection_id":188134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:42:13] local.INFO: IMEI packet received {"connection_id":188134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":188134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:42:15] local.INFO: TCP Data received {"connection_id":185503,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:42:15] local.INFO: Processing buffer {"connection_id":185503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:42:15] local.INFO: IMEI packet received {"connection_id":185503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":185503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:42:18] local.INFO: TCP Data received {"connection_id":188134,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:42:18] local.INFO: Processing buffer {"connection_id":188134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:42:18] local.INFO: IMEI packet received {"connection_id":188134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":188134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:42:20] local.INFO: TCP Data received {"connection_id":185503,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:42:20] local.INFO: Processing buffer {"connection_id":185503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:42:20] local.INFO: IMEI packet received {"connection_id":185503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":185503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:42:20] local.INFO: TCP Data received {"connection_id":188134,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0bfe90012d7a0fc005e468680012004b28..."} 
[2026-09-17 16:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0bfe90012d7a0fc005e468680012004b28..."} 
[2026-09-17 16:42:20] local.INFO: Processing buffer {"connection_id":188134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0bfe90012d7a0fc005e468680012004b28..."} 
[2026-09-17 16:42:20] local.INFO: Packet analysis {"connection_id":188134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:42:20] local.INFO: Extracted packet for processing {"connection_id":188134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0b"} 
[2026-09-17 16:42:20] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":98855016,"longitude_deg":76.2974144,"latitude_deg":9.8855016,"altitude":18,"angle":75,"satellites":40,"speed":12,"hex_longitude":"2d7a0fc0","hex_latitude":"05e46868","is_valid_coordinates":true} 
[2026-09-17 16:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148654848001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407771712913408,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790463547980484608,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789643194000,"timestamp_ms":1789643194000,"timestamp_seconds":1789643194,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0bfe90"} 
[2026-09-17 16:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 16:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148654848001,"66":13243,"145":206,"87":12288,"24":12,"16":134407771712913408,"45":8790463547980484608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148654848001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:42:20] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:42:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407771712913408,"km_value":134407771712913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790463547980484608,"description":"Unknown IO ID 45"} 
[2026-09-17 16:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148654848001,"power":13243,"unknown_145":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8790463547980484608}} 
[2026-09-17 16:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":188134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:42:20] local.INFO: GPS data processed {"connection_id":188134,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:42:20] local.INFO: Acknowledgment sent {"connection_id":188134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:42:21] local.INFO: TCP Data received {"connection_id":185503,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:42:21] local.INFO: Processing buffer {"connection_id":185503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5c50012d34c30006aa4608000a00b526..."} 
[2026-09-17 16:42:21] local.INFO: Packet analysis {"connection_id":185503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:42:21] local.INFO: Extracted packet for processing {"connection_id":185503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:42:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148586752001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789643218000,"timestamp_ms":1789643218000,"timestamp_seconds":1789643218,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5c50"} 
[2026-09-17 16:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 16:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:42:21] 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-09-17 16:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148586752001,"66":25875,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148586752001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148586752001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":185503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:42:21] local.INFO: GPS data processed {"connection_id":185503,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:42:21] local.INFO: Acknowledgment sent {"connection_id":185503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:42:36] local.INFO: TCP Data received {"connection_id":188135,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:42:36] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:42:36] local.INFO: IMEI packet received {"connection_id":188135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":188135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:42:41] local.INFO: TCP Data received {"connection_id":188135,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:42:41] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:42:41] local.INFO: IMEI packet received {"connection_id":188135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":188135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:42:43] local.INFO: TCP Data received {"connection_id":188135,"ip":"42.106.6.23","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0af..."} 
[2026-09-17 16:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0af..."} 
[2026-09-17 16:42:43] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0af..."} 
[2026-09-17 16:42:43] local.INFO: IMEI packet received {"connection_id":188135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":188135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:42:50] local.INFO: TCP Data received {"connection_id":188135,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10d4d8012d12f700071fbad0003600bd1d..."} 
[2026-09-17 16:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10d4d8012d12f700071fbad0003600bd1d..."} 
[2026-09-17 16:42:50] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0af10c920012d12f780071fc0d0003600b11d..."} 
[2026-09-17 16:42:50] local.INFO: Packet analysis {"connection_id":188135,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:42:50] local.INFO: Extracted packet for processing {"connection_id":188135,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756217728,"raw_latitude":119521488,"longitude_deg":75.6217728,"latitude_deg":11.9521488,"altitude":54,"angle":177,"satellites":29,"speed":17,"hex_longitude":"2d12f780","hex_latitude":"071fc0d0","is_valid_coordinates":true} 
[2026-09-17 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148733696001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21248435868925952,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367405467459870720,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789643508000,"timestamp_ms":1789643508000,"timestamp_seconds":1789643508,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10c920"} 
[2026-09-17 16:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-17 16:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148733696001,"66":14004,"46":206,"83":41984,"24":17,"16":21248435868925952,"45":1367405467459870720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148733696001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:42:50] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21248435868925952,"km_value":21248435868925.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367405467459870720,"description":"Unknown IO ID 45"} 
[2026-09-17 16:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148733696001,"power":14004,"unknown_46":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1367405467459870720}} 
[2026-09-17 16:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":188135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:42:50] local.INFO: GPS data processed {"connection_id":188135,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:42:50] local.INFO: Acknowledgment sent {"connection_id":188135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:42:50] local.INFO: Packet analysis {"connection_id":188135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:42:50] local.INFO: Extracted packet for processing {"connection_id":188135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756217600,"raw_latitude":119519952,"longitude_deg":75.62176,"latitude_deg":11.9519952,"altitude":54,"angle":189,"satellites":29,"speed":21,"hex_longitude":"2d12f700","hex_latitude":"071fbad0","is_valid_coordinates":true} 
[2026-09-17 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148738048001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21248508883369984,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1366701780016091136,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789643511000,"timestamp_ms":1789643511000,"timestamp_seconds":1789643511,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10d4d8"} 
[2026-09-17 16:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 16:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148738048001,"66":14004,"46":206,"83":41984,"24":21,"16":21248508883369984,"45":1366701780016091136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148738048001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:42:50] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21248508883369984,"km_value":21248508883369.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1366701780016091136,"description":"Unknown IO ID 45"} 
[2026-09-17 16:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148738048001,"power":14004,"unknown_46":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1366701780016091136}} 
[2026-09-17 16:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":188135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:42:50] local.INFO: GPS data processed {"connection_id":188135,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:42:50] local.INFO: Acknowledgment sent {"connection_id":188135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:42:53] local.INFO: TCP Data received {"connection_id":185503,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:42:53] local.INFO: Processing buffer {"connection_id":185503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:42:53] local.INFO: Packet analysis {"connection_id":185503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:42:53] local.INFO: Extracted packet for processing {"connection_id":185503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:42:53] 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-09-17 16:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":185503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:42:53] local.INFO: GPS data processed {"connection_id":185503,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:42:53] local.INFO: Acknowledgment sent {"connection_id":185503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:42:57] local.INFO: TCP Data received {"connection_id":188135,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af111740012d12f040071f9cd0003300af1d..."} 
[2026-09-17 16:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af111740012d12f040071f9cd0003300af1d..."} 
[2026-09-17 16:42:57] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af111740012d12f040071f9cd0003300af1d..."} 
[2026-09-17 16:42:57] local.INFO: Packet analysis {"connection_id":188135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af11"} 
[2026-09-17 16:42:57] local.INFO: Extracted packet for processing {"connection_id":188135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af11"} 
[2026-09-17 16:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756215872,"raw_latitude":119512272,"longitude_deg":75.6215872,"latitude_deg":11.9512272,"altitude":51,"angle":175,"satellites":29,"speed":16,"hex_longitude":"2d12f040","hex_latitude":"071f9cd0","is_valid_coordinates":true} 
[2026-09-17 16:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148738816001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21248895430426624,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1366561042527342592,"note":"Value kept but may cause issues"} 
[2026-09-17 16:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789643528000,"timestamp_ms":1789643528000,"timestamp_seconds":1789643528,"priority":1,"record_length":96,"hex_timestamp":"000001a0af111740"} 
[2026-09-17 16:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 16:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148738816001,"66":14048,"46":206,"83":41984,"24":16,"16":21248895430426624,"45":1366561042527342592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148738816001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:42:57] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21248895430426624,"km_value":21248895430426.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1366561042527342592,"description":"Unknown IO ID 45"} 
[2026-09-17 16:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148738816001,"power":14048,"unknown_46":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1366561042527342592}} 
[2026-09-17 16:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":188135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:42:57] local.INFO: GPS data processed {"connection_id":188135,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:42:57] local.INFO: Acknowledgment sent {"connection_id":188135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:43:08] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:43:08] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:43:08] local.INFO: IMEI packet received {"connection_id":188136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":188136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:43:13] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:43:13] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:43:13] local.INFO: IMEI packet received {"connection_id":188136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":188136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:43:16] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c0a48012d7a12c005e469500012004029..."} 
[2026-09-17 16:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c0a48012d7a12c005e469500012004029..."} 
[2026-09-17 16:43:16] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c0a48012d7a12c005e469500012004029..."} 
[2026-09-17 16:43:16] local.INFO: Packet analysis {"connection_id":188136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:43:16] local.INFO: Extracted packet for processing {"connection_id":188136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:43:16] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":98855248,"longitude_deg":76.2974912,"latitude_deg":9.8855248,"altitude":18,"angle":64,"satellites":41,"speed":9,"hex_longitude":"2d7a12c0","hex_latitude":"05e46950","is_valid_coordinates":true} 
[2026-09-17 16:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148657664001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407810367619072,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728817285120,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789643197000,"timestamp_ms":1789643197000,"timestamp_seconds":1789643197,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c0a48"} 
[2026-09-17 16:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 16:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148657664001,"66":12722,"145":206,"87":12288,"24":9,"16":134407810367619072,"45":8795459728817285120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148657664001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:43:16] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:43:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407810367619072,"km_value":134407810367619.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728817285120,"description":"Unknown IO ID 45"} 
[2026-09-17 16:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148657664001,"power":12722,"unknown_145":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8795459728817285120}} 
[2026-09-17 16:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":188136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:43:16] local.INFO: GPS data processed {"connection_id":188136,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:43:16] local.INFO: Acknowledgment sent {"connection_id":188136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:43:21] local.INFO: TCP Data received {"connection_id":186814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:43:21] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:43:21] local.INFO: IMEI packet received {"connection_id":186814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":186814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:43:25] local.INFO: TCP Data received {"connection_id":186814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:43:25] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:43:25] local.INFO: IMEI packet received {"connection_id":186814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":186814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:43:26] local.INFO: TCP Data received {"connection_id":186814,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:43:26] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:43:26] local.INFO: Packet analysis {"connection_id":186814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:43:26] local.INFO: Extracted packet for processing {"connection_id":186814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:43:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:43:26] 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-09-17 16:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:43:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":186814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:43:26] local.INFO: GPS data processed {"connection_id":186814,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:43:26] local.INFO: Acknowledgment sent {"connection_id":186814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:43:31] local.INFO: TCP Data received {"connection_id":186814,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:43:31] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:43:31] local.INFO: Packet analysis {"connection_id":186814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:43:31] local.INFO: Extracted packet for processing {"connection_id":186814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:43:31] 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-09-17 16:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":186814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:43:31] local.INFO: GPS data processed {"connection_id":186814,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:43:31] local.INFO: Acknowledgment sent {"connection_id":186814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:43:35] local.INFO: TCP Data received {"connection_id":188137,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:43:35] local.INFO: Processing buffer {"connection_id":188137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:43:35] local.INFO: IMEI packet received {"connection_id":188137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":188137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:43:42] local.INFO: TCP Data received {"connection_id":188137,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:43:42] local.INFO: Processing buffer {"connection_id":188137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:43:42] local.INFO: IMEI packet received {"connection_id":188137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":188137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:43:43] local.INFO: TCP Data received {"connection_id":188137,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1151d8012d12f480071f7f28003300a21d..."} 
[2026-09-17 16:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1151d8012d12f480071f7f28003300a21d..."} 
[2026-09-17 16:43:43] local.INFO: Processing buffer {"connection_id":188137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1151d8012d12f480071f7f28003300a21d..."} 
[2026-09-17 16:43:43] local.INFO: Packet analysis {"connection_id":188137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af11"} 
[2026-09-17 16:43:43] local.INFO: Extracted packet for processing {"connection_id":188137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af11"} 
[2026-09-17 16:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756216960,"raw_latitude":119504680,"longitude_deg":75.621696,"latitude_deg":11.950468,"altitude":51,"angle":162,"satellites":29,"speed":20,"hex_longitude":"2d12f480","hex_latitude":"071f7f28","is_valid_coordinates":true} 
[2026-09-17 16:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148743168001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21249264797614080,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1364661086432579584,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789643543000,"timestamp_ms":1789643543000,"timestamp_seconds":1789643543,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1151d8"} 
[2026-09-17 16:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 16:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148743168001,"66":14102,"46":206,"83":41984,"24":20,"16":21249264797614080,"45":1364661086432579584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,45]} 
[2026-09-17 16:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148743168001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:43:43] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-17 16:43:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21249264797614080,"km_value":21249264797614.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1364661086432579584,"description":"Unknown IO ID 45"} 
[2026-09-17 16:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148743168001,"power":14102,"unknown_46":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1364661086432579584}} 
[2026-09-17 16:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":188137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:43:43] local.INFO: GPS data processed {"connection_id":188137,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:43:43] local.INFO: Acknowledgment sent {"connection_id":188137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:43:49] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c1218012d7a140005e469900012004c28..."} 
[2026-09-17 16:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c1218012d7a140005e469900012004c28..."} 
[2026-09-17 16:43:49] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c1218012d7a140005e469900012004c28..."} 
[2026-09-17 16:43:49] local.INFO: Packet analysis {"connection_id":188136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:43:49] local.INFO: Extracted packet for processing {"connection_id":188136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:43:49] local.INFO: GPS Element Parsed {"raw_longitude":762975232,"raw_latitude":98855312,"longitude_deg":76.2975232,"latitude_deg":9.8855312,"altitude":18,"angle":76,"satellites":40,"speed":5,"hex_longitude":"2d7a1400","hex_latitude":"05e46990","is_valid_coordinates":true} 
[2026-09-17 16:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148658432001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407827547488256,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153747476480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789643199000,"timestamp_ms":1789643199000,"timestamp_seconds":1789643199,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c1218"} 
[2026-09-17 16:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 16:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148658432001,"66":12722,"145":206,"87":12288,"24":5,"16":134407827547488256,"45":8796304153747476480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148658432001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:43:49] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:43:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407827547488256,"km_value":134407827547488.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153747476480,"description":"Unknown IO ID 45"} 
[2026-09-17 16:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148658432001,"power":12722,"unknown_145":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8796304153747476480}} 
[2026-09-17 16:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":188136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:43:49] local.INFO: GPS data processed {"connection_id":188136,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:43:49] local.INFO: Acknowledgment sent {"connection_id":188136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:44:01] local.INFO: TCP Data received {"connection_id":185354,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:44:01] local.INFO: Processing buffer {"connection_id":185354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:44:01] local.INFO: IMEI packet received {"connection_id":185354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":185354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:44:02] local.INFO: TCP Data received {"connection_id":185354,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af12bd20012d0aeec007066ef0000a00d521..."} 
[2026-09-17 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af12bd20012d0aeec007066ef0000a00d521..."} 
[2026-09-17 16:44:02] local.INFO: Processing buffer {"connection_id":185354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af12bd20012d0aeec007066ef0000a00d521..."} 
[2026-09-17 16:44:02] local.INFO: Packet analysis {"connection_id":185354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:44:02] local.INFO: Extracted packet for processing {"connection_id":185354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":755691200,"raw_latitude":117862128,"longitude_deg":75.56912,"latitude_deg":11.7862128,"altitude":10,"angle":213,"satellites":33,"speed":6,"hex_longitude":"2d0aeec0","hex_latitude":"07066ef0","is_valid_coordinates":true} 
[2026-09-17 16:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148768768001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32938160027598848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789818814823133184,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789643636000,"timestamp_ms":1789643636000,"timestamp_seconds":1789643636,"priority":1,"record_length":96,"hex_timestamp":"000001a0af12bd20"} 
[2026-09-17 16:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-17 16:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148768768001,"66":14428,"163":206,"94":10240,"24":6,"16":32938160027598848,"45":789818814823133184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-17 16:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148768768001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:44:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-17 16:44:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32938160027598848,"km_value":32938160027598.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":789818814823133184,"description":"Unknown IO ID 45"} 
[2026-09-17 16:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148768768001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":789818814823133184}} 
[2026-09-17 16:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":185354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:44:02] local.INFO: GPS data processed {"connection_id":185354,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:44:02] local.INFO: Acknowledgment sent {"connection_id":185354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:44:15] local.INFO: TCP Data received {"connection_id":186815,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:44:15] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:44:15] local.INFO: IMEI packet received {"connection_id":186815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":186815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:44:20] local.INFO: TCP Data received {"connection_id":186815,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:44:20] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:44:20] local.INFO: IMEI packet received {"connection_id":186815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":186815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:44:22] local.INFO: TCP Data received {"connection_id":186815,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:44:22] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:44:22] local.INFO: Packet analysis {"connection_id":186815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:44:22] local.INFO: Extracted packet for processing {"connection_id":186815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:44:22] 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-09-17 16:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:44:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":186815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:44:22] local.INFO: GPS data processed {"connection_id":186815,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:44:22] local.INFO: Acknowledgment sent {"connection_id":186815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:44:28] local.INFO: TCP Data received {"connection_id":188137,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af128a58012d12fb40071f14a0003300741d..."} 
[2026-09-17 16:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af128a58012d12fb40071f14a0003300741d..."} 
[2026-09-17 16:44:28] local.INFO: Processing buffer {"connection_id":188137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af128a58012d12fb40071f14a0003300741d..."} 
[2026-09-17 16:44:28] local.INFO: Packet analysis {"connection_id":188137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:44:28] local.INFO: Extracted packet for processing {"connection_id":188137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756218688,"raw_latitude":119477408,"longitude_deg":75.6218688,"latitude_deg":11.9477408,"altitude":51,"angle":116,"satellites":29,"speed":12,"hex_longitude":"2d12fb40","hex_latitude":"071f14a0","is_valid_coordinates":true} 
[2026-09-17 16:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148767232001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21250643482116096,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367546204934971392,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789643623000,"timestamp_ms":1789643623000,"timestamp_seconds":1789643623,"priority":1,"record_length":96,"hex_timestamp":"000001a0af128a58"} 
[2026-09-17 16:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148767232001,"66":14374,"145":206,"83":41984,"24":12,"16":21250643482116096,"45":1367546204934971392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-09-17 16:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148767232001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:44:28] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21250643482116096,"km_value":21250643482116.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367546204934971392,"description":"Unknown IO ID 45"} 
[2026-09-17 16:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148767232001,"power":14374,"unknown_145":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1367546204934971392}} 
[2026-09-17 16:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":188137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:44:28] local.INFO: GPS data processed {"connection_id":188137,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:44:28] local.INFO: Acknowledgment sent {"connection_id":188137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:44:32] local.INFO: TCP Data received {"connection_id":185355,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:44:32] local.INFO: Processing buffer {"connection_id":185355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:44:32] local.INFO: IMEI packet received {"connection_id":185355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":185355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:44:33] local.INFO: TCP Data received {"connection_id":185354,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af12c108012d0aee8007066e48000a00ba22..."} 
[2026-09-17 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af12c108012d0aee8007066e48000a00ba22..."} 
[2026-09-17 16:44:33] local.INFO: Processing buffer {"connection_id":185354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af12c108012d0aee8007066e48000a00ba22..."} 
[2026-09-17 16:44:33] local.INFO: Packet analysis {"connection_id":185354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:44:33] local.INFO: Extracted packet for processing {"connection_id":185354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":755691136,"raw_latitude":117861960,"longitude_deg":75.5691136,"latitude_deg":11.786196,"altitude":10,"angle":186,"satellites":34,"speed":7,"hex_longitude":"2d0aee80","hex_latitude":"07066e48","is_valid_coordinates":true} 
[2026-09-17 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148770816001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32938168617533440,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787778121241653248,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789643637000,"timestamp_ms":1789643637000,"timestamp_seconds":1789643637,"priority":1,"record_length":96,"hex_timestamp":"000001a0af12c108"} 
[2026-09-17 16:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148770816001,"66":14450,"163":206,"94":10240,"24":7,"16":32938168617533440,"45":787778121241653248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-17 16:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148770816001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:44:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-17 16:44:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32938168617533440,"km_value":32938168617533.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":787778121241653248,"description":"Unknown IO ID 45"} 
[2026-09-17 16:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148770816001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":787778121241653248}} 
[2026-09-17 16:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":185354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856665,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:44:34] local.INFO: GPS data processed {"connection_id":185354,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:44:34] local.INFO: Acknowledgment sent {"connection_id":185354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:44:35] local.INFO: TCP Data received {"connection_id":185355,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:44:35] local.INFO: Processing buffer {"connection_id":185355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:44:35] local.INFO: IMEI packet received {"connection_id":185355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":185355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:44:40] local.INFO: TCP Data received {"connection_id":185355,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:44:40] local.INFO: Processing buffer {"connection_id":185355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:44:40] local.INFO: IMEI packet received {"connection_id":185355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":185355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:44:41] local.INFO: TCP Data received {"connection_id":185355,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af12bd20012d131e40071f09700037006a1b..."} 
[2026-09-17 16:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af12bd20012d131e40071f09700037006a1b..."} 
[2026-09-17 16:44:41] local.INFO: Processing buffer {"connection_id":185355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af12bd20012d131e40071f09700037006a1b..."} 
[2026-09-17 16:44:41] local.INFO: Packet analysis {"connection_id":185355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:44:41] local.INFO: Extracted packet for processing {"connection_id":185355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756227648,"raw_latitude":119474544,"longitude_deg":75.6227648,"latitude_deg":11.9474544,"altitude":55,"angle":106,"satellites":27,"speed":38,"hex_longitude":"2d131e40","hex_latitude":"071f0970","is_valid_coordinates":true} 
[2026-09-17 16:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148767488001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21251085863747584,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367757311167471616,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789643636000,"timestamp_ms":1789643636000,"timestamp_seconds":1789643636,"priority":1,"record_length":96,"hex_timestamp":"000001a0af12bd20"} 
[2026-09-17 16:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148767488001,"66":14396,"145":206,"83":41984,"24":38,"16":21251085863747584,"45":1367757311167471616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-09-17 16:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148767488001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:44:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21251085863747584,"km_value":21251085863747.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367757311167471616,"description":"Unknown IO ID 45"} 
[2026-09-17 16:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148767488001,"power":14396,"unknown_145":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1367757311167471616}} 
[2026-09-17 16:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":185355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:44:41] local.INFO: GPS data processed {"connection_id":185355,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:44:41] local.INFO: Acknowledgment sent {"connection_id":185355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:44:53] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:44:53] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:44:53] local.INFO: IMEI packet received {"connection_id":186816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":186816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:44:53] local.INFO: TCP Data received {"connection_id":186815,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:44:53] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:44:53] local.INFO: Packet analysis {"connection_id":186815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:44:53] local.INFO: Extracted packet for processing {"connection_id":186815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:44:53] 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-09-17 16:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":186815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:44:54] local.INFO: GPS data processed {"connection_id":186815,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:44:54] local.INFO: Acknowledgment sent {"connection_id":186815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:44:56] local.INFO: TCP Data received {"connection_id":185505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:44:56] local.INFO: Processing buffer {"connection_id":185505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:44:56] local.INFO: IMEI packet received {"connection_id":185505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":185505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:44:58] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:44:58] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:44:58] local.INFO: IMEI packet received {"connection_id":186816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":186816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:44:59] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c4cb0012d7a158005e469500011004c26..."} 
[2026-09-17 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c4cb0012d7a158005e469500011004c26..."} 
[2026-09-17 16:44:59] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c4cb0012d7a158005e469500011004c26..."} 
[2026-09-17 16:44:59] local.INFO: Packet analysis {"connection_id":186816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:44:59] local.INFO: Extracted packet for processing {"connection_id":186816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":98855248,"longitude_deg":76.2975616,"latitude_deg":9.8855248,"altitude":17,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d7a1580","hex_latitude":"05e46950","is_valid_coordinates":true} 
[2026-09-17 16:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796655997468381184,"note":"Value kept but may cause issues"} 
[2026-09-17 16:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789643214000,"timestamp_ms":1789643214000,"timestamp_seconds":1789643214,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c4cb0"} 
[2026-09-17 16:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 16:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148658944001,"66":12809,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8796655997468381184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:44:59] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:44:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796655997468381184,"description":"Unknown IO ID 45"} 
[2026-09-17 16:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148658944001,"power":12809,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796655997468381184}} 
[2026-09-17 16:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":186816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:44:59] local.INFO: GPS data processed {"connection_id":186816,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:44:59] local.INFO: Acknowledgment sent {"connection_id":186816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:45:02] local.INFO: TCP Data received {"connection_id":185505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:45:02] local.INFO: Processing buffer {"connection_id":185505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:45:02] local.INFO: IMEI packet received {"connection_id":185505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":185505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:45:03] local.INFO: TCP Data received {"connection_id":185505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af12c4f0012d0aeec007066d08000a00a523..."} 
[2026-09-17 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af12c4f0012d0aeec007066d08000a00a523..."} 
[2026-09-17 16:45:03] local.INFO: Processing buffer {"connection_id":185505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af12c4f0012d0aeec007066d08000a00a523..."} 
[2026-09-17 16:45:03] local.INFO: Packet analysis {"connection_id":185505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:45:03] local.INFO: Extracted packet for processing {"connection_id":185505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":755691200,"raw_latitude":117861640,"longitude_deg":75.56912,"latitude_deg":11.786164,"altitude":10,"angle":165,"satellites":35,"speed":12,"hex_longitude":"2d0aeec0","hex_latitude":"07066d08","is_valid_coordinates":true} 
[2026-09-17 16:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148771072001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32938185797402624,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787707752497432576,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789643638000,"timestamp_ms":1789643638000,"timestamp_seconds":1789643638,"priority":1,"record_length":96,"hex_timestamp":"000001a0af12c4f0"} 
[2026-09-17 16:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 16:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148771072001,"66":14450,"163":206,"94":10240,"24":12,"16":32938185797402624,"45":787707752497432576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-17 16:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148771072001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:45:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-17 16:45:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32938185797402624,"km_value":32938185797402.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":787707752497432576,"description":"Unknown IO ID 45"} 
[2026-09-17 16:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148771072001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":787707752497432576}} 
[2026-09-17 16:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":185505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:45:03] local.INFO: GPS data processed {"connection_id":185505,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:45:03] local.INFO: Acknowledgment sent {"connection_id":185505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:45:03] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c4cb0012d7a158005e469500011004c26..."} 
[2026-09-17 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c4cb0012d7a158005e469500011004c26..."} 
[2026-09-17 16:45:03] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c4cb0012d7a158005e469500011004c26..."} 
[2026-09-17 16:45:03] local.INFO: Packet analysis {"connection_id":186816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:45:03] local.INFO: Extracted packet for processing {"connection_id":186816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":98855248,"longitude_deg":76.2975616,"latitude_deg":9.8855248,"altitude":17,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d7a1580","hex_latitude":"05e46950","is_valid_coordinates":true} 
[2026-09-17 16:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148662784001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078209933430784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789643214000,"timestamp_ms":1789643214000,"timestamp_seconds":1789643214,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c4cb0"} 
[2026-09-17 16:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936755864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3221611620,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":175,"raw_value":815908001611906624,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3087084921,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2196504576,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1989245232780092122,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512644854591913,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,145,87,24,241,157,16,131,160,18,45,105,40,10,66,192,41,254,1,240,187,227,175,228,4,113,205,7,164,88,39,239,51,2,221,5,17,50,48,223],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-17 16:45:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225062824737243375,"timestamp_seconds":1225062824737243.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148662784001,"66":12809,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8797078209933430784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148662784001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:45:03] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:45:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078209933430784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148662784001,"power":12809,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8797078209933430784}} 
[2026-09-17 16:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":186816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:45:04] local.INFO: GPS data processed {"connection_id":186816,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:45:04] local.INFO: Acknowledgment sent {"connection_id":186816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:45:12] local.INFO: TCP Data received {"connection_id":185355,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af12e048012d134080071eff500035006a1a..."} 
[2026-09-17 16:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af12e048012d134080071eff500035006a1a..."} 
[2026-09-17 16:45:12] local.INFO: Processing buffer {"connection_id":185355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af12e048012d134080071eff500035006a1a..."} 
[2026-09-17 16:45:12] local.INFO: Packet analysis {"connection_id":185355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:45:12] local.INFO: Extracted packet for processing {"connection_id":185355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af12"} 
[2026-09-17 16:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756236416,"raw_latitude":119471952,"longitude_deg":75.6236416,"latitude_deg":11.9471952,"altitude":53,"angle":106,"satellites":26,"speed":42,"hex_longitude":"2d134080","hex_latitude":"071eff50","is_valid_coordinates":true} 
[2026-09-17 16:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148770816001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21251523950411776,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1377608935351611392,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789643645000,"timestamp_ms":1789643645000,"timestamp_seconds":1789643645,"priority":1,"record_length":96,"hex_timestamp":"000001a0af12e048"} 
[2026-09-17 16:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148770816001,"66":13993,"145":206,"83":41984,"24":42,"16":21251523950411776,"45":1377608935351611392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-09-17 16:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148770816001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:45:12] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21251523950411776,"km_value":21251523950411.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1377608935351611392,"description":"Unknown IO ID 45"} 
[2026-09-17 16:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148770816001,"power":13993,"unknown_145":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1377608935351611392}} 
[2026-09-17 16:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":185355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:45:12] local.INFO: GPS data processed {"connection_id":185355,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:45:12] local.INFO: Acknowledgment sent {"connection_id":185355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:45:16] local.INFO: TCP Data received {"connection_id":185356,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:45:16] local.INFO: Processing buffer {"connection_id":185356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:45:16] local.INFO: IMEI packet received {"connection_id":185356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":185356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:45:20] local.INFO: TCP Data received {"connection_id":185356,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:45:20] local.INFO: Processing buffer {"connection_id":185356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:45:20] local.INFO: IMEI packet received {"connection_id":185356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":185356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:45:21] local.INFO: TCP Data received {"connection_id":185356,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:45:21] local.INFO: Processing buffer {"connection_id":185356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:45:21] local.INFO: Packet analysis {"connection_id":185356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:45:21] local.INFO: Extracted packet for processing {"connection_id":185356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:45:21] 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-09-17 16:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":185356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:45:21] local.INFO: GPS data processed {"connection_id":185356,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:45:21] local.INFO: Acknowledgment sent {"connection_id":185356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:45:34] local.INFO: TCP Data received {"connection_id":185505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af13d278012d0b4f80070601480010001823..."} 
[2026-09-17 16:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af13d278012d0b4f80070601480010001823..."} 
[2026-09-17 16:45:34] local.INFO: Processing buffer {"connection_id":185505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af13d278012d0b4f80070601480010001823..."} 
[2026-09-17 16:45:34] local.INFO: Packet analysis {"connection_id":185505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af13"} 
[2026-09-17 16:45:34] local.INFO: Extracted packet for processing {"connection_id":185505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af13"} 
[2026-09-17 16:45:34] local.INFO: GPS Element Parsed {"raw_longitude":755715968,"raw_latitude":117834056,"longitude_deg":75.5715968,"latitude_deg":11.7834056,"altitude":16,"angle":24,"satellites":35,"speed":10,"hex_longitude":"2d0b4f80","hex_latitude":"07060148","is_valid_coordinates":true} 
[2026-09-17 16:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148788224001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32940092762882048,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998556672,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789643707000,"timestamp_ms":1789643707000,"timestamp_seconds":1789643707,"priority":1,"record_length":96,"hex_timestamp":"000001a0af13d278"} 
[2026-09-17 16:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 16:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148788224001,"66":14374,"165":206,"94":10240,"24":10,"16":32940092762882048,"45":814799718998556672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148788224001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:45:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:45:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32940092762882048,"km_value":32940092762882.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998556672,"description":"Unknown IO ID 45"} 
[2026-09-17 16:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148788224001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":814799718998556672}} 
[2026-09-17 16:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":185505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:45:34] local.INFO: GPS data processed {"connection_id":185505,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:45:34] local.INFO: Acknowledgment sent {"connection_id":185505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:45:35] local.INFO: TCP Data received {"connection_id":186817,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:45:35] local.INFO: Processing buffer {"connection_id":186817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:45:35] local.INFO: IMEI packet received {"connection_id":186817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":186817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:45:36] local.INFO: TCP Data received {"connection_id":186817,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:45:36] local.INFO: Processing buffer {"connection_id":186817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:45:36] local.INFO: IMEI packet received {"connection_id":186817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":186817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:45:38] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:45:38] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:45:38] local.INFO: Packet analysis {"connection_id":186816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:45:38] local.INFO: Extracted packet for processing {"connection_id":186816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":98855248,"longitude_deg":76.2975616,"latitude_deg":9.8855248,"altitude":17,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d7a1580","hex_latitude":"05e46950","is_valid_coordinates":true} 
[2026-09-17 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148662784001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078209933430784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789643215000,"timestamp_ms":1789643215000,"timestamp_seconds":1789643215,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5098"} 
[2026-09-17 16:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936775864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":175,"raw_value":817007513239682560,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2550214009,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":51,"raw_value":1729608114493247063,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2197094400,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1989429950733567959,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,145,87,24,241,157,16,131,160,76,45,128,105,17,38,10,66,18,40,192,1,240,178,227,175,228,4,113,205,12,211,254,144,239,51,2,221,5,48,236],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-17 16:45:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225062824737243376,"timestamp_seconds":1225062824737243.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148662784001,"66":13059,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8797078209933430784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148662784001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:45:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:45:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078209933430784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148662784001,"power":13059,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8797078209933430784}} 
[2026-09-17 16:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":186816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:45:38] local.INFO: GPS data processed {"connection_id":186816,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:45:38] local.INFO: Acknowledgment sent {"connection_id":186816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:45:40] local.INFO: TCP Data received {"connection_id":186817,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:45:40] local.INFO: Processing buffer {"connection_id":186817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:45:40] local.INFO: IMEI packet received {"connection_id":186817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":186817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:45:41] local.INFO: TCP Data received {"connection_id":186817,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af130370012d136200071ef8300031005e1a..."} 
[2026-09-17 16:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af130370012d136200071ef8300031005e1a..."} 
[2026-09-17 16:45:41] local.INFO: Processing buffer {"connection_id":186817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af130370012d136200071ef8300031005e1a..."} 
[2026-09-17 16:45:41] local.INFO: Packet analysis {"connection_id":186817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af13"} 
[2026-09-17 16:45:41] local.INFO: Extracted packet for processing {"connection_id":186817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af13"} 
[2026-09-17 16:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756244992,"raw_latitude":119470128,"longitude_deg":75.6244992,"latitude_deg":11.9470128,"altitude":49,"angle":94,"satellites":26,"speed":38,"hex_longitude":"2d136200","hex_latitude":"071ef830","is_valid_coordinates":true} 
[2026-09-17 16:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148773120001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21251936267272192,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1387249453303287808,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789643654000,"timestamp_ms":1789643654000,"timestamp_seconds":1789643654,"priority":1,"record_length":96,"hex_timestamp":"000001a0af130370"} 
[2026-09-17 16:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148773120001,"66":13993,"145":206,"83":41984,"24":38,"16":21251936267272192,"45":1387249453303287808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-09-17 16:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148773120001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:45:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21251936267272192,"km_value":21251936267272.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1387249453303287808,"description":"Unknown IO ID 45"} 
[2026-09-17 16:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148773120001,"power":13993,"unknown_145":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1387249453303287808}} 
[2026-09-17 16:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":186817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:45:42] local.INFO: GPS data processed {"connection_id":186817,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:45:42] local.INFO: Acknowledgment sent {"connection_id":186817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:45:52] local.INFO: TCP Data received {"connection_id":185356,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:45:52] local.INFO: Processing buffer {"connection_id":185356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:45:52] local.INFO: Packet analysis {"connection_id":185356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:45:52] local.INFO: Extracted packet for processing {"connection_id":185356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:45:52] 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-09-17 16:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":185356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:45:52] local.INFO: GPS data processed {"connection_id":185356,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:45:52] local.INFO: Acknowledgment sent {"connection_id":185356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:02] local.INFO: TCP Data received {"connection_id":185506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:02] local.INFO: Processing buffer {"connection_id":185506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:02] local.INFO: IMEI packet received {"connection_id":185506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":185506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:46:05] local.INFO: TCP Data received {"connection_id":185507,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:46:05] local.INFO: Processing buffer {"connection_id":185507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:46:05] local.INFO: IMEI packet received {"connection_id":185507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":185507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:46:07] local.INFO: TCP Data received {"connection_id":185506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:07] local.INFO: Processing buffer {"connection_id":185506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:07] local.INFO: IMEI packet received {"connection_id":185506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":185506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:46:07] local.INFO: TCP Data received {"connection_id":185506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af13edd0012d0b5340070609b80011000a22..."} 
[2026-09-17 16:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af13edd0012d0b5340070609b80011000a22..."} 
[2026-09-17 16:46:07] local.INFO: Processing buffer {"connection_id":185506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af13edd0012d0b5340070609b80011000a22..."} 
[2026-09-17 16:46:07] local.INFO: Packet analysis {"connection_id":185506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af13"} 
[2026-09-17 16:46:07] local.INFO: Extracted packet for processing {"connection_id":185506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af13"} 
[2026-09-17 16:46:07] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836216,"longitude_deg":75.5716928,"latitude_deg":11.7836216,"altitude":17,"angle":10,"satellites":34,"speed":9,"hex_longitude":"2d0b5340","hex_latitude":"070609b8","is_valid_coordinates":true} 
[2026-09-17 16:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148788992001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32940208726999040,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815010825231222784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789643714000,"timestamp_ms":1789643714000,"timestamp_seconds":1789643714,"priority":1,"record_length":96,"hex_timestamp":"000001a0af13edd0"} 
[2026-09-17 16:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":185506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":185506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":185506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148788992001,"66":14580,"165":206,"94":10240,"24":9,"16":32940208726999040,"45":815010825231222784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148788992001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:46:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:46:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32940208726999040,"km_value":32940208726999.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":815010825231222784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148788992001,"power":14580,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":815010825231222784}} 
[2026-09-17 16:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":185506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:46:08] local.INFO: GPS data processed {"connection_id":185506,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:46:08] local.INFO: Acknowledgment sent {"connection_id":185506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:08] local.INFO: TCP Data received {"connection_id":185506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af13f1b8012d0b534007060a600011016323..."} 
[2026-09-17 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af13f1b8012d0b534007060a600011016323..."} 
[2026-09-17 16:46:08] local.INFO: Processing buffer {"connection_id":185506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af13f1b8012d0b534007060a600011016323..."} 
[2026-09-17 16:46:08] local.INFO: Packet analysis {"connection_id":185506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af13"} 
[2026-09-17 16:46:08] local.INFO: Extracted packet for processing {"connection_id":185506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af13"} 
[2026-09-17 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836384,"longitude_deg":75.5716928,"latitude_deg":11.7836384,"altitude":17,"angle":355,"satellites":35,"speed":6,"hex_longitude":"2d0b5340","hex_latitude":"07060a60","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148790784001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32940213021966336,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394440704,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789643715000,"timestamp_ms":1789643715000,"timestamp_seconds":1789643715,"priority":1,"record_length":96,"hex_timestamp":"000001a0af13f1b8"} 
[2026-09-17 16:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-17 16:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148790784001,"66":14537,"165":206,"94":10240,"24":6,"16":32940213021966336,"45":816066356394440704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148790784001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:46:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:46:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32940213021966336,"km_value":32940213021966.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394440704,"description":"Unknown IO ID 45"} 
[2026-09-17 16:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148790784001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":816066356394440704}} 
[2026-09-17 16:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":185506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856678,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:46:09] local.INFO: GPS data processed {"connection_id":185506,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:46:09] local.INFO: Acknowledgment sent {"connection_id":185506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:09] local.INFO: TCP Data received {"connection_id":185507,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:46:09] local.INFO: Processing buffer {"connection_id":185507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:46:09] local.INFO: IMEI packet received {"connection_id":185507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":185507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:46:10] local.INFO: TCP Data received {"connection_id":185507,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:46:10] local.INFO: Processing buffer {"connection_id":185507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:46:10] local.INFO: Packet analysis {"connection_id":185507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:46:10] local.INFO: Extracted packet for processing {"connection_id":185507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:46:10] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":98855248,"longitude_deg":76.2975616,"latitude_deg":9.8855248,"altitude":17,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d7a1580","hex_latitude":"05e46950","is_valid_coordinates":true} 
[2026-09-17 16:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663040001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078209933430784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789643215000,"timestamp_ms":1789643215000,"timestamp_seconds":1789643215,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5098"} 
[2026-09-17 16:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869034,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":145,"raw_value":58079708874014727,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936787864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2415996282,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391978,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2200436736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831861248,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,145,87,24,241,157,16,131,160,76,45,128,105,17,38,10,66,18,1,240,178,227,175,228,4,113,205,9,254,15,104,40,239,51,2,221,5,7],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-17 16:46:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225062824737243375,"timestamp_seconds":1225062824737243.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663040001,"66":13059,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8797078209933430784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663040001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:46:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:46:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078209933430784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663040001,"power":13059,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8797078209933430784}} 
[2026-09-17 16:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":185507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:46:10] local.INFO: GPS data processed {"connection_id":185507,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:46:10] local.INFO: Acknowledgment sent {"connection_id":185507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:13] local.INFO: TCP Data received {"connection_id":186817,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af146eb8012d14a900071f7c40003a003d1d..."} 
[2026-09-17 16:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af146eb8012d14a900071f7c40003a003d1d..."} 
[2026-09-17 16:46:13] local.INFO: Processing buffer {"connection_id":186817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af146eb8012d14a900071f7c40003a003d1d..."} 
[2026-09-17 16:46:13] local.INFO: Packet analysis {"connection_id":186817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:46:13] local.INFO: Extracted packet for processing {"connection_id":186817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756328704,"raw_latitude":119503936,"longitude_deg":75.6328704,"latitude_deg":11.9503936,"altitude":58,"angle":61,"satellites":29,"speed":38,"hex_longitude":"2d14a900","hex_latitude":"071f7c40","is_valid_coordinates":true} 
[2026-09-17 16:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148796672001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21256295659077632,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1479784351903680512,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789643747000,"timestamp_ms":1789643747000,"timestamp_seconds":1789643747,"priority":1,"record_length":96,"hex_timestamp":"000001a0af146eb8"} 
[2026-09-17 16:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148796672001,"66":13993,"11":206,"83":41984,"24":38,"16":21256295659077632,"45":1479784351903680512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 16:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148796672001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:46:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 16:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21256295659077632,"km_value":21256295659077.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1479784351903680512,"description":"Unknown IO ID 45"} 
[2026-09-17 16:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148796672001,"power":13993,"unknown_11":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1479784351903680512}} 
[2026-09-17 16:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":186817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:46:13] local.INFO: GPS data processed {"connection_id":186817,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:46:13] local.INFO: Acknowledgment sent {"connection_id":186817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:15] local.INFO: TCP Data received {"connection_id":188138,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:46:15] local.INFO: Processing buffer {"connection_id":188138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:46:15] local.INFO: IMEI packet received {"connection_id":188138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":188138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:46:15] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:46:15] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:46:15] local.INFO: IMEI packet received {"connection_id":186818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":186818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:46:20] local.INFO: TCP Data received {"connection_id":188138,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:46:20] local.INFO: Processing buffer {"connection_id":188138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:46:20] local.INFO: IMEI packet received {"connection_id":188138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":188138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:46:21] local.INFO: TCP Data received {"connection_id":188138,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:46:21] local.INFO: Processing buffer {"connection_id":188138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:46:21] local.INFO: Packet analysis {"connection_id":188138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:46:21] local.INFO: Extracted packet for processing {"connection_id":188138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:46:21] 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-09-17 16:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":188138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:46:21] local.INFO: GPS data processed {"connection_id":188138,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:46:21] local.INFO: Acknowledgment sent {"connection_id":188138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:36] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:46:36] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:46:36] local.INFO: IMEI packet received {"connection_id":188139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":188139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:46:36] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:46:36] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:46:36] local.INFO: IMEI packet received {"connection_id":188139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":188139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:46:40] local.INFO: TCP Data received {"connection_id":185506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af143fd8012d0b538007060b380011016323..."} 
[2026-09-17 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af143fd8012d0b538007060b380011016323..."} 
[2026-09-17 16:46:40] local.INFO: Processing buffer {"connection_id":185506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af143fd8012d0b538007060b380011016323..."} 
[2026-09-17 16:46:40] local.INFO: Packet analysis {"connection_id":185506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:46:40] local.INFO: Extracted packet for processing {"connection_id":185506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":755716992,"raw_latitude":117836600,"longitude_deg":75.5716992,"latitude_deg":11.78366,"altitude":17,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d0b5380","hex_latitude":"07060b38","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148791040001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32940225906868224,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394483712,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789643735000,"timestamp_ms":1789643735000,"timestamp_seconds":1789643735,"priority":1,"record_length":96,"hex_timestamp":"000001a0af143fd8"} 
[2026-09-17 16:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 16:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185506,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148791040001,"66":14439,"165":206,"94":10240,"24":0,"16":32940225906868224,"45":816066356394483712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148791040001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:46:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:46:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32940225906868224,"km_value":32940225906868.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394483712,"description":"Unknown IO ID 45"} 
[2026-09-17 16:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148791040001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816066356394483712}} 
[2026-09-17 16:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":185506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:46:40] local.INFO: GPS data processed {"connection_id":185506,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:46:40] local.INFO: Acknowledgment sent {"connection_id":185506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:41] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:46:41] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:46:41] local.INFO: IMEI packet received {"connection_id":188139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":188139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:46:42] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1495c8012d14ca40071f8a10003d00481d..."} 
[2026-09-17 16:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1495c8012d14ca40071f8a10003d00481d..."} 
[2026-09-17 16:46:42] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1495c8012d14ca40071f8a10003d00481d..."} 
[2026-09-17 16:46:42] local.INFO: Packet analysis {"connection_id":188139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:46:42] local.INFO: Extracted packet for processing {"connection_id":188139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756337216,"raw_latitude":119507472,"longitude_deg":75.6337216,"latitude_deg":11.9507472,"altitude":61,"angle":72,"satellites":29,"speed":35,"hex_longitude":"2d14ca40","hex_latitude":"071f8a10","is_valid_coordinates":true} 
[2026-09-17 16:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148799232001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21256733745741824,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1488721182415667200,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789643757000,"timestamp_ms":1789643757000,"timestamp_seconds":1789643757,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1495c8"} 
[2026-09-17 16:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148799232001,"66":13993,"11":206,"83":41984,"24":35,"16":21256733745741824,"45":1488721182415667200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 16:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148799232001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:46:42] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 16:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21256733745741824,"km_value":21256733745741.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1488721182415667200,"description":"Unknown IO ID 45"} 
[2026-09-17 16:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148799232001,"power":13993,"unknown_11":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1488721182415667200}} 
[2026-09-17 16:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":188139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:46:42] local.INFO: GPS data processed {"connection_id":188139,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:46:42] local.INFO: Acknowledgment sent {"connection_id":188139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:42] local.INFO: TCP Data received {"connection_id":185507,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:46:42] local.INFO: Processing buffer {"connection_id":185507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:46:42] local.INFO: Packet analysis {"connection_id":185507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:46:42] local.INFO: Extracted packet for processing {"connection_id":185507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":98855248,"longitude_deg":76.2975616,"latitude_deg":9.8855248,"altitude":17,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d7a1580","hex_latitude":"05e46950","is_valid_coordinates":true} 
[2026-09-17 16:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663040001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078209933430784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789643215000,"timestamp_ms":1789643215000,"timestamp_seconds":1789643215,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5098"} 
[2026-09-17 16:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869034,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":145,"raw_value":58079708874014732,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936798864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832047616,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2201026560,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,145,87,24,241,157,16,131,160,80,45,128,105,17,38,10,66,76,240,9,227,175,228,4,113,205,5,18,41,239,1,49,2,221,12],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-17 16:46:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225062824737243376,"timestamp_seconds":1225062824737243.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663040001,"66":13059,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8797078209933430784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663040001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:46:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:46:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078209933430784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663040001,"power":13059,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8797078209933430784}} 
[2026-09-17 16:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":185507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:46:42] local.INFO: GPS data processed {"connection_id":185507,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:46:42] local.INFO: Acknowledgment sent {"connection_id":185507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:52] local.INFO: TCP Data received {"connection_id":188138,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:46:52] local.INFO: Processing buffer {"connection_id":188138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:46:52] local.INFO: Packet analysis {"connection_id":188138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:46:52] local.INFO: Extracted packet for processing {"connection_id":188138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:46:52] 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-09-17 16:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":188138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:46:52] local.INFO: GPS data processed {"connection_id":188138,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:46:52] local.INFO: Acknowledgment sent {"connection_id":188138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:46:55] local.INFO: TCP Data received {"connection_id":185357,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:46:55] local.INFO: Processing buffer {"connection_id":185357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:46:55] local.INFO: IMEI packet received {"connection_id":185357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":185357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:46:58] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:58] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:58] local.INFO: IMEI packet received {"connection_id":185508,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":185508,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:46:59] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:59] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:46:59] local.INFO: IMEI packet received {"connection_id":185508,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":185508,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:47:02] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:47:02] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:47:02] local.INFO: IMEI packet received {"connection_id":185508,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":185508,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:47:03] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1447a8012d0b544007060a68001100c523..."} 
[2026-09-17 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1447a8012d0b544007060a68001100c523..."} 
[2026-09-17 16:47:03] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1447a8012d0b544007060a68001100c523..."} 
[2026-09-17 16:47:03] local.INFO: Packet analysis {"connection_id":185508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:47:03] local.INFO: Extracted packet for processing {"connection_id":185508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:47:03] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836392,"longitude_deg":75.5717184,"latitude_deg":11.7836392,"altitude":17,"angle":197,"satellites":35,"speed":2,"hex_longitude":"2d0b5440","hex_latitude":"07060a68","is_valid_coordinates":true} 
[2026-09-17 16:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148796160001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32940238791770112,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816136725138716672,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789643737000,"timestamp_ms":1789643737000,"timestamp_seconds":1789643737,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1447a8"} 
[2026-09-17 16:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-17 16:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":185508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":185508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":185508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148796160001,"66":14450,"165":206,"94":10240,"24":2,"16":32940238791770112,"45":816136725138716672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148796160001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:47:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:47:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32940238791770112,"km_value":32940238791770.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":816136725138716672,"description":"Unknown IO ID 45"} 
[2026-09-17 16:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148796160001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816136725138716672}} 
[2026-09-17 16:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":185508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856686,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:47:03] local.INFO: GPS data processed {"connection_id":185508,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:47:03] local.INFO: Acknowledgment sent {"connection_id":185508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:47:03] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:47:03] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:47:03] local.INFO: IMEI packet received {"connection_id":185358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":185358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:47:04] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af145f18012d0b5340070608b8001100d124..."} 
[2026-09-17 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af145f18012d0b5340070608b8001100d124..."} 
[2026-09-17 16:47:04] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af145f18012d0b5340070608b8001100d124..."} 
[2026-09-17 16:47:04] local.INFO: Packet analysis {"connection_id":185508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:47:04] local.INFO: Extracted packet for processing {"connection_id":185508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:47:04] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117835960,"longitude_deg":75.5716928,"latitude_deg":11.783596,"altitude":17,"angle":209,"satellites":36,"speed":2,"hex_longitude":"2d0b5340","hex_latitude":"070608b8","is_valid_coordinates":true} 
[2026-09-17 16:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148796672001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32940264561573888,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371196416,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789643743000,"timestamp_ms":1789643743000,"timestamp_seconds":1789643743,"priority":1,"record_length":96,"hex_timestamp":"000001a0af145f18"} 
[2026-09-17 16:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 16:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":185508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":185508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":185508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148796672001,"66":14309,"165":206,"94":10240,"24":2,"16":32940264561573888,"45":816347831371196416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-17 16:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148796672001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:47:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-17 16:47:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32940264561573888,"km_value":32940264561573.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371196416,"description":"Unknown IO ID 45"} 
[2026-09-17 16:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148796672001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816347831371196416}} 
[2026-09-17 16:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":185508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856687,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:47:04] local.INFO: GPS data processed {"connection_id":185508,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:47:04] local.INFO: Acknowledgment sent {"connection_id":185508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:47:08] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:47:08] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:47:08] local.INFO: IMEI packet received {"connection_id":185358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":185358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:47:10] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:47:10] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5098012d7a158005e469500011004c26..."} 
[2026-09-17 16:47:10] local.INFO: Packet analysis {"connection_id":185358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:47:10] local.INFO: Extracted packet for processing {"connection_id":185358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:47:10] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":98855248,"longitude_deg":76.2975616,"latitude_deg":9.8855248,"altitude":17,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d7a1580","hex_latitude":"05e46950","is_valid_coordinates":true} 
[2026-09-17 16:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663040001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078209933430784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789643215000,"timestamp_ms":1789643215000,"timestamp_seconds":1789643215,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5098"} 
[2026-09-17 16:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303157358939498,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":145,"raw_value":58079708874014729,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936801864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2201288704,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832107008,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:10] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,145,87,24,241,157,16,131,160,80,45,128,105,17,38,10,66,76,240,9,227,175,228,4,113,205,18,20,144,40,239,1,49,2,221,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-17 16:47:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225062824737243375,"timestamp_seconds":1225062824737243.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663040001,"66":13059,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8797078209933430784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663040001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:47:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:47:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078209933430784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663040001,"power":13059,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8797078209933430784}} 
[2026-09-17 16:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":185358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:47:10] local.INFO: GPS data processed {"connection_id":185358,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:47:10] local.INFO: Acknowledgment sent {"connection_id":185358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:47:13] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1495c8012d14ca40071f8a10003d00481d..."} 
[2026-09-17 16:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1495c8012d14ca40071f8a10003d00481d..."} 
[2026-09-17 16:47:13] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1495c8012d14ca40071f8a10003d00481d..."} 
[2026-09-17 16:47:13] local.INFO: Packet analysis {"connection_id":188139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:47:13] local.INFO: Extracted packet for processing {"connection_id":188139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756337216,"raw_latitude":119507472,"longitude_deg":75.6337216,"latitude_deg":11.9507472,"altitude":61,"angle":72,"satellites":29,"speed":35,"hex_longitude":"2d14ca40","hex_latitude":"071f8a10","is_valid_coordinates":true} 
[2026-09-17 16:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148801792001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21256733745741824,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498080225392201728,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789643757000,"timestamp_ms":1789643757000,"timestamp_seconds":1789643757,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1495c8"} 
[2026-09-17 16:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148801792001,"66":13993,"11":206,"83":41984,"24":35,"16":21256733745741824,"45":1498080225392201728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-17 16:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148801792001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:47:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-17 16:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21256733745741824,"km_value":21256733745741.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498080225392201728,"description":"Unknown IO ID 45"} 
[2026-09-17 16:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148801792001,"power":13993,"unknown_11":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1498080225392201728}} 
[2026-09-17 16:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":188139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:47:13] local.INFO: GPS data processed {"connection_id":188139,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:47:13] local.INFO: Acknowledgment sent {"connection_id":188139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:47:14] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5480012d7a158005e469500011004c27..."} 
[2026-09-17 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5480012d7a158005e469500011004c27..."} 
[2026-09-17 16:47:14] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5480012d7a158005e469500011004c27..."} 
[2026-09-17 16:47:14] local.INFO: Packet analysis {"connection_id":185358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:47:14] local.INFO: Extracted packet for processing {"connection_id":185358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":98855248,"longitude_deg":76.2975616,"latitude_deg":9.8855248,"altitude":17,"angle":76,"satellites":39,"speed":0,"hex_longitude":"2d7a1580","hex_latitude":"05e46950","is_valid_coordinates":true} 
[2026-09-17 16:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663040001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078209933430784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789643216000,"timestamp_ms":1789643216000,"timestamp_seconds":1789643216,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5480"} 
[2026-09-17 16:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303157358939498,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":145,"raw_value":58079708874014725,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936803864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2147869801,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2201616384,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:14] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,145,87,24,241,157,16,131,160,80,45,128,105,17,38,10,66,1,240,3,227,175,228,4,113,205,76,21,239,50,2,221,5,18],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-17 16:47:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225062824737243376,"timestamp_seconds":1225062824737243.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663040001,"66":13059,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8797078209933430784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663040001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:47:14] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:47:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078209933430784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663040001,"power":13059,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8797078209933430784}} 
[2026-09-17 16:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":185358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:47:14] local.INFO: GPS data processed {"connection_id":185358,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:47:14] local.INFO: Acknowledgment sent {"connection_id":185358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:47:15] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:47:15] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:47:15] local.INFO: IMEI packet received {"connection_id":186819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":186819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:47:20] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:47:20] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:47:20] local.INFO: IMEI packet received {"connection_id":186819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":186819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:47:21] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:47:21] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af10f418012d34c30006aa4608000a00b525..."} 
[2026-09-17 16:47:21] local.INFO: Packet analysis {"connection_id":186819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:47:21] local.INFO: Extracted packet for processing {"connection_id":186819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af10"} 
[2026-09-17 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789643519000,"timestamp_ms":1789643519000,"timestamp_seconds":1789643519,"priority":1,"record_length":96,"hex_timestamp":"000001a0af10f418"} 
[2026-09-17 16:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 16:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:47:21] 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-09-17 16:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663808001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663808001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":186819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:47:21] local.INFO: GPS data processed {"connection_id":186819,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:47:21] local.INFO: Acknowledgment sent {"connection_id":186819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:47:34] local.INFO: TCP Data received {"connection_id":185509,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:47:34] local.INFO: Processing buffer {"connection_id":185509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:47:34] local.INFO: IMEI packet received {"connection_id":185509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":185509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:47:35] local.INFO: TCP Data received {"connection_id":185509,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:47:35] local.INFO: Processing buffer {"connection_id":185509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:47:35] local.INFO: IMEI packet received {"connection_id":185509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":185509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:47:36] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af15d618012d0bde400705a7000012005d20..."} 
[2026-09-17 16:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af15d618012d0bde400705a7000012005d20..."} 
[2026-09-17 16:47:36] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af15d618012d0bde400705a7000012005d20..."} 
[2026-09-17 16:47:36] local.INFO: Packet analysis {"connection_id":185508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:47:36] local.INFO: Extracted packet for processing {"connection_id":185508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:47:36] local.INFO: GPS Element Parsed {"raw_longitude":755752512,"raw_latitude":117810944,"longitude_deg":75.5752512,"latitude_deg":11.7810944,"altitude":18,"angle":93,"satellites":32,"speed":11,"hex_longitude":"2d0bde40","hex_latitude":"0705a700","is_valid_coordinates":true} 
[2026-09-17 16:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148822528001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32942532304306176,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854909903174060032,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789643839000,"timestamp_ms":1789643839000,"timestamp_seconds":1789643839,"priority":1,"record_length":96,"hex_timestamp":"000001a0af15d618"} 
[2026-09-17 16:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 16:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148822528001,"66":14515,"164":206,"94":10240,"24":11,"16":32942532304306176,"45":854909903174060032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148822528001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:47:36] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:47:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32942532304306176,"km_value":32942532304306.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":854909903174060032,"description":"Unknown IO ID 45"} 
[2026-09-17 16:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148822528001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":854909903174060032}} 
[2026-09-17 16:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":185508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:47:36] local.INFO: GPS data processed {"connection_id":185508,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:47:36] local.INFO: Acknowledgment sent {"connection_id":185508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:47:41] local.INFO: TCP Data received {"connection_id":185509,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:47:41] local.INFO: Processing buffer {"connection_id":185509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:47:41] local.INFO: IMEI packet received {"connection_id":185509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":185509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:47:41] local.INFO: TCP Data received {"connection_id":185509,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af14c0c0012d14ec40071f9668004000431d..."} 
[2026-09-17 16:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af14c0c0012d14ec40071f9668004000431d..."} 
[2026-09-17 16:47:41] local.INFO: Processing buffer {"connection_id":185509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af14c0c0012d14ec40071f9668004000431d..."} 
[2026-09-17 16:47:41] local.INFO: Packet analysis {"connection_id":185509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:47:41] local.INFO: Extracted packet for processing {"connection_id":185509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756345920,"raw_latitude":119510632,"longitude_deg":75.634592,"latitude_deg":11.9510632,"altitude":64,"angle":67,"satellites":29,"speed":38,"hex_longitude":"2d14ec40","hex_latitude":"071f9668","is_valid_coordinates":true} 
[2026-09-17 16:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148801792001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21257171832406016,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498080225392201728,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789643768000,"timestamp_ms":1789643768000,"timestamp_seconds":1789643768,"priority":1,"record_length":96,"hex_timestamp":"000001a0af14c0c0"} 
[2026-09-17 16:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148801792001,"66":13961,"12":206,"83":41984,"24":38,"16":21257171832406016,"45":1498080225392201728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-17 16:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148801792001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:47:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-17 16:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21257171832406016,"km_value":21257171832406.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498080225392201728,"description":"Unknown IO ID 45"} 
[2026-09-17 16:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148801792001,"power":13961,"unknown_12":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1498080225392201728}} 
[2026-09-17 16:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":185509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:47:41] local.INFO: GPS data processed {"connection_id":185509,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:47:41] local.INFO: Acknowledgment sent {"connection_id":185509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:47:47] local.INFO: TCP Data received {"connection_id":185358,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af0c5480012d7a158005e469500011004c27..."} 
[2026-09-17 16:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af0c5480012d7a158005e469500011004c27..."} 
[2026-09-17 16:47:47] local.INFO: Processing buffer {"connection_id":185358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af0c5480012d7a158005e469500011004c27..."} 
[2026-09-17 16:47:47] local.INFO: Packet analysis {"connection_id":185358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:47:47] local.INFO: Extracted packet for processing {"connection_id":185358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af0c"} 
[2026-09-17 16:47:47] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":98855248,"longitude_deg":76.2975616,"latitude_deg":9.8855248,"altitude":17,"angle":76,"satellites":39,"speed":0,"hex_longitude":"2d7a1580","hex_latitude":"05e46950","is_valid_coordinates":true} 
[2026-09-17 16:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663296001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078209933430784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789643216000,"timestamp_ms":1789643216000,"timestamp_seconds":1789643216,"priority":1,"record_length":96,"hex_timestamp":"000001a0af0c5480"} 
[2026-09-17 16:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557290,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":145,"raw_value":58079708874014720,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936818864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2147869801,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2201616384,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832107008,"note":"Value kept but may cause issues"} 
[2026-09-17 16:47:47] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,145,87,24,241,157,16,131,160,80,45,128,105,17,38,10,66,1,240,3,227,175,228,4,113,205,76,21,239,50,2,221,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-17 16:47:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225062829032210463,"timestamp_seconds":1225062829032210.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":185358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":185358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663296001,"66":13059,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8797078209933430784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663296001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:47:47] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:47:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078209933430784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663296001,"power":13059,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8797078209933430784}} 
[2026-09-17 16:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":185358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:47:47] local.INFO: GPS data processed {"connection_id":185358,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:47:47] local.INFO: Acknowledgment sent {"connection_id":185358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:47:52] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.0","data_length":93,"data_hex":"00000000000000518e01000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":93,"packet_hex":"00000000000000518e01000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:47:52] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:47:52] local.INFO: Packet analysis {"connection_id":186819,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0af15"} 
[2026-09-17 16:47:52] local.INFO: Extracted packet for processing {"connection_id":186819,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0af15"} 
[2026-09-17 16:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-17 16:47:52] 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-09-17 16:47:52] 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-09-17 16:47:52] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:47:52] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-17 16:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186819,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 16:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186819,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-17 16:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186819,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-17 16:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-17 16:47:52] local.WARNING: DEBUG: No valid data to process  
[2026-09-17 16:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":186819,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-17 16:47:52] local.ERROR: GPS data processing failed {"connection_id":186819,"error":"No valid data to process"} 
[2026-09-17 16:47:52] local.INFO: Acknowledgment sent {"connection_id":186819,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-17 16:48:03] local.INFO: TCP Data received {"connection_id":188140,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:48:03] local.INFO: Processing buffer {"connection_id":188140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:48:03] local.INFO: IMEI packet received {"connection_id":188140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 16:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":188140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:48:08] local.INFO: TCP Data received {"connection_id":188140,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:48:08] local.INFO: Processing buffer {"connection_id":188140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 16:48:08] local.INFO: IMEI packet received {"connection_id":188140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 16:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":188140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:48:10] local.INFO: TCP Data received {"connection_id":188140,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af14f770012d7a15c005e469480011004c2b..."} 
[2026-09-17 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af14f770012d7a15c005e469480011004c2b..."} 
[2026-09-17 16:48:10] local.INFO: Processing buffer {"connection_id":188140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af14f770012d7a15c005e469480011004c2b..."} 
[2026-09-17 16:48:10] local.INFO: Packet analysis {"connection_id":188140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:48:10] local.INFO: Extracted packet for processing {"connection_id":188140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:48:10] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":98855240,"longitude_deg":76.297568,"latitude_deg":9.885524,"altitude":17,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05e46948","is_valid_coordinates":true} 
[2026-09-17 16:48: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-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663296001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078209933430784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789643782000,"timestamp_ms":1789643782000,"timestamp_seconds":1789643782,"priority":1,"record_length":96,"hex_timestamp":"000001a0af14f770"} 
[2026-09-17 16:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557290,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":145,"raw_value":58079708874014720,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936818864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2147869801,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2201616384,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832107008,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:10] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,145,87,24,241,157,16,131,160,84,45,128,105,17,39,10,66,80,38,240,3,227,175,228,4,113,205,21,239,1,51,2,221,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-17 16:48:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225062829032210498,"timestamp_seconds":1225062829032210.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663296001,"66":2253,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8797078209933430784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663296001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:48:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:48:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078209933430784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663296001,"power":2253,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8797078209933430784}} 
[2026-09-17 16:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":188140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:48:10] local.INFO: GPS data processed {"connection_id":188140,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:48:10] local.INFO: Acknowledgment sent {"connection_id":188140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:48:12] local.INFO: TCP Data received {"connection_id":185509,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af15dde8012d160ec0071fe0a8002300541b..."} 
[2026-09-17 16:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af15dde8012d160ec0071fe0a8002300541b..."} 
[2026-09-17 16:48:12] local.INFO: Processing buffer {"connection_id":185509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af15dde8012d160ec0071fe0a8002300541b..."} 
[2026-09-17 16:48:12] local.INFO: Packet analysis {"connection_id":185509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:12] local.INFO: Extracted packet for processing {"connection_id":185509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756420288,"raw_latitude":119529640,"longitude_deg":75.6420288,"latitude_deg":11.952964,"altitude":35,"angle":84,"satellites":27,"speed":27,"hex_longitude":"2d160ec0","hex_latitude":"071fe0a8","is_valid_coordinates":true} 
[2026-09-17 16:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148820480001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21260929928790016,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1579285756178688000,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789643841000,"timestamp_ms":1789643841000,"timestamp_seconds":1789643841,"priority":1,"record_length":96,"hex_timestamp":"000001a0af15dde8"} 
[2026-09-17 16:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-17 16:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148820480001,"66":14233,"87":206,"83":41984,"24":27,"16":21260929928790016,"45":1579285756178688000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-17 16:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148820480001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:48:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-17 16:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21260929928790016,"km_value":21260929928790.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1579285756178688000,"description":"Unknown IO ID 45"} 
[2026-09-17 16:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148820480001,"power":14233,"unknown_87":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1579285756178688000}} 
[2026-09-17 16:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":185509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:48:12] local.INFO: GPS data processed {"connection_id":185509,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:48:12] local.INFO: Acknowledgment sent {"connection_id":185509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:48:15] local.INFO: TCP Data received {"connection_id":185511,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:48:15] local.INFO: Processing buffer {"connection_id":185511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:48:15] local.INFO: IMEI packet received {"connection_id":185511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":185511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:48:20] local.INFO: TCP Data received {"connection_id":185511,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:48:20] local.INFO: Processing buffer {"connection_id":185511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:48:20] local.INFO: IMEI packet received {"connection_id":185511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":185511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:48:21] local.INFO: TCP Data received {"connection_id":185511,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:48:21] local.INFO: Processing buffer {"connection_id":185511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:48:21] local.INFO: Packet analysis {"connection_id":185511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:21] local.INFO: Extracted packet for processing {"connection_id":185511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148740864001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789643820000,"timestamp_ms":1789643820000,"timestamp_seconds":1789643820,"priority":1,"record_length":96,"hex_timestamp":"000001a0af158be0"} 
[2026-09-17 16:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148740864001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148740864001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148740864001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":185511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:48:21] local.INFO: GPS data processed {"connection_id":185511,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:48:21] local.INFO: Acknowledgment sent {"connection_id":185511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:48:32] local.INFO: TCP Data received {"connection_id":188141,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:48:32] local.INFO: Processing buffer {"connection_id":188141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:48:32] local.INFO: IMEI packet received {"connection_id":188141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":188141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:48:35] local.INFO: TCP Data received {"connection_id":186820,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:48:35] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:48:35] local.INFO: IMEI packet received {"connection_id":186820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":186820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:48:37] local.INFO: TCP Data received {"connection_id":188141,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:48:37] local.INFO: Processing buffer {"connection_id":188141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:48:37] local.INFO: IMEI packet received {"connection_id":188141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":188141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:48:38] local.INFO: TCP Data received {"connection_id":188141,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af15da00012d0bdf000705a7200012004d22..."} 
[2026-09-17 16:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af15da00012d0bdf000705a7200012004d22..."} 
[2026-09-17 16:48:38] local.INFO: Processing buffer {"connection_id":188141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af15da00012d0bdf000705a7200012004d22..."} 
[2026-09-17 16:48:38] local.INFO: Packet analysis {"connection_id":188141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:38] local.INFO: Extracted packet for processing {"connection_id":188141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:38] local.INFO: GPS Element Parsed {"raw_longitude":755752704,"raw_latitude":117810976,"longitude_deg":75.5752704,"latitude_deg":11.7810976,"altitude":18,"angle":77,"satellites":34,"speed":7,"hex_longitude":"2d0bdf00","hex_latitude":"0705a720","is_valid_coordinates":true} 
[2026-09-17 16:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148822784001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32942540894240768,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855191378150752256,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789643840000,"timestamp_ms":1789643840000,"timestamp_seconds":1789643840,"priority":1,"record_length":96,"hex_timestamp":"000001a0af15da00"} 
[2026-09-17 16:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 16:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148822784001,"66":14515,"164":206,"94":10240,"24":7,"16":32942540894240768,"45":855191378150752256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148822784001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:48:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:48:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32942540894240768,"km_value":32942540894240.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":855191378150752256,"description":"Unknown IO ID 45"} 
[2026-09-17 16:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148822784001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":855191378150752256}} 
[2026-09-17 16:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":188141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:48:38] local.INFO: GPS data processed {"connection_id":188141,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:48:38] local.INFO: Acknowledgment sent {"connection_id":188141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:48:40] local.INFO: TCP Data received {"connection_id":188141,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af15f170012d0be0400705a9a00010016324..."} 
[2026-09-17 16:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af15f170012d0be0400705a9a00010016324..."} 
[2026-09-17 16:48:40] local.INFO: Processing buffer {"connection_id":188141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af15f170012d0be0400705a9a00010016324..."} 
[2026-09-17 16:48:40] local.INFO: Packet analysis {"connection_id":188141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:40] local.INFO: Extracted packet for processing {"connection_id":188141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":755753024,"raw_latitude":117811616,"longitude_deg":75.5753024,"latitude_deg":11.7811616,"altitude":16,"angle":355,"satellites":36,"speed":6,"hex_longitude":"2d0be040","hex_latitude":"0705a9a0","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148823040001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32942579548946432,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855402484383293440,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789643846000,"timestamp_ms":1789643846000,"timestamp_seconds":1789643846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af15f170"} 
[2026-09-17 16:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 16:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148823040001,"66":14548,"164":206,"94":10240,"24":6,"16":32942579548946432,"45":855402484383293440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148823040001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:48:40] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:48:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32942579548946432,"km_value":32942579548946.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":855402484383293440,"description":"Unknown IO ID 45"} 
[2026-09-17 16:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148823040001,"power":14548,"unknown_164":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":855402484383293440}} 
[2026-09-17 16:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":188141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:48:40] local.INFO: GPS data processed {"connection_id":188141,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:48:40] local.INFO: Acknowledgment sent {"connection_id":188141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:48:41] local.INFO: TCP Data received {"connection_id":186820,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:48:41] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:48:41] local.INFO: IMEI packet received {"connection_id":186820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":186820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:48:41] local.INFO: TCP Data received {"connection_id":186820,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af15fd28012d162600071fe480002700491b..."} 
[2026-09-17 16:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af15fd28012d162600071fe480002700491b..."} 
[2026-09-17 16:48:41] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af15fd28012d162600071fe480002700491b..."} 
[2026-09-17 16:48:41] local.INFO: Packet analysis {"connection_id":186820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:41] local.INFO: Extracted packet for processing {"connection_id":186820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756426240,"raw_latitude":119530624,"longitude_deg":75.642624,"latitude_deg":11.9530624,"altitude":39,"angle":73,"satellites":27,"speed":30,"hex_longitude":"2d162600","hex_latitude":"071fe480","is_valid_coordinates":true} 
[2026-09-17 16:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148823296001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21261217691598848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1589418855340484608,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789643849000,"timestamp_ms":1789643849000,"timestamp_seconds":1789643849,"priority":1,"record_length":96,"hex_timestamp":"000001a0af15fd28"} 
[2026-09-17 16:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-17 16:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148823296001,"66":14483,"87":206,"83":41984,"24":30,"16":21261217691598848,"45":1589418855340484608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-17 16:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148823296001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:48:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-17 16:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21261217691598848,"km_value":21261217691598.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1589418855340484608,"description":"Unknown IO ID 45"} 
[2026-09-17 16:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148823296001,"power":14483,"unknown_87":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1589418855340484608}} 
[2026-09-17 16:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":186820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:48:41] local.INFO: GPS data processed {"connection_id":186820,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:48:41] local.INFO: Acknowledgment sent {"connection_id":186820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:48:42] local.INFO: TCP Data received {"connection_id":188140,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af14f770012d7a15c005e469480011004c2b..."} 
[2026-09-17 16:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af14f770012d7a15c005e469480011004c2b..."} 
[2026-09-17 16:48:42] local.INFO: Processing buffer {"connection_id":188140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af14f770012d7a15c005e469480011004c2b..."} 
[2026-09-17 16:48:42] local.INFO: Packet analysis {"connection_id":188140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:48:42] local.INFO: Extracted packet for processing {"connection_id":188140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af14"} 
[2026-09-17 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":98855240,"longitude_deg":76.297568,"latitude_deg":9.885524,"altitude":17,"angle":76,"satellites":43,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05e46948","is_valid_coordinates":true} 
[2026-09-17 16:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148663296001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134407849022324736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078209933430784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789643782000,"timestamp_ms":1789643782000,"timestamp_seconds":1789643782,"priority":1,"record_length":96,"hex_timestamp":"000001a0af14f770"} 
[2026-09-17 16:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557290,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":145,"raw_value":58079708874014720,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936818864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2147869801,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2201616384,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832107008,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:42] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,145,87,24,241,157,16,131,160,84,45,128,105,17,39,10,66,80,38,240,3,227,175,228,4,113,205,21,239,1,51,2,221,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-17 16:48:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225062829032210498,"timestamp_seconds":1225062829032210.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 16:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 16:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 16:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148663296001,"66":2253,"145":206,"87":12288,"24":0,"16":134407849022324736,"45":8797078209933430784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-17 16:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 16:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 16:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148663296001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:48:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-17 16:48:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-17 16:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134407849022324736,"km_value":134407849022324.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078209933430784,"description":"Unknown IO ID 45"} 
[2026-09-17 16:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148663296001,"power":2253,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8797078209933430784}} 
[2026-09-17 16:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":188140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:48:42] local.INFO: GPS data processed {"connection_id":188140,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:48:42] local.INFO: Acknowledgment sent {"connection_id":188140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:48:53] local.INFO: TCP Data received {"connection_id":185511,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:48:53] local.INFO: Processing buffer {"connection_id":185511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:48:53] local.INFO: Packet analysis {"connection_id":185511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:53] local.INFO: Extracted packet for processing {"connection_id":185511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148740864001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789643820000,"timestamp_ms":1789643820000,"timestamp_seconds":1789643820,"priority":1,"record_length":96,"hex_timestamp":"000001a0af158be0"} 
[2026-09-17 16:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148740864001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148740864001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148740864001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":185511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:48:53] local.INFO: GPS data processed {"connection_id":185511,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:48:53] local.INFO: Acknowledgment sent {"connection_id":185511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:49:12] local.INFO: TCP Data received {"connection_id":186820,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1637c0012d1646c0071ff358002a00421b..."} 
[2026-09-17 16:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1637c0012d1646c0071ff358002a00421b..."} 
[2026-09-17 16:49:12] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1637c0012d1646c0071ff358002a00421b..."} 
[2026-09-17 16:49:12] local.INFO: Packet analysis {"connection_id":186820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af16"} 
[2026-09-17 16:49:12] local.INFO: Extracted packet for processing {"connection_id":186820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af16"} 
[2026-09-17 16:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756434624,"raw_latitude":119534424,"longitude_deg":75.6434624,"latitude_deg":11.9534424,"altitude":42,"angle":66,"satellites":27,"speed":20,"hex_longitude":"2d1646c0","hex_latitude":"071ff358","is_valid_coordinates":true} 
[2026-09-17 16:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148825344001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21261655778263040,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1595963148549259264,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789643864000,"timestamp_ms":1789643864000,"timestamp_seconds":1789643864,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1637c0"} 
[2026-09-17 16:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-17 16:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148825344001,"66":14428,"87":206,"83":41984,"24":20,"16":21261655778263040,"45":1595963148549259264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-17 16:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148825344001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:49:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-17 16:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21261655778263040,"km_value":21261655778263.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1595963148549259264,"description":"Unknown IO ID 45"} 
[2026-09-17 16:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148825344001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1595963148549259264}} 
[2026-09-17 16:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":186820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:49:13] local.INFO: GPS data processed {"connection_id":186820,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:49:13] local.INFO: Acknowledgment sent {"connection_id":186820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:49:15] local.INFO: TCP Data received {"connection_id":185512,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:49:15] local.INFO: Processing buffer {"connection_id":185512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:49:15] local.INFO: IMEI packet received {"connection_id":185512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":185512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:49:20] local.INFO: TCP Data received {"connection_id":185512,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:49:20] local.INFO: Processing buffer {"connection_id":185512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:49:20] local.INFO: IMEI packet received {"connection_id":185512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":185512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:49:24] local.INFO: TCP Data received {"connection_id":185512,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:49:24] local.INFO: Processing buffer {"connection_id":185512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:49:24] local.INFO: Packet analysis {"connection_id":185512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:49:24] local.INFO: Extracted packet for processing {"connection_id":185512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148740864001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789643820000,"timestamp_ms":1789643820000,"timestamp_seconds":1789643820,"priority":1,"record_length":96,"hex_timestamp":"000001a0af158be0"} 
[2026-09-17 16:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:49:24] 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-09-17 16:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148740864001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148740864001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148740864001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":185512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:49:24] local.INFO: GPS data processed {"connection_id":185512,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:49:24] local.INFO: Acknowledgment sent {"connection_id":185512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:49:35] local.INFO: TCP Data received {"connection_id":185360,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:49:35] local.INFO: Processing buffer {"connection_id":185360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:49:35] local.INFO: IMEI packet received {"connection_id":185360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":185360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:49:35] local.INFO: TCP Data received {"connection_id":186821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:49:35] local.INFO: Processing buffer {"connection_id":186821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:49:35] local.INFO: IMEI packet received {"connection_id":186821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":186821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:49:36] local.INFO: TCP Data received {"connection_id":185360,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 16:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185360,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 16:49:36] local.INFO: Processing buffer {"connection_id":185360,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 16:49:36] local.INFO: IMEI packet received {"connection_id":185360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":185360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:49:37] local.INFO: TCP Data received {"connection_id":185360,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af162820012d0bdd800705c0500013000523..."} 
[2026-09-17 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af162820012d0bdd800705c0500013000523..."} 
[2026-09-17 16:49:37] local.INFO: Processing buffer {"connection_id":185360,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0af..."} 
[2026-09-17 16:49:37] local.INFO: IMEI packet received {"connection_id":185360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":185360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:49:37] local.INFO: TCP Data received {"connection_id":185360,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af17ce00012d0bca8007061c70001f011f21..."} 
[2026-09-17 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af17ce00012d0bca8007061c70001f011f21..."} 
[2026-09-17 16:49:37] local.INFO: Processing buffer {"connection_id":185360,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0af162820012d0bdd800705c0500013000523..."} 
[2026-09-17 16:49:37] local.INFO: Packet analysis {"connection_id":185360,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0af16"} 
[2026-09-17 16:49:37] local.INFO: Extracted packet for processing {"connection_id":185360,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af16"} 
[2026-09-17 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":755752320,"raw_latitude":117817424,"longitude_deg":75.575232,"latitude_deg":11.7817424,"altitude":19,"angle":5,"satellites":35,"speed":18,"hex_longitude":"2d0bdd80","hex_latitude":"0705c050","is_valid_coordinates":true} 
[2026-09-17 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148824576001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32942867311755264,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855754328104345600,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789643860000,"timestamp_ms":1789643860000,"timestamp_seconds":1789643860,"priority":1,"record_length":96,"hex_timestamp":"000001a0af162820"} 
[2026-09-17 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-17 16:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148824576001,"66":14580,"164":206,"94":10240,"24":18,"16":32942867311755264,"45":855754328104345600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148824576001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32942867311755264,"km_value":32942867311755.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":855754328104345600,"description":"Unknown IO ID 45"} 
[2026-09-17 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148824576001,"power":14580,"unknown_164":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":855754328104345600}} 
[2026-09-17 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":185360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856705,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:49:37] local.INFO: GPS data processed {"connection_id":185360,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:49:37] local.INFO: Acknowledgment sent {"connection_id":185360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:49:37] local.INFO: Packet analysis {"connection_id":185360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af17"} 
[2026-09-17 16:49:37] local.INFO: Extracted packet for processing {"connection_id":185360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af17"} 
[2026-09-17 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":755747456,"raw_latitude":117841008,"longitude_deg":75.5747456,"latitude_deg":11.7841008,"altitude":31,"angle":287,"satellites":33,"speed":11,"hex_longitude":"2d0bca80","hex_latitude":"07061c70","is_valid_coordinates":true} 
[2026-09-17 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148854784001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32944177276780544,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850969253507753984,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789643968000,"timestamp_ms":1789643968000,"timestamp_seconds":1789643968,"priority":1,"record_length":96,"hex_timestamp":"000001a0af17ce00"} 
[2026-09-17 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 16:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":185360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148854784001,"66":14428,"164":206,"94":10240,"24":11,"16":32944177276780544,"45":850969253507753984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148854784001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32944177276780544,"km_value":32944177276780.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":850969253507753984,"description":"Unknown IO ID 45"} 
[2026-09-17 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148854784001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":850969253507753984}} 
[2026-09-17 16:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":185360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:49:38] local.INFO: GPS data processed {"connection_id":185360,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:49:38] local.INFO: Acknowledgment sent {"connection_id":185360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:49:38] local.INFO: TCP Data received {"connection_id":185360,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af17d1e8012d0bc98007061ce0001f012c22..."} 
[2026-09-17 16:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af17d1e8012d0bc98007061ce0001f012c22..."} 
[2026-09-17 16:49:38] local.INFO: Processing buffer {"connection_id":185360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af17d1e8012d0bc98007061ce0001f012c22..."} 
[2026-09-17 16:49:38] local.INFO: Packet analysis {"connection_id":185360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af17"} 
[2026-09-17 16:49:38] local.INFO: Extracted packet for processing {"connection_id":185360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af17"} 
[2026-09-17 16:49:38] local.INFO: GPS Element Parsed {"raw_longitude":755747200,"raw_latitude":117841120,"longitude_deg":75.57472,"latitude_deg":11.784112,"altitude":31,"angle":300,"satellites":34,"speed":10,"hex_longitude":"2d0bc980","hex_latitude":"07061ce0","is_valid_coordinates":true} 
[2026-09-17 16:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148855808001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32944190161682432,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849632247368413184,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789643969000,"timestamp_ms":1789643969000,"timestamp_seconds":1789643969,"priority":1,"record_length":96,"hex_timestamp":"000001a0af17d1e8"} 
[2026-09-17 16:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148855808001,"66":14450,"164":206,"94":10240,"24":10,"16":32944190161682432,"45":849632247368413184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148855808001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:49:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:49:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32944190161682432,"km_value":32944190161682.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":849632247368413184,"description":"Unknown IO ID 45"} 
[2026-09-17 16:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148855808001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":849632247368413184}} 
[2026-09-17 16:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":185360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:49:38] local.INFO: GPS data processed {"connection_id":185360,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:49:38] local.INFO: Acknowledgment sent {"connection_id":185360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:49:41] local.INFO: TCP Data received {"connection_id":186821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:49:41] local.INFO: Processing buffer {"connection_id":186821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:49:41] local.INFO: IMEI packet received {"connection_id":186821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":186821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:49:41] local.INFO: TCP Data received {"connection_id":186821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af166e70012d16670007200388002f003f1c..."} 
[2026-09-17 16:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af166e70012d16670007200388002f003f1c..."} 
[2026-09-17 16:49:41] local.INFO: Processing buffer {"connection_id":186821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af166e70012d16670007200388002f003f1c..."} 
[2026-09-17 16:49:41] local.INFO: Packet analysis {"connection_id":186821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af16"} 
[2026-09-17 16:49:41] local.INFO: Extracted packet for processing {"connection_id":186821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af16"} 
[2026-09-17 16:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756442880,"raw_latitude":119538568,"longitude_deg":75.644288,"latitude_deg":11.9538568,"altitude":47,"angle":63,"satellites":28,"speed":31,"hex_longitude":"2d166700","hex_latitude":"07200388","is_valid_coordinates":true} 
[2026-09-17 16:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148829184001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262093864927232,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1605181454037506048,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789643878000,"timestamp_ms":1789643878000,"timestamp_seconds":1789643878,"priority":1,"record_length":96,"hex_timestamp":"000001a0af166e70"} 
[2026-09-17 16:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148829184001,"66":14396,"87":206,"83":41984,"24":31,"16":21262093864927232,"45":1605181454037506048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-17 16:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148829184001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:49:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-17 16:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262093864927232,"km_value":21262093864927.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1605181454037506048,"description":"Unknown IO ID 45"} 
[2026-09-17 16:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148829184001,"power":14396,"unknown_87":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1605181454037506048}} 
[2026-09-17 16:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":186821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:49:41] local.INFO: GPS data processed {"connection_id":186821,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:49:41] local.INFO: Acknowledgment sent {"connection_id":186821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:49:55] local.INFO: TCP Data received {"connection_id":185512,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:49:55] local.INFO: Processing buffer {"connection_id":185512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:49:55] local.INFO: Packet analysis {"connection_id":185512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:49:55] local.INFO: Extracted packet for processing {"connection_id":185512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148740864001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789643820000,"timestamp_ms":1789643820000,"timestamp_seconds":1789643820,"priority":1,"record_length":96,"hex_timestamp":"000001a0af158be0"} 
[2026-09-17 16:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:49:55] 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-09-17 16:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148740864001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148740864001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:49:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148740864001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":185512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:49:55] local.INFO: GPS data processed {"connection_id":185512,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:49:55] local.INFO: Acknowledgment sent {"connection_id":185512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:49:57] local.INFO: TCP Data received {"connection_id":188144,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:49:57] local.INFO: Processing buffer {"connection_id":188144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:49:57] local.INFO: IMEI packet received {"connection_id":188144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":188144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:50:00] local.INFO: TCP Data received {"connection_id":188144,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:50:00] local.INFO: Processing buffer {"connection_id":188144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:50:00] local.INFO: IMEI packet received {"connection_id":188144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":188144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:50:00] local.INFO: TCP Data received {"connection_id":188144,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af17d5d0012d0bc90007061d700020013722..."} 
[2026-09-17 16:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af17d5d0012d0bc90007061d700020013722..."} 
[2026-09-17 16:50:00] local.INFO: Processing buffer {"connection_id":188144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af17d5d0012d0bc90007061d700020013722..."} 
[2026-09-17 16:50:00] local.INFO: Packet analysis {"connection_id":188144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af17"} 
[2026-09-17 16:50:00] local.INFO: Extracted packet for processing {"connection_id":188144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af17"} 
[2026-09-17 16:50:00] local.INFO: GPS Element Parsed {"raw_longitude":755747072,"raw_latitude":117841264,"longitude_deg":75.5747072,"latitude_deg":11.7841264,"altitude":32,"angle":311,"satellites":34,"speed":9,"hex_longitude":"2d0bc900","hex_latitude":"07061d70","is_valid_coordinates":true} 
[2026-09-17 16:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148856064001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32944198751617024,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849350772391731200,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789643970000,"timestamp_ms":1789643970000,"timestamp_seconds":1789643970,"priority":1,"record_length":96,"hex_timestamp":"000001a0af17d5d0"} 
[2026-09-17 16:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 16:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148856064001,"66":14450,"164":206,"94":10240,"24":9,"16":32944198751617024,"45":849350772391731200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148856064001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:50:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:50:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32944198751617024,"km_value":32944198751617.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":849350772391731200,"description":"Unknown IO ID 45"} 
[2026-09-17 16:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148856064001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":849350772391731200}} 
[2026-09-17 16:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":188144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:50:01] local.INFO: GPS data processed {"connection_id":188144,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:50:01] local.INFO: Acknowledgment sent {"connection_id":188144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:50:12] local.INFO: TCP Data received {"connection_id":186821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af169968012d168900072013e0002f003f1d..."} 
[2026-09-17 16:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af169968012d168900072013e0002f003f1d..."} 
[2026-09-17 16:50:12] local.INFO: Processing buffer {"connection_id":186821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af169968012d168900072013e0002f003f1d..."} 
[2026-09-17 16:50:12] local.INFO: Packet analysis {"connection_id":186821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af16"} 
[2026-09-17 16:50:12] local.INFO: Extracted packet for processing {"connection_id":186821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af16"} 
[2026-09-17 16:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756451584,"raw_latitude":119542752,"longitude_deg":75.6451584,"latitude_deg":11.9542752,"altitude":47,"angle":63,"satellites":29,"speed":34,"hex_longitude":"2d168900","hex_latitude":"072013e0","is_valid_coordinates":true} 
[2026-09-17 16:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148832768001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21262553426427904,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1614259022037485568,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789643889000,"timestamp_ms":1789643889000,"timestamp_seconds":1789643889,"priority":1,"record_length":96,"hex_timestamp":"000001a0af169968"} 
[2026-09-17 16:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148832768001,"66":14450,"87":206,"83":41984,"24":34,"16":21262553426427904,"45":1614259022037485568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-17 16:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148832768001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:50:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-17 16:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21262553426427904,"km_value":21262553426427.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1614259022037485568,"description":"Unknown IO ID 45"} 
[2026-09-17 16:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148832768001,"power":14450,"unknown_87":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1614259022037485568}} 
[2026-09-17 16:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":186821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:50:13] local.INFO: GPS data processed {"connection_id":186821,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:50:13] local.INFO: Acknowledgment sent {"connection_id":186821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:50:14] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:50:14] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:50:14] local.INFO: IMEI packet received {"connection_id":188145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":188145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:50:20] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:50:20] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:50:20] local.INFO: IMEI packet received {"connection_id":188145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":188145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:50:21] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:50:21] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:50:21] local.INFO: Packet analysis {"connection_id":188145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:50:21] local.INFO: Extracted packet for processing {"connection_id":188145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148740864001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789643820000,"timestamp_ms":1789643820000,"timestamp_seconds":1789643820,"priority":1,"record_length":96,"hex_timestamp":"000001a0af158be0"} 
[2026-09-17 16:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:50:21] 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-09-17 16:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148740864001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148740864001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148740864001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":188145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:50:21] local.INFO: GPS data processed {"connection_id":188145,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:50:21] local.INFO: Acknowledgment sent {"connection_id":188145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:50:33] local.INFO: TCP Data received {"connection_id":188144,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1804b0012d0bc90007061d380021008324..."} 
[2026-09-17 16:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1804b0012d0bc90007061d380021008324..."} 
[2026-09-17 16:50:33] local.INFO: Processing buffer {"connection_id":188144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1804b0012d0bc90007061d380021008324..."} 
[2026-09-17 16:50:33] local.INFO: Packet analysis {"connection_id":188144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af18"} 
[2026-09-17 16:50:33] local.INFO: Extracted packet for processing {"connection_id":188144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af18"} 
[2026-09-17 16:50:33] local.INFO: GPS Element Parsed {"raw_longitude":755747072,"raw_latitude":117841208,"longitude_deg":75.5747072,"latitude_deg":11.7841208,"altitude":33,"angle":131,"satellites":36,"speed":1,"hex_longitude":"2d0bc900","hex_latitude":"07061d38","is_valid_coordinates":true} 
[2026-09-17 16:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148856320001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32944228816388096,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849210034903412736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789643982000,"timestamp_ms":1789643982000,"timestamp_seconds":1789643982,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1804b0"} 
[2026-09-17 16:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 16:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148856320001,"66":14624,"164":206,"94":10240,"24":1,"16":32944228816388096,"45":849210034903412736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-17 16:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148856320001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:50:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-17 16:50:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-17 16:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32944228816388096,"km_value":32944228816388.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":849210034903412736,"description":"Unknown IO ID 45"} 
[2026-09-17 16:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148856320001,"power":14624,"unknown_164":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":849210034903412736}} 
[2026-09-17 16:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":188144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:50:33] local.INFO: GPS data processed {"connection_id":188144,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:50:33] local.INFO: Acknowledgment sent {"connection_id":188144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:50:36] local.INFO: TCP Data received {"connection_id":186822,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:50:36] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:50:36] local.INFO: IMEI packet received {"connection_id":186822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":186822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:50:41] local.INFO: TCP Data received {"connection_id":186822,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:50:41] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:50:41] local.INFO: IMEI packet received {"connection_id":186822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":186822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:50:41] local.INFO: TCP Data received {"connection_id":186822,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af181068012d17914007210440003f00371d..."} 
[2026-09-17 16:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af181068012d17914007210440003f00371d..."} 
[2026-09-17 16:50:41] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af181068012d17914007210440003f00371d..."} 
[2026-09-17 16:50:41] local.INFO: Packet analysis {"connection_id":186822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af18"} 
[2026-09-17 16:50:41] local.INFO: Extracted packet for processing {"connection_id":186822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af18"} 
[2026-09-17 16:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756519232,"raw_latitude":119604288,"longitude_deg":75.6519232,"latitude_deg":11.9604288,"altitude":63,"angle":55,"satellites":29,"speed":40,"hex_longitude":"2d179140","hex_latitude":"07210440","is_valid_coordinates":true} 
[2026-09-17 16:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148860160001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21266968652808192,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1698208933858263040,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789643985000,"timestamp_ms":1789643985000,"timestamp_seconds":1789643985,"priority":1,"record_length":96,"hex_timestamp":"000001a0af181068"} 
[2026-09-17 16:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 16:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148860160001,"66":14298,"107":206,"83":41984,"24":40,"16":21266968652808192,"45":1698208933858263040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 16:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148860160001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:50:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 16:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21266968652808192,"km_value":21266968652808.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1698208933858263040,"description":"Unknown IO ID 45"} 
[2026-09-17 16:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148860160001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1698208933858263040}} 
[2026-09-17 16:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":186822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:50:41] local.INFO: GPS data processed {"connection_id":186822,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:50:41] local.INFO: Acknowledgment sent {"connection_id":186822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:50:52] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:50:52] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:50:52] local.INFO: Packet analysis {"connection_id":188145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:50:52] local.INFO: Extracted packet for processing {"connection_id":188145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148740864001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789643820000,"timestamp_ms":1789643820000,"timestamp_seconds":1789643820,"priority":1,"record_length":96,"hex_timestamp":"000001a0af158be0"} 
[2026-09-17 16:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:50:52] 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-09-17 16:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148740864001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148740864001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148740864001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":188145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:50:52] local.INFO: GPS data processed {"connection_id":188145,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:50:52] local.INFO: Acknowledgment sent {"connection_id":188145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:51:13] local.INFO: TCP Data received {"connection_id":186822,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af182fa8012d17ae00072119b0003d002f1d..."} 
[2026-09-17 16:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af182fa8012d17ae00072119b0003d002f1d..."} 
[2026-09-17 16:51:13] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af182fa8012d17ae00072119b0003d002f1d..."} 
[2026-09-17 16:51:13] local.INFO: Packet analysis {"connection_id":186822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af18"} 
[2026-09-17 16:51:13] local.INFO: Extracted packet for processing {"connection_id":186822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af18"} 
[2026-09-17 16:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756526592,"raw_latitude":119609776,"longitude_deg":75.6526592,"latitude_deg":11.9609776,"altitude":61,"angle":47,"satellites":29,"speed":44,"hex_longitude":"2d17ae00","hex_latitude":"072119b0","is_valid_coordinates":true} 
[2026-09-17 16:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148860160001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21267406739472384,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1698208933858263040,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789643993000,"timestamp_ms":1789643993000,"timestamp_seconds":1789643993,"priority":1,"record_length":96,"hex_timestamp":"000001a0af182fa8"} 
[2026-09-17 16:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 16:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148860160001,"66":14396,"107":206,"83":41984,"24":44,"16":21267406739472384,"45":1698208933858263040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 16:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148860160001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:51:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 16:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21267406739472384,"km_value":21267406739472.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1698208933858263040,"description":"Unknown IO ID 45"} 
[2026-09-17 16:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148860160001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1698208933858263040}} 
[2026-09-17 16:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":186822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:51:13] local.INFO: GPS data processed {"connection_id":186822,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:51:13] local.INFO: Acknowledgment sent {"connection_id":186822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:51:20] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:51:20] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:51:20] local.INFO: IMEI packet received {"connection_id":186823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":186823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:51:25] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:51:25] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:51:25] local.INFO: IMEI packet received {"connection_id":186823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":186823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:51:26] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:51:26] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af158be0012d34c30006aa4608000a00b527..."} 
[2026-09-17 16:51:26] local.INFO: Packet analysis {"connection_id":186823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:51:26] local.INFO: Extracted packet for processing {"connection_id":186823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af15"} 
[2026-09-17 16:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822344,"longitude_deg":75.8432512,"latitude_deg":11.1822344,"altitude":10,"angle":181,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-17 16:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148740864001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789643820000,"timestamp_ms":1789643820000,"timestamp_seconds":1789643820,"priority":1,"record_length":96,"hex_timestamp":"000001a0af158be0"} 
[2026-09-17 16:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148740864001,"66":25854,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148740864001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148740864001,"power":25854,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":186823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:51:26] local.INFO: GPS data processed {"connection_id":186823,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:51:26] local.INFO: Acknowledgment sent {"connection_id":186823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:51:42] local.INFO: TCP Data received {"connection_id":188148,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:42] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:42] local.INFO: IMEI packet received {"connection_id":188148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":188148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:51:45] local.INFO: TCP Data received {"connection_id":188148,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:45] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:45] local.INFO: IMEI packet received {"connection_id":188148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":188148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:51:46] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:51:46] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:51:46] local.INFO: IMEI packet received {"connection_id":188147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":188147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:51:46] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:51:46] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:51:46] local.INFO: IMEI packet received {"connection_id":188147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":188147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:51:46] local.INFO: TCP Data received {"connection_id":188148,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:46] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:46] local.INFO: IMEI packet received {"connection_id":188148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":188148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:51:48] local.INFO: TCP Data received {"connection_id":188148,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:48] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:51:48] local.INFO: IMEI packet received {"connection_id":188148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":188148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:51:49] local.INFO: TCP Data received {"connection_id":188148,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1948e8012d1832c007219758004e00751d..."} 
[2026-09-17 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1948e8012d1832c007219758004e00751d..."} 
[2026-09-17 16:51:49] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1948e8012d1832c007219758004e00751d..."} 
[2026-09-17 16:51:49] local.INFO: Packet analysis {"connection_id":188148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:51:49] local.INFO: Extracted packet for processing {"connection_id":188148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756560576,"raw_latitude":119641944,"longitude_deg":75.6560576,"latitude_deg":11.9641944,"altitude":78,"angle":117,"satellites":29,"speed":22,"hex_longitude":"2d1832c0","hex_latitude":"07219758","is_valid_coordinates":true} 
[2026-09-17 16:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148876544001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21269983719849984,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794334208,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789644065000,"timestamp_ms":1789644065000,"timestamp_seconds":1789644065,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1948e8"} 
[2026-09-17 16:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 16:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148876544001,"66":14515,"105":206,"83":41984,"24":22,"16":21269983719849984,"45":1738389486794334208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 16:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148876544001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:51:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 16:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21269983719849984,"km_value":21269983719849.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794334208,"description":"Unknown IO ID 45"} 
[2026-09-17 16:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148876544001,"power":14515,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1738389486794334208}} 
[2026-09-17 16:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":188148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:51:49] local.INFO: GPS data processed {"connection_id":188148,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:51:49] local.INFO: Acknowledgment sent {"connection_id":188148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:51:50] local.INFO: TCP Data received {"connection_id":188148,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1977c8012d18544007218998005000761d..."} 
[2026-09-17 16:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1977c8012d18544007218998005000761d..."} 
[2026-09-17 16:51:50] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1977c8012d18544007218998005000761d..."} 
[2026-09-17 16:51:50] local.INFO: Packet analysis {"connection_id":188148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:51:50] local.INFO: Extracted packet for processing {"connection_id":188148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756569152,"raw_latitude":119638424,"longitude_deg":75.6569152,"latitude_deg":11.9638424,"altitude":80,"angle":118,"satellites":29,"speed":35,"hex_longitude":"2d185440","hex_latitude":"07218998","is_valid_coordinates":true} 
[2026-09-17 16:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148880640001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21270421806514176,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743667142606673920,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789644077000,"timestamp_ms":1789644077000,"timestamp_seconds":1789644077,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1977c8"} 
[2026-09-17 16:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 16:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148880640001,"66":13993,"106":206,"83":41984,"24":35,"16":21270421806514176,"45":1743667142606673920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-17 16:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148880640001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:51:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-17 16:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21270421806514176,"km_value":21270421806514.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743667142606673920,"description":"Unknown IO ID 45"} 
[2026-09-17 16:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148880640001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1743667142606673920}} 
[2026-09-17 16:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":188148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:51:51] local.INFO: GPS data processed {"connection_id":188148,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:51:51] local.INFO: Acknowledgment sent {"connection_id":188148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:51:57] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:51:57] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:51:57] local.INFO: Packet analysis {"connection_id":186823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:51:57] local.INFO: Extracted packet for processing {"connection_id":186823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:51:57] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:51:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":186823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:51:57] local.INFO: GPS data processed {"connection_id":186823,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:51:57] local.INFO: Acknowledgment sent {"connection_id":186823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:52:07] local.INFO: TCP Data received {"connection_id":185362,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:52:07] local.INFO: Processing buffer {"connection_id":185362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:52:07] local.INFO: IMEI packet received {"connection_id":185362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":185362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:52:14] local.INFO: TCP Data received {"connection_id":185363,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:52:15] local.INFO: Processing buffer {"connection_id":185363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:52:15] local.INFO: IMEI packet received {"connection_id":185363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":185363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:52:15] local.INFO: TCP Data received {"connection_id":185361,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:52:15] local.INFO: Processing buffer {"connection_id":185361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:52:15] local.INFO: IMEI packet received {"connection_id":185361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":185361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:52:20] local.INFO: TCP Data received {"connection_id":185363,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:52:20] local.INFO: Processing buffer {"connection_id":185363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:52:20] local.INFO: IMEI packet received {"connection_id":185363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":185363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:52:21] local.INFO: TCP Data received {"connection_id":185363,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:52:21] local.INFO: Processing buffer {"connection_id":185363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:52:21] local.INFO: Packet analysis {"connection_id":185363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:52:21] local.INFO: Extracted packet for processing {"connection_id":185363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:52:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:52:21] 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-09-17 16:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":185363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:52:21] local.INFO: GPS data processed {"connection_id":185363,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:52:21] local.INFO: Acknowledgment sent {"connection_id":185363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:52:35] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:52:35] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:52:35] local.INFO: IMEI packet received {"connection_id":185364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":185364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:52:35] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:52:35] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:52:35] local.INFO: IMEI packet received {"connection_id":185364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":185364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:52:41] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:52:41] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:52:41] local.INFO: IMEI packet received {"connection_id":185364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":185364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:52:42] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af198768012d18628007218370004f006b1d..."} 
[2026-09-17 16:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af198768012d18628007218370004f006b1d..."} 
[2026-09-17 16:52:42] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af198768012d18628007218370004f006b1d..."} 
[2026-09-17 16:52:42] local.INFO: Packet analysis {"connection_id":185364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:52:42] local.INFO: Extracted packet for processing {"connection_id":185364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756572800,"raw_latitude":119636848,"longitude_deg":75.65728,"latitude_deg":11.9636848,"altitude":79,"angle":107,"satellites":29,"speed":41,"hex_longitude":"2d186280","hex_latitude":"07218370","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883712001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21270615080042496,"note":"Value kept but may cause issues"} 
[2026-09-17 16:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753096554325579776,"note":"Value kept but may cause issues"} 
[2026-09-17 16:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789644081000,"timestamp_ms":1789644081000,"timestamp_seconds":1789644081,"priority":1,"record_length":96,"hex_timestamp":"000001a0af198768"} 
[2026-09-17 16:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 16:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883712001,"66":14461,"106":206,"83":41984,"24":41,"16":21270615080042496,"45":1753096554325579776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-17 16:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883712001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:52:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-17 16:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21270615080042496,"km_value":21270615080042.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753096554325579776,"description":"Unknown IO ID 45"} 
[2026-09-17 16:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883712001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1753096554325579776}} 
[2026-09-17 16:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":185364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:52:42] local.INFO: GPS data processed {"connection_id":185364,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:52:42] local.INFO: Acknowledgment sent {"connection_id":185364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:52:53] local.INFO: TCP Data received {"connection_id":185363,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:52:53] local.INFO: Processing buffer {"connection_id":185363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:52:53] local.INFO: Packet analysis {"connection_id":185363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:52:53] local.INFO: Extracted packet for processing {"connection_id":185363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:52:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:52:53] 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-09-17 16:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":185363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:52:53] local.INFO: GPS data processed {"connection_id":185363,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:52:53] local.INFO: Acknowledgment sent {"connection_id":185363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:52:55] local.INFO: TCP Data received {"connection_id":185513,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:52:55] local.INFO: Processing buffer {"connection_id":185513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:52:55] local.INFO: IMEI packet received {"connection_id":185513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":185513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:53:13] local.INFO: TCP Data received {"connection_id":185364,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1aa0a8012d18f0000720dec0003c00951c..."} 
[2026-09-17 16:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1aa0a8012d18f0000720dec0003c00951c..."} 
[2026-09-17 16:53:13] local.INFO: Processing buffer {"connection_id":185364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1aa0a8012d18f0000720dec0003c00951c..."} 
[2026-09-17 16:53:13] local.INFO: Packet analysis {"connection_id":185364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1a"} 
[2026-09-17 16:53:13] local.INFO: Extracted packet for processing {"connection_id":185364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1a"} 
[2026-09-17 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756609024,"raw_latitude":119594688,"longitude_deg":75.6609024,"latitude_deg":11.9594688,"altitude":60,"angle":149,"satellites":28,"speed":39,"hex_longitude":"2d18f000","hex_latitude":"0720dec0","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148900608001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21273625852116992,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790462357474689024,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789644153000,"timestamp_ms":1789644153000,"timestamp_seconds":1789644153,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1aa0a8"} 
[2026-09-17 16:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148900608001,"66":14374,"103":206,"83":41984,"24":39,"16":21273625852116992,"45":1790462357474689024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 16:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148900608001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:53:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 16:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21273625852116992,"km_value":21273625852116.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790462357474689024,"description":"Unknown IO ID 45"} 
[2026-09-17 16:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148900608001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1790462357474689024}} 
[2026-09-17 16:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":185364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:53:13] local.INFO: GPS data processed {"connection_id":185364,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:53:13] local.INFO: Acknowledgment sent {"connection_id":185364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:53:14] local.INFO: TCP Data received {"connection_id":185514,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:53:14] local.INFO: Processing buffer {"connection_id":185514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:53:14] local.INFO: IMEI packet received {"connection_id":185514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":185514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:53:20] local.INFO: TCP Data received {"connection_id":185514,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:53:20] local.INFO: Processing buffer {"connection_id":185514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:53:20] local.INFO: IMEI packet received {"connection_id":185514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":185514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:53:21] local.INFO: TCP Data received {"connection_id":185514,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:53:21] local.INFO: Processing buffer {"connection_id":185514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:53:21] local.INFO: Packet analysis {"connection_id":185514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:53:21] local.INFO: Extracted packet for processing {"connection_id":185514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:53:21] 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-09-17 16:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":185514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:53:21] local.INFO: GPS data processed {"connection_id":185514,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:53:21] local.INFO: Acknowledgment sent {"connection_id":185514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:53:35] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:53:35] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:53:35] local.INFO: IMEI packet received {"connection_id":188149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":188149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:53:38] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:53:38] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:53:38] local.INFO: IMEI packet received {"connection_id":188149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":188149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:53:41] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:53:41] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:53:41] local.INFO: IMEI packet received {"connection_id":188149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":188149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:53:41] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1aac60012d18f7c00720d5e0003c00841c..."} 
[2026-09-17 16:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1aac60012d18f7c00720d5e0003c00841c..."} 
[2026-09-17 16:53:41] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1aac60012d18f7c00720d5e0003c00841c..."} 
[2026-09-17 16:53:41] local.INFO: Packet analysis {"connection_id":188149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1a"} 
[2026-09-17 16:53:41] local.INFO: Extracted packet for processing {"connection_id":188149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1a"} 
[2026-09-17 16:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756611008,"raw_latitude":119592416,"longitude_deg":75.6611008,"latitude_deg":11.9592416,"altitude":60,"angle":132,"satellites":28,"speed":39,"hex_longitude":"2d18f7c0","hex_latitude":"0720d5e0","is_valid_coordinates":true} 
[2026-09-17 16:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148903168001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21273771881005056,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796936281937068032,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644156000,"timestamp_ms":1789644156000,"timestamp_seconds":1789644156,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1aac60"} 
[2026-09-17 16:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148903168001,"66":14428,"103":206,"83":41984,"24":39,"16":21273771881005056,"45":1796936281937068032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 16:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148903168001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:53:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 16:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21273771881005056,"km_value":21273771881005.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796936281937068032,"description":"Unknown IO ID 45"} 
[2026-09-17 16:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148903168001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1796936281937068032}} 
[2026-09-17 16:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":188149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:53:41] local.INFO: GPS data processed {"connection_id":188149,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:53:41] local.INFO: Acknowledgment sent {"connection_id":188149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:53:44] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1abc00012d1905c00720cce8003900781c..."} 
[2026-09-17 16:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1abc00012d1905c00720cce8003900781c..."} 
[2026-09-17 16:53:44] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1abc00012d1905c00720cce8003900781c..."} 
[2026-09-17 16:53:44] local.INFO: Packet analysis {"connection_id":188149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1a"} 
[2026-09-17 16:53:44] local.INFO: Extracted packet for processing {"connection_id":188149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1a"} 
[2026-09-17 16:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756614592,"raw_latitude":119590120,"longitude_deg":75.6614592,"latitude_deg":11.959012,"altitude":57,"angle":120,"satellites":28,"speed":43,"hex_longitude":"2d1905c0","hex_latitude":"0720cce8","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148903936001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21273978039435264,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799117713005993984,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789644160000,"timestamp_ms":1789644160000,"timestamp_seconds":1789644160,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1abc00"} 
[2026-09-17 16:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148903936001,"66":14461,"103":206,"83":41984,"24":43,"16":21273978039435264,"45":1799117713005993984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 16:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148903936001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:53:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 16:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21273978039435264,"km_value":21273978039435.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799117713005993984,"description":"Unknown IO ID 45"} 
[2026-09-17 16:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148903936001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1799117713005993984}} 
[2026-09-17 16:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":188149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:53:44] local.INFO: GPS data processed {"connection_id":188149,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:53:44] local.INFO: Acknowledgment sent {"connection_id":188149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:53:53] local.INFO: TCP Data received {"connection_id":185514,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:53:53] local.INFO: Processing buffer {"connection_id":185514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:53:53] local.INFO: Packet analysis {"connection_id":185514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:53:53] local.INFO: Extracted packet for processing {"connection_id":185514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:53:53] 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-09-17 16:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":185514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:53:53] local.INFO: GPS data processed {"connection_id":185514,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:53:53] local.INFO: Acknowledgment sent {"connection_id":185514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:54:15] local.INFO: TCP Data received {"connection_id":185368,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:54:15] local.INFO: Processing buffer {"connection_id":185368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:54:15] local.INFO: IMEI packet received {"connection_id":185368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":185368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:54:15] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1b96c0012d19ad4007209040002a00c41d..."} 
[2026-09-17 16:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1b96c0012d19ad4007209040002a00c41d..."} 
[2026-09-17 16:54:15] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1b96c0012d19ad4007209040002a00c41d..."} 
[2026-09-17 16:54:15] local.INFO: Packet analysis {"connection_id":188149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1b"} 
[2026-09-17 16:54:15] local.INFO: Extracted packet for processing {"connection_id":188149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1b"} 
[2026-09-17 16:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574592,"longitude_deg":75.6657472,"latitude_deg":11.9574592,"altitude":42,"angle":196,"satellites":29,"speed":31,"hex_longitude":"2d19ad40","hex_latitude":"07209040","is_valid_coordinates":true} 
[2026-09-17 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148917760001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21276675278897152,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383507580928,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789644216000,"timestamp_ms":1789644216000,"timestamp_seconds":1789644216,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1b96c0"} 
[2026-09-17 16:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148917760001,"66":14428,"103":206,"83":41984,"24":31,"16":21276675278897152,"45":1853442383507580928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 16:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148917760001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:54:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 16:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21276675278897152,"km_value":21276675278897.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383507580928,"description":"Unknown IO ID 45"} 
[2026-09-17 16:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148917760001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1853442383507580928}} 
[2026-09-17 16:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":188149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:54:15] local.INFO: GPS data processed {"connection_id":188149,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:54:15] local.INFO: Acknowledgment sent {"connection_id":188149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:54:20] local.INFO: TCP Data received {"connection_id":185368,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:54:20] local.INFO: Processing buffer {"connection_id":185368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:54:20] local.INFO: IMEI packet received {"connection_id":185368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":185368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:54:21] local.INFO: TCP Data received {"connection_id":185368,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:54:21] local.INFO: Processing buffer {"connection_id":185368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:54:21] local.INFO: Packet analysis {"connection_id":185368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:54:21] local.INFO: Extracted packet for processing {"connection_id":185368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:54:21] 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-09-17 16:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":185368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:54:21] local.INFO: GPS data processed {"connection_id":185368,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:54:21] local.INFO: Acknowledgment sent {"connection_id":185368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:54:35] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:54:35] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:54:35] local.INFO: IMEI packet received {"connection_id":186824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":186824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:54:36] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:54:36] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:54:36] local.INFO: IMEI packet received {"connection_id":186824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":186824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:54:40] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:54:40] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:54:40] local.INFO: IMEI packet received {"connection_id":186824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":186824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:54:41] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1b9aa8012d19ad0007208d10002a00b81d..."} 
[2026-09-17 16:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1b9aa8012d19ad0007208d10002a00b81d..."} 
[2026-09-17 16:54:41] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1b9aa8012d19ad0007208d10002a00b81d..."} 
[2026-09-17 16:54:41] local.INFO: Packet analysis {"connection_id":186824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1b"} 
[2026-09-17 16:54:41] local.INFO: Extracted packet for processing {"connection_id":186824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1b"} 
[2026-09-17 16:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119573776,"longitude_deg":75.6657408,"latitude_deg":11.9573776,"altitude":42,"angle":184,"satellites":29,"speed":33,"hex_longitude":"2d19ad00","hex_latitude":"07208d10","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148919296001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21276713933602816,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274415104,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644217000,"timestamp_ms":1789644217000,"timestamp_seconds":1789644217,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1b9aa8"} 
[2026-09-17 16:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148919296001,"66":14428,"103":206,"83":41984,"24":33,"16":21276713933602816,"45":1850205421274415104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 16:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148919296001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:54:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 16:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21276713933602816,"km_value":21276713933602.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274415104,"description":"Unknown IO ID 45"} 
[2026-09-17 16:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148919296001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850205421274415104}} 
[2026-09-17 16:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":186824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:54:41] local.INFO: GPS data processed {"connection_id":186824,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:54:41] local.INFO: Acknowledgment sent {"connection_id":186824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:54:53] local.INFO: TCP Data received {"connection_id":185368,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:54:53] local.INFO: Processing buffer {"connection_id":185368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:54:53] local.INFO: Packet analysis {"connection_id":185368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:54:53] local.INFO: Extracted packet for processing {"connection_id":185368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:54:53] 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-09-17 16:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":185368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:54:53] local.INFO: GPS data processed {"connection_id":185368,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:54:53] local.INFO: Acknowledgment sent {"connection_id":185368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:55:12] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1c4a70012d19f980071ffb80002600601d..."} 
[2026-09-17 16:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1c4a70012d19f980071ffb80002600601d..."} 
[2026-09-17 16:55:12] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1c4a70012d19f980071ffb80002600601d..."} 
[2026-09-17 16:55:12] local.INFO: Packet analysis {"connection_id":186824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:55:12] local.INFO: Extracted packet for processing {"connection_id":186824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756676992,"raw_latitude":119536512,"longitude_deg":75.6676992,"latitude_deg":11.9536512,"altitude":38,"angle":96,"satellites":29,"speed":32,"hex_longitude":"2d19f980","hex_latitude":"071ffb80","is_valid_coordinates":true} 
[2026-09-17 16:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148930560001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21278921546792960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870049407122751488,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789644262000,"timestamp_ms":1789644262000,"timestamp_seconds":1789644262,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1c4a70"} 
[2026-09-17 16:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 16:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148930560001,"66":13222,"101":206,"83":41984,"24":32,"16":21278921546792960,"45":1870049407122751488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148930560001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:55:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21278921546792960,"km_value":21278921546792.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870049407122751488,"description":"Unknown IO ID 45"} 
[2026-09-17 16:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148930560001,"power":13222,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1870049407122751488}} 
[2026-09-17 16:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":186824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:55:12] local.INFO: GPS data processed {"connection_id":186824,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:55:12] local.INFO: Acknowledgment sent {"connection_id":186824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:55:20] local.INFO: TCP Data received {"connection_id":185515,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:55:20] local.INFO: Processing buffer {"connection_id":185515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:55:20] local.INFO: IMEI packet received {"connection_id":185515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":185515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:55:25] local.INFO: TCP Data received {"connection_id":185515,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:55:25] local.INFO: Processing buffer {"connection_id":185515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:55:25] local.INFO: IMEI packet received {"connection_id":185515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":185515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:55:26] local.INFO: TCP Data received {"connection_id":185515,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:55:26] local.INFO: Processing buffer {"connection_id":185515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:55:26] local.INFO: Packet analysis {"connection_id":185515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:55:26] local.INFO: Extracted packet for processing {"connection_id":185515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:55:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":185515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:55:26] local.INFO: GPS data processed {"connection_id":185515,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:55:26] local.INFO: Acknowledgment sent {"connection_id":185515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:55:30] local.INFO: TCP Data received {"connection_id":185515,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:55:30] local.INFO: Processing buffer {"connection_id":185515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:55:30] local.INFO: Packet analysis {"connection_id":185515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:55:30] local.INFO: Extracted packet for processing {"connection_id":185515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:55:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":185515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:55:31] local.INFO: GPS data processed {"connection_id":185515,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:55:31] local.INFO: Acknowledgment sent {"connection_id":185515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:55:40] local.INFO: TCP Data received {"connection_id":186826,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:55:40] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:55:40] local.INFO: IMEI packet received {"connection_id":186826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":186826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:55:44] local.INFO: TCP Data received {"connection_id":186826,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:55:44] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:55:44] local.INFO: IMEI packet received {"connection_id":186826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":186826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:55:44] local.INFO: TCP Data received {"connection_id":186826,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1c5240012d1a0040071ffa200027006d1d..."} 
[2026-09-17 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1c5240012d1a0040071ffa200027006d1d..."} 
[2026-09-17 16:55:44] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1c5240012d1a0040071ffa200027006d1d..."} 
[2026-09-17 16:55:44] local.INFO: Packet analysis {"connection_id":186826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:55:44] local.INFO: Extracted packet for processing {"connection_id":186826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756678720,"raw_latitude":119536160,"longitude_deg":75.667872,"latitude_deg":11.953616,"altitude":39,"angle":109,"satellites":29,"speed":36,"hex_longitude":"2d1a0040","hex_latitude":"071ffa20","is_valid_coordinates":true} 
[2026-09-17 16:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148931072001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21279003151171584,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871667888238854144,"note":"Value kept but may cause issues"} 
[2026-09-17 16:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789644264000,"timestamp_ms":1789644264000,"timestamp_seconds":1789644264,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1c5240"} 
[2026-09-17 16:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 16:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148931072001,"66":14352,"101":206,"83":41984,"24":36,"16":21279003151171584,"45":1871667888238854144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148931072001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:55:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21279003151171584,"km_value":21279003151171.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871667888238854144,"description":"Unknown IO ID 45"} 
[2026-09-17 16:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148931072001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1871667888238854144}} 
[2026-09-17 16:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":186826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:55:44] local.INFO: GPS data processed {"connection_id":186826,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:55:44] local.INFO: Acknowledgment sent {"connection_id":186826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:56:15] local.INFO: TCP Data received {"connection_id":185372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:56:15] local.INFO: Processing buffer {"connection_id":185372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:56:15] local.INFO: IMEI packet received {"connection_id":185372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":185372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:56:15] local.INFO: TCP Data received {"connection_id":186826,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1c7568012d1a2400071fef18002b006b1d..."} 
[2026-09-17 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1c7568012d1a2400071fef18002b006b1d..."} 
[2026-09-17 16:56:15] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1c7568012d1a2400071fef18002b006b1d..."} 
[2026-09-17 16:56:15] local.INFO: Packet analysis {"connection_id":186826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:56:15] local.INFO: Extracted packet for processing {"connection_id":186826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756687872,"raw_latitude":119533336,"longitude_deg":75.6687872,"latitude_deg":11.9533336,"altitude":43,"angle":107,"satellites":29,"speed":45,"hex_longitude":"2d1a2400","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-17 16:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148931584001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21279458417704960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873567844331560960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789644273000,"timestamp_ms":1789644273000,"timestamp_seconds":1789644273,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1c7568"} 
[2026-09-17 16:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733138432,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2937852864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503924309622784,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4206886948,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462190693,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4323719529365831936,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3221692421,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2563178496,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":104,"raw_value":10415184510200576,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4233375815036829660,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:15] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,153,160,74,45,128,251,38,29,10,66,192,36,28,62,1,240,224,227,152,175,31,4,113,205,23,39,228,40,239,55,2,75,7,37,206,104,25],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-17 16:56:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810366138803027968,"timestamp_seconds":2810366138803028.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148931584001,"66":14080,"101":206,"83":41984,"24":45,"16":21279458417704960,"45":1873567844331560960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148931584001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:56:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21279458417704960,"km_value":21279458417704.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873567844331560960,"description":"Unknown IO ID 45"} 
[2026-09-17 16:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148931584001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1873567844331560960}} 
[2026-09-17 16:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":186826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:56:15] local.INFO: GPS data processed {"connection_id":186826,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:56:15] local.INFO: Acknowledgment sent {"connection_id":186826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:56:20] local.INFO: TCP Data received {"connection_id":185372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:56:20] local.INFO: Processing buffer {"connection_id":185372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:56:20] local.INFO: IMEI packet received {"connection_id":185372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":185372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:56:21] local.INFO: TCP Data received {"connection_id":185372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:56:21] local.INFO: Processing buffer {"connection_id":185372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:56:21] local.INFO: Packet analysis {"connection_id":185372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:56:21] local.INFO: Extracted packet for processing {"connection_id":185372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":185372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:56:21] local.INFO: GPS data processed {"connection_id":185372,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:56:21] local.INFO: Acknowledgment sent {"connection_id":185372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:56:35] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:56:35] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:56:35] local.INFO: IMEI packet received {"connection_id":188150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":188150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:56:40] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:56:40] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:56:40] local.INFO: IMEI packet received {"connection_id":188150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":188150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:56:41] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1c94a8012d1a47c0071fe628002c006b1d..."} 
[2026-09-17 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1c94a8012d1a47c0071fe628002c006b1d..."} 
[2026-09-17 16:56:41] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1c94a8012d1a47c0071fe628002c006b1d..."} 
[2026-09-17 16:56:41] local.INFO: Packet analysis {"connection_id":188150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:56:41] local.INFO: Extracted packet for processing {"connection_id":188150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756697024,"raw_latitude":119531048,"longitude_deg":75.6697024,"latitude_deg":11.9531048,"altitude":44,"angle":107,"satellites":29,"speed":45,"hex_longitude":"2d1a47c0","hex_latitude":"071fe628","is_valid_coordinates":true} 
[2026-09-17 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148933888001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21279905094303744,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883630574748243968,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644281000,"timestamp_ms":1789644281000,"timestamp_seconds":1789644281,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1c94a8"} 
[2026-09-17 16:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2937857864,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4205838372,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2565865472,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,153,160,82,45,64,250,39,29,10,66,74,128,251,38,192,1,240,224,227,175,31,4,113,205,58,238,28,239,54,2,75,7,36,37],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-17 16:56:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098594315932073984,"timestamp_seconds":3098594315932074.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 16:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148933888001,"66":14428,"101":206,"83":41984,"24":45,"16":21279905094303744,"45":1883630574748243968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148933888001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:56:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21279905094303744,"km_value":21279905094303.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883630574748243968,"description":"Unknown IO ID 45"} 
[2026-09-17 16:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148933888001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1883630574748243968}} 
[2026-09-17 16:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":188150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:56:41] local.INFO: GPS data processed {"connection_id":188150,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:56:41] local.INFO: Acknowledgment sent {"connection_id":188150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:56:53] local.INFO: TCP Data received {"connection_id":185372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:56:53] local.INFO: Processing buffer {"connection_id":185372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1973e0012d34bf8006aa4428000a011827..."} 
[2026-09-17 16:56:53] local.INFO: Packet analysis {"connection_id":185372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:56:53] local.INFO: Extracted packet for processing {"connection_id":185372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af19"} 
[2026-09-17 16:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821864,"longitude_deg":75.8431616,"latitude_deg":11.1821864,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4428","is_valid_coordinates":true} 
[2026-09-17 16:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148817920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057350656,"note":"Value kept but may cause issues"} 
[2026-09-17 16:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789644076000,"timestamp_ms":1789644076000,"timestamp_seconds":1789644076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1973e0"} 
[2026-09-17 16:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 16:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148817920001,"66":25843,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801882539057350656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148817920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057350656,"description":"Unknown IO ID 45"} 
[2026-09-17 16:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148817920001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057350656}} 
[2026-09-17 16:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":185372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:56:53] local.INFO: GPS data processed {"connection_id":185372,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:56:53] local.INFO: Acknowledgment sent {"connection_id":185372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:57:09] local.INFO: TCP Data received {"connection_id":188151,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:57:09] local.INFO: Processing buffer {"connection_id":188151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:57:09] local.INFO: IMEI packet received {"connection_id":188151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:57:10] local.INFO: TCP Data received {"connection_id":188151,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1dec68012d0c16000702f4b8000c00a924..."} 
[2026-09-17 16:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1dec68012d0c16000702f4b8000c00a924..."} 
[2026-09-17 16:57:10] local.INFO: Processing buffer {"connection_id":188151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1dec68012d0c16000702f4b8000c00a924..."} 
[2026-09-17 16:57:10] local.INFO: Packet analysis {"connection_id":188151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1d"} 
[2026-09-17 16:57:10] local.INFO: Extracted packet for processing {"connection_id":188151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1d"} 
[2026-09-17 16:57:10] local.INFO: GPS Element Parsed {"raw_longitude":755766784,"raw_latitude":117634232,"longitude_deg":75.5766784,"latitude_deg":11.7634232,"altitude":12,"angle":169,"satellites":36,"speed":36,"hex_longitude":"2d0c1600","hex_latitude":"0702f4b8","is_valid_coordinates":true} 
[2026-09-17 16:57: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-09-17 16:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148955904001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32956594027233280,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868772545734019072,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789644369000,"timestamp_ms":1789644369000,"timestamp_seconds":1789644369,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1dec68"} 
[2026-09-17 16:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:57: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-09-17 16:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148955904001,"66":14559,"37":206,"94":11008,"24":36,"16":32956594027233280,"45":868772545734019072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 16:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148955904001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:57:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 16:57:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32956594027233280,"km_value":32956594027233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":868772545734019072,"description":"Unknown IO ID 45"} 
[2026-09-17 16:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148955904001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":868772545734019072}} 
[2026-09-17 16:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":188151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856741,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:57:10] local.INFO: GPS data processed {"connection_id":188151,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:57:10] local.INFO: Acknowledgment sent {"connection_id":188151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:57:12] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1c9c78012d1a4f80071fe2c0002c00761d..."} 
[2026-09-17 16:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1c9c78012d1a4f80071fe2c0002c00761d..."} 
[2026-09-17 16:57:12] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1c9c78012d1a4f80071fe2c0002c00761d..."} 
[2026-09-17 16:57:12] local.INFO: Packet analysis {"connection_id":188150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:57:12] local.INFO: Extracted packet for processing {"connection_id":188150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756699008,"raw_latitude":119530176,"longitude_deg":75.6699008,"latitude_deg":11.9530176,"altitude":44,"angle":118,"satellites":29,"speed":42,"hex_longitude":"2d1a4f80","hex_latitude":"071fe2c0","is_valid_coordinates":true} 
[2026-09-17 16:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148935936001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280008173518848,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893693305165064192,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789644283000,"timestamp_ms":1789644283000,"timestamp_seconds":1789644283,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1c9c78"} 
[2026-09-17 16:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148935936001,"66":14461,"101":206,"83":41984,"24":42,"16":21280008173518848,"45":1893693305165064192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148935936001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:57:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280008173518848,"km_value":21280008173518.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893693305165064192,"description":"Unknown IO ID 45"} 
[2026-09-17 16:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148935936001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1893693305165064192}} 
[2026-09-17 16:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":188150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:57:12] local.INFO: GPS data processed {"connection_id":188150,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:57:12] local.INFO: Acknowledgment sent {"connection_id":188150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:57:15] local.INFO: TCP Data received {"connection_id":186828,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:57:15] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:57:15] local.INFO: IMEI packet received {"connection_id":186828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":186828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:57:20] local.INFO: TCP Data received {"connection_id":186828,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:57:20] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:57:20] local.INFO: IMEI packet received {"connection_id":186828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":186828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:57:21] local.INFO: TCP Data received {"connection_id":186828,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:57:21] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:57:21] local.INFO: Packet analysis {"connection_id":186828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:57:21] local.INFO: Extracted packet for processing {"connection_id":186828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 16:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 16:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 16:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 16:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 16:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":186828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:57:21] local.INFO: GPS data processed {"connection_id":186828,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:57:21] local.INFO: Acknowledgment sent {"connection_id":186828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:57:36] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:57:36] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:57:36] local.INFO: IMEI packet received {"connection_id":188152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":188152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:57:40] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:57:40] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:57:40] local.INFO: IMEI packet received {"connection_id":188152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":188152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:57:41] local.INFO: TCP Data received {"connection_id":188151,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1f0990012d0c21c00702b4380016010323..."} 
[2026-09-17 16:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1f0990012d0c21c00702b4380016010323..."} 
[2026-09-17 16:57:41] local.INFO: Processing buffer {"connection_id":188151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1f0990012d0c21c00702b4380016010323..."} 
[2026-09-17 16:57:41] local.INFO: Packet analysis {"connection_id":188151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:57:41] local.INFO: Extracted packet for processing {"connection_id":188151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:57:41] local.INFO: GPS Element Parsed {"raw_longitude":755769792,"raw_latitude":117617720,"longitude_deg":75.5769792,"latitude_deg":11.761772,"altitude":22,"angle":259,"satellites":35,"speed":6,"hex_longitude":"2d0c21c0","hex_latitude":"0702b438","is_valid_coordinates":true} 
[2026-09-17 16:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148976896001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32957457315659776,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874402045261795328,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644442000,"timestamp_ms":1789644442000,"timestamp_seconds":1789644442,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1f0990"} 
[2026-09-17 16:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148976896001,"66":14374,"37":206,"94":11008,"24":6,"16":32957457315659776,"45":874402045261795328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 16:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148976896001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:57:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 16:57:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32957457315659776,"km_value":32957457315659.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":874402045261795328,"description":"Unknown IO ID 45"} 
[2026-09-17 16:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148976896001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":874402045261795328}} 
[2026-09-17 16:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":188151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856744,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:57:41] local.INFO: GPS data processed {"connection_id":188151,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:57:41] local.INFO: Acknowledgment sent {"connection_id":188151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:57:41] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1cb000012d1a6140071fdb20002d00611c..."} 
[2026-09-17 16:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1cb000012d1a6140071fdb20002d00611c..."} 
[2026-09-17 16:57:41] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1cb000012d1a6140071fdb20002d00611c..."} 
[2026-09-17 16:57:41] local.INFO: Packet analysis {"connection_id":188152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:57:41] local.INFO: Extracted packet for processing {"connection_id":188152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1c"} 
[2026-09-17 16:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756703552,"raw_latitude":119528224,"longitude_deg":75.6703552,"latitude_deg":11.9528224,"altitude":45,"angle":97,"satellites":28,"speed":38,"hex_longitude":"2d1a6140","hex_latitude":"071fdb20","is_valid_coordinates":true} 
[2026-09-17 16:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148936448001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21280248691687424,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895874736234348544,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644288000,"timestamp_ms":1789644288000,"timestamp_seconds":1789644288,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1cb000"} 
[2026-09-17 16:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 16:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148936448001,"66":14048,"101":206,"83":41984,"24":38,"16":21280248691687424,"45":1895874736234348544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148936448001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:57:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21280248691687424,"km_value":21280248691687.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895874736234348544,"description":"Unknown IO ID 45"} 
[2026-09-17 16:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148936448001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1895874736234348544}} 
[2026-09-17 16:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":188152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:57:41] local.INFO: GPS data processed {"connection_id":188152,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:57:41] local.INFO: Acknowledgment sent {"connection_id":188152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:57:52] local.INFO: TCP Data received {"connection_id":186828,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:57:52] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:57:52] local.INFO: Packet analysis {"connection_id":186828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:57:52] local.INFO: Extracted packet for processing {"connection_id":186828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 16:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 16:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 16:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 16:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 16:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":186828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:57:52] local.INFO: GPS data processed {"connection_id":186828,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:57:52] local.INFO: Acknowledgment sent {"connection_id":186828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:57:57] local.INFO: TCP Data received {"connection_id":185373,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:57:57] local.INFO: Processing buffer {"connection_id":185373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:57:57] local.INFO: IMEI packet received {"connection_id":185373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":185373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:58:02] local.INFO: TCP Data received {"connection_id":185373,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:58:02] local.INFO: Processing buffer {"connection_id":185373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:58:02] local.INFO: IMEI packet received {"connection_id":185373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":185373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:58:02] local.INFO: TCP Data received {"connection_id":185373,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1f1160012d0c20400702b4300016011024..."} 
[2026-09-17 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1f1160012d0c20400702b4300016011024..."} 
[2026-09-17 16:58:02] local.INFO: Processing buffer {"connection_id":185373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1f1160012d0c20400702b4300016011024..."} 
[2026-09-17 16:58:02] local.INFO: Packet analysis {"connection_id":185373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:58:02] local.INFO: Extracted packet for processing {"connection_id":185373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":755769408,"raw_latitude":117617712,"longitude_deg":75.5769408,"latitude_deg":11.7617712,"altitude":22,"angle":272,"satellites":36,"speed":7,"hex_longitude":"2d0c2040","hex_latitude":"0702b430","is_valid_coordinates":true} 
[2026-09-17 16:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148977152001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32957474495528960,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874190939029256192,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789644444000,"timestamp_ms":1789644444000,"timestamp_seconds":1789644444,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1f1160"} 
[2026-09-17 16:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148977152001,"66":14374,"37":206,"94":11008,"24":7,"16":32957474495528960,"45":874190939029256192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 16:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148977152001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:58:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 16:58:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32957474495528960,"km_value":32957474495528.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":874190939029256192,"description":"Unknown IO ID 45"} 
[2026-09-17 16:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148977152001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":874190939029256192}} 
[2026-09-17 16:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":185373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:58:03] local.INFO: GPS data processed {"connection_id":185373,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:58:03] local.INFO: Acknowledgment sent {"connection_id":185373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:58:13] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1f1548012d1a9880071fa0d80034015d1f..."} 
[2026-09-17 16:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1f1548012d1a9880071fa0d80034015d1f..."} 
[2026-09-17 16:58:13] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1f1548012d1a9880071fa0d80034015d1f..."} 
[2026-09-17 16:58:13] local.INFO: Packet analysis {"connection_id":188152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:58:13] local.INFO: Extracted packet for processing {"connection_id":188152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756717696,"raw_latitude":119513304,"longitude_deg":75.6717696,"latitude_deg":11.9513304,"altitude":52,"angle":349,"satellites":31,"speed":6,"hex_longitude":"2d1a9880","hex_latitude":"071fa0d8","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148977664001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281408332857344,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916422409529872384,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789644445000,"timestamp_ms":1789644445000,"timestamp_seconds":1789644445,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1f1548"} 
[2026-09-17 16:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 16:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148977664001,"66":13135,"101":206,"83":41984,"24":6,"16":21281408332857344,"45":1916422409529872384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148977664001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:58:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281408332857344,"km_value":21281408332857.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916422409529872384,"description":"Unknown IO ID 45"} 
[2026-09-17 16:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148977664001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1916422409529872384}} 
[2026-09-17 16:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":188152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:58:13] local.INFO: GPS data processed {"connection_id":188152,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:58:13] local.INFO: Acknowledgment sent {"connection_id":188152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:58:14] local.INFO: TCP Data received {"connection_id":185516,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:58:14] local.INFO: Processing buffer {"connection_id":185516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:58:14] local.INFO: IMEI packet received {"connection_id":185516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":185516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:58:20] local.INFO: TCP Data received {"connection_id":185516,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:58:20] local.INFO: Processing buffer {"connection_id":185516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:58:20] local.INFO: IMEI packet received {"connection_id":185516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":185516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:58:21] local.INFO: TCP Data received {"connection_id":185516,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:58:21] local.INFO: Processing buffer {"connection_id":185516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:58:21] local.INFO: Packet analysis {"connection_id":185516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:58:21] local.INFO: Extracted packet for processing {"connection_id":185516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 16:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 16:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 16:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 16:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 16:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":185516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:58:21] local.INFO: GPS data processed {"connection_id":185516,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:58:21] local.INFO: Acknowledgment sent {"connection_id":185516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:58:25] local.INFO: TCP Data received {"connection_id":188153,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:58:25] local.INFO: Processing buffer {"connection_id":188153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:58:25] local.INFO: IMEI packet received {"connection_id":188153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":188153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:58:34] local.INFO: TCP Data received {"connection_id":185373,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1f30a0012d0c1a400702b2d8001600fe21..."} 
[2026-09-17 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1f30a0012d0c1a400702b2d8001600fe21..."} 
[2026-09-17 16:58:34] local.INFO: Processing buffer {"connection_id":185373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1f30a0012d0c1a400702b2d8001600fe21..."} 
[2026-09-17 16:58:34] local.INFO: Packet analysis {"connection_id":185373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:58:34] local.INFO: Extracted packet for processing {"connection_id":185373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:58:34] local.INFO: GPS Element Parsed {"raw_longitude":755767872,"raw_latitude":117617368,"longitude_deg":75.5767872,"latitude_deg":11.7617368,"altitude":22,"angle":254,"satellites":33,"speed":8,"hex_longitude":"2d0c1a40","hex_latitude":"0702b2d8","is_valid_coordinates":true} 
[2026-09-17 16:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148977664001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32957551804940288,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873768726564188160,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789644452000,"timestamp_ms":1789644452000,"timestamp_seconds":1789644452,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1f30a0"} 
[2026-09-17 16:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-17 16:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148977664001,"66":14396,"37":206,"94":11008,"24":8,"16":32957551804940288,"45":873768726564188160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 16:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148977664001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:58:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 16:58:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32957551804940288,"km_value":32957551804940.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":873768726564188160,"description":"Unknown IO ID 45"} 
[2026-09-17 16:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148977664001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":873768726564188160}} 
[2026-09-17 16:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":185373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:58:34] local.INFO: GPS data processed {"connection_id":185373,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:58:34] local.INFO: Acknowledgment sent {"connection_id":185373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:58:35] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:58:35] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:58:35] local.INFO: IMEI packet received {"connection_id":188154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":188154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:58:40] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:58:40] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:58:40] local.INFO: IMEI packet received {"connection_id":188154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":188154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:58:41] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1f1930012d1a9840071fa1a0003501471f..."} 
[2026-09-17 16:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1f1930012d1a9840071fa1a0003501471f..."} 
[2026-09-17 16:58:41] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1f1930012d1a9840071fa1a0003501471f..."} 
[2026-09-17 16:58:41] local.INFO: Packet analysis {"connection_id":188154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:58:41] local.INFO: Extracted packet for processing {"connection_id":188154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756717632,"raw_latitude":119513504,"longitude_deg":75.6717632,"latitude_deg":11.9513504,"altitude":53,"angle":327,"satellites":31,"speed":9,"hex_longitude":"2d1a9840","hex_latitude":"071fa1a0","is_valid_coordinates":true} 
[2026-09-17 16:58: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-09-17 16:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148977920001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281421217759232,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916422409529907200,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644446000,"timestamp_ms":1789644446000,"timestamp_seconds":1789644446,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1f1930"} 
[2026-09-17 16:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 16:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:58: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-09-17 16:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148977920001,"66":13102,"101":206,"83":41984,"24":9,"16":21281421217759232,"45":1916422409529907200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148977920001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:58:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281421217759232,"km_value":21281421217759.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916422409529907200,"description":"Unknown IO ID 45"} 
[2026-09-17 16:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148977920001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1916422409529907200}} 
[2026-09-17 16:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":188154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:58:41] local.INFO: GPS data processed {"connection_id":188154,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:58:41] local.INFO: Acknowledgment sent {"connection_id":188154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:58:51] local.INFO: TCP Data received {"connection_id":185517,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:58:51] local.INFO: Processing buffer {"connection_id":185517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 16:58:51] local.INFO: IMEI packet received {"connection_id":185517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 16:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":185517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:58:53] local.INFO: TCP Data received {"connection_id":185516,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:58:53] local.INFO: Processing buffer {"connection_id":185516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:58:53] local.INFO: Packet analysis {"connection_id":185516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:58:53] local.INFO: Extracted packet for processing {"connection_id":185516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 16:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 16:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 16:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 16:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 16:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":185516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:58:53] local.INFO: GPS data processed {"connection_id":185516,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:58:53] local.INFO: Acknowledgment sent {"connection_id":185516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:58:56] local.INFO: TCP Data received {"connection_id":185374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:58:56] local.INFO: Processing buffer {"connection_id":185374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:58:56] local.INFO: IMEI packet received {"connection_id":185374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":185374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:58:57] local.INFO: TCP Data received {"connection_id":185374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:58:57] local.INFO: Processing buffer {"connection_id":185374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:58:57] local.INFO: IMEI packet received {"connection_id":185374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":185374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:59:02] local.INFO: TCP Data received {"connection_id":185374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:59:02] local.INFO: Processing buffer {"connection_id":185374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:59:02] local.INFO: IMEI packet received {"connection_id":185374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 16:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":185374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:59:02] local.INFO: TCP Data received {"connection_id":185374,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1f7ec0012d0c08c00702ad680014010422..."} 
[2026-09-17 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1f7ec0012d0c08c00702ad680014010422..."} 
[2026-09-17 16:59:02] local.INFO: Processing buffer {"connection_id":185374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1f7ec0012d0c08c00702ad680014010422..."} 
[2026-09-17 16:59:02] local.INFO: Packet analysis {"connection_id":185374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:59:02] local.INFO: Extracted packet for processing {"connection_id":185374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:59:02] local.INFO: GPS Element Parsed {"raw_longitude":755763392,"raw_latitude":117615976,"longitude_deg":75.5763392,"latitude_deg":11.7615976,"altitude":20,"angle":260,"satellites":34,"speed":12,"hex_longitude":"2d0c08c0","hex_latitude":"0702ad68","is_valid_coordinates":true} 
[2026-09-17 16:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148979712001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32957775143239680,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872079876703836160,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789644472000,"timestamp_ms":1789644472000,"timestamp_seconds":1789644472,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1f7ec0"} 
[2026-09-17 16:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 16:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148979712001,"66":14548,"37":206,"94":11008,"24":12,"16":32957775143239680,"45":872079876703836160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 16:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148979712001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:59:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 16:59:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32957775143239680,"km_value":32957775143239.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":872079876703836160,"description":"Unknown IO ID 45"} 
[2026-09-17 16:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148979712001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":872079876703836160}} 
[2026-09-17 16:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":185374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:59:03] local.INFO: GPS data processed {"connection_id":185374,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:59:03] local.INFO: Acknowledgment sent {"connection_id":185374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:59:12] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1f2100012d1a9640071fa3a00035013b1f..."} 
[2026-09-17 16:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1f2100012d1a9640071fa3a00035013b1f..."} 
[2026-09-17 16:59:12] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1f2100012d1a9640071fa3a00035013b1f..."} 
[2026-09-17 16:59:12] local.INFO: Packet analysis {"connection_id":188154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:59:12] local.INFO: Extracted packet for processing {"connection_id":188154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756717120,"raw_latitude":119514016,"longitude_deg":75.671712,"latitude_deg":11.9514016,"altitude":53,"angle":315,"satellites":31,"speed":16,"hex_longitude":"2d1a9640","hex_latitude":"071fa3a0","is_valid_coordinates":true} 
[2026-09-17 16:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148978176001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281451282530304,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916352040785780736,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789644448000,"timestamp_ms":1789644448000,"timestamp_seconds":1789644448,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1f2100"} 
[2026-09-17 16:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 16:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148978176001,"66":13156,"101":206,"83":41984,"24":16,"16":21281451282530304,"45":1916352040785780736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148978176001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:59:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281451282530304,"km_value":21281451282530.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916352040785780736,"description":"Unknown IO ID 45"} 
[2026-09-17 16:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148978176001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1916352040785780736}} 
[2026-09-17 16:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":188154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:59:13] local.INFO: GPS data processed {"connection_id":188154,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:59:13] local.INFO: Acknowledgment sent {"connection_id":188154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:59:20] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:59:20] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:59:20] local.INFO: IMEI packet received {"connection_id":188155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 16:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":188155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:59:25] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:59:25] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 16:59:25] local.INFO: IMEI packet received {"connection_id":188155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 16:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":188155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:59:26] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:59:26] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:59:26] local.INFO: Packet analysis {"connection_id":188155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:59:26] local.INFO: Extracted packet for processing {"connection_id":188155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 16:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 16:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 16:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:59:26] 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-09-17 16:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:59:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 16:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 16:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":188155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:59:26] local.INFO: GPS data processed {"connection_id":188155,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:59:26] local.INFO: Acknowledgment sent {"connection_id":188155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:59:30] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:59:30] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 16:59:30] local.INFO: Packet analysis {"connection_id":188155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:59:30] local.INFO: Extracted packet for processing {"connection_id":188155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 16:59:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 16:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 16:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 16:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 16:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 16:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 16:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 16:59:30] 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-09-17 16:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 16:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 16:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 16:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 16:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 16:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:59:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 16:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 16:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 16:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":188155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:59:30] local.INFO: GPS data processed {"connection_id":188155,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:59:30] local.INFO: Acknowledgment sent {"connection_id":188155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:59:33] local.INFO: TCP Data received {"connection_id":185374,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af20edf0012d0bad800702aa40000f013e24..."} 
[2026-09-17 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af20edf0012d0bad800702aa40000f013e24..."} 
[2026-09-17 16:59:33] local.INFO: Processing buffer {"connection_id":185374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af20edf0012d0bad800702aa40000f013e24..."} 
[2026-09-17 16:59:33] local.INFO: Packet analysis {"connection_id":185374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 16:59:33] local.INFO: Extracted packet for processing {"connection_id":185374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 16:59:33] local.INFO: GPS Element Parsed {"raw_longitude":755740032,"raw_latitude":117615168,"longitude_deg":75.5740032,"latitude_deg":11.7615168,"altitude":15,"angle":318,"satellites":36,"speed":5,"hex_longitude":"2d0bad80","hex_latitude":"0702aa40","is_valid_coordinates":true} 
[2026-09-17 16:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 16:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149007872001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32959042158592000,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842243529171689472,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789644566000,"timestamp_ms":1789644566000,"timestamp_seconds":1789644566,"priority":1,"record_length":96,"hex_timestamp":"000001a0af20edf0"} 
[2026-09-17 16:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 16:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 16:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":185374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":185374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":185374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 16:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 16:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 16:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149007872001,"66":14450,"37":206,"94":11008,"24":5,"16":32959042158592000,"45":842243529171689472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 16:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 16:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 16:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149007872001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:59:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 16:59:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 16:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32959042158592000,"km_value":32959042158592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":842243529171689472,"description":"Unknown IO ID 45"} 
[2026-09-17 16:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149007872001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":842243529171689472}} 
[2026-09-17 16:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":185374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:59:34] local.INFO: GPS data processed {"connection_id":185374,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:59:34] local.INFO: Acknowledgment sent {"connection_id":185374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:59:35] local.INFO: TCP Data received {"connection_id":185518,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:59:35] local.INFO: Processing buffer {"connection_id":185518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:59:35] local.INFO: IMEI packet received {"connection_id":185518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 16:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":185518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 16:59:36] local.INFO: TCP Data received {"connection_id":185518,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:59:36] local.INFO: Processing buffer {"connection_id":185518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:59:36] local.INFO: IMEI packet received {"connection_id":185518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":185518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:59:40] local.INFO: TCP Data received {"connection_id":185518,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:59:40] local.INFO: Processing buffer {"connection_id":185518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 16:59:40] local.INFO: IMEI packet received {"connection_id":185518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 16:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":185518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 16:59:41] local.INFO: TCP Data received {"connection_id":185518,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1f3870012d1a8f00071fabe00036012e1e..."} 
[2026-09-17 16:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1f3870012d1a8f00071fabe00036012e1e..."} 
[2026-09-17 16:59:41] local.INFO: Processing buffer {"connection_id":185518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1f3870012d1a8f00071fabe00036012e1e..."} 
[2026-09-17 16:59:41] local.INFO: Packet analysis {"connection_id":185518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:59:41] local.INFO: Extracted packet for processing {"connection_id":185518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 16:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756715264,"raw_latitude":119516128,"longitude_deg":75.6715264,"latitude_deg":11.9516128,"altitude":54,"angle":302,"satellites":30,"speed":13,"hex_longitude":"2d1a8f00","hex_latitude":"071fabe0","is_valid_coordinates":true} 
[2026-09-17 16: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-09-17 16:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148978688001,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281588721483776,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915789090832490496,"note":"Value kept but may cause issues"} 
[2026-09-17 16:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 16:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644454000,"timestamp_ms":1789644454000,"timestamp_seconds":1789644454,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1f3870"} 
[2026-09-17 16:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 16:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 16: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-17 16:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 16: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-09-17 16:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 16:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 16:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 16:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 16:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 16:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 16:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 16:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148978688001,"66":13156,"101":206,"83":41984,"24":13,"16":21281588721483776,"45":1915789090832490496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 16:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 16:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 16:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148978688001,"description":"Unknown IO ID 0"} 
[2026-09-17 16:59:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 16:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 16:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281588721483776,"km_value":21281588721483.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 16:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915789090832490496,"description":"Unknown IO ID 45"} 
[2026-09-17 16:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148978688001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1915789090832490496}} 
[2026-09-17 16:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":185518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 16:59:41] local.INFO: GPS data processed {"connection_id":185518,"processed":1,"errors":0,"total":1} 
[2026-09-17 16:59:41] local.INFO: Acknowledgment sent {"connection_id":185518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 16:59:56] local.INFO: TCP Data received {"connection_id":185375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:59:56] local.INFO: Processing buffer {"connection_id":185375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 16:59:56] local.INFO: IMEI packet received {"connection_id":185375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 16:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":185375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:00:01] local.INFO: TCP Data received {"connection_id":185375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:00:01] local.INFO: Processing buffer {"connection_id":185375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:00:01] local.INFO: IMEI packet received {"connection_id":185375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 17:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":185375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:00:01] local.INFO: TCP Data received {"connection_id":185375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:00:01] local.INFO: Processing buffer {"connection_id":185375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:00:01] local.INFO: IMEI packet received {"connection_id":185375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 17:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":185375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:00:02] local.INFO: TCP Data received {"connection_id":185375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af20f1d8012d0bad400702aaa0000f012e23..."} 
[2026-09-17 17:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af20f1d8012d0bad400702aaa0000f012e23..."} 
[2026-09-17 17:00:02] local.INFO: Processing buffer {"connection_id":185375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af20f1d8012d0bad400702aaa0000f012e23..."} 
[2026-09-17 17:00:02] local.INFO: Packet analysis {"connection_id":185375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 17:00:02] local.INFO: Extracted packet for processing {"connection_id":185375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 17:00:02] local.INFO: GPS Element Parsed {"raw_longitude":755739968,"raw_latitude":117615264,"longitude_deg":75.5739968,"latitude_deg":11.7615264,"altitude":15,"angle":302,"satellites":35,"speed":6,"hex_longitude":"2d0bad40","hex_latitude":"0702aaa0","is_valid_coordinates":true} 
[2026-09-17 17:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149008896001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32959046453559296,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841469472985989120,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789644567000,"timestamp_ms":1789644567000,"timestamp_seconds":1789644567,"priority":1,"record_length":96,"hex_timestamp":"000001a0af20f1d8"} 
[2026-09-17 17:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 17:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":185375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":185375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":185375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 17:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 17:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149008896001,"66":14450,"37":206,"94":11008,"24":6,"16":32959046453559296,"45":841469472985989120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-17 17:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 17:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 17:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149008896001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:00:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-17 17:00:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 17:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32959046453559296,"km_value":32959046453559.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":841469472985989120,"description":"Unknown IO ID 45"} 
[2026-09-17 17:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149008896001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":841469472985989120}} 
[2026-09-17 17:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":185375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:00:02] local.INFO: GPS data processed {"connection_id":185375,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:00:02] local.INFO: Acknowledgment sent {"connection_id":185375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:00:12] local.INFO: TCP Data received {"connection_id":185518,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1f8a78012d1a8c00071fae40003701271f..."} 
[2026-09-17 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1f8a78012d1a8c00071fae40003701271f..."} 
[2026-09-17 17:00:12] local.INFO: Processing buffer {"connection_id":185518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1f8a78012d1a8c00071fae40003701271f..."} 
[2026-09-17 17:00:12] local.INFO: Packet analysis {"connection_id":185518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 17:00:12] local.INFO: Extracted packet for processing {"connection_id":185518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":31,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148980224001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913748397251878912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789644475000,"timestamp_ms":1789644475000,"timestamp_seconds":1789644475,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1f8a78"} 
[2026-09-17 17:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-17 17:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148980224001,"66":13102,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1913748397251878912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148980224001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:00:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913748397251878912,"description":"Unknown IO ID 45"} 
[2026-09-17 17:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148980224001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913748397251878912}} 
[2026-09-17 17:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":185518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:00:13] local.INFO: GPS data processed {"connection_id":185518,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:00:13] local.INFO: Acknowledgment sent {"connection_id":185518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:00:16] local.INFO: TCP Data received {"connection_id":186829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:00:16] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:00:16] local.INFO: IMEI packet received {"connection_id":186829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":186829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:00:20] local.INFO: TCP Data received {"connection_id":186829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:00:20] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:00:20] local.INFO: IMEI packet received {"connection_id":186829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":186829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:00:21] local.INFO: TCP Data received {"connection_id":186829,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:00:21] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:00:21] local.INFO: Packet analysis {"connection_id":186829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 17:00:21] local.INFO: Extracted packet for processing {"connection_id":186829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 17:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 17:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 17:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:00:21] 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-09-17 17:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 17:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 17:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":186829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:00:21] local.INFO: GPS data processed {"connection_id":186829,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:00:21] local.INFO: Acknowledgment sent {"connection_id":186829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:00:34] local.INFO: TCP Data received {"connection_id":185375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af210178012d0bab400702ab38000f011224..."} 
[2026-09-17 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af210178012d0bab400702ab38000f011224..."} 
[2026-09-17 17:00:34] local.INFO: Processing buffer {"connection_id":185375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af210178012d0bab400702ab38000f011224..."} 
[2026-09-17 17:00:34] local.INFO: Packet analysis {"connection_id":185375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af21"} 
[2026-09-17 17:00:34] local.INFO: Extracted packet for processing {"connection_id":185375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af21"} 
[2026-09-17 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":755739456,"raw_latitude":117615416,"longitude_deg":75.5739456,"latitude_deg":11.7615416,"altitude":15,"angle":274,"satellites":36,"speed":6,"hex_longitude":"2d0bab40","hex_latitude":"0702ab38","is_valid_coordinates":true} 
[2026-09-17 17:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149009152001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32959076518330368,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841399104241836032,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789644571000,"timestamp_ms":1789644571000,"timestamp_seconds":1789644571,"priority":1,"record_length":96,"hex_timestamp":"000001a0af210178"} 
[2026-09-17 17:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 17:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":185375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":185375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":185375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 17:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 17:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149009152001,"66":14515,"17":206,"94":11008,"24":6,"16":32959076518330368,"45":841399104241836032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 17:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 17:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 17:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149009152001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:00:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 17:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32959076518330368,"km_value":32959076518330.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":841399104241836032,"description":"Unknown IO ID 45"} 
[2026-09-17 17:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149009152001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":841399104241836032}} 
[2026-09-17 17:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":185375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:00:34] local.INFO: GPS data processed {"connection_id":185375,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:00:34] local.INFO: Acknowledgment sent {"connection_id":185375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:00:35] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:00:35] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:00:35] local.INFO: IMEI packet received {"connection_id":188157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":188157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:00:40] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:00:40] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:00:40] local.INFO: IMEI packet received {"connection_id":188157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":188157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:00:40] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:00:40] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:00:40] local.INFO: IMEI packet received {"connection_id":188157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":188157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:00:41] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1fdc80012d1a8c00071fae40003701271d..."} 
[2026-09-17 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1fdc80012d1a8c00071fae40003701271d..."} 
[2026-09-17 17:00:41] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1fdc80012d1a8c00071fae40003701271d..."} 
[2026-09-17 17:00:41] local.INFO: Packet analysis {"connection_id":188157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 17:00:41] local.INFO: Extracted packet for processing {"connection_id":188157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1f"} 
[2026-09-17 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":29,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148985600001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644496000,"timestamp_ms":1789644496000,"timestamp_seconds":1789644496,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1fdc80"} 
[2026-09-17 17:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 17:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148985600001,"66":13048,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148985600001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:00:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148985600001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":188157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:00:41] local.INFO: GPS data processed {"connection_id":188157,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:00:41] local.INFO: Acknowledgment sent {"connection_id":188157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:00:46] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af202e88012d1a8c00071fae40003701271b..."} 
[2026-09-17 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af202e88012d1a8c00071fae40003701271b..."} 
[2026-09-17 17:00:46] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af202e88012d1a8c00071fae40003701271b..."} 
[2026-09-17 17:00:46] local.INFO: Packet analysis {"connection_id":188157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 17:00:46] local.INFO: Extracted packet for processing {"connection_id":188157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":27,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148990976001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789644517000,"timestamp_ms":1789644517000,"timestamp_seconds":1789644517,"priority":1,"record_length":96,"hex_timestamp":"000001a0af202e88"} 
[2026-09-17 17:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 17:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148990976001,"66":13004,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148990976001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:00:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148990976001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":188157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:00:46] local.INFO: GPS data processed {"connection_id":188157,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:00:46] local.INFO: Acknowledgment sent {"connection_id":188157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:00:53] local.INFO: TCP Data received {"connection_id":186829,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:00:53] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:00:53] local.INFO: Packet analysis {"connection_id":186829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 17:00:53] local.INFO: Extracted packet for processing {"connection_id":186829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 17:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 17:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 17:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 17:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:00:53] 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-09-17 17:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 17:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 17:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":186829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:00:53] local.INFO: GPS data processed {"connection_id":186829,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:00:53] local.INFO: Acknowledgment sent {"connection_id":186829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:01:01] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:01] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:01] local.INFO: IMEI packet received {"connection_id":188158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 17:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":188158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:01:02] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 17:01:02] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 17:01:02] local.INFO: IMEI packet received {"connection_id":188158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 17:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":188158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:01:04] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:04] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-17 17:01:04] local.INFO: IMEI packet received {"connection_id":188158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":188158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:01:05] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2239f8012d0b47000702a2300012014a23..."} 
[2026-09-17 17:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2239f8012d0b47000702a2300012014a23..."} 
[2026-09-17 17:01:05] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0af..."} 
[2026-09-17 17:01:05] local.INFO: IMEI packet received {"connection_id":188158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 17:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":188158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:01:07] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af225938012d0b41800702ac700012012f25..."} 
[2026-09-17 17:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af225938012d0b41800702ac700012012f25..."} 
[2026-09-17 17:01:07] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0af2239f8012d0b47000702a2300012014a23..."} 
[2026-09-17 17:01:07] local.INFO: Packet analysis {"connection_id":188158,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:01:07] local.INFO: Extracted packet for processing {"connection_id":188158,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":755713792,"raw_latitude":117613104,"longitude_deg":75.5713792,"latitude_deg":11.7613104,"altitude":18,"angle":330,"satellites":35,"speed":18,"hex_longitude":"2d0b4700","hex_latitude":"0702a230","is_valid_coordinates":true} 
[2026-09-17 17:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149029888001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32960369303486464,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813462712802484224,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789644651000,"timestamp_ms":1789644651000,"timestamp_seconds":1789644651,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2239f8"} 
[2026-09-17 17:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 17:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 17:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 17:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149029888001,"66":14450,"17":206,"94":11008,"24":18,"16":32960369303486464,"45":813462712802484224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 17:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 17:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 17:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149029888001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:01:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 17:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32960369303486464,"km_value":32960369303486.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":813462712802484224,"description":"Unknown IO ID 45"} 
[2026-09-17 17:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149029888001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":813462712802484224}} 
[2026-09-17 17:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":188158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856766,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:01:07] local.INFO: GPS data processed {"connection_id":188158,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:01:07] local.INFO: Acknowledgment sent {"connection_id":188158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:01:07] local.INFO: Packet analysis {"connection_id":188158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:01:07] local.INFO: Extracted packet for processing {"connection_id":188158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":755712384,"raw_latitude":117615728,"longitude_deg":75.5712384,"latitude_deg":11.7615728,"altitude":18,"angle":303,"satellites":37,"speed":14,"hex_longitude":"2d0b4180","hex_latitude":"0702ac70","is_valid_coordinates":true} 
[2026-09-17 17:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149030656001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32960515332374528,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812618287872618496,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789644659000,"timestamp_ms":1789644659000,"timestamp_seconds":1789644659,"priority":1,"record_length":96,"hex_timestamp":"000001a0af225938"} 
[2026-09-17 17:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-17 17:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 17:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 17:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149030656001,"66":14580,"17":206,"94":11008,"24":14,"16":32960515332374528,"45":812618287872618496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 17:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 17:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 17:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149030656001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:01:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 17:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32960515332374528,"km_value":32960515332374.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":812618287872618496,"description":"Unknown IO ID 45"} 
[2026-09-17 17:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149030656001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":812618287872618496}} 
[2026-09-17 17:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":188158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856767,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:01:07] local.INFO: GPS data processed {"connection_id":188158,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:01:07] local.INFO: Acknowledgment sent {"connection_id":188158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:01:12] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af225d20012d0b40000702ad200012012025..."} 
[2026-09-17 17:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af225d20012d0b40000702ad200012012025..."} 
[2026-09-17 17:01:12] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af225d20012d0b40000702ad200012012025..."} 
[2026-09-17 17:01:12] local.INFO: Packet analysis {"connection_id":188158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:01:12] local.INFO: Extracted packet for processing {"connection_id":188158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:01:12] local.INFO: GPS Element Parsed {"raw_longitude":755712000,"raw_latitude":117615904,"longitude_deg":75.5712,"latitude_deg":11.7615904,"altitude":18,"angle":288,"satellites":37,"speed":16,"hex_longitude":"2d0b4000","hex_latitude":"0702ad20","is_valid_coordinates":true} 
[2026-09-17 17:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149032704001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32960536807211008,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811070175501381632,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789644660000,"timestamp_ms":1789644660000,"timestamp_seconds":1789644660,"priority":1,"record_length":96,"hex_timestamp":"000001a0af225d20"} 
[2026-09-17 17:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-17 17:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 17:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 17:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149032704001,"66":14580,"17":206,"94":11008,"24":16,"16":32960536807211008,"45":811070175501381632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 17:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 17:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 17:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149032704001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:01:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 17:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32960536807211008,"km_value":32960536807211.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":811070175501381632,"description":"Unknown IO ID 45"} 
[2026-09-17 17:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149032704001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":811070175501381632}} 
[2026-09-17 17:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":188158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856768,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:01:12] local.INFO: GPS data processed {"connection_id":188158,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:01:12] local.INFO: Acknowledgment sent {"connection_id":188158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:01:15] local.INFO: TCP Data received {"connection_id":185376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:01:15] local.INFO: Processing buffer {"connection_id":185376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:01:15] local.INFO: IMEI packet received {"connection_id":185376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":185376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:01:17] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af208090012d1a8c00071fae40003701271c..."} 
[2026-09-17 17:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af208090012d1a8c00071fae40003701271c..."} 
[2026-09-17 17:01:17] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af208090012d1a8c00071fae40003701271c..."} 
[2026-09-17 17:01:17] local.INFO: Packet analysis {"connection_id":188157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 17:01:17] local.INFO: Extracted packet for processing {"connection_id":188157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 17:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":28,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148996352001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789644538000,"timestamp_ms":1789644538000,"timestamp_seconds":1789644538,"priority":1,"record_length":96,"hex_timestamp":"000001a0af208090"} 
[2026-09-17 17:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 17:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148996352001,"66":12993,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148996352001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:01:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148996352001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":188157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:01:17] local.INFO: GPS data processed {"connection_id":188157,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:01:17] local.INFO: Acknowledgment sent {"connection_id":188157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:01:20] local.INFO: TCP Data received {"connection_id":185376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:01:20] local.INFO: Processing buffer {"connection_id":185376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:01:20] local.INFO: IMEI packet received {"connection_id":185376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":185376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:01:21] local.INFO: TCP Data received {"connection_id":185376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:01:21] local.INFO: Processing buffer {"connection_id":185376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:01:21] local.INFO: Packet analysis {"connection_id":185376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 17:01:21] local.INFO: Extracted packet for processing {"connection_id":185376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 17:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 17:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 17:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:01:21] 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-09-17 17:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 17:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 17:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":185376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:01:21] local.INFO: GPS data processed {"connection_id":185376,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:01:21] local.INFO: Acknowledgment sent {"connection_id":185376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:01:41] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:01:41] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:01:41] local.INFO: IMEI packet received {"connection_id":188159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":188159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:01:43] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:01:43] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:01:43] local.INFO: IMEI packet received {"connection_id":188159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":188159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:01:44] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af20d298012d1a8c00071fae40003701271f..."} 
[2026-09-17 17:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af20d298012d1a8c00071fae40003701271f..."} 
[2026-09-17 17:01:44] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af20d298012d1a8c00071fae40003701271f..."} 
[2026-09-17 17:01:44] local.INFO: Packet analysis {"connection_id":188159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 17:01:44] local.INFO: Extracted packet for processing {"connection_id":188159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af20"} 
[2026-09-17 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":31,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149001728001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789644559000,"timestamp_ms":1789644559000,"timestamp_seconds":1789644559,"priority":1,"record_length":96,"hex_timestamp":"000001a0af20d298"} 
[2026-09-17 17:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-17 17:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149001728001,"66":13015,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149001728001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:01:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:01:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149001728001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":188159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:01:44] local.INFO: GPS data processed {"connection_id":188159,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:01:44] local.INFO: Acknowledgment sent {"connection_id":188159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:01:46] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2124a0012d1a8c00071fae400037012720..."} 
[2026-09-17 17:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2124a0012d1a8c00071fae400037012720..."} 
[2026-09-17 17:01:46] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2124a0012d1a8c00071fae400037012720..."} 
[2026-09-17 17:01:46] local.INFO: Packet analysis {"connection_id":188159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af21"} 
[2026-09-17 17:01:46] local.INFO: Extracted packet for processing {"connection_id":188159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af21"} 
[2026-09-17 17:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":32,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149007104001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789644580000,"timestamp_ms":1789644580000,"timestamp_seconds":1789644580,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2124a0"} 
[2026-09-17 17:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 17:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149007104001,"66":12950,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149007104001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:01:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149007104001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":188159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:01:46] local.INFO: GPS data processed {"connection_id":188159,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:01:46] local.INFO: Acknowledgment sent {"connection_id":188159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:01:52] local.INFO: TCP Data received {"connection_id":185376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:01:52] local.INFO: Processing buffer {"connection_id":185376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af1e0ba8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:01:52] local.INFO: Packet analysis {"connection_id":185376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 17:01:52] local.INFO: Extracted packet for processing {"connection_id":185376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af1e"} 
[2026-09-17 17:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148883456001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638740480,"note":"Value kept but may cause issues"} 
[2026-09-17 17:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789644377000,"timestamp_ms":1789644377000,"timestamp_seconds":1789644377,"priority":1,"record_length":96,"hex_timestamp":"000001a0af1e0ba8"} 
[2026-09-17 17:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-17 17:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:01:52] 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-09-17 17:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148883456001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3800897376638740480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148883456001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638740480,"description":"Unknown IO ID 45"} 
[2026-09-17 17:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148883456001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638740480}} 
[2026-09-17 17:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":185376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:01:52] local.INFO: GPS data processed {"connection_id":185376,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:01:52] local.INFO: Acknowledgment sent {"connection_id":185376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:01:54] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:54] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:54] local.INFO: IMEI packet received {"connection_id":188160,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-17 17:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":188160,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:01:58] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:58] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:58] local.INFO: IMEI packet received {"connection_id":188160,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 17:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":188160,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:01:59] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:59] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:01:59] local.INFO: IMEI packet received {"connection_id":188160,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 17:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":188160,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:02:02] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:02:02] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-17 17:02:02] local.INFO: IMEI packet received {"connection_id":188160,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-17 17:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":188160,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:02:04] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22f578012d0b00c00702c1b0000c00eb22..."} 
[2026-09-17 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22f578012d0b00c00702c1b0000c00eb22..."} 
[2026-09-17 17:02:04] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22f578012d0b00c00702c1b0000c00eb22..."} 
[2026-09-17 17:02:04] local.INFO: Packet analysis {"connection_id":188160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:04] local.INFO: Extracted packet for processing {"connection_id":188160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:04] local.INFO: GPS Element Parsed {"raw_longitude":755695808,"raw_latitude":117621168,"longitude_deg":75.5695808,"latitude_deg":11.7621168,"altitude":12,"angle":235,"satellites":34,"speed":6,"hex_longitude":"2d0b00c0","hex_latitude":"0702c1b0","is_valid_coordinates":true} 
[2026-09-17 17:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149042432001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961387210735616,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793196514481670144,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789644699000,"timestamp_ms":1789644699000,"timestamp_seconds":1789644699,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22f578"} 
[2026-09-17 17:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 17:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 17:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 17:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149042432001,"66":14537,"17":206,"94":11008,"24":6,"16":32961387210735616,"45":793196514481670144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 17:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 17:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 17:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149042432001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:02:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 17:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32961387210735616,"km_value":32961387210735.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":793196514481670144,"description":"Unknown IO ID 45"} 
[2026-09-17 17:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149042432001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":793196514481670144}} 
[2026-09-17 17:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":188160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:02:04] local.INFO: GPS data processed {"connection_id":188160,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:02:04] local.INFO: Acknowledgment sent {"connection_id":188160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:02:06] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22f960012d0b00800702c138000c00d323..."} 
[2026-09-17 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22f960012d0b00800702c138000c00d323..."} 
[2026-09-17 17:02:06] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22f960012d0b00800702c138000c00d323..."} 
[2026-09-17 17:02:06] local.INFO: Packet analysis {"connection_id":188160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:06] local.INFO: Extracted packet for processing {"connection_id":188160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":755695744,"raw_latitude":117621048,"longitude_deg":75.5695744,"latitude_deg":11.7621048,"altitude":12,"angle":211,"satellites":35,"speed":6,"hex_longitude":"2d0b0080","hex_latitude":"0702c138","is_valid_coordinates":true} 
[2026-09-17 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149042944001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961395800670208,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792844670760759296,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789644700000,"timestamp_ms":1789644700000,"timestamp_seconds":1789644700,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22f960"} 
[2026-09-17 17:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-17 17:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 17:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 17:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149042944001,"66":14515,"17":206,"94":11008,"24":6,"16":32961395800670208,"45":792844670760759296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 17:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 17:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 17:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149042944001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:02:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 17:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32961395800670208,"km_value":32961395800670.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":792844670760759296,"description":"Unknown IO ID 45"} 
[2026-09-17 17:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149042944001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":792844670760759296}} 
[2026-09-17 17:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":188160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856775,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:02:06] local.INFO: GPS data processed {"connection_id":188160,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:02:06] local.INFO: Acknowledgment sent {"connection_id":188160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:02:07] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22fd48012d0b00400702c098000c00c423..."} 
[2026-09-17 17:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22fd48012d0b00400702c098000c00c423..."} 
[2026-09-17 17:02:07] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22fd48012d0b00400702c098000c00c423..."} 
[2026-09-17 17:02:07] local.INFO: Packet analysis {"connection_id":188160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:07] local.INFO: Extracted packet for processing {"connection_id":188160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:07] local.INFO: GPS Element Parsed {"raw_longitude":755695680,"raw_latitude":117620888,"longitude_deg":75.569568,"latitude_deg":11.7620888,"altitude":12,"angle":196,"satellites":35,"speed":7,"hex_longitude":"2d0b0040","hex_latitude":"0702c098","is_valid_coordinates":true} 
[2026-09-17 17:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149043200001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961404390604800,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792774302016550912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789644701000,"timestamp_ms":1789644701000,"timestamp_seconds":1789644701,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22fd48"} 
[2026-09-17 17:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 17:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 17:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 17:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149043200001,"66":14515,"17":206,"94":11008,"24":7,"16":32961404390604800,"45":792774302016550912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 17:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 17:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 17:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149043200001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:02:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 17:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32961404390604800,"km_value":32961404390604.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":792774302016550912,"description":"Unknown IO ID 45"} 
[2026-09-17 17:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149043200001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":792774302016550912}} 
[2026-09-17 17:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":188160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:02:07] local.INFO: GPS data processed {"connection_id":188160,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:02:07] local.INFO: Acknowledgment sent {"connection_id":188160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:02:14] local.INFO: TCP Data received {"connection_id":185520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:02:14] local.INFO: Processing buffer {"connection_id":185520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:02:14] local.INFO: IMEI packet received {"connection_id":185520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":185520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:02:17] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2176a8012d1a8c00071fae400037012721..."} 
[2026-09-17 17:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2176a8012d1a8c00071fae400037012721..."} 
[2026-09-17 17:02:17] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2176a8012d1a8c00071fae400037012721..."} 
[2026-09-17 17:02:17] local.INFO: Packet analysis {"connection_id":188159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af21"} 
[2026-09-17 17:02:17] local.INFO: Extracted packet for processing {"connection_id":188159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af21"} 
[2026-09-17 17:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":33,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149012480001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789644601000,"timestamp_ms":1789644601000,"timestamp_seconds":1789644601,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2176a8"} 
[2026-09-17 17:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 17:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149012480001,"66":12972,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149012480001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:02:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149012480001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":188159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:02:17] local.INFO: GPS data processed {"connection_id":188159,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:02:17] local.INFO: Acknowledgment sent {"connection_id":188159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:02:20] local.INFO: TCP Data received {"connection_id":185520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:02:20] local.INFO: Processing buffer {"connection_id":185520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:02:20] local.INFO: IMEI packet received {"connection_id":185520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":185520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:02:21] local.INFO: TCP Data received {"connection_id":185520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:02:21] local.INFO: Processing buffer {"connection_id":185520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:02:21] local.INFO: Packet analysis {"connection_id":185520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:21] local.INFO: Extracted packet for processing {"connection_id":185520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:02:21] 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-09-17 17:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":185520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:02:21] local.INFO: GPS data processed {"connection_id":185520,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:02:21] local.INFO: Acknowledgment sent {"connection_id":185520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:02:35] local.INFO: TCP Data received {"connection_id":186831,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:02:35] local.INFO: Processing buffer {"connection_id":186831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:02:35] local.INFO: IMEI packet received {"connection_id":186831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":186831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:02:40] local.INFO: TCP Data received {"connection_id":186831,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:02:40] local.INFO: Processing buffer {"connection_id":186831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:02:40] local.INFO: IMEI packet received {"connection_id":186831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":186831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:02:41] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af230518012d0affc00702beb0000c00b122..."} 
[2026-09-17 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af230518012d0affc00702beb0000c00b122..."} 
[2026-09-17 17:02:41] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af230518012d0affc00702beb0000c00b122..."} 
[2026-09-17 17:02:41] local.INFO: Packet analysis {"connection_id":188160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af23"} 
[2026-09-17 17:02:41] local.INFO: Extracted packet for processing {"connection_id":188160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af23"} 
[2026-09-17 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":755695552,"raw_latitude":117620400,"longitude_deg":75.5695552,"latitude_deg":11.76204,"altitude":12,"angle":177,"satellites":34,"speed":12,"hex_longitude":"2d0affc0","hex_latitude":"0702beb0","is_valid_coordinates":true} 
[2026-09-17 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149043456001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":32961425865441280,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792703933272332288,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644703000,"timestamp_ms":1789644703000,"timestamp_seconds":1789644703,"priority":1,"record_length":96,"hex_timestamp":"000001a0af230518"} 
[2026-09-17 17:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 17:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188160,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-17 17:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-17 17:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-17 17:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149043456001,"66":14439,"17":206,"94":11008,"24":12,"16":32961425865441280,"45":792703933272332288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-17 17:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-17 17:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-17 17:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149043456001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:02:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-17 17:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":32961425865441280,"km_value":32961425865441.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":792703933272332288,"description":"Unknown IO ID 45"} 
[2026-09-17 17:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149043456001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":792703933272332288}} 
[2026-09-17 17:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":188160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:02:41] local.INFO: GPS data processed {"connection_id":188160,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:02:41] local.INFO: Acknowledgment sent {"connection_id":188160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:02:41] local.INFO: TCP Data received {"connection_id":186831,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af21c8b0012d1a8c00071fae400037012721..."} 
[2026-09-17 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af21c8b0012d1a8c00071fae400037012721..."} 
[2026-09-17 17:02:41] local.INFO: Processing buffer {"connection_id":186831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af21c8b0012d1a8c00071fae400037012721..."} 
[2026-09-17 17:02:41] local.INFO: Packet analysis {"connection_id":186831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af21"} 
[2026-09-17 17:02:41] local.INFO: Extracted packet for processing {"connection_id":186831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af21"} 
[2026-09-17 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":33,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149017856001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644622000,"timestamp_ms":1789644622000,"timestamp_seconds":1789644622,"priority":1,"record_length":96,"hex_timestamp":"000001a0af21c8b0"} 
[2026-09-17 17:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-17 17:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149017856001,"66":12950,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149017856001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:02:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149017856001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":186831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:02:42] local.INFO: GPS data processed {"connection_id":186831,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:02:42] local.INFO: Acknowledgment sent {"connection_id":186831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:02:53] local.INFO: TCP Data received {"connection_id":185520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:02:53] local.INFO: Processing buffer {"connection_id":185520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:02:53] local.INFO: Packet analysis {"connection_id":185520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:53] local.INFO: Extracted packet for processing {"connection_id":185520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:02:53] 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-09-17 17:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":185520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:02:53] local.INFO: GPS data processed {"connection_id":185520,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:02:53] local.INFO: Acknowledgment sent {"connection_id":185520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:03:13] local.INFO: TCP Data received {"connection_id":186831,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af221ab8012d1a8c00071fae40003701271f..."} 
[2026-09-17 17:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af221ab8012d1a8c00071fae40003701271f..."} 
[2026-09-17 17:03:13] local.INFO: Processing buffer {"connection_id":186831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af221ab8012d1a8c00071fae40003701271f..."} 
[2026-09-17 17:03:13] local.INFO: Packet analysis {"connection_id":186831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:03:13] local.INFO: Extracted packet for processing {"connection_id":186831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":31,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149023232001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789644643000,"timestamp_ms":1789644643000,"timestamp_seconds":1789644643,"priority":1,"record_length":96,"hex_timestamp":"000001a0af221ab8"} 
[2026-09-17 17:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 17:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149023232001,"66":12950,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149023232001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:03:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149023232001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":186831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:03:13] local.INFO: GPS data processed {"connection_id":186831,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:03:13] local.INFO: Acknowledgment sent {"connection_id":186831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:03:20] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:03:20] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:03:20] local.INFO: IMEI packet received {"connection_id":185378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":185378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:03:25] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:03:25] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:03:25] local.INFO: IMEI packet received {"connection_id":185378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":185378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:03:26] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:03:26] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:03:26] local.INFO: Packet analysis {"connection_id":185378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:03:26] local.INFO: Extracted packet for processing {"connection_id":185378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:03:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:03:26] 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-09-17 17:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:03:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":185378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:03:26] local.INFO: GPS data processed {"connection_id":185378,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:03:26] local.INFO: Acknowledgment sent {"connection_id":185378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:03:31] local.INFO: TCP Data received {"connection_id":185378,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:03:31] local.INFO: Processing buffer {"connection_id":185378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:03:31] local.INFO: Packet analysis {"connection_id":185378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:03:31] local.INFO: Extracted packet for processing {"connection_id":185378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:03:31] 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-09-17 17:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":185378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:03:31] local.INFO: GPS data processed {"connection_id":185378,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:03:31] local.INFO: Acknowledgment sent {"connection_id":185378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:03:35] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:03:35] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:03:35] local.INFO: IMEI packet received {"connection_id":186832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":186832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:03:40] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:03:40] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:03:40] local.INFO: IMEI packet received {"connection_id":186832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":186832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:03:41] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af226cc0012d1a8c00071fae400037012720..."} 
[2026-09-17 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af226cc0012d1a8c00071fae400037012720..."} 
[2026-09-17 17:03:41] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af226cc0012d1a8c00071fae400037012720..."} 
[2026-09-17 17:03:41] local.INFO: Packet analysis {"connection_id":186832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:03:41] local.INFO: Extracted packet for processing {"connection_id":186832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":32,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149028608001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644664000,"timestamp_ms":1789644664000,"timestamp_seconds":1789644664,"priority":1,"record_length":96,"hex_timestamp":"000001a0af226cc0"} 
[2026-09-17 17:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 17:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149028608001,"66":12863,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149028608001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:03:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149028608001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":186832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:03:41] local.INFO: GPS data processed {"connection_id":186832,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:03:41] local.INFO: Acknowledgment sent {"connection_id":186832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:04:12] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22bec8012d1a8c00071fae400037012722..."} 
[2026-09-17 17:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22bec8012d1a8c00071fae400037012722..."} 
[2026-09-17 17:04:12] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22bec8012d1a8c00071fae400037012722..."} 
[2026-09-17 17:04:12] local.INFO: Packet analysis {"connection_id":186832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:04:12] local.INFO: Extracted packet for processing {"connection_id":186832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":34,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149033984001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789644685000,"timestamp_ms":1789644685000,"timestamp_seconds":1789644685,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22bec8"} 
[2026-09-17 17:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 17:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149033984001,"66":12885,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149033984001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:04:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149033984001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":186832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:04:12] local.INFO: GPS data processed {"connection_id":186832,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:04:12] local.INFO: Acknowledgment sent {"connection_id":186832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:04:15] local.INFO: TCP Data received {"connection_id":185379,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:04:15] local.INFO: Processing buffer {"connection_id":185379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:04:15] local.INFO: IMEI packet received {"connection_id":185379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":185379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:04:16] local.INFO: TCP Data received {"connection_id":185521,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:04:16] local.INFO: Processing buffer {"connection_id":185521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:04:16] local.INFO: IMEI packet received {"connection_id":185521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":185521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:04:20] local.INFO: TCP Data received {"connection_id":185379,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:04:20] local.INFO: Processing buffer {"connection_id":185379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:04:20] local.INFO: IMEI packet received {"connection_id":185379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":185379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:04:21] local.INFO: TCP Data received {"connection_id":185379,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:04:21] local.INFO: Processing buffer {"connection_id":185379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:04:21] local.INFO: Packet analysis {"connection_id":185379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:04:21] local.INFO: Extracted packet for processing {"connection_id":185379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:04:21] 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-09-17 17:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:04:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":185379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:04:21] local.INFO: GPS data processed {"connection_id":185379,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:04:21] local.INFO: Acknowledgment sent {"connection_id":185379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:04:35] local.INFO: TCP Data received {"connection_id":185380,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:04:35] local.INFO: Processing buffer {"connection_id":185380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:04:35] local.INFO: IMEI packet received {"connection_id":185380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":185380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:04:40] local.INFO: TCP Data received {"connection_id":185380,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:04:40] local.INFO: Processing buffer {"connection_id":185380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:04:40] local.INFO: IMEI packet received {"connection_id":185380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":185380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:04:41] local.INFO: TCP Data received {"connection_id":185380,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2310d0012d1a8c00071fae400037012721..."} 
[2026-09-17 17:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2310d0012d1a8c00071fae400037012721..."} 
[2026-09-17 17:04:41] local.INFO: Processing buffer {"connection_id":185380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2310d0012d1a8c00071fae400037012721..."} 
[2026-09-17 17:04:41] local.INFO: Packet analysis {"connection_id":185380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af23"} 
[2026-09-17 17:04:41] local.INFO: Extracted packet for processing {"connection_id":185380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af23"} 
[2026-09-17 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":33,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149039360001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644706000,"timestamp_ms":1789644706000,"timestamp_seconds":1789644706,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2310d0"} 
[2026-09-17 17:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 17:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149039360001,"66":12841,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149039360001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:04:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149039360001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":185380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:04:41] local.INFO: GPS data processed {"connection_id":185380,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:04:41] local.INFO: Acknowledgment sent {"connection_id":185380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:04:52] local.INFO: TCP Data received {"connection_id":185379,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:04:52] local.INFO: Processing buffer {"connection_id":185379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:04:52] local.INFO: Packet analysis {"connection_id":185379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:04:52] local.INFO: Extracted packet for processing {"connection_id":185379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:04:52] 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-09-17 17:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":185379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:04:52] local.INFO: GPS data processed {"connection_id":185379,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:04:52] local.INFO: Acknowledgment sent {"connection_id":185379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:04:53] local.INFO: TCP Data received {"connection_id":188161,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:04:53] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:04:53] local.INFO: IMEI packet received {"connection_id":188161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":188161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:05:12] local.INFO: TCP Data received {"connection_id":185380,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2362d8012d1a8c00071fae400037012720..."} 
[2026-09-17 17:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2362d8012d1a8c00071fae400037012720..."} 
[2026-09-17 17:05:12] local.INFO: Processing buffer {"connection_id":185380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2362d8012d1a8c00071fae400037012720..."} 
[2026-09-17 17:05:12] local.INFO: Packet analysis {"connection_id":185380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af23"} 
[2026-09-17 17:05:12] local.INFO: Extracted packet for processing {"connection_id":185380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af23"} 
[2026-09-17 17:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":32,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:05: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-09-17 17:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149044736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789644727000,"timestamp_ms":1789644727000,"timestamp_seconds":1789644727,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2362d8"} 
[2026-09-17 17:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 17:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:05: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-09-17 17:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149044736001,"66":12841,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149044736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:05:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149044736001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":185380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:05:13] local.INFO: GPS data processed {"connection_id":185380,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:05:13] local.INFO: Acknowledgment sent {"connection_id":185380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:05:15] local.INFO: TCP Data received {"connection_id":186833,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:05:15] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:05:15] local.INFO: IMEI packet received {"connection_id":186833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":186833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:05:20] local.INFO: TCP Data received {"connection_id":186833,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:05:20] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:05:20] local.INFO: IMEI packet received {"connection_id":186833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":186833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:05:21] local.INFO: TCP Data received {"connection_id":186833,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:05:22] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:05:22] local.INFO: Packet analysis {"connection_id":186833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:05:22] local.INFO: Extracted packet for processing {"connection_id":186833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":186833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:05:22] local.INFO: GPS data processed {"connection_id":186833,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:05:22] local.INFO: Acknowledgment sent {"connection_id":186833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:05:33] local.INFO: TCP Data received {"connection_id":185523,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:05:33] local.INFO: Processing buffer {"connection_id":185523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:05:33] local.INFO: IMEI packet received {"connection_id":185523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":185523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:05:36] local.INFO: TCP Data received {"connection_id":185523,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:05:36] local.INFO: Processing buffer {"connection_id":185523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:05:36] local.INFO: IMEI packet received {"connection_id":185523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":185523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:05:40] local.INFO: TCP Data received {"connection_id":185523,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:05:40] local.INFO: Processing buffer {"connection_id":185523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:05:40] local.INFO: IMEI packet received {"connection_id":185523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":185523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:05:41] local.INFO: TCP Data received {"connection_id":185523,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af23b4e0012d1a8c00071fae400037012721..."} 
[2026-09-17 17:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af23b4e0012d1a8c00071fae400037012721..."} 
[2026-09-17 17:05:41] local.INFO: Processing buffer {"connection_id":185523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af23b4e0012d1a8c00071fae400037012721..."} 
[2026-09-17 17:05:41] local.INFO: Packet analysis {"connection_id":185523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af23"} 
[2026-09-17 17:05:41] local.INFO: Extracted packet for processing {"connection_id":185523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af23"} 
[2026-09-17 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":33,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149050112001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644748000,"timestamp_ms":1789644748000,"timestamp_seconds":1789644748,"priority":1,"record_length":96,"hex_timestamp":"000001a0af23b4e0"} 
[2026-09-17 17:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 17:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149050112001,"66":12841,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149050112001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:05:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149050112001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":185523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:05:41] local.INFO: GPS data processed {"connection_id":185523,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:05:41] local.INFO: Acknowledgment sent {"connection_id":185523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:05:53] local.INFO: TCP Data received {"connection_id":186833,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:05:53] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:05:53] local.INFO: Packet analysis {"connection_id":186833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:05:53] local.INFO: Extracted packet for processing {"connection_id":186833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":186833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:05:53] local.INFO: GPS data processed {"connection_id":186833,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:05:53] local.INFO: Acknowledgment sent {"connection_id":186833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:06:12] local.INFO: TCP Data received {"connection_id":185523,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2406e8012d1a8c00071fae400037012722..."} 
[2026-09-17 17:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2406e8012d1a8c00071fae400037012722..."} 
[2026-09-17 17:06:12] local.INFO: Processing buffer {"connection_id":185523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2406e8012d1a8c00071fae400037012722..."} 
[2026-09-17 17:06:12] local.INFO: Packet analysis {"connection_id":185523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af24"} 
[2026-09-17 17:06:12] local.INFO: Extracted packet for processing {"connection_id":185523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af24"} 
[2026-09-17 17:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":34,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149055488001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789644769000,"timestamp_ms":1789644769000,"timestamp_seconds":1789644769,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2406e8"} 
[2026-09-17 17:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 17:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149055488001,"66":12819,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149055488001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:06:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149055488001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":185523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:06:13] local.INFO: GPS data processed {"connection_id":185523,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:06:13] local.INFO: Acknowledgment sent {"connection_id":185523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:06:20] local.INFO: TCP Data received {"connection_id":185381,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:06:20] local.INFO: Processing buffer {"connection_id":185381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:06:20] local.INFO: IMEI packet received {"connection_id":185381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":185381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:06:25] local.INFO: TCP Data received {"connection_id":185381,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:06:25] local.INFO: Processing buffer {"connection_id":185381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:06:25] local.INFO: IMEI packet received {"connection_id":185381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":185381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:06:26] local.INFO: TCP Data received {"connection_id":185381,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:06:26] local.INFO: Processing buffer {"connection_id":185381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:06:26] local.INFO: Packet analysis {"connection_id":185381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:06:26] local.INFO: Extracted packet for processing {"connection_id":185381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:06:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":185381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:06:26] local.INFO: GPS data processed {"connection_id":185381,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:06:26] local.INFO: Acknowledgment sent {"connection_id":185381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:06:30] local.INFO: TCP Data received {"connection_id":185381,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:06:30] local.INFO: Processing buffer {"connection_id":185381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af22a370012d34c14006aa4440000a011829..."} 
[2026-09-17 17:06:30] local.INFO: Packet analysis {"connection_id":185381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:06:30] local.INFO: Extracted packet for processing {"connection_id":185381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af22"} 
[2026-09-17 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458148960512001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789644678000,"timestamp_ms":1789644678000,"timestamp_seconds":1789644678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af22a370"} 
[2026-09-17 17:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458148960512001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458148960512001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:06:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458148960512001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":185381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:06:30] local.INFO: GPS data processed {"connection_id":185381,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:06:30] local.INFO: Acknowledgment sent {"connection_id":185381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:06:36] local.INFO: TCP Data received {"connection_id":186835,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:06:36] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:06:36] local.INFO: IMEI packet received {"connection_id":186835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":186835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:06:36] local.INFO: TCP Data received {"connection_id":186835,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:06:36] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:06:36] local.INFO: IMEI packet received {"connection_id":186835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":186835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:06:40] local.INFO: TCP Data received {"connection_id":186835,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:06:40] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:06:40] local.INFO: IMEI packet received {"connection_id":186835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":186835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:06:41] local.INFO: TCP Data received {"connection_id":186835,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2458f0012d1a8c00071fae400037012723..."} 
[2026-09-17 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2458f0012d1a8c00071fae400037012723..."} 
[2026-09-17 17:06:41] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2458f0012d1a8c00071fae400037012723..."} 
[2026-09-17 17:06:41] local.INFO: Packet analysis {"connection_id":186835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af24"} 
[2026-09-17 17:06:41] local.INFO: Extracted packet for processing {"connection_id":186835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af24"} 
[2026-09-17 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":35,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149060864001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789644790000,"timestamp_ms":1789644790000,"timestamp_seconds":1789644790,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2458f0"} 
[2026-09-17 17:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2938247864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503924359430144,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2434389117691923456,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2923429943,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4395777123403759872,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":64,"raw_value":15482391288086528,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182100860600576,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051046039981,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2609512448,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2282832430790420257,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84753156588117934,"note":"Value kept but may cause issues"} 
[2026-09-17 17:06:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,155,160,180,45,174,55,33,10,66,98,32,1,240,41,227,175,31,4,113,205,108,140,64,239,50,2,75,7,164,138,69,168],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-09-17 17:06:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963492174045118464,"timestamp_seconds":3963492174045118.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149060864001,"66":12819,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149060864001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:06:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149060864001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":186835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:06:41] local.INFO: GPS data processed {"connection_id":186835,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:06:41] local.INFO: Acknowledgment sent {"connection_id":186835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:07:12] local.INFO: TCP Data received {"connection_id":186835,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af24aaf8012d1a8c00071fae400037012724..."} 
[2026-09-17 17:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af24aaf8012d1a8c00071fae400037012724..."} 
[2026-09-17 17:07:12] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af24aaf8012d1a8c00071fae400037012724..."} 
[2026-09-17 17:07:12] local.INFO: Packet analysis {"connection_id":186835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af24"} 
[2026-09-17 17:07:12] local.INFO: Extracted packet for processing {"connection_id":186835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af24"} 
[2026-09-17 17:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":36,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149066240001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789644811000,"timestamp_ms":1789644811000,"timestamp_seconds":1789644811,"priority":1,"record_length":96,"hex_timestamp":"000001a0af24aaf8"} 
[2026-09-17 17:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2938268864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503924359430144,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2457478861875219456,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2923429943,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4395777123403759872,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3355520282,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":64,"raw_value":15482391288086528,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182100860600576,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854341363781203,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2609512448,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2282832430790420255,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84753156588117934,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,155,160,6,45,174,55,34,10,66,180,33,98,1,240,41,227,175,31,4,113,205,190,140,64,239,50,2,75,7,164,138,69,176],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-09-17 17:07:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963492178340085760,"timestamp_seconds":3963492178340086.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149066240001,"66":12809,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149066240001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:07:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149066240001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":186835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:07:12] local.INFO: GPS data processed {"connection_id":186835,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:07:12] local.INFO: Acknowledgment sent {"connection_id":186835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:07:15] local.INFO: TCP Data received {"connection_id":185382,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:07:15] local.INFO: Processing buffer {"connection_id":185382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:07:15] local.INFO: IMEI packet received {"connection_id":185382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":185382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:07:20] local.INFO: TCP Data received {"connection_id":185382,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:07:20] local.INFO: Processing buffer {"connection_id":185382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:07:20] local.INFO: IMEI packet received {"connection_id":185382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":185382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:07:21] local.INFO: TCP Data received {"connection_id":185382,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:07:21] local.INFO: Processing buffer {"connection_id":185382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:07:21] local.INFO: Packet analysis {"connection_id":185382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:07:21] local.INFO: Extracted packet for processing {"connection_id":185382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":185382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:07:21] local.INFO: GPS data processed {"connection_id":185382,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:07:21] local.INFO: Acknowledgment sent {"connection_id":185382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:07:35] local.INFO: TCP Data received {"connection_id":185524,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:07:35] local.INFO: Processing buffer {"connection_id":185524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:07:35] local.INFO: IMEI packet received {"connection_id":185524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":185524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:07:40] local.INFO: TCP Data received {"connection_id":185524,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:07:40] local.INFO: Processing buffer {"connection_id":185524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:07:40] local.INFO: IMEI packet received {"connection_id":185524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":185524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:07:40] local.INFO: TCP Data received {"connection_id":185524,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af24fd00012d1a8c00071fae400037012723..."} 
[2026-09-17 17:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af24fd00012d1a8c00071fae400037012723..."} 
[2026-09-17 17:07:40] local.INFO: Processing buffer {"connection_id":185524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af24fd00012d1a8c00071fae400037012723..."} 
[2026-09-17 17:07:40] local.INFO: Packet analysis {"connection_id":185524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af24"} 
[2026-09-17 17:07:40] local.INFO: Extracted packet for processing {"connection_id":185524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af24"} 
[2026-09-17 17:07:40] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":35,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149071616001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789644832000,"timestamp_ms":1789644832000,"timestamp_seconds":1789644832,"priority":1,"record_length":96,"hex_timestamp":"000001a0af24fd00"} 
[2026-09-17 17:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3489738010,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2938289864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2480568606058515456,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2923429943,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410198195795,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2609512448,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2282832430790420256,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,155,160,88,45,174,55,35,10,66,6,34,180,1,240,41,227,175,31,4,113,205,140,64,33,239,50,2,75,7,164,138],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-17 17:07:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963492182635053056,"timestamp_seconds":3963492182635053.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149071616001,"66":12776,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149071616001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:07:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149071616001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":185524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:07:40] local.INFO: GPS data processed {"connection_id":185524,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:07:40] local.INFO: Acknowledgment sent {"connection_id":185524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:07:52] local.INFO: TCP Data received {"connection_id":185382,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:07:52] local.INFO: Processing buffer {"connection_id":185382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:07:52] local.INFO: Packet analysis {"connection_id":185382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:07:52] local.INFO: Extracted packet for processing {"connection_id":185382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":185382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:07:52] local.INFO: GPS data processed {"connection_id":185382,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:07:52] local.INFO: Acknowledgment sent {"connection_id":185382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:08:11] local.INFO: TCP Data received {"connection_id":185524,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af254f08012d1a8c00071fae400037012723..."} 
[2026-09-17 17:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af254f08012d1a8c00071fae400037012723..."} 
[2026-09-17 17:08:11] local.INFO: Processing buffer {"connection_id":185524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af254f08012d1a8c00071fae400037012723..."} 
[2026-09-17 17:08:11] local.INFO: Packet analysis {"connection_id":185524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af25"} 
[2026-09-17 17:08:11] local.INFO: Extracted packet for processing {"connection_id":185524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af25"} 
[2026-09-17 17:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":55,"angle":295,"satellites":35,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-09-17 17:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149076992001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281640261091328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789644853000,"timestamp_ms":1789644853000,"timestamp_seconds":1789644853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af254f08"} 
[2026-09-17 17:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-17 17:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149076992001,"66":12711,"101":206,"83":41984,"24":0,"16":21281640261091328,"45":1912903972321902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149076992001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:08:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281640261091328,"km_value":21281640261091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149076992001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-09-17 17:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":185524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:08:11] local.INFO: GPS data processed {"connection_id":185524,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:08:11] local.INFO: Acknowledgment sent {"connection_id":185524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:08:15] local.INFO: TCP Data received {"connection_id":188164,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:08:15] local.INFO: Processing buffer {"connection_id":188164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:08:15] local.INFO: IMEI packet received {"connection_id":188164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":188164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:08:20] local.INFO: TCP Data received {"connection_id":188164,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:08:20] local.INFO: Processing buffer {"connection_id":188164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:08:20] local.INFO: IMEI packet received {"connection_id":188164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":188164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:08:21] local.INFO: TCP Data received {"connection_id":188164,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:08:21] local.INFO: Processing buffer {"connection_id":188164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:08:21] local.INFO: Packet analysis {"connection_id":188164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:08:21] local.INFO: Extracted packet for processing {"connection_id":188164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":188164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:08:21] local.INFO: GPS data processed {"connection_id":188164,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:08:21] local.INFO: Acknowledgment sent {"connection_id":188164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:08:35] local.INFO: TCP Data received {"connection_id":188165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:08:35] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:08:35] local.INFO: IMEI packet received {"connection_id":188165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":188165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:08:38] local.INFO: TCP Data received {"connection_id":188165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:08:38] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:08:38] local.INFO: IMEI packet received {"connection_id":188165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":188165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:08:40] local.INFO: TCP Data received {"connection_id":188165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:08:40] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:08:40] local.INFO: IMEI packet received {"connection_id":188165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":188165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:08:41] local.INFO: TCP Data received {"connection_id":188165,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af288f10012d1a87c0071fb4180036013e24..."} 
[2026-09-17 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af288f10012d1a87c0071fb4180036013e24..."} 
[2026-09-17 17:08:41] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af288f10012d1a87c0071fb4180036013e24..."} 
[2026-09-17 17:08:41] local.INFO: Packet analysis {"connection_id":188165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af28"} 
[2026-09-17 17:08:41] local.INFO: Extracted packet for processing {"connection_id":188165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af28"} 
[2026-09-17 17:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756713408,"raw_latitude":119518232,"longitude_deg":75.6713408,"latitude_deg":11.9518232,"altitude":54,"angle":318,"satellites":36,"speed":18,"hex_longitude":"2d1a87c0","hex_latitude":"071fb418","is_valid_coordinates":true} 
[2026-09-17 17:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149135616001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281730455404544,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089412608,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789645066000,"timestamp_ms":1789645066000,"timestamp_seconds":1789645066,"priority":1,"record_length":96,"hex_timestamp":"000001a0af288f10"} 
[2026-09-17 17:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-17 17:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149135616001,"66":14004,"101":206,"83":41984,"24":18,"16":21281730455404544,"45":1912692866089412608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149135616001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:08:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281730455404544,"km_value":21281730455404.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089412608,"description":"Unknown IO ID 45"} 
[2026-09-17 17:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149135616001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1912692866089412608}} 
[2026-09-17 17:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":188165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:08:41] local.INFO: GPS data processed {"connection_id":188165,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:08:41] local.INFO: Acknowledgment sent {"connection_id":188165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:08:52] local.INFO: TCP Data received {"connection_id":188164,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:08:52] local.INFO: Processing buffer {"connection_id":188164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:08:52] local.INFO: Packet analysis {"connection_id":188164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:08:52] local.INFO: Extracted packet for processing {"connection_id":188164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":188164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:08:52] local.INFO: GPS data processed {"connection_id":188164,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:08:52] local.INFO: Acknowledgment sent {"connection_id":188164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:09:12] local.INFO: TCP Data received {"connection_id":188165,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af28ae50012d1a7bc0071fc5800032014a23..."} 
[2026-09-17 17:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af28ae50012d1a7bc0071fc5800032014a23..."} 
[2026-09-17 17:09:12] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af28ae50012d1a7bc0071fc5800032014a23..."} 
[2026-09-17 17:09:12] local.INFO: Packet analysis {"connection_id":188165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af28"} 
[2026-09-17 17:09:12] local.INFO: Extracted packet for processing {"connection_id":188165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af28"} 
[2026-09-17 17:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756710336,"raw_latitude":119522688,"longitude_deg":75.6710336,"latitude_deg":11.9522688,"altitude":50,"angle":330,"satellites":35,"speed":30,"hex_longitude":"2d1a7bc0","hex_latitude":"071fc580","is_valid_coordinates":true} 
[2026-09-17 17:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149136896001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21281988153442304,"note":"Value kept but may cause issues"} 
[2026-09-17 17:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911707703671265280,"note":"Value kept but may cause issues"} 
[2026-09-17 17:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789645074000,"timestamp_ms":1789645074000,"timestamp_seconds":1789645074,"priority":1,"record_length":96,"hex_timestamp":"000001a0af28ae50"} 
[2026-09-17 17:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-17 17:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149136896001,"66":14233,"101":206,"83":41984,"24":30,"16":21281988153442304,"45":1911707703671265280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149136896001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:09:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21281988153442304,"km_value":21281988153442.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911707703671265280,"description":"Unknown IO ID 45"} 
[2026-09-17 17:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149136896001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1911707703671265280}} 
[2026-09-17 17:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":188165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:09:12] local.INFO: GPS data processed {"connection_id":188165,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:09:12] local.INFO: Acknowledgment sent {"connection_id":188165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:09:14] local.INFO: TCP Data received {"connection_id":185526,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:09:14] local.INFO: Processing buffer {"connection_id":185526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:09:14] local.INFO: IMEI packet received {"connection_id":185526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":185526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:09:20] local.INFO: TCP Data received {"connection_id":185526,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:09:20] local.INFO: Processing buffer {"connection_id":185526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:09:20] local.INFO: IMEI packet received {"connection_id":185526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":185526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:09:21] local.INFO: TCP Data received {"connection_id":185526,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:09:21] local.INFO: Processing buffer {"connection_id":185526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:09:21] local.INFO: Packet analysis {"connection_id":185526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:09:21] local.INFO: Extracted packet for processing {"connection_id":185526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:09:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":185526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:09:21] local.INFO: GPS data processed {"connection_id":185526,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:09:21] local.INFO: Acknowledgment sent {"connection_id":185526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:09:35] local.INFO: TCP Data received {"connection_id":186836,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:35] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:35] local.INFO: IMEI packet received {"connection_id":186836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":186836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:09:38] local.INFO: TCP Data received {"connection_id":186836,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:38] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:38] local.INFO: IMEI packet received {"connection_id":186836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":186836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:09:38] local.INFO: TCP Data received {"connection_id":186836,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:38] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:38] local.INFO: IMEI packet received {"connection_id":186836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":186836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:09:39] local.INFO: TCP Data received {"connection_id":186836,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:39] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:09:39] local.INFO: IMEI packet received {"connection_id":186836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":186836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:09:52] local.INFO: TCP Data received {"connection_id":185526,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:09:52] local.INFO: Processing buffer {"connection_id":185526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:09:52] local.INFO: Packet analysis {"connection_id":185526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:09:52] local.INFO: Extracted packet for processing {"connection_id":185526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:09:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":185526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:09:52] local.INFO: GPS data processed {"connection_id":185526,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:09:52] local.INFO: Acknowledgment sent {"connection_id":185526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:10:14] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:10:14] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:10:14] local.INFO: IMEI packet received {"connection_id":188166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":188166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:10:20] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:10:20] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:10:20] local.INFO: IMEI packet received {"connection_id":188166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":188166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:10:20] local.INFO: TCP Data received {"connection_id":185383,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:10:20] local.INFO: Processing buffer {"connection_id":185383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:10:20] local.INFO: IMEI packet received {"connection_id":185383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":185383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:10:21] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:10:21] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:10:21] local.INFO: Packet analysis {"connection_id":188166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:10:21] local.INFO: Extracted packet for processing {"connection_id":188166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:10:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":188166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:10:21] local.INFO: GPS data processed {"connection_id":188166,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:10:21] local.INFO: Acknowledgment sent {"connection_id":188166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:10:49] local.INFO: TCP Data received {"connection_id":185384,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:10:49] local.INFO: Processing buffer {"connection_id":185384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:10:49] local.INFO: IMEI packet received {"connection_id":185384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":185384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:10:52] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:10:52] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:10:52] local.INFO: Packet analysis {"connection_id":188166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:10:52] local.INFO: Extracted packet for processing {"connection_id":188166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:10:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":188166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:10:52] local.INFO: GPS data processed {"connection_id":188166,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:10:52] local.INFO: Acknowledgment sent {"connection_id":188166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:11:20] local.INFO: TCP Data received {"connection_id":188167,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:11:20] local.INFO: Processing buffer {"connection_id":188167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:11:20] local.INFO: IMEI packet received {"connection_id":188167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":188167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:11:25] local.INFO: TCP Data received {"connection_id":188167,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:11:25] local.INFO: Processing buffer {"connection_id":188167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:11:25] local.INFO: IMEI packet received {"connection_id":188167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":188167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:11:26] local.INFO: TCP Data received {"connection_id":188167,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:11:26] local.INFO: Processing buffer {"connection_id":188167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:11:26] local.INFO: Packet analysis {"connection_id":188167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:11:26] local.INFO: Extracted packet for processing {"connection_id":188167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:11:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:11:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":188167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:11:26] local.INFO: GPS data processed {"connection_id":188167,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:11:26] local.INFO: Acknowledgment sent {"connection_id":188167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:11:30] local.INFO: TCP Data received {"connection_id":188167,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:11:30] local.INFO: Processing buffer {"connection_id":188167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af273b38012d34c14006aa4440000a011829..."} 
[2026-09-17 17:11:30] local.INFO: Packet analysis {"connection_id":188167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:11:30] local.INFO: Extracted packet for processing {"connection_id":188167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af27"} 
[2026-09-17 17:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149037568001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:11:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789644979000,"timestamp_ms":1789644979000,"timestamp_seconds":1789644979,"priority":1,"record_length":96,"hex_timestamp":"000001a0af273b38"} 
[2026-09-17 17:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149037568001,"66":25778,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149037568001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:11:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149037568001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":188167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:11:30] local.INFO: GPS data processed {"connection_id":188167,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:11:30] local.INFO: Acknowledgment sent {"connection_id":188167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:12:15] local.INFO: TCP Data received {"connection_id":185528,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:12:15] local.INFO: Processing buffer {"connection_id":185528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:12:15] local.INFO: IMEI packet received {"connection_id":185528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":185528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:12:22] local.INFO: TCP Data received {"connection_id":185528,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:12:22] local.INFO: Processing buffer {"connection_id":185528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:12:22] local.INFO: IMEI packet received {"connection_id":185528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":185528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:12:23] local.INFO: TCP Data received {"connection_id":185528,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:12:23] local.INFO: Processing buffer {"connection_id":185528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:12:23] local.INFO: Packet analysis {"connection_id":185528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:12:23] local.INFO: Extracted packet for processing {"connection_id":185528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:12:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":185528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:12:23] local.INFO: GPS data processed {"connection_id":185528,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:12:23] local.INFO: Acknowledgment sent {"connection_id":185528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:12:55] local.INFO: TCP Data received {"connection_id":185528,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:12:55] local.INFO: Processing buffer {"connection_id":185528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:12:55] local.INFO: Packet analysis {"connection_id":185528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:12:55] local.INFO: Extracted packet for processing {"connection_id":185528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:12:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:12:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:12:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":185528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:12:55] local.INFO: GPS data processed {"connection_id":185528,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:12:55] local.INFO: Acknowledgment sent {"connection_id":185528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:13:15] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:13:15] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:13:15] local.INFO: IMEI packet received {"connection_id":186839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":186839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:13:20] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:13:20] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:13:20] local.INFO: IMEI packet received {"connection_id":186839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":186839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:13:21] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:13:21] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:13:21] local.INFO: Packet analysis {"connection_id":186839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:13:21] local.INFO: Extracted packet for processing {"connection_id":186839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:13:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:13:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":186839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:13:21] local.INFO: GPS data processed {"connection_id":186839,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:13:21] local.INFO: Acknowledgment sent {"connection_id":186839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:13:52] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:13:52] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:13:52] local.INFO: Packet analysis {"connection_id":186839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:13:52] local.INFO: Extracted packet for processing {"connection_id":186839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:13:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":186839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:13:52] local.INFO: GPS data processed {"connection_id":186839,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:13:52] local.INFO: Acknowledgment sent {"connection_id":186839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:14:14] local.INFO: TCP Data received {"connection_id":188169,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:14:14] local.INFO: Processing buffer {"connection_id":188169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:14:14] local.INFO: IMEI packet received {"connection_id":188169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":188169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:14:20] local.INFO: TCP Data received {"connection_id":188169,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:14:20] local.INFO: Processing buffer {"connection_id":188169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:14:20] local.INFO: IMEI packet received {"connection_id":188169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":188169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:14:22] local.INFO: TCP Data received {"connection_id":188169,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:14:22] local.INFO: Processing buffer {"connection_id":188169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:14:22] local.INFO: Packet analysis {"connection_id":188169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:14:22] local.INFO: Extracted packet for processing {"connection_id":188169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:14:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:14:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:14:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":188169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:14:22] local.INFO: GPS data processed {"connection_id":188169,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:14:22] local.INFO: Acknowledgment sent {"connection_id":188169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:14:40] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:14:40] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:14:40] local.INFO: IMEI packet received {"connection_id":188170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":188170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:14:41] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2df9c8012d181f800721a7680050007824..."} 
[2026-09-17 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2df9c8012d181f800721a7680050007824..."} 
[2026-09-17 17:14:41] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2df9c8012d181f800721a7680050007824..."} 
[2026-09-17 17:14:41] local.INFO: Packet analysis {"connection_id":188170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2d"} 
[2026-09-17 17:14:41] local.INFO: Extracted packet for processing {"connection_id":188170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2d"} 
[2026-09-17 17:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646056,"longitude_deg":75.6555648,"latitude_deg":11.9646056,"altitude":80,"angle":120,"satellites":36,"speed":8,"hex_longitude":"2d181f80","hex_latitude":"0721a768","is_valid_coordinates":true} 
[2026-09-17 17:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149227520001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293082053967872,"note":"Value kept but may cause issues"} 
[2026-09-17 17:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073527808,"note":"Value kept but may cause issues"} 
[2026-09-17 17:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789645421000,"timestamp_ms":1789645421000,"timestamp_seconds":1789645421,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2df9c8"} 
[2026-09-17 17:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 17:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149227520001,"66":13102,"105":206,"83":41984,"24":8,"16":21293082053967872,"45":1738037643073527808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149227520001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:14:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293082053967872,"km_value":21293082053967.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073527808,"description":"Unknown IO ID 45"} 
[2026-09-17 17:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149227520001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738037643073527808}} 
[2026-09-17 17:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":188170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:14:41] local.INFO: GPS data processed {"connection_id":188170,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:14:41] local.INFO: Acknowledgment sent {"connection_id":188170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:14:54] local.INFO: TCP Data received {"connection_id":188169,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:14:54] local.INFO: Processing buffer {"connection_id":188169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:14:54] local.INFO: Packet analysis {"connection_id":188169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:14:54] local.INFO: Extracted packet for processing {"connection_id":188169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:14:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":188169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:14:54] local.INFO: GPS data processed {"connection_id":188169,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:14:54] local.INFO: Acknowledgment sent {"connection_id":188169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:15:12] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2dfdb0012d1820000721a6e80050008624..."} 
[2026-09-17 17:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2dfdb0012d1820000721a6e80050008624..."} 
[2026-09-17 17:15:12] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2dfdb0012d1820000721a6e80050008624..."} 
[2026-09-17 17:15:12] local.INFO: Packet analysis {"connection_id":188170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2d"} 
[2026-09-17 17:15:12] local.INFO: Extracted packet for processing {"connection_id":188170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2d"} 
[2026-09-17 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645928,"longitude_deg":75.6555776,"latitude_deg":11.9645928,"altitude":80,"angle":134,"satellites":36,"speed":7,"hex_longitude":"2d182000","hex_latitude":"0721a6e8","is_valid_coordinates":true} 
[2026-09-17 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149227776001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293090643902464,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306046464,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789645422000,"timestamp_ms":1789645422000,"timestamp_seconds":1789645422,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2dfdb0"} 
[2026-09-17 17:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 17:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149227776001,"66":13080,"105":206,"83":41984,"24":7,"16":21293090643902464,"45":1738248749306046464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149227776001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:15:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293090643902464,"km_value":21293090643902.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306046464,"description":"Unknown IO ID 45"} 
[2026-09-17 17:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149227776001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738248749306046464}} 
[2026-09-17 17:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":188170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:15:12] local.INFO: GPS data processed {"connection_id":188170,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:15:12] local.INFO: Acknowledgment sent {"connection_id":188170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:15:14] local.INFO: TCP Data received {"connection_id":188171,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:15:14] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:15:14] local.INFO: IMEI packet received {"connection_id":188171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":188171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:15:20] local.INFO: TCP Data received {"connection_id":188171,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:15:20] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:15:20] local.INFO: IMEI packet received {"connection_id":188171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":188171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:15:21] local.INFO: TCP Data received {"connection_id":188171,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:15:21] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:15:21] local.INFO: Packet analysis {"connection_id":188171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:15:21] local.INFO: Extracted packet for processing {"connection_id":188171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":188171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:15:21] local.INFO: GPS data processed {"connection_id":188171,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:15:21] local.INFO: Acknowledgment sent {"connection_id":188171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:15:36] local.INFO: TCP Data received {"connection_id":185531,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:15:36] local.INFO: Processing buffer {"connection_id":185531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:15:36] local.INFO: IMEI packet received {"connection_id":185531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":185531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:15:36] local.INFO: TCP Data received {"connection_id":185531,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:15:36] local.INFO: Processing buffer {"connection_id":185531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:15:36] local.INFO: IMEI packet received {"connection_id":185531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":185531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:15:40] local.INFO: TCP Data received {"connection_id":185531,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:15:40] local.INFO: Processing buffer {"connection_id":185531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:15:40] local.INFO: IMEI packet received {"connection_id":185531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":185531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:15:41] local.INFO: TCP Data received {"connection_id":185531,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2e2c90012d1829c007219d600053006d25..."} 
[2026-09-17 17:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2e2c90012d1829c007219d600053006d25..."} 
[2026-09-17 17:15:41] local.INFO: Processing buffer {"connection_id":185531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2e2c90012d1829c007219d600053006d25..."} 
[2026-09-17 17:15:41] local.INFO: Packet analysis {"connection_id":185531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2e"} 
[2026-09-17 17:15:41] local.INFO: Extracted packet for processing {"connection_id":185531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2e"} 
[2026-09-17 17:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643488,"longitude_deg":75.6558272,"latitude_deg":11.9643488,"altitude":83,"angle":109,"satellites":37,"speed":8,"hex_longitude":"2d1829c0","hex_latitude":"07219d60","is_valid_coordinates":true} 
[2026-09-17 17:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149228032001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293258147627008,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794369024,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789645434000,"timestamp_ms":1789645434000,"timestamp_seconds":1789645434,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2e2c90"} 
[2026-09-17 17:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-17 17:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149228032001,"66":13091,"105":206,"83":41984,"24":8,"16":21293258147627008,"45":1738389486794369024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149228032001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:15:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293258147627008,"km_value":21293258147627.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794369024,"description":"Unknown IO ID 45"} 
[2026-09-17 17:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149228032001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738389486794369024}} 
[2026-09-17 17:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":185531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:15:41] local.INFO: GPS data processed {"connection_id":185531,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:15:41] local.INFO: Acknowledgment sent {"connection_id":185531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:15:53] local.INFO: TCP Data received {"connection_id":188171,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:15:53] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:15:53] local.INFO: Packet analysis {"connection_id":188171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:15:53] local.INFO: Extracted packet for processing {"connection_id":188171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":188171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:15:53] local.INFO: GPS data processed {"connection_id":188171,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:15:53] local.INFO: Acknowledgment sent {"connection_id":188171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:16:12] local.INFO: TCP Data received {"connection_id":185531,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2e7e98012d182b0007219c780052006d22..."} 
[2026-09-17 17:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2e7e98012d182b0007219c780052006d22..."} 
[2026-09-17 17:16:12] local.INFO: Processing buffer {"connection_id":185531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2e7e98012d182b0007219c780052006d22..."} 
[2026-09-17 17:16:12] local.INFO: Packet analysis {"connection_id":185531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2e"} 
[2026-09-17 17:16:12] local.INFO: Extracted packet for processing {"connection_id":185531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2e"} 
[2026-09-17 17:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643256,"longitude_deg":75.6558592,"latitude_deg":11.9643256,"altitude":82,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-09-17 17:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149231104001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293279622463488,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816673280,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789645455000,"timestamp_ms":1789645455000,"timestamp_seconds":1789645455,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2e7e98"} 
[2026-09-17 17:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 17:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149231104001,"66":13048,"105":206,"83":41984,"24":0,"16":21293279622463488,"45":1741133867816673280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149231104001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:16:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293279622463488,"km_value":21293279622463.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816673280,"description":"Unknown IO ID 45"} 
[2026-09-17 17:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149231104001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816673280}} 
[2026-09-17 17:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":185531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:16:13] local.INFO: GPS data processed {"connection_id":185531,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:16:13] local.INFO: Acknowledgment sent {"connection_id":185531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:16:14] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:16:14] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:16:14] local.INFO: IMEI packet received {"connection_id":185387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":185387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:16:20] local.INFO: TCP Data received {"connection_id":186840,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:16:20] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:16:20] local.INFO: IMEI packet received {"connection_id":186840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":186840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:16:20] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:16:20] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:16:20] local.INFO: IMEI packet received {"connection_id":185387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:16:21] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:16:21] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:16:21] local.INFO: Packet analysis {"connection_id":185387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:16:21] local.INFO: Extracted packet for processing {"connection_id":185387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":185387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:16:21] local.INFO: GPS data processed {"connection_id":185387,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:16:21] local.INFO: Acknowledgment sent {"connection_id":185387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:16:35] local.INFO: TCP Data received {"connection_id":185388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:16:35] local.INFO: Processing buffer {"connection_id":185388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:16:35] local.INFO: IMEI packet received {"connection_id":185388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":185388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:16:39] local.INFO: TCP Data received {"connection_id":185388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:16:39] local.INFO: Processing buffer {"connection_id":185388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:16:39] local.INFO: IMEI packet received {"connection_id":185388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":185388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:16:40] local.INFO: TCP Data received {"connection_id":185388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:16:40] local.INFO: Processing buffer {"connection_id":185388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:16:40] local.INFO: IMEI packet received {"connection_id":185388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":185388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:16:41] local.INFO: TCP Data received {"connection_id":185388,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2ed0a0012d182b0007219c780052006d25..."} 
[2026-09-17 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2ed0a0012d182b0007219c780052006d25..."} 
[2026-09-17 17:16:41] local.INFO: Processing buffer {"connection_id":185388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2ed0a0012d182b0007219c780052006d25..."} 
[2026-09-17 17:16:41] local.INFO: Packet analysis {"connection_id":185388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2e"} 
[2026-09-17 17:16:41] local.INFO: Extracted packet for processing {"connection_id":185388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2e"} 
[2026-09-17 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643256,"longitude_deg":75.6558592,"latitude_deg":11.9643256,"altitude":82,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149236480001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293279622463488,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537502208,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789645476000,"timestamp_ms":1789645476000,"timestamp_seconds":1789645476,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2ed0a0"} 
[2026-09-17 17:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 17:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149236480001,"66":12950,"105":206,"83":41984,"24":0,"16":21293279622463488,"45":1741485711537502208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149236480001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:16:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293279622463488,"km_value":21293279622463.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537502208,"description":"Unknown IO ID 45"} 
[2026-09-17 17:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149236480001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537502208}} 
[2026-09-17 17:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":185388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:16:41] local.INFO: GPS data processed {"connection_id":185388,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:16:41] local.INFO: Acknowledgment sent {"connection_id":185388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:16:46] local.INFO: TCP Data received {"connection_id":185388,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2f22a8012d182b0007219c780052006d26..."} 
[2026-09-17 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2f22a8012d182b0007219c780052006d26..."} 
[2026-09-17 17:16:46] local.INFO: Processing buffer {"connection_id":185388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2f22a8012d182b0007219c780052006d26..."} 
[2026-09-17 17:16:46] local.INFO: Packet analysis {"connection_id":185388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2f"} 
[2026-09-17 17:16:46] local.INFO: Extracted packet for processing {"connection_id":185388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2f"} 
[2026-09-17 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643256,"longitude_deg":75.6558592,"latitude_deg":11.9643256,"altitude":82,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-09-17 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149241856001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293279622463488,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537502208,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789645497000,"timestamp_ms":1789645497000,"timestamp_seconds":1789645497,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2f22a8"} 
[2026-09-17 17:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 17:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149241856001,"66":12917,"105":206,"83":41984,"24":0,"16":21293279622463488,"45":1741485711537502208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149241856001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:16:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293279622463488,"km_value":21293279622463.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537502208,"description":"Unknown IO ID 45"} 
[2026-09-17 17:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149241856001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537502208}} 
[2026-09-17 17:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":185388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:16:46] local.INFO: GPS data processed {"connection_id":185388,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:16:46] local.INFO: Acknowledgment sent {"connection_id":185388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:16:49] local.INFO: TCP Data received {"connection_id":188172,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:16:49] local.INFO: Processing buffer {"connection_id":188172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:16:49] local.INFO: IMEI packet received {"connection_id":188172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":188172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:16:58] local.INFO: TCP Data received {"connection_id":185387,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:16:58] local.INFO: Processing buffer {"connection_id":185387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2bd300012d34c14006aa4440000a011829..."} 
[2026-09-17 17:16:58] local.INFO: Packet analysis {"connection_id":185387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:16:58] local.INFO: Extracted packet for processing {"connection_id":185387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2b"} 
[2026-09-17 17:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149114624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789645280000,"timestamp_ms":1789645280000,"timestamp_seconds":1789645280,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2bd300"} 
[2026-09-17 17:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149114624001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149114624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:16:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149114624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":185387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:16:58] local.INFO: GPS data processed {"connection_id":185387,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:16:58] local.INFO: Acknowledgment sent {"connection_id":185387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:17:17] local.INFO: TCP Data received {"connection_id":185388,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2f74b0012d182b0007219c780052006d26..."} 
[2026-09-17 17:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2f74b0012d182b0007219c780052006d26..."} 
[2026-09-17 17:17:17] local.INFO: Processing buffer {"connection_id":185388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2f74b0012d182b0007219c780052006d26..."} 
[2026-09-17 17:17:17] local.INFO: Packet analysis {"connection_id":185388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2f"} 
[2026-09-17 17:17:17] local.INFO: Extracted packet for processing {"connection_id":185388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2f"} 
[2026-09-17 17:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643256,"longitude_deg":75.6558592,"latitude_deg":11.9643256,"altitude":82,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-09-17 17:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149247232001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293279622463488,"note":"Value kept but may cause issues"} 
[2026-09-17 17:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537502208,"note":"Value kept but may cause issues"} 
[2026-09-17 17:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789645518000,"timestamp_ms":1789645518000,"timestamp_seconds":1789645518,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2f74b0"} 
[2026-09-17 17:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 17:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149247232001,"66":12885,"105":206,"83":41984,"24":0,"16":21293279622463488,"45":1741485711537502208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149247232001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:17:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293279622463488,"km_value":21293279622463.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537502208,"description":"Unknown IO ID 45"} 
[2026-09-17 17:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149247232001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537502208}} 
[2026-09-17 17:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":185388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:17:17] local.INFO: GPS data processed {"connection_id":185388,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:17:17] local.INFO: Acknowledgment sent {"connection_id":185388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:17:20] local.INFO: TCP Data received {"connection_id":186841,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:17:20] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:17:20] local.INFO: IMEI packet received {"connection_id":186841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":186841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:17:25] local.INFO: TCP Data received {"connection_id":186841,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:17:25] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:17:25] local.INFO: IMEI packet received {"connection_id":186841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":186841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:17:28] local.INFO: TCP Data received {"connection_id":186841,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:17:28] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:17:28] local.INFO: Packet analysis {"connection_id":186841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:17:28] local.INFO: Extracted packet for processing {"connection_id":186841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:17:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:17:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:17:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":186841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:17:28] local.INFO: GPS data processed {"connection_id":186841,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:17:28] local.INFO: Acknowledgment sent {"connection_id":186841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:17:35] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:17:35] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:17:35] local.INFO: IMEI packet received {"connection_id":188173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":188173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:17:40] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:17:40] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:17:40] local.INFO: IMEI packet received {"connection_id":188173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":188173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:17:41] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af2fc6b8012d182b0007219c780052006d26..."} 
[2026-09-17 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af2fc6b8012d182b0007219c780052006d26..."} 
[2026-09-17 17:17:41] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af2fc6b8012d182b0007219c780052006d26..."} 
[2026-09-17 17:17:41] local.INFO: Packet analysis {"connection_id":188173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af2f"} 
[2026-09-17 17:17:41] local.INFO: Extracted packet for processing {"connection_id":188173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af2f"} 
[2026-09-17 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643256,"longitude_deg":75.6558592,"latitude_deg":11.9643256,"altitude":82,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-09-17 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149252608001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293279622463488,"note":"Value kept but may cause issues"} 
[2026-09-17 17:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537502208,"note":"Value kept but may cause issues"} 
[2026-09-17 17:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789645539000,"timestamp_ms":1789645539000,"timestamp_seconds":1789645539,"priority":1,"record_length":96,"hex_timestamp":"000001a0af2fc6b8"} 
[2026-09-17 17:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 17:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149252608001,"66":12841,"105":206,"83":41984,"24":0,"16":21293279622463488,"45":1741485711537502208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149252608001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:17:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293279622463488,"km_value":21293279622463.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537502208,"description":"Unknown IO ID 45"} 
[2026-09-17 17:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149252608001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537502208}} 
[2026-09-17 17:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":188173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:17:41] local.INFO: GPS data processed {"connection_id":188173,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:17:41] local.INFO: Acknowledgment sent {"connection_id":188173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:18:00] local.INFO: TCP Data received {"connection_id":186841,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:18:00] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:18:00] local.INFO: Packet analysis {"connection_id":186841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:00] local.INFO: Extracted packet for processing {"connection_id":186841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:18:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":186841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:18:00] local.INFO: GPS data processed {"connection_id":186841,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:18:00] local.INFO: Acknowledgment sent {"connection_id":186841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:18:13] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3018c0012d182b0007219c780052006d27..."} 
[2026-09-17 17:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3018c0012d182b0007219c780052006d27..."} 
[2026-09-17 17:18:13] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3018c0012d182b0007219c780052006d27..."} 
[2026-09-17 17:18:13] local.INFO: Packet analysis {"connection_id":188173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:13] local.INFO: Extracted packet for processing {"connection_id":188173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643256,"longitude_deg":75.6558592,"latitude_deg":11.9643256,"altitude":82,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149257984001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293279622463488,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537502208,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789645560000,"timestamp_ms":1789645560000,"timestamp_seconds":1789645560,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3018c0"} 
[2026-09-17 17:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 17:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149257984001,"66":12863,"105":206,"83":41984,"24":0,"16":21293279622463488,"45":1741485711537502208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149257984001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:18:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293279622463488,"km_value":21293279622463.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537502208,"description":"Unknown IO ID 45"} 
[2026-09-17 17:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149257984001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537502208}} 
[2026-09-17 17:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":188173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:18:13] local.INFO: GPS data processed {"connection_id":188173,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:18:13] local.INFO: Acknowledgment sent {"connection_id":188173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:18:15] local.INFO: TCP Data received {"connection_id":188175,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:18:15] local.INFO: Processing buffer {"connection_id":188175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:18:15] local.INFO: IMEI packet received {"connection_id":188175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":188175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:18:20] local.INFO: TCP Data received {"connection_id":188175,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:18:20] local.INFO: Processing buffer {"connection_id":188175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:18:20] local.INFO: IMEI packet received {"connection_id":188175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":188175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:18:21] local.INFO: TCP Data received {"connection_id":188175,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:18:21] local.INFO: Processing buffer {"connection_id":188175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:18:21] local.INFO: Packet analysis {"connection_id":188175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:21] local.INFO: Extracted packet for processing {"connection_id":188175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":188175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:18:21] local.INFO: GPS data processed {"connection_id":188175,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:18:21] local.INFO: Acknowledgment sent {"connection_id":188175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:18:35] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:18:35] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:18:35] local.INFO: IMEI packet received {"connection_id":185389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":185389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:18:39] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:18:39] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:18:39] local.INFO: IMEI packet received {"connection_id":185389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":185389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:18:40] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:18:40] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:18:40] local.INFO: IMEI packet received {"connection_id":185389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":185389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:18:41] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d182b0007219c780052006d27..."} 
[2026-09-17 17:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d182b0007219c780052006d27..."} 
[2026-09-17 17:18:41] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d182b0007219c780052006d27..."} 
[2026-09-17 17:18:41] local.INFO: Packet analysis {"connection_id":185389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:41] local.INFO: Extracted packet for processing {"connection_id":185389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643256,"longitude_deg":75.6558592,"latitude_deg":11.9643256,"altitude":82,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-09-17 17:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149263360001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21293279622463488,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537502208,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 17:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149263360001,"66":13939,"105":206,"83":41984,"24":0,"16":21293279622463488,"45":1741485711537502208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 17:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149263360001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:18:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21293279622463488,"km_value":21293279622463.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537502208,"description":"Unknown IO ID 45"} 
[2026-09-17 17:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149263360001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537502208}} 
[2026-09-17 17:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":185389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:18:41] local.INFO: GPS data processed {"connection_id":185389,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:18:41] local.INFO: Acknowledgment sent {"connection_id":185389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:18:53] local.INFO: TCP Data received {"connection_id":188175,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:18:53] local.INFO: Processing buffer {"connection_id":188175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:18:53] local.INFO: Packet analysis {"connection_id":188175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:53] local.INFO: Extracted packet for processing {"connection_id":188175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":188175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:18:53] local.INFO: GPS data processed {"connection_id":188175,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:18:53] local.INFO: Acknowledgment sent {"connection_id":188175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:19:12] local.INFO: TCP Data received {"connection_id":185389,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3256f8012d18c480072147e0004700b026..."} 
[2026-09-17 17:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3256f8012d18c480072147e0004700b026..."} 
[2026-09-17 17:19:12] local.INFO: Processing buffer {"connection_id":185389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3256f8012d18c480072147e0004700b026..."} 
[2026-09-17 17:19:12] local.INFO: Packet analysis {"connection_id":185389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af32"} 
[2026-09-17 17:19:12] local.INFO: Extracted packet for processing {"connection_id":185389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af32"} 
[2026-09-17 17:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119621600,"longitude_deg":75.6597888,"latitude_deg":11.96216,"altitude":71,"angle":176,"satellites":38,"speed":42,"hex_longitude":"2d18c480","hex_latitude":"072147e0","is_valid_coordinates":true} 
[2026-09-17 17:19: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-09-17 17:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149300480001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21295568840032256,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736696320,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789645707000,"timestamp_ms":1789645707000,"timestamp_seconds":1789645707,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3256f8"} 
[2026-09-17 17:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 17:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:19: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-09-17 17:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149300480001,"66":14048,"103":206,"83":41984,"24":42,"16":21295568840032256,"45":1784340276736696320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 17:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149300480001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:19:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21295568840032256,"km_value":21295568840032.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736696320,"description":"Unknown IO ID 45"} 
[2026-09-17 17:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149300480001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1784340276736696320}} 
[2026-09-17 17:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":185389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:19:12] local.INFO: GPS data processed {"connection_id":185389,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:19:12] local.INFO: Acknowledgment sent {"connection_id":185389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:19:14] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:19:14] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:19:14] local.INFO: IMEI packet received {"connection_id":186842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":186842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:19:20] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:19:20] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:19:20] local.INFO: IMEI packet received {"connection_id":186842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":186842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:19:21] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:19:21] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:19:21] local.INFO: Packet analysis {"connection_id":186842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:19:21] local.INFO: Extracted packet for processing {"connection_id":186842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":186842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:19:21] local.INFO: GPS data processed {"connection_id":186842,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:19:21] local.INFO: Acknowledgment sent {"connection_id":186842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:19:41] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:19:41] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:19:41] local.INFO: IMEI packet received {"connection_id":188176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":188176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:19:41] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:19:41] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:19:41] local.INFO: IMEI packet received {"connection_id":188176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":188176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:19:42] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:19:42] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:19:42] local.INFO: IMEI packet received {"connection_id":188176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":188176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:19:43] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3262b0012d18c6c007213b98004500a026..."} 
[2026-09-17 17:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3262b0012d18c6c007213b98004500a026..."} 
[2026-09-17 17:19:43] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3262b0012d18c6c007213b98004500a026..."} 
[2026-09-17 17:19:43] local.INFO: Packet analysis {"connection_id":188176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af32"} 
[2026-09-17 17:19:43] local.INFO: Extracted packet for processing {"connection_id":188176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af32"} 
[2026-09-17 17:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618456,"longitude_deg":75.6598464,"latitude_deg":11.9618456,"altitude":69,"angle":160,"satellites":38,"speed":41,"hex_longitude":"2d18c6c0","hex_latitude":"07213b98","is_valid_coordinates":true} 
[2026-09-17 17:19: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-09-17 17:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149300992001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21295727753822208,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457043968,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789645710000,"timestamp_ms":1789645710000,"timestamp_seconds":1789645710,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3262b0"} 
[2026-09-17 17:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 17:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:19: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-09-17 17:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149300992001,"66":14070,"103":206,"83":41984,"24":41,"16":21295727753822208,"45":1784692120457043968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 17:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149300992001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:19:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21295727753822208,"km_value":21295727753822.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457043968,"description":"Unknown IO ID 45"} 
[2026-09-17 17:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149300992001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1784692120457043968}} 
[2026-09-17 17:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":188176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:19:43] local.INFO: GPS data processed {"connection_id":188176,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:19:43] local.INFO: Acknowledgment sent {"connection_id":188176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:19:46] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af326a80012d18ca80072134800045009127..."} 
[2026-09-17 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af326a80012d18ca80072134800045009127..."} 
[2026-09-17 17:19:46] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af326a80012d18ca80072134800045009127..."} 
[2026-09-17 17:19:46] local.INFO: Packet analysis {"connection_id":188176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af32"} 
[2026-09-17 17:19:46] local.INFO: Extracted packet for processing {"connection_id":188176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af32"} 
[2026-09-17 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756599424,"raw_latitude":119616640,"longitude_deg":75.6599424,"latitude_deg":11.961664,"altitude":69,"angle":145,"satellites":39,"speed":39,"hex_longitude":"2d18ca80","hex_latitude":"07213480","is_valid_coordinates":true} 
[2026-09-17 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149301760001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21295826538070016,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153838080,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789645712000,"timestamp_ms":1789645712000,"timestamp_seconds":1789645712,"priority":1,"record_length":96,"hex_timestamp":"000001a0af326a80"} 
[2026-09-17 17:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 17:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149301760001,"66":14428,"103":206,"83":41984,"24":39,"16":21295826538070016,"45":1785325439153838080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 17:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149301760001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:19:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21295826538070016,"km_value":21295826538070.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153838080,"description":"Unknown IO ID 45"} 
[2026-09-17 17:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149301760001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1785325439153838080}} 
[2026-09-17 17:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":188176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:19:47] local.INFO: GPS data processed {"connection_id":188176,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:19:47] local.INFO: Acknowledgment sent {"connection_id":188176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:19:52] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:19:52] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:19:52] local.INFO: Packet analysis {"connection_id":186842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:19:52] local.INFO: Extracted packet for processing {"connection_id":186842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":186842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:19:52] local.INFO: GPS data processed {"connection_id":186842,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:19:52] local.INFO: Acknowledgment sent {"connection_id":186842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:20:08] local.INFO: TCP Data received {"connection_id":185533,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:20:08] local.INFO: Processing buffer {"connection_id":185533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:20:08] local.INFO: IMEI packet received {"connection_id":185533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":185533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:20:14] local.INFO: TCP Data received {"connection_id":188177,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:20:14] local.INFO: Processing buffer {"connection_id":188177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:20:14] local.INFO: IMEI packet received {"connection_id":188177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":188177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:20:18] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af333d70012d194a400720aca80030006b24..."} 
[2026-09-17 17:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af333d70012d194a400720aca80030006b24..."} 
[2026-09-17 17:20:18] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af333d70012d194a400720aca80030006b24..."} 
[2026-09-17 17:20:18] local.INFO: Packet analysis {"connection_id":188176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:20:18] local.INFO: Extracted packet for processing {"connection_id":188176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756632128,"raw_latitude":119581864,"longitude_deg":75.6632128,"latitude_deg":11.9581864,"altitude":48,"angle":107,"satellites":36,"speed":40,"hex_longitude":"2d194a40","hex_latitude":"0720aca8","is_valid_coordinates":true} 
[2026-09-17 17:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149314560001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21298304734199808,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815654367885832192,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789645766000,"timestamp_ms":1789645766000,"timestamp_seconds":1789645766,"priority":1,"record_length":96,"hex_timestamp":"000001a0af333d70"} 
[2026-09-17 17:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2939333864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485688,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3984588861,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2837381120,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,170,160,6,45,64,199,53,37,10,66,169,231,211,58,38,223,192,1,240,55,227,175,32,4,113,205,39,176,218,208,239,2,75,7,62,36],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-17 17:20:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530953104364077056,"timestamp_seconds":3530953104364077.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149314560001,"66":14070,"103":206,"83":41984,"24":40,"16":21298304734199808,"45":1815654367885832192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 17:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149314560001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:20:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21298304734199808,"km_value":21298304734199.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815654367885832192,"description":"Unknown IO ID 45"} 
[2026-09-17 17:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149314560001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1815654367885832192}} 
[2026-09-17 17:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":188176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:20:18] local.INFO: GPS data processed {"connection_id":188176,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:20:18] local.INFO: Acknowledgment sent {"connection_id":188176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:20:20] local.INFO: TCP Data received {"connection_id":188177,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:20:20] local.INFO: Processing buffer {"connection_id":188177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:20:20] local.INFO: IMEI packet received {"connection_id":188177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":188177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:20:21] local.INFO: TCP Data received {"connection_id":188177,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:20:21] local.INFO: Processing buffer {"connection_id":188177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:20:21] local.INFO: Packet analysis {"connection_id":188177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:20:21] local.INFO: Extracted packet for processing {"connection_id":188177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":188177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:20:21] local.INFO: GPS data processed {"connection_id":188177,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:20:21] local.INFO: Acknowledgment sent {"connection_id":188177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:20:35] local.INFO: TCP Data received {"connection_id":185534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:20:35] local.INFO: Processing buffer {"connection_id":185534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:20:35] local.INFO: IMEI packet received {"connection_id":185534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":185534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:20:40] local.INFO: TCP Data received {"connection_id":185534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:20:40] local.INFO: Processing buffer {"connection_id":185534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:20:40] local.INFO: IMEI packet received {"connection_id":185534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":185534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:20:41] local.INFO: TCP Data received {"connection_id":185534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af334928012d1955c00720aa900030005f23..."} 
[2026-09-17 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af334928012d1955c00720aa900030005f23..."} 
[2026-09-17 17:20:41] local.INFO: Processing buffer {"connection_id":185534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af334928012d1955c00720aa900030005f23..."} 
[2026-09-17 17:20:41] local.INFO: Packet analysis {"connection_id":185534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:20:41] local.INFO: Extracted packet for processing {"connection_id":185534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756635072,"raw_latitude":119581328,"longitude_deg":75.6635072,"latitude_deg":11.9581328,"altitude":48,"angle":95,"satellites":35,"speed":39,"hex_longitude":"2d1955c0","hex_latitude":"0720aa90","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149316096001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21298442173153280,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822339398581921792,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789645769000,"timestamp_ms":1789645769000,"timestamp_seconds":1789645769,"priority":1,"record_length":96,"hex_timestamp":"000001a0af334928"} 
[2026-09-17 17:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 17:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149316096001,"66":13993,"103":206,"83":41984,"24":39,"16":21298442173153280,"45":1822339398581921792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 17:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149316096001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:20:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21298442173153280,"km_value":21298442173153.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822339398581921792,"description":"Unknown IO ID 45"} 
[2026-09-17 17:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149316096001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1822339398581921792}} 
[2026-09-17 17:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":185534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:20:41] local.INFO: GPS data processed {"connection_id":185534,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:20:41] local.INFO: Acknowledgment sent {"connection_id":185534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:20:53] local.INFO: TCP Data received {"connection_id":188177,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:20:53] local.INFO: Processing buffer {"connection_id":188177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:20:53] local.INFO: Packet analysis {"connection_id":188177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:20:53] local.INFO: Extracted packet for processing {"connection_id":188177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":188177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:20:53] local.INFO: GPS data processed {"connection_id":188177,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:20:53] local.INFO: Acknowledgment sent {"connection_id":188177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:21:12] local.INFO: TCP Data received {"connection_id":185534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af336098012d196dc00720acd8002e004d22..."} 
[2026-09-17 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af336098012d196dc00720acd8002e004d22..."} 
[2026-09-17 17:21:12] local.INFO: Processing buffer {"connection_id":185534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af336098012d196dc00720acd8002e004d22..."} 
[2026-09-17 17:21:12] local.INFO: Packet analysis {"connection_id":185534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:21:12] local.INFO: Extracted packet for processing {"connection_id":185534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119581912,"longitude_deg":75.6641216,"latitude_deg":11.9581912,"altitude":46,"angle":77,"satellites":34,"speed":37,"hex_longitude":"2d196dc0","hex_latitude":"0720acd8","is_valid_coordinates":true} 
[2026-09-17 17:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149316864001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21298738525896704,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825576360813957120,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789645775000,"timestamp_ms":1789645775000,"timestamp_seconds":1789645775,"priority":1,"record_length":96,"hex_timestamp":"000001a0af336098"} 
[2026-09-17 17:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 17:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149316864001,"66":14396,"103":206,"83":41984,"24":37,"16":21298738525896704,"45":1825576360813957120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 17:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149316864001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:21:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21298738525896704,"km_value":21298738525896.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825576360813957120,"description":"Unknown IO ID 45"} 
[2026-09-17 17:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149316864001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1825576360813957120}} 
[2026-09-17 17:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":185534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:21:12] local.INFO: GPS data processed {"connection_id":185534,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:21:12] local.INFO: Acknowledgment sent {"connection_id":185534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:21:20] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:21:20] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:21:20] local.INFO: IMEI packet received {"connection_id":186844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":186844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:21:24] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:21:24] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:21:24] local.INFO: IMEI packet received {"connection_id":186844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":186844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:21:26] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:21:26] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:21:26] local.INFO: Packet analysis {"connection_id":186844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:21:26] local.INFO: Extracted packet for processing {"connection_id":186844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:21:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":186844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:21:26] local.INFO: GPS data processed {"connection_id":186844,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:21:26] local.INFO: Acknowledgment sent {"connection_id":186844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:21:30] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:21:30] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af306ac8012d34c14006aa4440000a011829..."} 
[2026-09-17 17:21:30] local.INFO: Packet analysis {"connection_id":186844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:21:30] local.INFO: Extracted packet for processing {"connection_id":186844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af30"} 
[2026-09-17 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149191680001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789645581000,"timestamp_ms":1789645581000,"timestamp_seconds":1789645581,"priority":1,"record_length":96,"hex_timestamp":"000001a0af306ac8"} 
[2026-09-17 17:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149191680001,"66":25560,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149191680001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:21:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149191680001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":186844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:21:30] local.INFO: GPS data processed {"connection_id":186844,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:21:30] local.INFO: Acknowledgment sent {"connection_id":186844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:21:35] local.INFO: TCP Data received {"connection_id":185535,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:21:35] local.INFO: Processing buffer {"connection_id":185535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:21:35] local.INFO: IMEI packet received {"connection_id":185535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":185535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:21:37] local.INFO: TCP Data received {"connection_id":185535,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:21:37] local.INFO: Processing buffer {"connection_id":185535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:21:37] local.INFO: IMEI packet received {"connection_id":185535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":185535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:21:38] local.INFO: TCP Data received {"connection_id":185535,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:21:38] local.INFO: Processing buffer {"connection_id":185535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:21:38] local.INFO: IMEI packet received {"connection_id":185535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":185535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:21:39] local.INFO: TCP Data received {"connection_id":185535,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3383c0012d198a400720b320003100591f..."} 
[2026-09-17 17:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3383c0012d198a400720b320003100591f..."} 
[2026-09-17 17:21:39] local.INFO: Processing buffer {"connection_id":185535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3383c0012d198a400720b320003100591f..."} 
[2026-09-17 17:21:39] local.INFO: Packet analysis {"connection_id":185535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:21:39] local.INFO: Extracted packet for processing {"connection_id":185535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756648512,"raw_latitude":119583520,"longitude_deg":75.6648512,"latitude_deg":11.958352,"altitude":49,"angle":89,"satellites":31,"speed":18,"hex_longitude":"2d198a40","hex_latitude":"0720b320","is_valid_coordinates":true} 
[2026-09-17 17:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149318400001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21299090713214976,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760255162368,"note":"Value kept but may cause issues"} 
[2026-09-17 17:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789645784000,"timestamp_ms":1789645784000,"timestamp_seconds":1789645784,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3383c0"} 
[2026-09-17 17:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 17:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149318400001,"66":13993,"103":206,"83":41984,"24":18,"16":21299090713214976,"45":1832331760255162368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 17:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149318400001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:21:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21299090713214976,"km_value":21299090713214.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760255162368,"description":"Unknown IO ID 45"} 
[2026-09-17 17:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149318400001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1832331760255162368}} 
[2026-09-17 17:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":185535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:21:39] local.INFO: GPS data processed {"connection_id":185535,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:21:39] local.INFO: Acknowledgment sent {"connection_id":185535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:21:55] local.INFO: TCP Data received {"connection_id":188178,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:21:55] local.INFO: Processing buffer {"connection_id":188178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:21:55] local.INFO: IMEI packet received {"connection_id":188178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":188178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:22:10] local.INFO: TCP Data received {"connection_id":185535,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af34eb20012d19bac007205970002b00ab25..."} 
[2026-09-17 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af34eb20012d19bac007205970002b00ab25..."} 
[2026-09-17 17:22:10] local.INFO: Processing buffer {"connection_id":185535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af34eb20012d19bac007205970002b00ab25..."} 
[2026-09-17 17:22:10] local.INFO: Packet analysis {"connection_id":185535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af34"} 
[2026-09-17 17:22:10] local.INFO: Extracted packet for processing {"connection_id":185535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af34"} 
[2026-09-17 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119560560,"longitude_deg":75.6660928,"latitude_deg":11.956056,"altitude":43,"angle":171,"satellites":37,"speed":41,"hex_longitude":"2d19bac0","hex_latitude":"07205970","is_valid_coordinates":true} 
[2026-09-17 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149341696001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21300787225296896,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108714895360,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789645876000,"timestamp_ms":1789645876000,"timestamp_seconds":1789645876,"priority":1,"record_length":96,"hex_timestamp":"000001a0af34eb20"} 
[2026-09-17 17:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 17:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149341696001,"66":14407,"103":206,"83":41984,"24":41,"16":21300787225296896,"45":1850909108714895360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 17:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149341696001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:22:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21300787225296896,"km_value":21300787225296.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108714895360,"description":"Unknown IO ID 45"} 
[2026-09-17 17:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149341696001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1850909108714895360}} 
[2026-09-17 17:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":185535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:22:10] local.INFO: GPS data processed {"connection_id":185535,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:22:10] local.INFO: Acknowledgment sent {"connection_id":185535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:22:15] local.INFO: TCP Data received {"connection_id":186845,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:22:15] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:22:15] local.INFO: IMEI packet received {"connection_id":186845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":186845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:22:20] local.INFO: TCP Data received {"connection_id":186845,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:22:20] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:22:20] local.INFO: IMEI packet received {"connection_id":186845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":186845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:22:21] local.INFO: TCP Data received {"connection_id":186845,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:22:21] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:22:21] local.INFO: Packet analysis {"connection_id":186845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:22:21] local.INFO: Extracted packet for processing {"connection_id":186845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":186845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:22:21] local.INFO: GPS data processed {"connection_id":186845,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:22:21] local.INFO: Acknowledgment sent {"connection_id":186845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:22:36] local.INFO: TCP Data received {"connection_id":186846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:22:36] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:22:36] local.INFO: IMEI packet received {"connection_id":186846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":186846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:22:40] local.INFO: TCP Data received {"connection_id":186846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:22:40] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:22:40] local.INFO: IMEI packet received {"connection_id":186846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":186846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:22:41] local.INFO: TCP Data received {"connection_id":186846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350e48012d19bfc007203658002b00a021..."} 
[2026-09-17 17:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350e48012d19bfc007203658002b00a021..."} 
[2026-09-17 17:22:41] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350e48012d19bfc007203658002b00a021..."} 
[2026-09-17 17:22:41] local.INFO: Packet analysis {"connection_id":186846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:22:41] local.INFO: Extracted packet for processing {"connection_id":186846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756662208,"raw_latitude":119551576,"longitude_deg":75.6662208,"latitude_deg":11.9551576,"altitude":43,"angle":160,"satellites":33,"speed":40,"hex_longitude":"2d19bfc0","hex_latitude":"07203658","is_valid_coordinates":true} 
[2026-09-17 17:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149344256001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21301229606928384,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333456416768,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789645885000,"timestamp_ms":1789645885000,"timestamp_seconds":1789645885,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350e48"} 
[2026-09-17 17:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-17 17:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149344256001,"66":14396,"101":206,"83":41984,"24":40,"16":21301229606928384,"45":1854005333456416768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149344256001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:22:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21301229606928384,"km_value":21301229606928.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333456416768,"description":"Unknown IO ID 45"} 
[2026-09-17 17:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149344256001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1854005333456416768}} 
[2026-09-17 17:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":186846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:22:41] local.INFO: GPS data processed {"connection_id":186846,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:22:41] local.INFO: Acknowledgment sent {"connection_id":186846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:22:52] local.INFO: TCP Data received {"connection_id":186845,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:22:52] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:22:52] local.INFO: Packet analysis {"connection_id":186845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:22:52] local.INFO: Extracted packet for processing {"connection_id":186845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":186845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:22:52] local.INFO: GPS data processed {"connection_id":186845,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:22:52] local.INFO: Acknowledgment sent {"connection_id":186845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:23:12] local.INFO: TCP Data received {"connection_id":186846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350e48012d19bfc007203658002b00a021..."} 
[2026-09-17 17:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350e48012d19bfc007203658002b00a021..."} 
[2026-09-17 17:23:12] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350e48012d19bfc007203658002b00a021..."} 
[2026-09-17 17:23:12] local.INFO: Packet analysis {"connection_id":186846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:23:12] local.INFO: Extracted packet for processing {"connection_id":186846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756662208,"raw_latitude":119551576,"longitude_deg":75.6662208,"latitude_deg":11.9551576,"altitude":43,"angle":160,"satellites":33,"speed":40,"hex_longitude":"2d19bfc0","hex_latitude":"07203658","is_valid_coordinates":true} 
[2026-09-17 17:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149346560001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21301229606928384,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855412708337670144,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789645885000,"timestamp_ms":1789645885000,"timestamp_seconds":1789645885,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350e48"} 
[2026-09-17 17:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-17 17:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149346560001,"66":14396,"101":206,"83":41984,"24":40,"16":21301229606928384,"45":1855412708337670144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149346560001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:23:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21301229606928384,"km_value":21301229606928.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855412708337670144,"description":"Unknown IO ID 45"} 
[2026-09-17 17:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149346560001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1855412708337670144}} 
[2026-09-17 17:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":186846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:23:12] local.INFO: GPS data processed {"connection_id":186846,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:23:12] local.INFO: Acknowledgment sent {"connection_id":186846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:23:15] local.INFO: TCP Data received {"connection_id":185391,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:23:15] local.INFO: Processing buffer {"connection_id":185391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:23:15] local.INFO: IMEI packet received {"connection_id":185391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":185391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:23:20] local.INFO: TCP Data received {"connection_id":185391,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:23:20] local.INFO: Processing buffer {"connection_id":185391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:23:20] local.INFO: IMEI packet received {"connection_id":185391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":185391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:23:21] local.INFO: TCP Data received {"connection_id":185391,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:23:21] local.INFO: Processing buffer {"connection_id":185391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:23:21] local.INFO: Packet analysis {"connection_id":185391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:23:21] local.INFO: Extracted packet for processing {"connection_id":185391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":185391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:23:21] local.INFO: GPS data processed {"connection_id":185391,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:23:21] local.INFO: Acknowledgment sent {"connection_id":185391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:23:34] local.INFO: TCP Data received {"connection_id":185392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:23:34] local.INFO: Processing buffer {"connection_id":185392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:23:34] local.INFO: IMEI packet received {"connection_id":185392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":185392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:23:35] local.INFO: TCP Data received {"connection_id":185392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:23:35] local.INFO: Processing buffer {"connection_id":185392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:23:35] local.INFO: IMEI packet received {"connection_id":185392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":185392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:23:40] local.INFO: TCP Data received {"connection_id":185392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:23:40] local.INFO: Processing buffer {"connection_id":185392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:23:40] local.INFO: IMEI packet received {"connection_id":185392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":185392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:23:41] local.INFO: TCP Data received {"connection_id":185392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af361bd0012d1a4b40071fe5c00031006124..."} 
[2026-09-17 17:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af361bd0012d1a4b40071fe5c00031006124..."} 
[2026-09-17 17:23:41] local.INFO: Processing buffer {"connection_id":185392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af361bd0012d1a4b40071fe5c00031006124..."} 
[2026-09-17 17:23:41] local.INFO: Packet analysis {"connection_id":185392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af36"} 
[2026-09-17 17:23:41] local.INFO: Extracted packet for processing {"connection_id":185392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af36"} 
[2026-09-17 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":756697920,"raw_latitude":119530944,"longitude_deg":75.669792,"latitude_deg":11.9530944,"altitude":49,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d1a4b40","hex_latitude":"071fe5c0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149358848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21303359910707200,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892637774002434048,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789645954000,"timestamp_ms":1789645954000,"timestamp_seconds":1789645954,"priority":1,"record_length":96,"hex_timestamp":"000001a0af361bd0"} 
[2026-09-17 17:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-17 17:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149358848001,"66":14026,"101":206,"83":41984,"24":0,"16":21303359910707200,"45":1892637774002434048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149358848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:23:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21303359910707200,"km_value":21303359910707.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892637774002434048,"description":"Unknown IO ID 45"} 
[2026-09-17 17:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149358848001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1892637774002434048}} 
[2026-09-17 17:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":185392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:23:41] local.INFO: GPS data processed {"connection_id":185392,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:23:41] local.INFO: Acknowledgment sent {"connection_id":185392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:23:52] local.INFO: TCP Data received {"connection_id":185391,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:23:52] local.INFO: Processing buffer {"connection_id":185391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:23:52] local.INFO: Packet analysis {"connection_id":185391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:23:52] local.INFO: Extracted packet for processing {"connection_id":185391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":185391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:23:52] local.INFO: GPS data processed {"connection_id":185391,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:23:52] local.INFO: Acknowledgment sent {"connection_id":185391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:24:12] local.INFO: TCP Data received {"connection_id":185392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af361fb8012d1a4bc0071fe5880031007f24..."} 
[2026-09-17 17:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af361fb8012d1a4bc0071fe5880031007f24..."} 
[2026-09-17 17:24:12] local.INFO: Processing buffer {"connection_id":185392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af361fb8012d1a4bc0071fe5880031007f24..."} 
[2026-09-17 17:24:12] local.INFO: Packet analysis {"connection_id":185392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af36"} 
[2026-09-17 17:24:12] local.INFO: Extracted packet for processing {"connection_id":185392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af36"} 
[2026-09-17 17:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756698048,"raw_latitude":119530888,"longitude_deg":75.6698048,"latitude_deg":11.9530888,"altitude":49,"angle":127,"satellites":36,"speed":3,"hex_longitude":"2d1a4bc0","hex_latitude":"071fe588","is_valid_coordinates":true} 
[2026-09-17 17:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149364224001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21303368500641792,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894678467583524864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789645955000,"timestamp_ms":1789645955000,"timestamp_seconds":1789645955,"priority":1,"record_length":96,"hex_timestamp":"000001a0af361fb8"} 
[2026-09-17 17:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-17 17:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149364224001,"66":14026,"101":206,"83":41984,"24":3,"16":21303368500641792,"45":1894678467583524864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149364224001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:24:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21303368500641792,"km_value":21303368500641.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894678467583524864,"description":"Unknown IO ID 45"} 
[2026-09-17 17:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149364224001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1894678467583524864}} 
[2026-09-17 17:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":185392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:24:12] local.INFO: GPS data processed {"connection_id":185392,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:24:12] local.INFO: Acknowledgment sent {"connection_id":185392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:24:14] local.INFO: TCP Data received {"connection_id":185536,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:24:14] local.INFO: Processing buffer {"connection_id":185536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:24:14] local.INFO: IMEI packet received {"connection_id":185536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":185536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:24:20] local.INFO: TCP Data received {"connection_id":185536,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:24:20] local.INFO: Processing buffer {"connection_id":185536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:24:20] local.INFO: IMEI packet received {"connection_id":185536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":185536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:24:21] local.INFO: TCP Data received {"connection_id":185536,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:24:21] local.INFO: Processing buffer {"connection_id":185536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:24:21] local.INFO: Packet analysis {"connection_id":185536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:24:21] local.INFO: Extracted packet for processing {"connection_id":185536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:24:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:24:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":185536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:24:21] local.INFO: GPS data processed {"connection_id":185536,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:24:21] local.INFO: Acknowledgment sent {"connection_id":185536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:24:35] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:35] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:35] local.INFO: IMEI packet received {"connection_id":186847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":186847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:24:36] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:36] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:36] local.INFO: IMEI packet received {"connection_id":186847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":186847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:24:39] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:39] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:39] local.INFO: IMEI packet received {"connection_id":186847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":186847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:24:40] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:40] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:24:40] local.INFO: IMEI packet received {"connection_id":186847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":186847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:24:41] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af371da0012d19f7c0071ffb180030010e26..."} 
[2026-09-17 17:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af371da0012d19f7c0071ffb180030010e26..."} 
[2026-09-17 17:24:41] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af371da0012d19f7c0071ffb180030010e26..."} 
[2026-09-17 17:24:41] local.INFO: Packet analysis {"connection_id":186847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:24:41] local.INFO: Extracted packet for processing {"connection_id":186847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756676544,"raw_latitude":119536408,"longitude_deg":75.6676544,"latitude_deg":11.9536408,"altitude":48,"angle":270,"satellites":38,"speed":27,"hex_longitude":"2d19f7c0","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149379072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21304468012269568,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877649231493496832,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646020000,"timestamp_ms":1789646020000,"timestamp_seconds":1789646020,"priority":1,"record_length":96,"hex_timestamp":"000001a0af371da0"} 
[2026-09-17 17:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 17:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149379072001,"66":14048,"101":206,"83":41984,"24":27,"16":21304468012269568,"45":1877649231493496832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149379072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:24:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21304468012269568,"km_value":21304468012269.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877649231493496832,"description":"Unknown IO ID 45"} 
[2026-09-17 17:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149379072001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1877649231493496832}} 
[2026-09-17 17:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":186847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:24:41] local.INFO: GPS data processed {"connection_id":186847,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:24:41] local.INFO: Acknowledgment sent {"connection_id":186847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:24:41] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af373128012d19eb80071ffb00002f012126..."} 
[2026-09-17 17:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af373128012d19eb80071ffb00002f012126..."} 
[2026-09-17 17:24:41] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af373128012d19eb80071ffb00002f012126..."} 
[2026-09-17 17:24:41] local.INFO: Packet analysis {"connection_id":186847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:24:41] local.INFO: Extracted packet for processing {"connection_id":186847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756673408,"raw_latitude":119536384,"longitude_deg":75.6673408,"latitude_deg":11.9536384,"altitude":47,"angle":289,"satellites":38,"speed":22,"hex_longitude":"2d19eb80","hex_latitude":"071ffb00","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149381120001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21304618336124928,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871175307029583872,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646025000,"timestamp_ms":1789646025000,"timestamp_seconds":1789646025,"priority":1,"record_length":96,"hex_timestamp":"000001a0af373128"} 
[2026-09-17 17:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 17:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149381120001,"66":14048,"101":206,"83":41984,"24":22,"16":21304618336124928,"45":1871175307029583872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149381120001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:24:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21304618336124928,"km_value":21304618336124.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871175307029583872,"description":"Unknown IO ID 45"} 
[2026-09-17 17:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149381120001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1871175307029583872}} 
[2026-09-17 17:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":186847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:24:41] local.INFO: GPS data processed {"connection_id":186847,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:24:41] local.INFO: Acknowledgment sent {"connection_id":186847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:24:52] local.INFO: TCP Data received {"connection_id":185536,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:24:52] local.INFO: Processing buffer {"connection_id":185536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:24:52] local.INFO: Packet analysis {"connection_id":185536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:24:52] local.INFO: Extracted packet for processing {"connection_id":185536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":185536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:24:52] local.INFO: GPS data processed {"connection_id":185536,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:24:52] local.INFO: Acknowledgment sent {"connection_id":185536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:25:13] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af37d920012d19a500071ff1100036011424..."} 
[2026-09-17 17:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af37d920012d19a500071ff1100036011424..."} 
[2026-09-17 17:25:13] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af37d920012d19a500071ff1100036011424..."} 
[2026-09-17 17:25:13] local.INFO: Packet analysis {"connection_id":186847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:25:13] local.INFO: Extracted packet for processing {"connection_id":186847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119533840,"longitude_deg":75.665536,"latitude_deg":11.953384,"altitude":54,"angle":276,"satellites":36,"speed":13,"hex_longitude":"2d19a500","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149392640001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21305687782981632,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849360996333778944,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789646068000,"timestamp_ms":1789646068000,"timestamp_seconds":1789646068,"priority":1,"record_length":96,"hex_timestamp":"000001a0af37d920"} 
[2026-09-17 17:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-17 17:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149392640001,"66":14070,"101":206,"83":41984,"24":13,"16":21305687782981632,"45":1849360996333778944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149392640001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:25:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21305687782981632,"km_value":21305687782981.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849360996333778944,"description":"Unknown IO ID 45"} 
[2026-09-17 17:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149392640001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1849360996333778944}} 
[2026-09-17 17:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":186847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:25:13] local.INFO: GPS data processed {"connection_id":186847,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:25:13] local.INFO: Acknowledgment sent {"connection_id":186847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:25:14] local.INFO: TCP Data received {"connection_id":188181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:25:14] local.INFO: Processing buffer {"connection_id":188181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:25:14] local.INFO: IMEI packet received {"connection_id":188181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:25:20] local.INFO: TCP Data received {"connection_id":188181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:25:20] local.INFO: Processing buffer {"connection_id":188181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:25:20] local.INFO: IMEI packet received {"connection_id":188181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":188181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:25:21] local.INFO: TCP Data received {"connection_id":188181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:25:21] local.INFO: Processing buffer {"connection_id":188181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:25:21] local.INFO: Packet analysis {"connection_id":188181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:25:21] local.INFO: Extracted packet for processing {"connection_id":188181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:25:21] 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-09-17 17:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":188181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:25:21] local.INFO: GPS data processed {"connection_id":188181,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:25:21] local.INFO: Acknowledgment sent {"connection_id":188181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:25:35] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:25:35] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:25:35] local.INFO: IMEI packet received {"connection_id":188182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":188182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:25:38] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:25:38] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:25:38] local.INFO: IMEI packet received {"connection_id":188182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":188182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:25:40] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:25:40] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:25:40] local.INFO: IMEI packet received {"connection_id":188182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":188182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:25:41] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af37dd08012d19a3c0071ff0e80037010224..."} 
[2026-09-17 17:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af37dd08012d19a3c0071ff0e80037010224..."} 
[2026-09-17 17:25:41] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af37dd08012d19a3c0071ff0e80037010224..."} 
[2026-09-17 17:25:41] local.INFO: Packet analysis {"connection_id":188182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:25:41] local.INFO: Extracted packet for processing {"connection_id":188182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119533800,"longitude_deg":75.665504,"latitude_deg":11.95338,"altitude":55,"angle":258,"satellites":36,"speed":10,"hex_longitude":"2d19a3c0","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-09-17 17:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149393408001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21305704962850816,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252706119680,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646069000,"timestamp_ms":1789646069000,"timestamp_seconds":1789646069,"priority":1,"record_length":96,"hex_timestamp":"000001a0af37dd08"} 
[2026-09-17 17:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 17:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149393408001,"66":14070,"101":206,"83":41984,"24":10,"16":21305704962850816,"45":1847883252706119680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149393408001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:25:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21305704962850816,"km_value":21305704962850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252706119680,"description":"Unknown IO ID 45"} 
[2026-09-17 17:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149393408001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1847883252706119680}} 
[2026-09-17 17:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":188182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:25:41] local.INFO: GPS data processed {"connection_id":188182,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:25:41] local.INFO: Acknowledgment sent {"connection_id":188182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:25:52] local.INFO: TCP Data received {"connection_id":188181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:25:52] local.INFO: Processing buffer {"connection_id":188181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:25:52] local.INFO: Packet analysis {"connection_id":188181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:25:52] local.INFO: Extracted packet for processing {"connection_id":188181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:25:52] 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-09-17 17:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":188181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:25:52] local.INFO: GPS data processed {"connection_id":188181,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:25:52] local.INFO: Acknowledgment sent {"connection_id":188181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:26:03] local.INFO: TCP Data received {"connection_id":185537,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:26:03] local.INFO: Processing buffer {"connection_id":185537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:26:03] local.INFO: IMEI packet received {"connection_id":185537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":185537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:26:08] local.INFO: TCP Data received {"connection_id":185537,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:26:08] local.INFO: Processing buffer {"connection_id":185537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:26:08] local.INFO: IMEI packet received {"connection_id":185537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":185537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:26:09] local.INFO: TCP Data received {"connection_id":185537,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af331e30012d7a058005e4a048000700f230..."} 
[2026-09-17 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af331e30012d7a058005e4a048000700f230..."} 
[2026-09-17 17:26:09] local.INFO: Processing buffer {"connection_id":185537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af331e30012d7a058005e4a048000700f230..."} 
[2026-09-17 17:26:09] local.INFO: Packet analysis {"connection_id":185537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:26:09] local.INFO: Extracted packet for processing {"connection_id":185537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af33"} 
[2026-09-17 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":762971520,"raw_latitude":98869320,"longitude_deg":76.297152,"latitude_deg":9.886932,"altitude":7,"angle":242,"satellites":48,"speed":20,"hex_longitude":"2d7a0580","hex_latitude":"05e4a048","is_valid_coordinates":true} 
[2026-09-17 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149313536001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134408789620162560,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793278297751521280,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:09] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-17 17:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789645758000,"timestamp_ms":1789645758000,"timestamp_seconds":1789645758,"priority":1,"record_length":96,"hex_timestamp":"000001a0af331e30"} 
[2026-09-17 17:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-17 17:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149313536001,"66":13298,"24":20,"16":134408789620162560,"45":8793278297751521280},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-17 17:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149313536001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134408789620162560,"km_value":134408789620162.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793278297751521280,"description":"Unknown IO ID 45"} 
[2026-09-17 17:26:09] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458149313536001,"power":13298,"ignition":20,"odometer":null,"unknown_45":8793278297751521280}} 
[2026-09-17 17:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":185537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:26:09] local.INFO: GPS data processed {"connection_id":185537,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:26:09] local.INFO: Acknowledgment sent {"connection_id":185537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:26:12] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af37e0f0012d19a2c0071ff088003700f624..."} 
[2026-09-17 17:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af37e0f0012d19a2c0071ff088003700f624..."} 
[2026-09-17 17:26:12] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af37e0f0012d19a2c0071ff088003700f624..."} 
[2026-09-17 17:26:12] local.INFO: Packet analysis {"connection_id":188182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:26:12] local.INFO: Extracted packet for processing {"connection_id":188182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119533704,"longitude_deg":75.6654784,"latitude_deg":11.9533704,"altitude":55,"angle":246,"satellites":36,"speed":9,"hex_longitude":"2d19a2c0","hex_latitude":"071ff088","is_valid_coordinates":true} 
[2026-09-17 17:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149393664001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21305717847752704,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985221120,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646070000,"timestamp_ms":1789646070000,"timestamp_seconds":1789646070,"priority":1,"record_length":96,"hex_timestamp":"000001a0af37e0f0"} 
[2026-09-17 17:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 17:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149393664001,"66":13993,"101":206,"83":41984,"24":9,"16":21305717847752704,"45":1847531408985221120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149393664001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:26:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21305717847752704,"km_value":21305717847752.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985221120,"description":"Unknown IO ID 45"} 
[2026-09-17 17:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149393664001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1847531408985221120}} 
[2026-09-17 17:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":188182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:26:12] local.INFO: GPS data processed {"connection_id":188182,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:26:12] local.INFO: Acknowledgment sent {"connection_id":188182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:26:20] local.INFO: TCP Data received {"connection_id":185395,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:26:20] local.INFO: Processing buffer {"connection_id":185395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:26:20] local.INFO: IMEI packet received {"connection_id":185395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":185395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:26:25] local.INFO: TCP Data received {"connection_id":185395,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:26:25] local.INFO: Processing buffer {"connection_id":185395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:26:25] local.INFO: IMEI packet received {"connection_id":185395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":185395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:26:26] local.INFO: TCP Data received {"connection_id":185395,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:26:26] local.INFO: Processing buffer {"connection_id":185395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:26:26] local.INFO: Packet analysis {"connection_id":185395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:26:26] local.INFO: Extracted packet for processing {"connection_id":185395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:26:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:26:26] 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-09-17 17:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:26:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":185395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:26:26] local.INFO: GPS data processed {"connection_id":185395,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:26:26] local.INFO: Acknowledgment sent {"connection_id":185395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:26:30] local.INFO: TCP Data received {"connection_id":185395,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:26:30] local.INFO: Processing buffer {"connection_id":185395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af350290012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:26:30] local.INFO: Packet analysis {"connection_id":185395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:26:30] local.INFO: Extracted packet for processing {"connection_id":185395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af35"} 
[2026-09-17 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149268736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789645882000,"timestamp_ms":1789645882000,"timestamp_seconds":1789645882,"priority":1,"record_length":96,"hex_timestamp":"000001a0af350290"} 
[2026-09-17 17:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:26:30] 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-09-17 17:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149268736001,"66":25734,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149268736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149268736001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":185395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:26:30] local.INFO: GPS data processed {"connection_id":185395,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:26:30] local.INFO: Acknowledgment sent {"connection_id":185395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:26:40] local.INFO: TCP Data received {"connection_id":186848,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:26:40] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:26:40] local.INFO: IMEI packet received {"connection_id":186848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":186848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:26:41] local.INFO: TCP Data received {"connection_id":186848,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:26:41] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:26:41] local.INFO: IMEI packet received {"connection_id":186848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":186848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:26:42] local.INFO: TCP Data received {"connection_id":186848,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af37f090012d199e00071feeb00038010624..."} 
[2026-09-17 17:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af37f090012d199e00071feeb00038010624..."} 
[2026-09-17 17:26:42] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af37f090012d199e00071feeb00038010624..."} 
[2026-09-17 17:26:42] local.INFO: Packet analysis {"connection_id":186848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:26:42] local.INFO: Extracted packet for processing {"connection_id":186848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756653568,"raw_latitude":119533232,"longitude_deg":75.6653568,"latitude_deg":11.9533232,"altitude":56,"angle":262,"satellites":36,"speed":15,"hex_longitude":"2d199e00","hex_latitude":"071feeb0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149393920001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21305777977294848,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008485888,"note":"Value kept but may cause issues"} 
[2026-09-17 17:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789646074000,"timestamp_ms":1789646074000,"timestamp_seconds":1789646074,"priority":1,"record_length":96,"hex_timestamp":"000001a0af37f090"} 
[2026-09-17 17:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-17 17:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149393920001,"66":13091,"101":206,"83":41984,"24":15,"16":21305777977294848,"45":1847249934008485888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149393920001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:26:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21305777977294848,"km_value":21305777977294.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008485888,"description":"Unknown IO ID 45"} 
[2026-09-17 17:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149393920001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1847249934008485888}} 
[2026-09-17 17:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":186848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:26:42] local.INFO: GPS data processed {"connection_id":186848,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:26:42] local.INFO: Acknowledgment sent {"connection_id":186848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:27:13] local.INFO: TCP Data received {"connection_id":186848,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af37f860012d199b40071fef000039011524..."} 
[2026-09-17 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af37f860012d199b40071fef000039011524..."} 
[2026-09-17 17:27:13] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af37f860012d199b40071fef000039011524..."} 
[2026-09-17 17:27:13] local.INFO: Packet analysis {"connection_id":186848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:27:13] local.INFO: Extracted packet for processing {"connection_id":186848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af37"} 
[2026-09-17 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756652864,"raw_latitude":119533312,"longitude_deg":75.6652864,"latitude_deg":11.9533312,"altitude":57,"angle":277,"satellites":36,"speed":17,"hex_longitude":"2d199b40","hex_latitude":"071fef00","is_valid_coordinates":true} 
[2026-09-17 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149394944001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21305816632000512,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845912927868989440,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789646076000,"timestamp_ms":1789646076000,"timestamp_seconds":1789646076,"priority":1,"record_length":96,"hex_timestamp":"000001a0af37f860"} 
[2026-09-17 17:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 17:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149394944001,"66":13080,"101":206,"83":41984,"24":17,"16":21305816632000512,"45":1845912927868989440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149394944001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:27:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21305816632000512,"km_value":21305816632000.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845912927868989440,"description":"Unknown IO ID 45"} 
[2026-09-17 17:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149394944001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1845912927868989440}} 
[2026-09-17 17:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":186848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:27:13] local.INFO: GPS data processed {"connection_id":186848,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:27:13] local.INFO: Acknowledgment sent {"connection_id":186848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:27:15] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:27:15] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:27:15] local.INFO: IMEI packet received {"connection_id":186849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":186849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:27:15] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:27:15] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:27:15] local.INFO: IMEI packet received {"connection_id":186850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":186850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:27:20] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:27:20] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:27:20] local.INFO: IMEI packet received {"connection_id":186850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":186850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:27:21] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:27:21] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:27:21] local.INFO: Packet analysis {"connection_id":186850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:27:21] local.INFO: Extracted packet for processing {"connection_id":186850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:27:21] 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-09-17 17:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":186850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:27:21] local.INFO: GPS data processed {"connection_id":186850,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:27:21] local.INFO: Acknowledgment sent {"connection_id":186850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:27:35] local.INFO: TCP Data received {"connection_id":188183,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:27:35] local.INFO: Processing buffer {"connection_id":188183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:27:35] local.INFO: IMEI packet received {"connection_id":188183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":188183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:27:40] local.INFO: TCP Data received {"connection_id":188183,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:27:40] local.INFO: Processing buffer {"connection_id":188183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:27:40] local.INFO: IMEI packet received {"connection_id":188183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":188183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:27:41] local.INFO: TCP Data received {"connection_id":188183,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af382b28012d198400071fef08003c00f423..."} 
[2026-09-17 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af382b28012d198400071fef08003c00f423..."} 
[2026-09-17 17:27:41] local.INFO: Processing buffer {"connection_id":188183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af382b28012d198400071fef08003c00f423..."} 
[2026-09-17 17:27:41] local.INFO: Packet analysis {"connection_id":188183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:27:41] local.INFO: Extracted packet for processing {"connection_id":188183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756646912,"raw_latitude":119533320,"longitude_deg":75.6646912,"latitude_deg":11.953332,"altitude":60,"angle":244,"satellites":35,"speed":18,"hex_longitude":"2d198400","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-17 17:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149398016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306100099842048,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840213059590694912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646089000,"timestamp_ms":1789646089000,"timestamp_seconds":1789646089,"priority":1,"record_length":96,"hex_timestamp":"000001a0af382b28"} 
[2026-09-17 17:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-17 17:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149398016001,"66":12287,"101":206,"83":41984,"24":18,"16":21306100099842048,"45":1840213059590694912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 17:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149398016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:27:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 17:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306100099842048,"km_value":21306100099842.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840213059590694912,"description":"Unknown IO ID 45"} 
[2026-09-17 17:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149398016001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1840213059590694912}} 
[2026-09-17 17:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":188183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:27:41] local.INFO: GPS data processed {"connection_id":188183,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:27:41] local.INFO: Acknowledgment sent {"connection_id":188183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:27:49] local.INFO: TCP Data received {"connection_id":185538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:27:49] local.INFO: Processing buffer {"connection_id":185538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:27:49] local.INFO: IMEI packet received {"connection_id":185538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":185538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:27:52] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:27:52] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:27:52] local.INFO: Packet analysis {"connection_id":186850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:27:52] local.INFO: Extracted packet for processing {"connection_id":186850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:27:52] 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-09-17 17:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":186850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:27:52] local.INFO: GPS data processed {"connection_id":186850,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:27:52] local.INFO: Acknowledgment sent {"connection_id":186850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:28:12] local.INFO: TCP Data received {"connection_id":188183,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3832f8012d198100071fed18003c00e623..."} 
[2026-09-17 17:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3832f8012d198100071fed18003c00e623..."} 
[2026-09-17 17:28:12] local.INFO: Processing buffer {"connection_id":188183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3832f8012d198100071fed18003c00e623..."} 
[2026-09-17 17:28:12] local.INFO: Packet analysis {"connection_id":188183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:28:12] local.INFO: Extracted packet for processing {"connection_id":188183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756646144,"raw_latitude":119532824,"longitude_deg":75.6646144,"latitude_deg":11.9532824,"altitude":60,"angle":230,"satellites":35,"speed":18,"hex_longitude":"2d198100","hex_latitude":"071fed18","is_valid_coordinates":true} 
[2026-09-17 17:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149398784001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306143049515008,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838594578474534912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646091000,"timestamp_ms":1789646091000,"timestamp_seconds":1789646091,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3832f8"} 
[2026-09-17 17:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-17 17:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149398784001,"66":13102,"102":206,"83":41984,"24":18,"16":21306143049515008,"45":1838594578474534912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149398784001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:28:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306143049515008,"km_value":21306143049515.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838594578474534912,"description":"Unknown IO ID 45"} 
[2026-09-17 17:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149398784001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1838594578474534912}} 
[2026-09-17 17:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":188183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:28:12] local.INFO: GPS data processed {"connection_id":188183,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:28:12] local.INFO: Acknowledgment sent {"connection_id":188183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:28:14] local.INFO: TCP Data received {"connection_id":185539,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:28:14] local.INFO: Processing buffer {"connection_id":185539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:28:14] local.INFO: IMEI packet received {"connection_id":185539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":185539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:28:20] local.INFO: TCP Data received {"connection_id":185539,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:28:20] local.INFO: Processing buffer {"connection_id":185539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:28:20] local.INFO: IMEI packet received {"connection_id":185539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":185539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:28:21] local.INFO: TCP Data received {"connection_id":185539,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:28:21] local.INFO: Processing buffer {"connection_id":185539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:28:21] local.INFO: Packet analysis {"connection_id":185539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:28:21] local.INFO: Extracted packet for processing {"connection_id":185539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":185539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:28:21] local.INFO: GPS data processed {"connection_id":185539,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:28:21] local.INFO: Acknowledgment sent {"connection_id":185539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:28:35] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:28:35] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:28:35] local.INFO: IMEI packet received {"connection_id":186851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":186851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:28:40] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:28:40] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:28:40] local.INFO: IMEI packet received {"connection_id":186851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":186851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:28:41] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af383ac8012d197d80071feb60003b00fb24..."} 
[2026-09-17 17:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af383ac8012d197d80071feb60003b00fb24..."} 
[2026-09-17 17:28:41] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af383ac8012d197d80071feb60003b00fb24..."} 
[2026-09-17 17:28:41] local.INFO: Packet analysis {"connection_id":186851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:28:41] local.INFO: Extracted packet for processing {"connection_id":186851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532384,"longitude_deg":75.6645248,"latitude_deg":11.9532384,"altitude":59,"angle":251,"satellites":36,"speed":19,"hex_longitude":"2d197d80","hex_latitude":"071feb60","is_valid_coordinates":true} 
[2026-09-17 17:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149399296001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306190294155264,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837750153544275968,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646093000,"timestamp_ms":1789646093000,"timestamp_seconds":1789646093,"priority":1,"record_length":96,"hex_timestamp":"000001a0af383ac8"} 
[2026-09-17 17:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 17:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149399296001,"66":13156,"102":206,"83":41984,"24":19,"16":21306190294155264,"45":1837750153544275968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149399296001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:28:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306190294155264,"km_value":21306190294155.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837750153544275968,"description":"Unknown IO ID 45"} 
[2026-09-17 17:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149399296001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1837750153544275968}} 
[2026-09-17 17:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":186851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:28:41] local.INFO: GPS data processed {"connection_id":186851,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:28:41] local.INFO: Acknowledgment sent {"connection_id":186851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:28:52] local.INFO: TCP Data received {"connection_id":185539,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:28:52] local.INFO: Processing buffer {"connection_id":185539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:28:52] local.INFO: Packet analysis {"connection_id":185539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:28:52] local.INFO: Extracted packet for processing {"connection_id":185539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":185539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:28:52] local.INFO: GPS data processed {"connection_id":185539,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:28:52] local.INFO: Acknowledgment sent {"connection_id":185539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:29:12] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af384680012d197840071fea78003a010724..."} 
[2026-09-17 17:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af384680012d197840071fea78003a010724..."} 
[2026-09-17 17:29:12] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af384680012d197840071fea78003a010724..."} 
[2026-09-17 17:29:12] local.INFO: Packet analysis {"connection_id":186851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:29:12] local.INFO: Extracted packet for processing {"connection_id":186851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756643904,"raw_latitude":119532152,"longitude_deg":75.6643904,"latitude_deg":11.9532152,"altitude":58,"angle":263,"satellites":36,"speed":16,"hex_longitude":"2d197840","hex_latitude":"071fea78","is_valid_coordinates":true} 
[2026-09-17 17:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149399808001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306254718664704,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125676032,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646096000,"timestamp_ms":1789646096000,"timestamp_seconds":1789646096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af384680"} 
[2026-09-17 17:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-17 17:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149399808001,"66":13156,"102":206,"83":41984,"24":16,"16":21306254718664704,"45":1836764991125676032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149399808001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:29:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306254718664704,"km_value":21306254718664.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125676032,"description":"Unknown IO ID 45"} 
[2026-09-17 17:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149399808001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1836764991125676032}} 
[2026-09-17 17:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":186851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:29:12] local.INFO: GPS data processed {"connection_id":186851,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:29:12] local.INFO: Acknowledgment sent {"connection_id":186851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:29:14] local.INFO: TCP Data received {"connection_id":188184,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:29:14] local.INFO: Processing buffer {"connection_id":188184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:29:14] local.INFO: IMEI packet received {"connection_id":188184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":188184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:29:20] local.INFO: TCP Data received {"connection_id":188184,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:29:20] local.INFO: Processing buffer {"connection_id":188184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:29:20] local.INFO: IMEI packet received {"connection_id":188184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":188184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:29:21] local.INFO: TCP Data received {"connection_id":188184,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:29:21] local.INFO: Processing buffer {"connection_id":188184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:29:21] local.INFO: Packet analysis {"connection_id":188184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:29:21] local.INFO: Extracted packet for processing {"connection_id":188184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":188184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:29:21] local.INFO: GPS data processed {"connection_id":188184,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:29:21] local.INFO: Acknowledgment sent {"connection_id":188184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:29:35] local.INFO: TCP Data received {"connection_id":185540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:29:35] local.INFO: Processing buffer {"connection_id":185540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:29:35] local.INFO: IMEI packet received {"connection_id":185540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":185540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:29:40] local.INFO: TCP Data received {"connection_id":185540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:29:40] local.INFO: Processing buffer {"connection_id":185540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:29:40] local.INFO: IMEI packet received {"connection_id":185540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":185540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:29:41] local.INFO: TCP Data received {"connection_id":185540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af385620012d197180071feaf0003a011724..."} 
[2026-09-17 17:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af385620012d197180071feaf0003a011724..."} 
[2026-09-17 17:29:41] local.INFO: Processing buffer {"connection_id":185540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af385620012d197180071feaf0003a011724..."} 
[2026-09-17 17:29:41] local.INFO: Packet analysis {"connection_id":185540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:29:41] local.INFO: Extracted packet for processing {"connection_id":185540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af38"} 
[2026-09-17 17:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756642176,"raw_latitude":119532272,"longitude_deg":75.6642176,"latitude_deg":11.9532272,"altitude":58,"angle":279,"satellites":36,"speed":15,"hex_longitude":"2d197180","hex_latitude":"071feaf0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149400576001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306340618010624,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835287247497885696,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646100000,"timestamp_ms":1789646100000,"timestamp_seconds":1789646100,"priority":1,"record_length":96,"hex_timestamp":"000001a0af385620"} 
[2026-09-17 17:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-17 17:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149400576001,"66":13135,"102":206,"83":41984,"24":15,"16":21306340618010624,"45":1835287247497885696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149400576001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:29:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306340618010624,"km_value":21306340618010.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835287247497885696,"description":"Unknown IO ID 45"} 
[2026-09-17 17:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149400576001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1835287247497885696}} 
[2026-09-17 17:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":185540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:29:41] local.INFO: GPS data processed {"connection_id":185540,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:29:41] local.INFO: Acknowledgment sent {"connection_id":185540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:29:53] local.INFO: TCP Data received {"connection_id":188184,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:29:53] local.INFO: Processing buffer {"connection_id":188184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:29:53] local.INFO: Packet analysis {"connection_id":188184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:29:53] local.INFO: Extracted packet for processing {"connection_id":188184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":188184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:29:53] local.INFO: GPS data processed {"connection_id":188184,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:29:53] local.INFO: Acknowledgment sent {"connection_id":188184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:30:12] local.INFO: TCP Data received {"connection_id":185540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3bdc78012d196780071fece0003a011426..."} 
[2026-09-17 17:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3bdc78012d196780071fece0003a011426..."} 
[2026-09-17 17:30:12] local.INFO: Processing buffer {"connection_id":185540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3bdc78012d196780071fece0003a011426..."} 
[2026-09-17 17:30:12] local.INFO: Packet analysis {"connection_id":185540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3b"} 
[2026-09-17 17:30:12] local.INFO: Extracted packet for processing {"connection_id":185540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3b"} 
[2026-09-17 17:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149455360001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646331000,"timestamp_ms":1789646331000,"timestamp_seconds":1789646331,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3bdc78"} 
[2026-09-17 17:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 17:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149455360001,"66":12917,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149455360001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:30:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149455360001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":185540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:30:12] local.INFO: GPS data processed {"connection_id":185540,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:30:12] local.INFO: Acknowledgment sent {"connection_id":185540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:30:14] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:30:14] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:30:14] local.INFO: IMEI packet received {"connection_id":188185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":188185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:30:20] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:30:20] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:30:20] local.INFO: IMEI packet received {"connection_id":188185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":188185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:30:21] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:30:21] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:30:21] local.INFO: Packet analysis {"connection_id":188185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:30:21] local.INFO: Extracted packet for processing {"connection_id":188185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":188185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:30:21] local.INFO: GPS data processed {"connection_id":188185,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:30:21] local.INFO: Acknowledgment sent {"connection_id":188185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:30:36] local.INFO: TCP Data received {"connection_id":185398,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:30:36] local.INFO: Processing buffer {"connection_id":185398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:30:36] local.INFO: IMEI packet received {"connection_id":185398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":185398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:30:40] local.INFO: TCP Data received {"connection_id":185398,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:30:40] local.INFO: Processing buffer {"connection_id":185398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:30:40] local.INFO: IMEI packet received {"connection_id":185398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":185398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:30:41] local.INFO: TCP Data received {"connection_id":185398,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3c2e80012d196780071fece0003a011427..."} 
[2026-09-17 17:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3c2e80012d196780071fece0003a011427..."} 
[2026-09-17 17:30:41] local.INFO: Processing buffer {"connection_id":185398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3c2e80012d196780071fece0003a011427..."} 
[2026-09-17 17:30:41] local.INFO: Packet analysis {"connection_id":185398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3c"} 
[2026-09-17 17:30:41] local.INFO: Extracted packet for processing {"connection_id":185398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3c"} 
[2026-09-17 17:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149460736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646352000,"timestamp_ms":1789646352000,"timestamp_seconds":1789646352,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3c2e80"} 
[2026-09-17 17:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-17 17:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149460736001,"66":12863,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149460736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:30:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149460736001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":185398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:30:41] local.INFO: GPS data processed {"connection_id":185398,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:30:41] local.INFO: Acknowledgment sent {"connection_id":185398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:30:53] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:30:53] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:30:53] local.INFO: Packet analysis {"connection_id":188185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:30:53] local.INFO: Extracted packet for processing {"connection_id":188185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":188185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:30:53] local.INFO: GPS data processed {"connection_id":188185,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:30:53] local.INFO: Acknowledgment sent {"connection_id":188185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:31:03] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:31:03] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:31:03] local.INFO: IMEI packet received {"connection_id":188187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":188187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:31:08] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:31:08] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:31:08] local.INFO: IMEI packet received {"connection_id":188187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":188187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:31:09] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3d1110012d7b0a0005e34cc8000800a528..."} 
[2026-09-17 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3d1110012d7b0a0005e34cc8000800a528..."} 
[2026-09-17 17:31:09] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3d1110012d7b0a0005e34cc8000800a528..."} 
[2026-09-17 17:31:09] local.INFO: Packet analysis {"connection_id":188187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:31:09] local.INFO: Extracted packet for processing {"connection_id":188187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98782408,"longitude_deg":76.3038208,"latitude_deg":9.8782408,"altitude":8,"angle":165,"satellites":40,"speed":24,"hex_longitude":"2d7b0a00","hex_latitude":"05e34cc8","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149479936001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134415816186658816,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864913679302586368,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:09] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-17 17:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789646410000,"timestamp_ms":1789646410000,"timestamp_seconds":1789646410,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3d1110"} 
[2026-09-17 17:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 17:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149479936001,"66":13059,"24":24,"16":134415816186658816,"45":8864913679302586368},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-17 17:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149479936001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134415816186658816,"km_value":134415816186658.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864913679302586368,"description":"Unknown IO ID 45"} 
[2026-09-17 17:31:09] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458149479936001,"power":13059,"ignition":24,"odometer":null,"unknown_45":8864913679302586368}} 
[2026-09-17 17:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":188187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:31:09] local.INFO: GPS data processed {"connection_id":188187,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:31:09] local.INFO: Acknowledgment sent {"connection_id":188187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:31:12] local.INFO: TCP Data received {"connection_id":185398,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3c8088012d196780071fece0003a01142a..."} 
[2026-09-17 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3c8088012d196780071fece0003a01142a..."} 
[2026-09-17 17:31:12] local.INFO: Processing buffer {"connection_id":185398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3c8088012d196780071fece0003a01142a..."} 
[2026-09-17 17:31:12] local.INFO: Packet analysis {"connection_id":185398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3c"} 
[2026-09-17 17:31:12] local.INFO: Extracted packet for processing {"connection_id":185398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3c"} 
[2026-09-17 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149466112001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646373000,"timestamp_ms":1789646373000,"timestamp_seconds":1789646373,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3c8088"} 
[2026-09-17 17:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 17:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149466112001,"66":12874,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149466112001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:31:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149466112001,"power":12874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":185398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:31:12] local.INFO: GPS data processed {"connection_id":185398,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:31:12] local.INFO: Acknowledgment sent {"connection_id":185398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:31:20] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:31:20] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:31:20] local.INFO: IMEI packet received {"connection_id":188188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":188188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:31:26] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:31:26] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:31:26] local.INFO: IMEI packet received {"connection_id":188188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":188188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:31:27] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:31:27] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:31:27] local.INFO: Packet analysis {"connection_id":188188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:31:27] local.INFO: Extracted packet for processing {"connection_id":188188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:31:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:31:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":188188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:31:27] local.INFO: GPS data processed {"connection_id":188188,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:31:27] local.INFO: Acknowledgment sent {"connection_id":188188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:31:35] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:31:35] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af399a58012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:31:35] local.INFO: Packet analysis {"connection_id":188188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:31:35] local.INFO: Extracted packet for processing {"connection_id":188188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af39"} 
[2026-09-17 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149345792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789646183000,"timestamp_ms":1789646183000,"timestamp_seconds":1789646183,"priority":1,"record_length":96,"hex_timestamp":"000001a0af399a58"} 
[2026-09-17 17:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149345792001,"66":25756,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149345792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149345792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":188188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:31:35] local.INFO: GPS data processed {"connection_id":188188,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:31:35] local.INFO: Acknowledgment sent {"connection_id":188188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:31:35] local.INFO: TCP Data received {"connection_id":185541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:31:35] local.INFO: Processing buffer {"connection_id":185541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:31:35] local.INFO: IMEI packet received {"connection_id":185541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":185541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:31:36] local.INFO: TCP Data received {"connection_id":185541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:31:36] local.INFO: Processing buffer {"connection_id":185541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:31:36] local.INFO: IMEI packet received {"connection_id":185541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":185541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:31:40] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3d3820012d7b0c0005e339a0000800b421..."} 
[2026-09-17 17:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3d3820012d7b0c0005e339a0000800b421..."} 
[2026-09-17 17:31:40] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3d3820012d7b0c0005e339a0000800b421..."} 
[2026-09-17 17:31:40] local.INFO: Packet analysis {"connection_id":188187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:31:40] local.INFO: Extracted packet for processing {"connection_id":188187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98777504,"longitude_deg":76.303872,"latitude_deg":9.8777504,"altitude":8,"angle":180,"satellites":33,"speed":16,"hex_longitude":"2d7b0c00","hex_latitude":"05e339a0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149480960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134416052409860096,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841720539136,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-17 17:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789646420000,"timestamp_ms":1789646420000,"timestamp_seconds":1789646420,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3d3820"} 
[2026-09-17 17:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303170847821165,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2939919864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":102,"raw_value":58079708874014744,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2925527047,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2293628928,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825649664,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,24,241,16,138,160,1,45,128,84,8,40,10,66,120,64,124,6,34,102,87,157,137,46,240,198,227,175,4,113,205,30,19,232,96,38,239,53,2,221,5,11],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-17 17:31:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576642343522271232,"timestamp_seconds":576642343522271.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149480960001,"66":13059,"24":16,"16":134416052409860096,"45":8865898841720539136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-17 17:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149480960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134416052409860096,"km_value":134416052409860.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841720539136,"description":"Unknown IO ID 45"} 
[2026-09-17 17:31:40] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458149480960001,"power":13059,"ignition":16,"odometer":null,"unknown_45":8865898841720539136}} 
[2026-09-17 17:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":188187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:31:40] local.INFO: GPS data processed {"connection_id":188187,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:31:40] local.INFO: Acknowledgment sent {"connection_id":188187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:31:40] local.INFO: TCP Data received {"connection_id":185541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:31:40] local.INFO: Processing buffer {"connection_id":185541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:31:40] local.INFO: IMEI packet received {"connection_id":185541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":185541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:31:41] local.INFO: TCP Data received {"connection_id":185541,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3cd290012d196780071fece0003a011429..."} 
[2026-09-17 17:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3cd290012d196780071fece0003a011429..."} 
[2026-09-17 17:31:41] local.INFO: Processing buffer {"connection_id":185541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3cd290012d196780071fece0003a011429..."} 
[2026-09-17 17:31:41] local.INFO: Packet analysis {"connection_id":185541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3c"} 
[2026-09-17 17:31:41] local.INFO: Extracted packet for processing {"connection_id":185541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3c"} 
[2026-09-17 17:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149471488001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646394000,"timestamp_ms":1789646394000,"timestamp_seconds":1789646394,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3cd290"} 
[2026-09-17 17:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-17 17:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149471488001,"66":12852,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149471488001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:31:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149471488001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":185541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:31:41] local.INFO: GPS data processed {"connection_id":185541,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:31:41] local.INFO: Acknowledgment sent {"connection_id":185541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:32:03] local.INFO: TCP Data received {"connection_id":186852,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:32:03] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:32:03] local.INFO: IMEI packet received {"connection_id":186852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":186852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:32:07] local.INFO: TCP Data received {"connection_id":186852,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:32:07] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:32:07] local.INFO: IMEI packet received {"connection_id":186852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":186852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:32:08] local.INFO: TCP Data received {"connection_id":186852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3d7e70012d7b0e0005e31a60000700a921..."} 
[2026-09-17 17:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3d7e70012d7b0e0005e31a60000700a921..."} 
[2026-09-17 17:32:08] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3d7e70012d7b0e0005e31a60000700a921..."} 
[2026-09-17 17:32:08] local.INFO: Packet analysis {"connection_id":186852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:32:08] local.INFO: Extracted packet for processing {"connection_id":186852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98769504,"longitude_deg":76.3039232,"latitude_deg":9.8769504,"altitude":7,"angle":169,"satellites":33,"speed":6,"hex_longitude":"2d7b0e00","hex_latitude":"05e31a60","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149483520001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134416447546851328,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791672705024,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789646438000,"timestamp_ms":1789646438000,"timestamp_seconds":1789646438,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3d7e70"} 
[2026-09-17 17:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171753790829,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2939949864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2632974344,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":102,"raw_value":58079708874014750,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2302476288,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3819855872,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,24,241,16,138,160,17,45,76,8,40,10,66,1,128,84,120,64,240,192,227,137,175,4,113,205,87,23,19,232,96,38,239,52,102,2,157,221,5,7,30],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-17 17:32:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576658806131392512,"timestamp_seconds":576658806131392.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149483520001,"66":13222,"206":206,"85":15104,"24":6,"16":134416447546851328,"45":8866461791672705024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-17 17:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149483520001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:32:08] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 17:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134416447546851328,"km_value":134416447546851.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791672705024,"description":"Unknown IO ID 45"} 
[2026-09-17 17:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149483520001,"power":13222,"unknown_206":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8866461791672705024}} 
[2026-09-17 17:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":186852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:32:08] local.INFO: GPS data processed {"connection_id":186852,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:32:08] local.INFO: Acknowledgment sent {"connection_id":186852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:32:12] local.INFO: TCP Data received {"connection_id":185541,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3d2498012d196780071fece0003a011428..."} 
[2026-09-17 17:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3d2498012d196780071fece0003a011428..."} 
[2026-09-17 17:32:12] local.INFO: Processing buffer {"connection_id":185541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3d2498012d196780071fece0003a011428..."} 
[2026-09-17 17:32:12] local.INFO: Packet analysis {"connection_id":185541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:32:12] local.INFO: Extracted packet for processing {"connection_id":185541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:32: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-09-17 17:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149476864001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646415000,"timestamp_ms":1789646415000,"timestamp_seconds":1789646415,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3d2498"} 
[2026-09-17 17:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-17 17:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:32: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-09-17 17:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149476864001,"66":12841,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149476864001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:32:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149476864001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":185541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:32:12] local.INFO: GPS data processed {"connection_id":185541,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:32:12] local.INFO: Acknowledgment sent {"connection_id":185541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:32:15] local.INFO: TCP Data received {"connection_id":188190,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:32:15] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:32:15] local.INFO: IMEI packet received {"connection_id":188190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":188190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:32:20] local.INFO: TCP Data received {"connection_id":188190,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:32:20] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:32:20] local.INFO: IMEI packet received {"connection_id":188190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":188190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:32:21] local.INFO: TCP Data received {"connection_id":188190,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:32:21] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:32:21] local.INFO: Packet analysis {"connection_id":188190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:32:21] local.INFO: Extracted packet for processing {"connection_id":188190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:32:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":188190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:32:21] local.INFO: GPS data processed {"connection_id":188190,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:32:21] local.INFO: Acknowledgment sent {"connection_id":188190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:32:35] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:32:35] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:32:35] local.INFO: IMEI packet received {"connection_id":186853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":186853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:32:38] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:32:38] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:32:38] local.INFO: IMEI packet received {"connection_id":186853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":186853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:32:39] local.INFO: TCP Data received {"connection_id":186852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3dc0d8012d7b144005e2f840000600a91d..."} 
[2026-09-17 17:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3dc0d8012d7b144005e2f840000600a91d..."} 
[2026-09-17 17:32:39] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3dc0d8012d7b144005e2f840000600a91d..."} 
[2026-09-17 17:32:39] local.INFO: Packet analysis {"connection_id":186852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:32:39] local.INFO: Extracted packet for processing {"connection_id":186852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98760768,"longitude_deg":76.3040832,"latitude_deg":9.8760768,"altitude":6,"angle":169,"satellites":29,"speed":25,"hex_longitude":"2d7b1440","hex_latitude":"05e2f840","is_valid_coordinates":true} 
[2026-09-17 17:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149488128001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134416877043580928,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741624078336,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789646455000,"timestamp_ms":1789646455000,"timestamp_seconds":1789646455,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3dc0d8"} 
[2026-09-17 17:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 17:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149488128001,"66":13048,"206":206,"85":15104,"24":25,"16":134416877043580928,"45":8867024741624078336},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-17 17:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149488128001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:32:39] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-17 17:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134416877043580928,"km_value":134416877043580.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741624078336,"description":"Unknown IO ID 45"} 
[2026-09-17 17:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149488128001,"power":13048,"unknown_206":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8867024741624078336}} 
[2026-09-17 17:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":186852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:32:39] local.INFO: GPS data processed {"connection_id":186852,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:32:39] local.INFO: Acknowledgment sent {"connection_id":186852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:32:40] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:32:40] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:32:40] local.INFO: IMEI packet received {"connection_id":186853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":186853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:32:41] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3d76a0012d196780071fece0003a01142a..."} 
[2026-09-17 17:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3d76a0012d196780071fece0003a01142a..."} 
[2026-09-17 17:32:41] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3d76a0012d196780071fece0003a01142a..."} 
[2026-09-17 17:32:41] local.INFO: Packet analysis {"connection_id":186853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:32:41] local.INFO: Extracted packet for processing {"connection_id":186853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149482240001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646436000,"timestamp_ms":1789646436000,"timestamp_seconds":1789646436,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3d76a0"} 
[2026-09-17 17:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 17:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149482240001,"66":12841,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149482240001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:32:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149482240001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":186853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:32:41] local.INFO: GPS data processed {"connection_id":186853,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:32:41] local.INFO: Acknowledgment sent {"connection_id":186853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:32:52] local.INFO: TCP Data received {"connection_id":188190,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:32:52] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:32:52] local.INFO: Packet analysis {"connection_id":188190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:32:52] local.INFO: Extracted packet for processing {"connection_id":188190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":188190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:32:52] local.INFO: GPS data processed {"connection_id":188190,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:32:52] local.INFO: Acknowledgment sent {"connection_id":188190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:33:03] local.INFO: TCP Data received {"connection_id":185399,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:03] local.INFO: Processing buffer {"connection_id":185399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:03] local.INFO: IMEI packet received {"connection_id":185399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":185399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:33:04] local.INFO: TCP Data received {"connection_id":185399,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:04] local.INFO: Processing buffer {"connection_id":185399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:04] local.INFO: IMEI packet received {"connection_id":185399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":185399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:33:04] local.INFO: TCP Data received {"connection_id":185399,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:04] local.INFO: Processing buffer {"connection_id":185399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:04] local.INFO: IMEI packet received {"connection_id":185399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":185399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:33:05] local.INFO: TCP Data received {"connection_id":188191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:33:05] local.INFO: Processing buffer {"connection_id":188191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:33:05] local.INFO: IMEI packet received {"connection_id":188191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":188191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:33:07] local.INFO: TCP Data received {"connection_id":185399,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:07] local.INFO: Processing buffer {"connection_id":185399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:33:07] local.INFO: IMEI packet received {"connection_id":185399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":185399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:33:08] local.INFO: TCP Data received {"connection_id":185399,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3fb0f0012d7b414005e1afe80000008d20..."} 
[2026-09-17 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3fb0f0012d7b414005e1afe80000008d20..."} 
[2026-09-17 17:33:08] local.INFO: Processing buffer {"connection_id":185399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3fb0f0012d7b414005e1afe80000008d20..."} 
[2026-09-17 17:33:08] local.INFO: Packet analysis {"connection_id":185399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:33:08] local.INFO: Extracted packet for processing {"connection_id":185399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763052352,"raw_latitude":98676712,"longitude_deg":76.3052352,"latitude_deg":9.8676712,"altitude":0,"angle":141,"satellites":32,"speed":10,"hex_longitude":"2d7b4140","hex_latitude":"05e1afe8","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149524224001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881028121691856896,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134421004507152384,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 17:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789646582000,"timestamp_ms":1789646582000,"timestamp_seconds":1789646582,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3fb0f0"} 
[2026-09-17 17:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-17 17:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":185399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":185399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":185399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149524224001,"66":12461,"45":8881028121691856896,"85":15104,"24":10,"16":134421004507152384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 17:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149524224001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881028121691856896,"description":"Unknown IO ID 45"} 
[2026-09-17 17:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134421004507152384,"km_value":134421004507152.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:33:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458149524224001,"power":12461,"unknown_45":8881028121691856896,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-09-17 17:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":185399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:33:08] local.INFO: GPS data processed {"connection_id":185399,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:33:08] local.INFO: Acknowledgment sent {"connection_id":185399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:33:12] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3dc8a8012d196780071fece0003a011428..."} 
[2026-09-17 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3dc8a8012d196780071fece0003a011428..."} 
[2026-09-17 17:33:12] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3dc8a8012d196780071fece0003a011428..."} 
[2026-09-17 17:33:12] local.INFO: Packet analysis {"connection_id":186853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:33:12] local.INFO: Extracted packet for processing {"connection_id":186853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3d"} 
[2026-09-17 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149487616001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646457000,"timestamp_ms":1789646457000,"timestamp_seconds":1789646457,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3dc8a8"} 
[2026-09-17 17:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 17:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149487616001,"66":12798,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149487616001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:33:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149487616001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":186853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:33:12] local.INFO: GPS data processed {"connection_id":186853,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:33:12] local.INFO: Acknowledgment sent {"connection_id":186853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:33:14] local.INFO: TCP Data received {"connection_id":188192,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:33:14] local.INFO: Processing buffer {"connection_id":188192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:33:14] local.INFO: IMEI packet received {"connection_id":188192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":188192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:33:20] local.INFO: TCP Data received {"connection_id":188192,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:33:20] local.INFO: Processing buffer {"connection_id":188192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:33:20] local.INFO: IMEI packet received {"connection_id":188192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":188192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:33:21] local.INFO: TCP Data received {"connection_id":188192,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:33:21] local.INFO: Processing buffer {"connection_id":188192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:33:21] local.INFO: Packet analysis {"connection_id":188192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:33:21] local.INFO: Extracted packet for processing {"connection_id":188192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:33:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:33:21] 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-09-17 17:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:33:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":188192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:33:21] local.INFO: GPS data processed {"connection_id":188192,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:33:21] local.INFO: Acknowledgment sent {"connection_id":188192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:33:39] local.INFO: TCP Data received {"connection_id":185399,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3fb4d8012d7b420005e1af480000008121..."} 
[2026-09-17 17:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3fb4d8012d7b420005e1af480000008121..."} 
[2026-09-17 17:33:39] local.INFO: Processing buffer {"connection_id":185399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3fb4d8012d7b420005e1af480000008121..."} 
[2026-09-17 17:33:39] local.INFO: Packet analysis {"connection_id":185399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:33:39] local.INFO: Extracted packet for processing {"connection_id":185399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763052544,"raw_latitude":98676552,"longitude_deg":76.3052544,"latitude_deg":9.8676552,"altitude":0,"angle":129,"satellites":33,"speed":11,"hex_longitude":"2d7b4200","hex_latitude":"05e1af48","is_valid_coordinates":true} 
[2026-09-17 17:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149524992001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881450334156744704,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134421013097086976,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 17:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789646583000,"timestamp_ms":1789646583000,"timestamp_seconds":1789646583,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3fb4d8"} 
[2026-09-17 17:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 17:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149524992001,"66":12461,"45":8881450334156744704,"85":15104,"24":11,"16":134421013097086976},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 17:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149524992001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881450334156744704,"description":"Unknown IO ID 45"} 
[2026-09-17 17:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134421013097086976,"km_value":134421013097086.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:33:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458149524992001,"power":12461,"unknown_45":8881450334156744704,"unknown_85":15104,"ignition":11,"odometer":null}} 
[2026-09-17 17:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":185399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:33:39] local.INFO: GPS data processed {"connection_id":185399,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:33:39] local.INFO: Acknowledgment sent {"connection_id":185399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:33:40] local.INFO: TCP Data received {"connection_id":186854,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:33:40] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:33:40] local.INFO: IMEI packet received {"connection_id":186854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":186854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:33:41] local.INFO: TCP Data received {"connection_id":186854,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:33:41] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:33:41] local.INFO: IMEI packet received {"connection_id":186854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":186854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:33:42] local.INFO: TCP Data received {"connection_id":186854,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e1ab0012d196780071fece0003a01142a..."} 
[2026-09-17 17:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e1ab0012d196780071fece0003a01142a..."} 
[2026-09-17 17:33:42] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e1ab0012d196780071fece0003a01142a..."} 
[2026-09-17 17:33:42] local.INFO: Packet analysis {"connection_id":186854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:33:42] local.INFO: Extracted packet for processing {"connection_id":186854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149492992001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789646478000,"timestamp_ms":1789646478000,"timestamp_seconds":1789646478,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e1ab0"} 
[2026-09-17 17:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 17:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149492992001,"66":12798,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149492992001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:33:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149492992001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":186854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:33:42] local.INFO: GPS data processed {"connection_id":186854,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:33:42] local.INFO: Acknowledgment sent {"connection_id":186854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:33:52] local.INFO: TCP Data received {"connection_id":188192,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:33:52] local.INFO: Processing buffer {"connection_id":188192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:33:52] local.INFO: Packet analysis {"connection_id":188192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:33:52] local.INFO: Extracted packet for processing {"connection_id":188192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:33:52] 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-09-17 17:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":188192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:33:52] local.INFO: GPS data processed {"connection_id":188192,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:33:52] local.INFO: Acknowledgment sent {"connection_id":188192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:34:00] local.INFO: TCP Data received {"connection_id":185542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:34:00] local.INFO: Processing buffer {"connection_id":185542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:34:00] local.INFO: IMEI packet received {"connection_id":185542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":185542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:34:03] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:34:03] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:34:03] local.INFO: IMEI packet received {"connection_id":188193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":188193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:34:04] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:34:04] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:34:04] local.INFO: IMEI packet received {"connection_id":188193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":188193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:34:08] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:34:08] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:34:08] local.INFO: IMEI packet received {"connection_id":188193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":188193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:34:09] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3fbca8012d7b43c005e1ae600000007023..."} 
[2026-09-17 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3fbca8012d7b43c005e1ae600000007023..."} 
[2026-09-17 17:34:09] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3fbca8012d7b43c005e1ae600000007023..."} 
[2026-09-17 17:34:09] local.INFO: Packet analysis {"connection_id":188193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:34:09] local.INFO: Extracted packet for processing {"connection_id":188193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98676320,"longitude_deg":76.3052992,"latitude_deg":9.867632,"altitude":0,"angle":112,"satellites":35,"speed":10,"hex_longitude":"2d7b43c0","hex_latitude":"05e1ae60","is_valid_coordinates":true} 
[2026-09-17 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149525248001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881661440389236736,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134421038866890752,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789646585000,"timestamp_ms":1789646585000,"timestamp_seconds":1789646585,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3fbca8"} 
[2026-09-17 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 17:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149525248001,"66":12841,"45":8881661440389236736,"85":15104,"24":10,"16":134421038866890752},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149525248001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881661440389236736,"description":"Unknown IO ID 45"} 
[2026-09-17 17:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134421038866890752,"km_value":134421038866890.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458149525248001,"power":12841,"unknown_45":8881661440389236736,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-09-17 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":188193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:34:09] local.INFO: GPS data processed {"connection_id":188193,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:34:09] local.INFO: Acknowledgment sent {"connection_id":188193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:34:13] local.INFO: TCP Data received {"connection_id":186854,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e6cb8012d196780071fece0003a011429..."} 
[2026-09-17 17:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e6cb8012d196780071fece0003a011429..."} 
[2026-09-17 17:34:13] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e6cb8012d196780071fece0003a011429..."} 
[2026-09-17 17:34:13] local.INFO: Packet analysis {"connection_id":186854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:34:13] local.INFO: Extracted packet for processing {"connection_id":186854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149498368001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789646499000,"timestamp_ms":1789646499000,"timestamp_seconds":1789646499,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e6cb8"} 
[2026-09-17 17:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-17 17:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149498368001,"66":12776,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149498368001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:34:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149498368001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":186854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:34:13] local.INFO: GPS data processed {"connection_id":186854,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:34:13] local.INFO: Acknowledgment sent {"connection_id":186854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:34:14] local.INFO: TCP Data received {"connection_id":185543,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:34:14] local.INFO: Processing buffer {"connection_id":185543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:34:14] local.INFO: IMEI packet received {"connection_id":185543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":185543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:34:20] local.INFO: TCP Data received {"connection_id":185543,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:34:20] local.INFO: Processing buffer {"connection_id":185543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:34:20] local.INFO: IMEI packet received {"connection_id":185543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":185543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:34:21] local.INFO: TCP Data received {"connection_id":185543,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:34:21] local.INFO: Processing buffer {"connection_id":185543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:34:21] local.INFO: Packet analysis {"connection_id":185543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:34:21] local.INFO: Extracted packet for processing {"connection_id":185543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":185543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:34:21] local.INFO: GPS data processed {"connection_id":185543,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:34:21] local.INFO: Acknowledgment sent {"connection_id":185543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:34:35] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:34:35] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:34:35] local.INFO: IMEI packet received {"connection_id":188195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":188195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:34:40] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:34:40] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:34:40] local.INFO: IMEI packet received {"connection_id":188195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":188195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:34:40] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3fc090012d7b448005e1ae400000006324..."} 
[2026-09-17 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3fc090012d7b448005e1ae400000006324..."} 
[2026-09-17 17:34:40] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3fc090012d7b448005e1ae400000006324..."} 
[2026-09-17 17:34:40] local.INFO: Packet analysis {"connection_id":188193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:34:40] local.INFO: Extracted packet for processing {"connection_id":188193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763053184,"raw_latitude":98676288,"longitude_deg":76.3053184,"latitude_deg":9.8676288,"altitude":0,"angle":99,"satellites":36,"speed":8,"hex_longitude":"2d7b4480","hex_latitude":"05e1ae40","is_valid_coordinates":true} 
[2026-09-17 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149525760001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882154021598420992,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134421047456825344,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789646586000,"timestamp_ms":1789646586000,"timestamp_seconds":1789646586,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3fc090"} 
[2026-09-17 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149525760001,"66":12841,"45":8882154021598420992,"85":15104,"24":8,"16":134421047456825344},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149525760001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882154021598420992,"description":"Unknown IO ID 45"} 
[2026-09-17 17:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134421047456825344,"km_value":134421047456825.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458149525760001,"power":12841,"unknown_45":8882154021598420992,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-09-17 17:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":188193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:34:40] local.INFO: GPS data processed {"connection_id":188193,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:34:40] local.INFO: Acknowledgment sent {"connection_id":188193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:34:41] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3ebec0012d196780071fece0003a01142b..."} 
[2026-09-17 17:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3ebec0012d196780071fece0003a01142b..."} 
[2026-09-17 17:34:41] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3ebec0012d196780071fece0003a01142b..."} 
[2026-09-17 17:34:41] local.INFO: Packet analysis {"connection_id":188195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:34:41] local.INFO: Extracted packet for processing {"connection_id":188195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149503744001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646520000,"timestamp_ms":1789646520000,"timestamp_seconds":1789646520,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3ebec0"} 
[2026-09-17 17:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-17 17:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149503744001,"66":12743,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149503744001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:34:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149503744001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":188195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:34:41] local.INFO: GPS data processed {"connection_id":188195,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:34:41] local.INFO: Acknowledgment sent {"connection_id":188195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:34:54] local.INFO: TCP Data received {"connection_id":185543,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:34:54] local.INFO: Processing buffer {"connection_id":185543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:34:54] local.INFO: Packet analysis {"connection_id":185543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:34:54] local.INFO: Extracted packet for processing {"connection_id":185543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":185543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:34:54] local.INFO: GPS data processed {"connection_id":185543,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:34:54] local.INFO: Acknowledgment sent {"connection_id":185543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:35:03] local.INFO: TCP Data received {"connection_id":186855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:35:03] local.INFO: Processing buffer {"connection_id":186855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:35:03] local.INFO: IMEI packet received {"connection_id":186855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":186855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:35:08] local.INFO: TCP Data received {"connection_id":186855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:35:08] local.INFO: Processing buffer {"connection_id":186855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:35:08] local.INFO: IMEI packet received {"connection_id":186855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":186855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:35:09] local.INFO: TCP Data received {"connection_id":186855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4133a8012d7bcc4005e1d8e8000b00302b..."} 
[2026-09-17 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4133a8012d7bcc4005e1d8e8000b00302b..."} 
[2026-09-17 17:35:09] local.INFO: Processing buffer {"connection_id":186855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4133a8012d7bcc4005e1d8e8000b00302b..."} 
[2026-09-17 17:35:09] local.INFO: Packet analysis {"connection_id":186855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af41"} 
[2026-09-17 17:35:09] local.INFO: Extracted packet for processing {"connection_id":186855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af41"} 
[2026-09-17 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763087936,"raw_latitude":98687208,"longitude_deg":76.3087936,"latitude_deg":9.8687208,"altitude":11,"angle":48,"satellites":43,"speed":9,"hex_longitude":"2d7bcc40","hex_latitude":"05e1d8e8","is_valid_coordinates":true} 
[2026-09-17 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149546496001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912975531549548544,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134422847048122368,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 17:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789646681000,"timestamp_ms":1789646681000,"timestamp_seconds":1789646681,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4133a8"} 
[2026-09-17 17:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-17 17:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149546496001,"66":12863,"45":8912975531549548544,"85":15104,"24":9,"16":134422847048122368},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 17:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149546496001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912975531549548544,"description":"Unknown IO ID 45"} 
[2026-09-17 17:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134422847048122368,"km_value":134422847048122.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:35:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458149546496001,"power":12863,"unknown_45":8912975531549548544,"unknown_85":15104,"ignition":9,"odometer":null}} 
[2026-09-17 17:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":186855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:35:09] local.INFO: GPS data processed {"connection_id":186855,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:35:09] local.INFO: Acknowledgment sent {"connection_id":186855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:35:12] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3f10c8012d196780071fece0003a011428..."} 
[2026-09-17 17:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3f10c8012d196780071fece0003a011428..."} 
[2026-09-17 17:35:12] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3f10c8012d196780071fece0003a011428..."} 
[2026-09-17 17:35:12] local.INFO: Packet analysis {"connection_id":188195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:35:12] local.INFO: Extracted packet for processing {"connection_id":188195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149509120001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646541000,"timestamp_ms":1789646541000,"timestamp_seconds":1789646541,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3f10c8"} 
[2026-09-17 17:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-17 17:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149509120001,"66":12776,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149509120001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:35:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149509120001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":188195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:35:12] local.INFO: GPS data processed {"connection_id":188195,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:35:12] local.INFO: Acknowledgment sent {"connection_id":188195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:35:14] local.INFO: TCP Data received {"connection_id":185544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:35:14] local.INFO: Processing buffer {"connection_id":185544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:35:14] local.INFO: IMEI packet received {"connection_id":185544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":185544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:35:20] local.INFO: TCP Data received {"connection_id":185544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:35:20] local.INFO: Processing buffer {"connection_id":185544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:35:20] local.INFO: IMEI packet received {"connection_id":185544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":185544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:35:21] local.INFO: TCP Data received {"connection_id":185544,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:35:21] local.INFO: Processing buffer {"connection_id":185544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:35:21] local.INFO: Packet analysis {"connection_id":185544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:35:21] local.INFO: Extracted packet for processing {"connection_id":185544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:35:21] 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-09-17 17:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:35:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":185544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:35:21] local.INFO: GPS data processed {"connection_id":185544,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:35:21] local.INFO: Acknowledgment sent {"connection_id":185544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:35:35] local.INFO: TCP Data received {"connection_id":185545,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:35:35] local.INFO: Processing buffer {"connection_id":185545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:35:35] local.INFO: IMEI packet received {"connection_id":185545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":185545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:35:40] local.INFO: TCP Data received {"connection_id":186855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af414730012d7bd10005e1dbc8000a00442a..."} 
[2026-09-17 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af414730012d7bd10005e1dbc8000a00442a..."} 
[2026-09-17 17:35:40] local.INFO: Processing buffer {"connection_id":186855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af414730012d7bd10005e1dbc8000a00442a..."} 
[2026-09-17 17:35:40] local.INFO: Packet analysis {"connection_id":186855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af41"} 
[2026-09-17 17:35:40] local.INFO: Extracted packet for processing {"connection_id":186855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af41"} 
[2026-09-17 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763089152,"raw_latitude":98687944,"longitude_deg":76.3089152,"latitude_deg":9.8687944,"altitude":10,"angle":68,"satellites":42,"speed":16,"hex_longitude":"2d7bd100","hex_latitude":"05e1dbc8","is_valid_coordinates":true} 
[2026-09-17 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149550336001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920575355922212864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134422915767599104,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 17:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789646686000,"timestamp_ms":1789646686000,"timestamp_seconds":1789646686,"priority":1,"record_length":96,"hex_timestamp":"000001a0af414730"} 
[2026-09-17 17:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-17 17:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149550336001,"66":12798,"45":8920575355922212864,"85":15104,"24":16,"16":134422915767599104},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 17:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149550336001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920575355922212864,"description":"Unknown IO ID 45"} 
[2026-09-17 17:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134422915767599104,"km_value":134422915767599.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:35:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458149550336001,"power":12798,"unknown_45":8920575355922212864,"unknown_85":15104,"ignition":16,"odometer":null}} 
[2026-09-17 17:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":186855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:35:40] local.INFO: GPS data processed {"connection_id":186855,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:35:40] local.INFO: Acknowledgment sent {"connection_id":186855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:35:40] local.INFO: TCP Data received {"connection_id":185545,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:35:40] local.INFO: Processing buffer {"connection_id":185545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:35:40] local.INFO: IMEI packet received {"connection_id":185545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":185545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:35:41] local.INFO: TCP Data received {"connection_id":185545,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3f62d0012d196780071fece0003a01142c..."} 
[2026-09-17 17:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3f62d0012d196780071fece0003a01142c..."} 
[2026-09-17 17:35:41] local.INFO: Processing buffer {"connection_id":185545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3f62d0012d196780071fece0003a01142c..."} 
[2026-09-17 17:35:41] local.INFO: Packet analysis {"connection_id":185545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:35:41] local.INFO: Extracted packet for processing {"connection_id":185545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149514496001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646562000,"timestamp_ms":1789646562000,"timestamp_seconds":1789646562,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3f62d0"} 
[2026-09-17 17:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-17 17:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149514496001,"66":12558,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149514496001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:35:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149514496001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":185545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:35:41] local.INFO: GPS data processed {"connection_id":185545,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:35:41] local.INFO: Acknowledgment sent {"connection_id":185545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:35:52] local.INFO: TCP Data received {"connection_id":185544,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:35:52] local.INFO: Processing buffer {"connection_id":185544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:35:52] local.INFO: Packet analysis {"connection_id":185544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:35:52] local.INFO: Extracted packet for processing {"connection_id":185544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:35:52] 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-09-17 17:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":185544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:35:52] local.INFO: GPS data processed {"connection_id":185544,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:35:52] local.INFO: Acknowledgment sent {"connection_id":185544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:36:06] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:36:06] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:36:06] local.INFO: IMEI packet received {"connection_id":185401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":185401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:36:08] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:36:08] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:36:08] local.INFO: IMEI packet received {"connection_id":185401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":185401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:36:09] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:36:09] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:36:09] local.INFO: IMEI packet received {"connection_id":185401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":185401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:36:10] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4229c0012d7c410005e1ee08000a002729..."} 
[2026-09-17 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4229c0012d7c410005e1ee08000a002729..."} 
[2026-09-17 17:36:10] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4229c0012d7c410005e1ee08000a002729..."} 
[2026-09-17 17:36:10] local.INFO: Packet analysis {"connection_id":185401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:36:10] local.INFO: Extracted packet for processing {"connection_id":185401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763117824,"raw_latitude":98692616,"longitude_deg":76.3117824,"latitude_deg":9.8692616,"altitude":10,"angle":39,"satellites":41,"speed":24,"hex_longitude":"2d7c4100","hex_latitude":"05e1ee08","is_valid_coordinates":true} 
[2026-09-17 17:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149565440001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815826257920,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134424406121250816,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-17 17:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789646744000,"timestamp_ms":1789646744000,"timestamp_seconds":1789646744,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4229c0"} 
[2026-09-17 17:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 17:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149565440001,"66":13059,"45":8951959815826257920,"85":15104,"24":24,"16":134424406121250816},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-17 17:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149565440001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815826257920,"description":"Unknown IO ID 45"} 
[2026-09-17 17:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134424406121250816,"km_value":134424406121250.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:36:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458149565440001,"power":13059,"unknown_45":8951959815826257920,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-09-17 17:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":185401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:36:10] local.INFO: GPS data processed {"connection_id":185401,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:36:10] local.INFO: Acknowledgment sent {"connection_id":185401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:36:12] local.INFO: TCP Data received {"connection_id":185545,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3fb4d8012d196780071fece0003a01142b..."} 
[2026-09-17 17:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3fb4d8012d196780071fece0003a01142b..."} 
[2026-09-17 17:36:12] local.INFO: Processing buffer {"connection_id":185545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3fb4d8012d196780071fece0003a01142b..."} 
[2026-09-17 17:36:12] local.INFO: Packet analysis {"connection_id":185545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:36:12] local.INFO: Extracted packet for processing {"connection_id":185545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3f"} 
[2026-09-17 17:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149519872001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646583000,"timestamp_ms":1789646583000,"timestamp_seconds":1789646583,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3fb4d8"} 
[2026-09-17 17:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2940040864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742405697531104,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3974103098,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-17 17:36:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2818649369,"corrected_to":0} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465464,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2988244992,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":67,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:12] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,178,160,45,128,236,58,40,10,66,190,43,108,1,240,232,227,175,31,4,113,205,200,103,224,239,49,2,75,7,120,67,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":2818649369,"validated":0}]} 
[2026-09-17 17:36:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179644108387647488,"timestamp_seconds":4179644108387647.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149519872001,"66":12689,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149519872001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:36:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149519872001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":185545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:36:12] local.INFO: GPS data processed {"connection_id":185545,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:36:12] local.INFO: Acknowledgment sent {"connection_id":185545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:36:14] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af423578012d7c45c005e1f298000a003328..."} 
[2026-09-17 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af423578012d7c45c005e1f298000a003328..."} 
[2026-09-17 17:36:14] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af423578012d7c45c005e1f298000a003328..."} 
[2026-09-17 17:36:14] local.INFO: Packet analysis {"connection_id":185401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:36:14] local.INFO: Extracted packet for processing {"connection_id":185401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763119040,"raw_latitude":98693784,"longitude_deg":76.311904,"latitude_deg":9.8693784,"altitude":10,"angle":51,"satellites":40,"speed":20,"hex_longitude":"2d7c45c0","hex_latitude":"05e1f298","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149566464001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134424487725629440,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953437559454566400,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789646747000,"timestamp_ms":1789646747000,"timestamp_seconds":1789646747,"priority":1,"record_length":96,"hex_timestamp":"000001a0af423578"} 
[2026-09-17 17:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161905565006,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399451,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2940331864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3729260552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2450194432,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789475840,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,45,85,24,241,157,16,146,160,26,192,229,9,42,10,66,18,64,225,44,14,1,240,182,227,175,4,113,205,20,6,52,168,43,239,51,2,221,5,27],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-09-17 17:36:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720618997427994624,"timestamp_seconds":720618997427994.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149566464001,"66":12885,"43":206,"85":15104,"24":20,"16":134424487725629440,"45":8953437559454566400},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 17:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149566464001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:36:14] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 17:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134424487725629440,"km_value":134424487725629.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953437559454566400,"description":"Unknown IO ID 45"} 
[2026-09-17 17:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149566464001,"power":12885,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8953437559454566400}} 
[2026-09-17 17:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":185401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:36:14] local.INFO: GPS data processed {"connection_id":185401,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:36:14] local.INFO: Acknowledgment sent {"connection_id":185401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:36:20] local.INFO: TCP Data received {"connection_id":185546,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:36:20] local.INFO: Processing buffer {"connection_id":185546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:36:20] local.INFO: IMEI packet received {"connection_id":185546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":185546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:36:25] local.INFO: TCP Data received {"connection_id":185546,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:36:25] local.INFO: Processing buffer {"connection_id":185546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:36:25] local.INFO: IMEI packet received {"connection_id":185546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":185546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:36:26] local.INFO: TCP Data received {"connection_id":185546,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:36:26] local.INFO: Processing buffer {"connection_id":185546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:36:26] local.INFO: Packet analysis {"connection_id":185546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:36:26] local.INFO: Extracted packet for processing {"connection_id":185546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:36:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:36:26] 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-09-17 17:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:36:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":185546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:36:26] local.INFO: GPS data processed {"connection_id":185546,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:36:26] local.INFO: Acknowledgment sent {"connection_id":185546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:36:30] local.INFO: TCP Data received {"connection_id":185546,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:36:30] local.INFO: Processing buffer {"connection_id":185546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af3e3220012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:36:30] local.INFO: Packet analysis {"connection_id":185546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:36:30] local.INFO: Extracted packet for processing {"connection_id":185546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af3e"} 
[2026-09-17 17:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149422848001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789646484000,"timestamp_ms":1789646484000,"timestamp_seconds":1789646484,"priority":1,"record_length":96,"hex_timestamp":"000001a0af3e3220"} 
[2026-09-17 17:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-17 17:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:36:30] 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-09-17 17:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149422848001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149422848001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:36:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149422848001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":185546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:36:30] local.INFO: GPS data processed {"connection_id":185546,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:36:30] local.INFO: Acknowledgment sent {"connection_id":185546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:36:36] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:36:36] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:36:36] local.INFO: IMEI packet received {"connection_id":188197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":188197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:36:40] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:36:40] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:36:40] local.INFO: IMEI packet received {"connection_id":188197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":188197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:36:41] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4006e0012d196780071fece0003a01142c..."} 
[2026-09-17 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4006e0012d196780071fece0003a01142c..."} 
[2026-09-17 17:36:41] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4006e0012d196780071fece0003a01142c..."} 
[2026-09-17 17:36:41] local.INFO: Packet analysis {"connection_id":188197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af40"} 
[2026-09-17 17:36:41] local.INFO: Extracted packet for processing {"connection_id":188197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af40"} 
[2026-09-17 17:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149525248001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646604000,"timestamp_ms":1789646604000,"timestamp_seconds":1789646604,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4006e0"} 
[2026-09-17 17:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-17 17:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:36: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-09-17 17:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149525248001,"66":12711,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149525248001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:36:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149525248001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":188197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:36:41] local.INFO: GPS data processed {"connection_id":188197,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:36:41] local.INFO: Acknowledgment sent {"connection_id":188197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:36:45] local.INFO: TCP Data received {"connection_id":185401,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4277e0012d7c518005e1fb580009002529..."} 
[2026-09-17 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4277e0012d7c518005e1fb580009002529..."} 
[2026-09-17 17:36:45] local.INFO: Processing buffer {"connection_id":185401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4277e0012d7c518005e1fb580009002529..."} 
[2026-09-17 17:36:45] local.INFO: Packet analysis {"connection_id":185401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:36:45] local.INFO: Extracted packet for processing {"connection_id":185401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":763122048,"raw_latitude":98696024,"longitude_deg":76.3122048,"latitude_deg":9.8696024,"altitude":9,"angle":37,"satellites":41,"speed":17,"hex_longitude":"2d7c5180","hex_latitude":"05e1fb58","is_valid_coordinates":true} 
[2026-09-17 17:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149567232001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134424672409223168,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954774565594241024,"note":"Value kept but may cause issues"} 
[2026-09-17 17:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789646764000,"timestamp_ms":1789646764000,"timestamp_seconds":1789646764,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4277e0"} 
[2026-09-17 17:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 17:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149567232001,"66":13124,"43":206,"85":15104,"24":17,"16":134424672409223168,"45":8954774565594241024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 17:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149567232001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:36:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 17:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134424672409223168,"km_value":134424672409223.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954774565594241024,"description":"Unknown IO ID 45"} 
[2026-09-17 17:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149567232001,"power":13124,"unknown_43":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8954774565594241024}} 
[2026-09-17 17:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":185401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:36:45] local.INFO: GPS data processed {"connection_id":185401,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:36:45] local.INFO: Acknowledgment sent {"connection_id":185401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:37:03] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:03] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:03] local.INFO: IMEI packet received {"connection_id":188199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":188199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:37:03] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:03] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:03] local.INFO: IMEI packet received {"connection_id":188199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":188199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:37:03] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:03] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:03] local.INFO: IMEI packet received {"connection_id":188199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":188199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:37:07] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:07] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:37:07] local.INFO: IMEI packet received {"connection_id":188199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":188199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:37:08] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af428780012d7c568005e203300009001a2b..."} 
[2026-09-17 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af428780012d7c568005e203300009001a2b..."} 
[2026-09-17 17:37:08] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af428780012d7c568005e203300009001a2b..."} 
[2026-09-17 17:37:08] local.INFO: Packet analysis {"connection_id":188199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:37:08] local.INFO: Extracted packet for processing {"connection_id":188199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763123328,"raw_latitude":98698032,"longitude_deg":76.3123328,"latitude_deg":9.8698032,"altitude":9,"angle":26,"satellites":43,"speed":27,"hex_longitude":"2d7c5680","hex_latitude":"05e20330","is_valid_coordinates":true} 
[2026-09-17 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149571584001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134424788373340160,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958081896571164672,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789646768000,"timestamp_ms":1789646768000,"timestamp_seconds":1789646768,"priority":1,"record_length":96,"hex_timestamp":"000001a0af428780"} 
[2026-09-17 17:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-17 17:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149571584001,"66":12743,"43":206,"85":15104,"24":27,"16":134424788373340160,"45":8958081896571164672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 17:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149571584001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:37:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 17:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134424788373340160,"km_value":134424788373340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958081896571164672,"description":"Unknown IO ID 45"} 
[2026-09-17 17:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149571584001,"power":12743,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8958081896571164672}} 
[2026-09-17 17:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":188199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:37:08] local.INFO: GPS data processed {"connection_id":188199,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:37:08] local.INFO: Acknowledgment sent {"connection_id":188199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:37:12] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4058e8012d196780071fece0003a011429..."} 
[2026-09-17 17:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4058e8012d196780071fece0003a011429..."} 
[2026-09-17 17:37:12] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4058e8012d196780071fece0003a011429..."} 
[2026-09-17 17:37:12] local.INFO: Packet analysis {"connection_id":188197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af40"} 
[2026-09-17 17:37:12] local.INFO: Extracted packet for processing {"connection_id":188197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af40"} 
[2026-09-17 17:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149530624001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646625000,"timestamp_ms":1789646625000,"timestamp_seconds":1789646625,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4058e8"} 
[2026-09-17 17:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-17 17:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149530624001,"66":12711,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149530624001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:37:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149530624001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":188197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:37:12] local.INFO: GPS data processed {"connection_id":188197,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:37:12] local.INFO: Acknowledgment sent {"connection_id":188197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:37:14] local.INFO: TCP Data received {"connection_id":186856,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:37:14] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:37:14] local.INFO: IMEI packet received {"connection_id":186856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":186856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:37:20] local.INFO: TCP Data received {"connection_id":186856,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:37:20] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:37:20] local.INFO: IMEI packet received {"connection_id":186856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":186856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:37:20] local.INFO: TCP Data received {"connection_id":186856,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:37:20] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:37:20] local.INFO: Packet analysis {"connection_id":186856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:37:20] local.INFO: Extracted packet for processing {"connection_id":186856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149499904001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789646785000,"timestamp_ms":1789646785000,"timestamp_seconds":1789646785,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42c9e8"} 
[2026-09-17 17:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 17:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:37:20] 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-09-17 17:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149499904001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149499904001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149499904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":186856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:37:20] local.INFO: GPS data processed {"connection_id":186856,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:37:20] local.INFO: Acknowledgment sent {"connection_id":186856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:37:36] local.INFO: TCP Data received {"connection_id":185402,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:37:36] local.INFO: Processing buffer {"connection_id":185402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:37:36] local.INFO: IMEI packet received {"connection_id":185402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":185402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:37:39] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af437d98012d7cf54005e20de0000900572c..."} 
[2026-09-17 17:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af437d98012d7cf54005e20de0000900572c..."} 
[2026-09-17 17:37:39] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af437d98012d7cf54005e20de0000900572c..."} 
[2026-09-17 17:37:39] local.INFO: Packet analysis {"connection_id":188199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:37:39] local.INFO: Extracted packet for processing {"connection_id":188199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763163968,"raw_latitude":98700768,"longitude_deg":76.3163968,"latitude_deg":9.8700768,"altitude":9,"angle":87,"satellites":44,"speed":28,"hex_longitude":"2d7cf540","hex_latitude":"05e20de0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149587456001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134426858547576832,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999880930613682176,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789646831000,"timestamp_ms":1789646831000,"timestamp_seconds":1789646831,"priority":1,"record_length":96,"hex_timestamp":"000001a0af437d98"} 
[2026-09-17 17:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 17:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149587456001,"66":13048,"43":206,"85":15104,"24":28,"16":134426858547576832,"45":8999880930613682176},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 17:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149587456001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:37:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 17:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134426858547576832,"km_value":134426858547576.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999880930613682176,"description":"Unknown IO ID 45"} 
[2026-09-17 17:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149587456001,"power":13048,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8999880930613682176}} 
[2026-09-17 17:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":188199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:37:39] local.INFO: GPS data processed {"connection_id":188199,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:37:39] local.INFO: Acknowledgment sent {"connection_id":188199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:37:40] local.INFO: TCP Data received {"connection_id":185402,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:37:40] local.INFO: Processing buffer {"connection_id":185402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:37:40] local.INFO: IMEI packet received {"connection_id":185402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":185402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:37:41] local.INFO: TCP Data received {"connection_id":185402,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af40aaf0012d196780071fece0003a01142a..."} 
[2026-09-17 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af40aaf0012d196780071fece0003a01142a..."} 
[2026-09-17 17:37:41] local.INFO: Processing buffer {"connection_id":185402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af40aaf0012d196780071fece0003a01142a..."} 
[2026-09-17 17:37:41] local.INFO: Packet analysis {"connection_id":185402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af40"} 
[2026-09-17 17:37:41] local.INFO: Extracted packet for processing {"connection_id":185402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af40"} 
[2026-09-17 17:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149536000001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646646000,"timestamp_ms":1789646646000,"timestamp_seconds":1789646646,"priority":1,"record_length":96,"hex_timestamp":"000001a0af40aaf0"} 
[2026-09-17 17:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-17 17:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149536000001,"66":12667,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149536000001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:37:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149536000001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":185402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:37:41] local.INFO: GPS data processed {"connection_id":185402,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:37:41] local.INFO: Acknowledgment sent {"connection_id":185402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:37:52] local.INFO: TCP Data received {"connection_id":186856,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:37:52] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:37:52] local.INFO: Packet analysis {"connection_id":186856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:37:52] local.INFO: Extracted packet for processing {"connection_id":186856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149499904001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789646785000,"timestamp_ms":1789646785000,"timestamp_seconds":1789646785,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42c9e8"} 
[2026-09-17 17:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 17:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:37:52] 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-09-17 17:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149499904001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149499904001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149499904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":186856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:37:52] local.INFO: GPS data processed {"connection_id":186856,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:37:52] local.INFO: Acknowledgment sent {"connection_id":186856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:38:03] local.INFO: TCP Data received {"connection_id":185404,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:38:03] local.INFO: Processing buffer {"connection_id":185404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:38:03] local.INFO: IMEI packet received {"connection_id":185404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":185404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:38:08] local.INFO: TCP Data received {"connection_id":185404,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:38:08] local.INFO: Processing buffer {"connection_id":185404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:38:08] local.INFO: IMEI packet received {"connection_id":185404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":185404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:38:09] local.INFO: TCP Data received {"connection_id":185404,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af438950012d7cfcc005e20da8000900632c..."} 
[2026-09-17 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af438950012d7cfcc005e20da8000900632c..."} 
[2026-09-17 17:38:09] local.INFO: Processing buffer {"connection_id":185404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af438950012d7cfcc005e20da8000900632c..."} 
[2026-09-17 17:38:09] local.INFO: Packet analysis {"connection_id":185404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:38:09] local.INFO: Extracted packet for processing {"connection_id":185404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763165888,"raw_latitude":98700712,"longitude_deg":76.3165888,"latitude_deg":9.8700712,"altitude":9,"angle":99,"satellites":44,"speed":20,"hex_longitude":"2d7cfcc0","hex_latitude":"05e20da8","is_valid_coordinates":true} 
[2026-09-17 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149588736001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134426948741890048,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004173424008749056,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789646834000,"timestamp_ms":1789646834000,"timestamp_seconds":1789646834,"priority":1,"record_length":96,"hex_timestamp":"000001a0af438950"} 
[2026-09-17 17:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 17:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149588736001,"66":12743,"43":206,"85":15104,"24":20,"16":134426948741890048,"45":9004173424008749056},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 17:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149588736001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:38:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 17:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134426948741890048,"km_value":134426948741890.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004173424008749056,"description":"Unknown IO ID 45"} 
[2026-09-17 17:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149588736001,"power":12743,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9004173424008749056}} 
[2026-09-17 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":185404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:38:09] local.INFO: GPS data processed {"connection_id":185404,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:38:09] local.INFO: Acknowledgment sent {"connection_id":185404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:38:12] local.INFO: TCP Data received {"connection_id":185402,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af40fcf8012d196780071fece0003a01142c..."} 
[2026-09-17 17:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af40fcf8012d196780071fece0003a01142c..."} 
[2026-09-17 17:38:12] local.INFO: Processing buffer {"connection_id":185402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af40fcf8012d196780071fece0003a01142c..."} 
[2026-09-17 17:38:12] local.INFO: Packet analysis {"connection_id":185402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af40"} 
[2026-09-17 17:38:12] local.INFO: Extracted packet for processing {"connection_id":185402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af40"} 
[2026-09-17 17:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149541376001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646667000,"timestamp_ms":1789646667000,"timestamp_seconds":1789646667,"priority":1,"record_length":96,"hex_timestamp":"000001a0af40fcf8"} 
[2026-09-17 17:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-17 17:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149541376001,"66":12689,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149541376001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:38:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149541376001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":185402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:38:12] local.INFO: GPS data processed {"connection_id":185402,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:38:12] local.INFO: Acknowledgment sent {"connection_id":185402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:38:14] local.INFO: TCP Data received {"connection_id":185547,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:38:14] local.INFO: Processing buffer {"connection_id":185547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:38:14] local.INFO: IMEI packet received {"connection_id":185547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":185547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:38:20] local.INFO: TCP Data received {"connection_id":185547,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:38:20] local.INFO: Processing buffer {"connection_id":185547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:38:20] local.INFO: IMEI packet received {"connection_id":185547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":185547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:38:21] local.INFO: TCP Data received {"connection_id":185547,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:38:21] local.INFO: Processing buffer {"connection_id":185547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:38:21] local.INFO: Packet analysis {"connection_id":185547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:38:21] local.INFO: Extracted packet for processing {"connection_id":185547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149499904001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646785000,"timestamp_ms":1789646785000,"timestamp_seconds":1789646785,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42c9e8"} 
[2026-09-17 17:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 17:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:38:21] 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-09-17 17:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149499904001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149499904001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:38:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149499904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":185547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:38:21] local.INFO: GPS data processed {"connection_id":185547,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:38:21] local.INFO: Acknowledgment sent {"connection_id":185547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:38:35] local.INFO: TCP Data received {"connection_id":185405,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:38:35] local.INFO: Processing buffer {"connection_id":185405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:38:35] local.INFO: IMEI packet received {"connection_id":185405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":185405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:38:35] local.INFO: TCP Data received {"connection_id":185405,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:38:35] local.INFO: Processing buffer {"connection_id":185405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:38:35] local.INFO: IMEI packet received {"connection_id":185405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":185405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:38:40] local.INFO: TCP Data received {"connection_id":185405,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:38:40] local.INFO: Processing buffer {"connection_id":185405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:38:40] local.INFO: IMEI packet received {"connection_id":185405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":185405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:38:41] local.INFO: TCP Data received {"connection_id":185405,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af41a108012d196780071fece0003a011427..."} 
[2026-09-17 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af41a108012d196780071fece0003a011427..."} 
[2026-09-17 17:38:41] local.INFO: Processing buffer {"connection_id":185405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af41a108012d196780071fece0003a011427..."} 
[2026-09-17 17:38:41] local.INFO: Packet analysis {"connection_id":185405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af41"} 
[2026-09-17 17:38:41] local.INFO: Extracted packet for processing {"connection_id":185405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af41"} 
[2026-09-17 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149552128001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646709000,"timestamp_ms":1789646709000,"timestamp_seconds":1789646709,"priority":1,"record_length":96,"hex_timestamp":"000001a0af41a108"} 
[2026-09-17 17:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 17:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149552128001,"66":12667,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149552128001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:38:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149552128001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":185405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:38:41] local.INFO: GPS data processed {"connection_id":185405,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:38:41] local.INFO: Acknowledgment sent {"connection_id":185405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:38:41] local.INFO: TCP Data received {"connection_id":185404,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af43cfa0012d7d234005e20a70000c005f2d..."} 
[2026-09-17 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af43cfa0012d7d234005e20a70000c005f2d..."} 
[2026-09-17 17:38:41] local.INFO: Processing buffer {"connection_id":185404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af43cfa0012d7d234005e20a70000c005f2d..."} 
[2026-09-17 17:38:41] local.INFO: Packet analysis {"connection_id":185404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:38:41] local.INFO: Extracted packet for processing {"connection_id":185404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763175744,"raw_latitude":98699888,"longitude_deg":76.3175744,"latitude_deg":9.8699888,"altitude":12,"angle":95,"satellites":45,"speed":36,"hex_longitude":"2d7d2340","hex_latitude":"05e20a70","is_valid_coordinates":true} 
[2026-09-17 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149589504001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134427421188292608,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006284486334064640,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646852000,"timestamp_ms":1789646852000,"timestamp_seconds":1789646852,"priority":1,"record_length":96,"hex_timestamp":"000001a0af43cfa0"} 
[2026-09-17 17:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-17 17:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149589504001,"66":13048,"43":206,"85":15104,"24":36,"16":134427421188292608,"45":9006284486334064640},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 17:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149589504001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:38:41] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 17:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134427421188292608,"km_value":134427421188292.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006284486334064640,"description":"Unknown IO ID 45"} 
[2026-09-17 17:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149589504001,"power":13048,"unknown_43":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9006284486334064640}} 
[2026-09-17 17:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":185404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:38:41] local.INFO: GPS data processed {"connection_id":185404,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:38:41] local.INFO: Acknowledgment sent {"connection_id":185404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:38:52] local.INFO: TCP Data received {"connection_id":185547,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:38:52] local.INFO: Processing buffer {"connection_id":185547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:38:52] local.INFO: Packet analysis {"connection_id":185547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:38:52] local.INFO: Extracted packet for processing {"connection_id":185547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149499904001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789646785000,"timestamp_ms":1789646785000,"timestamp_seconds":1789646785,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42c9e8"} 
[2026-09-17 17:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 17:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:38:52] 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-09-17 17:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149499904001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149499904001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149499904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":185547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:38:52] local.INFO: GPS data processed {"connection_id":185547,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:38:52] local.INFO: Acknowledgment sent {"connection_id":185547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:39:02] local.INFO: TCP Data received {"connection_id":186857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:39:02] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:39:02] local.INFO: IMEI packet received {"connection_id":186857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":186857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:39:03] local.INFO: TCP Data received {"connection_id":186857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:39:03] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:39:03] local.INFO: IMEI packet received {"connection_id":186857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":186857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:39:08] local.INFO: TCP Data received {"connection_id":186857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:39:08] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:39:08] local.INFO: IMEI packet received {"connection_id":186857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":186857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:39:09] local.INFO: TCP Data received {"connection_id":186857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af43fe80012d7d494005e207a8000e005e2d..."} 
[2026-09-17 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af43fe80012d7d494005e207a8000e005e2d..."} 
[2026-09-17 17:39:09] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af43fe80012d7d494005e207a8000e005e2d..."} 
[2026-09-17 17:39:09] local.INFO: Packet analysis {"connection_id":186857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:39:09] local.INFO: Extracted packet for processing {"connection_id":186857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":98699176,"longitude_deg":76.3185472,"latitude_deg":9.8699176,"altitude":14,"angle":94,"satellites":45,"speed":30,"hex_longitude":"2d7d4940","hex_latitude":"05e207a8","is_valid_coordinates":true} 
[2026-09-17 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149594112001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134427889339727872,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121272937213952,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789646864000,"timestamp_ms":1789646864000,"timestamp_seconds":1789646864,"priority":1,"record_length":96,"hex_timestamp":"000001a0af43fe80"} 
[2026-09-17 17:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 17:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149594112001,"66":13037,"43":206,"85":15104,"24":30,"16":134427889339727872,"45":9017121272937213952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-17 17:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149594112001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:39:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-17 17:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134427889339727872,"km_value":134427889339727.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121272937213952,"description":"Unknown IO ID 45"} 
[2026-09-17 17:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149594112001,"power":13037,"unknown_43":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9017121272937213952}} 
[2026-09-17 17:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":186857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:39:09] local.INFO: GPS data processed {"connection_id":186857,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:39:09] local.INFO: Acknowledgment sent {"connection_id":186857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:39:12] local.INFO: TCP Data received {"connection_id":185405,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af41f310012d196780071fece0003a011429..."} 
[2026-09-17 17:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af41f310012d196780071fece0003a011429..."} 
[2026-09-17 17:39:12] local.INFO: Processing buffer {"connection_id":185405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af41f310012d196780071fece0003a011429..."} 
[2026-09-17 17:39:12] local.INFO: Packet analysis {"connection_id":185405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af41"} 
[2026-09-17 17:39:12] local.INFO: Extracted packet for processing {"connection_id":185405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af41"} 
[2026-09-17 17:39:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149557504001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646730000,"timestamp_ms":1789646730000,"timestamp_seconds":1789646730,"priority":1,"record_length":96,"hex_timestamp":"000001a0af41f310"} 
[2026-09-17 17:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-17 17:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149557504001,"66":12645,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149557504001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:39:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:39:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149557504001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":185405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:39:12] local.INFO: GPS data processed {"connection_id":185405,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:39:12] local.INFO: Acknowledgment sent {"connection_id":185405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:39:14] local.INFO: TCP Data received {"connection_id":188200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:39:14] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:39:14] local.INFO: IMEI packet received {"connection_id":188200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":188200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:39:19] local.INFO: TCP Data received {"connection_id":185548,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:39:19] local.INFO: Processing buffer {"connection_id":185548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:39:19] local.INFO: IMEI packet received {"connection_id":185548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":185548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:39:20] local.INFO: TCP Data received {"connection_id":188200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:39:20] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:39:20] local.INFO: IMEI packet received {"connection_id":188200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":188200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:39:21] local.INFO: TCP Data received {"connection_id":188200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:39:21] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:39:21] local.INFO: Packet analysis {"connection_id":188200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:39:21] local.INFO: Extracted packet for processing {"connection_id":188200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149499904001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646785000,"timestamp_ms":1789646785000,"timestamp_seconds":1789646785,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42c9e8"} 
[2026-09-17 17:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 17:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:39:21] 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-09-17 17:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149499904001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149499904001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149499904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":188200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:39:21] local.INFO: GPS data processed {"connection_id":188200,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:39:21] local.INFO: Acknowledgment sent {"connection_id":188200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:39:35] local.INFO: TCP Data received {"connection_id":185406,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:39:35] local.INFO: Processing buffer {"connection_id":185406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:39:35] local.INFO: IMEI packet received {"connection_id":185406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":185406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:39:38] local.INFO: TCP Data received {"connection_id":185406,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:39:38] local.INFO: Processing buffer {"connection_id":185406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:39:38] local.INFO: IMEI packet received {"connection_id":185406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":185406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:39:40] local.INFO: TCP Data received {"connection_id":185406,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:39:40] local.INFO: Processing buffer {"connection_id":185406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:39:40] local.INFO: IMEI packet received {"connection_id":185406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":185406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:39:40] local.INFO: TCP Data received {"connection_id":186857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af458138012d7e2cc005e20700000e00a828..."} 
[2026-09-17 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af458138012d7e2cc005e20700000e00a828..."} 
[2026-09-17 17:39:40] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af458138012d7e2cc005e20700000e00a828..."} 
[2026-09-17 17:39:40] local.INFO: Packet analysis {"connection_id":186857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af45"} 
[2026-09-17 17:39:40] local.INFO: Extracted packet for processing {"connection_id":186857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af45"} 
[2026-09-17 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763243712,"raw_latitude":98699008,"longitude_deg":76.3243712,"latitude_deg":9.8699008,"altitude":14,"angle":168,"satellites":40,"speed":23,"hex_longitude":"2d7e2cc0","hex_latitude":"05e20700","is_valid_coordinates":true} 
[2026-09-17 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149622272001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134430792737619968,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091782510509635584,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789646963000,"timestamp_ms":1789646963000,"timestamp_seconds":1789646963,"priority":1,"record_length":96,"hex_timestamp":"000001a0af458138"} 
[2026-09-17 17:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 17:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149622272001,"66":13037,"198":206,"85":15104,"24":23,"16":134430792737619968,"45":9091782510509635584},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-17 17:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149622272001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:39:40] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 17:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134430792737619968,"km_value":134430792737619.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091782510509635584,"description":"Unknown IO ID 45"} 
[2026-09-17 17:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149622272001,"power":13037,"unknown_198":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9091782510509635584}} 
[2026-09-17 17:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":186857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:39:40] local.INFO: GPS data processed {"connection_id":186857,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:39:40] local.INFO: Acknowledgment sent {"connection_id":186857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:39:41] local.INFO: TCP Data received {"connection_id":185406,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af424518012d196780071fece0003a011429..."} 
[2026-09-17 17:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af424518012d196780071fece0003a011429..."} 
[2026-09-17 17:39:41] local.INFO: Processing buffer {"connection_id":185406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af424518012d196780071fece0003a011429..."} 
[2026-09-17 17:39:41] local.INFO: Packet analysis {"connection_id":185406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:39:41] local.INFO: Extracted packet for processing {"connection_id":185406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149562880001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646751000,"timestamp_ms":1789646751000,"timestamp_seconds":1789646751,"priority":1,"record_length":96,"hex_timestamp":"000001a0af424518"} 
[2026-09-17 17:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-17 17:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149562880001,"66":12667,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149562880001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:39:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149562880001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":185406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:39:41] local.INFO: GPS data processed {"connection_id":185406,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:39:41] local.INFO: Acknowledgment sent {"connection_id":185406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:39:52] local.INFO: TCP Data received {"connection_id":188200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:39:52] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:39:52] local.INFO: Packet analysis {"connection_id":188200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:39:52] local.INFO: Extracted packet for processing {"connection_id":188200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149499904001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789646785000,"timestamp_ms":1789646785000,"timestamp_seconds":1789646785,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42c9e8"} 
[2026-09-17 17:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 17:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:39:52] 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-09-17 17:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149499904001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149499904001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149499904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":188200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:39:52] local.INFO: GPS data processed {"connection_id":188200,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:39:52] local.INFO: Acknowledgment sent {"connection_id":188200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:39:55] local.INFO: TCP Data received {"connection_id":186858,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:39:55] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:39:55] local.INFO: IMEI packet received {"connection_id":186858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":186858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:40:03] local.INFO: TCP Data received {"connection_id":185407,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:40:03] local.INFO: Processing buffer {"connection_id":185407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:40:03] local.INFO: IMEI packet received {"connection_id":185407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":185407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:40:08] local.INFO: TCP Data received {"connection_id":185407,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:40:08] local.INFO: Processing buffer {"connection_id":185407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:40:08] local.INFO: IMEI packet received {"connection_id":185407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":185407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:40:09] local.INFO: TCP Data received {"connection_id":185407,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af458908012d7e2cc005e201f0000e00b827..."} 
[2026-09-17 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af458908012d7e2cc005e201f0000e00b827..."} 
[2026-09-17 17:40:09] local.INFO: Processing buffer {"connection_id":185407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af458908012d7e2cc005e201f0000e00b827..."} 
[2026-09-17 17:40:09] local.INFO: Packet analysis {"connection_id":185407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af45"} 
[2026-09-17 17:40:09] local.INFO: Extracted packet for processing {"connection_id":185407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af45"} 
[2026-09-17 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763243712,"raw_latitude":98697712,"longitude_deg":76.3243712,"latitude_deg":9.8697712,"altitude":14,"angle":184,"satellites":39,"speed":26,"hex_longitude":"2d7e2cc0","hex_latitude":"05e201f0","is_valid_coordinates":true} 
[2026-09-17 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149622528001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134430852867162112,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091852879253667840,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789646965000,"timestamp_ms":1789646965000,"timestamp_seconds":1789646965,"priority":1,"record_length":96,"hex_timestamp":"000001a0af458908"} 
[2026-09-17 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 17:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149622528001,"66":12765,"198":206,"85":15104,"24":26,"16":134430852867162112,"45":9091852879253667840},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-17 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149622528001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:40:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 17:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134430852867162112,"km_value":134430852867162.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091852879253667840,"description":"Unknown IO ID 45"} 
[2026-09-17 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149622528001,"power":12765,"unknown_198":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9091852879253667840}} 
[2026-09-17 17:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":185407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:40:09] local.INFO: GPS data processed {"connection_id":185407,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:40:09] local.INFO: Acknowledgment sent {"connection_id":185407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:40:12] local.INFO: TCP Data received {"connection_id":185406,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af429720012d196780071fece0003a011429..."} 
[2026-09-17 17:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af429720012d196780071fece0003a011429..."} 
[2026-09-17 17:40:12] local.INFO: Processing buffer {"connection_id":185406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af429720012d196780071fece0003a011429..."} 
[2026-09-17 17:40:12] local.INFO: Packet analysis {"connection_id":185406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:40:12] local.INFO: Extracted packet for processing {"connection_id":185406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149568256001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646772000,"timestamp_ms":1789646772000,"timestamp_seconds":1789646772,"priority":1,"record_length":96,"hex_timestamp":"000001a0af429720"} 
[2026-09-17 17:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-17 17:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149568256001,"66":12667,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149568256001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:40:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149568256001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":185406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:40:12] local.INFO: GPS data processed {"connection_id":185406,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:40:12] local.INFO: Acknowledgment sent {"connection_id":185406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:40:14] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:40:14] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:40:14] local.INFO: IMEI packet received {"connection_id":188201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":188201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:40:20] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:40:20] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:40:20] local.INFO: IMEI packet received {"connection_id":188201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":188201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:40:21] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:40:21] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:40:21] local.INFO: Packet analysis {"connection_id":188201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:40:21] local.INFO: Extracted packet for processing {"connection_id":188201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149499904001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789646785000,"timestamp_ms":1789646785000,"timestamp_seconds":1789646785,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42c9e8"} 
[2026-09-17 17:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 17:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149499904001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149499904001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149499904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":188201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:40:21] local.INFO: GPS data processed {"connection_id":188201,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:40:21] local.INFO: Acknowledgment sent {"connection_id":188201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:40:40] local.INFO: TCP Data received {"connection_id":185549,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:40:40] local.INFO: Processing buffer {"connection_id":185549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:40:40] local.INFO: IMEI packet received {"connection_id":185549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":185549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:40:40] local.INFO: TCP Data received {"connection_id":185407,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af45b7e8012d7e2b8005e1ddc8000d00b52a..."} 
[2026-09-17 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af45b7e8012d7e2b8005e1ddc8000d00b52a..."} 
[2026-09-17 17:40:40] local.INFO: Processing buffer {"connection_id":185407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af45b7e8012d7e2b8005e1ddc8000d00b52a..."} 
[2026-09-17 17:40:40] local.INFO: Packet analysis {"connection_id":185407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af45"} 
[2026-09-17 17:40:40] local.INFO: Extracted packet for processing {"connection_id":185407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af45"} 
[2026-09-17 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763243392,"raw_latitude":98688456,"longitude_deg":76.3243392,"latitude_deg":9.8688456,"altitude":13,"angle":181,"satellites":42,"speed":30,"hex_longitude":"2d7e2b80","hex_latitude":"05e1ddc8","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149623040001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134431303838728192,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091852879253336064,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789646977000,"timestamp_ms":1789646977000,"timestamp_seconds":1789646977,"priority":1,"record_length":96,"hex_timestamp":"000001a0af45b7e8"} 
[2026-09-17 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-17 17:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149623040001,"66":13319,"198":206,"85":15104,"24":30,"16":134431303838728192,"45":9091852879253336064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-17 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149623040001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:40:40] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-17 17:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134431303838728192,"km_value":134431303838728.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091852879253336064,"description":"Unknown IO ID 45"} 
[2026-09-17 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149623040001,"power":13319,"unknown_198":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9091852879253336064}} 
[2026-09-17 17:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":185407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:40:40] local.INFO: GPS data processed {"connection_id":185407,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:40:40] local.INFO: Acknowledgment sent {"connection_id":185407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:40:41] local.INFO: TCP Data received {"connection_id":185549,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:40:41] local.INFO: Processing buffer {"connection_id":185549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:40:41] local.INFO: IMEI packet received {"connection_id":185549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":185549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:40:42] local.INFO: TCP Data received {"connection_id":185549,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42e928012d196780071fece0003a01142b..."} 
[2026-09-17 17:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42e928012d196780071fece0003a01142b..."} 
[2026-09-17 17:40:42] local.INFO: Processing buffer {"connection_id":185549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42e928012d196780071fece0003a01142b..."} 
[2026-09-17 17:40:42] local.INFO: Packet analysis {"connection_id":185549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:40:42] local.INFO: Extracted packet for processing {"connection_id":185549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149573632001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789646793000,"timestamp_ms":1789646793000,"timestamp_seconds":1789646793,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42e928"} 
[2026-09-17 17:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-17 17:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149573632001,"66":12602,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149573632001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:40:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149573632001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":185549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:40:42] local.INFO: GPS data processed {"connection_id":185549,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:40:42] local.INFO: Acknowledgment sent {"connection_id":185549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:40:52] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:40:52] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:40:52] local.INFO: Packet analysis {"connection_id":188201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:40:52] local.INFO: Extracted packet for processing {"connection_id":188201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149499904001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789646785000,"timestamp_ms":1789646785000,"timestamp_seconds":1789646785,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42c9e8"} 
[2026-09-17 17:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 17:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149499904001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149499904001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149499904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":188201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:40:52] local.INFO: GPS data processed {"connection_id":188201,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:40:52] local.INFO: Acknowledgment sent {"connection_id":188201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:41:02] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:02] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:02] local.INFO: IMEI packet received {"connection_id":185550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":185550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:41:03] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:03] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:03] local.INFO: IMEI packet received {"connection_id":185550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":185550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:41:04] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:04] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:04] local.INFO: IMEI packet received {"connection_id":185550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":185550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:41:08] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:08] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:41:08] local.INFO: IMEI packet received {"connection_id":185550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":185550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:41:09] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af46c570012d7e114005e103c0000700bb2c..."} 
[2026-09-17 17:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af46c570012d7e114005e103c0000700bb2c..."} 
[2026-09-17 17:41:09] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af46c570012d7e114005e103c0000700bb2c..."} 
[2026-09-17 17:41:09] local.INFO: Packet analysis {"connection_id":185550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af46"} 
[2026-09-17 17:41:09] local.INFO: Extracted packet for processing {"connection_id":185550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af46"} 
[2026-09-17 17:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":98632640,"longitude_deg":76.3236672,"latitude_deg":9.863264,"altitude":7,"angle":187,"satellites":44,"speed":27,"hex_longitude":"2d7e1140","hex_latitude":"05e103c0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149643264001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134434112747339776,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084393792354146304,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789647046000,"timestamp_ms":1789647046000,"timestamp_seconds":1789647046,"priority":1,"record_length":96,"hex_timestamp":"000001a0af46c570"} 
[2026-09-17 17:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2940603864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278099360312833928,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6545982019715520512,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1606811854,"corrected_to":0} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941343,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2580414464,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3784937472,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":30,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57807674247370043,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":69,"raw_value":-128351294479171579,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-4179113588742416384,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:09] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,105,85,24,241,157,16,155,160,150,45,64,29,8,46,10,66,154,142,34,7,131,128,1,240,227,175,225,4,113,205,40,56,23,120,41,239,51,198,2,221,5,30,187,69,95,83],"length":626,"final_offset":756,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1606811854,"validated":0}]} 
[2026-09-17 17:41:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504621050547666944,"timestamp_seconds":504621050547666.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149643264001,"66":13276,"105":206,"85":15104,"24":27,"16":134434112747339776,"45":9084393792354146304},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-17 17:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149643264001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:41:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134434112747339776,"km_value":134434112747339.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084393792354146304,"description":"Unknown IO ID 45"} 
[2026-09-17 17:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149643264001,"power":13276,"unknown_105":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9084393792354146304}} 
[2026-09-17 17:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":185550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:41:09] local.INFO: GPS data processed {"connection_id":185550,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:41:09] local.INFO: Acknowledgment sent {"connection_id":185550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:41:13] local.INFO: TCP Data received {"connection_id":185549,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af433b30012d196780071fece0003a011427..."} 
[2026-09-17 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af433b30012d196780071fece0003a011427..."} 
[2026-09-17 17:41:13] local.INFO: Processing buffer {"connection_id":185549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af433b30012d196780071fece0003a011427..."} 
[2026-09-17 17:41:13] local.INFO: Packet analysis {"connection_id":185549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:41:13] local.INFO: Extracted packet for processing {"connection_id":185549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149579008001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789646814000,"timestamp_ms":1789646814000,"timestamp_seconds":1789646814,"priority":1,"record_length":96,"hex_timestamp":"000001a0af433b30"} 
[2026-09-17 17:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-17 17:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149579008001,"66":12645,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149579008001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:41:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149579008001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":185549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:41:13] local.INFO: GPS data processed {"connection_id":185549,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:41:13] local.INFO: Acknowledgment sent {"connection_id":185549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:41:24] local.INFO: TCP Data received {"connection_id":185409,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:41:25] local.INFO: Processing buffer {"connection_id":185409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:41:25] local.INFO: IMEI packet received {"connection_id":185409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":185409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:41:30] local.INFO: TCP Data received {"connection_id":185409,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:41:30] local.INFO: Processing buffer {"connection_id":185409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:41:30] local.INFO: IMEI packet received {"connection_id":185409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":185409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:41:31] local.INFO: TCP Data received {"connection_id":185409,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:41:31] local.INFO: Processing buffer {"connection_id":185409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af42c9e8012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:41:31] local.INFO: Packet analysis {"connection_id":185409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:41:31] local.INFO: Extracted packet for processing {"connection_id":185409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af42"} 
[2026-09-17 17:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149499904001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789646785000,"timestamp_ms":1789646785000,"timestamp_seconds":1789646785,"priority":1,"record_length":96,"hex_timestamp":"000001a0af42c9e8"} 
[2026-09-17 17:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 17:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:41:31] 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-09-17 17:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149499904001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149499904001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:41:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149499904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":185409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:41:31] local.INFO: GPS data processed {"connection_id":185409,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:41:31] local.INFO: Acknowledgment sent {"connection_id":185409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:41:35] local.INFO: TCP Data received {"connection_id":185551,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:41:35] local.INFO: Processing buffer {"connection_id":185551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:41:35] local.INFO: IMEI packet received {"connection_id":185551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":185551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:41:40] local.INFO: TCP Data received {"connection_id":185551,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:41:40] local.INFO: Processing buffer {"connection_id":185551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:41:40] local.INFO: IMEI packet received {"connection_id":185551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":185551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:41:40] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af46cd40012d7e114005e0fde0000800af2d..."} 
[2026-09-17 17:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af46cd40012d7e114005e0fde0000800af2d..."} 
[2026-09-17 17:41:40] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af46cd40012d7e114005e0fde0000800af2d..."} 
[2026-09-17 17:41:40] local.INFO: Packet analysis {"connection_id":185550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af46"} 
[2026-09-17 17:41:40] local.INFO: Extracted packet for processing {"connection_id":185550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af46"} 
[2026-09-17 17:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":98631136,"longitude_deg":76.3236672,"latitude_deg":9.8631136,"altitude":8,"angle":175,"satellites":45,"speed":31,"hex_longitude":"2d7e1140","hex_latitude":"05e0fde0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149643776001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134434185761783808,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084112317377134592,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789647048000,"timestamp_ms":1789647048000,"timestamp_seconds":1789647048,"priority":1,"record_length":96,"hex_timestamp":"000001a0af46cd40"} 
[2026-09-17 17:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 17:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149643776001,"66":13243,"105":206,"85":15104,"24":31,"16":134434185761783808,"45":9084112317377134592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-17 17:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149643776001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:41:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134434185761783808,"km_value":134434185761783.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084112317377134592,"description":"Unknown IO ID 45"} 
[2026-09-17 17:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149643776001,"power":13243,"unknown_105":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9084112317377134592}} 
[2026-09-17 17:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":185550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:41:41] local.INFO: GPS data processed {"connection_id":185550,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:41:41] local.INFO: Acknowledgment sent {"connection_id":185550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:41:41] local.INFO: TCP Data received {"connection_id":185551,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af438d38012d196780071fece0003a011429..."} 
[2026-09-17 17:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af438d38012d196780071fece0003a011429..."} 
[2026-09-17 17:41:41] local.INFO: Processing buffer {"connection_id":185551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af438d38012d196780071fece0003a011429..."} 
[2026-09-17 17:41:41] local.INFO: Packet analysis {"connection_id":185551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:41:41] local.INFO: Extracted packet for processing {"connection_id":185551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149584384001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646835000,"timestamp_ms":1789646835000,"timestamp_seconds":1789646835,"priority":1,"record_length":96,"hex_timestamp":"000001a0af438d38"} 
[2026-09-17 17:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-17 17:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149584384001,"66":12591,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149584384001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:41:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149584384001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":185551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:41:41] local.INFO: GPS data processed {"connection_id":185551,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:41:41] local.INFO: Acknowledgment sent {"connection_id":185551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:42:03] local.INFO: TCP Data received {"connection_id":185553,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:42:03] local.INFO: Processing buffer {"connection_id":185553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:42:03] local.INFO: IMEI packet received {"connection_id":185553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":185553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:42:08] local.INFO: TCP Data received {"connection_id":185553,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:42:08] local.INFO: Processing buffer {"connection_id":185553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:42:08] local.INFO: IMEI packet received {"connection_id":185553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":185553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:42:09] local.INFO: TCP Data received {"connection_id":185553,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af46f838012d7e138005e0e2b80008009f2d..."} 
[2026-09-17 17:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af46f838012d7e138005e0e2b80008009f2d..."} 
[2026-09-17 17:42:09] local.INFO: Processing buffer {"connection_id":185553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af46f838012d7e138005e0e2b80008009f2d..."} 
[2026-09-17 17:42:09] local.INFO: Packet analysis {"connection_id":185553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af46"} 
[2026-09-17 17:42:09] local.INFO: Extracted packet for processing {"connection_id":185553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af46"} 
[2026-09-17 17:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763237248,"raw_latitude":98624184,"longitude_deg":76.3237248,"latitude_deg":9.8624184,"altitude":8,"angle":159,"satellites":45,"speed":9,"hex_longitude":"2d7e1380","hex_latitude":"05e0e2b8","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149644288001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134434525064200192,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084112317376749568,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789647059000,"timestamp_ms":1789647059000,"timestamp_seconds":1789647059,"priority":1,"record_length":96,"hex_timestamp":"000001a0af46f838"} 
[2026-09-17 17:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 17:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149644288001,"66":12667,"105":206,"85":15104,"24":9,"16":134434525064200192,"45":9084112317376749568},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-17 17:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149644288001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:42:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 17:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134434525064200192,"km_value":134434525064200.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084112317376749568,"description":"Unknown IO ID 45"} 
[2026-09-17 17:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149644288001,"power":12667,"unknown_105":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9084112317376749568}} 
[2026-09-17 17:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":185553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:42:09] local.INFO: GPS data processed {"connection_id":185553,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:42:09] local.INFO: Acknowledgment sent {"connection_id":185553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:42:12] local.INFO: TCP Data received {"connection_id":185551,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af43df40012d196780071fece0003a011428..."} 
[2026-09-17 17:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af43df40012d196780071fece0003a011428..."} 
[2026-09-17 17:42:12] local.INFO: Processing buffer {"connection_id":185551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af43df40012d196780071fece0003a011428..."} 
[2026-09-17 17:42:12] local.INFO: Packet analysis {"connection_id":185551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:42:12] local.INFO: Extracted packet for processing {"connection_id":185551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af43"} 
[2026-09-17 17:42:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149589760001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789646856000,"timestamp_ms":1789646856000,"timestamp_seconds":1789646856,"priority":1,"record_length":96,"hex_timestamp":"000001a0af43df40"} 
[2026-09-17 17:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 17:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149589760001,"66":12591,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149589760001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:42:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149589760001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":185551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:42:12] local.INFO: GPS data processed {"connection_id":185551,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:42:12] local.INFO: Acknowledgment sent {"connection_id":185551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:42:14] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:42:14] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:42:14] local.INFO: IMEI packet received {"connection_id":185410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":185410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:42:19] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:42:19] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:42:19] local.INFO: IMEI packet received {"connection_id":185410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":185410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:42:20] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:42:20] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:42:20] local.INFO: Packet analysis {"connection_id":185410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:42:20] local.INFO: Extracted packet for processing {"connection_id":185410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:42:20] 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-09-17 17:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":185410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:42:20] local.INFO: GPS data processed {"connection_id":185410,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:42:20] local.INFO: Acknowledgment sent {"connection_id":185410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:42:35] local.INFO: TCP Data received {"connection_id":186859,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:42:35] local.INFO: Processing buffer {"connection_id":186859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:42:35] local.INFO: IMEI packet received {"connection_id":186859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":186859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:42:40] local.INFO: TCP Data received {"connection_id":185553,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af484828012d7eecc005e0f580000c005f2d..."} 
[2026-09-17 17:42:40] local.INFO: TCP Data received {"connection_id":186859,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af484828012d7eecc005e0f580000c005f2d..."} 
[2026-09-17 17:42:40] local.INFO: Processing buffer {"connection_id":185553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af484828012d7eecc005e0f580000c005f2d..."} 
[2026-09-17 17:42:40] local.INFO: Packet analysis {"connection_id":185553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:42:40] local.INFO: Extracted packet for processing {"connection_id":185553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763292864,"raw_latitude":98628992,"longitude_deg":76.3292864,"latitude_deg":9.8628992,"altitude":12,"angle":95,"satellites":45,"speed":33,"hex_longitude":"2d7eecc0","hex_latitude":"05e0f580","is_valid_coordinates":true} 
[2026-09-17 17:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:42:40] local.INFO: Processing buffer {"connection_id":186859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17: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-09-17 17:42:40] local.INFO: IMEI packet received {"connection_id":186859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149665792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":186859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134437282433204224,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135411131881562112,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789647145000,"timestamp_ms":1789647145000,"timestamp_seconds":1789647145,"priority":1,"record_length":96,"hex_timestamp":"000001a0af484828"} 
[2026-09-17 17:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-17 17:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149665792001,"66":13341,"103":206,"85":15104,"24":33,"16":134437282433204224,"45":9135411131881562112},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-17 17:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149665792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:42:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134437282433204224,"km_value":134437282433204.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135411131881562112,"description":"Unknown IO ID 45"} 
[2026-09-17 17:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149665792001,"power":13341,"unknown_103":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9135411131881562112}} 
[2026-09-17 17:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":185553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:42:40] local.INFO: GPS data processed {"connection_id":185553,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:42:40] local.INFO: Acknowledgment sent {"connection_id":185553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:42:41] local.INFO: TCP Data received {"connection_id":186859,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af443148012d196780071fece0003a011428..."} 
[2026-09-17 17:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af443148012d196780071fece0003a011428..."} 
[2026-09-17 17:42:41] local.INFO: Processing buffer {"connection_id":186859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af443148012d196780071fece0003a011428..."} 
[2026-09-17 17:42:41] local.INFO: Packet analysis {"connection_id":186859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af44"} 
[2026-09-17 17:42:41] local.INFO: Extracted packet for processing {"connection_id":186859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af44"} 
[2026-09-17 17:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149595136001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789646877000,"timestamp_ms":1789646877000,"timestamp_seconds":1789646877,"priority":1,"record_length":96,"hex_timestamp":"000001a0af443148"} 
[2026-09-17 17:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 17:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149595136001,"66":12385,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149595136001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:42:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149595136001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":186859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:42:41] local.INFO: GPS data processed {"connection_id":186859,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:42:41] local.INFO: Acknowledgment sent {"connection_id":186859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:42:52] local.INFO: TCP Data received {"connection_id":185410,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:42:52] local.INFO: Processing buffer {"connection_id":185410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:42:52] local.INFO: Packet analysis {"connection_id":185410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:42:52] local.INFO: Extracted packet for processing {"connection_id":185410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:42:52] 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-09-17 17:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":185410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:42:52] local.INFO: GPS data processed {"connection_id":185410,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:42:52] local.INFO: Acknowledgment sent {"connection_id":185410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:43:03] local.INFO: TCP Data received {"connection_id":188202,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:43:03] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:43:03] local.INFO: IMEI packet received {"connection_id":188202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":188202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:43:07] local.INFO: TCP Data received {"connection_id":188202,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:43:07] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:43:07] local.INFO: IMEI packet received {"connection_id":188202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":188202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:43:08] local.INFO: TCP Data received {"connection_id":188202,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:43:08] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:43:08] local.INFO: IMEI packet received {"connection_id":188202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":188202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:43:09] local.INFO: TCP Data received {"connection_id":188202,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af484828012d7eecc005e0f580000c005f2d..."} 
[2026-09-17 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af484828012d7eecc005e0f580000c005f2d..."} 
[2026-09-17 17:43:09] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af484828012d7eecc005e0f580000c005f2d..."} 
[2026-09-17 17:43:09] local.INFO: Packet analysis {"connection_id":188202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:43:09] local.INFO: Extracted packet for processing {"connection_id":188202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763292864,"raw_latitude":98628992,"longitude_deg":76.3292864,"latitude_deg":9.8628992,"altitude":12,"angle":95,"satellites":45,"speed":33,"hex_longitude":"2d7eecc0","hex_latitude":"05e0f580","is_valid_coordinates":true} 
[2026-09-17 17:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149669120001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134437282433204224,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145896074764189696,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789647145000,"timestamp_ms":1789647145000,"timestamp_seconds":1789647145,"priority":1,"record_length":96,"hex_timestamp":"000001a0af484828"} 
[2026-09-17 17:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-17 17:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149669120001,"66":13406,"103":206,"85":15104,"24":33,"16":134437282433204224,"45":9145896074764189696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-17 17:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149669120001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:43:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134437282433204224,"km_value":134437282433204.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145896074764189696,"description":"Unknown IO ID 45"} 
[2026-09-17 17:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149669120001,"power":13406,"unknown_103":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9145896074764189696}} 
[2026-09-17 17:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":188202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:43:09] local.INFO: GPS data processed {"connection_id":188202,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:43:09] local.INFO: Acknowledgment sent {"connection_id":188202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:43:12] local.INFO: TCP Data received {"connection_id":186859,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af47b7a0012d196780071fece0003a01142a..."} 
[2026-09-17 17:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af47b7a0012d196780071fece0003a01142a..."} 
[2026-09-17 17:43:12] local.INFO: Processing buffer {"connection_id":186859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af47b7a0012d196780071fece0003a01142a..."} 
[2026-09-17 17:43:12] local.INFO: Packet analysis {"connection_id":186859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:43:12] local.INFO: Extracted packet for processing {"connection_id":186859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654272001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647108000,"timestamp_ms":1789647108000,"timestamp_seconds":1789647108,"priority":1,"record_length":96,"hex_timestamp":"000001a0af47b7a0"} 
[2026-09-17 17:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 17:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654272001,"66":12526,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654272001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:43:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654272001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":186859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:43:12] local.INFO: GPS data processed {"connection_id":186859,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:43:12] local.INFO: Acknowledgment sent {"connection_id":186859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:43:14] local.INFO: TCP Data received {"connection_id":188202,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af487708012d7f110005e0f500000c00562a..."} 
[2026-09-17 17:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af487708012d7f110005e0f500000c00562a..."} 
[2026-09-17 17:43:14] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af487708012d7f110005e0f500000c00562a..."} 
[2026-09-17 17:43:14] local.INFO: Packet analysis {"connection_id":188202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:43:14] local.INFO: Extracted packet for processing {"connection_id":188202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763302144,"raw_latitude":98628864,"longitude_deg":76.3302144,"latitude_deg":9.8628864,"altitude":12,"angle":86,"satellites":42,"speed":29,"hex_longitude":"2d7f1100","hex_latitude":"05e0f500","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149669120001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134437729109803008,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145896074764189696,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789647157000,"timestamp_ms":1789647157000,"timestamp_seconds":1789647157,"priority":1,"record_length":96,"hex_timestamp":"000001a0af487708"} 
[2026-09-17 17:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-17 17:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149669120001,"66":13015,"103":206,"85":15104,"24":29,"16":134437729109803008,"45":9145896074764189696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-17 17:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149669120001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:43:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134437729109803008,"km_value":134437729109803.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145896074764189696,"description":"Unknown IO ID 45"} 
[2026-09-17 17:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149669120001,"power":13015,"unknown_103":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9145896074764189696}} 
[2026-09-17 17:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":188202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:43:14] local.INFO: GPS data processed {"connection_id":188202,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:43:14] local.INFO: Acknowledgment sent {"connection_id":188202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:43:20] local.INFO: TCP Data received {"connection_id":186861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:43:20] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:43:20] local.INFO: IMEI packet received {"connection_id":186861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":186861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:43:25] local.INFO: TCP Data received {"connection_id":186861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:43:25] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:43:25] local.INFO: IMEI packet received {"connection_id":186861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":186861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:43:26] local.INFO: TCP Data received {"connection_id":186861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:43:26] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:43:26] local.INFO: Packet analysis {"connection_id":186861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:43:26] local.INFO: Extracted packet for processing {"connection_id":186861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:43:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:43:26] 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-09-17 17:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:43:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":186861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:43:26] local.INFO: GPS data processed {"connection_id":186861,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:43:26] local.INFO: Acknowledgment sent {"connection_id":186861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:43:30] local.INFO: TCP Data received {"connection_id":186861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:43:30] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:43:30] local.INFO: Packet analysis {"connection_id":186861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:43:30] local.INFO: Extracted packet for processing {"connection_id":186861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:43:30] 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-09-17 17:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":186861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:43:30] local.INFO: GPS data processed {"connection_id":186861,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:43:30] local.INFO: Acknowledgment sent {"connection_id":186861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:43:35] local.INFO: TCP Data received {"connection_id":185411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:43:35] local.INFO: Processing buffer {"connection_id":185411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:43:35] local.INFO: IMEI packet received {"connection_id":185411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":185411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:43:40] local.INFO: TCP Data received {"connection_id":185411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:43:40] local.INFO: Processing buffer {"connection_id":185411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:43:40] local.INFO: IMEI packet received {"connection_id":185411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":185411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:43:41] local.INFO: TCP Data received {"connection_id":185411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4809a8012d196780071fece0003a01142a..."} 
[2026-09-17 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4809a8012d196780071fece0003a01142a..."} 
[2026-09-17 17:43:41] local.INFO: Processing buffer {"connection_id":185411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4809a8012d196780071fece0003a01142a..."} 
[2026-09-17 17:43:41] local.INFO: Packet analysis {"connection_id":185411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:43:41] local.INFO: Extracted packet for processing {"connection_id":185411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149659648001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647129000,"timestamp_ms":1789647129000,"timestamp_seconds":1789647129,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4809a8"} 
[2026-09-17 17:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 17:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149659648001,"66":12537,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149659648001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:43:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149659648001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":185411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:43:41] local.INFO: GPS data processed {"connection_id":185411,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:43:41] local.INFO: Acknowledgment sent {"connection_id":185411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:43:45] local.INFO: TCP Data received {"connection_id":188202,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af48a5e8012d7f348005e0f540000b005a2d..."} 
[2026-09-17 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af48a5e8012d7f348005e0f540000b005a2d..."} 
[2026-09-17 17:43:45] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af48a5e8012d7f348005e0f540000b005a2d..."} 
[2026-09-17 17:43:45] local.INFO: Packet analysis {"connection_id":188202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:43:45] local.INFO: Extracted packet for processing {"connection_id":188202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763311232,"raw_latitude":98628928,"longitude_deg":76.3311232,"latitude_deg":9.8628928,"altitude":11,"angle":90,"satellites":45,"speed":28,"hex_longitude":"2d7f3480","hex_latitude":"05e0f540","is_valid_coordinates":true} 
[2026-09-17 17:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149672192001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134438162901499904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156099542669918208,"note":"Value kept but may cause issues"} 
[2026-09-17 17:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789647169000,"timestamp_ms":1789647169000,"timestamp_seconds":1789647169,"priority":1,"record_length":96,"hex_timestamp":"000001a0af48a5e8"} 
[2026-09-17 17:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 17:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149672192001,"66":13091,"103":206,"85":15104,"24":28,"16":134438162901499904,"45":9156099542669918208},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-17 17:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149672192001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:43:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134438162901499904,"km_value":134438162901499.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156099542669918208,"description":"Unknown IO ID 45"} 
[2026-09-17 17:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149672192001,"power":13091,"unknown_103":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9156099542669918208}} 
[2026-09-17 17:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":188202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:43:45] local.INFO: GPS data processed {"connection_id":188202,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:43:45] local.INFO: Acknowledgment sent {"connection_id":188202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:44:04] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:04] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:04] local.INFO: IMEI packet received {"connection_id":185554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":185554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:44:06] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:06] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:06] local.INFO: IMEI packet received {"connection_id":185554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":185554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:44:08] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:08] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:08] local.INFO: IMEI packet received {"connection_id":185554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":185554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:44:09] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:09] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:44:09] local.INFO: IMEI packet received {"connection_id":185554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":185554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:44:10] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af48b970012d7f420005e0f448000c00652b..."} 
[2026-09-17 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af48b970012d7f420005e0f448000c00652b..."} 
[2026-09-17 17:44:10] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af48b970012d7f420005e0f448000c00652b..."} 
[2026-09-17 17:44:10] local.INFO: Packet analysis {"connection_id":185554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:10] local.INFO: Extracted packet for processing {"connection_id":185554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763314688,"raw_latitude":98628680,"longitude_deg":76.3314688,"latitude_deg":9.862868,"altitude":12,"angle":101,"satellites":43,"speed":23,"hex_longitude":"2d7f4200","hex_latitude":"05e0f448","is_valid_coordinates":true} 
[2026-09-17 17:44: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-09-17 17:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149675264001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134438326110257152,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166091904343162880,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789647174000,"timestamp_ms":1789647174000,"timestamp_seconds":1789647174,"priority":1,"record_length":96,"hex_timestamp":"000001a0af48b970"} 
[2026-09-17 17:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 17:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:44: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-09-17 17:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149675264001,"66":13189,"103":206,"85":15104,"24":23,"16":134438326110257152,"45":9166091904343162880},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-17 17:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149675264001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:44:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134438326110257152,"km_value":134438326110257.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166091904343162880,"description":"Unknown IO ID 45"} 
[2026-09-17 17:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149675264001,"power":13189,"unknown_103":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9166091904343162880}} 
[2026-09-17 17:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":185554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:44:10] local.INFO: GPS data processed {"connection_id":185554,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:44:10] local.INFO: Acknowledgment sent {"connection_id":185554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:44:12] local.INFO: TCP Data received {"connection_id":185411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af485bb0012d196780071fece0003a01142b..."} 
[2026-09-17 17:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af485bb0012d196780071fece0003a01142b..."} 
[2026-09-17 17:44:12] local.INFO: Processing buffer {"connection_id":185411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af485bb0012d196780071fece0003a01142b..."} 
[2026-09-17 17:44:12] local.INFO: Packet analysis {"connection_id":185411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:12] local.INFO: Extracted packet for processing {"connection_id":185411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149665024001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647150000,"timestamp_ms":1789647150000,"timestamp_seconds":1789647150,"priority":1,"record_length":96,"hex_timestamp":"000001a0af485bb0"} 
[2026-09-17 17:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 17:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149665024001,"66":12526,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149665024001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:44:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149665024001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":185411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:44:12] local.INFO: GPS data processed {"connection_id":185411,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:44:12] local.INFO: Acknowledgment sent {"connection_id":185411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:44:14] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af48c528012d7f480005e0f1f0000c00732b..."} 
[2026-09-17 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af48c528012d7f480005e0f1f0000c00732b..."} 
[2026-09-17 17:44:14] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af48c528012d7f480005e0f1f0000c00732b..."} 
[2026-09-17 17:44:14] local.INFO: Packet analysis {"connection_id":185554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:14] local.INFO: Extracted packet for processing {"connection_id":185554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:14] local.INFO: GPS Element Parsed {"raw_longitude":763316224,"raw_latitude":98628080,"longitude_deg":76.3316224,"latitude_deg":9.862808,"altitude":12,"angle":115,"satellites":43,"speed":21,"hex_longitude":"2d7f4800","hex_latitude":"05e0f1f0","is_valid_coordinates":true} 
[2026-09-17 17:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149676544001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134438403419668480,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169891816528693248,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789647177000,"timestamp_ms":1789647177000,"timestamp_seconds":1789647177,"priority":1,"record_length":96,"hex_timestamp":"000001a0af48c528"} 
[2026-09-17 17:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-17 17:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149676544001,"66":12982,"103":206,"85":15104,"24":21,"16":134438403419668480,"45":9169891816528693248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-17 17:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149676544001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:44:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 17:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134438403419668480,"km_value":134438403419668.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169891816528693248,"description":"Unknown IO ID 45"} 
[2026-09-17 17:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149676544001,"power":12982,"unknown_103":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9169891816528693248}} 
[2026-09-17 17:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":185554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:44:14] local.INFO: GPS data processed {"connection_id":185554,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:44:14] local.INFO: Acknowledgment sent {"connection_id":185554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:44:14] local.INFO: TCP Data received {"connection_id":185555,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:44:14] local.INFO: Processing buffer {"connection_id":185555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:44:14] local.INFO: IMEI packet received {"connection_id":185555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":185555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:44:20] local.INFO: TCP Data received {"connection_id":185555,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:44:20] local.INFO: Processing buffer {"connection_id":185555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:44:20] local.INFO: IMEI packet received {"connection_id":185555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":185555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:44:21] local.INFO: TCP Data received {"connection_id":185555,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:44:21] local.INFO: Processing buffer {"connection_id":185555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:44:21] local.INFO: Packet analysis {"connection_id":185555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:44:21] local.INFO: Extracted packet for processing {"connection_id":185555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:44: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-09-17 17:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":185555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:44:21] local.INFO: GPS data processed {"connection_id":185555,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:44:21] local.INFO: Acknowledgment sent {"connection_id":185555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:44:36] local.INFO: TCP Data received {"connection_id":185412,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:44:36] local.INFO: Processing buffer {"connection_id":185412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:44:36] local.INFO: IMEI packet received {"connection_id":185412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":185412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:44:40] local.INFO: TCP Data received {"connection_id":185412,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:44:40] local.INFO: Processing buffer {"connection_id":185412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:44:40] local.INFO: IMEI packet received {"connection_id":185412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":185412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:44:41] local.INFO: TCP Data received {"connection_id":185412,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af48adb8012d196780071fece0003a01142a..."} 
[2026-09-17 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af48adb8012d196780071fece0003a01142a..."} 
[2026-09-17 17:44:41] local.INFO: Processing buffer {"connection_id":185412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af48adb8012d196780071fece0003a01142a..."} 
[2026-09-17 17:44:41] local.INFO: Packet analysis {"connection_id":185412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:41] local.INFO: Extracted packet for processing {"connection_id":185412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149670400001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647171000,"timestamp_ms":1789647171000,"timestamp_seconds":1789647171,"priority":1,"record_length":96,"hex_timestamp":"000001a0af48adb8"} 
[2026-09-17 17:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 17:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149670400001,"66":12526,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149670400001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:44:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149670400001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":185412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:44:41] local.INFO: GPS data processed {"connection_id":185412,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:44:41] local.INFO: Acknowledgment sent {"connection_id":185412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:44:45] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af48e850012d7f5c8005e0e8c0000900672d..."} 
[2026-09-17 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af48e850012d7f5c8005e0e8c0000900672d..."} 
[2026-09-17 17:44:45] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af48e850012d7f5c8005e0e8c0000900672d..."} 
[2026-09-17 17:44:45] local.INFO: Packet analysis {"connection_id":185554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:45] local.INFO: Extracted packet for processing {"connection_id":185554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763321472,"raw_latitude":98625728,"longitude_deg":76.3321472,"latitude_deg":9.8625728,"altitude":9,"angle":103,"satellites":45,"speed":23,"hex_longitude":"2d7f5c80","hex_latitude":"05e0e8c0","is_valid_coordinates":true} 
[2026-09-17 17:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149677312001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134438682592542720,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171580666388803584,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789647186000,"timestamp_ms":1789647186000,"timestamp_seconds":1789647186,"priority":1,"record_length":96,"hex_timestamp":"000001a0af48e850"} 
[2026-09-17 17:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-17 17:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149677312001,"66":12472,"122":206,"85":15104,"24":23,"16":134438682592542720,"45":9171580666388803584},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-09-17 17:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149677312001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:44:45] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-17 17:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134438682592542720,"km_value":134438682592542.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171580666388803584,"description":"Unknown IO ID 45"} 
[2026-09-17 17:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149677312001,"power":12472,"unknown_122":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9171580666388803584}} 
[2026-09-17 17:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":185554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:44:45] local.INFO: GPS data processed {"connection_id":185554,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:44:45] local.INFO: Acknowledgment sent {"connection_id":185554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:44:53] local.INFO: TCP Data received {"connection_id":185555,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:44:53] local.INFO: Processing buffer {"connection_id":185555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:44:53] local.INFO: Packet analysis {"connection_id":185555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:44:53] local.INFO: Extracted packet for processing {"connection_id":185555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:44:53] 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-09-17 17:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":185555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:44:53] local.INFO: GPS data processed {"connection_id":185555,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:44:53] local.INFO: Acknowledgment sent {"connection_id":185555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:45:02] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:45:02] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:45:02] local.INFO: IMEI packet received {"connection_id":188203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":188203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:45:03] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:45:03] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:45:03] local.INFO: IMEI packet received {"connection_id":188203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":188203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:45:07] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:45:07] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:45:07] local.INFO: IMEI packet received {"connection_id":188203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":188203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:45:08] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4a4fb0012d7fda0005e05f70000b009c2a..."} 
[2026-09-17 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4a4fb0012d7fda0005e05f70000b009c2a..."} 
[2026-09-17 17:45:08] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4a4fb0012d7fda0005e05f70000b009c2a..."} 
[2026-09-17 17:45:08] local.INFO: Packet analysis {"connection_id":188203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:45:08] local.INFO: Extracted packet for processing {"connection_id":188203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763353600,"raw_latitude":98590576,"longitude_deg":76.33536,"latitude_deg":9.8590576,"altitude":11,"angle":156,"satellites":42,"speed":31,"hex_longitude":"2d7fda00","hex_latitude":"05e05f70","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149702144001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134441448551481344,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211620481817126912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789647278000,"timestamp_ms":1789647278000,"timestamp_seconds":1789647278,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4a4fb0"} 
[2026-09-17 17:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2940825864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-2391411363471479552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221610690,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847567,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2694053888,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3772436480,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57719386899633467,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.WARNING: Large IO value detected {"io_id":73,"raw_value":7581811267604955141,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:08] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,121,85,24,241,157,16,161,160,32,45,132,11,46,10,66,122,218,167,13,206,192,1,240,40,227,175,224,4,113,205,152,197,80,43,239,49,2,221,5,9,34,182,73],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[]} 
[2026-09-17 17:45:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792820636079685632,"timestamp_seconds":792820636079685.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149702144001,"66":13059,"121":206,"85":15104,"24":31,"16":134441448551481344,"45":9211620481817126912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-17 17:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149702144001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:45:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-17 17:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134441448551481344,"km_value":134441448551481.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211620481817126912,"description":"Unknown IO ID 45"} 
[2026-09-17 17:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149702144001,"power":13059,"unknown_121":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9211620481817126912}} 
[2026-09-17 17:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":188203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:45:08] local.INFO: GPS data processed {"connection_id":188203,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:45:08] local.INFO: Acknowledgment sent {"connection_id":188203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:45:10] local.INFO: TCP Data received {"connection_id":185556,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:45:10] local.INFO: Processing buffer {"connection_id":185556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:45:10] local.INFO: IMEI packet received {"connection_id":185556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":185556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:45:12] local.INFO: TCP Data received {"connection_id":185412,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af48ffc0012d196780071fece0003a011429..."} 
[2026-09-17 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af48ffc0012d196780071fece0003a011429..."} 
[2026-09-17 17:45:12] local.INFO: Processing buffer {"connection_id":185412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af48ffc0012d196780071fece0003a011429..."} 
[2026-09-17 17:45:12] local.INFO: Packet analysis {"connection_id":185412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:45:12] local.INFO: Extracted packet for processing {"connection_id":185412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af48"} 
[2026-09-17 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149675776001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647192000,"timestamp_ms":1789647192000,"timestamp_seconds":1789647192,"priority":1,"record_length":96,"hex_timestamp":"000001a0af48ffc0"} 
[2026-09-17 17:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 17:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149675776001,"66":12526,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149675776001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:45:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149675776001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":185412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:45:12] local.INFO: GPS data processed {"connection_id":185412,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:45:12] local.INFO: Acknowledgment sent {"connection_id":185412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:45:15] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:45:15] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:45:15] local.INFO: IMEI packet received {"connection_id":188204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":188204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:45:20] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:45:20] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:45:20] local.INFO: IMEI packet received {"connection_id":188204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":188204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:45:21] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:45:21] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:45:21] local.INFO: Packet analysis {"connection_id":188204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:45:21] local.INFO: Extracted packet for processing {"connection_id":188204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:45: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-09-17 17:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":188204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:45:21] local.INFO: GPS data processed {"connection_id":188204,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:45:21] local.INFO: Acknowledgment sent {"connection_id":188204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:45:35] local.INFO: TCP Data received {"connection_id":185557,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:45:35] local.INFO: Processing buffer {"connection_id":185557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:45:35] local.INFO: IMEI packet received {"connection_id":185557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":185557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:45:35] local.INFO: TCP Data received {"connection_id":185557,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:45:35] local.INFO: Processing buffer {"connection_id":185557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:45:35] local.INFO: IMEI packet received {"connection_id":185557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":185557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:45:39] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4a8660012d7fe6c005e03ed8000900a92d..."} 
[2026-09-17 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4a8660012d7fe6c005e03ed8000900a92d..."} 
[2026-09-17 17:45:39] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4a8660012d7fe6c005e03ed8000900a92d..."} 
[2026-09-17 17:45:39] local.INFO: Packet analysis {"connection_id":188203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:45:39] local.INFO: Extracted packet for processing {"connection_id":188203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763356864,"raw_latitude":98582232,"longitude_deg":76.3356864,"latitude_deg":9.8582232,"altitude":9,"angle":169,"satellites":45,"speed":23,"hex_longitude":"2d7fe6c0","hex_latitude":"05e03ed8","is_valid_coordinates":true} 
[2026-09-17 17:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149703168001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134441882343178240,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212676012978958336,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789647292000,"timestamp_ms":1789647292000,"timestamp_seconds":1789647292,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4a8660"} 
[2026-09-17 17:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303157174390031,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2940835864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":122,"raw_value":58077557095399458,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2907176972,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":198,"raw_value":4160826751,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2698838016,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3770830848,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,85,24,241,157,16,161,160,64,45,108,11,43,10,66,32,132,46,122,218,1,240,182,227,175,224,4,113,205,15,198,215,232,239,51,2,221,5,34],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[]} 
[2026-09-17 17:45:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792805238621798400,"timestamp_seconds":792805238621798.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149703168001,"66":12798,"121":206,"85":15104,"24":23,"16":134441882343178240,"45":9212676012978958336},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-17 17:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149703168001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:45:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-17 17:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134441882343178240,"km_value":134441882343178.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212676012978958336,"description":"Unknown IO ID 45"} 
[2026-09-17 17:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149703168001,"power":12798,"unknown_121":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9212676012978958336}} 
[2026-09-17 17:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":188203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:45:39] local.INFO: GPS data processed {"connection_id":188203,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:45:39] local.INFO: Acknowledgment sent {"connection_id":188203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:45:40] local.INFO: TCP Data received {"connection_id":185557,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:45:40] local.INFO: Processing buffer {"connection_id":185557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:45:40] local.INFO: IMEI packet received {"connection_id":185557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":185557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:45:41] local.INFO: TCP Data received {"connection_id":185557,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4951c8012d196780071fece0003a011428..."} 
[2026-09-17 17:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4951c8012d196780071fece0003a011428..."} 
[2026-09-17 17:45:41] local.INFO: Processing buffer {"connection_id":185557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4951c8012d196780071fece0003a011428..."} 
[2026-09-17 17:45:41] local.INFO: Packet analysis {"connection_id":185557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af49"} 
[2026-09-17 17:45:41] local.INFO: Extracted packet for processing {"connection_id":185557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af49"} 
[2026-09-17 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149681152001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647213000,"timestamp_ms":1789647213000,"timestamp_seconds":1789647213,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4951c8"} 
[2026-09-17 17:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 17:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149681152001,"66":12526,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149681152001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:45:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149681152001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":185557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:45:41] local.INFO: GPS data processed {"connection_id":185557,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:45:41] local.INFO: Acknowledgment sent {"connection_id":185557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:45:49] local.INFO: TCP Data received {"connection_id":188205,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:45:49] local.INFO: Processing buffer {"connection_id":188205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:45:49] local.INFO: IMEI packet received {"connection_id":188205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":188205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:45:52] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:45:52] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:45:52] local.INFO: Packet analysis {"connection_id":188204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:45:52] local.INFO: Extracted packet for processing {"connection_id":188204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:45:52] 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-09-17 17:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":188204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:45:52] local.INFO: GPS data processed {"connection_id":188204,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:45:52] local.INFO: Acknowledgment sent {"connection_id":188204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:46:04] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:46:04] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:46:04] local.INFO: IMEI packet received {"connection_id":188206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":188206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:46:04] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:46:04] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:46:04] local.INFO: IMEI packet received {"connection_id":188206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":188206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:46:08] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:46:08] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:46:08] local.INFO: IMEI packet received {"connection_id":188206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":188206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:46:09] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4b74a8012d80388005df83e8000a00a42b..."} 
[2026-09-17 17:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4b74a8012d80388005df83e8000a00a42b..."} 
[2026-09-17 17:46:09] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4b74a8012d80388005df83e8000a00a42b..."} 
[2026-09-17 17:46:09] local.INFO: Packet analysis {"connection_id":188206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:46:09] local.INFO: Extracted packet for processing {"connection_id":188206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763377792,"raw_latitude":98534376,"longitude_deg":76.3377792,"latitude_deg":9.8534376,"altitude":10,"angle":164,"satellites":43,"speed":27,"hex_longitude":"2d803880","hex_latitude":"05df83e8","is_valid_coordinates":true} 
[2026-09-17 17:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149721088001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134444433553752064,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209368631537827840,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789647353000,"timestamp_ms":1789647353000,"timestamp_seconds":1789647353,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4b74a8"} 
[2026-09-17 17:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-17 17:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149721088001,"66":13048,"121":206,"85":15104,"24":27,"16":134444433553752064,"45":-9209368631537827840},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-17 17:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149721088001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:46:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-17 17:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134444433553752064,"km_value":134444433553752.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209368631537827840,"description":"Unknown IO ID 45"} 
[2026-09-17 17:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149721088001,"power":13048,"unknown_121":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9209368631537827840}} 
[2026-09-17 17:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":188206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:46:09] local.INFO: GPS data processed {"connection_id":188206,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:46:09] local.INFO: Acknowledgment sent {"connection_id":188206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:46:12] local.INFO: TCP Data received {"connection_id":185557,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af49a3d0012d196780071fece0003a011429..."} 
[2026-09-17 17:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af49a3d0012d196780071fece0003a011429..."} 
[2026-09-17 17:46:12] local.INFO: Processing buffer {"connection_id":185557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af49a3d0012d196780071fece0003a011429..."} 
[2026-09-17 17:46:12] local.INFO: Packet analysis {"connection_id":185557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af49"} 
[2026-09-17 17:46:12] local.INFO: Extracted packet for processing {"connection_id":185557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af49"} 
[2026-09-17 17:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149686528001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647234000,"timestamp_ms":1789647234000,"timestamp_seconds":1789647234,"priority":1,"record_length":96,"hex_timestamp":"000001a0af49a3d0"} 
[2026-09-17 17:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 17:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149686528001,"66":12526,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149686528001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:46:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149686528001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":185557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:46:12] local.INFO: GPS data processed {"connection_id":185557,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:46:12] local.INFO: Acknowledgment sent {"connection_id":185557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:46:14] local.INFO: TCP Data received {"connection_id":186863,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:46:14] local.INFO: Processing buffer {"connection_id":186863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:46:14] local.INFO: IMEI packet received {"connection_id":186863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":186863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:46:20] local.INFO: TCP Data received {"connection_id":186863,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:46:20] local.INFO: Processing buffer {"connection_id":186863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:46:20] local.INFO: IMEI packet received {"connection_id":186863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":186863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:46:21] local.INFO: TCP Data received {"connection_id":186863,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:46:21] local.INFO: Processing buffer {"connection_id":186863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:46:21] local.INFO: Packet analysis {"connection_id":186863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:46:21] local.INFO: Extracted packet for processing {"connection_id":186863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":186863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:46:21] local.INFO: GPS data processed {"connection_id":186863,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:46:21] local.INFO: Acknowledgment sent {"connection_id":186863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:46:35] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:46:35] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:46:35] local.INFO: IMEI packet received {"connection_id":185413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":185413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:46:38] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:46:38] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:46:38] local.INFO: IMEI packet received {"connection_id":185413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":185413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:46:40] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:46:40] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:46:40] local.INFO: IMEI packet received {"connection_id":185413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":185413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:46:40] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4b8448012d803c0005df7998000a00962b..."} 
[2026-09-17 17:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4b8448012d803c0005df7998000a00962b..."} 
[2026-09-17 17:46:40] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4b8448012d803c0005df7998000a00962b..."} 
[2026-09-17 17:46:40] local.INFO: Packet analysis {"connection_id":188206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:46:40] local.INFO: Extracted packet for processing {"connection_id":188206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763378688,"raw_latitude":98531736,"longitude_deg":76.3378688,"latitude_deg":9.8531736,"altitude":10,"angle":150,"satellites":43,"speed":27,"hex_longitude":"2d803c00","hex_latitude":"05df7998","is_valid_coordinates":true} 
[2026-09-17 17:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149722368001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134444570992705536,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207468675445823488,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789647357000,"timestamp_ms":1789647357000,"timestamp_seconds":1789647357,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4b8448"} 
[2026-09-17 17:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 17:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149722368001,"66":13037,"121":206,"85":15104,"24":27,"16":134444570992705536,"45":-9207468675445823488},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-17 17:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149722368001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:46:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-17 17:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134444570992705536,"km_value":134444570992705.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207468675445823488,"description":"Unknown IO ID 45"} 
[2026-09-17 17:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149722368001,"power":13037,"unknown_121":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9207468675445823488}} 
[2026-09-17 17:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":188206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:46:40] local.INFO: GPS data processed {"connection_id":188206,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:46:40] local.INFO: Acknowledgment sent {"connection_id":188206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:46:41] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4a47e0012d196780071fece0003a011422..."} 
[2026-09-17 17:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4a47e0012d196780071fece0003a011422..."} 
[2026-09-17 17:46:41] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4a47e0012d196780071fece0003a011422..."} 
[2026-09-17 17:46:41] local.INFO: Packet analysis {"connection_id":185413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:46:41] local.INFO: Extracted packet for processing {"connection_id":185413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149697280001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647276000,"timestamp_ms":1789647276000,"timestamp_seconds":1789647276,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4a47e0"} 
[2026-09-17 17:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 17:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149697280001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149697280001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:46:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149697280001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":185413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:46:41] local.INFO: GPS data processed {"connection_id":185413,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:46:41] local.INFO: Acknowledgment sent {"connection_id":185413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:46:52] local.INFO: TCP Data received {"connection_id":186863,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:46:52] local.INFO: Processing buffer {"connection_id":186863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4761b0012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:46:52] local.INFO: Packet analysis {"connection_id":186863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:46:52] local.INFO: Extracted packet for processing {"connection_id":186863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af47"} 
[2026-09-17 17:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149576960001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789647086000,"timestamp_ms":1789647086000,"timestamp_seconds":1789647086,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4761b0"} 
[2026-09-17 17:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149576960001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149576960001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149576960001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":186863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:46:52] local.INFO: GPS data processed {"connection_id":186863,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:46:52] local.INFO: Acknowledgment sent {"connection_id":186863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:47:03] local.INFO: TCP Data received {"connection_id":185414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:47:03] local.INFO: Processing buffer {"connection_id":185414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:47:03] local.INFO: IMEI packet received {"connection_id":185414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":185414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:47:04] local.INFO: TCP Data received {"connection_id":185414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:47:04] local.INFO: Processing buffer {"connection_id":185414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:47:04] local.INFO: IMEI packet received {"connection_id":185414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":185414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:47:08] local.INFO: TCP Data received {"connection_id":185414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:47:08] local.INFO: Processing buffer {"connection_id":185414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:47:08] local.INFO: IMEI packet received {"connection_id":185414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":185414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:47:09] local.INFO: TCP Data received {"connection_id":185414,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4b97d0012d80428005df6f60000a00a22a..."} 
[2026-09-17 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4b97d0012d80428005df6f60000a00a22a..."} 
[2026-09-17 17:47:09] local.INFO: Processing buffer {"connection_id":185414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4b97d0012d80428005df6f60000a00a22a..."} 
[2026-09-17 17:47:09] local.INFO: Packet analysis {"connection_id":185414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:47:09] local.INFO: Extracted packet for processing {"connection_id":185414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763380352,"raw_latitude":98529120,"longitude_deg":76.3380352,"latitude_deg":9.852912,"altitude":10,"angle":162,"satellites":42,"speed":22,"hex_longitude":"2d804280","hex_latitude":"05df6f60","is_valid_coordinates":true} 
[2026-09-17 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149723392001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134444721316560896,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206483513028012032,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789647362000,"timestamp_ms":1789647362000,"timestamp_seconds":1789647362,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4b97d0"} 
[2026-09-17 17:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-17 17:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149723392001,"66":12906,"121":206,"85":15104,"24":22,"16":134444721316560896,"45":-9206483513028012032},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-17 17:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149723392001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:47:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-17 17:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134444721316560896,"km_value":134444721316560.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206483513028012032,"description":"Unknown IO ID 45"} 
[2026-09-17 17:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149723392001,"power":12906,"unknown_121":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9206483513028012032}} 
[2026-09-17 17:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":185414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:47:09] local.INFO: GPS data processed {"connection_id":185414,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:47:09] local.INFO: Acknowledgment sent {"connection_id":185414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:47:11] local.INFO: TCP Data received {"connection_id":185413,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4a99e8012d196780071fece0003a011429..."} 
[2026-09-17 17:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4a99e8012d196780071fece0003a011429..."} 
[2026-09-17 17:47:11] local.INFO: Processing buffer {"connection_id":185413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4a99e8012d196780071fece0003a011429..."} 
[2026-09-17 17:47:11] local.INFO: Packet analysis {"connection_id":185413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:47:11] local.INFO: Extracted packet for processing {"connection_id":185413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149702656001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789647297000,"timestamp_ms":1789647297000,"timestamp_seconds":1789647297,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4a99e8"} 
[2026-09-17 17:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 17:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149702656001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149702656001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:47:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149702656001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":185413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:47:12] local.INFO: GPS data processed {"connection_id":185413,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:47:12] local.INFO: Acknowledgment sent {"connection_id":185413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:47:14] local.INFO: TCP Data received {"connection_id":185558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:47:14] local.INFO: Processing buffer {"connection_id":185558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:47:14] local.INFO: IMEI packet received {"connection_id":185558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":185558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:47:20] local.INFO: TCP Data received {"connection_id":185558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:47:20] local.INFO: Processing buffer {"connection_id":185558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:47:20] local.INFO: IMEI packet received {"connection_id":185558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":185558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:47:21] local.INFO: TCP Data received {"connection_id":185558,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:47:21] local.INFO: Processing buffer {"connection_id":185558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:47:21] local.INFO: Packet analysis {"connection_id":185558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:47:21] local.INFO: Extracted packet for processing {"connection_id":185558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:47:21] 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-09-17 17:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":185558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:47:21] local.INFO: GPS data processed {"connection_id":185558,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:47:21] local.INFO: Acknowledgment sent {"connection_id":185558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:47:40] local.INFO: TCP Data received {"connection_id":185559,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:47:40] local.INFO: Processing buffer {"connection_id":185559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:47:40] local.INFO: IMEI packet received {"connection_id":185559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":185559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:47:41] local.INFO: TCP Data received {"connection_id":185559,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:47:41] local.INFO: Processing buffer {"connection_id":185559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:47:41] local.INFO: IMEI packet received {"connection_id":185559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":185559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:47:42] local.INFO: TCP Data received {"connection_id":185559,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4aebf0012d196780071fece0003a01142a..."} 
[2026-09-17 17:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4aebf0012d196780071fece0003a01142a..."} 
[2026-09-17 17:47:42] local.INFO: Processing buffer {"connection_id":185559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4aebf0012d196780071fece0003a01142a..."} 
[2026-09-17 17:47:42] local.INFO: Packet analysis {"connection_id":185559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:47:42] local.INFO: Extracted packet for processing {"connection_id":185559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4a"} 
[2026-09-17 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149708032001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789647318000,"timestamp_ms":1789647318000,"timestamp_seconds":1789647318,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4aebf0"} 
[2026-09-17 17:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 17:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":185559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":185559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":185559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149708032001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149708032001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:47:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149708032001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":185559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:47:42] local.INFO: GPS data processed {"connection_id":185559,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:47:42] local.INFO: Acknowledgment sent {"connection_id":185559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:47:48] local.INFO: TCP Data received {"connection_id":185414,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4ce3d8012d80674005de75f8000900cf2c..."} 
[2026-09-17 17:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4ce3d8012d80674005de75f8000900cf2c..."} 
[2026-09-17 17:47:48] local.INFO: Processing buffer {"connection_id":185414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4ce3d8012d80674005de75f8000900cf2c..."} 
[2026-09-17 17:47:48] local.INFO: Packet analysis {"connection_id":185414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:47:48] local.INFO: Extracted packet for processing {"connection_id":185414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:47:48] local.INFO: GPS Element Parsed {"raw_longitude":763389760,"raw_latitude":98465272,"longitude_deg":76.338976,"latitude_deg":9.8465272,"altitude":9,"angle":207,"satellites":44,"speed":25,"hex_longitude":"2d806740","hex_latitude":"05de75f8","is_valid_coordinates":true} 
[2026-09-17 17:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149745920001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134447921067196416,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193887507836909568,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789647447000,"timestamp_ms":1789647447000,"timestamp_seconds":1789647447,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4ce3d8"} 
[2026-09-17 17:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2941002864,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":32769,"corrected_to":0} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2153807877,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3169845255,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298333902,"corrected_to":0} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":98,"raw_value":4026609024,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252749,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2794258432,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3740909568,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57787457836307771,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":76,"raw_value":1499699970853388293,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.WARNING: Large IO value detected {"io_id":223,"raw_value":418834804012428288,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,99,85,24,241,157,16,167,160,200,45,128,137,8,44,10,66,188,147,9,173,1,240,161,227,175,222,4,113,205,29,98,97,40,42,239,50,2,221,5,248,76,223],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":200,"original":32769,"validated":0},{"io_id":205,"original":1298333902,"validated":0}]} 
[2026-09-17 17:47:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648727442530959360,"timestamp_seconds":648727442530959.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":185414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":185414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":185414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149745920001,"66":13243,"99":206,"85":15104,"24":25,"16":134447921067196416,"45":-9193887507836909568},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-17 17:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149745920001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:47:48] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 17:47:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134447921067196416,"km_value":134447921067196.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193887507836909568,"description":"Unknown IO ID 45"} 
[2026-09-17 17:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149745920001,"power":13243,"unknown_99":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9193887507836909568}} 
[2026-09-17 17:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":185414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:47:48] local.INFO: GPS data processed {"connection_id":185414,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:47:48] local.INFO: Acknowledgment sent {"connection_id":185414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:47:52] local.INFO: TCP Data received {"connection_id":185558,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:47:52] local.INFO: Processing buffer {"connection_id":185558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:47:52] local.INFO: Packet analysis {"connection_id":185558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:47:52] local.INFO: Extracted packet for processing {"connection_id":185558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:47:52] 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-09-17 17:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":185558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:47:52] local.INFO: GPS data processed {"connection_id":185558,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:47:52] local.INFO: Acknowledgment sent {"connection_id":185558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:48:03] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:48:03] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:48:03] local.INFO: IMEI packet received {"connection_id":185415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":185415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:48:04] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:48:04] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:48:04] local.INFO: IMEI packet received {"connection_id":185415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":185415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:48:08] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:48:08] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:48:08] local.INFO: IMEI packet received {"connection_id":185415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":185415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:48:09] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4ceba8012d8065c005de7100000900b92b..."} 
[2026-09-17 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4ceba8012d8065c005de7100000900b92b..."} 
[2026-09-17 17:48:09] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4ceba8012d8065c005de7100000900b92b..."} 
[2026-09-17 17:48:09] local.INFO: Packet analysis {"connection_id":185415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:48:09] local.INFO: Extracted packet for processing {"connection_id":185415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763389376,"raw_latitude":98464000,"longitude_deg":76.3389376,"latitude_deg":9.8464,"altitude":9,"angle":185,"satellites":43,"speed":27,"hex_longitude":"2d8065c0","hex_latitude":"05de7100","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149746432001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134447985491705856,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194309720302290944,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789647449000,"timestamp_ms":1789647449000,"timestamp_seconds":1789647449,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4ceba8"} 
[2026-09-17 17:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 17:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149746432001,"66":12298,"99":206,"85":15104,"24":27,"16":134447985491705856,"45":-9194309720302290944},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-17 17:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149746432001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:48:09] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 17:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134447985491705856,"km_value":134447985491705.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194309720302290944,"description":"Unknown IO ID 45"} 
[2026-09-17 17:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149746432001,"power":12298,"unknown_99":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9194309720302290944}} 
[2026-09-17 17:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":185415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:48:09] local.INFO: GPS data processed {"connection_id":185415,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:48:09] local.INFO: Acknowledgment sent {"connection_id":185415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:48:13] local.INFO: TCP Data received {"connection_id":185559,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4b3df8012d196780071fece0003a01142b..."} 
[2026-09-17 17:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4b3df8012d196780071fece0003a01142b..."} 
[2026-09-17 17:48:13] local.INFO: Processing buffer {"connection_id":185559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4b3df8012d196780071fece0003a01142b..."} 
[2026-09-17 17:48:13] local.INFO: Packet analysis {"connection_id":185559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:48:13] local.INFO: Extracted packet for processing {"connection_id":185559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149713408001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789647339000,"timestamp_ms":1789647339000,"timestamp_seconds":1789647339,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4b3df8"} 
[2026-09-17 17:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149713408001,"66":12156,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149713408001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:48:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149713408001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":185559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:48:13] local.INFO: GPS data processed {"connection_id":185559,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:48:13] local.INFO: Acknowledgment sent {"connection_id":185559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:48:20] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:48:20] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:48:20] local.INFO: IMEI packet received {"connection_id":186864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":186864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:48:25] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:48:25] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:48:25] local.INFO: IMEI packet received {"connection_id":186864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":186864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:48:26] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:48:26] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:48:26] local.INFO: Packet analysis {"connection_id":186864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:48:26] local.INFO: Extracted packet for processing {"connection_id":186864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:48:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:48:26] 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-09-17 17:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:48:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":186864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:48:26] local.INFO: GPS data processed {"connection_id":186864,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:48:26] local.INFO: Acknowledgment sent {"connection_id":186864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:48:30] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:48:30] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:48:30] local.INFO: Packet analysis {"connection_id":186864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:48:30] local.INFO: Extracted packet for processing {"connection_id":186864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:48:30] 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-09-17 17:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:48:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":186864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:48:30] local.INFO: GPS data processed {"connection_id":186864,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:48:30] local.INFO: Acknowledgment sent {"connection_id":186864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:48:35] local.INFO: TCP Data received {"connection_id":185416,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:48:35] local.INFO: Processing buffer {"connection_id":185416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:48:35] local.INFO: IMEI packet received {"connection_id":185416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":185416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:48:40] local.INFO: TCP Data received {"connection_id":185416,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:48:40] local.INFO: Processing buffer {"connection_id":185416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:48:40] local.INFO: IMEI packet received {"connection_id":185416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":185416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:48:40] local.INFO: TCP Data received {"connection_id":185415,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4cf378012d80660005de6b60000800ac2c..."} 
[2026-09-17 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4cf378012d80660005de6b60000800ac2c..."} 
[2026-09-17 17:48:40] local.INFO: Processing buffer {"connection_id":185415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4cf378012d80660005de6b60000800ac2c..."} 
[2026-09-17 17:48:40] local.INFO: Packet analysis {"connection_id":185415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:48:40] local.INFO: Extracted packet for processing {"connection_id":185415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763389440,"raw_latitude":98462560,"longitude_deg":76.338944,"latitude_deg":9.846256,"altitude":8,"angle":172,"satellites":44,"speed":30,"hex_longitude":"2d806600","hex_latitude":"05de6b60","is_valid_coordinates":true} 
[2026-09-17 17:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149746944001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134448058506149888,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194731932767682560,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789647451000,"timestamp_ms":1789647451000,"timestamp_seconds":1789647451,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4cf378"} 
[2026-09-17 17:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":423011981818593464,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437003354624,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186077,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5815164235890720671,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154102789,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3709278124859654350,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":32769,"corrected_to":0} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2480930825,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298333902,"corrected_to":0} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147868319,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184333,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2805071872,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3736924160,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":7,"raw_value":48458776457510912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-2810246167479189503,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.WARNING: Large IO value detected {"io_id":42,"raw_value":8444249301975044,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,99,85,24,241,157,16,167,160,227,45,64,117,9,44,10,66,220,192,122,200,128,1,240,175,222,4,113,205,31,173,103,88,43,239,50,2,221,5,7,166,42],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":200,"original":32769,"validated":0},{"io_id":205,"original":1298333902,"validated":0}]} 
[2026-09-17 17:48:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648721940677853184,"timestamp_seconds":648721940677853.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 17:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149746944001,"66":13222,"99":206,"85":15104,"24":30,"16":134448058506149888,"45":-9194731932767682560},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-17 17:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149746944001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:48:40] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-17 17:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134448058506149888,"km_value":134448058506149.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194731932767682560,"description":"Unknown IO ID 45"} 
[2026-09-17 17:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149746944001,"power":13222,"unknown_99":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9194731932767682560}} 
[2026-09-17 17:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":185415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:48:40] local.INFO: GPS data processed {"connection_id":185415,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:48:40] local.INFO: Acknowledgment sent {"connection_id":185415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:48:41] local.INFO: TCP Data received {"connection_id":185416,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4b9000012d196780071fece0003a01142b..."} 
[2026-09-17 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4b9000012d196780071fece0003a01142b..."} 
[2026-09-17 17:48:41] local.INFO: Processing buffer {"connection_id":185416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4b9000012d196780071fece0003a01142b..."} 
[2026-09-17 17:48:41] local.INFO: Packet analysis {"connection_id":185416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:48:41] local.INFO: Extracted packet for processing {"connection_id":185416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149718784001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647360000,"timestamp_ms":1789647360000,"timestamp_seconds":1789647360,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4b9000"} 
[2026-09-17 17:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-17 17:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149718784001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149718784001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:48:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149718784001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":185416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:48:41] local.INFO: GPS data processed {"connection_id":185416,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:48:41] local.INFO: Acknowledgment sent {"connection_id":185416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:49:03] local.INFO: TCP Data received {"connection_id":185561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:03] local.INFO: Processing buffer {"connection_id":185561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:03] local.INFO: IMEI packet received {"connection_id":185561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":185561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:49:04] local.INFO: TCP Data received {"connection_id":185561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:04] local.INFO: Processing buffer {"connection_id":185561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:04] local.INFO: IMEI packet received {"connection_id":185561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":185561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:49:04] local.INFO: TCP Data received {"connection_id":185561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:04] local.INFO: Processing buffer {"connection_id":185561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:04] local.INFO: IMEI packet received {"connection_id":185561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":185561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:49:05] local.INFO: TCP Data received {"connection_id":185561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:05] local.INFO: Processing buffer {"connection_id":185561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:49:05] local.INFO: IMEI packet received {"connection_id":185561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":185561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:49:12] local.INFO: TCP Data received {"connection_id":185416,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4be208012d196780071fece0003a011429..."} 
[2026-09-17 17:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4be208012d196780071fece0003a011429..."} 
[2026-09-17 17:49:12] local.INFO: Processing buffer {"connection_id":185416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4be208012d196780071fece0003a011429..."} 
[2026-09-17 17:49:12] local.INFO: Packet analysis {"connection_id":185416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:49:12] local.INFO: Extracted packet for processing {"connection_id":185416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149724160001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647381000,"timestamp_ms":1789647381000,"timestamp_seconds":1789647381,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4be208"} 
[2026-09-17 17:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149724160001,"66":12526,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149724160001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:49:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149724160001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":185416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:49:12] local.INFO: GPS data processed {"connection_id":185416,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:49:12] local.INFO: Acknowledgment sent {"connection_id":185416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:49:15] local.INFO: TCP Data received {"connection_id":185418,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:49:15] local.INFO: Processing buffer {"connection_id":185418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:49:15] local.INFO: IMEI packet received {"connection_id":185418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":185418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:49:20] local.INFO: TCP Data received {"connection_id":185418,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:49:20] local.INFO: Processing buffer {"connection_id":185418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:49:20] local.INFO: IMEI packet received {"connection_id":185418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":185418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:49:21] local.INFO: TCP Data received {"connection_id":185418,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:49:21] local.INFO: Processing buffer {"connection_id":185418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:49:21] local.INFO: Packet analysis {"connection_id":185418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:49:21] local.INFO: Extracted packet for processing {"connection_id":185418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:49:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:49:21] 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-09-17 17:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:49:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":185418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:49:21] local.INFO: GPS data processed {"connection_id":185418,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:49:21] local.INFO: Acknowledgment sent {"connection_id":185418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:49:35] local.INFO: TCP Data received {"connection_id":185562,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:49:35] local.INFO: Processing buffer {"connection_id":185562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:49:35] local.INFO: IMEI packet received {"connection_id":185562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":185562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:49:40] local.INFO: TCP Data received {"connection_id":185562,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:49:40] local.INFO: Processing buffer {"connection_id":185562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:49:40] local.INFO: IMEI packet received {"connection_id":185562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":185562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:49:41] local.INFO: TCP Data received {"connection_id":185562,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4c3410012d196780071fece0003a01142a..."} 
[2026-09-17 17:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4c3410012d196780071fece0003a01142a..."} 
[2026-09-17 17:49:41] local.INFO: Processing buffer {"connection_id":185562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4c3410012d196780071fece0003a01142a..."} 
[2026-09-17 17:49:41] local.INFO: Packet analysis {"connection_id":185562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:49:41] local.INFO: Extracted packet for processing {"connection_id":185562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149729536001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647402000,"timestamp_ms":1789647402000,"timestamp_seconds":1789647402,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4c3410"} 
[2026-09-17 17:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 17:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149729536001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149729536001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:49:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149729536001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":185562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:49:41] local.INFO: GPS data processed {"connection_id":185562,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:49:41] local.INFO: Acknowledgment sent {"connection_id":185562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:50:00] local.INFO: TCP Data received {"connection_id":185418,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:50:00] local.INFO: Processing buffer {"connection_id":185418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:50:00] local.INFO: Packet analysis {"connection_id":185418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:50:00] local.INFO: Extracted packet for processing {"connection_id":185418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":185418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":185418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":185418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:50:00] 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-09-17 17:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:50:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":185418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:50:00] local.INFO: GPS data processed {"connection_id":185418,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:50:00] local.INFO: Acknowledgment sent {"connection_id":185418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:50:12] local.INFO: TCP Data received {"connection_id":185562,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4c8618012d196780071fece0003a011427..."} 
[2026-09-17 17:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4c8618012d196780071fece0003a011427..."} 
[2026-09-17 17:50:12] local.INFO: Processing buffer {"connection_id":185562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4c8618012d196780071fece0003a011427..."} 
[2026-09-17 17:50:12] local.INFO: Packet analysis {"connection_id":185562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:50:12] local.INFO: Extracted packet for processing {"connection_id":185562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149734912001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647423000,"timestamp_ms":1789647423000,"timestamp_seconds":1789647423,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4c8618"} 
[2026-09-17 17:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 17:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149734912001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149734912001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:50:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149734912001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":185562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:50:12] local.INFO: GPS data processed {"connection_id":185562,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:50:12] local.INFO: Acknowledgment sent {"connection_id":185562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:50:15] local.INFO: TCP Data received {"connection_id":186866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:50:15] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:50:15] local.INFO: IMEI packet received {"connection_id":186866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":186866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:50:20] local.INFO: TCP Data received {"connection_id":186866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:50:20] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:50:20] local.INFO: IMEI packet received {"connection_id":186866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":186866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:50:21] local.INFO: TCP Data received {"connection_id":186866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:50:21] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:50:21] local.INFO: Packet analysis {"connection_id":186866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:50:21] local.INFO: Extracted packet for processing {"connection_id":186866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:50:21] 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-09-17 17:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":186866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:50:21] local.INFO: GPS data processed {"connection_id":186866,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:50:21] local.INFO: Acknowledgment sent {"connection_id":186866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:50:35] local.INFO: TCP Data received {"connection_id":185563,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:50:35] local.INFO: Processing buffer {"connection_id":185563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:50:35] local.INFO: IMEI packet received {"connection_id":185563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":185563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:50:40] local.INFO: TCP Data received {"connection_id":185563,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:50:40] local.INFO: Processing buffer {"connection_id":185563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:50:40] local.INFO: IMEI packet received {"connection_id":185563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":185563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:50:41] local.INFO: TCP Data received {"connection_id":185563,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4cd820012d196780071fece0003a01142a..."} 
[2026-09-17 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4cd820012d196780071fece0003a01142a..."} 
[2026-09-17 17:50:41] local.INFO: Processing buffer {"connection_id":185563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4cd820012d196780071fece0003a01142a..."} 
[2026-09-17 17:50:41] local.INFO: Packet analysis {"connection_id":185563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:50:41] local.INFO: Extracted packet for processing {"connection_id":185563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4c"} 
[2026-09-17 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149740288001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647444000,"timestamp_ms":1789647444000,"timestamp_seconds":1789647444,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4cd820"} 
[2026-09-17 17:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 17:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149740288001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149740288001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:50:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149740288001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":185563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:50:41] local.INFO: GPS data processed {"connection_id":185563,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:50:41] local.INFO: Acknowledgment sent {"connection_id":185563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:50:52] local.INFO: TCP Data received {"connection_id":186866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:50:52] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:50:52] local.INFO: Packet analysis {"connection_id":186866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:50:52] local.INFO: Extracted packet for processing {"connection_id":186866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:50:52] 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-09-17 17:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":186866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:50:52] local.INFO: GPS data processed {"connection_id":186866,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:50:52] local.INFO: Acknowledgment sent {"connection_id":186866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:51:05] local.INFO: TCP Data received {"connection_id":186867,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:51:05] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:51:05] local.INFO: IMEI packet received {"connection_id":186867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":186867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:51:12] local.INFO: TCP Data received {"connection_id":185563,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4d2a28012d196780071fece0003a01142d..."} 
[2026-09-17 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4d2a28012d196780071fece0003a01142d..."} 
[2026-09-17 17:51:12] local.INFO: Processing buffer {"connection_id":185563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4d2a28012d196780071fece0003a01142d..."} 
[2026-09-17 17:51:12] local.INFO: Packet analysis {"connection_id":185563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4d"} 
[2026-09-17 17:51:12] local.INFO: Extracted packet for processing {"connection_id":185563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4d"} 
[2026-09-17 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149745664001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647465000,"timestamp_ms":1789647465000,"timestamp_seconds":1789647465,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4d2a28"} 
[2026-09-17 17:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149745664001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149745664001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:51:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149745664001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":185563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:51:12] local.INFO: GPS data processed {"connection_id":185563,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:51:12] local.INFO: Acknowledgment sent {"connection_id":185563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:51:15] local.INFO: TCP Data received {"connection_id":185564,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:51:15] local.INFO: Processing buffer {"connection_id":185564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:51:15] local.INFO: IMEI packet received {"connection_id":185564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":185564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:51:20] local.INFO: TCP Data received {"connection_id":185564,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:51:20] local.INFO: Processing buffer {"connection_id":185564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:51:20] local.INFO: IMEI packet received {"connection_id":185564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":185564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:51:21] local.INFO: TCP Data received {"connection_id":185564,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:51:21] local.INFO: Processing buffer {"connection_id":185564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:51:21] local.INFO: Packet analysis {"connection_id":185564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:51:21] local.INFO: Extracted packet for processing {"connection_id":185564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:51:21] 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-09-17 17:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":185564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:51:21] local.INFO: GPS data processed {"connection_id":185564,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:51:21] local.INFO: Acknowledgment sent {"connection_id":185564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:51:36] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:51:36] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:51:36] local.INFO: IMEI packet received {"connection_id":188209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":188209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:51:40] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:51:40] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:51:40] local.INFO: IMEI packet received {"connection_id":188209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":188209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:51:41] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4d7c30012d196780071fece0003a01142c..."} 
[2026-09-17 17:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4d7c30012d196780071fece0003a01142c..."} 
[2026-09-17 17:51:41] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4d7c30012d196780071fece0003a01142c..."} 
[2026-09-17 17:51:41] local.INFO: Packet analysis {"connection_id":188209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4d"} 
[2026-09-17 17:51:41] local.INFO: Extracted packet for processing {"connection_id":188209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4d"} 
[2026-09-17 17:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:51: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-09-17 17:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149751040001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647486000,"timestamp_ms":1789647486000,"timestamp_seconds":1789647486,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4d7c30"} 
[2026-09-17 17:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:51: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-09-17 17:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149751040001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149751040001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:51:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149751040001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":188209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:51:41] local.INFO: GPS data processed {"connection_id":188209,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:51:41] local.INFO: Acknowledgment sent {"connection_id":188209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:51:50] local.INFO: TCP Data received {"connection_id":185565,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:51:50] local.INFO: Processing buffer {"connection_id":185565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:51:50] local.INFO: IMEI packet received {"connection_id":185565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":185565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:51:53] local.INFO: TCP Data received {"connection_id":185564,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:51:53] local.INFO: Processing buffer {"connection_id":185564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4bf978012d34c14006aa4440000a011828..."} 
[2026-09-17 17:51:53] local.INFO: Packet analysis {"connection_id":185564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:51:53] local.INFO: Extracted packet for processing {"connection_id":185564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4b"} 
[2026-09-17 17:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149654016001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789647387000,"timestamp_ms":1789647387000,"timestamp_seconds":1789647387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4bf978"} 
[2026-09-17 17:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:51:53] 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-09-17 17:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149654016001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149654016001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149654016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":185564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:51:53] local.INFO: GPS data processed {"connection_id":185564,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:51:53] local.INFO: Acknowledgment sent {"connection_id":185564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:52:12] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4dce38012d196780071fece0003a01142b..."} 
[2026-09-17 17:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4dce38012d196780071fece0003a01142b..."} 
[2026-09-17 17:52:12] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4dce38012d196780071fece0003a01142b..."} 
[2026-09-17 17:52:12] local.INFO: Packet analysis {"connection_id":188209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4d"} 
[2026-09-17 17:52:12] local.INFO: Extracted packet for processing {"connection_id":188209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4d"} 
[2026-09-17 17:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149756416001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647507000,"timestamp_ms":1789647507000,"timestamp_seconds":1789647507,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4dce38"} 
[2026-09-17 17:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149756416001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149756416001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:52:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149756416001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":188209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:52:12] local.INFO: GPS data processed {"connection_id":188209,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:52:12] local.INFO: Acknowledgment sent {"connection_id":188209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:52:14] local.INFO: TCP Data received {"connection_id":188210,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:52:14] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:52:14] local.INFO: IMEI packet received {"connection_id":188210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":188210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:52:20] local.INFO: TCP Data received {"connection_id":188210,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:52:20] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:52:20] local.INFO: IMEI packet received {"connection_id":188210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":188210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:52:21] local.INFO: TCP Data received {"connection_id":188210,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:52:21] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:52:21] local.INFO: Packet analysis {"connection_id":188210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:52:21] local.INFO: Extracted packet for processing {"connection_id":188210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:52:21] 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-09-17 17:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":188210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:52:21] local.INFO: GPS data processed {"connection_id":188210,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:52:21] local.INFO: Acknowledgment sent {"connection_id":188210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:52:35] local.INFO: TCP Data received {"connection_id":185420,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:52:35] local.INFO: Processing buffer {"connection_id":185420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:52:35] local.INFO: IMEI packet received {"connection_id":185420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":185420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:52:35] local.INFO: TCP Data received {"connection_id":185420,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:52:35] local.INFO: Processing buffer {"connection_id":185420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:52:35] local.INFO: IMEI packet received {"connection_id":185420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":185420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:52:40] local.INFO: TCP Data received {"connection_id":185420,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:52:40] local.INFO: Processing buffer {"connection_id":185420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:52:40] local.INFO: IMEI packet received {"connection_id":185420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":185420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:52:41] local.INFO: TCP Data received {"connection_id":185420,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4e2040012d196780071fece0003a01142c..."} 
[2026-09-17 17:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4e2040012d196780071fece0003a01142c..."} 
[2026-09-17 17:52:41] local.INFO: Processing buffer {"connection_id":185420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4e2040012d196780071fece0003a01142c..."} 
[2026-09-17 17:52:41] local.INFO: Packet analysis {"connection_id":185420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4e"} 
[2026-09-17 17:52:41] local.INFO: Extracted packet for processing {"connection_id":185420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4e"} 
[2026-09-17 17:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149761792001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647528000,"timestamp_ms":1789647528000,"timestamp_seconds":1789647528,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4e2040"} 
[2026-09-17 17:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149761792001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149761792001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:52:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149761792001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":185420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:52:41] local.INFO: GPS data processed {"connection_id":185420,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:52:41] local.INFO: Acknowledgment sent {"connection_id":185420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:52:52] local.INFO: TCP Data received {"connection_id":188210,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:52:52] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:52:52] local.INFO: Packet analysis {"connection_id":188210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:52:52] local.INFO: Extracted packet for processing {"connection_id":188210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:52:52] 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-09-17 17:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":188210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:52:52] local.INFO: GPS data processed {"connection_id":188210,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:52:52] local.INFO: Acknowledgment sent {"connection_id":188210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:53:12] local.INFO: TCP Data received {"connection_id":185420,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4e7248012d196780071fece0003a01142b..."} 
[2026-09-17 17:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4e7248012d196780071fece0003a01142b..."} 
[2026-09-17 17:53:12] local.INFO: Processing buffer {"connection_id":185420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4e7248012d196780071fece0003a01142b..."} 
[2026-09-17 17:53:12] local.INFO: Packet analysis {"connection_id":185420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4e"} 
[2026-09-17 17:53:12] local.INFO: Extracted packet for processing {"connection_id":185420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4e"} 
[2026-09-17 17:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149767168001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647549000,"timestamp_ms":1789647549000,"timestamp_seconds":1789647549,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4e7248"} 
[2026-09-17 17:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149767168001,"66":12515,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149767168001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:53:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149767168001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":185420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:53:12] local.INFO: GPS data processed {"connection_id":185420,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:53:12] local.INFO: Acknowledgment sent {"connection_id":185420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:53:20] local.INFO: TCP Data received {"connection_id":186871,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:53:20] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:53:20] local.INFO: IMEI packet received {"connection_id":186871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":186871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:53:25] local.INFO: TCP Data received {"connection_id":186871,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:53:25] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:53:25] local.INFO: IMEI packet received {"connection_id":186871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":186871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:53:26] local.INFO: TCP Data received {"connection_id":186871,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:53:26] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:53:26] local.INFO: Packet analysis {"connection_id":186871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:53:26] local.INFO: Extracted packet for processing {"connection_id":186871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:53:26] 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-09-17 17:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:53:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":186871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:53:26] local.INFO: GPS data processed {"connection_id":186871,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:53:26] local.INFO: Acknowledgment sent {"connection_id":186871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:53:30] local.INFO: TCP Data received {"connection_id":186871,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:53:30] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:53:30] local.INFO: Packet analysis {"connection_id":186871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:53:30] local.INFO: Extracted packet for processing {"connection_id":186871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:53:30] 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-09-17 17:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:53:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":186871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:53:30] local.INFO: GPS data processed {"connection_id":186871,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:53:30] local.INFO: Acknowledgment sent {"connection_id":186871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:53:35] local.INFO: TCP Data received {"connection_id":188211,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:53:35] local.INFO: Processing buffer {"connection_id":188211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:53:35] local.INFO: IMEI packet received {"connection_id":188211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":188211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:53:38] local.INFO: TCP Data received {"connection_id":188211,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:53:38] local.INFO: Processing buffer {"connection_id":188211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:53:38] local.INFO: IMEI packet received {"connection_id":188211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":188211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:53:41] local.INFO: TCP Data received {"connection_id":188211,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:53:41] local.INFO: Processing buffer {"connection_id":188211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:53:41] local.INFO: IMEI packet received {"connection_id":188211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":188211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:53:42] local.INFO: TCP Data received {"connection_id":188211,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4ec450012d196780071fece0003a01142b..."} 
[2026-09-17 17:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4ec450012d196780071fece0003a01142b..."} 
[2026-09-17 17:53:42] local.INFO: Processing buffer {"connection_id":188211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4ec450012d196780071fece0003a01142b..."} 
[2026-09-17 17:53:42] local.INFO: Packet analysis {"connection_id":188211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4e"} 
[2026-09-17 17:53:42] local.INFO: Extracted packet for processing {"connection_id":188211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4e"} 
[2026-09-17 17:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149772544001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789647570000,"timestamp_ms":1789647570000,"timestamp_seconds":1789647570,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4ec450"} 
[2026-09-17 17:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-17 17:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149772544001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149772544001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:53:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149772544001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":188211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:53:42] local.INFO: GPS data processed {"connection_id":188211,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:53:42] local.INFO: Acknowledgment sent {"connection_id":188211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:54:08] local.INFO: TCP Data received {"connection_id":185422,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:54:08] local.INFO: Processing buffer {"connection_id":185422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:54:08] local.INFO: IMEI packet received {"connection_id":185422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":185422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:54:13] local.INFO: TCP Data received {"connection_id":188211,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4f1658012d196780071fece0003a01142d..."} 
[2026-09-17 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4f1658012d196780071fece0003a01142d..."} 
[2026-09-17 17:54:13] local.INFO: Processing buffer {"connection_id":188211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4f1658012d196780071fece0003a01142d..."} 
[2026-09-17 17:54:13] local.INFO: Packet analysis {"connection_id":188211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4f"} 
[2026-09-17 17:54:13] local.INFO: Extracted packet for processing {"connection_id":188211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4f"} 
[2026-09-17 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149777920001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789647591000,"timestamp_ms":1789647591000,"timestamp_seconds":1789647591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4f1658"} 
[2026-09-17 17:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149777920001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149777920001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:54:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149777920001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":188211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:54:13] local.INFO: GPS data processed {"connection_id":188211,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:54:13] local.INFO: Acknowledgment sent {"connection_id":188211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:54:13] local.INFO: TCP Data received {"connection_id":185422,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af50c7f0012d7fa74005dc7d00000e010e2d..."} 
[2026-09-17 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af50c7f0012d7fa74005dc7d00000e010e2d..."} 
[2026-09-17 17:54:13] local.INFO: Processing buffer {"connection_id":185422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af50c7f0012d7fa74005dc7d00000e010e2d..."} 
[2026-09-17 17:54:13] local.INFO: Packet analysis {"connection_id":185422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:54:13] local.INFO: Extracted packet for processing {"connection_id":185422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":98336000,"longitude_deg":76.3340608,"latitude_deg":9.8336,"altitude":14,"angle":270,"satellites":45,"speed":24,"hex_longitude":"2d7fa740","hex_latitude":"05dc7d00","is_valid_coordinates":true} 
[2026-09-17 17:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149810688001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134456721455185920,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201768857566392320,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789647702000,"timestamp_ms":1789647702000,"timestamp_seconds":1789647702,"priority":1,"record_length":96,"hex_timestamp":"000001a0af50c7f0"} 
[2026-09-17 17:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 17:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149810688001,"66":12374,"251":206,"85":15104,"24":24,"16":134456721455185920,"45":9201768857566392320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-17 17:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149810688001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:54:13] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-17 17:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134456721455185920,"km_value":134456721455185.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201768857566392320,"description":"Unknown IO ID 45"} 
[2026-09-17 17:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149810688001,"power":12374,"unknown_251":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9201768857566392320}} 
[2026-09-17 17:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":185422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:54:13] local.INFO: GPS data processed {"connection_id":185422,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:54:13] local.INFO: Acknowledgment sent {"connection_id":185422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:54:15] local.INFO: TCP Data received {"connection_id":185567,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:54:15] local.INFO: Processing buffer {"connection_id":185567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:54:15] local.INFO: IMEI packet received {"connection_id":185567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":185567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:54:20] local.INFO: TCP Data received {"connection_id":185567,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:54:20] local.INFO: Processing buffer {"connection_id":185567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:54:20] local.INFO: IMEI packet received {"connection_id":185567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":185567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:54:21] local.INFO: TCP Data received {"connection_id":185567,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:54:21] local.INFO: Processing buffer {"connection_id":185567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:54:21] local.INFO: Packet analysis {"connection_id":185567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:54:21] local.INFO: Extracted packet for processing {"connection_id":185567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":185567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:54:21] local.INFO: GPS data processed {"connection_id":185567,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:54:21] local.INFO: Acknowledgment sent {"connection_id":185567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:54:25] local.INFO: TCP Data received {"connection_id":185567,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:54:25] local.INFO: Processing buffer {"connection_id":185567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:54:25] local.INFO: Packet analysis {"connection_id":185567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:54:25] local.INFO: Extracted packet for processing {"connection_id":185567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":185567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:54:25] local.INFO: GPS data processed {"connection_id":185567,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:54:25] local.INFO: Acknowledgment sent {"connection_id":185567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:54:40] local.INFO: TCP Data received {"connection_id":186872,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:54:40] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:54:40] local.INFO: IMEI packet received {"connection_id":186872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":186872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:54:41] local.INFO: TCP Data received {"connection_id":186872,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:54:41] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:54:41] local.INFO: IMEI packet received {"connection_id":186872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":186872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:54:42] local.INFO: TCP Data received {"connection_id":186872,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4f6860012d196780071fece0003a01142b..."} 
[2026-09-17 17:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4f6860012d196780071fece0003a01142b..."} 
[2026-09-17 17:54:42] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4f6860012d196780071fece0003a01142b..."} 
[2026-09-17 17:54:42] local.INFO: Packet analysis {"connection_id":186872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4f"} 
[2026-09-17 17:54:42] local.INFO: Extracted packet for processing {"connection_id":186872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4f"} 
[2026-09-17 17:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149783296001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789647612000,"timestamp_ms":1789647612000,"timestamp_seconds":1789647612,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4f6860"} 
[2026-09-17 17:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149783296001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149783296001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:54:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149783296001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":186872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:54:42] local.INFO: GPS data processed {"connection_id":186872,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:54:42] local.INFO: Acknowledgment sent {"connection_id":186872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:54:46] local.INFO: TCP Data received {"connection_id":186872,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af4fba68012d196780071fece0003a011428..."} 
[2026-09-17 17:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af4fba68012d196780071fece0003a011428..."} 
[2026-09-17 17:54:46] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af4fba68012d196780071fece0003a011428..."} 
[2026-09-17 17:54:46] local.INFO: Packet analysis {"connection_id":186872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af4f"} 
[2026-09-17 17:54:46] local.INFO: Extracted packet for processing {"connection_id":186872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af4f"} 
[2026-09-17 17:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149788672001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789647633000,"timestamp_ms":1789647633000,"timestamp_seconds":1789647633,"priority":1,"record_length":96,"hex_timestamp":"000001a0af4fba68"} 
[2026-09-17 17:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149788672001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149788672001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:54:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149788672001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":186872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:54:46] local.INFO: GPS data processed {"connection_id":186872,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:54:46] local.INFO: Acknowledgment sent {"connection_id":186872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:54:57] local.INFO: TCP Data received {"connection_id":185567,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:54:57] local.INFO: Processing buffer {"connection_id":185567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:54:57] local.INFO: Packet analysis {"connection_id":185567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:54:57] local.INFO: Extracted packet for processing {"connection_id":185567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:54:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:54:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":185567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:54:57] local.INFO: GPS data processed {"connection_id":185567,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:54:57] local.INFO: Acknowledgment sent {"connection_id":185567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:55:15] local.INFO: TCP Data received {"connection_id":185423,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:55:15] local.INFO: Processing buffer {"connection_id":185423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:55:15] local.INFO: IMEI packet received {"connection_id":185423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":185423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:55:17] local.INFO: TCP Data received {"connection_id":186872,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af500c70012d196780071fece0003a01142a..."} 
[2026-09-17 17:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af500c70012d196780071fece0003a01142a..."} 
[2026-09-17 17:55:17] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af500c70012d196780071fece0003a01142a..."} 
[2026-09-17 17:55:17] local.INFO: Packet analysis {"connection_id":186872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:55:17] local.INFO: Extracted packet for processing {"connection_id":186872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149794048001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789647654000,"timestamp_ms":1789647654000,"timestamp_seconds":1789647654,"priority":1,"record_length":96,"hex_timestamp":"000001a0af500c70"} 
[2026-09-17 17:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149794048001,"66":12526,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149794048001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:55:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149794048001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":186872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:55:17] local.INFO: GPS data processed {"connection_id":186872,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:55:17] local.INFO: Acknowledgment sent {"connection_id":186872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:55:20] local.INFO: TCP Data received {"connection_id":185423,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:55:20] local.INFO: Processing buffer {"connection_id":185423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:55:20] local.INFO: IMEI packet received {"connection_id":185423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":185423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:55:21] local.INFO: TCP Data received {"connection_id":185423,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:55:21] local.INFO: Processing buffer {"connection_id":185423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:55:21] local.INFO: Packet analysis {"connection_id":185423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:55:21] local.INFO: Extracted packet for processing {"connection_id":185423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:55:21] 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-09-17 17:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":185423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:55:21] local.INFO: GPS data processed {"connection_id":185423,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:55:21] local.INFO: Acknowledgment sent {"connection_id":185423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:55:35] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:55:35] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:55:35] local.INFO: IMEI packet received {"connection_id":186874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":186874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:55:40] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:55:40] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:55:40] local.INFO: IMEI packet received {"connection_id":186874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":186874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:55:41] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af505e78012d196780071fece0003a01142c..."} 
[2026-09-17 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af505e78012d196780071fece0003a01142c..."} 
[2026-09-17 17:55:41] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af505e78012d196780071fece0003a01142c..."} 
[2026-09-17 17:55:41] local.INFO: Packet analysis {"connection_id":186874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:55:41] local.INFO: Extracted packet for processing {"connection_id":186874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149799424001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647675000,"timestamp_ms":1789647675000,"timestamp_seconds":1789647675,"priority":1,"record_length":96,"hex_timestamp":"000001a0af505e78"} 
[2026-09-17 17:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 17:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149799424001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149799424001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:55:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149799424001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":186874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:55:41] local.INFO: GPS data processed {"connection_id":186874,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:55:41] local.INFO: Acknowledgment sent {"connection_id":186874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:55:52] local.INFO: TCP Data received {"connection_id":185423,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:55:52] local.INFO: Processing buffer {"connection_id":185423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:55:52] local.INFO: Packet analysis {"connection_id":185423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:55:52] local.INFO: Extracted packet for processing {"connection_id":185423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:55:52] 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-09-17 17:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":185423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:55:52] local.INFO: GPS data processed {"connection_id":185423,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:55:52] local.INFO: Acknowledgment sent {"connection_id":185423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:56:12] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af50b080012d196780071fece0003a01142c..."} 
[2026-09-17 17:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af50b080012d196780071fece0003a01142c..."} 
[2026-09-17 17:56:12] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af50b080012d196780071fece0003a01142c..."} 
[2026-09-17 17:56:12] local.INFO: Packet analysis {"connection_id":186874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:56:12] local.INFO: Extracted packet for processing {"connection_id":186874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149804800001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647696000,"timestamp_ms":1789647696000,"timestamp_seconds":1789647696,"priority":1,"record_length":96,"hex_timestamp":"000001a0af50b080"} 
[2026-09-17 17:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149804800001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149804800001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:56:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149804800001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":186874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:56:12] local.INFO: GPS data processed {"connection_id":186874,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:56:12] local.INFO: Acknowledgment sent {"connection_id":186874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:56:15] local.INFO: TCP Data received {"connection_id":185569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:56:15] local.INFO: Processing buffer {"connection_id":185569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:56:15] local.INFO: IMEI packet received {"connection_id":185569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":185569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:56:20] local.INFO: TCP Data received {"connection_id":185569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:56:20] local.INFO: Processing buffer {"connection_id":185569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:56:20] local.INFO: IMEI packet received {"connection_id":185569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":185569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:56:21] local.INFO: TCP Data received {"connection_id":185569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:56:21] local.INFO: Processing buffer {"connection_id":185569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:56:21] local.INFO: Packet analysis {"connection_id":185569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:56:21] local.INFO: Extracted packet for processing {"connection_id":185569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:56:21] 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-09-17 17:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":185569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:56:21] local.INFO: GPS data processed {"connection_id":185569,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:56:21] local.INFO: Acknowledgment sent {"connection_id":185569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:56:35] local.INFO: TCP Data received {"connection_id":185424,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:56:35] local.INFO: Processing buffer {"connection_id":185424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:56:35] local.INFO: IMEI packet received {"connection_id":185424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":185424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:56:40] local.INFO: TCP Data received {"connection_id":185424,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:56:40] local.INFO: Processing buffer {"connection_id":185424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:56:40] local.INFO: IMEI packet received {"connection_id":185424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":185424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:56:41] local.INFO: TCP Data received {"connection_id":185424,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af510288012d196780071fece0003a01142d..."} 
[2026-09-17 17:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af510288012d196780071fece0003a01142d..."} 
[2026-09-17 17:56:41] local.INFO: Processing buffer {"connection_id":185424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af510288012d196780071fece0003a01142d..."} 
[2026-09-17 17:56:41] local.INFO: Packet analysis {"connection_id":185424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af51"} 
[2026-09-17 17:56:41] local.INFO: Extracted packet for processing {"connection_id":185424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af51"} 
[2026-09-17 17:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149810176001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647717000,"timestamp_ms":1789647717000,"timestamp_seconds":1789647717,"priority":1,"record_length":96,"hex_timestamp":"000001a0af510288"} 
[2026-09-17 17:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149810176001,"66":12004,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149810176001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:56:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149810176001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":185424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:56:41] local.INFO: GPS data processed {"connection_id":185424,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:56:41] local.INFO: Acknowledgment sent {"connection_id":185424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:56:53] local.INFO: TCP Data received {"connection_id":185569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:56:53] local.INFO: Processing buffer {"connection_id":185569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af509140012d34c14006aa4440000a01182a..."} 
[2026-09-17 17:56:53] local.INFO: Packet analysis {"connection_id":185569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:56:53] local.INFO: Extracted packet for processing {"connection_id":185569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af50"} 
[2026-09-17 17:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149731072001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789647688000,"timestamp_ms":1789647688000,"timestamp_seconds":1789647688,"priority":1,"record_length":96,"hex_timestamp":"000001a0af509140"} 
[2026-09-17 17:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:56:53] 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-09-17 17:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149731072001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149731072001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149731072001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":185569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:56:53] local.INFO: GPS data processed {"connection_id":185569,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:56:53] local.INFO: Acknowledgment sent {"connection_id":185569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:57:12] local.INFO: TCP Data received {"connection_id":185424,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5488e0012d196780071fece0003a011425..."} 
[2026-09-17 17:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5488e0012d196780071fece0003a011425..."} 
[2026-09-17 17:57:12] local.INFO: Processing buffer {"connection_id":185424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5488e0012d196780071fece0003a011425..."} 
[2026-09-17 17:57:12] local.INFO: Packet analysis {"connection_id":185424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af54"} 
[2026-09-17 17:57:12] local.INFO: Extracted packet for processing {"connection_id":185424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af54"} 
[2026-09-17 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149869312001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647948000,"timestamp_ms":1789647948000,"timestamp_seconds":1789647948,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5488e0"} 
[2026-09-17 17:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149869312001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149869312001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:57:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149869312001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":185424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:57:12] local.INFO: GPS data processed {"connection_id":185424,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:57:12] local.INFO: Acknowledgment sent {"connection_id":185424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:57:15] local.INFO: TCP Data received {"connection_id":185570,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:57:15] local.INFO: Processing buffer {"connection_id":185570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:57:15] local.INFO: IMEI packet received {"connection_id":185570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":185570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:57:15] local.INFO: TCP Data received {"connection_id":185425,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:57:15] local.INFO: Processing buffer {"connection_id":185425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:57:15] local.INFO: IMEI packet received {"connection_id":185425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":185425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:57:20] local.INFO: TCP Data received {"connection_id":185570,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:57:20] local.INFO: Processing buffer {"connection_id":185570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:57:20] local.INFO: IMEI packet received {"connection_id":185570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":185570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:57:21] local.INFO: TCP Data received {"connection_id":185570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:57:21] local.INFO: Processing buffer {"connection_id":185570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:57:21] local.INFO: Packet analysis {"connection_id":185570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:57:21] local.INFO: Extracted packet for processing {"connection_id":185570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 17:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:57:21] 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-09-17 17:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":185570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:57:21] local.INFO: GPS data processed {"connection_id":185570,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:57:21] local.INFO: Acknowledgment sent {"connection_id":185570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:57:35] local.INFO: TCP Data received {"connection_id":186875,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:57:35] local.INFO: Processing buffer {"connection_id":186875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:57:35] local.INFO: IMEI packet received {"connection_id":186875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":186875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:57:40] local.INFO: TCP Data received {"connection_id":186875,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:57:40] local.INFO: Processing buffer {"connection_id":186875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:57:40] local.INFO: IMEI packet received {"connection_id":186875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":186875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:57:41] local.INFO: TCP Data received {"connection_id":186875,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af54dae8012d196780071fece0003a011428..."} 
[2026-09-17 17:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af54dae8012d196780071fece0003a011428..."} 
[2026-09-17 17:57:41] local.INFO: Processing buffer {"connection_id":186875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af54dae8012d196780071fece0003a011428..."} 
[2026-09-17 17:57:41] local.INFO: Packet analysis {"connection_id":186875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af54"} 
[2026-09-17 17:57:41] local.INFO: Extracted packet for processing {"connection_id":186875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af54"} 
[2026-09-17 17:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149874688001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789647969000,"timestamp_ms":1789647969000,"timestamp_seconds":1789647969,"priority":1,"record_length":96,"hex_timestamp":"000001a0af54dae8"} 
[2026-09-17 17:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149874688001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149874688001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:57:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149874688001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":186875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:57:41] local.INFO: GPS data processed {"connection_id":186875,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:57:41] local.INFO: Acknowledgment sent {"connection_id":186875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:57:49] local.INFO: TCP Data received {"connection_id":185571,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:57:49] local.INFO: Processing buffer {"connection_id":185571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 17:57:49] local.INFO: IMEI packet received {"connection_id":185571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 17:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":185571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:57:53] local.INFO: TCP Data received {"connection_id":185570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:57:53] local.INFO: Processing buffer {"connection_id":185570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:57:53] local.INFO: Packet analysis {"connection_id":185570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:57:53] local.INFO: Extracted packet for processing {"connection_id":185570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 17:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:57:53] 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-09-17 17:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":185570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:57:53] local.INFO: GPS data processed {"connection_id":185570,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:57:53] local.INFO: Acknowledgment sent {"connection_id":185570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:58:12] local.INFO: TCP Data received {"connection_id":186875,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552cf0012d196780071fece0003a01142c..."} 
[2026-09-17 17:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552cf0012d196780071fece0003a01142c..."} 
[2026-09-17 17:58:12] local.INFO: Processing buffer {"connection_id":186875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552cf0012d196780071fece0003a01142c..."} 
[2026-09-17 17:58:12] local.INFO: Packet analysis {"connection_id":186875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:58:12] local.INFO: Extracted packet for processing {"connection_id":186875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149880064001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789647990000,"timestamp_ms":1789647990000,"timestamp_seconds":1789647990,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552cf0"} 
[2026-09-17 17:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149880064001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149880064001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:58:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:58:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149880064001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":186875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:58:12] local.INFO: GPS data processed {"connection_id":186875,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:58:12] local.INFO: Acknowledgment sent {"connection_id":186875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:58:20] local.INFO: TCP Data received {"connection_id":185572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:58:20] local.INFO: Processing buffer {"connection_id":185572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:58:20] local.INFO: IMEI packet received {"connection_id":185572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":185572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:58:25] local.INFO: TCP Data received {"connection_id":185572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:58:25] local.INFO: Processing buffer {"connection_id":185572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:58:25] local.INFO: IMEI packet received {"connection_id":185572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":185572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:58:26] local.INFO: TCP Data received {"connection_id":185572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:58:26] local.INFO: Processing buffer {"connection_id":185572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:58:26] local.INFO: Packet analysis {"connection_id":185572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:58:26] local.INFO: Extracted packet for processing {"connection_id":185572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 17:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:58:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":185572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:58:26] local.INFO: GPS data processed {"connection_id":185572,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:58:26] local.INFO: Acknowledgment sent {"connection_id":185572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:58:30] local.INFO: TCP Data received {"connection_id":185572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:58:30] local.INFO: Processing buffer {"connection_id":185572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:58:30] local.INFO: Packet analysis {"connection_id":185572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:58:30] local.INFO: Extracted packet for processing {"connection_id":185572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 17:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":185572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:58:30] local.INFO: GPS data processed {"connection_id":185572,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:58:30] local.INFO: Acknowledgment sent {"connection_id":185572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:58:35] local.INFO: TCP Data received {"connection_id":185426,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:58:35] local.INFO: Processing buffer {"connection_id":185426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:58:35] local.INFO: IMEI packet received {"connection_id":185426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":185426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:58:40] local.INFO: TCP Data received {"connection_id":185426,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:58:40] local.INFO: Processing buffer {"connection_id":185426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:58:40] local.INFO: IMEI packet received {"connection_id":185426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":185426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:58:41] local.INFO: TCP Data received {"connection_id":185426,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af557ef8012d196780071fece0003a01142a..."} 
[2026-09-17 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af557ef8012d196780071fece0003a01142a..."} 
[2026-09-17 17:58:41] local.INFO: Processing buffer {"connection_id":185426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af557ef8012d196780071fece0003a01142a..."} 
[2026-09-17 17:58:41] local.INFO: Packet analysis {"connection_id":185426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:58:41] local.INFO: Extracted packet for processing {"connection_id":185426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:58: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-09-17 17:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149885440001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648011000,"timestamp_ms":1789648011000,"timestamp_seconds":1789648011,"priority":1,"record_length":96,"hex_timestamp":"000001a0af557ef8"} 
[2026-09-17 17:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 17:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:58: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-09-17 17:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149885440001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149885440001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:58:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149885440001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":185426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:58:41] local.INFO: GPS data processed {"connection_id":185426,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:58:41] local.INFO: Acknowledgment sent {"connection_id":185426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:59:12] local.INFO: TCP Data received {"connection_id":185426,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af55d100012d196780071fece0003a01142c..."} 
[2026-09-17 17:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af55d100012d196780071fece0003a01142c..."} 
[2026-09-17 17:59:12] local.INFO: Processing buffer {"connection_id":185426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af55d100012d196780071fece0003a01142c..."} 
[2026-09-17 17:59:12] local.INFO: Packet analysis {"connection_id":185426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:59:12] local.INFO: Extracted packet for processing {"connection_id":185426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149890816001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648032000,"timestamp_ms":1789648032000,"timestamp_seconds":1789648032,"priority":1,"record_length":96,"hex_timestamp":"000001a0af55d100"} 
[2026-09-17 17:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 17:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149890816001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149890816001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:59:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149890816001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":185426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:59:12] local.INFO: GPS data processed {"connection_id":185426,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:59:12] local.INFO: Acknowledgment sent {"connection_id":185426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:59:16] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:59:16] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:59:16] local.INFO: IMEI packet received {"connection_id":188213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 17:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":188213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:59:20] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:59:20] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 17:59:20] local.INFO: IMEI packet received {"connection_id":188213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 17:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":188213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:59:22] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:59:22] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:59:22] local.INFO: Packet analysis {"connection_id":188213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:59:22] local.INFO: Extracted packet for processing {"connection_id":188213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 17:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":188213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:59:22] local.INFO: GPS data processed {"connection_id":188213,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:59:22] local.INFO: Acknowledgment sent {"connection_id":188213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:59:23] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:59:23] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:59:23] local.INFO: IMEI packet received {"connection_id":188214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 17:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":188214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:59:26] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:59:26] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:59:26] local.INFO: Packet analysis {"connection_id":188213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:59:26] local.INFO: Extracted packet for processing {"connection_id":188213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 17:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:59:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":188213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:59:26] local.INFO: GPS data processed {"connection_id":188213,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:59:26] local.INFO: Acknowledgment sent {"connection_id":188213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:59:28] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:59:28] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 17:59:28] local.INFO: IMEI packet received {"connection_id":188214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 17:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":188214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:59:29] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 17:59:29] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 17:59:29] local.INFO: Packet analysis {"connection_id":188214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 17:59:29] local.INFO: Extracted packet for processing {"connection_id":188214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":98330000,"longitude_deg":76.3340096,"latitude_deg":9.833,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa540","hex_latitude":"05dc6590","is_valid_coordinates":true} 
[2026-09-17 17:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850112001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789647853000,"timestamp_ms":1789647853000,"timestamp_seconds":1789647853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5315c8"} 
[2026-09-17 17:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-17 17:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 17:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 17:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 17:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850112001,"66":14298,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 17:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 17:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 17:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850112001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:59:29] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 17:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 17:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 17:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850112001,"power":14298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 17:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":188214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:59:29] local.INFO: GPS data processed {"connection_id":188214,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:59:29] local.INFO: Acknowledgment sent {"connection_id":188214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:59:35] local.INFO: TCP Data received {"connection_id":185573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:59:35] local.INFO: Processing buffer {"connection_id":185573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:59:35] local.INFO: IMEI packet received {"connection_id":185573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 17:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":185573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 17:59:35] local.INFO: TCP Data received {"connection_id":185573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:59:35] local.INFO: Processing buffer {"connection_id":185573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:59:35] local.INFO: IMEI packet received {"connection_id":185573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":185573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:59:40] local.INFO: TCP Data received {"connection_id":185573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:59:40] local.INFO: Processing buffer {"connection_id":185573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 17:59:40] local.INFO: IMEI packet received {"connection_id":185573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 17:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":185573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 17:59:41] local.INFO: TCP Data received {"connection_id":185573,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af562308012d196780071fece0003a01142c..."} 
[2026-09-17 17:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af562308012d196780071fece0003a01142c..."} 
[2026-09-17 17:59:41] local.INFO: Processing buffer {"connection_id":185573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af562308012d196780071fece0003a01142c..."} 
[2026-09-17 17:59:41] local.INFO: Packet analysis {"connection_id":185573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af56"} 
[2026-09-17 17:59:41] local.INFO: Extracted packet for processing {"connection_id":185573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af56"} 
[2026-09-17 17:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 17: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-09-17 17:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149896192001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 17:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648053000,"timestamp_ms":1789648053000,"timestamp_seconds":1789648053,"priority":1,"record_length":96,"hex_timestamp":"000001a0af562308"} 
[2026-09-17 17:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 17:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17: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-09-17 17:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 17:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 17:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 17:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149896192001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 17:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 17:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 17:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149896192001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:59:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 17:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 17:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 17:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149896192001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 17:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":185573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:59:41] local.INFO: GPS data processed {"connection_id":185573,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:59:41] local.INFO: Acknowledgment sent {"connection_id":185573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 17:59:58] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:59:58] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 17:59:58] local.INFO: Packet analysis {"connection_id":188213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:59:58] local.INFO: Extracted packet for processing {"connection_id":188213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 17:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 17:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 17:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 17:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 17:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 17:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 17:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 17:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 17:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 17:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 17:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 17:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 17:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 17:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 17:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 17:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 17:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 17:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 17:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 17:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 17:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 17:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 17:59:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 17:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 17:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 17:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 17:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":188213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 17:59:58] local.INFO: GPS data processed {"connection_id":188213,"processed":1,"errors":0,"total":1} 
[2026-09-17 17:59:58] local.INFO: Acknowledgment sent {"connection_id":188213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:00:03] local.INFO: TCP Data received {"connection_id":186876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:00:03] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:00:03] local.INFO: IMEI packet received {"connection_id":186876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":186876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:00:08] local.INFO: TCP Data received {"connection_id":186876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:00:08] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:00:08] local.INFO: IMEI packet received {"connection_id":186876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":186876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:00:09] local.INFO: TCP Data received {"connection_id":186876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:00:09] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:00:09] local.INFO: Packet analysis {"connection_id":186876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:00:09] local.INFO: Extracted packet for processing {"connection_id":186876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":98330000,"longitude_deg":76.3340096,"latitude_deg":9.833,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa540","hex_latitude":"05dc6590","is_valid_coordinates":true} 
[2026-09-17 18:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789647853000,"timestamp_ms":1789647853000,"timestamp_seconds":1789647853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5315c8"} 
[2026-09-17 18:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":14298,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:00:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":14298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":186876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:00:09] local.INFO: GPS data processed {"connection_id":186876,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:00:09] local.INFO: Acknowledgment sent {"connection_id":186876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:00:12] local.INFO: TCP Data received {"connection_id":185573,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af567510012d196780071fece0003a01142b..."} 
[2026-09-17 18:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af567510012d196780071fece0003a01142b..."} 
[2026-09-17 18:00:12] local.INFO: Processing buffer {"connection_id":185573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af567510012d196780071fece0003a01142b..."} 
[2026-09-17 18:00:12] local.INFO: Packet analysis {"connection_id":185573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af56"} 
[2026-09-17 18:00:12] local.INFO: Extracted packet for processing {"connection_id":185573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af56"} 
[2026-09-17 18:00:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149901568001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648074000,"timestamp_ms":1789648074000,"timestamp_seconds":1789648074,"priority":1,"record_length":96,"hex_timestamp":"000001a0af567510"} 
[2026-09-17 18:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149901568001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149901568001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:00:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149901568001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":185573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:00:12] local.INFO: GPS data processed {"connection_id":185573,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:00:12] local.INFO: Acknowledgment sent {"connection_id":185573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:00:15] local.INFO: TCP Data received {"connection_id":185574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:00:15] local.INFO: Processing buffer {"connection_id":185574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:00:15] local.INFO: IMEI packet received {"connection_id":185574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":185574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:00:20] local.INFO: TCP Data received {"connection_id":185574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:00:20] local.INFO: Processing buffer {"connection_id":185574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:00:20] local.INFO: IMEI packet received {"connection_id":185574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":185574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:00:21] local.INFO: TCP Data received {"connection_id":185574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:00:21] local.INFO: Processing buffer {"connection_id":185574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:00:21] local.INFO: Packet analysis {"connection_id":185574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 18:00:21] local.INFO: Extracted packet for processing {"connection_id":185574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 18:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 18:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:00:21] 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-09-17 18:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":185574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:00:21] local.INFO: GPS data processed {"connection_id":185574,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:00:21] local.INFO: Acknowledgment sent {"connection_id":185574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:00:38] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:00:38] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:00:38] local.INFO: IMEI packet received {"connection_id":188216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":188216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:00:40] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:00:40] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:00:40] local.INFO: IMEI packet received {"connection_id":188216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":188216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:00:40] local.INFO: TCP Data received {"connection_id":186876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:00:40] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:00:40] local.INFO: Packet analysis {"connection_id":186876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:00:40] local.INFO: Extracted packet for processing {"connection_id":186876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":98330000,"longitude_deg":76.3340096,"latitude_deg":9.833,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa540","hex_latitude":"05dc6590","is_valid_coordinates":true} 
[2026-09-17 18:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789647853000,"timestamp_ms":1789647853000,"timestamp_seconds":1789647853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5315c8"} 
[2026-09-17 18:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":14298,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:00:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":14298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":186876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:00:41] local.INFO: GPS data processed {"connection_id":186876,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:00:41] local.INFO: Acknowledgment sent {"connection_id":186876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:00:45] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:00:45] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:00:45] local.INFO: IMEI packet received {"connection_id":188216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":188216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:00:46] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af56c718012d196780071fece0003a01142c..."} 
[2026-09-17 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af56c718012d196780071fece0003a01142c..."} 
[2026-09-17 18:00:46] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af56c718012d196780071fece0003a01142c..."} 
[2026-09-17 18:00:46] local.INFO: Packet analysis {"connection_id":188216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af56"} 
[2026-09-17 18:00:46] local.INFO: Extracted packet for processing {"connection_id":188216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af56"} 
[2026-09-17 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149906944001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789648095000,"timestamp_ms":1789648095000,"timestamp_seconds":1789648095,"priority":1,"record_length":96,"hex_timestamp":"000001a0af56c718"} 
[2026-09-17 18:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149906944001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149906944001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:00:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149906944001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":188216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:00:46] local.INFO: GPS data processed {"connection_id":188216,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:00:46] local.INFO: Acknowledgment sent {"connection_id":188216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:00:53] local.INFO: TCP Data received {"connection_id":185574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:00:53] local.INFO: Processing buffer {"connection_id":185574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:00:53] local.INFO: Packet analysis {"connection_id":185574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 18:00:53] local.INFO: Extracted packet for processing {"connection_id":185574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 18:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 18:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:00:53] 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-09-17 18:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":185574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:00:53] local.INFO: GPS data processed {"connection_id":185574,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:00:53] local.INFO: Acknowledgment sent {"connection_id":185574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:01:08] local.INFO: TCP Data received {"connection_id":185427,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:01:08] local.INFO: Processing buffer {"connection_id":185427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:01:08] local.INFO: IMEI packet received {"connection_id":185427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":185427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:01:13] local.INFO: TCP Data received {"connection_id":185427,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:01:13] local.INFO: Processing buffer {"connection_id":185427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:01:13] local.INFO: IMEI packet received {"connection_id":185427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":185427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:01:14] local.INFO: TCP Data received {"connection_id":185427,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:01:14] local.INFO: Processing buffer {"connection_id":185427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:01:14] local.INFO: Packet analysis {"connection_id":185427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:01:14] local.INFO: Extracted packet for processing {"connection_id":185427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":98330000,"longitude_deg":76.3340096,"latitude_deg":9.833,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa540","hex_latitude":"05dc6590","is_valid_coordinates":true} 
[2026-09-17 18:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789647853000,"timestamp_ms":1789647853000,"timestamp_seconds":1789647853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5315c8"} 
[2026-09-17 18:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":14298,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:01:14] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":14298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":185427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:01:14] local.INFO: GPS data processed {"connection_id":185427,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:01:14] local.INFO: Acknowledgment sent {"connection_id":185427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:01:14] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:01:14] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:01:14] local.INFO: IMEI packet received {"connection_id":188217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":188217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:01:17] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af571920012d196780071fece0003a01142c..."} 
[2026-09-17 18:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af571920012d196780071fece0003a01142c..."} 
[2026-09-17 18:01:17] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af571920012d196780071fece0003a01142c..."} 
[2026-09-17 18:01:17] local.INFO: Packet analysis {"connection_id":188216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af57"} 
[2026-09-17 18:01:17] local.INFO: Extracted packet for processing {"connection_id":188216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af57"} 
[2026-09-17 18:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149912320001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789648116000,"timestamp_ms":1789648116000,"timestamp_seconds":1789648116,"priority":1,"record_length":96,"hex_timestamp":"000001a0af571920"} 
[2026-09-17 18:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149912320001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149912320001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:01:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149912320001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":188216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:01:17] local.INFO: GPS data processed {"connection_id":188216,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:01:17] local.INFO: Acknowledgment sent {"connection_id":188216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:01:19] local.INFO: TCP Data received {"connection_id":185427,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:01:19] local.INFO: Processing buffer {"connection_id":185427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:01:19] local.INFO: Packet analysis {"connection_id":185427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:01:19] local.INFO: Extracted packet for processing {"connection_id":185427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:01:19] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":98330000,"longitude_deg":76.3340096,"latitude_deg":9.833,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa540","hex_latitude":"05dc6590","is_valid_coordinates":true} 
[2026-09-17 18:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789647853000,"timestamp_ms":1789647853000,"timestamp_seconds":1789647853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5315c8"} 
[2026-09-17 18:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":14298,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:01:19] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":14298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":185427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:01:19] local.INFO: GPS data processed {"connection_id":185427,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:01:19] local.INFO: Acknowledgment sent {"connection_id":185427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:01:20] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:01:20] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:01:20] local.INFO: IMEI packet received {"connection_id":188217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":188217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:01:21] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:01:21] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:01:21] local.INFO: Packet analysis {"connection_id":188217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 18:01:21] local.INFO: Extracted packet for processing {"connection_id":188217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 18:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:01: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-09-17 18:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":188217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:01:21] local.INFO: GPS data processed {"connection_id":188217,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:01:21] local.INFO: Acknowledgment sent {"connection_id":188217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:01:35] local.INFO: TCP Data received {"connection_id":185428,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:01:35] local.INFO: Processing buffer {"connection_id":185428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:01:35] local.INFO: IMEI packet received {"connection_id":185428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":185428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:01:40] local.INFO: TCP Data received {"connection_id":185428,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:01:40] local.INFO: Processing buffer {"connection_id":185428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:01:40] local.INFO: IMEI packet received {"connection_id":185428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":185428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:01:41] local.INFO: TCP Data received {"connection_id":185428,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af576b28012d196780071fece0003a01142a..."} 
[2026-09-17 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af576b28012d196780071fece0003a01142a..."} 
[2026-09-17 18:01:41] local.INFO: Processing buffer {"connection_id":185428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af576b28012d196780071fece0003a01142a..."} 
[2026-09-17 18:01:41] local.INFO: Packet analysis {"connection_id":185428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af57"} 
[2026-09-17 18:01:41] local.INFO: Extracted packet for processing {"connection_id":185428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af57"} 
[2026-09-17 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149917696001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648137000,"timestamp_ms":1789648137000,"timestamp_seconds":1789648137,"priority":1,"record_length":96,"hex_timestamp":"000001a0af576b28"} 
[2026-09-17 18:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149917696001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149917696001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:01:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149917696001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":185428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:01:41] local.INFO: GPS data processed {"connection_id":185428,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:01:41] local.INFO: Acknowledgment sent {"connection_id":185428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:01:54] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:01:54] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af552520012d34c14006aa4440000a01182b..."} 
[2026-09-17 18:01:54] local.INFO: Packet analysis {"connection_id":188217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 18:01:54] local.INFO: Extracted packet for processing {"connection_id":188217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af55"} 
[2026-09-17 18:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149808128001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789647988000,"timestamp_ms":1789647988000,"timestamp_seconds":1789647988,"priority":1,"record_length":96,"hex_timestamp":"000001a0af552520"} 
[2026-09-17 18:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:01:54] 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-09-17 18:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149808128001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149808128001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149808128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":188217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:01:54] local.INFO: GPS data processed {"connection_id":188217,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:01:54] local.INFO: Acknowledgment sent {"connection_id":188217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:02:03] local.INFO: TCP Data received {"connection_id":186878,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:02:03] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:02:03] local.INFO: IMEI packet received {"connection_id":186878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":186878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:02:08] local.INFO: TCP Data received {"connection_id":186878,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:02:08] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:02:08] local.INFO: IMEI packet received {"connection_id":186878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":186878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:02:09] local.INFO: TCP Data received {"connection_id":186878,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:02:09] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:02:09] local.INFO: Packet analysis {"connection_id":186878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:02:09] local.INFO: Extracted packet for processing {"connection_id":186878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":98330000,"longitude_deg":76.3340096,"latitude_deg":9.833,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa540","hex_latitude":"05dc6590","is_valid_coordinates":true} 
[2026-09-17 18:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789647853000,"timestamp_ms":1789647853000,"timestamp_seconds":1789647853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5315c8"} 
[2026-09-17 18:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":14298,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:02:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":14298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":186878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:02:09] local.INFO: GPS data processed {"connection_id":186878,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:02:09] local.INFO: Acknowledgment sent {"connection_id":186878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:02:12] local.INFO: TCP Data received {"connection_id":185428,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af57bd30012d196780071fece0003a01142b..."} 
[2026-09-17 18:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af57bd30012d196780071fece0003a01142b..."} 
[2026-09-17 18:02:12] local.INFO: Processing buffer {"connection_id":185428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af57bd30012d196780071fece0003a01142b..."} 
[2026-09-17 18:02:12] local.INFO: Packet analysis {"connection_id":185428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af57"} 
[2026-09-17 18:02:12] local.INFO: Extracted packet for processing {"connection_id":185428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af57"} 
[2026-09-17 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149923072001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648158000,"timestamp_ms":1789648158000,"timestamp_seconds":1789648158,"priority":1,"record_length":96,"hex_timestamp":"000001a0af57bd30"} 
[2026-09-17 18:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149923072001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149923072001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:02:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149923072001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":185428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:02:12] local.INFO: GPS data processed {"connection_id":185428,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:02:12] local.INFO: Acknowledgment sent {"connection_id":185428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:02:14] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:02:14] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:02:14] local.INFO: IMEI packet received {"connection_id":188218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":188218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:02:20] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:02:20] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:02:20] local.INFO: IMEI packet received {"connection_id":188218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":188218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:02:21] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:02:21] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:02:21] local.INFO: Packet analysis {"connection_id":188218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:02:21] local.INFO: Extracted packet for processing {"connection_id":188218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:02: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-09-17 18:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":188218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:02:21] local.INFO: GPS data processed {"connection_id":188218,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:02:21] local.INFO: Acknowledgment sent {"connection_id":188218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:02:35] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:02:35] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:02:35] local.INFO: IMEI packet received {"connection_id":188219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":188219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:02:40] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:02:40] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:02:40] local.INFO: IMEI packet received {"connection_id":188219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":188219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:02:40] local.INFO: TCP Data received {"connection_id":186878,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:02:40] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:02:40] local.INFO: Packet analysis {"connection_id":186878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:02:40] local.INFO: Extracted packet for processing {"connection_id":186878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":98330000,"longitude_deg":76.3340096,"latitude_deg":9.833,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa540","hex_latitude":"05dc6590","is_valid_coordinates":true} 
[2026-09-17 18:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789647853000,"timestamp_ms":1789647853000,"timestamp_seconds":1789647853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5315c8"} 
[2026-09-17 18:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":14298,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:02:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":14298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":186878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:02:40] local.INFO: GPS data processed {"connection_id":186878,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:02:40] local.INFO: Acknowledgment sent {"connection_id":186878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:02:41] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af580f38012d196780071fece0003a011426..."} 
[2026-09-17 18:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af580f38012d196780071fece0003a011426..."} 
[2026-09-17 18:02:41] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af580f38012d196780071fece0003a011426..."} 
[2026-09-17 18:02:41] local.INFO: Packet analysis {"connection_id":188219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af58"} 
[2026-09-17 18:02:41] local.INFO: Extracted packet for processing {"connection_id":188219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af58"} 
[2026-09-17 18:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149928448001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648179000,"timestamp_ms":1789648179000,"timestamp_seconds":1789648179,"priority":1,"record_length":96,"hex_timestamp":"000001a0af580f38"} 
[2026-09-17 18:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149928448001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149928448001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:02:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149928448001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":188219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:02:41] local.INFO: GPS data processed {"connection_id":188219,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:02:41] local.INFO: Acknowledgment sent {"connection_id":188219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:02:53] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:02:53] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:02:53] local.INFO: Packet analysis {"connection_id":188218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:02:53] local.INFO: Extracted packet for processing {"connection_id":188218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:02:53] 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-09-17 18:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":188218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:02:53] local.INFO: GPS data processed {"connection_id":188218,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:02:53] local.INFO: Acknowledgment sent {"connection_id":188218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:03:03] local.INFO: TCP Data received {"connection_id":185576,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:03:03] local.INFO: Processing buffer {"connection_id":185576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:03:03] local.INFO: IMEI packet received {"connection_id":185576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":185576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:03:05] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:03:05] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:03:05] local.INFO: IMEI packet received {"connection_id":186879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":186879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:03:08] local.INFO: TCP Data received {"connection_id":185576,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:03:08] local.INFO: Processing buffer {"connection_id":185576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:03:08] local.INFO: IMEI packet received {"connection_id":185576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":185576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:03:09] local.INFO: TCP Data received {"connection_id":185576,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:03:09] local.INFO: Processing buffer {"connection_id":185576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5315c8012d7fa54005dc6590000b00972f..."} 
[2026-09-17 18:03:09] local.INFO: Packet analysis {"connection_id":185576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:03:09] local.INFO: Extracted packet for processing {"connection_id":185576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af53"} 
[2026-09-17 18:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":98330000,"longitude_deg":76.3340096,"latitude_deg":9.833,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa540","hex_latitude":"05dc6590","is_valid_coordinates":true} 
[2026-09-17 18:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789647853000,"timestamp_ms":1789647853000,"timestamp_seconds":1789647853,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5315c8"} 
[2026-09-17 18:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":14298,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:03:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":14298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":185576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:03:09] local.INFO: GPS data processed {"connection_id":185576,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:03:09] local.INFO: Acknowledgment sent {"connection_id":185576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:03:12] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af586140012d196780071fece0003a011429..."} 
[2026-09-17 18:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af586140012d196780071fece0003a011429..."} 
[2026-09-17 18:03:12] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af586140012d196780071fece0003a011429..."} 
[2026-09-17 18:03:12] local.INFO: Packet analysis {"connection_id":188219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af58"} 
[2026-09-17 18:03:12] local.INFO: Extracted packet for processing {"connection_id":188219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af58"} 
[2026-09-17 18:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149933824001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648200000,"timestamp_ms":1789648200000,"timestamp_seconds":1789648200,"priority":1,"record_length":96,"hex_timestamp":"000001a0af586140"} 
[2026-09-17 18:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149933824001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149933824001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:03:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149933824001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":188219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:03:12] local.INFO: GPS data processed {"connection_id":188219,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:03:12] local.INFO: Acknowledgment sent {"connection_id":188219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:03:14] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:03:14] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:03:14] local.INFO: IMEI packet received {"connection_id":186880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":186880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:03:20] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:03:20] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:03:20] local.INFO: IMEI packet received {"connection_id":186880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":186880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:03:21] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:03:21] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:03:21] local.INFO: Packet analysis {"connection_id":186880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:03:21] local.INFO: Extracted packet for processing {"connection_id":186880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:03:21] 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-09-17 18:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":186880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:03:21] local.INFO: GPS data processed {"connection_id":186880,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:03:21] local.INFO: Acknowledgment sent {"connection_id":186880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:03:35] local.INFO: TCP Data received {"connection_id":185429,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:03:35] local.INFO: Processing buffer {"connection_id":185429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:03:35] local.INFO: IMEI packet received {"connection_id":185429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":185429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:03:40] local.INFO: TCP Data received {"connection_id":185429,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:03:40] local.INFO: Processing buffer {"connection_id":185429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:03:40] local.INFO: IMEI packet received {"connection_id":185429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":185429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:03:40] local.INFO: TCP Data received {"connection_id":185576,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:03:40] local.INFO: Processing buffer {"connection_id":185576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:03:40] local.INFO: Packet analysis {"connection_id":185576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:03:40] local.INFO: Extracted packet for processing {"connection_id":185576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:03:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":185576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:03:41] local.INFO: GPS data processed {"connection_id":185576,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:03:41] local.INFO: Acknowledgment sent {"connection_id":185576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:03:41] local.INFO: TCP Data received {"connection_id":185429,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af58b348012d196780071fece0003a01142c..."} 
[2026-09-17 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af58b348012d196780071fece0003a01142c..."} 
[2026-09-17 18:03:41] local.INFO: Processing buffer {"connection_id":185429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af58b348012d196780071fece0003a01142c..."} 
[2026-09-17 18:03:41] local.INFO: Packet analysis {"connection_id":185429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af58"} 
[2026-09-17 18:03:41] local.INFO: Extracted packet for processing {"connection_id":185429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af58"} 
[2026-09-17 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149939200001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648221000,"timestamp_ms":1789648221000,"timestamp_seconds":1789648221,"priority":1,"record_length":96,"hex_timestamp":"000001a0af58b348"} 
[2026-09-17 18:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149939200001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149939200001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:03:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149939200001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":185429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:03:41] local.INFO: GPS data processed {"connection_id":185429,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:03:41] local.INFO: Acknowledgment sent {"connection_id":185429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:03:49] local.INFO: TCP Data received {"connection_id":186881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:03:49] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:03:49] local.INFO: IMEI packet received {"connection_id":186881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":186881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:03:52] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:03:52] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:03:52] local.INFO: Packet analysis {"connection_id":186880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:03:52] local.INFO: Extracted packet for processing {"connection_id":186880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:03:52] 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-09-17 18:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":186880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:03:52] local.INFO: GPS data processed {"connection_id":186880,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:03:52] local.INFO: Acknowledgment sent {"connection_id":186880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:03:54] local.INFO: TCP Data received {"connection_id":186881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:03:54] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:03:54] local.INFO: IMEI packet received {"connection_id":186881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 18:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":186881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:04:03] local.INFO: TCP Data received {"connection_id":188220,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:04:03] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:04:03] local.INFO: IMEI packet received {"connection_id":188220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":188220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:04:08] local.INFO: TCP Data received {"connection_id":188220,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:04:08] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:04:08] local.INFO: IMEI packet received {"connection_id":188220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":188220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:04:09] local.INFO: TCP Data received {"connection_id":188220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:04:09] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:04:09] local.INFO: Packet analysis {"connection_id":188220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:04:09] local.INFO: Extracted packet for processing {"connection_id":188220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:04:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":188220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:04:09] local.INFO: GPS data processed {"connection_id":188220,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:04:09] local.INFO: Acknowledgment sent {"connection_id":188220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:04:12] local.INFO: TCP Data received {"connection_id":185429,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af590550012d196780071fece0003a01142a..."} 
[2026-09-17 18:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af590550012d196780071fece0003a01142a..."} 
[2026-09-17 18:04:12] local.INFO: Processing buffer {"connection_id":185429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af590550012d196780071fece0003a01142a..."} 
[2026-09-17 18:04:12] local.INFO: Packet analysis {"connection_id":185429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:04:12] local.INFO: Extracted packet for processing {"connection_id":185429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149944576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648242000,"timestamp_ms":1789648242000,"timestamp_seconds":1789648242,"priority":1,"record_length":96,"hex_timestamp":"000001a0af590550"} 
[2026-09-17 18:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149944576001,"66":12439,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149944576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:04:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149944576001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":185429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:04:12] local.INFO: GPS data processed {"connection_id":185429,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:04:12] local.INFO: Acknowledgment sent {"connection_id":185429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:04:19] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:04:19] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:04:19] local.INFO: IMEI packet received {"connection_id":186882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":186882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:04:25] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:04:25] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:04:25] local.INFO: IMEI packet received {"connection_id":186882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":186882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:04:26] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:04:26] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:04:26] local.INFO: Packet analysis {"connection_id":186882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:04:26] local.INFO: Extracted packet for processing {"connection_id":186882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:04:26] 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-09-17 18:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:04:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":186882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:04:26] local.INFO: GPS data processed {"connection_id":186882,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:04:26] local.INFO: Acknowledgment sent {"connection_id":186882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:04:31] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:04:31] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:04:31] local.INFO: Packet analysis {"connection_id":186882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:04:31] local.INFO: Extracted packet for processing {"connection_id":186882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:04:31] 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-09-17 18:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":186882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:04:31] local.INFO: GPS data processed {"connection_id":186882,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:04:31] local.INFO: Acknowledgment sent {"connection_id":186882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:04:35] local.INFO: TCP Data received {"connection_id":185430,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:04:35] local.INFO: Processing buffer {"connection_id":185430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:04:35] local.INFO: IMEI packet received {"connection_id":185430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":185430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:04:40] local.INFO: TCP Data received {"connection_id":185430,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:04:40] local.INFO: Processing buffer {"connection_id":185430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:04:40] local.INFO: IMEI packet received {"connection_id":185430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":185430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:04:40] local.INFO: TCP Data received {"connection_id":188220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:04:40] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:04:40] local.INFO: Packet analysis {"connection_id":188220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:04:40] local.INFO: Extracted packet for processing {"connection_id":188220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:04:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":188220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:04:40] local.INFO: GPS data processed {"connection_id":188220,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:04:40] local.INFO: Acknowledgment sent {"connection_id":188220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:04:41] local.INFO: TCP Data received {"connection_id":185430,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af595758012d196780071fece0003a01142c..."} 
[2026-09-17 18:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af595758012d196780071fece0003a01142c..."} 
[2026-09-17 18:04:41] local.INFO: Processing buffer {"connection_id":185430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af595758012d196780071fece0003a01142c..."} 
[2026-09-17 18:04:41] local.INFO: Packet analysis {"connection_id":185430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:04:41] local.INFO: Extracted packet for processing {"connection_id":185430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149949952001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648263000,"timestamp_ms":1789648263000,"timestamp_seconds":1789648263,"priority":1,"record_length":96,"hex_timestamp":"000001a0af595758"} 
[2026-09-17 18:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 18:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149949952001,"66":11993,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149949952001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:04:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149949952001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":185430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:04:41] local.INFO: GPS data processed {"connection_id":185430,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:04:41] local.INFO: Acknowledgment sent {"connection_id":185430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:05:03] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:05:03] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:05:03] local.INFO: IMEI packet received {"connection_id":188221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":188221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:05:08] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:05:08] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:05:08] local.INFO: IMEI packet received {"connection_id":188221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":188221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:05:09] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:05:09] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:05:09] local.INFO: Packet analysis {"connection_id":188221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:05:09] local.INFO: Extracted packet for processing {"connection_id":188221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:05:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":188221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:05:09] local.INFO: GPS data processed {"connection_id":188221,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:05:09] local.INFO: Acknowledgment sent {"connection_id":188221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:05:12] local.INFO: TCP Data received {"connection_id":185430,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59a960012d196780071fece0003a01142a..."} 
[2026-09-17 18:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59a960012d196780071fece0003a01142a..."} 
[2026-09-17 18:05:12] local.INFO: Processing buffer {"connection_id":185430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59a960012d196780071fece0003a01142a..."} 
[2026-09-17 18:05:12] local.INFO: Packet analysis {"connection_id":185430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:05:12] local.INFO: Extracted packet for processing {"connection_id":185430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:05: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-09-17 18:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149955328001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648284000,"timestamp_ms":1789648284000,"timestamp_seconds":1789648284,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59a960"} 
[2026-09-17 18:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:05: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-17 18:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:05: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-09-17 18:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149955328001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149955328001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:05:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149955328001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":185430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:05:12] local.INFO: GPS data processed {"connection_id":185430,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:05:12] local.INFO: Acknowledgment sent {"connection_id":185430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:05:15] local.INFO: TCP Data received {"connection_id":185431,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:05:15] local.INFO: Processing buffer {"connection_id":185431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:05:15] local.INFO: IMEI packet received {"connection_id":185431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":185431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:05:20] local.INFO: TCP Data received {"connection_id":185431,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:05:20] local.INFO: Processing buffer {"connection_id":185431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:05:20] local.INFO: IMEI packet received {"connection_id":185431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":185431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:05:20] local.INFO: TCP Data received {"connection_id":185431,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:05:20] local.INFO: Processing buffer {"connection_id":185431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:05:20] local.INFO: Packet analysis {"connection_id":185431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:05:20] local.INFO: Extracted packet for processing {"connection_id":185431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:05:20] 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-09-17 18:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":185431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:05:20] local.INFO: GPS data processed {"connection_id":185431,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:05:20] local.INFO: Acknowledgment sent {"connection_id":185431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:05:35] local.INFO: TCP Data received {"connection_id":185577,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:05:35] local.INFO: Processing buffer {"connection_id":185577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:05:35] local.INFO: IMEI packet received {"connection_id":185577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":185577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:05:40] local.INFO: TCP Data received {"connection_id":185577,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:05:40] local.INFO: Processing buffer {"connection_id":185577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:05:40] local.INFO: IMEI packet received {"connection_id":185577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":185577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:05:41] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:05:41] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:05:41] local.INFO: Packet analysis {"connection_id":188221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:05:41] local.INFO: Extracted packet for processing {"connection_id":188221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":188221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:05:41] local.INFO: GPS data processed {"connection_id":188221,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:05:41] local.INFO: Acknowledgment sent {"connection_id":188221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:05:41] local.INFO: TCP Data received {"connection_id":185577,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59fb68012d196780071fece0003a011429..."} 
[2026-09-17 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59fb68012d196780071fece0003a011429..."} 
[2026-09-17 18:05:41] local.INFO: Processing buffer {"connection_id":185577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59fb68012d196780071fece0003a011429..."} 
[2026-09-17 18:05:41] local.INFO: Packet analysis {"connection_id":185577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:05:41] local.INFO: Extracted packet for processing {"connection_id":185577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149960704001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648305000,"timestamp_ms":1789648305000,"timestamp_seconds":1789648305,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59fb68"} 
[2026-09-17 18:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149960704001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149960704001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149960704001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":185577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:05:41] local.INFO: GPS data processed {"connection_id":185577,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:05:41] local.INFO: Acknowledgment sent {"connection_id":185577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:05:52] local.INFO: TCP Data received {"connection_id":185431,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:05:52] local.INFO: Processing buffer {"connection_id":185431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:05:52] local.INFO: Packet analysis {"connection_id":185431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:05:52] local.INFO: Extracted packet for processing {"connection_id":185431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:05:52] 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-09-17 18:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":185431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:05:52] local.INFO: GPS data processed {"connection_id":185431,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:05:52] local.INFO: Acknowledgment sent {"connection_id":185431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:06:08] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:06:08] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:06:08] local.INFO: IMEI packet received {"connection_id":188222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":188222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:06:12] local.INFO: TCP Data received {"connection_id":185577,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5a4d70012d196780071fece0003a011429..."} 
[2026-09-17 18:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5a4d70012d196780071fece0003a011429..."} 
[2026-09-17 18:06:12] local.INFO: Processing buffer {"connection_id":185577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5a4d70012d196780071fece0003a011429..."} 
[2026-09-17 18:06:12] local.INFO: Packet analysis {"connection_id":185577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5a"} 
[2026-09-17 18:06:12] local.INFO: Extracted packet for processing {"connection_id":185577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5a"} 
[2026-09-17 18:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149966080001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648326000,"timestamp_ms":1789648326000,"timestamp_seconds":1789648326,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5a4d70"} 
[2026-09-17 18:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149966080001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149966080001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:06:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149966080001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":185577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:06:12] local.INFO: GPS data processed {"connection_id":185577,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:06:12] local.INFO: Acknowledgment sent {"connection_id":185577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:06:13] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:06:13] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:06:13] local.INFO: IMEI packet received {"connection_id":188222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":188222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:06:14] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:06:14] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:06:14] local.INFO: Packet analysis {"connection_id":188222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:06:14] local.INFO: Extracted packet for processing {"connection_id":188222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:06:14] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":188222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:06:14] local.INFO: GPS data processed {"connection_id":188222,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:06:14] local.INFO: Acknowledgment sent {"connection_id":188222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:06:15] local.INFO: TCP Data received {"connection_id":185579,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:06:15] local.INFO: Processing buffer {"connection_id":185579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:06:15] local.INFO: IMEI packet received {"connection_id":185579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":185579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:06:19] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:06:19] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:06:19] local.INFO: Packet analysis {"connection_id":188222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:06:19] local.INFO: Extracted packet for processing {"connection_id":188222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:06:19] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:06:19] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:06:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":188222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:06:19] local.INFO: GPS data processed {"connection_id":188222,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:06:19] local.INFO: Acknowledgment sent {"connection_id":188222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:06:20] local.INFO: TCP Data received {"connection_id":185579,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:06:20] local.INFO: Processing buffer {"connection_id":185579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:06:20] local.INFO: IMEI packet received {"connection_id":185579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":185579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:06:21] local.INFO: TCP Data received {"connection_id":185579,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:06:21] local.INFO: Processing buffer {"connection_id":185579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:06:21] local.INFO: Packet analysis {"connection_id":185579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:06:21] local.INFO: Extracted packet for processing {"connection_id":185579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":185579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:06:21] local.INFO: GPS data processed {"connection_id":185579,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:06:21] local.INFO: Acknowledgment sent {"connection_id":185579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:06:35] local.INFO: TCP Data received {"connection_id":185580,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:06:35] local.INFO: Processing buffer {"connection_id":185580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:06:35] local.INFO: IMEI packet received {"connection_id":185580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":185580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:06:36] local.INFO: TCP Data received {"connection_id":185580,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:06:36] local.INFO: Processing buffer {"connection_id":185580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:06:36] local.INFO: IMEI packet received {"connection_id":185580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":185580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:06:40] local.INFO: TCP Data received {"connection_id":185580,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:06:40] local.INFO: Processing buffer {"connection_id":185580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:06:40] local.INFO: IMEI packet received {"connection_id":185580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":185580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:06:41] local.INFO: TCP Data received {"connection_id":185580,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5a9f78012d196780071fece0003a011428..."} 
[2026-09-17 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5a9f78012d196780071fece0003a011428..."} 
[2026-09-17 18:06:41] local.INFO: Processing buffer {"connection_id":185580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5a9f78012d196780071fece0003a011428..."} 
[2026-09-17 18:06:41] local.INFO: Packet analysis {"connection_id":185580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5a"} 
[2026-09-17 18:06:41] local.INFO: Extracted packet for processing {"connection_id":185580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5a"} 
[2026-09-17 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149971456001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648347000,"timestamp_ms":1789648347000,"timestamp_seconds":1789648347,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5a9f78"} 
[2026-09-17 18:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149971456001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149971456001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:06:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149971456001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":185580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:06:41] local.INFO: GPS data processed {"connection_id":185580,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:06:41] local.INFO: Acknowledgment sent {"connection_id":185580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:06:52] local.INFO: TCP Data received {"connection_id":185579,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:06:52] local.INFO: Processing buffer {"connection_id":185579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af59bce8012d34c14006aa4440000a011828..."} 
[2026-09-17 18:06:52] local.INFO: Packet analysis {"connection_id":185579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:06:52] local.INFO: Extracted packet for processing {"connection_id":185579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af59"} 
[2026-09-17 18:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149884928001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789648289000,"timestamp_ms":1789648289000,"timestamp_seconds":1789648289,"priority":1,"record_length":96,"hex_timestamp":"000001a0af59bce8"} 
[2026-09-17 18:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149884928001,"66":25712,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149884928001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149884928001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":185579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:06:52] local.INFO: GPS data processed {"connection_id":185579,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:06:52] local.INFO: Acknowledgment sent {"connection_id":185579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:07:03] local.INFO: TCP Data received {"connection_id":186884,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:07:03] local.INFO: Processing buffer {"connection_id":186884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:07:03] local.INFO: IMEI packet received {"connection_id":186884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":186884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:07:08] local.INFO: TCP Data received {"connection_id":186884,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:07:08] local.INFO: Processing buffer {"connection_id":186884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:07:08] local.INFO: IMEI packet received {"connection_id":186884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":186884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:07:09] local.INFO: TCP Data received {"connection_id":186884,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:07:09] local.INFO: Processing buffer {"connection_id":186884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:07:09] local.INFO: Packet analysis {"connection_id":186884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:07:09] local.INFO: Extracted packet for processing {"connection_id":186884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:07:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":186884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:07:09] local.INFO: GPS data processed {"connection_id":186884,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:07:09] local.INFO: Acknowledgment sent {"connection_id":186884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:07:12] local.INFO: TCP Data received {"connection_id":185580,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5af180012d196780071fece0003a01142b..."} 
[2026-09-17 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5af180012d196780071fece0003a01142b..."} 
[2026-09-17 18:07:12] local.INFO: Processing buffer {"connection_id":185580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5af180012d196780071fece0003a01142b..."} 
[2026-09-17 18:07:12] local.INFO: Packet analysis {"connection_id":185580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5a"} 
[2026-09-17 18:07:12] local.INFO: Extracted packet for processing {"connection_id":185580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5a"} 
[2026-09-17 18:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149976832001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648368000,"timestamp_ms":1789648368000,"timestamp_seconds":1789648368,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5af180"} 
[2026-09-17 18:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149976832001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149976832001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:07:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149976832001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":185580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:07:12] local.INFO: GPS data processed {"connection_id":185580,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:07:12] local.INFO: Acknowledgment sent {"connection_id":185580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:07:15] local.INFO: TCP Data received {"connection_id":185582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:07:15] local.INFO: Processing buffer {"connection_id":185582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:07:15] local.INFO: IMEI packet received {"connection_id":185582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":185582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:07:20] local.INFO: TCP Data received {"connection_id":185582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:07:20] local.INFO: Processing buffer {"connection_id":185582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:07:20] local.INFO: IMEI packet received {"connection_id":185582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":185582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:07:21] local.INFO: TCP Data received {"connection_id":185582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:07:21] local.INFO: Processing buffer {"connection_id":185582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:07:21] local.INFO: Packet analysis {"connection_id":185582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:07:21] local.INFO: Extracted packet for processing {"connection_id":185582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:07:21] 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-09-17 18:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":185582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:07:21] local.INFO: GPS data processed {"connection_id":185582,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:07:21] local.INFO: Acknowledgment sent {"connection_id":185582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:07:38] local.INFO: TCP Data received {"connection_id":185432,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:07:38] local.INFO: Processing buffer {"connection_id":185432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:07:38] local.INFO: IMEI packet received {"connection_id":185432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":185432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:07:40] local.INFO: TCP Data received {"connection_id":185432,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:07:40] local.INFO: Processing buffer {"connection_id":185432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:07:40] local.INFO: IMEI packet received {"connection_id":185432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":185432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:07:41] local.INFO: TCP Data received {"connection_id":186884,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:07:41] local.INFO: Processing buffer {"connection_id":186884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:07:41] local.INFO: Packet analysis {"connection_id":186884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:07:41] local.INFO: Extracted packet for processing {"connection_id":186884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:07:41] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":186884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:07:41] local.INFO: GPS data processed {"connection_id":186884,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:07:41] local.INFO: Acknowledgment sent {"connection_id":186884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:07:45] local.INFO: TCP Data received {"connection_id":185432,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:07:45] local.INFO: Processing buffer {"connection_id":185432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:07:45] local.INFO: IMEI packet received {"connection_id":185432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":185432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:07:46] local.INFO: TCP Data received {"connection_id":185432,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b4388012d196780071fece0003a01142a..."} 
[2026-09-17 18:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b4388012d196780071fece0003a01142a..."} 
[2026-09-17 18:07:46] local.INFO: Processing buffer {"connection_id":185432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b4388012d196780071fece0003a01142a..."} 
[2026-09-17 18:07:46] local.INFO: Packet analysis {"connection_id":185432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:07:46] local.INFO: Extracted packet for processing {"connection_id":185432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149982208001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789648389000,"timestamp_ms":1789648389000,"timestamp_seconds":1789648389,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b4388"} 
[2026-09-17 18:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149982208001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149982208001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:07:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149982208001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":185432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:07:46] local.INFO: GPS data processed {"connection_id":185432,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:07:46] local.INFO: Acknowledgment sent {"connection_id":185432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:07:52] local.INFO: TCP Data received {"connection_id":185582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:07:52] local.INFO: Processing buffer {"connection_id":185582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:07:52] local.INFO: Packet analysis {"connection_id":185582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:07:52] local.INFO: Extracted packet for processing {"connection_id":185582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:07:52] 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-09-17 18:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":185582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:07:52] local.INFO: GPS data processed {"connection_id":185582,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:07:52] local.INFO: Acknowledgment sent {"connection_id":185582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:08:03] local.INFO: TCP Data received {"connection_id":185433,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:08:03] local.INFO: Processing buffer {"connection_id":185433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:08:03] local.INFO: IMEI packet received {"connection_id":185433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":185433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:08:08] local.INFO: TCP Data received {"connection_id":185433,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:08:08] local.INFO: Processing buffer {"connection_id":185433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:08:08] local.INFO: IMEI packet received {"connection_id":185433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":185433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:08:09] local.INFO: TCP Data received {"connection_id":185433,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:08:09] local.INFO: Processing buffer {"connection_id":185433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9d60012d7fa48005dc65c8000b00972b..."} 
[2026-09-17 18:08:09] local.INFO: Packet analysis {"connection_id":185433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:08:09] local.INFO: Extracted packet for processing {"connection_id":185433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149850368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207890763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789648412000,"timestamp_ms":1789648412000,"timestamp_seconds":1789648412,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9d60"} 
[2026-09-17 18:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149850368001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197828207890763776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149850368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:08:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207890763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149850368001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197828207890763776}} 
[2026-09-17 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":185433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:08:09] local.INFO: GPS data processed {"connection_id":185433,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:08:09] local.INFO: Acknowledgment sent {"connection_id":185433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:08:14] local.INFO: TCP Data received {"connection_id":185434,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:08:14] local.INFO: Processing buffer {"connection_id":185434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:08:14] local.INFO: IMEI packet received {"connection_id":185434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":185434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:08:17] local.INFO: TCP Data received {"connection_id":185432,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5b9590012d196780071fece0003a01142c..."} 
[2026-09-17 18:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5b9590012d196780071fece0003a01142c..."} 
[2026-09-17 18:08:17] local.INFO: Processing buffer {"connection_id":185432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5b9590012d196780071fece0003a01142c..."} 
[2026-09-17 18:08:17] local.INFO: Packet analysis {"connection_id":185432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:08:17] local.INFO: Extracted packet for processing {"connection_id":185432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149987584001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789648410000,"timestamp_ms":1789648410000,"timestamp_seconds":1789648410,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5b9590"} 
[2026-09-17 18:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149987584001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149987584001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:08:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149987584001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":185432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:08:17] local.INFO: GPS data processed {"connection_id":185432,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:08:17] local.INFO: Acknowledgment sent {"connection_id":185432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:08:20] local.INFO: TCP Data received {"connection_id":185434,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:08:20] local.INFO: Processing buffer {"connection_id":185434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:08:20] local.INFO: IMEI packet received {"connection_id":185434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":185434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:08:21] local.INFO: TCP Data received {"connection_id":185434,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:08:21] local.INFO: Processing buffer {"connection_id":185434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:08:21] local.INFO: Packet analysis {"connection_id":185434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:08:21] local.INFO: Extracted packet for processing {"connection_id":185434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":185434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:08:21] local.INFO: GPS data processed {"connection_id":185434,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:08:21] local.INFO: Acknowledgment sent {"connection_id":185434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:08:35] local.INFO: TCP Data received {"connection_id":185435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:08:35] local.INFO: Processing buffer {"connection_id":185435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:08:35] local.INFO: IMEI packet received {"connection_id":185435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":185435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:08:40] local.INFO: TCP Data received {"connection_id":185435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:08:40] local.INFO: Processing buffer {"connection_id":185435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:08:40] local.INFO: IMEI packet received {"connection_id":185435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":185435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:08:40] local.INFO: TCP Data received {"connection_id":185433,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:08:40] local.INFO: Processing buffer {"connection_id":185433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:08:40] local.INFO: Packet analysis {"connection_id":185433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:08:40] local.INFO: Extracted packet for processing {"connection_id":185433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:08:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":185433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:08:40] local.INFO: GPS data processed {"connection_id":185433,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:08:40] local.INFO: Acknowledgment sent {"connection_id":185433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:08:41] local.INFO: TCP Data received {"connection_id":185435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5be798012d196780071fece0003a01142b..."} 
[2026-09-17 18:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5be798012d196780071fece0003a01142b..."} 
[2026-09-17 18:08:41] local.INFO: Processing buffer {"connection_id":185435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5be798012d196780071fece0003a01142b..."} 
[2026-09-17 18:08:41] local.INFO: Packet analysis {"connection_id":185435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:08:41] local.INFO: Extracted packet for processing {"connection_id":185435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5b"} 
[2026-09-17 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149992960001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648431000,"timestamp_ms":1789648431000,"timestamp_seconds":1789648431,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5be798"} 
[2026-09-17 18:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149992960001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149992960001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:08:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149992960001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":185435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:08:41] local.INFO: GPS data processed {"connection_id":185435,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:08:41] local.INFO: Acknowledgment sent {"connection_id":185435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:08:52] local.INFO: TCP Data received {"connection_id":185434,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:08:52] local.INFO: Processing buffer {"connection_id":185434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:08:52] local.INFO: Packet analysis {"connection_id":185434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:08:52] local.INFO: Extracted packet for processing {"connection_id":185434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":185434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:08:52] local.INFO: GPS data processed {"connection_id":185434,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:08:52] local.INFO: Acknowledgment sent {"connection_id":185434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:09:00] local.INFO: TCP Data received {"connection_id":188224,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:09:00] local.INFO: Processing buffer {"connection_id":188224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:09:00] local.INFO: IMEI packet received {"connection_id":188224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":188224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:09:03] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:09:03] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:09:03] local.INFO: IMEI packet received {"connection_id":188225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":188225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:09:08] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:09:08] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:09:08] local.INFO: IMEI packet received {"connection_id":188225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:09:10] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:09:10] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:09:10] local.INFO: Packet analysis {"connection_id":188225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:09:10] local.INFO: Extracted packet for processing {"connection_id":188225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:09:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":188225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:09:10] local.INFO: GPS data processed {"connection_id":188225,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:09:10] local.INFO: Acknowledgment sent {"connection_id":188225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:09:12] local.INFO: TCP Data received {"connection_id":185435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5f6df0012d196780071fece0003a01142b..."} 
[2026-09-17 18:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5f6df0012d196780071fece0003a01142b..."} 
[2026-09-17 18:09:12] local.INFO: Processing buffer {"connection_id":185435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5f6df0012d196780071fece0003a01142b..."} 
[2026-09-17 18:09:12] local.INFO: Packet analysis {"connection_id":185435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5f"} 
[2026-09-17 18:09:12] local.INFO: Extracted packet for processing {"connection_id":185435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5f"} 
[2026-09-17 18:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150052096001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648662000,"timestamp_ms":1789648662000,"timestamp_seconds":1789648662,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5f6df0"} 
[2026-09-17 18:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150052096001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150052096001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:09:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150052096001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":185435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:09:12] local.INFO: GPS data processed {"connection_id":185435,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:09:12] local.INFO: Acknowledgment sent {"connection_id":185435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:09:20] local.INFO: TCP Data received {"connection_id":185584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:09:20] local.INFO: Processing buffer {"connection_id":185584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:09:20] local.INFO: IMEI packet received {"connection_id":185584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":185584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:09:25] local.INFO: TCP Data received {"connection_id":185584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:09:25] local.INFO: Processing buffer {"connection_id":185584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:09:25] local.INFO: IMEI packet received {"connection_id":185584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":185584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:09:26] local.INFO: TCP Data received {"connection_id":185584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:09:26] local.INFO: Processing buffer {"connection_id":185584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:09:26] local.INFO: Packet analysis {"connection_id":185584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:09:26] local.INFO: Extracted packet for processing {"connection_id":185584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:09:26] 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-09-17 18:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:09:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":185584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:09:26] local.INFO: GPS data processed {"connection_id":185584,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:09:26] local.INFO: Acknowledgment sent {"connection_id":185584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:09:30] local.INFO: TCP Data received {"connection_id":185584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:09:30] local.INFO: Processing buffer {"connection_id":185584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:09:30] local.INFO: Packet analysis {"connection_id":185584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:09:30] local.INFO: Extracted packet for processing {"connection_id":185584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:09:30] 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-09-17 18:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:09:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":185584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:09:30] local.INFO: GPS data processed {"connection_id":185584,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:09:30] local.INFO: Acknowledgment sent {"connection_id":185584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:09:35] local.INFO: TCP Data received {"connection_id":185585,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:09:35] local.INFO: Processing buffer {"connection_id":185585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:09:35] local.INFO: IMEI packet received {"connection_id":185585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":185585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:09:40] local.INFO: TCP Data received {"connection_id":185585,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:09:40] local.INFO: Processing buffer {"connection_id":185585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:09:40] local.INFO: IMEI packet received {"connection_id":185585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":185585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:09:41] local.INFO: TCP Data received {"connection_id":185585,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5fbff8012d196780071fece0003a01142a..."} 
[2026-09-17 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5fbff8012d196780071fece0003a01142a..."} 
[2026-09-17 18:09:41] local.INFO: Processing buffer {"connection_id":185585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5fbff8012d196780071fece0003a01142a..."} 
[2026-09-17 18:09:41] local.INFO: Packet analysis {"connection_id":185585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5f"} 
[2026-09-17 18:09:41] local.INFO: Extracted packet for processing {"connection_id":185585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5f"} 
[2026-09-17 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150057472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648683000,"timestamp_ms":1789648683000,"timestamp_seconds":1789648683,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5fbff8"} 
[2026-09-17 18:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150057472001,"66":12439,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150057472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:09:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150057472001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":185585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:09:41] local.INFO: GPS data processed {"connection_id":185585,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:09:41] local.INFO: Acknowledgment sent {"connection_id":185585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:09:41] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:09:41] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:09:41] local.INFO: Packet analysis {"connection_id":188225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:09:41] local.INFO: Extracted packet for processing {"connection_id":188225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:09:41] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":188225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:09:41] local.INFO: GPS data processed {"connection_id":188225,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:09:41] local.INFO: Acknowledgment sent {"connection_id":188225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:10:03] local.INFO: TCP Data received {"connection_id":185436,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:10:03] local.INFO: Processing buffer {"connection_id":185436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:10:03] local.INFO: IMEI packet received {"connection_id":185436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":185436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:10:08] local.INFO: TCP Data received {"connection_id":185436,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:10:08] local.INFO: Processing buffer {"connection_id":185436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:10:08] local.INFO: IMEI packet received {"connection_id":185436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":185436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:10:09] local.INFO: TCP Data received {"connection_id":185436,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:10:09] local.INFO: Processing buffer {"connection_id":185436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:10:09] local.INFO: Packet analysis {"connection_id":185436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:10:09] local.INFO: Extracted packet for processing {"connection_id":185436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:10:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":185436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:10:09] local.INFO: GPS data processed {"connection_id":185436,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:10:09] local.INFO: Acknowledgment sent {"connection_id":185436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:10:12] local.INFO: TCP Data received {"connection_id":185585,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af601200012d196780071fece0003a01142c..."} 
[2026-09-17 18:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af601200012d196780071fece0003a01142c..."} 
[2026-09-17 18:10:12] local.INFO: Processing buffer {"connection_id":185585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af601200012d196780071fece0003a01142c..."} 
[2026-09-17 18:10:12] local.INFO: Packet analysis {"connection_id":185585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:10:12] local.INFO: Extracted packet for processing {"connection_id":185585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150062848001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648704000,"timestamp_ms":1789648704000,"timestamp_seconds":1789648704,"priority":1,"record_length":96,"hex_timestamp":"000001a0af601200"} 
[2026-09-17 18:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 18:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150062848001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150062848001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:10:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150062848001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":185585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:10:12] local.INFO: GPS data processed {"connection_id":185585,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:10:12] local.INFO: Acknowledgment sent {"connection_id":185585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:10:15] local.INFO: TCP Data received {"connection_id":188226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:10:15] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:10:15] local.INFO: IMEI packet received {"connection_id":188226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":188226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:10:20] local.INFO: TCP Data received {"connection_id":188226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:10:20] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:10:20] local.INFO: IMEI packet received {"connection_id":188226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":188226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:10:22] local.INFO: TCP Data received {"connection_id":188226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:10:22] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:10:22] local.INFO: Packet analysis {"connection_id":188226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:10:22] local.INFO: Extracted packet for processing {"connection_id":188226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:10:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:10:22] 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-09-17 18:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:10:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":188226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:10:22] local.INFO: GPS data processed {"connection_id":188226,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:10:22] local.INFO: Acknowledgment sent {"connection_id":188226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:10:36] local.INFO: TCP Data received {"connection_id":185437,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:10:36] local.INFO: Processing buffer {"connection_id":185437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:10:36] local.INFO: IMEI packet received {"connection_id":185437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":185437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:10:40] local.INFO: TCP Data received {"connection_id":185437,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:10:40] local.INFO: Processing buffer {"connection_id":185437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:10:40] local.INFO: IMEI packet received {"connection_id":185437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":185437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:10:40] local.INFO: TCP Data received {"connection_id":185436,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:10:40] local.INFO: Processing buffer {"connection_id":185436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:10:40] local.INFO: Packet analysis {"connection_id":185436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:10:40] local.INFO: Extracted packet for processing {"connection_id":185436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:10:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":185436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:10:40] local.INFO: GPS data processed {"connection_id":185436,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:10:40] local.INFO: Acknowledgment sent {"connection_id":185436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:10:41] local.INFO: TCP Data received {"connection_id":185437,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af606408012d196780071fece0003a01142c..."} 
[2026-09-17 18:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af606408012d196780071fece0003a01142c..."} 
[2026-09-17 18:10:41] local.INFO: Processing buffer {"connection_id":185437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af606408012d196780071fece0003a01142c..."} 
[2026-09-17 18:10:41] local.INFO: Packet analysis {"connection_id":185437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:10:41] local.INFO: Extracted packet for processing {"connection_id":185437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150068224001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648725000,"timestamp_ms":1789648725000,"timestamp_seconds":1789648725,"priority":1,"record_length":96,"hex_timestamp":"000001a0af606408"} 
[2026-09-17 18:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150068224001,"66":12015,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150068224001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:10:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150068224001,"power":12015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":185437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:10:41] local.INFO: GPS data processed {"connection_id":185437,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:10:41] local.INFO: Acknowledgment sent {"connection_id":185437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:10:54] local.INFO: TCP Data received {"connection_id":188226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:10:54] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:10:54] local.INFO: Packet analysis {"connection_id":188226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:10:54] local.INFO: Extracted packet for processing {"connection_id":188226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:10:54] 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-09-17 18:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":188226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:10:54] local.INFO: GPS data processed {"connection_id":188226,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:10:54] local.INFO: Acknowledgment sent {"connection_id":188226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:11:03] local.INFO: TCP Data received {"connection_id":185438,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:11:03] local.INFO: Processing buffer {"connection_id":185438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:11:03] local.INFO: IMEI packet received {"connection_id":185438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":185438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:11:08] local.INFO: TCP Data received {"connection_id":185438,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:11:08] local.INFO: Processing buffer {"connection_id":185438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:11:08] local.INFO: IMEI packet received {"connection_id":185438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":185438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:11:09] local.INFO: TCP Data received {"connection_id":185438,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:11:09] local.INFO: Processing buffer {"connection_id":185438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:11:09] local.INFO: Packet analysis {"connection_id":185438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:11:09] local.INFO: Extracted packet for processing {"connection_id":185438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:11:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":185438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:11:09] local.INFO: GPS data processed {"connection_id":185438,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:11:09] local.INFO: Acknowledgment sent {"connection_id":185438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:11:12] local.INFO: TCP Data received {"connection_id":185437,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af60b610012d196780071fece0003a01142b..."} 
[2026-09-17 18:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af60b610012d196780071fece0003a01142b..."} 
[2026-09-17 18:11:12] local.INFO: Processing buffer {"connection_id":185437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af60b610012d196780071fece0003a01142b..."} 
[2026-09-17 18:11:12] local.INFO: Packet analysis {"connection_id":185437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:11:12] local.INFO: Extracted packet for processing {"connection_id":185437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:11:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150073600001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648746000,"timestamp_ms":1789648746000,"timestamp_seconds":1789648746,"priority":1,"record_length":96,"hex_timestamp":"000001a0af60b610"} 
[2026-09-17 18:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-17 18:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150073600001,"66":12472,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150073600001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:11:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150073600001,"power":12472,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":185437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:11:12] local.INFO: GPS data processed {"connection_id":185437,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:11:12] local.INFO: Acknowledgment sent {"connection_id":185437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:11:14] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:11:14] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:11:14] local.INFO: IMEI packet received {"connection_id":186886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":186886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:11:20] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:11:20] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:11:20] local.INFO: IMEI packet received {"connection_id":186886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":186886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:11:21] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:11:21] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:11:21] local.INFO: Packet analysis {"connection_id":186886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:11:21] local.INFO: Extracted packet for processing {"connection_id":186886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:11:21] 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-09-17 18:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":186886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:11:21] local.INFO: GPS data processed {"connection_id":186886,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:11:21] local.INFO: Acknowledgment sent {"connection_id":186886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:11:35] local.INFO: TCP Data received {"connection_id":185587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:11:35] local.INFO: Processing buffer {"connection_id":185587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:11:35] local.INFO: IMEI packet received {"connection_id":185587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":185587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:11:40] local.INFO: TCP Data received {"connection_id":185587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:11:40] local.INFO: Processing buffer {"connection_id":185587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:11:40] local.INFO: IMEI packet received {"connection_id":185587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":185587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:11:40] local.INFO: TCP Data received {"connection_id":185438,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:11:40] local.INFO: Processing buffer {"connection_id":185438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:11:40] local.INFO: Packet analysis {"connection_id":185438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:11:40] local.INFO: Extracted packet for processing {"connection_id":185438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:11:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":185438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:11:40] local.INFO: GPS data processed {"connection_id":185438,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:11:40] local.INFO: Acknowledgment sent {"connection_id":185438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:11:41] local.INFO: TCP Data received {"connection_id":185587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af610818012d196780071fece0003a01142e..."} 
[2026-09-17 18:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af610818012d196780071fece0003a01142e..."} 
[2026-09-17 18:11:41] local.INFO: Processing buffer {"connection_id":185587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af610818012d196780071fece0003a01142e..."} 
[2026-09-17 18:11:41] local.INFO: Packet analysis {"connection_id":185587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af61"} 
[2026-09-17 18:11:41] local.INFO: Extracted packet for processing {"connection_id":185587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af61"} 
[2026-09-17 18:11:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":46,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150078976001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789648767000,"timestamp_ms":1789648767000,"timestamp_seconds":1789648767,"priority":1,"record_length":96,"hex_timestamp":"000001a0af610818"} 
[2026-09-17 18:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-17 18:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150078976001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150078976001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:11:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150078976001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":185587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:11:41] local.INFO: GPS data processed {"connection_id":185587,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:11:41] local.INFO: Acknowledgment sent {"connection_id":185587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:11:53] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:11:53] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af5e5898012d34c14006aa4440000a011828..."} 
[2026-09-17 18:11:53] local.INFO: Packet analysis {"connection_id":186886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:11:53] local.INFO: Extracted packet for processing {"connection_id":186886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af5e"} 
[2026-09-17 18:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149961984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789648591000,"timestamp_ms":1789648591000,"timestamp_seconds":1789648591,"priority":1,"record_length":96,"hex_timestamp":"000001a0af5e5898"} 
[2026-09-17 18:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-17 18:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:11:53] 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-09-17 18:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149961984001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149961984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149961984001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":186886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:11:53] local.INFO: GPS data processed {"connection_id":186886,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:11:53] local.INFO: Acknowledgment sent {"connection_id":186886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:12:08] local.INFO: TCP Data received {"connection_id":188228,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:12:08] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:12:08] local.INFO: IMEI packet received {"connection_id":188228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":188228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:12:12] local.INFO: TCP Data received {"connection_id":185587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af615a20012d196780071fece0003a011428..."} 
[2026-09-17 18:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af615a20012d196780071fece0003a011428..."} 
[2026-09-17 18:12:12] local.INFO: Processing buffer {"connection_id":185587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af615a20012d196780071fece0003a011428..."} 
[2026-09-17 18:12:12] local.INFO: Packet analysis {"connection_id":185587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af61"} 
[2026-09-17 18:12:12] local.INFO: Extracted packet for processing {"connection_id":185587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af61"} 
[2026-09-17 18:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150084352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789648788000,"timestamp_ms":1789648788000,"timestamp_seconds":1789648788,"priority":1,"record_length":96,"hex_timestamp":"000001a0af615a20"} 
[2026-09-17 18:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150084352001,"66":12504,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150084352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:12:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150084352001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":185587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:12:12] local.INFO: GPS data processed {"connection_id":185587,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:12:12] local.INFO: Acknowledgment sent {"connection_id":185587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:12:13] local.INFO: TCP Data received {"connection_id":188228,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:12:13] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:12:13] local.INFO: IMEI packet received {"connection_id":188228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:12:14] local.INFO: TCP Data received {"connection_id":188228,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:12:14] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:12:14] local.INFO: Packet analysis {"connection_id":188228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:12:14] local.INFO: Extracted packet for processing {"connection_id":188228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:12:14] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:12:14] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:12:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":188228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:12:14] local.INFO: GPS data processed {"connection_id":188228,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:12:14] local.INFO: Acknowledgment sent {"connection_id":188228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:12:14] local.INFO: TCP Data received {"connection_id":188229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:12:14] local.INFO: Processing buffer {"connection_id":188229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:12:14] local.INFO: IMEI packet received {"connection_id":188229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":188229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:12:19] local.INFO: TCP Data received {"connection_id":188228,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:12:19] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:12:19] local.INFO: Packet analysis {"connection_id":188228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:12:19] local.INFO: Extracted packet for processing {"connection_id":188228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:12:19] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:12:19] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":188228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:12:19] local.INFO: GPS data processed {"connection_id":188228,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:12:19] local.INFO: Acknowledgment sent {"connection_id":188228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:12:23] local.INFO: TCP Data received {"connection_id":188229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:12:23] local.INFO: Processing buffer {"connection_id":188229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:12:23] local.INFO: IMEI packet received {"connection_id":188229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":188229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:12:24] local.INFO: TCP Data received {"connection_id":188229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:12:24] local.INFO: Processing buffer {"connection_id":188229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:12:24] local.INFO: Packet analysis {"connection_id":188229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:12:24] local.INFO: Extracted packet for processing {"connection_id":188229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150039296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789648892000,"timestamp_ms":1789648892000,"timestamp_seconds":1789648892,"priority":1,"record_length":96,"hex_timestamp":"000001a0af62f060"} 
[2026-09-17 18:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:12:24] 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-09-17 18:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150039296001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150039296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150039296001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":188229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:12:24] local.INFO: GPS data processed {"connection_id":188229,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:12:24] local.INFO: Acknowledgment sent {"connection_id":188229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:12:40] local.INFO: TCP Data received {"connection_id":188230,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:12:40] local.INFO: Processing buffer {"connection_id":188230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:12:40] local.INFO: IMEI packet received {"connection_id":188230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":188230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:12:45] local.INFO: TCP Data received {"connection_id":188230,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:12:45] local.INFO: Processing buffer {"connection_id":188230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:12:45] local.INFO: IMEI packet received {"connection_id":188230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":188230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:12:46] local.INFO: TCP Data received {"connection_id":188230,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af61ac28012d196780071fece0003a01142b..."} 
[2026-09-17 18:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af61ac28012d196780071fece0003a01142b..."} 
[2026-09-17 18:12:46] local.INFO: Processing buffer {"connection_id":188230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af61ac28012d196780071fece0003a01142b..."} 
[2026-09-17 18:12:46] local.INFO: Packet analysis {"connection_id":188230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af61"} 
[2026-09-17 18:12:46] local.INFO: Extracted packet for processing {"connection_id":188230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af61"} 
[2026-09-17 18:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150089728001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789648809000,"timestamp_ms":1789648809000,"timestamp_seconds":1789648809,"priority":1,"record_length":96,"hex_timestamp":"000001a0af61ac28"} 
[2026-09-17 18:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150089728001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150089728001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:12:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150089728001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":188230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:12:46] local.INFO: GPS data processed {"connection_id":188230,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:12:46] local.INFO: Acknowledgment sent {"connection_id":188230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:12:51] local.INFO: TCP Data received {"connection_id":188230,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af61fe30012d196780071fece0003a01142a..."} 
[2026-09-17 18:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af61fe30012d196780071fece0003a01142a..."} 
[2026-09-17 18:12:51] local.INFO: Processing buffer {"connection_id":188230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af61fe30012d196780071fece0003a01142a..."} 
[2026-09-17 18:12:51] local.INFO: Packet analysis {"connection_id":188230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af61"} 
[2026-09-17 18:12:51] local.INFO: Extracted packet for processing {"connection_id":188230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af61"} 
[2026-09-17 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532768,"longitude_deg":75.6639616,"latitude_deg":11.9532768,"altitude":58,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-17 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150095104001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21306460877094912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638139904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789648830000,"timestamp_ms":1789648830000,"timestamp_seconds":1789648830,"priority":1,"record_length":96,"hex_timestamp":"000001a0af61fe30"} 
[2026-09-17 18:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150095104001,"66":12461,"102":206,"83":41984,"24":0,"16":21306460877094912,"45":1830572541638139904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150095104001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:12:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21306460877094912,"km_value":21306460877094.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638139904,"description":"Unknown IO ID 45"} 
[2026-09-17 18:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150095104001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638139904}} 
[2026-09-17 18:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":188230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:12:51] local.INFO: GPS data processed {"connection_id":188230,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:12:51] local.INFO: Acknowledgment sent {"connection_id":188230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:12:56] local.INFO: TCP Data received {"connection_id":188229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:12:56] local.INFO: Processing buffer {"connection_id":188229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:12:56] local.INFO: Packet analysis {"connection_id":188229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:12:56] local.INFO: Extracted packet for processing {"connection_id":188229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:12:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150039296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789648892000,"timestamp_ms":1789648892000,"timestamp_seconds":1789648892,"priority":1,"record_length":96,"hex_timestamp":"000001a0af62f060"} 
[2026-09-17 18:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:12:56] 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-09-17 18:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150039296001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150039296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:12:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150039296001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":188229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:12:56] local.INFO: GPS data processed {"connection_id":188229,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:12:56] local.INFO: Acknowledgment sent {"connection_id":188229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:13:03] local.INFO: TCP Data received {"connection_id":185439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:13:03] local.INFO: Processing buffer {"connection_id":185439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:13:03] local.INFO: IMEI packet received {"connection_id":185439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":185439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:13:08] local.INFO: TCP Data received {"connection_id":185439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:13:08] local.INFO: Processing buffer {"connection_id":185439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:13:08] local.INFO: IMEI packet received {"connection_id":185439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":185439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:13:09] local.INFO: TCP Data received {"connection_id":185439,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:13:09] local.INFO: Processing buffer {"connection_id":185439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af603528012d7fa48005dc65c8000b00972a..."} 
[2026-09-17 18:13:09] local.INFO: Packet analysis {"connection_id":185439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:13:09] local.INFO: Extracted packet for processing {"connection_id":185439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af60"} 
[2026-09-17 18:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458149993472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789648713000,"timestamp_ms":1789648713000,"timestamp_seconds":1789648713,"priority":1,"record_length":96,"hex_timestamp":"000001a0af603528"} 
[2026-09-17 18:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458149993472001,"66":2253,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458149993472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:13:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458149993472001,"power":2253,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":185439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:13:09] local.INFO: GPS data processed {"connection_id":185439,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:13:09] local.INFO: Acknowledgment sent {"connection_id":185439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:13:15] local.INFO: TCP Data received {"connection_id":185588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:13:15] local.INFO: Processing buffer {"connection_id":185588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:13:15] local.INFO: IMEI packet received {"connection_id":185588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":185588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:13:20] local.INFO: TCP Data received {"connection_id":185588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:13:20] local.INFO: Processing buffer {"connection_id":185588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:13:20] local.INFO: IMEI packet received {"connection_id":185588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":185588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:13:20] local.INFO: TCP Data received {"connection_id":185588,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:13:20] local.INFO: Processing buffer {"connection_id":185588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:13:20] local.INFO: Packet analysis {"connection_id":185588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:13:20] local.INFO: Extracted packet for processing {"connection_id":185588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150039296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:13:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789648892000,"timestamp_ms":1789648892000,"timestamp_seconds":1789648892,"priority":1,"record_length":96,"hex_timestamp":"000001a0af62f060"} 
[2026-09-17 18:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:13:20] 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-09-17 18:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150039296001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150039296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150039296001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":185588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:13:20] local.INFO: GPS data processed {"connection_id":185588,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:13:20] local.INFO: Acknowledgment sent {"connection_id":185588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:13:34] local.INFO: TCP Data received {"connection_id":188231,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:34] local.INFO: Processing buffer {"connection_id":188231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:34] local.INFO: IMEI packet received {"connection_id":188231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":188231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:13:35] local.INFO: TCP Data received {"connection_id":188231,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:35] local.INFO: Processing buffer {"connection_id":188231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:35] local.INFO: IMEI packet received {"connection_id":188231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":188231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:13:36] local.INFO: TCP Data received {"connection_id":188231,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:36] local.INFO: Processing buffer {"connection_id":188231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:36] local.INFO: IMEI packet received {"connection_id":188231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":188231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:13:37] local.INFO: TCP Data received {"connection_id":188231,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:37] local.INFO: Processing buffer {"connection_id":188231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:13:37] local.INFO: IMEI packet received {"connection_id":188231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":188231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:13:40] local.INFO: TCP Data received {"connection_id":185439,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:13:40] local.INFO: Processing buffer {"connection_id":185439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:13:40] local.INFO: Packet analysis {"connection_id":185439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:13:40] local.INFO: Extracted packet for processing {"connection_id":185439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:13:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":185439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:13:40] local.INFO: GPS data processed {"connection_id":185439,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:13:40] local.INFO: Acknowledgment sent {"connection_id":185439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:13:54] local.INFO: TCP Data received {"connection_id":188232,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:13:54] local.INFO: Processing buffer {"connection_id":188232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:13:54] local.INFO: IMEI packet received {"connection_id":188232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":188232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:14:05] local.INFO: TCP Data received {"connection_id":186889,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:14:05] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:14:05] local.INFO: IMEI packet received {"connection_id":186889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":186889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:14:08] local.INFO: TCP Data received {"connection_id":186889,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:14:08] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:14:08] local.INFO: IMEI packet received {"connection_id":186889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":186889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:14:09] local.INFO: TCP Data received {"connection_id":186889,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:14:09] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:14:09] local.INFO: Packet analysis {"connection_id":186889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:14:09] local.INFO: Extracted packet for processing {"connection_id":186889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:14:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":186889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:14:09] local.INFO: GPS data processed {"connection_id":186889,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:14:09] local.INFO: Acknowledgment sent {"connection_id":186889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:14:09] local.INFO: TCP Data received {"connection_id":185589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:14:09] local.INFO: Processing buffer {"connection_id":185589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:14:09] local.INFO: IMEI packet received {"connection_id":185589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":185589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:14:15] local.INFO: TCP Data received {"connection_id":185589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:14:15] local.INFO: Processing buffer {"connection_id":185589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:14:15] local.INFO: IMEI packet received {"connection_id":185589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":185589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:14:15] local.INFO: TCP Data received {"connection_id":185589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:14:15] local.INFO: Processing buffer {"connection_id":185589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:14:15] local.INFO: Packet analysis {"connection_id":185589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:14:15] local.INFO: Extracted packet for processing {"connection_id":185589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150039296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789648892000,"timestamp_ms":1789648892000,"timestamp_seconds":1789648892,"priority":1,"record_length":96,"hex_timestamp":"000001a0af62f060"} 
[2026-09-17 18:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150039296001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150039296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150039296001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":185589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:14:15] local.INFO: GPS data processed {"connection_id":185589,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:14:15] local.INFO: Acknowledgment sent {"connection_id":185589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:14:40] local.INFO: TCP Data received {"connection_id":186889,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:14:40] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:14:40] local.INFO: Packet analysis {"connection_id":186889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:14:40] local.INFO: Extracted packet for processing {"connection_id":186889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:14:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":186889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:14:40] local.INFO: GPS data processed {"connection_id":186889,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:14:40] local.INFO: Acknowledgment sent {"connection_id":186889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:14:47] local.INFO: TCP Data received {"connection_id":185589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:14:47] local.INFO: Processing buffer {"connection_id":185589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:14:47] local.INFO: Packet analysis {"connection_id":185589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:14:47] local.INFO: Extracted packet for processing {"connection_id":185589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150039296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789648892000,"timestamp_ms":1789648892000,"timestamp_seconds":1789648892,"priority":1,"record_length":96,"hex_timestamp":"000001a0af62f060"} 
[2026-09-17 18:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":185589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":185589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":185589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:14:47] 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-09-17 18:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150039296001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150039296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150039296001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":185589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:14:47] local.INFO: GPS data processed {"connection_id":185589,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:14:47] local.INFO: Acknowledgment sent {"connection_id":185589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:14:49] local.INFO: TCP Data received {"connection_id":186891,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:14:49] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:14:49] local.INFO: IMEI packet received {"connection_id":186891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":186891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:15:03] local.INFO: TCP Data received {"connection_id":185440,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:15:03] local.INFO: Processing buffer {"connection_id":185440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:15:03] local.INFO: IMEI packet received {"connection_id":185440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":185440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:15:08] local.INFO: TCP Data received {"connection_id":185440,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:15:08] local.INFO: Processing buffer {"connection_id":185440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:15:08] local.INFO: IMEI packet received {"connection_id":185440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":185440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:15:09] local.INFO: TCP Data received {"connection_id":185440,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:15:09] local.INFO: Processing buffer {"connection_id":185440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:15:09] local.INFO: Packet analysis {"connection_id":185440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:15:09] local.INFO: Extracted packet for processing {"connection_id":185440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":185440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:15:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":185440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:15:09] local.INFO: GPS data processed {"connection_id":185440,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:15:09] local.INFO: Acknowledgment sent {"connection_id":185440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:15:14] local.INFO: TCP Data received {"connection_id":185441,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:15:14] local.INFO: Processing buffer {"connection_id":185441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:15:14] local.INFO: IMEI packet received {"connection_id":185441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":185441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:15:20] local.INFO: TCP Data received {"connection_id":185441,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:15:20] local.INFO: Processing buffer {"connection_id":185441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:15:20] local.INFO: IMEI packet received {"connection_id":185441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":185441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:15:21] local.INFO: TCP Data received {"connection_id":185441,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:15:21] local.INFO: Processing buffer {"connection_id":185441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:15:21] local.INFO: Packet analysis {"connection_id":185441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:15:21] local.INFO: Extracted packet for processing {"connection_id":185441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150039296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789648892000,"timestamp_ms":1789648892000,"timestamp_seconds":1789648892,"priority":1,"record_length":96,"hex_timestamp":"000001a0af62f060"} 
[2026-09-17 18:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150039296001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150039296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150039296001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":185441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:15:21] local.INFO: GPS data processed {"connection_id":185441,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:15:21] local.INFO: Acknowledgment sent {"connection_id":185441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:15:40] local.INFO: TCP Data received {"connection_id":185440,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:15:40] local.INFO: Processing buffer {"connection_id":185440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:15:40] local.INFO: Packet analysis {"connection_id":185440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:15:40] local.INFO: Extracted packet for processing {"connection_id":185440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:15:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":185440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:15:40] local.INFO: GPS data processed {"connection_id":185440,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:15:40] local.INFO: Acknowledgment sent {"connection_id":185440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:15:52] local.INFO: TCP Data received {"connection_id":185441,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:15:52] local.INFO: Processing buffer {"connection_id":185441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:15:52] local.INFO: Packet analysis {"connection_id":185441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:15:52] local.INFO: Extracted packet for processing {"connection_id":185441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150039296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789648892000,"timestamp_ms":1789648892000,"timestamp_seconds":1789648892,"priority":1,"record_length":96,"hex_timestamp":"000001a0af62f060"} 
[2026-09-17 18:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150039296001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150039296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150039296001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":185441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:15:52] local.INFO: GPS data processed {"connection_id":185441,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:15:52] local.INFO: Acknowledgment sent {"connection_id":185441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:16:03] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:16:03] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:16:03] local.INFO: IMEI packet received {"connection_id":186892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":186892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:16:08] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:16:08] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:16:08] local.INFO: IMEI packet received {"connection_id":186892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":186892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:16:09] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:16:09] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:16:09] local.INFO: Packet analysis {"connection_id":186892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:16:09] local.INFO: Extracted packet for processing {"connection_id":186892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:16:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":186892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:16:09] local.INFO: GPS data processed {"connection_id":186892,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:16:09] local.INFO: Acknowledgment sent {"connection_id":186892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:16:20] local.INFO: TCP Data received {"connection_id":185592,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:16:20] local.INFO: Processing buffer {"connection_id":185592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:16:20] local.INFO: IMEI packet received {"connection_id":185592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":185592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:16:25] local.INFO: TCP Data received {"connection_id":185592,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:16:25] local.INFO: Processing buffer {"connection_id":185592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:16:25] local.INFO: IMEI packet received {"connection_id":185592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":185592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:16:26] local.INFO: TCP Data received {"connection_id":185592,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:16:26] local.INFO: Processing buffer {"connection_id":185592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:16:26] local.INFO: Packet analysis {"connection_id":185592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:16:26] local.INFO: Extracted packet for processing {"connection_id":185592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150039296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789648892000,"timestamp_ms":1789648892000,"timestamp_seconds":1789648892,"priority":1,"record_length":96,"hex_timestamp":"000001a0af62f060"} 
[2026-09-17 18:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150039296001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150039296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:16:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150039296001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":185592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:16:26] local.INFO: GPS data processed {"connection_id":185592,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:16:26] local.INFO: Acknowledgment sent {"connection_id":185592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:16:30] local.INFO: TCP Data received {"connection_id":185592,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:16:30] local.INFO: Processing buffer {"connection_id":185592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af62f060012d34c14006aa4440000a011829..."} 
[2026-09-17 18:16:30] local.INFO: Packet analysis {"connection_id":185592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:16:30] local.INFO: Extracted packet for processing {"connection_id":185592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af62"} 
[2026-09-17 18:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150039296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789648892000,"timestamp_ms":1789648892000,"timestamp_seconds":1789648892,"priority":1,"record_length":96,"hex_timestamp":"000001a0af62f060"} 
[2026-09-17 18:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150039296001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150039296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:16:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150039296001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":185592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:16:30] local.INFO: GPS data processed {"connection_id":185592,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:16:30] local.INFO: Acknowledgment sent {"connection_id":185592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:16:40] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:16:40] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:16:40] local.INFO: Packet analysis {"connection_id":186892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:16:40] local.INFO: Extracted packet for processing {"connection_id":186892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:16:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":186892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:16:41] local.INFO: GPS data processed {"connection_id":186892,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:16:41] local.INFO: Acknowledgment sent {"connection_id":186892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:17:08] local.INFO: TCP Data received {"connection_id":185444,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:17:08] local.INFO: Processing buffer {"connection_id":185444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:17:08] local.INFO: IMEI packet received {"connection_id":185444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":185444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:17:13] local.INFO: TCP Data received {"connection_id":185444,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:17:13] local.INFO: Processing buffer {"connection_id":185444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:17:13] local.INFO: IMEI packet received {"connection_id":185444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":185444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:17:14] local.INFO: TCP Data received {"connection_id":185444,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:17:14] local.INFO: Processing buffer {"connection_id":185444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:17:14] local.INFO: Packet analysis {"connection_id":185444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:17:14] local.INFO: Extracted packet for processing {"connection_id":185444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":185444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":185444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":185444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:17:14] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":185444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:17:14] local.INFO: GPS data processed {"connection_id":185444,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:17:14] local.INFO: Acknowledgment sent {"connection_id":185444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:17:15] local.INFO: TCP Data received {"connection_id":185445,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:17:15] local.INFO: Processing buffer {"connection_id":185445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:17:15] local.INFO: IMEI packet received {"connection_id":185445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":185445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:17:19] local.INFO: TCP Data received {"connection_id":185444,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:17:19] local.INFO: Processing buffer {"connection_id":185444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:17:19] local.INFO: Packet analysis {"connection_id":185444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:17:19] local.INFO: Extracted packet for processing {"connection_id":185444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:17:19] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":185444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":185444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":185444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:17:19] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":185444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:17:19] local.INFO: GPS data processed {"connection_id":185444,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:17:19] local.INFO: Acknowledgment sent {"connection_id":185444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:17:21] local.INFO: TCP Data received {"connection_id":185445,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:17:21] local.INFO: Processing buffer {"connection_id":185445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:17:21] local.INFO: IMEI packet received {"connection_id":185445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":185445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:17:22] local.INFO: TCP Data received {"connection_id":185445,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:17:22] local.INFO: Processing buffer {"connection_id":185445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:17:22] local.INFO: Packet analysis {"connection_id":185445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:17:22] local.INFO: Extracted packet for processing {"connection_id":185445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:17:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":185445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:17:22] local.INFO: GPS data processed {"connection_id":185445,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:17:22] local.INFO: Acknowledgment sent {"connection_id":185445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:17:53] local.INFO: TCP Data received {"connection_id":185445,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:17:53] local.INFO: Processing buffer {"connection_id":185445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:17:53] local.INFO: Packet analysis {"connection_id":185445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:17:53] local.INFO: Extracted packet for processing {"connection_id":185445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":185445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:17:53] local.INFO: GPS data processed {"connection_id":185445,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:17:53] local.INFO: Acknowledgment sent {"connection_id":185445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:18:03] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:18:03] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:18:03] local.INFO: IMEI packet received {"connection_id":188233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":188233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:18:08] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:18:08] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:18:08] local.INFO: IMEI packet received {"connection_id":188233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":188233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:18:10] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:18:10] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af64ccf0012d7fa48005dc65c8000b009730..."} 
[2026-09-17 18:18:10] local.INFO: Packet analysis {"connection_id":188233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:18:10] local.INFO: Extracted packet for processing {"connection_id":188233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af64"} 
[2026-09-17 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150070528001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789649014000,"timestamp_ms":1789649014000,"timestamp_seconds":1789649014,"priority":1,"record_length":96,"hex_timestamp":"000001a0af64ccf0"} 
[2026-09-17 18:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 18:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150070528001,"66":2242,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150070528001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:18:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150070528001,"power":2242,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":188233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:18:10] local.INFO: GPS data processed {"connection_id":188233,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:18:10] local.INFO: Acknowledgment sent {"connection_id":188233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:18:14] local.INFO: TCP Data received {"connection_id":185446,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:18:14] local.INFO: Processing buffer {"connection_id":185446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:18:14] local.INFO: IMEI packet received {"connection_id":185446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":185446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:18:20] local.INFO: TCP Data received {"connection_id":185446,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:18:20] local.INFO: Processing buffer {"connection_id":185446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:18:20] local.INFO: IMEI packet received {"connection_id":185446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":185446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:18:21] local.INFO: TCP Data received {"connection_id":185446,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:18:21] local.INFO: Processing buffer {"connection_id":185446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:18:21] local.INFO: Packet analysis {"connection_id":185446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:18:21] local.INFO: Extracted packet for processing {"connection_id":185446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":185446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:18:21] local.INFO: GPS data processed {"connection_id":185446,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:18:21] local.INFO: Acknowledgment sent {"connection_id":185446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:18:40] local.INFO: TCP Data received {"connection_id":188234,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:18:40] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:18:40] local.INFO: IMEI packet received {"connection_id":188234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":188234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:18:41] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:18:41] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:18:41] local.INFO: Packet analysis {"connection_id":188233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:18:41] local.INFO: Extracted packet for processing {"connection_id":188233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150147584001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649315000,"timestamp_ms":1789649315000,"timestamp_seconds":1789649315,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6964b8"} 
[2026-09-17 18:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 18:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150147584001,"66":2231,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150147584001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:18:41] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150147584001,"power":2231,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":188233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:18:41] local.INFO: GPS data processed {"connection_id":188233,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:18:41] local.INFO: Acknowledgment sent {"connection_id":188233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:18:41] local.INFO: TCP Data received {"connection_id":188234,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6818b0012d186600072181b8004f011929..."} 
[2026-09-17 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6818b0012d186600072181b8004f011929..."} 
[2026-09-17 18:18:41] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6818b0012d186600072181b8004f011929..."} 
[2026-09-17 18:18:41] local.INFO: Packet analysis {"connection_id":188234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af68"} 
[2026-09-17 18:18:41] local.INFO: Extracted packet for processing {"connection_id":188234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af68"} 
[2026-09-17 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756573696,"raw_latitude":119636408,"longitude_deg":75.6573696,"latitude_deg":11.9636408,"altitude":79,"angle":281,"satellites":41,"speed":36,"hex_longitude":"2d186600","hex_latitude":"072181b8","is_valid_coordinates":true} 
[2026-09-17 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150201856001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21315922690048000,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762314859812354048,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649230000,"timestamp_ms":1789649230000,"timestamp_seconds":1789649230,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6818b0"} 
[2026-09-17 18:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-17 18:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150201856001,"66":14363,"106":206,"83":41984,"24":36,"16":21315922690048000,"45":1762314859812354048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-17 18:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150201856001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:18:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-17 18:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21315922690048000,"km_value":21315922690048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762314859812354048,"description":"Unknown IO ID 45"} 
[2026-09-17 18:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150201856001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1762314859812354048}} 
[2026-09-17 18:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":188234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:18:41] local.INFO: GPS data processed {"connection_id":188234,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:18:41] local.INFO: Acknowledgment sent {"connection_id":188234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:18:53] local.INFO: TCP Data received {"connection_id":185446,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:18:53] local.INFO: Processing buffer {"connection_id":185446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:18:53] local.INFO: Packet analysis {"connection_id":185446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:18:53] local.INFO: Extracted packet for processing {"connection_id":185446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":185446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:18:53] local.INFO: GPS data processed {"connection_id":185446,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:18:53] local.INFO: Acknowledgment sent {"connection_id":185446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:19:03] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:19:03] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:19:03] local.INFO: IMEI packet received {"connection_id":188235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":188235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:19:08] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:19:08] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:19:08] local.INFO: IMEI packet received {"connection_id":188235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":188235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:19:09] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:19:09] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:19:09] local.INFO: Packet analysis {"connection_id":188235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:19:09] local.INFO: Extracted packet for processing {"connection_id":188235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150147584001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789649315000,"timestamp_ms":1789649315000,"timestamp_seconds":1789649315,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6964b8"} 
[2026-09-17 18:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 18:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150147584001,"66":2231,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150147584001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:19:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150147584001,"power":2231,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":188235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:19:09] local.INFO: GPS data processed {"connection_id":188235,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:19:09] local.INFO: Acknowledgment sent {"connection_id":188235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:19:12] local.INFO: TCP Data received {"connection_id":188234,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af694578012d1823400721b6b8004f00ad2d..."} 
[2026-09-17 18:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af694578012d1823400721b6b8004f00ad2d..."} 
[2026-09-17 18:19:12] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af694578012d1823400721b6b8004f00ad2d..."} 
[2026-09-17 18:19:12] local.INFO: Packet analysis {"connection_id":188234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:19:12] local.INFO: Extracted packet for processing {"connection_id":188234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649976,"longitude_deg":75.6556608,"latitude_deg":11.9649976,"altitude":79,"angle":173,"satellites":45,"speed":5,"hex_longitude":"2d182340","hex_latitude":"0721b6b8","is_valid_coordinates":true} 
[2026-09-17 18:19: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-09-17 18:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150222336001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317176820498432,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469749760,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789649307000,"timestamp_ms":1789649307000,"timestamp_seconds":1789649307,"priority":1,"record_length":96,"hex_timestamp":"000001a0af694578"} 
[2026-09-17 18:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 18:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:19: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-09-17 18:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150222336001,"66":13222,"105":206,"83":41984,"24":5,"16":21317176820498432,"45":1739304280469749760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150222336001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:19:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317176820498432,"km_value":21317176820498.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469749760,"description":"Unknown IO ID 45"} 
[2026-09-17 18:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150222336001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739304280469749760}} 
[2026-09-17 18:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":188234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:19:12] local.INFO: GPS data processed {"connection_id":188234,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:19:12] local.INFO: Acknowledgment sent {"connection_id":188234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:19:14] local.INFO: TCP Data received {"connection_id":188236,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:19:14] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:19:14] local.INFO: IMEI packet received {"connection_id":188236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":188236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:19:20] local.INFO: TCP Data received {"connection_id":188236,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:19:20] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:19:20] local.INFO: IMEI packet received {"connection_id":188236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":188236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:19:21] local.INFO: TCP Data received {"connection_id":188236,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:19:21] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:19:21] local.INFO: Packet analysis {"connection_id":188236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:19:21] local.INFO: Extracted packet for processing {"connection_id":188236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":188236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:19:21] local.INFO: GPS data processed {"connection_id":188236,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:19:21] local.INFO: Acknowledgment sent {"connection_id":188236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:19:35] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:19:35] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:19:35] local.INFO: IMEI packet received {"connection_id":185448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":185448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:19:40] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:19:40] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:19:40] local.INFO: IMEI packet received {"connection_id":185448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":185448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:19:40] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:19:40] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:19:40] local.INFO: Packet analysis {"connection_id":188235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:19:40] local.INFO: Extracted packet for processing {"connection_id":188235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150147584001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789649315000,"timestamp_ms":1789649315000,"timestamp_seconds":1789649315,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6964b8"} 
[2026-09-17 18:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 18:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150147584001,"66":2231,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150147584001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:19:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150147584001,"power":2231,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":188235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:19:41] local.INFO: GPS data processed {"connection_id":188235,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:19:41] local.INFO: Acknowledgment sent {"connection_id":188235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:19:41] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af695130012d1823000721b540005000c32d..."} 
[2026-09-17 18:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af695130012d1823000721b540005000c32d..."} 
[2026-09-17 18:19:41] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af695130012d1823000721b540005000c32d..."} 
[2026-09-17 18:19:41] local.INFO: Packet analysis {"connection_id":185448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:19:41] local.INFO: Extracted packet for processing {"connection_id":185448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649600,"longitude_deg":75.6556544,"latitude_deg":11.96496,"altitude":80,"angle":195,"satellites":45,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b540","is_valid_coordinates":true} 
[2026-09-17 18:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150222592001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317194000367616,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469714944,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649310000,"timestamp_ms":1789649310000,"timestamp_seconds":1789649310,"priority":1,"record_length":96,"hex_timestamp":"000001a0af695130"} 
[2026-09-17 18:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-17 18:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150222592001,"66":13243,"105":206,"83":41984,"24":5,"16":21317194000367616,"45":1739304280469714944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150222592001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:19:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317194000367616,"km_value":21317194000367.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469714944,"description":"Unknown IO ID 45"} 
[2026-09-17 18:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150222592001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739304280469714944}} 
[2026-09-17 18:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":185448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:19:41] local.INFO: GPS data processed {"connection_id":185448,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:19:41] local.INFO: Acknowledgment sent {"connection_id":185448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:19:54] local.INFO: TCP Data received {"connection_id":188236,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:19:54] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:19:54] local.INFO: Packet analysis {"connection_id":188236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:19:54] local.INFO: Extracted packet for processing {"connection_id":188236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":188236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:19:55] local.INFO: GPS data processed {"connection_id":188236,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:19:55] local.INFO: Acknowledgment sent {"connection_id":188236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:20:03] local.INFO: TCP Data received {"connection_id":185595,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:20:03] local.INFO: Processing buffer {"connection_id":185595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:20:03] local.INFO: IMEI packet received {"connection_id":185595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-17 18:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":185595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:20:09] local.INFO: TCP Data received {"connection_id":185595,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:20:09] local.INFO: Processing buffer {"connection_id":185595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-17 18:20:09] local.INFO: IMEI packet received {"connection_id":185595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-17 18:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":185595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:20:12] local.INFO: TCP Data received {"connection_id":185595,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:20:12] local.INFO: Processing buffer {"connection_id":185595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:20:12] local.INFO: Packet analysis {"connection_id":185595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:20:12] local.INFO: Extracted packet for processing {"connection_id":185595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150147584001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789649315000,"timestamp_ms":1789649315000,"timestamp_seconds":1789649315,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6964b8"} 
[2026-09-17 18:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 18:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150147584001,"66":2231,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150147584001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:20:12] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150147584001,"power":2231,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":185595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:20:12] local.INFO: GPS data processed {"connection_id":185595,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:20:12] local.INFO: Acknowledgment sent {"connection_id":185595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:20:12] local.INFO: TCP Data received {"connection_id":185448,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af695518012d1822c00721b4c8005000d52d..."} 
[2026-09-17 18:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af695518012d1822c00721b4c8005000d52d..."} 
[2026-09-17 18:20:12] local.INFO: Processing buffer {"connection_id":185448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af695518012d1822c00721b4c8005000d52d..."} 
[2026-09-17 18:20:12] local.INFO: Packet analysis {"connection_id":185448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:20:12] local.INFO: Extracted packet for processing {"connection_id":185448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649480,"longitude_deg":75.655648,"latitude_deg":11.964948,"altitude":80,"angle":213,"satellites":45,"speed":6,"hex_longitude":"2d1822c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-17 18:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150223360001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317202590302208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725441024,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789649311000,"timestamp_ms":1789649311000,"timestamp_seconds":1789649311,"priority":1,"record_length":96,"hex_timestamp":"000001a0af695518"} 
[2026-09-17 18:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 18:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150223360001,"66":13243,"105":206,"83":41984,"24":6,"16":21317202590302208,"45":1739233911725441024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150223360001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:20:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:20:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317202590302208,"km_value":21317202590302.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725441024,"description":"Unknown IO ID 45"} 
[2026-09-17 18:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150223360001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725441024}} 
[2026-09-17 18:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":185448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:20:12] local.INFO: GPS data processed {"connection_id":185448,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:20:12] local.INFO: Acknowledgment sent {"connection_id":185448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:20:20] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:20:20] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:20:20] local.INFO: IMEI packet received {"connection_id":186894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":186894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:20:24] local.INFO: TCP Data received {"connection_id":186893,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:20:24] local.INFO: Processing buffer {"connection_id":186893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:20:24] local.INFO: IMEI packet received {"connection_id":186893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":186893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:20:25] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:20:25] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:20:25] local.INFO: IMEI packet received {"connection_id":186894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":186894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:20:29] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:20:29] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:20:29] local.INFO: Packet analysis {"connection_id":186894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:20:29] local.INFO: Extracted packet for processing {"connection_id":186894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:20:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":186894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:20:29] local.INFO: GPS data processed {"connection_id":186894,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:20:29] local.INFO: Acknowledgment sent {"connection_id":186894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:20:30] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:20:30] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:20:30] local.INFO: Packet analysis {"connection_id":186894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:20:30] local.INFO: Extracted packet for processing {"connection_id":186894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:20:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":186894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:20:30] local.INFO: GPS data processed {"connection_id":186894,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:20:30] local.INFO: Acknowledgment sent {"connection_id":186894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:20:35] local.INFO: TCP Data received {"connection_id":185596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:20:35] local.INFO: Processing buffer {"connection_id":185596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:20:35] local.INFO: IMEI packet received {"connection_id":185596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":185596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:20:40] local.INFO: TCP Data received {"connection_id":185596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:20:40] local.INFO: Processing buffer {"connection_id":185596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:20:40] local.INFO: IMEI packet received {"connection_id":185596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":185596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:20:41] local.INFO: TCP Data received {"connection_id":185596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af69a720012d1822400721b410005000d52b..."} 
[2026-09-17 18:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af69a720012d1822400721b410005000d52b..."} 
[2026-09-17 18:20:41] local.INFO: Processing buffer {"connection_id":185596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af69a720012d1822400721b410005000d52b..."} 
[2026-09-17 18:20:41] local.INFO: Packet analysis {"connection_id":185596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:20:41] local.INFO: Extracted packet for processing {"connection_id":185596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150223616001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981232640,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649332000,"timestamp_ms":1789649332000,"timestamp_seconds":1789649332,"priority":1,"record_length":96,"hex_timestamp":"000001a0af69a720"} 
[2026-09-17 18:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-17 18:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150223616001,"66":13135,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739163542981232640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150223616001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:20:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981232640,"description":"Unknown IO ID 45"} 
[2026-09-17 18:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150223616001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981232640}} 
[2026-09-17 18:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":185596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:20:41] local.INFO: GPS data processed {"connection_id":185596,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:20:41] local.INFO: Acknowledgment sent {"connection_id":185596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:20:43] local.INFO: TCP Data received {"connection_id":185595,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:20:43] local.INFO: Processing buffer {"connection_id":185595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6964b8012d7fa48005dc65c8000b00972f..."} 
[2026-09-17 18:20:43] local.INFO: Packet analysis {"connection_id":185595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:20:43] local.INFO: Extracted packet for processing {"connection_id":185595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98330056,"longitude_deg":76.3339904,"latitude_deg":9.8330056,"altitude":11,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05dc65c8","is_valid_coordinates":true} 
[2026-09-17 18:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150147584001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134457202491523072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101658245120,"note":"Value kept but may cause issues"} 
[2026-09-17 18:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789649315000,"timestamp_ms":1789649315000,"timestamp_seconds":1789649315,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6964b8"} 
[2026-09-17 18:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 18:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-17 18:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-17 18:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-17 18:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150147584001,"66":2231,"53":206,"85":15104,"24":0,"16":134457202491523072,"45":9197617101658245120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-17 18:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-17 18:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-17 18:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150147584001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:20:43] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-17 18:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-17 18:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134457202491523072,"km_value":134457202491523.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101658245120,"description":"Unknown IO ID 45"} 
[2026-09-17 18:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150147584001,"power":2231,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9197617101658245120}} 
[2026-09-17 18:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":185595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:20:43] local.INFO: GPS data processed {"connection_id":185595,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:20:43] local.INFO: Acknowledgment sent {"connection_id":185595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:20:49] local.INFO: TCP Data received {"connection_id":185597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:20:49] local.INFO: Processing buffer {"connection_id":185597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:20:49] local.INFO: IMEI packet received {"connection_id":185597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":185597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:21:17] local.INFO: TCP Data received {"connection_id":185596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af69f928012d1822400721b410005000d52c..."} 
[2026-09-17 18:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af69f928012d1822400721b410005000d52c..."} 
[2026-09-17 18:21:17] local.INFO: Processing buffer {"connection_id":185596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af69f928012d1822400721b410005000d52c..."} 
[2026-09-17 18:21:17] local.INFO: Packet analysis {"connection_id":185596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:21:17] local.INFO: Extracted packet for processing {"connection_id":185596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af69"} 
[2026-09-17 18:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150228992001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492830208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789649353000,"timestamp_ms":1789649353000,"timestamp_seconds":1789649353,"priority":1,"record_length":96,"hex_timestamp":"000001a0af69f928"} 
[2026-09-17 18:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-17 18:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150228992001,"66":13091,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739022805492830208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150228992001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:21:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492830208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150228992001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492830208}} 
[2026-09-17 18:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":185596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:21:17] local.INFO: GPS data processed {"connection_id":185596,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:21:17] local.INFO: Acknowledgment sent {"connection_id":185596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:21:17] local.INFO: TCP Data received {"connection_id":185449,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:21:17] local.INFO: Processing buffer {"connection_id":185449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:21:17] local.INFO: IMEI packet received {"connection_id":185449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":185449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:21:20] local.INFO: TCP Data received {"connection_id":185449,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:21:20] local.INFO: Processing buffer {"connection_id":185449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:21:20] local.INFO: IMEI packet received {"connection_id":185449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":185449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:21:21] local.INFO: TCP Data received {"connection_id":185449,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:21:21] local.INFO: Processing buffer {"connection_id":185449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:21:21] local.INFO: Packet analysis {"connection_id":185449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:21:21] local.INFO: Extracted packet for processing {"connection_id":185449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":185449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:21:21] local.INFO: GPS data processed {"connection_id":185449,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:21:21] local.INFO: Acknowledgment sent {"connection_id":185449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:21:27] local.INFO: TCP Data received {"connection_id":185449,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:21:27] local.INFO: Processing buffer {"connection_id":185449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:21:27] local.INFO: Packet analysis {"connection_id":185449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:21:27] local.INFO: Extracted packet for processing {"connection_id":185449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:21:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":185449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:21:27] local.INFO: GPS data processed {"connection_id":185449,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:21:27] local.INFO: Acknowledgment sent {"connection_id":185449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:21:35] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:21:35] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:21:35] local.INFO: IMEI packet received {"connection_id":188237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":188237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:21:36] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:21:36] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:21:36] local.INFO: IMEI packet received {"connection_id":188237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":188237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:21:40] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:21:40] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:21:40] local.INFO: IMEI packet received {"connection_id":188237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":188237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:21:41] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6a4b30012d1822400721b410005000d52c..."} 
[2026-09-17 18:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6a4b30012d1822400721b410005000d52c..."} 
[2026-09-17 18:21:41] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6a4b30012d1822400721b410005000d52c..."} 
[2026-09-17 18:21:41] local.INFO: Packet analysis {"connection_id":188237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6a"} 
[2026-09-17 18:21:41] local.INFO: Extracted packet for processing {"connection_id":188237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6a"} 
[2026-09-17 18:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150234368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492830208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649374000,"timestamp_ms":1789649374000,"timestamp_seconds":1789649374,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6a4b30"} 
[2026-09-17 18:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-17 18:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150234368001,"66":13102,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739022805492830208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150234368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:21:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492830208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150234368001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492830208}} 
[2026-09-17 18:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":188237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:21:41] local.INFO: GPS data processed {"connection_id":188237,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:21:41] local.INFO: Acknowledgment sent {"connection_id":188237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:21:58] local.INFO: TCP Data received {"connection_id":185449,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:21:58] local.INFO: Processing buffer {"connection_id":185449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af678828012d34c14006aa4440000a011827..."} 
[2026-09-17 18:21:58] local.INFO: Packet analysis {"connection_id":185449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:21:58] local.INFO: Extracted packet for processing {"connection_id":185449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af67"} 
[2026-09-17 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150116352001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789649193000,"timestamp_ms":1789649193000,"timestamp_seconds":1789649193,"priority":1,"record_length":96,"hex_timestamp":"000001a0af678828"} 
[2026-09-17 18:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":185449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":185449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":185449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:21:58] 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-09-17 18:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150116352001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150116352001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:21:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150116352001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":185449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:21:58] local.INFO: GPS data processed {"connection_id":185449,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:21:58] local.INFO: Acknowledgment sent {"connection_id":185449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:22:12] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6a9d38012d1822400721b410005000d52c..."} 
[2026-09-17 18:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6a9d38012d1822400721b410005000d52c..."} 
[2026-09-17 18:22:12] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6a9d38012d1822400721b410005000d52c..."} 
[2026-09-17 18:22:12] local.INFO: Packet analysis {"connection_id":188237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6a"} 
[2026-09-17 18:22:12] local.INFO: Extracted packet for processing {"connection_id":188237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6a"} 
[2026-09-17 18:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150239744001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492830208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789649395000,"timestamp_ms":1789649395000,"timestamp_seconds":1789649395,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6a9d38"} 
[2026-09-17 18:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-17 18:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150239744001,"66":13048,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739022805492830208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150239744001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:22:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492830208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150239744001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492830208}} 
[2026-09-17 18:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":188237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:22:12] local.INFO: GPS data processed {"connection_id":188237,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:22:12] local.INFO: Acknowledgment sent {"connection_id":188237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:22:14] local.INFO: TCP Data received {"connection_id":188238,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:22:14] local.INFO: Processing buffer {"connection_id":188238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:22:14] local.INFO: IMEI packet received {"connection_id":188238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:22:20] local.INFO: TCP Data received {"connection_id":188238,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:22:20] local.INFO: Processing buffer {"connection_id":188238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:22:20] local.INFO: IMEI packet received {"connection_id":188238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":188238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:22:21] local.INFO: TCP Data received {"connection_id":188238,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:22:21] local.INFO: Processing buffer {"connection_id":188238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:22:21] local.INFO: Packet analysis {"connection_id":188238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:22:21] local.INFO: Extracted packet for processing {"connection_id":188238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150193408001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789649494000,"timestamp_ms":1789649494000,"timestamp_seconds":1789649494,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c1ff0"} 
[2026-09-17 18:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150193408001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150193408001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150193408001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":188238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:22:21] local.INFO: GPS data processed {"connection_id":188238,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:22:21] local.INFO: Acknowledgment sent {"connection_id":188238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:22:39] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:22:39] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:22:39] local.INFO: IMEI packet received {"connection_id":186895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":186895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:22:40] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:22:40] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:22:40] local.INFO: IMEI packet received {"connection_id":186895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":186895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:22:45] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:22:45] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:22:45] local.INFO: IMEI packet received {"connection_id":186895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":186895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:22:46] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6aef40012d1822400721b410005000d52a..."} 
[2026-09-17 18:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6aef40012d1822400721b410005000d52a..."} 
[2026-09-17 18:22:46] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6aef40012d1822400721b410005000d52a..."} 
[2026-09-17 18:22:46] local.INFO: Packet analysis {"connection_id":186895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6a"} 
[2026-09-17 18:22:46] local.INFO: Extracted packet for processing {"connection_id":186895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6a"} 
[2026-09-17 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150245120001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492830208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789649416000,"timestamp_ms":1789649416000,"timestamp_seconds":1789649416,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6aef40"} 
[2026-09-17 18:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 18:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150245120001,"66":13004,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739022805492830208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150245120001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:22:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492830208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150245120001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492830208}} 
[2026-09-17 18:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":186895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:22:46] local.INFO: GPS data processed {"connection_id":186895,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:22:46] local.INFO: Acknowledgment sent {"connection_id":186895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:22:50] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6b4148012d1822400721b410005000d52b..."} 
[2026-09-17 18:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6b4148012d1822400721b410005000d52b..."} 
[2026-09-17 18:22:50] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6b4148012d1822400721b410005000d52b..."} 
[2026-09-17 18:22:50] local.INFO: Packet analysis {"connection_id":186895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6b"} 
[2026-09-17 18:22:50] local.INFO: Extracted packet for processing {"connection_id":186895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6b"} 
[2026-09-17 18:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150250496001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492830208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789649437000,"timestamp_ms":1789649437000,"timestamp_seconds":1789649437,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6b4148"} 
[2026-09-17 18:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 18:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150250496001,"66":13015,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739022805492830208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150250496001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:22:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492830208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150250496001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492830208}} 
[2026-09-17 18:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":186895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:22:50] local.INFO: GPS data processed {"connection_id":186895,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:22:50] local.INFO: Acknowledgment sent {"connection_id":186895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:22:53] local.INFO: TCP Data received {"connection_id":188238,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:22:53] local.INFO: Processing buffer {"connection_id":188238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:22:53] local.INFO: Packet analysis {"connection_id":188238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:22:53] local.INFO: Extracted packet for processing {"connection_id":188238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150193408001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789649494000,"timestamp_ms":1789649494000,"timestamp_seconds":1789649494,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c1ff0"} 
[2026-09-17 18:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150193408001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150193408001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150193408001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":188238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:22:53] local.INFO: GPS data processed {"connection_id":188238,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:22:53] local.INFO: Acknowledgment sent {"connection_id":188238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:23:14] local.INFO: TCP Data received {"connection_id":185599,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:23:14] local.INFO: Processing buffer {"connection_id":185599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:23:14] local.INFO: IMEI packet received {"connection_id":185599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":185599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:23:20] local.INFO: TCP Data received {"connection_id":185599,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:23:20] local.INFO: Processing buffer {"connection_id":185599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:23:20] local.INFO: IMEI packet received {"connection_id":185599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":185599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:23:21] local.INFO: TCP Data received {"connection_id":185599,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:23:21] local.INFO: Processing buffer {"connection_id":185599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:23:21] local.INFO: Packet analysis {"connection_id":185599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:23:21] local.INFO: Extracted packet for processing {"connection_id":185599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150193408001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:23:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789649494000,"timestamp_ms":1789649494000,"timestamp_seconds":1789649494,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c1ff0"} 
[2026-09-17 18:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150193408001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150193408001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150193408001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":185599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:23:21] local.INFO: GPS data processed {"connection_id":185599,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:23:21] local.INFO: Acknowledgment sent {"connection_id":185599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:23:35] local.INFO: TCP Data received {"connection_id":185600,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:23:35] local.INFO: Processing buffer {"connection_id":185600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:23:35] local.INFO: IMEI packet received {"connection_id":185600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":185600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:23:40] local.INFO: TCP Data received {"connection_id":185600,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:23:40] local.INFO: Processing buffer {"connection_id":185600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:23:40] local.INFO: IMEI packet received {"connection_id":185600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":185600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:23:41] local.INFO: TCP Data received {"connection_id":185600,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6b9350012d1822400721b410005000d52c..."} 
[2026-09-17 18:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6b9350012d1822400721b410005000d52c..."} 
[2026-09-17 18:23:41] local.INFO: Processing buffer {"connection_id":185600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6b9350012d1822400721b410005000d52c..."} 
[2026-09-17 18:23:41] local.INFO: Packet analysis {"connection_id":185600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6b"} 
[2026-09-17 18:23:41] local.INFO: Extracted packet for processing {"connection_id":185600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6b"} 
[2026-09-17 18:23:41] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150255872001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492830208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649458000,"timestamp_ms":1789649458000,"timestamp_seconds":1789649458,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6b9350"} 
[2026-09-17 18:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-17 18:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150255872001,"66":12950,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739022805492830208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150255872001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:23:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492830208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150255872001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492830208}} 
[2026-09-17 18:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":185600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:23:41] local.INFO: GPS data processed {"connection_id":185600,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:23:41] local.INFO: Acknowledgment sent {"connection_id":185600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:23:52] local.INFO: TCP Data received {"connection_id":185599,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:23:52] local.INFO: Processing buffer {"connection_id":185599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:23:52] local.INFO: Packet analysis {"connection_id":185599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:23:52] local.INFO: Extracted packet for processing {"connection_id":185599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150193408001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:23:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789649494000,"timestamp_ms":1789649494000,"timestamp_seconds":1789649494,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c1ff0"} 
[2026-09-17 18:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150193408001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150193408001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150193408001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":185599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:23:52] local.INFO: GPS data processed {"connection_id":185599,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:23:52] local.INFO: Acknowledgment sent {"connection_id":185599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:24:12] local.INFO: TCP Data received {"connection_id":185600,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6be558012d1822400721b410005000d52c..."} 
[2026-09-17 18:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6be558012d1822400721b410005000d52c..."} 
[2026-09-17 18:24:12] local.INFO: Processing buffer {"connection_id":185600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6be558012d1822400721b410005000d52c..."} 
[2026-09-17 18:24:12] local.INFO: Packet analysis {"connection_id":185600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6b"} 
[2026-09-17 18:24:12] local.INFO: Extracted packet for processing {"connection_id":185600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6b"} 
[2026-09-17 18:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150261248001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492830208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789649479000,"timestamp_ms":1789649479000,"timestamp_seconds":1789649479,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6be558"} 
[2026-09-17 18:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 18:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150261248001,"66":12972,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739022805492830208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150261248001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:24:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492830208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150261248001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492830208}} 
[2026-09-17 18:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":185600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:24:12] local.INFO: GPS data processed {"connection_id":185600,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:24:12] local.INFO: Acknowledgment sent {"connection_id":185600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:24:24] local.INFO: TCP Data received {"connection_id":185451,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:24:24] local.INFO: Processing buffer {"connection_id":185451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:24:24] local.INFO: IMEI packet received {"connection_id":185451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":185451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:24:25] local.INFO: TCP Data received {"connection_id":185451,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:24:25] local.INFO: Processing buffer {"connection_id":185451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:24:25] local.INFO: IMEI packet received {"connection_id":185451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":185451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:24:30] local.INFO: TCP Data received {"connection_id":185451,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:24:30] local.INFO: Processing buffer {"connection_id":185451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:24:30] local.INFO: IMEI packet received {"connection_id":185451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":185451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:24:31] local.INFO: TCP Data received {"connection_id":185451,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:24:31] local.INFO: Processing buffer {"connection_id":185451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:24:31] local.INFO: Packet analysis {"connection_id":185451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:24:31] local.INFO: Extracted packet for processing {"connection_id":185451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150193408001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:24:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789649494000,"timestamp_ms":1789649494000,"timestamp_seconds":1789649494,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c1ff0"} 
[2026-09-17 18:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150193408001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150193408001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150193408001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":185451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:24:31] local.INFO: GPS data processed {"connection_id":185451,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:24:31] local.INFO: Acknowledgment sent {"connection_id":185451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:24:35] local.INFO: TCP Data received {"connection_id":188241,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:24:35] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:24:35] local.INFO: IMEI packet received {"connection_id":188241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":188241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:24:36] local.INFO: TCP Data received {"connection_id":188241,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:24:36] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:24:36] local.INFO: IMEI packet received {"connection_id":188241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":188241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:24:40] local.INFO: TCP Data received {"connection_id":188241,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:24:40] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:24:40] local.INFO: IMEI packet received {"connection_id":188241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":188241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:24:41] local.INFO: TCP Data received {"connection_id":188241,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c3760012d1822400721b410005000d52b..."} 
[2026-09-17 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c3760012d1822400721b410005000d52b..."} 
[2026-09-17 18:24:41] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c3760012d1822400721b410005000d52b..."} 
[2026-09-17 18:24:41] local.INFO: Packet analysis {"connection_id":188241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:24:41] local.INFO: Extracted packet for processing {"connection_id":188241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150266624001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492830208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649500000,"timestamp_ms":1789649500000,"timestamp_seconds":1789649500,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c3760"} 
[2026-09-17 18:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-17 18:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150266624001,"66":13928,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739022805492830208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150266624001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:24:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492830208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150266624001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492830208}} 
[2026-09-17 18:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":188241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:24:41] local.INFO: GPS data processed {"connection_id":188241,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:24:41] local.INFO: Acknowledgment sent {"connection_id":188241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:25:12] local.INFO: TCP Data received {"connection_id":188241,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c8968012d1822400721b410005000d52b..."} 
[2026-09-17 18:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c8968012d1822400721b410005000d52b..."} 
[2026-09-17 18:25:12] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c8968012d1822400721b410005000d52b..."} 
[2026-09-17 18:25:12] local.INFO: Packet analysis {"connection_id":188241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:25:12] local.INFO: Extracted packet for processing {"connection_id":188241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649296,"longitude_deg":75.6556352,"latitude_deg":11.9649296,"altitude":80,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-17 18:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150272000001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317215475204096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492830208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789649521000,"timestamp_ms":1789649521000,"timestamp_seconds":1789649521,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c8968"} 
[2026-09-17 18:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-17 18:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150272000001,"66":14048,"105":206,"83":41984,"24":0,"16":21317215475204096,"45":1739022805492830208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150272000001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:25:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317215475204096,"km_value":21317215475204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492830208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150272000001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492830208}} 
[2026-09-17 18:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":188241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:25:12] local.INFO: GPS data processed {"connection_id":188241,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:25:12] local.INFO: Acknowledgment sent {"connection_id":188241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:25:14] local.INFO: TCP Data received {"connection_id":185452,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:25:14] local.INFO: Processing buffer {"connection_id":185452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:25:14] local.INFO: IMEI packet received {"connection_id":185452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":185452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:25:20] local.INFO: TCP Data received {"connection_id":185452,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:25:20] local.INFO: Processing buffer {"connection_id":185452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:25:20] local.INFO: IMEI packet received {"connection_id":185452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":185452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:25:21] local.INFO: TCP Data received {"connection_id":185452,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:25:21] local.INFO: Processing buffer {"connection_id":185452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:25:21] local.INFO: Packet analysis {"connection_id":185452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:25:21] local.INFO: Extracted packet for processing {"connection_id":185452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150193408001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789649494000,"timestamp_ms":1789649494000,"timestamp_seconds":1789649494,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c1ff0"} 
[2026-09-17 18:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150193408001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150193408001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150193408001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":185452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:25:21] local.INFO: GPS data processed {"connection_id":185452,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:25:21] local.INFO: Acknowledgment sent {"connection_id":185452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:25:35] local.INFO: TCP Data received {"connection_id":185602,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:25:35] local.INFO: Processing buffer {"connection_id":185602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:25:35] local.INFO: IMEI packet received {"connection_id":185602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":185602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:25:37] local.INFO: TCP Data received {"connection_id":185602,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:25:37] local.INFO: Processing buffer {"connection_id":185602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:25:37] local.INFO: IMEI packet received {"connection_id":185602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":185602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:25:40] local.INFO: TCP Data received {"connection_id":185602,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:25:40] local.INFO: Processing buffer {"connection_id":185602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:25:40] local.INFO: IMEI packet received {"connection_id":185602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":185602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:25:41] local.INFO: TCP Data received {"connection_id":185602,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6ee6e0012d1823400721b130005100fc2a..."} 
[2026-09-17 18:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6ee6e0012d1823400721b130005100fc2a..."} 
[2026-09-17 18:25:41] local.INFO: Processing buffer {"connection_id":185602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6ee6e0012d1823400721b130005100fc2a..."} 
[2026-09-17 18:25:41] local.INFO: Packet analysis {"connection_id":185602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6e"} 
[2026-09-17 18:25:41] local.INFO: Extracted packet for processing {"connection_id":185602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6e"} 
[2026-09-17 18:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119648560,"longitude_deg":75.6556608,"latitude_deg":11.964856,"altitude":81,"angle":252,"satellites":42,"speed":3,"hex_longitude":"2d182340","hex_latitude":"0721b130","is_valid_coordinates":true} 
[2026-09-17 18:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150316032001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317361504092160,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190248960,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649676000,"timestamp_ms":1789649676000,"timestamp_seconds":1789649676,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6ee6e0"} 
[2026-09-17 18:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6990818695,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2943211864,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503924903641088,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":187,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2961702994,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":128,"raw_value":22518389649965056,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3153723392,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84750519478198705,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:41] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,188,160,133,45,192,177,81,44,10,66,129,1,240,38,227,187,175,33,4,113,205,43,128,239,56,2,75,7,80,206],"length":529,"final_offset":659,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-17 18:25:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836984155832844288,"timestamp_seconds":5836984155832844.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 18:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150316032001,"66":14048,"105":206,"83":41984,"24":3,"16":21317361504092160,"45":1739656124190248960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150316032001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:25:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317361504092160,"km_value":21317361504092.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190248960,"description":"Unknown IO ID 45"} 
[2026-09-17 18:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150316032001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739656124190248960}} 
[2026-09-17 18:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":185602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:25:41] local.INFO: GPS data processed {"connection_id":185602,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:25:41] local.INFO: Acknowledgment sent {"connection_id":185602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:25:45] local.INFO: TCP Data received {"connection_id":185602,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6eeac8012d1822c00721b0c8005100ec2b..."} 
[2026-09-17 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6eeac8012d1822c00721b0c8005100ec2b..."} 
[2026-09-17 18:25:45] local.INFO: Processing buffer {"connection_id":185602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6eeac8012d1822c00721b0c8005100ec2b..."} 
[2026-09-17 18:25:45] local.INFO: Packet analysis {"connection_id":185602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6e"} 
[2026-09-17 18:25:45] local.INFO: Extracted packet for processing {"connection_id":185602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6e"} 
[2026-09-17 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119648456,"longitude_deg":75.655648,"latitude_deg":11.9648456,"altitude":81,"angle":236,"satellites":43,"speed":5,"hex_longitude":"2d1822c0","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-09-17 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150317056001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317370094026752,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469352448,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789649677000,"timestamp_ms":1789649677000,"timestamp_seconds":1789649677,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6eeac8"} 
[2026-09-17 18:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 18:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150317056001,"66":14048,"107":206,"83":41984,"24":5,"16":21317370094026752,"45":1739304280469352448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150317056001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:25:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317370094026752,"km_value":21317370094026.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469352448,"description":"Unknown IO ID 45"} 
[2026-09-17 18:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150317056001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739304280469352448}} 
[2026-09-17 18:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":185602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:25:45] local.INFO: GPS data processed {"connection_id":185602,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:25:45] local.INFO: Acknowledgment sent {"connection_id":185602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:25:52] local.INFO: TCP Data received {"connection_id":185452,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:25:52] local.INFO: Processing buffer {"connection_id":185452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:25:52] local.INFO: Packet analysis {"connection_id":185452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:25:52] local.INFO: Extracted packet for processing {"connection_id":185452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150193408001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789649494000,"timestamp_ms":1789649494000,"timestamp_seconds":1789649494,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c1ff0"} 
[2026-09-17 18:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150193408001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150193408001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150193408001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":185452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:25:52] local.INFO: GPS data processed {"connection_id":185452,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:25:52] local.INFO: Acknowledgment sent {"connection_id":185452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:26:14] local.INFO: TCP Data received {"connection_id":185453,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:26:14] local.INFO: Processing buffer {"connection_id":185453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:26:14] local.INFO: IMEI packet received {"connection_id":185453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":185453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:26:15] local.INFO: TCP Data received {"connection_id":185602,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6eeeb0012d1822400721b020005100d52a..."} 
[2026-09-17 18:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6eeeb0012d1822400721b020005100d52a..."} 
[2026-09-17 18:26:15] local.INFO: Processing buffer {"connection_id":185602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6eeeb0012d1822400721b020005100d52a..."} 
[2026-09-17 18:26:15] local.INFO: Packet analysis {"connection_id":185602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6e"} 
[2026-09-17 18:26:15] local.INFO: Extracted packet for processing {"connection_id":185602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6e"} 
[2026-09-17 18:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119648288,"longitude_deg":75.6556352,"latitude_deg":11.9648288,"altitude":81,"angle":213,"satellites":42,"speed":10,"hex_longitude":"2d182240","hex_latitude":"0721b020","is_valid_coordinates":true} 
[2026-09-17 18:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150317312001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317378683961344,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980970496,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789649678000,"timestamp_ms":1789649678000,"timestamp_seconds":1789649678,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6eeeb0"} 
[2026-09-17 18:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 18:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150317312001,"66":14070,"107":206,"83":41984,"24":10,"16":21317378683961344,"45":1739163542980970496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150317312001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:26:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317378683961344,"km_value":21317378683961.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980970496,"description":"Unknown IO ID 45"} 
[2026-09-17 18:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150317312001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1739163542980970496}} 
[2026-09-17 18:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":185602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:26:15] local.INFO: GPS data processed {"connection_id":185602,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:26:15] local.INFO: Acknowledgment sent {"connection_id":185602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:26:19] local.INFO: TCP Data received {"connection_id":185603,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:26:19] local.INFO: Processing buffer {"connection_id":185603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:26:19] local.INFO: IMEI packet received {"connection_id":185603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":185603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:26:20] local.INFO: TCP Data received {"connection_id":185453,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:26:20] local.INFO: Processing buffer {"connection_id":185453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:26:20] local.INFO: IMEI packet received {"connection_id":185453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":185453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:26:24] local.INFO: TCP Data received {"connection_id":185453,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:26:24] local.INFO: Processing buffer {"connection_id":185453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:26:24] local.INFO: Packet analysis {"connection_id":185453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:26:24] local.INFO: Extracted packet for processing {"connection_id":185453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150193408001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789649494000,"timestamp_ms":1789649494000,"timestamp_seconds":1789649494,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c1ff0"} 
[2026-09-17 18:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:26:24] 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-09-17 18:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150193408001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150193408001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150193408001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":185453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:26:24] local.INFO: GPS data processed {"connection_id":185453,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:26:24] local.INFO: Acknowledgment sent {"connection_id":185453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:26:35] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:26:35] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:26:35] local.INFO: IMEI packet received {"connection_id":186896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":186896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:26:38] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:26:38] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:26:38] local.INFO: IMEI packet received {"connection_id":186896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":186896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:26:39] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6f2948012d180e4007219178005100db2b..."} 
[2026-09-17 18:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6f2948012d180e4007219178005100db2b..."} 
[2026-09-17 18:26:39] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6f2948012d180e4007219178005100db2b..."} 
[2026-09-17 18:26:39] local.INFO: Packet analysis {"connection_id":186896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6f"} 
[2026-09-17 18:26:39] local.INFO: Extracted packet for processing {"connection_id":186896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6f"} 
[2026-09-17 18:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756551232,"raw_latitude":119640440,"longitude_deg":75.6551232,"latitude_deg":11.964044,"altitude":81,"angle":219,"satellites":43,"speed":30,"hex_longitude":"2d180e40","hex_latitude":"07219178","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150317568001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21317833950494720,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492572160,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789649693000,"timestamp_ms":1789649693000,"timestamp_seconds":1789649693,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6f2948"} 
[2026-09-17 18:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 18:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150317568001,"66":14428,"107":206,"83":41984,"24":30,"16":21317833950494720,"45":1739022805492572160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150317568001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:26:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21317833950494720,"km_value":21317833950494.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492572160,"description":"Unknown IO ID 45"} 
[2026-09-17 18:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150317568001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1739022805492572160}} 
[2026-09-17 18:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":186896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:26:39] local.INFO: GPS data processed {"connection_id":186896,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:26:39] local.INFO: Acknowledgment sent {"connection_id":186896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:26:55] local.INFO: TCP Data received {"connection_id":186897,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:26:55] local.INFO: Processing buffer {"connection_id":186897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:26:55] local.INFO: IMEI packet received {"connection_id":186897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":186897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:26:56] local.INFO: TCP Data received {"connection_id":185453,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:26:56] local.INFO: Processing buffer {"connection_id":185453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af6c1ff0012d34c14006aa4440000a011827..."} 
[2026-09-17 18:26:56] local.INFO: Packet analysis {"connection_id":185453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:26:56] local.INFO: Extracted packet for processing {"connection_id":185453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af6c"} 
[2026-09-17 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150193408001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789649494000,"timestamp_ms":1789649494000,"timestamp_seconds":1789649494,"priority":1,"record_length":96,"hex_timestamp":"000001a0af6c1ff0"} 
[2026-09-17 18:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:26:56] 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-09-17 18:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150193408001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150193408001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:26:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150193408001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":185453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:26:56] local.INFO: GPS data processed {"connection_id":185453,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:26:56] local.INFO: Acknowledgment sent {"connection_id":185453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:27:13] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7084f0012d176f800720b5c0003e009a2b..."} 
[2026-09-17 18:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7084f0012d176f800720b5c0003e009a2b..."} 
[2026-09-17 18:27:13] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7084f0012d176f800720b5c0003e009a2b..."} 
[2026-09-17 18:27:13] local.INFO: Packet analysis {"connection_id":186896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:27:13] local.INFO: Extracted packet for processing {"connection_id":186896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756510592,"raw_latitude":119584192,"longitude_deg":75.6510592,"latitude_deg":11.9584192,"altitude":62,"angle":154,"satellites":43,"speed":20,"hex_longitude":"2d176f80","hex_latitude":"0720b5c0","is_valid_coordinates":true} 
[2026-09-17 18:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150339328001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21321519032434688,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1683290760088721408,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789649782000,"timestamp_ms":1789649782000,"timestamp_seconds":1789649782,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7084f0"} 
[2026-09-17 18:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-17 18:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150339328001,"66":14080,"107":206,"83":41984,"24":20,"16":21321519032434688,"45":1683290760088721408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150339328001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:27:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21321519032434688,"km_value":21321519032434.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1683290760088721408,"description":"Unknown IO ID 45"} 
[2026-09-17 18:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150339328001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1683290760088721408}} 
[2026-09-17 18:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":186896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:27:13] local.INFO: GPS data processed {"connection_id":186896,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:27:13] local.INFO: Acknowledgment sent {"connection_id":186896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:27:14] local.INFO: TCP Data received {"connection_id":188242,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:27:14] local.INFO: Processing buffer {"connection_id":188242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:27:14] local.INFO: IMEI packet received {"connection_id":188242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:27:20] local.INFO: TCP Data received {"connection_id":188242,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:27:20] local.INFO: Processing buffer {"connection_id":188242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:27:20] local.INFO: IMEI packet received {"connection_id":188242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":188242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:27:21] local.INFO: TCP Data received {"connection_id":188242,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:27:21] local.INFO: Processing buffer {"connection_id":188242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:27:21] local.INFO: Packet analysis {"connection_id":188242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:27:21] local.INFO: Extracted packet for processing {"connection_id":188242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":188242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:27:21] local.INFO: GPS data processed {"connection_id":188242,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:27:21] local.INFO: Acknowledgment sent {"connection_id":188242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:27:35] local.INFO: TCP Data received {"connection_id":185605,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:27:35] local.INFO: Processing buffer {"connection_id":185605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:27:35] local.INFO: IMEI packet received {"connection_id":185605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":185605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:27:40] local.INFO: TCP Data received {"connection_id":185605,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:27:40] local.INFO: Processing buffer {"connection_id":185605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:27:40] local.INFO: IMEI packet received {"connection_id":185605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":185605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:27:41] local.INFO: TCP Data received {"connection_id":185605,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af708cc0012d1771000720b1e0003e00a82a..."} 
[2026-09-17 18:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af708cc0012d1771000720b1e0003e00a82a..."} 
[2026-09-17 18:27:41] local.INFO: Processing buffer {"connection_id":185605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af708cc0012d1771000720b1e0003e00a82a..."} 
[2026-09-17 18:27:41] local.INFO: Packet analysis {"connection_id":185605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:27:41] local.INFO: Extracted packet for processing {"connection_id":185605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756510976,"raw_latitude":119583200,"longitude_deg":75.6510976,"latitude_deg":11.95832,"altitude":62,"angle":168,"satellites":42,"speed":20,"hex_longitude":"2d177100","hex_latitude":"0720b1e0","is_valid_coordinates":true} 
[2026-09-17 18:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150344192001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21321566277074944,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1688709153389133824,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649784000,"timestamp_ms":1789649784000,"timestamp_seconds":1789649784,"priority":1,"record_length":96,"hex_timestamp":"000001a0af708cc0"} 
[2026-09-17 18:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2943348864,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3418882103,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2415996183,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3209232384,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,191,160,58,45,64,201,56,43,10,66,54,192,42,50,1,240,227,175,32,4,113,205,12,23,102,88,239,2,75,7,63,37],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-17 18:27:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467740339827113984,"timestamp_seconds":4467740339827114.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 18:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150344192001,"66":13961,"107":206,"83":41984,"24":20,"16":21321566277074944,"45":1688709153389133824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150344192001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:27:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21321566277074944,"km_value":21321566277074.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1688709153389133824,"description":"Unknown IO ID 45"} 
[2026-09-17 18:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150344192001,"power":13961,"unknown_107":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1688709153389133824}} 
[2026-09-17 18:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":185605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:27:41] local.INFO: GPS data processed {"connection_id":185605,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:27:41] local.INFO: Acknowledgment sent {"connection_id":185605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:27:52] local.INFO: TCP Data received {"connection_id":188242,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:27:52] local.INFO: Processing buffer {"connection_id":188242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:27:52] local.INFO: Packet analysis {"connection_id":188242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:27:52] local.INFO: Extracted packet for processing {"connection_id":188242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":188242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:27:52] local.INFO: GPS data processed {"connection_id":188242,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:27:52] local.INFO: Acknowledgment sent {"connection_id":188242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:28:12] local.INFO: TCP Data received {"connection_id":185605,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af709c60012d1771c00720aa70003f00ba2b..."} 
[2026-09-17 18:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af709c60012d1771c00720aa70003f00ba2b..."} 
[2026-09-17 18:28:12] local.INFO: Processing buffer {"connection_id":185605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af709c60012d1771c00720aa70003f00ba2b..."} 
[2026-09-17 18:28:12] local.INFO: Packet analysis {"connection_id":185605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:28:12] local.INFO: Extracted packet for processing {"connection_id":185605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756511168,"raw_latitude":119581296,"longitude_deg":75.6511168,"latitude_deg":11.9581296,"altitude":63,"angle":186,"satellites":43,"speed":17,"hex_longitude":"2d1771c0","hex_latitude":"0720aa70","is_valid_coordinates":true} 
[2026-09-17 18:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150344704001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21321660766355456,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1689131365853945856,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789649788000,"timestamp_ms":1789649788000,"timestamp_seconds":1789649788,"priority":1,"record_length":96,"hex_timestamp":"000001a0af709c60"} 
[2026-09-17 18:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-17 18:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150344704001,"66":14080,"107":206,"83":41984,"24":17,"16":21321660766355456,"45":1689131365853945856},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150344704001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:28:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21321660766355456,"km_value":21321660766355.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1689131365853945856,"description":"Unknown IO ID 45"} 
[2026-09-17 18:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150344704001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1689131365853945856}} 
[2026-09-17 18:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":185605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:28:12] local.INFO: GPS data processed {"connection_id":185605,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:28:12] local.INFO: Acknowledgment sent {"connection_id":185605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:28:20] local.INFO: TCP Data received {"connection_id":188243,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:28:20] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:28:20] local.INFO: IMEI packet received {"connection_id":188243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":188243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:28:25] local.INFO: TCP Data received {"connection_id":188243,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:28:25] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:28:25] local.INFO: IMEI packet received {"connection_id":188243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":188243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:28:26] local.INFO: TCP Data received {"connection_id":188243,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:28:26] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:28:26] local.INFO: Packet analysis {"connection_id":188243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:28:26] local.INFO: Extracted packet for processing {"connection_id":188243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:28:26] 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-09-17 18:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:28:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":188243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:28:26] local.INFO: GPS data processed {"connection_id":188243,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:28:26] local.INFO: Acknowledgment sent {"connection_id":188243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:28:30] local.INFO: TCP Data received {"connection_id":188243,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:28:30] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:28:30] local.INFO: Packet analysis {"connection_id":188243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:28:30] local.INFO: Extracted packet for processing {"connection_id":188243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:28:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":188243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:28:30] local.INFO: GPS data processed {"connection_id":188243,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:28:30] local.INFO: Acknowledgment sent {"connection_id":188243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:28:35] local.INFO: TCP Data received {"connection_id":188244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:28:35] local.INFO: Processing buffer {"connection_id":188244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:28:35] local.INFO: IMEI packet received {"connection_id":188244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":188244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:28:40] local.INFO: TCP Data received {"connection_id":188244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:28:40] local.INFO: Processing buffer {"connection_id":188244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:28:40] local.INFO: IMEI packet received {"connection_id":188244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":188244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:28:41] local.INFO: TCP Data received {"connection_id":188244,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70ac00012d1771000720a3c8004000ab2a..."} 
[2026-09-17 18:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70ac00012d1771000720a3c8004000ab2a..."} 
[2026-09-17 18:28:41] local.INFO: Processing buffer {"connection_id":188244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70ac00012d1771000720a3c8004000ab2a..."} 
[2026-09-17 18:28:41] local.INFO: Packet analysis {"connection_id":188244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:28:41] local.INFO: Extracted packet for processing {"connection_id":188244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756510976,"raw_latitude":119579592,"longitude_deg":75.6510976,"latitude_deg":11.9579592,"altitude":64,"angle":171,"satellites":42,"speed":17,"hex_longitude":"2d177100","hex_latitude":"0720a3c8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150345728001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21321746665701376,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1689342472085991424,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789649792000,"timestamp_ms":1789649792000,"timestamp_seconds":1789649792,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70ac00"} 
[2026-09-17 18:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2943364864,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3385851960,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3892391191,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3212443648,"note":"Value kept but may cause issues"} 
[2026-09-17 18:28:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,191,160,140,45,177,62,42,10,66,132,128,181,43,58,64,1,240,224,227,175,32,4,113,205,50,91,192,239,55,2,75,7,12],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-17 18:28:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539833118236934144,"timestamp_seconds":4539833118236934.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 18:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150345728001,"66":14428,"107":206,"83":41984,"24":17,"16":21321746665701376,"45":1689342472085991424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150345728001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:28:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21321746665701376,"km_value":21321746665701.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1689342472085991424,"description":"Unknown IO ID 45"} 
[2026-09-17 18:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150345728001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1689342472085991424}} 
[2026-09-17 18:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":188244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:28:41] local.INFO: GPS data processed {"connection_id":188244,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:28:41] local.INFO: Acknowledgment sent {"connection_id":188244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:29:12] local.INFO: TCP Data received {"connection_id":188244,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70fe08012d1777c007208538003600a928..."} 
[2026-09-17 18:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70fe08012d1777c007208538003600a928..."} 
[2026-09-17 18:29:12] local.INFO: Processing buffer {"connection_id":188244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70fe08012d1777c007208538003600a928..."} 
[2026-09-17 18:29:12] local.INFO: Packet analysis {"connection_id":188244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:29:12] local.INFO: Extracted packet for processing {"connection_id":188244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756512704,"raw_latitude":119571768,"longitude_deg":75.6512704,"latitude_deg":11.9571768,"altitude":54,"angle":169,"satellites":40,"speed":10,"hex_longitude":"2d1777c0","hex_latitude":"07208538","is_valid_coordinates":true} 
[2026-09-17 18:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150346752001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21322133212758016,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1689131365853022208,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789649813000,"timestamp_ms":1789649813000,"timestamp_seconds":1789649813,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70fe08"} 
[2026-09-17 18:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-17 18:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150346752001,"66":14396,"107":206,"83":41984,"24":10,"16":21322133212758016,"45":1689131365853022208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150346752001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:29:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21322133212758016,"km_value":21322133212758.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1689131365853022208,"description":"Unknown IO ID 45"} 
[2026-09-17 18:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150346752001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1689131365853022208}} 
[2026-09-17 18:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":188244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:29:12] local.INFO: GPS data processed {"connection_id":188244,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:29:12] local.INFO: Acknowledgment sent {"connection_id":188244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:29:15] local.INFO: TCP Data received {"connection_id":185607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:29:15] local.INFO: Processing buffer {"connection_id":185607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:29:15] local.INFO: IMEI packet received {"connection_id":185607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":185607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:29:20] local.INFO: TCP Data received {"connection_id":185607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:29:20] local.INFO: Processing buffer {"connection_id":185607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:29:20] local.INFO: IMEI packet received {"connection_id":185607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":185607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:29:21] local.INFO: TCP Data received {"connection_id":185607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:29:21] local.INFO: Processing buffer {"connection_id":185607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:29:21] local.INFO: Packet analysis {"connection_id":185607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:29:21] local.INFO: Extracted packet for processing {"connection_id":185607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":185607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:29:21] local.INFO: GPS data processed {"connection_id":185607,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:29:21] local.INFO: Acknowledgment sent {"connection_id":185607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:29:35] local.INFO: TCP Data received {"connection_id":188245,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:29:35] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:29:35] local.INFO: IMEI packet received {"connection_id":188245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":188245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:29:40] local.INFO: TCP Data received {"connection_id":188245,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:29:40] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:29:40] local.INFO: IMEI packet received {"connection_id":188245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":188245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:29:43] local.INFO: TCP Data received {"connection_id":188245,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af728890012d1771c007205550002f00b229..."} 
[2026-09-17 18:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af728890012d1771c007205550002f00b229..."} 
[2026-09-17 18:29:43] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af728890012d1771c007205550002f00b229..."} 
[2026-09-17 18:29:43] local.INFO: Packet analysis {"connection_id":188245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af72"} 
[2026-09-17 18:29:43] local.INFO: Extracted packet for processing {"connection_id":188245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af72"} 
[2026-09-17 18:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756511168,"raw_latitude":119559504,"longitude_deg":75.6511168,"latitude_deg":11.9559504,"altitude":47,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d1771c0","hex_latitude":"07205550","is_valid_coordinates":true} 
[2026-09-17 18:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150372608001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21322768867917824,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1689342472080412672,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789649914000,"timestamp_ms":1789649914000,"timestamp_seconds":1789649914,"priority":1,"record_length":96,"hex_timestamp":"000001a0af728890"} 
[2026-09-17 18:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 18:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150372608001,"66":14428,"102":206,"83":41984,"24":0,"16":21322768867917824,"45":1689342472080412672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150372608001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:29:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21322768867917824,"km_value":21322768867917.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1689342472080412672,"description":"Unknown IO ID 45"} 
[2026-09-17 18:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150372608001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1689342472080412672}} 
[2026-09-17 18:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":188245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:29:43] local.INFO: GPS data processed {"connection_id":188245,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:29:43] local.INFO: Acknowledgment sent {"connection_id":188245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:29:52] local.INFO: TCP Data received {"connection_id":185607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:29:52] local.INFO: Processing buffer {"connection_id":185607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:29:52] local.INFO: Packet analysis {"connection_id":185607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:29:52] local.INFO: Extracted packet for processing {"connection_id":185607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":185607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:29:52] local.INFO: GPS data processed {"connection_id":185607,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:29:52] local.INFO: Acknowledgment sent {"connection_id":185607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:30:15] local.INFO: TCP Data received {"connection_id":188245,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af735798012d177800072066a80032001e29..."} 
[2026-09-17 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af735798012d177800072066a80032001e29..."} 
[2026-09-17 18:30:15] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af735798012d177800072066a80032001e29..."} 
[2026-09-17 18:30:15] local.INFO: Packet analysis {"connection_id":188245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af73"} 
[2026-09-17 18:30:15] local.INFO: Extracted packet for processing {"connection_id":188245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af73"} 
[2026-09-17 18:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756512768,"raw_latitude":119563944,"longitude_deg":75.6512768,"latitude_deg":11.9563944,"altitude":50,"angle":30,"satellites":41,"speed":10,"hex_longitude":"2d177800","hex_latitude":"072066a8","is_valid_coordinates":true} 
[2026-09-17 18:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150390784001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21323069515628544,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1690116528267313152,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789649967000,"timestamp_ms":1789649967000,"timestamp_seconds":1789649967,"priority":1,"record_length":96,"hex_timestamp":"000001a0af735798"} 
[2026-09-17 18:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-17 18:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150390784001,"66":14070,"102":206,"83":41984,"24":10,"16":21323069515628544,"45":1690116528267313152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150390784001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21323069515628544,"km_value":21323069515628.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1690116528267313152,"description":"Unknown IO ID 45"} 
[2026-09-17 18:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150390784001,"power":14070,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1690116528267313152}} 
[2026-09-17 18:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":188245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:30:15] local.INFO: GPS data processed {"connection_id":188245,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:30:15] local.INFO: Acknowledgment sent {"connection_id":188245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:30:18] local.INFO: TCP Data received {"connection_id":185454,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:30:18] local.INFO: Processing buffer {"connection_id":185454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:30:18] local.INFO: IMEI packet received {"connection_id":185454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":185454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:30:19] local.INFO: TCP Data received {"connection_id":185454,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:30:19] local.INFO: Processing buffer {"connection_id":185454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:30:19] local.INFO: IMEI packet received {"connection_id":185454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":185454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:30:20] local.INFO: TCP Data received {"connection_id":185454,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:30:20] local.INFO: Processing buffer {"connection_id":185454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:30:20] local.INFO: Packet analysis {"connection_id":185454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:30:20] local.INFO: Extracted packet for processing {"connection_id":185454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":185454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:30:20] local.INFO: GPS data processed {"connection_id":185454,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:30:20] local.INFO: Acknowledgment sent {"connection_id":185454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:30:25] local.INFO: TCP Data received {"connection_id":185454,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:30:25] local.INFO: Processing buffer {"connection_id":185454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:30:25] local.INFO: Packet analysis {"connection_id":185454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:30:25] local.INFO: Extracted packet for processing {"connection_id":185454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":185454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:30:25] local.INFO: GPS data processed {"connection_id":185454,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:30:25] local.INFO: Acknowledgment sent {"connection_id":185454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:30:40] local.INFO: TCP Data received {"connection_id":185608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:30:40] local.INFO: Processing buffer {"connection_id":185608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:30:40] local.INFO: IMEI packet received {"connection_id":185608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":185608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:30:42] local.INFO: TCP Data received {"connection_id":185608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:30:42] local.INFO: Processing buffer {"connection_id":185608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:30:42] local.INFO: IMEI packet received {"connection_id":185608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":185608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:30:43] local.INFO: TCP Data received {"connection_id":185608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af735b80012d177880072067d8003200122a..."} 
[2026-09-17 18:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af735b80012d177880072067d8003200122a..."} 
[2026-09-17 18:30:43] local.INFO: Processing buffer {"connection_id":185608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af735b80012d177880072067d8003200122a..."} 
[2026-09-17 18:30:43] local.INFO: Packet analysis {"connection_id":185608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af73"} 
[2026-09-17 18:30:43] local.INFO: Extracted packet for processing {"connection_id":185608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af73"} 
[2026-09-17 18:30:43] local.INFO: GPS Element Parsed {"raw_longitude":756512896,"raw_latitude":119564248,"longitude_deg":75.6512896,"latitude_deg":11.9564248,"altitude":50,"angle":18,"satellites":42,"speed":13,"hex_longitude":"2d177880","hex_latitude":"072067d8","is_valid_coordinates":true} 
[2026-09-17 18:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150391552001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21323086695497728,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691101690685990912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789649968000,"timestamp_ms":1789649968000,"timestamp_seconds":1789649968,"priority":1,"record_length":96,"hex_timestamp":"000001a0af735b80"} 
[2026-09-17 18:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-17 18:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150391552001,"66":13787,"102":206,"83":41984,"24":13,"16":21323086695497728,"45":1691101690685990912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150391552001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:30:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:30:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21323086695497728,"km_value":21323086695497.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691101690685990912,"description":"Unknown IO ID 45"} 
[2026-09-17 18:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150391552001,"power":13787,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1691101690685990912}} 
[2026-09-17 18:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":185608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:30:43] local.INFO: GPS data processed {"connection_id":185608,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:30:43] local.INFO: Acknowledgment sent {"connection_id":185608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:30:46] local.INFO: TCP Data received {"connection_id":185608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af735f68012d1778c007206938003200032b..."} 
[2026-09-17 18:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af735f68012d1778c007206938003200032b..."} 
[2026-09-17 18:30:46] local.INFO: Processing buffer {"connection_id":185608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af735f68012d1778c007206938003200032b..."} 
[2026-09-17 18:30:46] local.INFO: Packet analysis {"connection_id":185608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af73"} 
[2026-09-17 18:30:46] local.INFO: Extracted packet for processing {"connection_id":185608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af73"} 
[2026-09-17 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756512960,"raw_latitude":119564600,"longitude_deg":75.651296,"latitude_deg":11.95646,"altitude":50,"angle":3,"satellites":43,"speed":14,"hex_longitude":"2d1778c0","hex_latitude":"07206938","is_valid_coordinates":true} 
[2026-09-17 18:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150391808001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21323103875366912,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691242428174424064,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789649969000,"timestamp_ms":1789649969000,"timestamp_seconds":1789649969,"priority":1,"record_length":96,"hex_timestamp":"000001a0af735f68"} 
[2026-09-17 18:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-17 18:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150391808001,"66":13787,"102":206,"83":41984,"24":14,"16":21323103875366912,"45":1691242428174424064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150391808001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21323103875366912,"km_value":21323103875366.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691242428174424064,"description":"Unknown IO ID 45"} 
[2026-09-17 18:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150391808001,"power":13787,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1691242428174424064}} 
[2026-09-17 18:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":185608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:30:46] local.INFO: GPS data processed {"connection_id":185608,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:30:46] local.INFO: Acknowledgment sent {"connection_id":185608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:30:56] local.INFO: TCP Data received {"connection_id":185454,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:30:56] local.INFO: Processing buffer {"connection_id":185454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:30:56] local.INFO: Packet analysis {"connection_id":185454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:30:56] local.INFO: Extracted packet for processing {"connection_id":185454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:30:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:30:56] 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-09-17 18:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:30:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":185454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:30:56] local.INFO: GPS data processed {"connection_id":185454,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:30:56] local.INFO: Acknowledgment sent {"connection_id":185454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:31:14] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:31:14] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:31:14] local.INFO: IMEI packet received {"connection_id":186899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":186899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:31:17] local.INFO: TCP Data received {"connection_id":185608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af739618012d177980072079280033015a29..."} 
[2026-09-17 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af739618012d177980072079280033015a29..."} 
[2026-09-17 18:31:17] local.INFO: Processing buffer {"connection_id":185608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af739618012d177980072079280033015a29..."} 
[2026-09-17 18:31:17] local.INFO: Packet analysis {"connection_id":185608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af73"} 
[2026-09-17 18:31:17] local.INFO: Extracted packet for processing {"connection_id":185608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af73"} 
[2026-09-17 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756513152,"raw_latitude":119568680,"longitude_deg":75.6513152,"latitude_deg":11.956868,"altitude":51,"angle":346,"satellites":41,"speed":16,"hex_longitude":"2d177980","hex_latitude":"07207928","is_valid_coordinates":true} 
[2026-09-17 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150392064001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21323301443862528,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691312796918691840,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789649983000,"timestamp_ms":1789649983000,"timestamp_seconds":1789649983,"priority":1,"record_length":96,"hex_timestamp":"000001a0af739618"} 
[2026-09-17 18:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-17 18:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150392064001,"66":13906,"102":206,"83":41984,"24":16,"16":21323301443862528,"45":1691312796918691840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150392064001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:31:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21323301443862528,"km_value":21323301443862.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691312796918691840,"description":"Unknown IO ID 45"} 
[2026-09-17 18:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150392064001,"power":13906,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1691312796918691840}} 
[2026-09-17 18:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":185608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:31:17] local.INFO: GPS data processed {"connection_id":185608,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:31:17] local.INFO: Acknowledgment sent {"connection_id":185608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:31:20] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:31:20] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:31:20] local.INFO: IMEI packet received {"connection_id":186899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":186899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:31:21] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:31:21] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:31:21] local.INFO: Packet analysis {"connection_id":186899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:31:21] local.INFO: Extracted packet for processing {"connection_id":186899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":186899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:31:21] local.INFO: GPS data processed {"connection_id":186899,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:31:21] local.INFO: Acknowledgment sent {"connection_id":186899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:31:33] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:31:33] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:31:33] local.INFO: IMEI packet received {"connection_id":188247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":188247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:31:35] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:31:35] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:31:35] local.INFO: IMEI packet received {"connection_id":188247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":188247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:31:36] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:31:36] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:31:36] local.INFO: IMEI packet received {"connection_id":188247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":188247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:31:37] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af745d50012d175c800720cd38003700282c..."} 
[2026-09-17 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af745d50012d175c800720cd38003700282c..."} 
[2026-09-17 18:31:37] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af745d50012d175c800720cd38003700282c..."} 
[2026-09-17 18:31:37] local.INFO: Packet analysis {"connection_id":188247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af74"} 
[2026-09-17 18:31:37] local.INFO: Extracted packet for processing {"connection_id":188247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af74"} 
[2026-09-17 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756505728,"raw_latitude":119590200,"longitude_deg":75.6505728,"latitude_deg":11.95902,"altitude":55,"angle":40,"satellites":44,"speed":12,"hex_longitude":"2d175c80","hex_latitude":"0720cd38","is_valid_coordinates":true} 
[2026-09-17 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150408448001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21324465379999744,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1683220391344754688,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789650034000,"timestamp_ms":1789650034000,"timestamp_seconds":1789650034,"priority":1,"record_length":96,"hex_timestamp":"000001a0af745d50"} 
[2026-09-17 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-17 18:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150408448001,"66":14157,"107":206,"83":41984,"24":12,"16":21324465379999744,"45":1683220391344754688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150408448001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:31:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21324465379999744,"km_value":21324465379999.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1683220391344754688,"description":"Unknown IO ID 45"} 
[2026-09-17 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150408448001,"power":14157,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1683220391344754688}} 
[2026-09-17 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":188247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:31:37] local.INFO: GPS data processed {"connection_id":188247,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:31:37] local.INFO: Acknowledgment sent {"connection_id":188247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:31:52] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:31:52] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af70b7b8012d34c14006aa4440000a011826..."} 
[2026-09-17 18:31:52] local.INFO: Packet analysis {"connection_id":186899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:31:52] local.INFO: Extracted packet for processing {"connection_id":186899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af70"} 
[2026-09-17 18:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150270464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789649795000,"timestamp_ms":1789649795000,"timestamp_seconds":1789649795,"priority":1,"record_length":96,"hex_timestamp":"000001a0af70b7b8"} 
[2026-09-17 18:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150270464001,"66":25702,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150270464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150270464001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":186899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:31:52] local.INFO: GPS data processed {"connection_id":186899,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:31:52] local.INFO: Acknowledgment sent {"connection_id":186899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:32:00] local.INFO: TCP Data received {"connection_id":186900,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:32:00] local.INFO: Processing buffer {"connection_id":186900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:32:00] local.INFO: IMEI packet received {"connection_id":186900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":186900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:32:07] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af74af58012d1760c00720d1300038002a2a..."} 
[2026-09-17 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af74af58012d1760c00720d1300038002a2a..."} 
[2026-09-17 18:32:07] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af74af58012d1760c00720d1300038002a2a..."} 
[2026-09-17 18:32:07] local.INFO: Packet analysis {"connection_id":188247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af74"} 
[2026-09-17 18:32:07] local.INFO: Extracted packet for processing {"connection_id":188247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af74"} 
[2026-09-17 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756506816,"raw_latitude":119591216,"longitude_deg":75.6506816,"latitude_deg":11.9591216,"altitude":56,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d1760c0","hex_latitude":"0720d130","is_valid_coordinates":true} 
[2026-09-17 18:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150408704001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21324546984378368,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1683361128833169408,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789650055000,"timestamp_ms":1789650055000,"timestamp_seconds":1789650055,"priority":1,"record_length":96,"hex_timestamp":"000001a0af74af58"} 
[2026-09-17 18:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-17 18:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150408704001,"66":14298,"107":206,"83":41984,"24":0,"16":21324546984378368,"45":1683361128833169408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150408704001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:32:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21324546984378368,"km_value":21324546984378.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1683361128833169408,"description":"Unknown IO ID 45"} 
[2026-09-17 18:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150408704001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1683361128833169408}} 
[2026-09-17 18:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":188247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:32:08] local.INFO: GPS data processed {"connection_id":188247,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:32:08] local.INFO: Acknowledgment sent {"connection_id":188247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:32:13] local.INFO: TCP Data received {"connection_id":185455,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:32:13] local.INFO: Processing buffer {"connection_id":185455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:32:13] local.INFO: IMEI packet received {"connection_id":185455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":185455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:32:14] local.INFO: TCP Data received {"connection_id":185455,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:32:14] local.INFO: Processing buffer {"connection_id":185455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:32:14] local.INFO: IMEI packet received {"connection_id":185455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":185455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:32:20] local.INFO: TCP Data received {"connection_id":185455,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:32:20] local.INFO: Processing buffer {"connection_id":185455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:32:20] local.INFO: IMEI packet received {"connection_id":185455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":185455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:32:21] local.INFO: TCP Data received {"connection_id":185455,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:32:21] local.INFO: Processing buffer {"connection_id":185455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:32:21] local.INFO: Packet analysis {"connection_id":185455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:32:21] local.INFO: Extracted packet for processing {"connection_id":185455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:32:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":185455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:32:21] local.INFO: GPS data processed {"connection_id":185455,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:32:21] local.INFO: Acknowledgment sent {"connection_id":185455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:32:35] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:32:35] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:32:35] local.INFO: IMEI packet received {"connection_id":188248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":188248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:32:37] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:32:37] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:32:37] local.INFO: IMEI packet received {"connection_id":188248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":188248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:32:38] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af74bb10012d1762c00720d390003900372a..."} 
[2026-09-17 18:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af74bb10012d1762c00720d390003900372a..."} 
[2026-09-17 18:32:38] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af74bb10012d1762c00720d390003900372a..."} 
[2026-09-17 18:32:38] local.INFO: Packet analysis {"connection_id":188248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af74"} 
[2026-09-17 18:32:38] local.INFO: Extracted packet for processing {"connection_id":188248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af74"} 
[2026-09-17 18:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756507328,"raw_latitude":119591824,"longitude_deg":75.6507328,"latitude_deg":11.9591824,"altitude":57,"angle":55,"satellites":42,"speed":9,"hex_longitude":"2d1762c0","hex_latitude":"0720d390","is_valid_coordinates":true} 
[2026-09-17 18:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150414080001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21324585639084032,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684557397484449792,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789650058000,"timestamp_ms":1789650058000,"timestamp_seconds":1789650058,"priority":1,"record_length":96,"hex_timestamp":"000001a0af74bb10"} 
[2026-09-17 18:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-17 18:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150414080001,"66":14363,"107":206,"83":41984,"24":9,"16":21324585639084032,"45":1684557397484449792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150414080001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:32:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21324585639084032,"km_value":21324585639084.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684557397484449792,"description":"Unknown IO ID 45"} 
[2026-09-17 18:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150414080001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1684557397484449792}} 
[2026-09-17 18:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":188248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:32:38] local.INFO: GPS data processed {"connection_id":188248,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:32:38] local.INFO: Acknowledgment sent {"connection_id":188248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:32:52] local.INFO: TCP Data received {"connection_id":185455,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:32:52] local.INFO: Processing buffer {"connection_id":185455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:32:52] local.INFO: Packet analysis {"connection_id":185455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:32:52] local.INFO: Extracted packet for processing {"connection_id":185455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":185455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:32:52] local.INFO: GPS data processed {"connection_id":185455,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:32:52] local.INFO: Acknowledgment sent {"connection_id":185455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:33:09] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af74cab0012d1766c00720d6c0003a002a28..."} 
[2026-09-17 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af74cab0012d1766c00720d6c0003a002a28..."} 
[2026-09-17 18:33:09] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af74cab0012d1766c00720d6c0003a002a28..."} 
[2026-09-17 18:33:09] local.INFO: Packet analysis {"connection_id":188248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af74"} 
[2026-09-17 18:33:09] local.INFO: Extracted packet for processing {"connection_id":188248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af74"} 
[2026-09-17 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756508352,"raw_latitude":119592640,"longitude_deg":75.6508352,"latitude_deg":11.959264,"altitude":58,"angle":42,"satellites":40,"speed":17,"hex_longitude":"2d1766c0","hex_latitude":"0720d6c0","is_valid_coordinates":true} 
[2026-09-17 18:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150414848001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21324645768626176,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685120347438026752,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789650062000,"timestamp_ms":1789650062000,"timestamp_seconds":1789650062,"priority":1,"record_length":96,"hex_timestamp":"000001a0af74cab0"} 
[2026-09-17 18:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-17 18:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150414848001,"66":14330,"107":206,"83":41984,"24":17,"16":21324645768626176,"45":1685120347438026752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-17 18:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150414848001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:33:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-17 18:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21324645768626176,"km_value":21324645768626.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685120347438026752,"description":"Unknown IO ID 45"} 
[2026-09-17 18:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150414848001,"power":14330,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1685120347438026752}} 
[2026-09-17 18:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":188248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:33:09] local.INFO: GPS data processed {"connection_id":188248,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:33:09] local.INFO: Acknowledgment sent {"connection_id":188248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:33:15] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:33:15] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:33:15] local.INFO: IMEI packet received {"connection_id":188249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":188249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:33:20] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:33:20] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:33:20] local.INFO: IMEI packet received {"connection_id":188249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":188249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:33:21] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:33:21] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:33:21] local.INFO: Packet analysis {"connection_id":188249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:33:21] local.INFO: Extracted packet for processing {"connection_id":188249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:33:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:33:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":188249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:33:21] local.INFO: GPS data processed {"connection_id":188249,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:33:21] local.INFO: Acknowledgment sent {"connection_id":188249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:33:35] local.INFO: TCP Data received {"connection_id":185610,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:33:35] local.INFO: Processing buffer {"connection_id":185610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:33:35] local.INFO: IMEI packet received {"connection_id":185610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":185610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:33:35] local.INFO: TCP Data received {"connection_id":185610,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:33:35] local.INFO: Processing buffer {"connection_id":185610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:33:35] local.INFO: IMEI packet received {"connection_id":185610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":185610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:33:40] local.INFO: TCP Data received {"connection_id":185610,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:33:40] local.INFO: Processing buffer {"connection_id":185610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:33:40] local.INFO: IMEI packet received {"connection_id":185610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":185610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:33:41] local.INFO: TCP Data received {"connection_id":185610,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af762a40012d181ec00721a720004e00682b..."} 
[2026-09-17 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af762a40012d181ec00721a720004e00682b..."} 
[2026-09-17 18:33:41] local.INFO: Processing buffer {"connection_id":185610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af762a40012d181ec00721a720004e00682b..."} 
[2026-09-17 18:33:41] local.INFO: Packet analysis {"connection_id":185610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af76"} 
[2026-09-17 18:33:41] local.INFO: Extracted packet for processing {"connection_id":185610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af76"} 
[2026-09-17 18:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119645984,"longitude_deg":75.6555456,"latitude_deg":11.9645984,"altitude":78,"angle":104,"satellites":43,"speed":6,"hex_longitude":"2d181ec0","hex_latitude":"0721a720","is_valid_coordinates":true} 
[2026-09-17 18:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150438400001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21328111807234048,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096794624,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789650152000,"timestamp_ms":1789650152000,"timestamp_seconds":1789650152,"priority":1,"record_length":96,"hex_timestamp":"000001a0af762a40"} 
[2026-09-17 18:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-17 18:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150438400001,"66":14157,"105":206,"83":41984,"24":6,"16":21328111807234048,"45":1737756168096794624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150438400001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:33:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21328111807234048,"km_value":21328111807234.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096794624,"description":"Unknown IO ID 45"} 
[2026-09-17 18:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150438400001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737756168096794624}} 
[2026-09-17 18:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":185610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:33:41] local.INFO: GPS data processed {"connection_id":185610,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:33:41] local.INFO: Acknowledgment sent {"connection_id":185610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:33:52] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:33:52] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:33:52] local.INFO: Packet analysis {"connection_id":188249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:33:52] local.INFO: Extracted packet for processing {"connection_id":188249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":188249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:33:52] local.INFO: GPS data processed {"connection_id":188249,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:33:52] local.INFO: Acknowledgment sent {"connection_id":188249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:34:12] local.INFO: TCP Data received {"connection_id":185610,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af762e28012d181f800721a6e0004f00742c..."} 
[2026-09-17 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af762e28012d181f800721a6e0004f00742c..."} 
[2026-09-17 18:34:12] local.INFO: Processing buffer {"connection_id":185610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af762e28012d181f800721a6e0004f00742c..."} 
[2026-09-17 18:34:12] local.INFO: Packet analysis {"connection_id":185610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af76"} 
[2026-09-17 18:34:12] local.INFO: Extracted packet for processing {"connection_id":185610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af76"} 
[2026-09-17 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645920,"longitude_deg":75.6555648,"latitude_deg":11.964592,"altitude":79,"angle":116,"satellites":44,"speed":7,"hex_longitude":"2d181f80","hex_latitude":"0721a6e0","is_valid_coordinates":true} 
[2026-09-17 18:34: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-09-17 18:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150438912001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21328120397168640,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073495040,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789650153000,"timestamp_ms":1789650153000,"timestamp_seconds":1789650153,"priority":1,"record_length":96,"hex_timestamp":"000001a0af762e28"} 
[2026-09-17 18:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-17 18:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:34: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-09-17 18:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150438912001,"66":14157,"105":206,"83":41984,"24":7,"16":21328120397168640,"45":1738037643073495040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150438912001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:34:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21328120397168640,"km_value":21328120397168.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073495040,"description":"Unknown IO ID 45"} 
[2026-09-17 18:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150438912001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738037643073495040}} 
[2026-09-17 18:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":185610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:34:13] local.INFO: GPS data processed {"connection_id":185610,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:34:13] local.INFO: Acknowledgment sent {"connection_id":185610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:34:15] local.INFO: TCP Data received {"connection_id":185458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:34:15] local.INFO: Processing buffer {"connection_id":185458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:34:15] local.INFO: IMEI packet received {"connection_id":185458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":185458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:34:20] local.INFO: TCP Data received {"connection_id":185458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:34:20] local.INFO: Processing buffer {"connection_id":185458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:34:20] local.INFO: IMEI packet received {"connection_id":185458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":185458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:34:21] local.INFO: TCP Data received {"connection_id":185458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:34:21] local.INFO: Processing buffer {"connection_id":185458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:34:21] local.INFO: Packet analysis {"connection_id":185458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:34:21] local.INFO: Extracted packet for processing {"connection_id":185458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":185458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:34:21] local.INFO: GPS data processed {"connection_id":185458,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:34:21] local.INFO: Acknowledgment sent {"connection_id":185458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:34:38] local.INFO: TCP Data received {"connection_id":185611,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:34:38] local.INFO: Processing buffer {"connection_id":185611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:34:38] local.INFO: IMEI packet received {"connection_id":185611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":185611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:34:42] local.INFO: TCP Data received {"connection_id":185611,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:34:42] local.INFO: Processing buffer {"connection_id":185611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:34:42] local.INFO: IMEI packet received {"connection_id":185611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":185611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:34:43] local.INFO: TCP Data received {"connection_id":185611,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7639e0012d1821800721a560005000802b..."} 
[2026-09-17 18:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7639e0012d1821800721a560005000802b..."} 
[2026-09-17 18:34:43] local.INFO: Processing buffer {"connection_id":185611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7639e0012d1821800721a560005000802b..."} 
[2026-09-17 18:34:43] local.INFO: Packet analysis {"connection_id":185611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af76"} 
[2026-09-17 18:34:43] local.INFO: Extracted packet for processing {"connection_id":185611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af76"} 
[2026-09-17 18:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119645536,"longitude_deg":75.655616,"latitude_deg":11.9645536,"altitude":80,"angle":128,"satellites":43,"speed":12,"hex_longitude":"2d182180","hex_latitude":"0721a560","is_valid_coordinates":true} 
[2026-09-17 18:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150439168001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21328154756907008,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306011648,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789650156000,"timestamp_ms":1789650156000,"timestamp_seconds":1789650156,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7639e0"} 
[2026-09-17 18:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-17 18:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150439168001,"66":14265,"105":206,"83":41984,"24":12,"16":21328154756907008,"45":1738248749306011648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150439168001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:34:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:34:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21328154756907008,"km_value":21328154756907.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306011648,"description":"Unknown IO ID 45"} 
[2026-09-17 18:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150439168001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1738248749306011648}} 
[2026-09-17 18:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":185611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:34:43] local.INFO: GPS data processed {"connection_id":185611,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:34:43] local.INFO: Acknowledgment sent {"connection_id":185611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:34:45] local.INFO: TCP Data received {"connection_id":185611,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af768be8012d1828c007219e18005100822a..."} 
[2026-09-17 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af768be8012d1828c007219e18005100822a..."} 
[2026-09-17 18:34:45] local.INFO: Processing buffer {"connection_id":185611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af768be8012d1828c007219e18005100822a..."} 
[2026-09-17 18:34:45] local.INFO: Packet analysis {"connection_id":185611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af76"} 
[2026-09-17 18:34:45] local.INFO: Extracted packet for processing {"connection_id":185611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af76"} 
[2026-09-17 18:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643672,"longitude_deg":75.6558016,"latitude_deg":11.9643672,"altitude":81,"angle":130,"satellites":42,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219e18","is_valid_coordinates":true} 
[2026-09-17 18:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150439936001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21328283605925888,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259334656,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789650177000,"timestamp_ms":1789650177000,"timestamp_seconds":1789650177,"priority":1,"record_length":96,"hex_timestamp":"000001a0af768be8"} 
[2026-09-17 18:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-17 18:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150439936001,"66":13961,"105":206,"83":41984,"24":0,"16":21328283605925888,"45":1738811699259334656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-17 18:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150439936001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:34:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-17 18:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21328283605925888,"km_value":21328283605925.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259334656,"description":"Unknown IO ID 45"} 
[2026-09-17 18:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150439936001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259334656}} 
[2026-09-17 18:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":185611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:34:45] local.INFO: GPS data processed {"connection_id":185611,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:34:45] local.INFO: Acknowledgment sent {"connection_id":185611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:34:52] local.INFO: TCP Data received {"connection_id":185458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:34:52] local.INFO: Processing buffer {"connection_id":185458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:34:52] local.INFO: Packet analysis {"connection_id":185458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:34:52] local.INFO: Extracted packet for processing {"connection_id":185458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":185458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:34:52] local.INFO: GPS data processed {"connection_id":185458,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:34:52] local.INFO: Acknowledgment sent {"connection_id":185458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:35:16] local.INFO: TCP Data received {"connection_id":185611,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af77fb18012d18d44007210998004200a529..."} 
[2026-09-17 18:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af77fb18012d18d44007210998004200a529..."} 
[2026-09-17 18:35:16] local.INFO: Processing buffer {"connection_id":185611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af77fb18012d18d44007210998004200a529..."} 
[2026-09-17 18:35:16] local.INFO: Packet analysis {"connection_id":185611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af77"} 
[2026-09-17 18:35:16] local.INFO: Extracted packet for processing {"connection_id":185611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af77"} 
[2026-09-17 18:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119605656,"longitude_deg":75.660192,"latitude_deg":11.9605656,"altitude":66,"angle":165,"satellites":41,"speed":45,"hex_longitude":"2d18d440","hex_latitude":"07210998","is_valid_coordinates":true} 
[2026-09-17 18:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150468096001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21331440406888448,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128336896,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789650271000,"timestamp_ms":1789650271000,"timestamp_seconds":1789650271,"priority":1,"record_length":96,"hex_timestamp":"000001a0af77fb18"} 
[2026-09-17 18:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-17 18:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150468096001,"66":13493,"103":206,"83":41984,"24":45,"16":21331440406888448,"45":1788632770128336896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150468096001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:35:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21331440406888448,"km_value":21331440406888.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128336896,"description":"Unknown IO ID 45"} 
[2026-09-17 18:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150468096001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1788632770128336896}} 
[2026-09-17 18:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":185611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:35:16] local.INFO: GPS data processed {"connection_id":185611,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:35:16] local.INFO: Acknowledgment sent {"connection_id":185611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:35:18] local.INFO: TCP Data received {"connection_id":185612,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:35:18] local.INFO: Processing buffer {"connection_id":185612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:35:18] local.INFO: IMEI packet received {"connection_id":185612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":185612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:35:19] local.INFO: TCP Data received {"connection_id":185612,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:35:19] local.INFO: Processing buffer {"connection_id":185612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:35:19] local.INFO: IMEI packet received {"connection_id":185612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":185612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:35:21] local.INFO: TCP Data received {"connection_id":185612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:35:21] local.INFO: Processing buffer {"connection_id":185612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:35:21] local.INFO: Packet analysis {"connection_id":185612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:35:21] local.INFO: Extracted packet for processing {"connection_id":185612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:35:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":185612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:35:21] local.INFO: GPS data processed {"connection_id":185612,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:35:21] local.INFO: Acknowledgment sent {"connection_id":185612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:35:25] local.INFO: TCP Data received {"connection_id":185612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:35:25] local.INFO: Processing buffer {"connection_id":185612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:35:25] local.INFO: Packet analysis {"connection_id":185612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:35:25] local.INFO: Extracted packet for processing {"connection_id":185612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":185612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:35:25] local.INFO: GPS data processed {"connection_id":185612,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:35:25] local.INFO: Acknowledgment sent {"connection_id":185612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:35:35] local.INFO: TCP Data received {"connection_id":185613,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:35:35] local.INFO: Processing buffer {"connection_id":185613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:35:35] local.INFO: IMEI packet received {"connection_id":185613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":185613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:35:39] local.INFO: TCP Data received {"connection_id":185613,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:35:39] local.INFO: Processing buffer {"connection_id":185613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:35:39] local.INFO: IMEI packet received {"connection_id":185613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":185613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:35:40] local.INFO: TCP Data received {"connection_id":185613,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7806d0012d18d8c00720fd28004000962a..."} 
[2026-09-17 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7806d0012d18d8c00720fd28004000962a..."} 
[2026-09-17 18:35:40] local.INFO: Processing buffer {"connection_id":185613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7806d0012d18d8c00720fd28004000962a..."} 
[2026-09-17 18:35:40] local.INFO: Packet analysis {"connection_id":185613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af78"} 
[2026-09-17 18:35:40] local.INFO: Extracted packet for processing {"connection_id":185613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af78"} 
[2026-09-17 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119602472,"longitude_deg":75.6603072,"latitude_deg":11.9602472,"altitude":64,"angle":150,"satellites":42,"speed":43,"hex_longitude":"2d18d8c0","hex_latitude":"0720fd28","is_valid_coordinates":true} 
[2026-09-17 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150469376001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21331603615645696,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336155136,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789650274000,"timestamp_ms":1789650274000,"timestamp_seconds":1789650274,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7806d0"} 
[2026-09-17 18:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-17 18:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150469376001,"66":13537,"103":206,"83":41984,"24":43,"16":21331603615645696,"45":1789125351336155136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150469376001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:35:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21331603615645696,"km_value":21331603615645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336155136,"description":"Unknown IO ID 45"} 
[2026-09-17 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150469376001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1789125351336155136}} 
[2026-09-17 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":185613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:35:40] local.INFO: GPS data processed {"connection_id":185613,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:35:40] local.INFO: Acknowledgment sent {"connection_id":185613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:35:56] local.INFO: TCP Data received {"connection_id":185612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:35:56] local.INFO: Processing buffer {"connection_id":185612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:35:56] local.INFO: Packet analysis {"connection_id":185612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:35:56] local.INFO: Extracted packet for processing {"connection_id":185612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:35:56] 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-09-17 18:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:35:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":185612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:35:56] local.INFO: GPS data processed {"connection_id":185612,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:35:56] local.INFO: Acknowledgment sent {"connection_id":185612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:36:11] local.INFO: TCP Data received {"connection_id":185613,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af780ea0012d18de800720f700003f008529..."} 
[2026-09-17 18:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af780ea0012d18de800720f700003f008529..."} 
[2026-09-17 18:36:11] local.INFO: Processing buffer {"connection_id":185613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af780ea0012d18de800720f700003f008529..."} 
[2026-09-17 18:36:11] local.INFO: Packet analysis {"connection_id":185613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af78"} 
[2026-09-17 18:36:11] local.INFO: Extracted packet for processing {"connection_id":185613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af78"} 
[2026-09-17 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756604544,"raw_latitude":119600896,"longitude_deg":75.6604544,"latitude_deg":11.9600896,"altitude":63,"angle":133,"satellites":41,"speed":41,"hex_longitude":"2d18de80","hex_latitude":"0720f700","is_valid_coordinates":true} 
[2026-09-17 18:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150470144001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21331706694860800,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988730537984,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789650276000,"timestamp_ms":1789650276000,"timestamp_seconds":1789650276,"priority":1,"record_length":96,"hex_timestamp":"000001a0af780ea0"} 
[2026-09-17 18:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-17 18:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150470144001,"66":12743,"103":206,"83":41984,"24":41,"16":21331706694860800,"45":1790391988730537984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150470144001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:36:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21331706694860800,"km_value":21331706694860.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988730537984,"description":"Unknown IO ID 45"} 
[2026-09-17 18:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150470144001,"power":12743,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1790391988730537984}} 
[2026-09-17 18:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":185613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:36:11] local.INFO: GPS data processed {"connection_id":185613,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:36:11] local.INFO: Acknowledgment sent {"connection_id":185613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:36:15] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:36:15] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:36:15] local.INFO: IMEI packet received {"connection_id":186901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":186901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:36:20] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:36:20] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:36:20] local.INFO: IMEI packet received {"connection_id":186901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":186901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:36:21] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:36:21] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:36:21] local.INFO: Packet analysis {"connection_id":186901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:36:21] local.INFO: Extracted packet for processing {"connection_id":186901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":186901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:36:21] local.INFO: GPS data processed {"connection_id":186901,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:36:21] local.INFO: Acknowledgment sent {"connection_id":186901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:36:35] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:36:35] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:36:35] local.INFO: IMEI packet received {"connection_id":188251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":188251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:36:40] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:36:40] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:36:40] local.INFO: IMEI packet received {"connection_id":188251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":188251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:36:41] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af781a58012d18e6c00720ee00003d00902a..."} 
[2026-09-17 18:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af781a58012d18e6c00720ee00003d00902a..."} 
[2026-09-17 18:36:41] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af781a58012d18e6c00720ee00003d00902a..."} 
[2026-09-17 18:36:41] local.INFO: Packet analysis {"connection_id":188251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af78"} 
[2026-09-17 18:36:41] local.INFO: Extracted packet for processing {"connection_id":188251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af78"} 
[2026-09-17 18:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756606656,"raw_latitude":119598592,"longitude_deg":75.6606656,"latitude_deg":11.9598592,"altitude":61,"angle":144,"satellites":42,"speed":41,"hex_longitude":"2d18e6c0","hex_latitude":"0720ee00","is_valid_coordinates":true} 
[2026-09-17 18:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150470656001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21331857018716160,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792010469846220800,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789650279000,"timestamp_ms":1789650279000,"timestamp_seconds":1789650279,"priority":1,"record_length":96,"hex_timestamp":"000001a0af781a58"} 
[2026-09-17 18:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-17 18:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:36: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-09-17 18:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150470656001,"66":13493,"103":206,"83":41984,"24":41,"16":21331857018716160,"45":1792010469846220800},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150470656001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:36:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21331857018716160,"km_value":21331857018716.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792010469846220800,"description":"Unknown IO ID 45"} 
[2026-09-17 18:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150470656001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1792010469846220800}} 
[2026-09-17 18:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":188251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:36:41] local.INFO: GPS data processed {"connection_id":188251,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:36:41] local.INFO: Acknowledgment sent {"connection_id":188251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:36:55] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:36:55] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af754f80012d34c14006aa4440000a011825..."} 
[2026-09-17 18:36:55] local.INFO: Packet analysis {"connection_id":186901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:36:55] local.INFO: Extracted packet for processing {"connection_id":186901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af75"} 
[2026-09-17 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150347520001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789650096000,"timestamp_ms":1789650096000,"timestamp_seconds":1789650096,"priority":1,"record_length":96,"hex_timestamp":"000001a0af754f80"} 
[2026-09-17 18:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 18:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:36:55] 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-09-17 18:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150347520001,"66":25680,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150347520001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:36:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150347520001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":186901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:36:55] local.INFO: GPS data processed {"connection_id":186901,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:36:55] local.INFO: Acknowledgment sent {"connection_id":186901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:37:13] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79bc50012d19ae4007209020002f00c329..."} 
[2026-09-17 18:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79bc50012d19ae4007209020002f00c329..."} 
[2026-09-17 18:37:13] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79bc50012d19ae4007209020002f00c329..."} 
[2026-09-17 18:37:13] local.INFO: Packet analysis {"connection_id":188251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:13] local.INFO: Extracted packet for processing {"connection_id":188251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574560,"longitude_deg":75.6657728,"latitude_deg":11.957456,"altitude":47,"angle":195,"satellites":41,"speed":27,"hex_longitude":"2d19ae40","hex_latitude":"07209020","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150497280001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21335125488828416,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120995889152,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789650386000,"timestamp_ms":1789650386000,"timestamp_seconds":1789650386,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79bc50"} 
[2026-09-17 18:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-17 18:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150497280001,"66":13515,"103":206,"83":41984,"24":27,"16":21335125488828416,"45":1853583120995889152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150497280001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:37:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21335125488828416,"km_value":21335125488828.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120995889152,"description":"Unknown IO ID 45"} 
[2026-09-17 18:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150497280001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1853583120995889152}} 
[2026-09-17 18:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":188251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:37:13] local.INFO: GPS data processed {"connection_id":188251,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:37:13] local.INFO: Acknowledgment sent {"connection_id":188251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:37:14] local.INFO: TCP Data received {"connection_id":185459,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:37:14] local.INFO: Processing buffer {"connection_id":185459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:37:14] local.INFO: IMEI packet received {"connection_id":185459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":185459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:37:15] local.INFO: TCP Data received {"connection_id":185459,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:37:15] local.INFO: Processing buffer {"connection_id":185459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:37:15] local.INFO: IMEI packet received {"connection_id":185459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":185459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:37:20] local.INFO: TCP Data received {"connection_id":185459,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:37:20] local.INFO: Processing buffer {"connection_id":185459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:37:20] local.INFO: IMEI packet received {"connection_id":185459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":185459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:37:21] local.INFO: TCP Data received {"connection_id":185459,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:37:21] local.INFO: Processing buffer {"connection_id":185459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:37:21] local.INFO: Packet analysis {"connection_id":185459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:21] local.INFO: Extracted packet for processing {"connection_id":185459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":185459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:37:21] local.INFO: GPS data processed {"connection_id":185459,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:37:21] local.INFO: Acknowledgment sent {"connection_id":185459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:37:35] local.INFO: TCP Data received {"connection_id":188252,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:37:35] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:37:35] local.INFO: IMEI packet received {"connection_id":188252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":188252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:37:39] local.INFO: TCP Data received {"connection_id":188252,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:37:39] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:37:39] local.INFO: IMEI packet received {"connection_id":188252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":188252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:37:40] local.INFO: TCP Data received {"connection_id":188252,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:37:40] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:37:40] local.INFO: IMEI packet received {"connection_id":188252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":188252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:37:41] local.INFO: TCP Data received {"connection_id":188252,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79c038012d19ae0007208d70002f00b529..."} 
[2026-09-17 18:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79c038012d19ae0007208d70002f00b529..."} 
[2026-09-17 18:37:41] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79c038012d19ae0007208d70002f00b529..."} 
[2026-09-17 18:37:41] local.INFO: Packet analysis {"connection_id":188252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:41] local.INFO: Extracted packet for processing {"connection_id":188252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119573872,"longitude_deg":75.6657664,"latitude_deg":11.9573872,"altitude":47,"angle":181,"satellites":41,"speed":28,"hex_longitude":"2d19ae00","hex_latitude":"07208d70","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150498816001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21335159848566784,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251117568,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789650387000,"timestamp_ms":1789650387000,"timestamp_seconds":1789650387,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79c038"} 
[2026-09-17 18:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 18:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150498816001,"66":13515,"103":206,"83":41984,"24":28,"16":21335159848566784,"45":1850486896251117568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150498816001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:37:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21335159848566784,"km_value":21335159848566.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251117568,"description":"Unknown IO ID 45"} 
[2026-09-17 18:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150498816001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1850486896251117568}} 
[2026-09-17 18:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":188252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:37:41] local.INFO: GPS data processed {"connection_id":188252,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:37:41] local.INFO: Acknowledgment sent {"connection_id":188252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:37:42] local.INFO: TCP Data received {"connection_id":188252,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79c420012d19ae4007208a98002f00a92a..."} 
[2026-09-17 18:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79c420012d19ae4007208a98002f00a92a..."} 
[2026-09-17 18:37:42] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79c420012d19ae4007208a98002f00a92a..."} 
[2026-09-17 18:37:42] local.INFO: Packet analysis {"connection_id":188252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:42] local.INFO: Extracted packet for processing {"connection_id":188252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119573144,"longitude_deg":75.6657728,"latitude_deg":11.9573144,"altitude":47,"angle":169,"satellites":42,"speed":30,"hex_longitude":"2d19ae40","hex_latitude":"07208a98","is_valid_coordinates":true} 
[2026-09-17 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150499072001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21335194208305152,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506763776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789650388000,"timestamp_ms":1789650388000,"timestamp_seconds":1789650388,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79c420"} 
[2026-09-17 18:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 18:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150499072001,"66":13439,"103":206,"83":41984,"24":30,"16":21335194208305152,"45":1850416527506763776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150499072001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:37:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21335194208305152,"km_value":21335194208305.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506763776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150499072001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1850416527506763776}} 
[2026-09-17 18:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":188252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:37:42] local.INFO: GPS data processed {"connection_id":188252,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:37:42] local.INFO: Acknowledgment sent {"connection_id":188252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:37:49] local.INFO: TCP Data received {"connection_id":185460,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:37:49] local.INFO: Processing buffer {"connection_id":185460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:37:49] local.INFO: IMEI packet received {"connection_id":185460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":185460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:37:53] local.INFO: TCP Data received {"connection_id":185459,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:37:53] local.INFO: Processing buffer {"connection_id":185459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:37:53] local.INFO: Packet analysis {"connection_id":185459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:53] local.INFO: Extracted packet for processing {"connection_id":185459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":185459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:37:53] local.INFO: GPS data processed {"connection_id":185459,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:37:53] local.INFO: Acknowledgment sent {"connection_id":185459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:38:13] local.INFO: TCP Data received {"connection_id":188252,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d19b6c007206d68002b009c2a..."} 
[2026-09-17 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d19b6c007206d68002b009c2a..."} 
[2026-09-17 18:38:13] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d19b6c007206d68002b009c2a..."} 
[2026-09-17 18:38:13] local.INFO: Packet analysis {"connection_id":188252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:38:13] local.INFO: Extracted packet for processing {"connection_id":188252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119565672,"longitude_deg":75.6659904,"latitude_deg":11.9565672,"altitude":43,"angle":156,"satellites":42,"speed":37,"hex_longitude":"2d19b6c0","hex_latitude":"07206d68","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150499328001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21335572165427200,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250755072,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-17 18:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150499328001,"66":13091,"103":206,"83":41984,"24":37,"16":21335572165427200,"45":1850486896250755072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150499328001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:38:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21335572165427200,"km_value":21335572165427.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250755072,"description":"Unknown IO ID 45"} 
[2026-09-17 18:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150499328001,"power":13091,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1850486896250755072}} 
[2026-09-17 18:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":188252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:38:13] local.INFO: GPS data processed {"connection_id":188252,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:38:13] local.INFO: Acknowledgment sent {"connection_id":188252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:38:15] local.INFO: TCP Data received {"connection_id":185615,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:38:15] local.INFO: Processing buffer {"connection_id":185615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:38:15] local.INFO: IMEI packet received {"connection_id":185615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":185615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:38:20] local.INFO: TCP Data received {"connection_id":185615,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:38:20] local.INFO: Processing buffer {"connection_id":185615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:38:20] local.INFO: IMEI packet received {"connection_id":185615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":185615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:38:21] local.INFO: TCP Data received {"connection_id":185615,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:38:21] local.INFO: Processing buffer {"connection_id":185615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:38:21] local.INFO: Packet analysis {"connection_id":185615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:38:21] local.INFO: Extracted packet for processing {"connection_id":185615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:38:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":185615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:38:21] local.INFO: GPS data processed {"connection_id":185615,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:38:21] local.INFO: Acknowledgment sent {"connection_id":185615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:38:40] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:38:40] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:38:40] local.INFO: IMEI packet received {"connection_id":188253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":188253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:38:45] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:38:45] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:38:45] local.INFO: IMEI packet received {"connection_id":188253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":188253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:38:46] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7ab268012d1a2480071fef60002c006b2c..."} 
[2026-09-17 18:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7ab268012d1a2480071fef60002c006b2c..."} 
[2026-09-17 18:38:46] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7ab268012d1a2480071fef60002c006b2c..."} 
[2026-09-17 18:38:46] local.INFO: Packet analysis {"connection_id":188253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7a"} 
[2026-09-17 18:38:46] local.INFO: Extracted packet for processing {"connection_id":188253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7a"} 
[2026-09-17 18:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756688000,"raw_latitude":119533408,"longitude_deg":75.6688,"latitude_deg":11.9533408,"altitude":44,"angle":107,"satellites":44,"speed":40,"hex_longitude":"2d1a2480","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-09-17 18:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150512384001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21337904332668928,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873286369354860544,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789650449000,"timestamp_ms":1789650449000,"timestamp_seconds":1789650449,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7ab268"} 
[2026-09-17 18:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-17 18:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150512384001,"66":13798,"101":206,"83":41984,"24":40,"16":21337904332668928,"45":1873286369354860544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150512384001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:38:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21337904332668928,"km_value":21337904332668.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873286369354860544,"description":"Unknown IO ID 45"} 
[2026-09-17 18:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150512384001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1873286369354860544}} 
[2026-09-17 18:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":188253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:38:46] local.INFO: GPS data processed {"connection_id":188253,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:38:46] local.INFO: Acknowledgment sent {"connection_id":188253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:38:50] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7ad590012d1a4800071fe618002e006c2b..."} 
[2026-09-17 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7ad590012d1a4800071fe618002e006c2b..."} 
[2026-09-17 18:38:50] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7ad590012d1a4800071fe618002e006c2b..."} 
[2026-09-17 18:38:50] local.INFO: Packet analysis {"connection_id":188253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7a"} 
[2026-09-17 18:38:50] local.INFO: Extracted packet for processing {"connection_id":188253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7a"} 
[2026-09-17 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756697088,"raw_latitude":119531032,"longitude_deg":75.6697088,"latitude_deg":11.9531032,"altitude":46,"angle":108,"satellites":43,"speed":40,"hex_longitude":"2d1a4800","hex_latitude":"071fe618","is_valid_coordinates":true} 
[2026-09-17 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150514944001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21338351009267712,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883771312236617728,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789650458000,"timestamp_ms":1789650458000,"timestamp_seconds":1789650458,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7ad590"} 
[2026-09-17 18:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-17 18:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150514944001,"66":13852,"101":206,"83":41984,"24":40,"16":21338351009267712,"45":1883771312236617728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150514944001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:38:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21338351009267712,"km_value":21338351009267.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883771312236617728,"description":"Unknown IO ID 45"} 
[2026-09-17 18:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150514944001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1883771312236617728}} 
[2026-09-17 18:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":188253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:38:50] local.INFO: GPS data processed {"connection_id":188253,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:38:50] local.INFO: Acknowledgment sent {"connection_id":188253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:38:55] local.INFO: TCP Data received {"connection_id":185615,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:38:55] local.INFO: Processing buffer {"connection_id":185615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:38:55] local.INFO: Packet analysis {"connection_id":185615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:38:55] local.INFO: Extracted packet for processing {"connection_id":185615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:38:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":185615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:38:55] local.INFO: GPS data processed {"connection_id":185615,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:38:55] local.INFO: Acknowledgment sent {"connection_id":185615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:39:15] local.INFO: TCP Data received {"connection_id":185462,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:39:15] local.INFO: Processing buffer {"connection_id":185462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:39:15] local.INFO: IMEI packet received {"connection_id":185462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":185462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:39:21] local.INFO: TCP Data received {"connection_id":185462,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:39:21] local.INFO: Processing buffer {"connection_id":185462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:39:21] local.INFO: IMEI packet received {"connection_id":185462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":185462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:39:23] local.INFO: TCP Data received {"connection_id":185462,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:39:23] local.INFO: Processing buffer {"connection_id":185462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:39:23] local.INFO: Packet analysis {"connection_id":185462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:39:23] local.INFO: Extracted packet for processing {"connection_id":185462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:39:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":185462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:39:23] local.INFO: GPS data processed {"connection_id":185462,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:39:23] local.INFO: Acknowledgment sent {"connection_id":185462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:39:35] local.INFO: TCP Data received {"connection_id":186903,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:39:35] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:39:35] local.INFO: IMEI packet received {"connection_id":186903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":186903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:39:40] local.INFO: TCP Data received {"connection_id":186903,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:39:40] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:39:40] local.INFO: IMEI packet received {"connection_id":186903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":186903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:39:41] local.INFO: TCP Data received {"connection_id":186903,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7add60012d1a4f40071fe2d8002f00782a..."} 
[2026-09-17 18:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7add60012d1a4f40071fe2d8002f00782a..."} 
[2026-09-17 18:39:41] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7add60012d1a4f40071fe2d8002f00782a..."} 
[2026-09-17 18:39:41] local.INFO: Packet analysis {"connection_id":186903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7a"} 
[2026-09-17 18:39:41] local.INFO: Extracted packet for processing {"connection_id":186903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7a"} 
[2026-09-17 18:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756698944,"raw_latitude":119530200,"longitude_deg":75.6698944,"latitude_deg":11.95302,"altitude":47,"angle":120,"satellites":42,"speed":39,"hex_longitude":"2d1a4f40","hex_latitude":"071fe2d8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150517248001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21338445498548224,"note":"Value kept but may cause issues"} 
[2026-09-17 18:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893763673909237760,"note":"Value kept but may cause issues"} 
[2026-09-17 18:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789650460000,"timestamp_ms":1789650460000,"timestamp_seconds":1789650460,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7add60"} 
[2026-09-17 18:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-17 18:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150517248001,"66":13820,"101":206,"83":41984,"24":39,"16":21338445498548224,"45":1893763673909237760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150517248001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:39:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21338445498548224,"km_value":21338445498548.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893763673909237760,"description":"Unknown IO ID 45"} 
[2026-09-17 18:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150517248001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1893763673909237760}} 
[2026-09-17 18:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":186903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:39:41] local.INFO: GPS data processed {"connection_id":186903,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:39:41] local.INFO: Acknowledgment sent {"connection_id":186903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:39:55] local.INFO: TCP Data received {"connection_id":185462,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:39:55] local.INFO: Processing buffer {"connection_id":185462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:39:55] local.INFO: Packet analysis {"connection_id":185462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:39:55] local.INFO: Extracted packet for processing {"connection_id":185462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:39:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:39:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":185462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:39:55] local.INFO: GPS data processed {"connection_id":185462,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:39:55] local.INFO: Acknowledgment sent {"connection_id":185462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:40:12] local.INFO: TCP Data received {"connection_id":186903,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7c6400012d1aa080071f9b100038012328..."} 
[2026-09-17 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7c6400012d1aa080071f9b100038012328..."} 
[2026-09-17 18:40:12] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7c6400012d1aa080071f9b100038012328..."} 
[2026-09-17 18:40:12] local.INFO: Packet analysis {"connection_id":186903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7c"} 
[2026-09-17 18:40:12] local.INFO: Extracted packet for processing {"connection_id":186903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7c"} 
[2026-09-17 18:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756719744,"raw_latitude":119511824,"longitude_deg":75.6719744,"latitude_deg":11.9511824,"altitude":56,"angle":291,"satellites":40,"speed":3,"hex_longitude":"2d1aa080","hex_latitude":"071f9b10","is_valid_coordinates":true} 
[2026-09-17 18:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150542080001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21339888607559680,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918955684319901696,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789650560000,"timestamp_ms":1789650560000,"timestamp_seconds":1789650560,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7c6400"} 
[2026-09-17 18:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-17 18:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150542080001,"66":13515,"101":206,"83":41984,"24":3,"16":21339888607559680,"45":1918955684319901696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150542080001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:40:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21339888607559680,"km_value":21339888607559.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918955684319901696,"description":"Unknown IO ID 45"} 
[2026-09-17 18:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150542080001,"power":13515,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1918955684319901696}} 
[2026-09-17 18:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":186903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:40:12] local.INFO: GPS data processed {"connection_id":186903,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:40:12] local.INFO: Acknowledgment sent {"connection_id":186903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:40:14] local.INFO: TCP Data received {"connection_id":185463,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:40:14] local.INFO: Processing buffer {"connection_id":185463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:40:14] local.INFO: IMEI packet received {"connection_id":185463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":185463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:40:20] local.INFO: TCP Data received {"connection_id":185463,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:40:20] local.INFO: Processing buffer {"connection_id":185463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:40:20] local.INFO: IMEI packet received {"connection_id":185463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":185463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:40:21] local.INFO: TCP Data received {"connection_id":185463,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:40:21] local.INFO: Processing buffer {"connection_id":185463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:40:21] local.INFO: Packet analysis {"connection_id":185463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:40:21] local.INFO: Extracted packet for processing {"connection_id":185463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":185463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:40:21] local.INFO: GPS data processed {"connection_id":185463,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:40:21] local.INFO: Acknowledgment sent {"connection_id":185463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:40:35] local.INFO: TCP Data received {"connection_id":185464,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:40:35] local.INFO: Processing buffer {"connection_id":185464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:40:35] local.INFO: IMEI packet received {"connection_id":185464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":185464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:40:38] local.INFO: TCP Data received {"connection_id":185464,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:40:38] local.INFO: Processing buffer {"connection_id":185464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:40:38] local.INFO: IMEI packet received {"connection_id":185464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":185464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:40:39] local.INFO: TCP Data received {"connection_id":185464,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7c6bd0012d1a9f40071f9c000038013127..."} 
[2026-09-17 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7c6bd0012d1a9f40071f9c000038013127..."} 
[2026-09-17 18:40:39] local.INFO: Processing buffer {"connection_id":185464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7c6bd0012d1a9f40071f9c000038013127..."} 
[2026-09-17 18:40:39] local.INFO: Packet analysis {"connection_id":185464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7c"} 
[2026-09-17 18:40:39] local.INFO: Extracted packet for processing {"connection_id":185464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7c"} 
[2026-09-17 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756719424,"raw_latitude":119512064,"longitude_deg":75.6719424,"latitude_deg":11.9512064,"altitude":56,"angle":305,"satellites":39,"speed":10,"hex_longitude":"2d1a9f40","hex_latitude":"071f9c00","is_valid_coordinates":true} 
[2026-09-17 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150543360001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21339910082396160,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918674209343213568,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789650562000,"timestamp_ms":1789650562000,"timestamp_seconds":1789650562,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7c6bd0"} 
[2026-09-17 18:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 18:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150543360001,"66":13526,"101":206,"83":41984,"24":10,"16":21339910082396160,"45":1918674209343213568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150543360001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:40:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21339910082396160,"km_value":21339910082396.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918674209343213568,"description":"Unknown IO ID 45"} 
[2026-09-17 18:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150543360001,"power":13526,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1918674209343213568}} 
[2026-09-17 18:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":185464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:40:39] local.INFO: GPS data processed {"connection_id":185464,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:40:39] local.INFO: Acknowledgment sent {"connection_id":185464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:40:54] local.INFO: TCP Data received {"connection_id":185463,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:40:54] local.INFO: Processing buffer {"connection_id":185463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:40:54] local.INFO: Packet analysis {"connection_id":185463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:40:54] local.INFO: Extracted packet for processing {"connection_id":185463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":185463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:40:54] local.INFO: GPS data processed {"connection_id":185463,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:40:54] local.INFO: Acknowledgment sent {"connection_id":185463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:41:10] local.INFO: TCP Data received {"connection_id":185464,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7c8340012d1a9700071fa3f00038013c29..."} 
[2026-09-17 18:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7c8340012d1a9700071fa3f00038013c29..."} 
[2026-09-17 18:41:10] local.INFO: Processing buffer {"connection_id":185464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7c8340012d1a9700071fa3f00038013c29..."} 
[2026-09-17 18:41:10] local.INFO: Packet analysis {"connection_id":185464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7c"} 
[2026-09-17 18:41:10] local.INFO: Extracted packet for processing {"connection_id":185464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7c"} 
[2026-09-17 18:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756717312,"raw_latitude":119514096,"longitude_deg":75.6717312,"latitude_deg":11.9514096,"altitude":56,"angle":316,"satellites":41,"speed":26,"hex_longitude":"2d1a9700","hex_latitude":"071fa3f0","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150543872001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21340051816316928,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918322365622386688,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789650568000,"timestamp_ms":1789650568000,"timestamp_seconds":1789650568,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7c8340"} 
[2026-09-17 18:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-17 18:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150543872001,"66":13559,"101":206,"83":41984,"24":26,"16":21340051816316928,"45":1918322365622386688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150543872001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:41:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21340051816316928,"km_value":21340051816316.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918322365622386688,"description":"Unknown IO ID 45"} 
[2026-09-17 18:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150543872001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1918322365622386688}} 
[2026-09-17 18:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":185464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:41:11] local.INFO: GPS data processed {"connection_id":185464,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:41:11] local.INFO: Acknowledgment sent {"connection_id":185464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:41:14] local.INFO: TCP Data received {"connection_id":185616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:41:14] local.INFO: Processing buffer {"connection_id":185616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:41:14] local.INFO: IMEI packet received {"connection_id":185616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":185616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:41:20] local.INFO: TCP Data received {"connection_id":185616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:41:20] local.INFO: Processing buffer {"connection_id":185616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:41:20] local.INFO: IMEI packet received {"connection_id":185616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":185616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:41:21] local.INFO: TCP Data received {"connection_id":185616,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:41:21] local.INFO: Processing buffer {"connection_id":185616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:41:21] local.INFO: Packet analysis {"connection_id":185616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:41:21] local.INFO: Extracted packet for processing {"connection_id":185616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":185616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:41:21] local.INFO: GPS data processed {"connection_id":185616,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:41:21] local.INFO: Acknowledgment sent {"connection_id":185616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:41:35] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:41:35] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:41:35] local.INFO: IMEI packet received {"connection_id":188255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":188255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:41:36] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:41:36] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:41:36] local.INFO: IMEI packet received {"connection_id":188255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":188255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:41:38] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:41:38] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:41:38] local.INFO: IMEI packet received {"connection_id":188255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":188255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:41:39] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7d9c80012d19f480071ffc78002f01042a..."} 
[2026-09-17 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7d9c80012d19f480071ffc78002f01042a..."} 
[2026-09-17 18:41:39] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7d9c80012d19f480071ffc78002f01042a..."} 
[2026-09-17 18:41:39] local.INFO: Packet analysis {"connection_id":188255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7d"} 
[2026-09-17 18:41:39] local.INFO: Extracted packet for processing {"connection_id":188255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7d"} 
[2026-09-17 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756675712,"raw_latitude":119536760,"longitude_deg":75.6675712,"latitude_deg":11.953676,"altitude":47,"angle":260,"satellites":42,"speed":27,"hex_longitude":"2d19f480","hex_latitude":"071ffc78","is_valid_coordinates":true} 
[2026-09-17 18:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150563584001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21342452703035392,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871034569541339136,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789650640000,"timestamp_ms":1789650640000,"timestamp_seconds":1789650640,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7d9c80"} 
[2026-09-17 18:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 18:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150563584001,"66":13396,"101":206,"83":41984,"24":27,"16":21342452703035392,"45":1871034569541339136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150563584001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:41:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:41:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21342452703035392,"km_value":21342452703035.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871034569541339136,"description":"Unknown IO ID 45"} 
[2026-09-17 18:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150563584001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1871034569541339136}} 
[2026-09-17 18:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":188255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:41:39] local.INFO: GPS data processed {"connection_id":188255,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:41:39] local.INFO: Acknowledgment sent {"connection_id":188255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:41:53] local.INFO: TCP Data received {"connection_id":185616,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:41:53] local.INFO: Processing buffer {"connection_id":185616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af79e748012d34c14006aa4440000a011826..."} 
[2026-09-17 18:41:53] local.INFO: Packet analysis {"connection_id":185616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:41:53] local.INFO: Extracted packet for processing {"connection_id":185616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af79"} 
[2026-09-17 18:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150424576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789650397000,"timestamp_ms":1789650397000,"timestamp_seconds":1789650397,"priority":1,"record_length":96,"hex_timestamp":"000001a0af79e748"} 
[2026-09-17 18:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-17 18:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150424576001,"66":25647,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150424576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150424576001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":185616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:41:53] local.INFO: GPS data processed {"connection_id":185616,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:41:53] local.INFO: Acknowledgment sent {"connection_id":185616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:42:10] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7da838012d19ecc0071ffbd8002f01162b..."} 
[2026-09-17 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7da838012d19ecc0071ffbd8002f01162b..."} 
[2026-09-17 18:42:10] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7da838012d19ecc0071ffbd8002f01162b..."} 
[2026-09-17 18:42:10] local.INFO: Packet analysis {"connection_id":188255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7d"} 
[2026-09-17 18:42:10] local.INFO: Extracted packet for processing {"connection_id":188255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7d"} 
[2026-09-17 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756673728,"raw_latitude":119536600,"longitude_deg":75.6673728,"latitude_deg":11.95366,"altitude":47,"angle":278,"satellites":43,"speed":24,"hex_longitude":"2d19ecc0","hex_latitude":"071ffbd8","is_valid_coordinates":true} 
[2026-09-17 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150563840001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21342547192315904,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870260513355364352,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789650643000,"timestamp_ms":1789650643000,"timestamp_seconds":1789650643,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7da838"} 
[2026-09-17 18:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-17 18:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:42: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-09-17 18:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150563840001,"66":13439,"101":206,"83":41984,"24":24,"16":21342547192315904,"45":1870260513355364352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150563840001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:42:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21342547192315904,"km_value":21342547192315.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870260513355364352,"description":"Unknown IO ID 45"} 
[2026-09-17 18:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150563840001,"power":13439,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1870260513355364352}} 
[2026-09-17 18:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":188255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:42:10] local.INFO: GPS data processed {"connection_id":188255,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:42:10] local.INFO: Acknowledgment sent {"connection_id":188255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:42:14] local.INFO: TCP Data received {"connection_id":185617,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:42:14] local.INFO: Processing buffer {"connection_id":185617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:42:14] local.INFO: IMEI packet received {"connection_id":185617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":185617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:42:15] local.INFO: TCP Data received {"connection_id":185617,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:42:15] local.INFO: Processing buffer {"connection_id":185617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:42:15] local.INFO: IMEI packet received {"connection_id":185617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":185617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:42:20] local.INFO: TCP Data received {"connection_id":185617,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:42:20] local.INFO: Processing buffer {"connection_id":185617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:42:20] local.INFO: IMEI packet received {"connection_id":185617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":185617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:42:21] local.INFO: TCP Data received {"connection_id":185617,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:42:21] local.INFO: Processing buffer {"connection_id":185617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:42:21] local.INFO: Packet analysis {"connection_id":185617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:42:21] local.INFO: Extracted packet for processing {"connection_id":185617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:42:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":185617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:42:21] local.INFO: GPS data processed {"connection_id":185617,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:42:21] local.INFO: Acknowledgment sent {"connection_id":185617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:42:34] local.INFO: TCP Data received {"connection_id":188256,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:42:34] local.INFO: Processing buffer {"connection_id":188256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:42:34] local.INFO: IMEI packet received {"connection_id":188256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":188256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:42:35] local.INFO: TCP Data received {"connection_id":188256,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:42:35] local.INFO: Processing buffer {"connection_id":188256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:42:35] local.INFO: IMEI packet received {"connection_id":188256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":188256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:42:40] local.INFO: TCP Data received {"connection_id":188256,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:42:40] local.INFO: Processing buffer {"connection_id":188256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:42:40] local.INFO: IMEI packet received {"connection_id":188256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":188256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:42:41] local.INFO: TCP Data received {"connection_id":188256,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7740012d19ad40072093500031001127..."} 
[2026-09-17 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7740012d19ad40072093500031001127..."} 
[2026-09-17 18:42:41] local.INFO: Processing buffer {"connection_id":188256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7740012d19ad40072093500031001127..."} 
[2026-09-17 18:42:41] local.INFO: Packet analysis {"connection_id":188256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:42:41] local.INFO: Extracted packet for processing {"connection_id":188256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119575376,"longitude_deg":75.6657472,"latitude_deg":11.9575376,"altitude":49,"angle":17,"satellites":39,"speed":29,"hex_longitude":"2d19ad40","hex_latitude":"07209350","is_valid_coordinates":true} 
[2026-09-17 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150577920001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21344681791062016,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315041902592,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789650696000,"timestamp_ms":1789650696000,"timestamp_seconds":1789650696,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7740"} 
[2026-09-17 18:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-17 18:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150577920001,"66":13624,"103":206,"83":41984,"24":29,"16":21344681791062016,"45":1849994315041902592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150577920001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:42:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21344681791062016,"km_value":21344681791062.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315041902592,"description":"Unknown IO ID 45"} 
[2026-09-17 18:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150577920001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1849994315041902592}} 
[2026-09-17 18:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":188256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:42:41] local.INFO: GPS data processed {"connection_id":188256,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:42:41] local.INFO: Acknowledgment sent {"connection_id":188256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:42:53] local.INFO: TCP Data received {"connection_id":185617,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:42:53] local.INFO: Processing buffer {"connection_id":185617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:42:53] local.INFO: Packet analysis {"connection_id":185617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:42:53] local.INFO: Extracted packet for processing {"connection_id":185617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":185617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:42:53] local.INFO: GPS data processed {"connection_id":185617,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:42:53] local.INFO: Acknowledgment sent {"connection_id":185617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:43:12] local.INFO: TCP Data received {"connection_id":188256,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7f07c8012d1981800720b1f8003801012b..."} 
[2026-09-17 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7f07c8012d1981800720b1f8003801012b..."} 
[2026-09-17 18:43:12] local.INFO: Processing buffer {"connection_id":188256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7f07c8012d1981800720b1f8003801012b..."} 
[2026-09-17 18:43:12] local.INFO: Packet analysis {"connection_id":188256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7f"} 
[2026-09-17 18:43:12] local.INFO: Extracted packet for processing {"connection_id":188256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7f"} 
[2026-09-17 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756646272,"raw_latitude":119583224,"longitude_deg":75.6646272,"latitude_deg":11.9583224,"altitude":56,"angle":257,"satellites":43,"speed":22,"hex_longitude":"2d198180","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-09-17 18:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150586880001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21345703993278464,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839790847138379776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789650733000,"timestamp_ms":1789650733000,"timestamp_seconds":1789650733,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7f07c8"} 
[2026-09-17 18:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-17 18:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150586880001,"66":13798,"103":206,"83":41984,"24":22,"16":21345703993278464,"45":1839790847138379776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150586880001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:43:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21345703993278464,"km_value":21345703993278.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839790847138379776,"description":"Unknown IO ID 45"} 
[2026-09-17 18:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150586880001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1839790847138379776}} 
[2026-09-17 18:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":188256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:43:12] local.INFO: GPS data processed {"connection_id":188256,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:43:12] local.INFO: Acknowledgment sent {"connection_id":188256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:43:15] local.INFO: TCP Data received {"connection_id":186906,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:43:15] local.INFO: Processing buffer {"connection_id":186906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:43:15] local.INFO: IMEI packet received {"connection_id":186906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:43:20] local.INFO: TCP Data received {"connection_id":186906,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:43:20] local.INFO: Processing buffer {"connection_id":186906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:43:20] local.INFO: IMEI packet received {"connection_id":186906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":186906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:43:21] local.INFO: TCP Data received {"connection_id":186906,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:43:21] local.INFO: Processing buffer {"connection_id":186906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:43:21] local.INFO: Packet analysis {"connection_id":186906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:43:21] local.INFO: Extracted packet for processing {"connection_id":186906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":186906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:43:21] local.INFO: GPS data processed {"connection_id":186906,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:43:21] local.INFO: Acknowledgment sent {"connection_id":186906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:43:30] local.INFO: TCP Data received {"connection_id":188257,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:43:30] local.INFO: Processing buffer {"connection_id":188257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:43:30] local.INFO: IMEI packet received {"connection_id":188257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":188257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:43:35] local.INFO: TCP Data received {"connection_id":185465,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:43:35] local.INFO: Processing buffer {"connection_id":185465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:43:35] local.INFO: IMEI packet received {"connection_id":185465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":185465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:43:35] local.INFO: TCP Data received {"connection_id":185465,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:43:35] local.INFO: Processing buffer {"connection_id":185465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:43:35] local.INFO: IMEI packet received {"connection_id":185465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":185465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:43:40] local.INFO: TCP Data received {"connection_id":185465,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:43:40] local.INFO: Processing buffer {"connection_id":185465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:43:40] local.INFO: IMEI packet received {"connection_id":185465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":185465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:43:41] local.INFO: TCP Data received {"connection_id":185465,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7f1b50012d197a000720b0a80037011a2a..."} 
[2026-09-17 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7f1b50012d197a000720b0a80037011a2a..."} 
[2026-09-17 18:43:41] local.INFO: Processing buffer {"connection_id":185465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7f1b50012d197a000720b0a80037011a2a..."} 
[2026-09-17 18:43:41] local.INFO: Packet analysis {"connection_id":185465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7f"} 
[2026-09-17 18:43:41] local.INFO: Extracted packet for processing {"connection_id":185465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7f"} 
[2026-09-17 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756644352,"raw_latitude":119582888,"longitude_deg":75.6644352,"latitude_deg":11.9582888,"altitude":55,"angle":282,"satellites":42,"speed":8,"hex_longitude":"2d197a00","hex_latitude":"0720b0a8","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150587648001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21345794187591680,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837890891045533696,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789650738000,"timestamp_ms":1789650738000,"timestamp_seconds":1789650738,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7f1b50"} 
[2026-09-17 18:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-17 18:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150587648001,"66":13787,"103":206,"83":41984,"24":8,"16":21345794187591680,"45":1837890891045533696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150587648001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:43:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21345794187591680,"km_value":21345794187591.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837890891045533696,"description":"Unknown IO ID 45"} 
[2026-09-17 18:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150587648001,"power":13787,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1837890891045533696}} 
[2026-09-17 18:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":185465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:43:41] local.INFO: GPS data processed {"connection_id":185465,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:43:41] local.INFO: Acknowledgment sent {"connection_id":185465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:43:54] local.INFO: TCP Data received {"connection_id":186906,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:43:54] local.INFO: Processing buffer {"connection_id":186906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:43:54] local.INFO: Packet analysis {"connection_id":186906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:43:54] local.INFO: Extracted packet for processing {"connection_id":186906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":186906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:43:54] local.INFO: GPS data processed {"connection_id":186906,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:43:54] local.INFO: Acknowledgment sent {"connection_id":186906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:43:55] local.INFO: TCP Data received {"connection_id":185466,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:43:55] local.INFO: Processing buffer {"connection_id":185466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:43:55] local.INFO: IMEI packet received {"connection_id":185466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":185466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:44:12] local.INFO: TCP Data received {"connection_id":185465,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7fe288012d1962800720deb8003c011227..."} 
[2026-09-17 18:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7fe288012d1962800720deb8003c011227..."} 
[2026-09-17 18:44:12] local.INFO: Processing buffer {"connection_id":185465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7fe288012d1962800720deb8003c011227..."} 
[2026-09-17 18:44:12] local.INFO: Packet analysis {"connection_id":185465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7f"} 
[2026-09-17 18:44:12] local.INFO: Extracted packet for processing {"connection_id":185465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7f"} 
[2026-09-17 18:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756638336,"raw_latitude":119594680,"longitude_deg":75.6638336,"latitude_deg":11.959468,"altitude":60,"angle":274,"satellites":39,"speed":7,"hex_longitude":"2d196280","hex_latitude":"0720deb8","is_valid_coordinates":true} 
[2026-09-17 18:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150601472001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21346550101835776,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379235512320,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789650789000,"timestamp_ms":1789650789000,"timestamp_seconds":1789650789,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7fe288"} 
[2026-09-17 18:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-17 18:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150601472001,"66":13656,"103":206,"83":41984,"24":7,"16":21346550101835776,"45":1829587379235512320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150601472001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:44:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21346550101835776,"km_value":21346550101835.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379235512320,"description":"Unknown IO ID 45"} 
[2026-09-17 18:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150601472001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1829587379235512320}} 
[2026-09-17 18:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":185465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:44:12] local.INFO: GPS data processed {"connection_id":185465,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:44:12] local.INFO: Acknowledgment sent {"connection_id":185465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:44:14] local.INFO: TCP Data received {"connection_id":185467,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:44:14] local.INFO: Processing buffer {"connection_id":185467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:44:14] local.INFO: IMEI packet received {"connection_id":185467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":185467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:44:20] local.INFO: TCP Data received {"connection_id":185467,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:44:20] local.INFO: Processing buffer {"connection_id":185467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:44:20] local.INFO: IMEI packet received {"connection_id":185467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":185467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:44:21] local.INFO: TCP Data received {"connection_id":185467,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:44:21] local.INFO: Processing buffer {"connection_id":185467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:44:21] local.INFO: Packet analysis {"connection_id":185467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:44:21] local.INFO: Extracted packet for processing {"connection_id":185467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":185467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:44:21] local.INFO: GPS data processed {"connection_id":185467,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:44:21] local.INFO: Acknowledgment sent {"connection_id":185467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:44:37] local.INFO: TCP Data received {"connection_id":188258,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:44:37] local.INFO: Processing buffer {"connection_id":188258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:44:37] local.INFO: IMEI packet received {"connection_id":188258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":188258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:44:41] local.INFO: TCP Data received {"connection_id":188258,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:44:41] local.INFO: Processing buffer {"connection_id":188258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:44:41] local.INFO: IMEI packet received {"connection_id":188258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":188258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:44:45] local.INFO: TCP Data received {"connection_id":188258,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:44:45] local.INFO: Processing buffer {"connection_id":188258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:44:45] local.INFO: IMEI packet received {"connection_id":188258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":188258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:44:46] local.INFO: TCP Data received {"connection_id":188258,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7fe670012d1961800720df18003d013427..."} 
[2026-09-17 18:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7fe670012d1961800720df18003d013427..."} 
[2026-09-17 18:44:46] local.INFO: Processing buffer {"connection_id":188258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7fe670012d1961800720df18003d013427..."} 
[2026-09-17 18:44:46] local.INFO: Packet analysis {"connection_id":188258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7f"} 
[2026-09-17 18:44:46] local.INFO: Extracted packet for processing {"connection_id":188258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7f"} 
[2026-09-17 18:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756638080,"raw_latitude":119594776,"longitude_deg":75.663808,"latitude_deg":11.9594776,"altitude":61,"angle":308,"satellites":39,"speed":7,"hex_longitude":"2d196180","hex_latitude":"0720df18","is_valid_coordinates":true} 
[2026-09-17 18:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150601984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21346562986737664,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829165166770436096,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789650790000,"timestamp_ms":1789650790000,"timestamp_seconds":1789650790,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7fe670"} 
[2026-09-17 18:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-17 18:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150601984001,"66":13656,"103":206,"83":41984,"24":7,"16":21346562986737664,"45":1829165166770436096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150601984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:44:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21346562986737664,"km_value":21346562986737.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829165166770436096,"description":"Unknown IO ID 45"} 
[2026-09-17 18:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150601984001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1829165166770436096}} 
[2026-09-17 18:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":188258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:44:46] local.INFO: GPS data processed {"connection_id":188258,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:44:46] local.INFO: Acknowledgment sent {"connection_id":188258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:44:51] local.INFO: TCP Data received {"connection_id":188258,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af803878012d1961000720dfb0003d013429..."} 
[2026-09-17 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af803878012d1961000720dfb0003d013429..."} 
[2026-09-17 18:44:51] local.INFO: Processing buffer {"connection_id":188258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af803878012d1961000720dfb0003d013429..."} 
[2026-09-17 18:44:51] local.INFO: Packet analysis {"connection_id":188258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af80"} 
[2026-09-17 18:44:51] local.INFO: Extracted packet for processing {"connection_id":188258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af80"} 
[2026-09-17 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119594928,"longitude_deg":75.6637952,"latitude_deg":11.9594928,"altitude":61,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d196100","hex_latitude":"0720dfb0","is_valid_coordinates":true} 
[2026-09-17 18:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150602240001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21346580166606848,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828883691793750016,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789650811000,"timestamp_ms":1789650811000,"timestamp_seconds":1789650811,"priority":1,"record_length":96,"hex_timestamp":"000001a0af803878"} 
[2026-09-17 18:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-17 18:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150602240001,"66":13678,"103":206,"83":41984,"24":0,"16":21346580166606848,"45":1828883691793750016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150602240001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:44:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21346580166606848,"km_value":21346580166606.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828883691793750016,"description":"Unknown IO ID 45"} 
[2026-09-17 18:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150602240001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828883691793750016}} 
[2026-09-17 18:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":188258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:44:51] local.INFO: GPS data processed {"connection_id":188258,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:44:51] local.INFO: Acknowledgment sent {"connection_id":188258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:44:53] local.INFO: TCP Data received {"connection_id":185467,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:44:53] local.INFO: Processing buffer {"connection_id":185467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:44:53] local.INFO: Packet analysis {"connection_id":185467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:44:53] local.INFO: Extracted packet for processing {"connection_id":185467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":185467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:44:53] local.INFO: GPS data processed {"connection_id":185467,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:44:53] local.INFO: Acknowledgment sent {"connection_id":185467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:45:14] local.INFO: TCP Data received {"connection_id":185618,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:45:14] local.INFO: Processing buffer {"connection_id":185618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:45:14] local.INFO: IMEI packet received {"connection_id":185618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":185618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:45:20] local.INFO: TCP Data received {"connection_id":185618,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:45:20] local.INFO: Processing buffer {"connection_id":185618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:45:20] local.INFO: IMEI packet received {"connection_id":185618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":185618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:45:21] local.INFO: TCP Data received {"connection_id":185618,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:45:21] local.INFO: Processing buffer {"connection_id":185618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:45:21] local.INFO: Packet analysis {"connection_id":185618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:45:21] local.INFO: Extracted packet for processing {"connection_id":185618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:45:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":185618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:45:21] local.INFO: GPS data processed {"connection_id":185618,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:45:21] local.INFO: Acknowledgment sent {"connection_id":185618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:45:35] local.INFO: TCP Data received {"connection_id":186907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:45:35] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:45:35] local.INFO: IMEI packet received {"connection_id":186907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":186907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:45:39] local.INFO: TCP Data received {"connection_id":186907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:45:39] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:45:39] local.INFO: IMEI packet received {"connection_id":186907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":186907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:45:40] local.INFO: TCP Data received {"connection_id":186907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af806758012d1961800720dec0003d00932a..."} 
[2026-09-17 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af806758012d1961800720dec0003d00932a..."} 
[2026-09-17 18:45:40] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af806758012d1961800720dec0003d00932a..."} 
[2026-09-17 18:45:40] local.INFO: Packet analysis {"connection_id":186907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af80"} 
[2026-09-17 18:45:40] local.INFO: Extracted packet for processing {"connection_id":186907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af80"} 
[2026-09-17 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756638080,"raw_latitude":119594688,"longitude_deg":75.663808,"latitude_deg":11.9594688,"altitude":61,"angle":147,"satellites":42,"speed":2,"hex_longitude":"2d196180","hex_latitude":"0720dec0","is_valid_coordinates":true} 
[2026-09-17 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150607616001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21346593051508736,"note":"Value kept but may cause issues"} 
[2026-09-17 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954305433600,"note":"Value kept but may cause issues"} 
[2026-09-17 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789650823000,"timestamp_ms":1789650823000,"timestamp_seconds":1789650823,"priority":1,"record_length":96,"hex_timestamp":"000001a0af806758"} 
[2026-09-17 18:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-17 18:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150607616001,"66":13798,"103":206,"83":41984,"24":2,"16":21346593051508736,"45":1828742954305433600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150607616001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:45:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:45:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21346593051508736,"km_value":21346593051508.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954305433600,"description":"Unknown IO ID 45"} 
[2026-09-17 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150607616001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1828742954305433600}} 
[2026-09-17 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":186907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:45:40] local.INFO: GPS data processed {"connection_id":186907,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:45:40] local.INFO: Acknowledgment sent {"connection_id":186907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:45:52] local.INFO: TCP Data received {"connection_id":185618,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:45:52] local.INFO: Processing buffer {"connection_id":185618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:45:52] local.INFO: Packet analysis {"connection_id":185618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:45:52] local.INFO: Extracted packet for processing {"connection_id":185618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:45:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":185618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:45:52] local.INFO: GPS data processed {"connection_id":185618,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:45:52] local.INFO: Acknowledgment sent {"connection_id":185618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:46:11] local.INFO: TCP Data received {"connection_id":186907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af81f1e0012d197cc00720b0d00038005727..."} 
[2026-09-17 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af81f1e0012d197cc00720b0d00038005727..."} 
[2026-09-17 18:46:11] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af81f1e0012d197cc00720b0d00038005727..."} 
[2026-09-17 18:46:11] local.INFO: Packet analysis {"connection_id":186907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af81"} 
[2026-09-17 18:46:11] local.INFO: Extracted packet for processing {"connection_id":186907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af81"} 
[2026-09-17 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119582928,"longitude_deg":75.6645056,"latitude_deg":11.9582928,"altitude":56,"angle":87,"satellites":39,"speed":12,"hex_longitude":"2d197cc0","hex_latitude":"0720b0d0","is_valid_coordinates":true} 
[2026-09-17 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150636288001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21347396210393088,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041185193984,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789650924000,"timestamp_ms":1789650924000,"timestamp_seconds":1789650924,"priority":1,"record_length":96,"hex_timestamp":"000001a0af81f1e0"} 
[2026-09-17 18:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-17 18:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150636288001,"66":13722,"103":206,"83":41984,"24":12,"16":21347396210393088,"45":1836202041185193984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150636288001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:46:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21347396210393088,"km_value":21347396210393.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041185193984,"description":"Unknown IO ID 45"} 
[2026-09-17 18:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150636288001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1836202041185193984}} 
[2026-09-17 18:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":186907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:46:11] local.INFO: GPS data processed {"connection_id":186907,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:46:11] local.INFO: Acknowledgment sent {"connection_id":186907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:46:14] local.INFO: TCP Data received {"connection_id":185468,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:46:14] local.INFO: Processing buffer {"connection_id":185468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:46:14] local.INFO: IMEI packet received {"connection_id":185468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":185468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:46:20] local.INFO: TCP Data received {"connection_id":185468,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:46:20] local.INFO: Processing buffer {"connection_id":185468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:46:20] local.INFO: IMEI packet received {"connection_id":185468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":185468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:46:22] local.INFO: TCP Data received {"connection_id":185468,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:46:22] local.INFO: Processing buffer {"connection_id":185468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:46:22] local.INFO: Packet analysis {"connection_id":185468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:46:22] local.INFO: Extracted packet for processing {"connection_id":185468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:46:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:46:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":185468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:46:22] local.INFO: GPS data processed {"connection_id":185468,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:46:22] local.INFO: Acknowledgment sent {"connection_id":185468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:46:35] local.INFO: TCP Data received {"connection_id":185620,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:46:35] local.INFO: Processing buffer {"connection_id":185620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:46:35] local.INFO: IMEI packet received {"connection_id":185620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":185620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:46:36] local.INFO: TCP Data received {"connection_id":185620,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:46:36] local.INFO: Processing buffer {"connection_id":185620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:46:36] local.INFO: IMEI packet received {"connection_id":185620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":185620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:46:37] local.INFO: TCP Data received {"connection_id":185620,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:46:37] local.INFO: Processing buffer {"connection_id":185620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:46:37] local.INFO: IMEI packet received {"connection_id":185620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":185620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:46:38] local.INFO: TCP Data received {"connection_id":185620,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af81f5c8012d197e400720b1280038004b27..."} 
[2026-09-17 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af81f5c8012d197e400720b1280038004b27..."} 
[2026-09-17 18:46:38] local.INFO: Processing buffer {"connection_id":185620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af81f5c8012d197e400720b1280038004b27..."} 
[2026-09-17 18:46:38] local.INFO: Packet analysis {"connection_id":185620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af81"} 
[2026-09-17 18:46:38] local.INFO: Extracted packet for processing {"connection_id":185620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af81"} 
[2026-09-17 18:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119583016,"longitude_deg":75.664544,"latitude_deg":11.9583016,"altitude":56,"angle":75,"satellites":39,"speed":15,"hex_longitude":"2d197e40","hex_latitude":"0720b128","is_valid_coordinates":true} 
[2026-09-17 18:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150636544001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21347413390262272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884906082304,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789650925000,"timestamp_ms":1789650925000,"timestamp_seconds":1789650925,"priority":1,"record_length":96,"hex_timestamp":"000001a0af81f5c8"} 
[2026-09-17 18:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 18:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":185620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":185620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":185620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150636544001,"66":13722,"103":206,"83":41984,"24":15,"16":21347413390262272,"45":1836553884906082304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150636544001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:46:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21347413390262272,"km_value":21347413390262.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884906082304,"description":"Unknown IO ID 45"} 
[2026-09-17 18:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150636544001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1836553884906082304}} 
[2026-09-17 18:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":185620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:46:38] local.INFO: GPS data processed {"connection_id":185620,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:46:38] local.INFO: Acknowledgment sent {"connection_id":185620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:46:39] local.INFO: TCP Data received {"connection_id":185620,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af821120012d198bc00720b3b00038005927..."} 
[2026-09-17 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af821120012d198bc00720b3b00038005927..."} 
[2026-09-17 18:46:39] local.INFO: Processing buffer {"connection_id":185620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af821120012d198bc00720b3b00038005927..."} 
[2026-09-17 18:46:39] local.INFO: Packet analysis {"connection_id":185620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af82"} 
[2026-09-17 18:46:39] local.INFO: Extracted packet for processing {"connection_id":185620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af82"} 
[2026-09-17 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583664,"longitude_deg":75.6648896,"latitude_deg":11.9583664,"altitude":56,"angle":89,"satellites":39,"speed":24,"hex_longitude":"2d198bc0","hex_latitude":"0720b3b0","is_valid_coordinates":true} 
[2026-09-17 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150636800001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21347580893986816,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097371170816,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789650932000,"timestamp_ms":1789650932000,"timestamp_seconds":1789650932,"priority":1,"record_length":96,"hex_timestamp":"000001a0af821120"} 
[2026-09-17 18:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-17 18:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":185620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":185620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":185620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150636800001,"66":13852,"103":206,"83":41984,"24":24,"16":21347580893986816,"45":1836976097371170816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150636800001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:46:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21347580893986816,"km_value":21347580893986.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097371170816,"description":"Unknown IO ID 45"} 
[2026-09-17 18:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150636800001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1836976097371170816}} 
[2026-09-17 18:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":185620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:46:39] local.INFO: GPS data processed {"connection_id":185620,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:46:39] local.INFO: Acknowledgment sent {"connection_id":185620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:46:53] local.INFO: TCP Data received {"connection_id":185468,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:46:53] local.INFO: Processing buffer {"connection_id":185468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af7e7b28012d34c14006aa4440000a011826..."} 
[2026-09-17 18:46:53] local.INFO: Packet analysis {"connection_id":185468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:46:53] local.INFO: Extracted packet for processing {"connection_id":185468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af7e"} 
[2026-09-17 18:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150501632001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789650697000,"timestamp_ms":1789650697000,"timestamp_seconds":1789650697,"priority":1,"record_length":96,"hex_timestamp":"000001a0af7e7b28"} 
[2026-09-17 18:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-17 18:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150501632001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150501632001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150501632001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":185468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:46:53] local.INFO: GPS data processed {"connection_id":185468,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:46:53] local.INFO: Acknowledgment sent {"connection_id":185468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:47:11] local.INFO: TCP Data received {"connection_id":185620,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af82a590012d19ba8007206198002b00a826..."} 
[2026-09-17 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af82a590012d19ba8007206198002b00a826..."} 
[2026-09-17 18:47:11] local.INFO: Processing buffer {"connection_id":185620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af82a590012d19ba8007206198002b00a826..."} 
[2026-09-17 18:47:11] local.INFO: Packet analysis {"connection_id":185620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af82"} 
[2026-09-17 18:47:11] local.INFO: Extracted packet for processing {"connection_id":185620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af82"} 
[2026-09-17 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119562648,"longitude_deg":75.6660864,"latitude_deg":11.9562648,"altitude":43,"angle":168,"satellites":38,"speed":42,"hex_longitude":"2d19ba80","hex_latitude":"07206198","is_valid_coordinates":true} 
[2026-09-17 18:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150647552001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21349148557049856,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696062547968,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789650970000,"timestamp_ms":1789650970000,"timestamp_seconds":1789650970,"priority":1,"record_length":96,"hex_timestamp":"000001a0af82a590"} 
[2026-09-17 18:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 18:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150647552001,"66":13048,"103":206,"83":41984,"24":42,"16":21349148557049856,"45":1852738696062547968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-17 18:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150647552001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:47:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-17 18:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21349148557049856,"km_value":21349148557049.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696062547968,"description":"Unknown IO ID 45"} 
[2026-09-17 18:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150647552001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1852738696062547968}} 
[2026-09-17 18:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":185620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:47:11] local.INFO: GPS data processed {"connection_id":185620,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:47:11] local.INFO: Acknowledgment sent {"connection_id":185620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:47:16] local.INFO: TCP Data received {"connection_id":185469,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:47:16] local.INFO: Processing buffer {"connection_id":185469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:47:16] local.INFO: IMEI packet received {"connection_id":185469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":185469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:47:20] local.INFO: TCP Data received {"connection_id":185469,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:47:20] local.INFO: Processing buffer {"connection_id":185469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:47:20] local.INFO: IMEI packet received {"connection_id":185469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":185469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:47:25] local.INFO: TCP Data received {"connection_id":185469,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:47:25] local.INFO: Processing buffer {"connection_id":185469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:47:25] local.INFO: IMEI packet received {"connection_id":185469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":185469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:47:26] local.INFO: TCP Data received {"connection_id":185469,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:47:26] local.INFO: Processing buffer {"connection_id":185469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:47:26] local.INFO: Packet analysis {"connection_id":185469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:47:26] local.INFO: Extracted packet for processing {"connection_id":185469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:47:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":185469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:47:26] local.INFO: GPS data processed {"connection_id":185469,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:47:26] local.INFO: Acknowledgment sent {"connection_id":185469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:47:31] local.INFO: TCP Data received {"connection_id":185469,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:47:31] local.INFO: Processing buffer {"connection_id":185469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:47:31] local.INFO: Packet analysis {"connection_id":185469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:47:31] local.INFO: Extracted packet for processing {"connection_id":185469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":185469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":185469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":185469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:47:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":185469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:47:31] local.INFO: GPS data processed {"connection_id":185469,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:47:31] local.INFO: Acknowledgment sent {"connection_id":185469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:47:35] local.INFO: TCP Data received {"connection_id":185622,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:47:35] local.INFO: Processing buffer {"connection_id":185622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:47:35] local.INFO: IMEI packet received {"connection_id":185622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":185622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:47:36] local.INFO: TCP Data received {"connection_id":185622,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:47:36] local.INFO: Processing buffer {"connection_id":185622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:47:36] local.INFO: IMEI packet received {"connection_id":185622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":185622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:47:40] local.INFO: TCP Data received {"connection_id":185622,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:47:40] local.INFO: Processing buffer {"connection_id":185622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:47:40] local.INFO: IMEI packet received {"connection_id":185622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":185622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:47:41] local.INFO: TCP Data received {"connection_id":185622,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af82c4d0012d19bd80072042b0002a00b428..."} 
[2026-09-17 18:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af82c4d0012d19bd80072042b0002a00b428..."} 
[2026-09-17 18:47:41] local.INFO: Processing buffer {"connection_id":185622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af82c4d0012d19bd80072042b0002a00b428..."} 
[2026-09-17 18:47:41] local.INFO: Packet analysis {"connection_id":185622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af82"} 
[2026-09-17 18:47:41] local.INFO: Extracted packet for processing {"connection_id":185622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af82"} 
[2026-09-17 18:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119554736,"longitude_deg":75.6661632,"latitude_deg":11.9554736,"altitude":42,"angle":180,"satellites":40,"speed":35,"hex_longitude":"2d19bd80","hex_latitude":"072042b0","is_valid_coordinates":true} 
[2026-09-17 18:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150648320001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21349530809139200,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964712773632,"note":"Value kept but may cause issues"} 
[2026-09-17 18:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789650978000,"timestamp_ms":1789650978000,"timestamp_seconds":1789650978,"priority":1,"record_length":96,"hex_timestamp":"000001a0af82c4d0"} 
[2026-09-17 18:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-17 18:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150648320001,"66":13004,"101":206,"83":41984,"24":35,"16":21349530809139200,"45":1853934964712773632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150648320001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:47:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21349530809139200,"km_value":21349530809139.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964712773632,"description":"Unknown IO ID 45"} 
[2026-09-17 18:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150648320001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1853934964712773632}} 
[2026-09-17 18:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":185622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:47:41] local.INFO: GPS data processed {"connection_id":185622,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:47:41] local.INFO: Acknowledgment sent {"connection_id":185622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:48:12] local.INFO: TCP Data received {"connection_id":185622,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af82d088012d19be8007203990002b00a429..."} 
[2026-09-17 18:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af82d088012d19be8007203990002b00a429..."} 
[2026-09-17 18:48:12] local.INFO: Processing buffer {"connection_id":185622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af82d088012d19be8007203990002b00a429..."} 
[2026-09-17 18:48:12] local.INFO: Packet analysis {"connection_id":185622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af82"} 
[2026-09-17 18:48:12] local.INFO: Extracted packet for processing {"connection_id":185622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af82"} 
[2026-09-17 18:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119552400,"longitude_deg":75.6661888,"latitude_deg":11.95524,"altitude":43,"angle":164,"satellites":41,"speed":29,"hex_longitude":"2d19be80","hex_latitude":"07203990","is_valid_coordinates":true} 
[2026-09-17 18:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150650368001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21349646773256192,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389640880128,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789650981000,"timestamp_ms":1789650981000,"timestamp_seconds":1789650981,"priority":1,"record_length":96,"hex_timestamp":"000001a0af82d088"} 
[2026-09-17 18:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 18:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150650368001,"66":12950,"101":206,"83":41984,"24":29,"16":21349646773256192,"45":1854779389640880128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150650368001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:48:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21349646773256192,"km_value":21349646773256.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389640880128,"description":"Unknown IO ID 45"} 
[2026-09-17 18:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150650368001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1854779389640880128}} 
[2026-09-17 18:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":185622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:48:12] local.INFO: GPS data processed {"connection_id":185622,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:48:12] local.INFO: Acknowledgment sent {"connection_id":185622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:48:14] local.INFO: TCP Data received {"connection_id":186909,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:48:14] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:48:14] local.INFO: IMEI packet received {"connection_id":186909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":186909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:48:20] local.INFO: TCP Data received {"connection_id":186909,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:48:20] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:48:20] local.INFO: IMEI packet received {"connection_id":186909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":186909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:48:20] local.INFO: TCP Data received {"connection_id":186909,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:48:20] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:48:20] local.INFO: Packet analysis {"connection_id":186909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:48:20] local.INFO: Extracted packet for processing {"connection_id":186909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":186909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:48:20] local.INFO: GPS data processed {"connection_id":186909,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:48:20] local.INFO: Acknowledgment sent {"connection_id":186909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:48:36] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:48:36] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:48:36] local.INFO: IMEI packet received {"connection_id":188260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":188260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:48:39] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:48:39] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:48:39] local.INFO: IMEI packet received {"connection_id":188260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":188260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:48:40] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af830350012d19ca4007201cc8002a009926..."} 
[2026-09-17 18:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af830350012d19ca4007201cc8002a009926..."} 
[2026-09-17 18:48:40] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af830350012d19ca4007201cc8002a009926..."} 
[2026-09-17 18:48:40] local.INFO: Packet analysis {"connection_id":188260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:48:40] local.INFO: Extracted packet for processing {"connection_id":188260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119545032,"longitude_deg":75.6664896,"latitude_deg":11.9545032,"altitude":42,"angle":153,"satellites":38,"speed":19,"hex_longitude":"2d19ca40","hex_latitude":"07201cc8","is_valid_coordinates":true} 
[2026-09-17 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150651136001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350033320312832,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864616992768,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789650994000,"timestamp_ms":1789650994000,"timestamp_seconds":1789650994,"priority":1,"record_length":96,"hex_timestamp":"000001a0af830350"} 
[2026-09-17 18:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 18:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150651136001,"66":12885,"101":206,"83":41984,"24":19,"16":21350033320312832,"45":1855060864616992768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150651136001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:48:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350033320312832,"km_value":21350033320312.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864616992768,"description":"Unknown IO ID 45"} 
[2026-09-17 18:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150651136001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1855060864616992768}} 
[2026-09-17 18:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":188260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:48:41] local.INFO: GPS data processed {"connection_id":188260,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:48:41] local.INFO: Acknowledgment sent {"connection_id":188260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:48:53] local.INFO: TCP Data received {"connection_id":186909,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:48:53] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:48:53] local.INFO: Packet analysis {"connection_id":186909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:48:53] local.INFO: Extracted packet for processing {"connection_id":186909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":186909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:48:53] local.INFO: GPS data processed {"connection_id":186909,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:48:53] local.INFO: Acknowledgment sent {"connection_id":186909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:49:12] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af830f08012d19cc8007201918002a008c28..."} 
[2026-09-17 18:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af830f08012d19cc8007201918002a008c28..."} 
[2026-09-17 18:49:12] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af830f08012d19cc8007201918002a008c28..."} 
[2026-09-17 18:49:12] local.INFO: Packet analysis {"connection_id":188260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:49:12] local.INFO: Extracted packet for processing {"connection_id":188260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119544088,"longitude_deg":75.6665472,"latitude_deg":11.9544088,"altitude":42,"angle":140,"satellites":40,"speed":11,"hex_longitude":"2d19cc80","hex_latitude":"07201918","is_valid_coordinates":true} 
[2026-09-17 18:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150654464001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350089154887680,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195591456768,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789650997000,"timestamp_ms":1789650997000,"timestamp_seconds":1789650997,"priority":1,"record_length":96,"hex_timestamp":"000001a0af830f08"} 
[2026-09-17 18:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 18:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150654464001,"66":12939,"101":206,"83":41984,"24":11,"16":21350089154887680,"45":1858368195591456768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150654464001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:49:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350089154887680,"km_value":21350089154887.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195591456768,"description":"Unknown IO ID 45"} 
[2026-09-17 18:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150654464001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1858368195591456768}} 
[2026-09-17 18:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":188260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:49:12] local.INFO: GPS data processed {"connection_id":188260,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:49:12] local.INFO: Acknowledgment sent {"connection_id":188260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:49:20] local.INFO: TCP Data received {"connection_id":186911,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:49:20] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:49:20] local.INFO: IMEI packet received {"connection_id":186911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":186911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:49:24] local.INFO: TCP Data received {"connection_id":186910,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:49:24] local.INFO: Processing buffer {"connection_id":186910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:49:24] local.INFO: IMEI packet received {"connection_id":186910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":186910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:49:25] local.INFO: TCP Data received {"connection_id":186911,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:49:25] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:49:25] local.INFO: IMEI packet received {"connection_id":186911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":186911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:49:26] local.INFO: TCP Data received {"connection_id":186911,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:49:26] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:49:26] local.INFO: Packet analysis {"connection_id":186911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:49:26] local.INFO: Extracted packet for processing {"connection_id":186911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:49:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":186911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:49:26] local.INFO: GPS data processed {"connection_id":186911,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:49:26] local.INFO: Acknowledgment sent {"connection_id":186911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:49:30] local.INFO: TCP Data received {"connection_id":186911,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:49:30] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:49:30] local.INFO: Packet analysis {"connection_id":186911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:49:30] local.INFO: Extracted packet for processing {"connection_id":186911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:49:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":186911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:49:30] local.INFO: GPS data processed {"connection_id":186911,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:49:30] local.INFO: Acknowledgment sent {"connection_id":186911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:49:34] local.INFO: TCP Data received {"connection_id":185470,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:34] local.INFO: Processing buffer {"connection_id":185470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:34] local.INFO: IMEI packet received {"connection_id":185470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":185470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:49:35] local.INFO: TCP Data received {"connection_id":185470,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:35] local.INFO: Processing buffer {"connection_id":185470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:35] local.INFO: IMEI packet received {"connection_id":185470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":185470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:49:36] local.INFO: TCP Data received {"connection_id":185470,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:36] local.INFO: Processing buffer {"connection_id":185470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:36] local.INFO: IMEI packet received {"connection_id":185470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":185470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:49:40] local.INFO: TCP Data received {"connection_id":185470,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:40] local.INFO: Processing buffer {"connection_id":185470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:49:40] local.INFO: IMEI packet received {"connection_id":185470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":185470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:49:41] local.INFO: TCP Data received {"connection_id":185470,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af836110012d19ce8007201780002c008f26..."} 
[2026-09-17 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af836110012d19ce8007201780002c008f26..."} 
[2026-09-17 18:49:41] local.INFO: Processing buffer {"connection_id":185470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af836110012d19ce8007201780002c008f26..."} 
[2026-09-17 18:49:41] local.INFO: Packet analysis {"connection_id":185470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:49:41] local.INFO: Extracted packet for processing {"connection_id":185470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543680,"longitude_deg":75.6665984,"latitude_deg":11.954368,"altitude":44,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201780","is_valid_coordinates":true} 
[2026-09-17 18:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655232001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350123514626048,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514288814080,"note":"Value kept but may cause issues"} 
[2026-09-17 18:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651018000,"timestamp_ms":1789651018000,"timestamp_seconds":1789651018,"priority":1,"record_length":96,"hex_timestamp":"000001a0af836110"} 
[2026-09-17 18:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-17 18:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655232001,"66":12776,"101":206,"83":41984,"24":0,"16":21350123514626048,"45":1859001514288814080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655232001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:49:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350123514626048,"km_value":21350123514626.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514288814080,"description":"Unknown IO ID 45"} 
[2026-09-17 18:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655232001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859001514288814080}} 
[2026-09-17 18:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":185470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:49:41] local.INFO: GPS data processed {"connection_id":185470,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:49:41] local.INFO: Acknowledgment sent {"connection_id":185470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:49:49] local.INFO: TCP Data received {"connection_id":188261,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:49:49] local.INFO: Processing buffer {"connection_id":188261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:49:49] local.INFO: IMEI packet received {"connection_id":188261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":188261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:50:12] local.INFO: TCP Data received {"connection_id":185470,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af83b318012d19ce8007201780002c008f25..."} 
[2026-09-17 18:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af83b318012d19ce8007201780002c008f25..."} 
[2026-09-17 18:50:12] local.INFO: Processing buffer {"connection_id":185470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af83b318012d19ce8007201780002c008f25..."} 
[2026-09-17 18:50:12] local.INFO: Packet analysis {"connection_id":185470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:50:12] local.INFO: Extracted packet for processing {"connection_id":185470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543680,"longitude_deg":75.6665984,"latitude_deg":11.954368,"altitude":44,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201780","is_valid_coordinates":true} 
[2026-09-17 18:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150660608001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350123514626048,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242130944,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651039000,"timestamp_ms":1789651039000,"timestamp_seconds":1789651039,"priority":1,"record_length":96,"hex_timestamp":"000001a0af83b318"} 
[2026-09-17 18:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-17 18:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150660608001,"66":12711,"101":206,"83":41984,"24":0,"16":21350123514626048,"45":1859564464242130944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150660608001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:50:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350123514626048,"km_value":21350123514626.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242130944,"description":"Unknown IO ID 45"} 
[2026-09-17 18:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150660608001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242130944}} 
[2026-09-17 18:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":185470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:50:12] local.INFO: GPS data processed {"connection_id":185470,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:50:12] local.INFO: Acknowledgment sent {"connection_id":185470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:50:15] local.INFO: TCP Data received {"connection_id":185623,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:50:15] local.INFO: Processing buffer {"connection_id":185623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:50:15] local.INFO: IMEI packet received {"connection_id":185623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":185623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:50:20] local.INFO: TCP Data received {"connection_id":185623,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:50:20] local.INFO: Processing buffer {"connection_id":185623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:50:20] local.INFO: IMEI packet received {"connection_id":185623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":185623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:50:21] local.INFO: TCP Data received {"connection_id":185623,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:50:21] local.INFO: Processing buffer {"connection_id":185623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:50:21] local.INFO: Packet analysis {"connection_id":185623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:50:21] local.INFO: Extracted packet for processing {"connection_id":185623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":185623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:50:21] local.INFO: GPS data processed {"connection_id":185623,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:50:21] local.INFO: Acknowledgment sent {"connection_id":185623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:50:35] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:50:35] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:50:35] local.INFO: IMEI packet received {"connection_id":188262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":188262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:50:40] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:50:40] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:50:40] local.INFO: IMEI packet received {"connection_id":188262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":188262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:50:41] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af840520012d19ce8007201780002c008f22..."} 
[2026-09-17 18:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af840520012d19ce8007201780002c008f22..."} 
[2026-09-17 18:50:41] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af840520012d19ce8007201780002c008f22..."} 
[2026-09-17 18:50:41] local.INFO: Packet analysis {"connection_id":188262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af84"} 
[2026-09-17 18:50:41] local.INFO: Extracted packet for processing {"connection_id":188262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af84"} 
[2026-09-17 18:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543680,"longitude_deg":75.6665984,"latitude_deg":11.954368,"altitude":44,"angle":143,"satellites":34,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201780","is_valid_coordinates":true} 
[2026-09-17 18:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150665984001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350123514626048,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242130944,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651060000,"timestamp_ms":1789651060000,"timestamp_seconds":1789651060,"priority":1,"record_length":96,"hex_timestamp":"000001a0af840520"} 
[2026-09-17 18:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-17 18:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150665984001,"66":12645,"101":206,"83":41984,"24":0,"16":21350123514626048,"45":1859564464242130944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150665984001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:50:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350123514626048,"km_value":21350123514626.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242130944,"description":"Unknown IO ID 45"} 
[2026-09-17 18:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150665984001,"power":12645,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242130944}} 
[2026-09-17 18:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":188262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:50:41] local.INFO: GPS data processed {"connection_id":188262,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:50:41] local.INFO: Acknowledgment sent {"connection_id":188262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:50:52] local.INFO: TCP Data received {"connection_id":185623,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:50:52] local.INFO: Processing buffer {"connection_id":185623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:50:52] local.INFO: Packet analysis {"connection_id":185623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:50:52] local.INFO: Extracted packet for processing {"connection_id":185623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":185623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:50:52] local.INFO: GPS data processed {"connection_id":185623,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:50:52] local.INFO: Acknowledgment sent {"connection_id":185623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:51:12] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af845728012d19ce8007201780002c008f20..."} 
[2026-09-17 18:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af845728012d19ce8007201780002c008f20..."} 
[2026-09-17 18:51:12] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af845728012d19ce8007201780002c008f20..."} 
[2026-09-17 18:51:12] local.INFO: Packet analysis {"connection_id":188262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af84"} 
[2026-09-17 18:51:12] local.INFO: Extracted packet for processing {"connection_id":188262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af84"} 
[2026-09-17 18:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543680,"longitude_deg":75.6665984,"latitude_deg":11.954368,"altitude":44,"angle":143,"satellites":32,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201780","is_valid_coordinates":true} 
[2026-09-17 18:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150671360001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350123514626048,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242130944,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651081000,"timestamp_ms":1789651081000,"timestamp_seconds":1789651081,"priority":1,"record_length":96,"hex_timestamp":"000001a0af845728"} 
[2026-09-17 18:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-17 18:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150671360001,"66":12558,"101":206,"83":41984,"24":0,"16":21350123514626048,"45":1859564464242130944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150671360001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:51:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350123514626048,"km_value":21350123514626.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242130944,"description":"Unknown IO ID 45"} 
[2026-09-17 18:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150671360001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242130944}} 
[2026-09-17 18:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":188262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:51:12] local.INFO: GPS data processed {"connection_id":188262,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:51:12] local.INFO: Acknowledgment sent {"connection_id":188262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:51:18] local.INFO: TCP Data received {"connection_id":185624,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:51:18] local.INFO: Processing buffer {"connection_id":185624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:51:18] local.INFO: IMEI packet received {"connection_id":185624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":185624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:51:19] local.INFO: TCP Data received {"connection_id":185624,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:51:19] local.INFO: Processing buffer {"connection_id":185624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:51:19] local.INFO: IMEI packet received {"connection_id":185624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":185624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:51:21] local.INFO: TCP Data received {"connection_id":185624,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:51:21] local.INFO: Processing buffer {"connection_id":185624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:51:21] local.INFO: Packet analysis {"connection_id":185624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:51:21] local.INFO: Extracted packet for processing {"connection_id":185624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":185624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:51:21] local.INFO: GPS data processed {"connection_id":185624,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:51:21] local.INFO: Acknowledgment sent {"connection_id":185624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:51:25] local.INFO: TCP Data received {"connection_id":185624,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:51:25] local.INFO: Processing buffer {"connection_id":185624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:51:25] local.INFO: Packet analysis {"connection_id":185624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:51:25] local.INFO: Extracted packet for processing {"connection_id":185624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":185624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:51:25] local.INFO: GPS data processed {"connection_id":185624,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:51:25] local.INFO: Acknowledgment sent {"connection_id":185624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:51:40] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:51:40] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:51:40] local.INFO: IMEI packet received {"connection_id":186912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":186912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:51:45] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:51:45] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:51:45] local.INFO: IMEI packet received {"connection_id":186912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":186912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:51:46] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af84a930012d19ce8007201780002c008f21..."} 
[2026-09-17 18:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af84a930012d19ce8007201780002c008f21..."} 
[2026-09-17 18:51:46] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af84a930012d19ce8007201780002c008f21..."} 
[2026-09-17 18:51:46] local.INFO: Packet analysis {"connection_id":186912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af84"} 
[2026-09-17 18:51:46] local.INFO: Extracted packet for processing {"connection_id":186912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af84"} 
[2026-09-17 18:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543680,"longitude_deg":75.6665984,"latitude_deg":11.954368,"altitude":44,"angle":143,"satellites":33,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201780","is_valid_coordinates":true} 
[2026-09-17 18:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150676736001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350123514626048,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242130944,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789651102000,"timestamp_ms":1789651102000,"timestamp_seconds":1789651102,"priority":1,"record_length":96,"hex_timestamp":"000001a0af84a930"} 
[2026-09-17 18:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2944585864,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249836963697541808,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2198800385,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-17 18:51:46] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1074208796,"corrected_to":0} 
[2026-09-17 18:51:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2752665,"corrected_to":0} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3653107712,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":29,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304410075138,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:46] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,217,160,5,45,128,23,44,34,10,66,179,37,97,1,240,232,227,175,32,4,113,205,11,3,202,200,38,239,50,2,75,7,43,29,120,74,206],"length":575,"final_offset":705,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":202,"original":1074208796,"validated":0},{"io_id":200,"original":2752665,"validated":0}]} 
[2026-09-17 18:51:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170691505270554624,"timestamp_seconds":3170691505270554.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-17 18:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150676736001,"66":13656,"101":206,"83":41984,"24":0,"16":21350123514626048,"45":1859564464242130944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150676736001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:51:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350123514626048,"km_value":21350123514626.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242130944,"description":"Unknown IO ID 45"} 
[2026-09-17 18:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150676736001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242130944}} 
[2026-09-17 18:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":186912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:51:46] local.INFO: GPS data processed {"connection_id":186912,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:51:46] local.INFO: Acknowledgment sent {"connection_id":186912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:51:47] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af84fb38012d19ce8007201780002c008f20..."} 
[2026-09-17 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af84fb38012d19ce8007201780002c008f20..."} 
[2026-09-17 18:51:47] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af84fb38012d19ce8007201780002c008f20..."} 
[2026-09-17 18:51:47] local.INFO: Packet analysis {"connection_id":186912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af84"} 
[2026-09-17 18:51:47] local.INFO: Extracted packet for processing {"connection_id":186912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af84"} 
[2026-09-17 18:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543680,"longitude_deg":75.6665984,"latitude_deg":11.954368,"altitude":44,"angle":143,"satellites":32,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201780","is_valid_coordinates":true} 
[2026-09-17 18:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150682112001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350123514626048,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242130944,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789651123000,"timestamp_ms":1789651123000,"timestamp_seconds":1789651123,"priority":1,"record_length":96,"hex_timestamp":"000001a0af84fb38"} 
[2026-09-17 18:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-17 18:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150682112001,"66":12972,"101":206,"83":41984,"24":0,"16":21350123514626048,"45":1859564464242130944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150682112001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:51:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350123514626048,"km_value":21350123514626.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242130944,"description":"Unknown IO ID 45"} 
[2026-09-17 18:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150682112001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242130944}} 
[2026-09-17 18:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":186912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:51:47] local.INFO: GPS data processed {"connection_id":186912,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:51:47] local.INFO: Acknowledgment sent {"connection_id":186912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:51:56] local.INFO: TCP Data received {"connection_id":185624,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:51:56] local.INFO: Processing buffer {"connection_id":185624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8312f0012d34c14006aa4440000a011828..."} 
[2026-09-17 18:51:56] local.INFO: Packet analysis {"connection_id":185624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:51:56] local.INFO: Extracted packet for processing {"connection_id":185624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af83"} 
[2026-09-17 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150578432001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789650998000,"timestamp_ms":1789650998000,"timestamp_seconds":1789650998,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8312f0"} 
[2026-09-17 18:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150578432001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150578432001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:51:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150578432001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":185624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:51:56] local.INFO: GPS data processed {"connection_id":185624,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:51:56] local.INFO: Acknowledgment sent {"connection_id":185624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:52:14] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:52:14] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:52:14] local.INFO: IMEI packet received {"connection_id":186913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:52:17] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:52:17] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:52:17] local.INFO: IMEI packet received {"connection_id":186913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":186913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:52:18] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af852248012d19cec007201770003100a724..."} 
[2026-09-17 18:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af852248012d19cec007201770003100a724..."} 
[2026-09-17 18:52:18] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af852248012d19cec007201770003100a724..."} 
[2026-09-17 18:52:18] local.INFO: Packet analysis {"connection_id":186912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:52:18] local.INFO: Extracted packet for processing {"connection_id":186912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543664,"longitude_deg":75.6666048,"latitude_deg":11.9543664,"altitude":49,"angle":167,"satellites":36,"speed":4,"hex_longitude":"2d19cec0","hex_latitude":"07201770","is_valid_coordinates":true} 
[2026-09-17 18:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150687488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350127809593344,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242130944,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789651133000,"timestamp_ms":1789651133000,"timestamp_seconds":1789651133,"priority":1,"record_length":96,"hex_timestamp":"000001a0af852248"} 
[2026-09-17 18:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-17 18:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150687488001,"66":12950,"101":206,"83":41984,"24":4,"16":21350127809593344,"45":1859564464242130944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150687488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:52:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350127809593344,"km_value":21350127809593.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242130944,"description":"Unknown IO ID 45"} 
[2026-09-17 18:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150687488001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1859564464242130944}} 
[2026-09-17 18:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":186912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:52:18] local.INFO: GPS data processed {"connection_id":186912,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:52:18] local.INFO: Acknowledgment sent {"connection_id":186912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:52:18] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:52:18] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:52:18] local.INFO: Packet analysis {"connection_id":186913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:52:18] local.INFO: Extracted packet for processing {"connection_id":186913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789651299000,"timestamp_ms":1789651299000,"timestamp_seconds":1789651299,"priority":1,"record_length":96,"hex_timestamp":"000001a0af87aab8"} 
[2026-09-17 18:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:52: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-09-17 18:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655488001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655488001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":186913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:52:19] local.INFO: GPS data processed {"connection_id":186913,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:52:19] local.INFO: Acknowledgment sent {"connection_id":186913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:52:35] local.INFO: TCP Data received {"connection_id":185625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:52:35] local.INFO: Processing buffer {"connection_id":185625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:52:35] local.INFO: IMEI packet received {"connection_id":185625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":185625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:52:40] local.INFO: TCP Data received {"connection_id":185625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:52:40] local.INFO: Processing buffer {"connection_id":185625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:52:40] local.INFO: IMEI packet received {"connection_id":185625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":185625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:52:41] local.INFO: TCP Data received {"connection_id":185625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af852a18012d19cf40072015e80031009924..."} 
[2026-09-17 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af852a18012d19cf40072015e80031009924..."} 
[2026-09-17 18:52:41] local.INFO: Processing buffer {"connection_id":185625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af852a18012d19cf40072015e80031009924..."} 
[2026-09-17 18:52:41] local.INFO: Packet analysis {"connection_id":185625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:52:41] local.INFO: Extracted packet for processing {"connection_id":185625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543272,"longitude_deg":75.6666176,"latitude_deg":11.9543272,"altitude":49,"angle":153,"satellites":36,"speed":11,"hex_longitude":"2d19cf40","hex_latitude":"072015e8","is_valid_coordinates":true} 
[2026-09-17 18:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150690048001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350144989462528,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986304512,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651135000,"timestamp_ms":1789651135000,"timestamp_seconds":1789651135,"priority":1,"record_length":96,"hex_timestamp":"000001a0af852a18"} 
[2026-09-17 18:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-17 18:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150690048001,"66":12841,"101":206,"83":41984,"24":11,"16":21350144989462528,"45":1859634832986304512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150690048001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:52:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350144989462528,"km_value":21350144989462.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986304512,"description":"Unknown IO ID 45"} 
[2026-09-17 18:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150690048001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1859634832986304512}} 
[2026-09-17 18:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":185625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:52:41] local.INFO: GPS data processed {"connection_id":185625,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:52:41] local.INFO: Acknowledgment sent {"connection_id":185625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:52:46] local.INFO: TCP Data received {"connection_id":185625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af852e00012d19d080072014a80031008d24..."} 
[2026-09-17 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af852e00012d19d080072014a80031008d24..."} 
[2026-09-17 18:52:46] local.INFO: Processing buffer {"connection_id":185625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af852e00012d19d080072014a80031008d24..."} 
[2026-09-17 18:52:46] local.INFO: Packet analysis {"connection_id":185625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:52:46] local.INFO: Extracted packet for processing {"connection_id":185625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119542952,"longitude_deg":75.6666496,"latitude_deg":11.9542952,"altitude":49,"angle":141,"satellites":36,"speed":16,"hex_longitude":"2d19d080","hex_latitude":"072014a8","is_valid_coordinates":true} 
[2026-09-17 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150690560001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350166464299008,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474559488,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789651136000,"timestamp_ms":1789651136000,"timestamp_seconds":1789651136,"priority":1,"record_length":96,"hex_timestamp":"000001a0af852e00"} 
[2026-09-17 18:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-17 18:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150690560001,"66":12885,"101":206,"83":41984,"24":16,"16":21350166464299008,"45":1859775570474559488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150690560001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:52:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350166464299008,"km_value":21350166464299.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474559488,"description":"Unknown IO ID 45"} 
[2026-09-17 18:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150690560001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1859775570474559488}} 
[2026-09-17 18:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":185625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:52:46] local.INFO: GPS data processed {"connection_id":185625,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:52:46] local.INFO: Acknowledgment sent {"connection_id":185625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:52:49] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:52:49] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:52:49] local.INFO: Packet analysis {"connection_id":186913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:52:49] local.INFO: Extracted packet for processing {"connection_id":186913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789651299000,"timestamp_ms":1789651299000,"timestamp_seconds":1789651299,"priority":1,"record_length":96,"hex_timestamp":"000001a0af87aab8"} 
[2026-09-17 18:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655488001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655488001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":186913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:52:49] local.INFO: GPS data processed {"connection_id":186913,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:52:49] local.INFO: Acknowledgment sent {"connection_id":186913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:53:14] local.INFO: TCP Data received {"connection_id":185472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:53:14] local.INFO: Processing buffer {"connection_id":185472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:53:14] local.INFO: IMEI packet received {"connection_id":185472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":185472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:53:17] local.INFO: TCP Data received {"connection_id":185625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8535d0012d19d340072012300031007f25..."} 
[2026-09-17 18:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8535d0012d19d340072012300031007f25..."} 
[2026-09-17 18:53:17] local.INFO: Processing buffer {"connection_id":185625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8535d0012d19d340072012300031007f25..."} 
[2026-09-17 18:53:17] local.INFO: Packet analysis {"connection_id":185625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:53:17] local.INFO: Extracted packet for processing {"connection_id":185625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119542320,"longitude_deg":75.66672,"latitude_deg":11.954232,"altitude":49,"angle":127,"satellites":37,"speed":18,"hex_longitude":"2d19d340","hex_latitude":"07201230","is_valid_coordinates":true} 
[2026-09-17 18:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150690816001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350213708939264,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195365888,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789651138000,"timestamp_ms":1789651138000,"timestamp_seconds":1789651138,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8535d0"} 
[2026-09-17 18:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 18:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150690816001,"66":12211,"101":206,"83":41984,"24":18,"16":21350213708939264,"45":1860127414195365888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150690816001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:53:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350213708939264,"km_value":21350213708939.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195365888,"description":"Unknown IO ID 45"} 
[2026-09-17 18:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150690816001,"power":12211,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1860127414195365888}} 
[2026-09-17 18:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":185625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:53:17] local.INFO: GPS data processed {"connection_id":185625,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:53:17] local.INFO: Acknowledgment sent {"connection_id":185625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:53:19] local.INFO: TCP Data received {"connection_id":185472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:53:19] local.INFO: Processing buffer {"connection_id":185472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:53:19] local.INFO: IMEI packet received {"connection_id":185472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":185472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:53:20] local.INFO: TCP Data received {"connection_id":185472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:53:20] local.INFO: Processing buffer {"connection_id":185472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:53:20] local.INFO: Packet analysis {"connection_id":185472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:53:20] local.INFO: Extracted packet for processing {"connection_id":185472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789651299000,"timestamp_ms":1789651299000,"timestamp_seconds":1789651299,"priority":1,"record_length":96,"hex_timestamp":"000001a0af87aab8"} 
[2026-09-17 18:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655488001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655488001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":185472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:53:20] local.INFO: GPS data processed {"connection_id":185472,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:53:20] local.INFO: Acknowledgment sent {"connection_id":185472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:53:32] local.INFO: TCP Data received {"connection_id":185627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:53:32] local.INFO: Processing buffer {"connection_id":185627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:53:32] local.INFO: IMEI packet received {"connection_id":185627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":185627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:53:35] local.INFO: TCP Data received {"connection_id":185627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:53:35] local.INFO: Processing buffer {"connection_id":185627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:53:35] local.INFO: IMEI packet received {"connection_id":185627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":185627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:53:40] local.INFO: TCP Data received {"connection_id":185627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:53:40] local.INFO: Processing buffer {"connection_id":185627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:53:40] local.INFO: IMEI packet received {"connection_id":185627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":185627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:53:40] local.INFO: TCP Data received {"connection_id":185627,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af854958012d19db4007200d380031007225..."} 
[2026-09-17 18:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af854958012d19db4007200d380031007225..."} 
[2026-09-17 18:53:40] local.INFO: Processing buffer {"connection_id":185627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af854958012d19db4007200d380031007225..."} 
[2026-09-17 18:53:40] local.INFO: Packet analysis {"connection_id":185627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:53:40] local.INFO: Extracted packet for processing {"connection_id":185627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756669248,"raw_latitude":119541048,"longitude_deg":75.6669248,"latitude_deg":11.9541048,"altitude":49,"angle":114,"satellites":37,"speed":17,"hex_longitude":"2d19db40","hex_latitude":"07200d38","is_valid_coordinates":true} 
[2026-09-17 18: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-09-17 18:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150691328001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350329673056256,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470381158400,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789651143000,"timestamp_ms":1789651143000,"timestamp_seconds":1789651143,"priority":1,"record_length":96,"hex_timestamp":"000001a0af854958"} 
[2026-09-17 18:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-17 18:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18: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-09-17 18:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":185627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":185627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":185627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150691328001,"66":12885,"101":206,"83":41984,"24":17,"16":21350329673056256,"45":1860901470381158400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150691328001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:53:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350329673056256,"km_value":21350329673056.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470381158400,"description":"Unknown IO ID 45"} 
[2026-09-17 18:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150691328001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1860901470381158400}} 
[2026-09-17 18:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":185627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:53:41] local.INFO: GPS data processed {"connection_id":185627,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:53:41] local.INFO: Acknowledgment sent {"connection_id":185627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:53:52] local.INFO: TCP Data received {"connection_id":185472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:53:52] local.INFO: Processing buffer {"connection_id":185472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:53:52] local.INFO: Packet analysis {"connection_id":185472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:53:52] local.INFO: Extracted packet for processing {"connection_id":185472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789651299000,"timestamp_ms":1789651299000,"timestamp_seconds":1789651299,"priority":1,"record_length":96,"hex_timestamp":"000001a0af87aab8"} 
[2026-09-17 18:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655488001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655488001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":185472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:53:52] local.INFO: GPS data processed {"connection_id":185472,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:53:52] local.INFO: Acknowledgment sent {"connection_id":185472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:54:12] local.INFO: TCP Data received {"connection_id":185627,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af859b60012d19e180072009c80031007a26..."} 
[2026-09-17 18:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af859b60012d19e180072009c80031007a26..."} 
[2026-09-17 18:54:12] local.INFO: Processing buffer {"connection_id":185627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af859b60012d19e180072009c80031007a26..."} 
[2026-09-17 18:54:12] local.INFO: Packet analysis {"connection_id":185627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:54:12] local.INFO: Extracted packet for processing {"connection_id":185627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af85"} 
[2026-09-17 18:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756670848,"raw_latitude":119540168,"longitude_deg":75.6670848,"latitude_deg":11.9540168,"altitude":49,"angle":122,"satellites":38,"speed":0,"hex_longitude":"2d19e180","hex_latitude":"072009c8","is_valid_coordinates":true} 
[2026-09-17 18:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150692608001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350415572402176,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863153270194518016,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651164000,"timestamp_ms":1789651164000,"timestamp_seconds":1789651164,"priority":1,"record_length":96,"hex_timestamp":"000001a0af859b60"} 
[2026-09-17 18:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 18:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150692608001,"66":12841,"101":206,"83":41984,"24":0,"16":21350415572402176,"45":1863153270194518016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150692608001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:54:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350415572402176,"km_value":21350415572402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863153270194518016,"description":"Unknown IO ID 45"} 
[2026-09-17 18:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150692608001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1863153270194518016}} 
[2026-09-17 18:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":185627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:54:12] local.INFO: GPS data processed {"connection_id":185627,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:54:12] local.INFO: Acknowledgment sent {"connection_id":185627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:54:14] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:54:14] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:54:14] local.INFO: IMEI packet received {"connection_id":185474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":185474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:54:19] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:54:19] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:54:19] local.INFO: IMEI packet received {"connection_id":185474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":185474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:54:20] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:54:20] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:54:20] local.INFO: Packet analysis {"connection_id":185474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:54:20] local.INFO: Extracted packet for processing {"connection_id":185474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789651299000,"timestamp_ms":1789651299000,"timestamp_seconds":1789651299,"priority":1,"record_length":96,"hex_timestamp":"000001a0af87aab8"} 
[2026-09-17 18:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:54: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-09-17 18:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655488001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655488001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":185474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:54:20] local.INFO: GPS data processed {"connection_id":185474,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:54:20] local.INFO: Acknowledgment sent {"connection_id":185474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:54:35] local.INFO: TCP Data received {"connection_id":185475,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:54:35] local.INFO: Processing buffer {"connection_id":185475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:54:35] local.INFO: IMEI packet received {"connection_id":185475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":185475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:54:36] local.INFO: TCP Data received {"connection_id":185475,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:54:36] local.INFO: Processing buffer {"connection_id":185475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:54:36] local.INFO: IMEI packet received {"connection_id":185475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":185475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:54:40] local.INFO: TCP Data received {"connection_id":185475,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:54:40] local.INFO: Processing buffer {"connection_id":185475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:54:40] local.INFO: IMEI packet received {"connection_id":185475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":185475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:54:41] local.INFO: TCP Data received {"connection_id":185475,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8921b8012d19e180072009c80031007a26..."} 
[2026-09-17 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8921b8012d19e180072009c80031007a26..."} 
[2026-09-17 18:54:41] local.INFO: Processing buffer {"connection_id":185475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8921b8012d19e180072009c80031007a26..."} 
[2026-09-17 18:54:41] local.INFO: Packet analysis {"connection_id":185475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af89"} 
[2026-09-17 18:54:41] local.INFO: Extracted packet for processing {"connection_id":185475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af89"} 
[2026-09-17 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756670848,"raw_latitude":119540168,"longitude_deg":75.6670848,"latitude_deg":11.9540168,"altitude":49,"angle":122,"satellites":38,"speed":0,"hex_longitude":"2d19e180","hex_latitude":"072009c8","is_valid_coordinates":true} 
[2026-09-17 18:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150751744001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350415572402176,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864912488798734336,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651395000,"timestamp_ms":1789651395000,"timestamp_seconds":1789651395,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8921b8"} 
[2026-09-17 18:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150751744001,"66":12504,"101":206,"83":41984,"24":0,"16":21350415572402176,"45":1864912488798734336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150751744001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:54:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350415572402176,"km_value":21350415572402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864912488798734336,"description":"Unknown IO ID 45"} 
[2026-09-17 18:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150751744001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1864912488798734336}} 
[2026-09-17 18:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":185475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:54:41] local.INFO: GPS data processed {"connection_id":185475,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:54:41] local.INFO: Acknowledgment sent {"connection_id":185475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:54:52] local.INFO: TCP Data received {"connection_id":185474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:54:52] local.INFO: Processing buffer {"connection_id":185474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:54:52] local.INFO: Packet analysis {"connection_id":185474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:54:52] local.INFO: Extracted packet for processing {"connection_id":185474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789651299000,"timestamp_ms":1789651299000,"timestamp_seconds":1789651299,"priority":1,"record_length":96,"hex_timestamp":"000001a0af87aab8"} 
[2026-09-17 18:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655488001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655488001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":185474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:54:52] local.INFO: GPS data processed {"connection_id":185474,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:54:52] local.INFO: Acknowledgment sent {"connection_id":185474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:55:12] local.INFO: TCP Data received {"connection_id":185475,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8973c0012d19e180072009c80031007a28..."} 
[2026-09-17 18:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8973c0012d19e180072009c80031007a28..."} 
[2026-09-17 18:55:12] local.INFO: Processing buffer {"connection_id":185475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8973c0012d19e180072009c80031007a28..."} 
[2026-09-17 18:55:12] local.INFO: Packet analysis {"connection_id":185475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af89"} 
[2026-09-17 18:55:12] local.INFO: Extracted packet for processing {"connection_id":185475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af89"} 
[2026-09-17 18:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756670848,"raw_latitude":119540168,"longitude_deg":75.6670848,"latitude_deg":11.9540168,"altitude":49,"angle":122,"satellites":40,"speed":0,"hex_longitude":"2d19e180","hex_latitude":"072009c8","is_valid_coordinates":true} 
[2026-09-17 18:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150757120001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350415572402176,"note":"Value kept but may cause issues"} 
[2026-09-17 18:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864912488798734336,"note":"Value kept but may cause issues"} 
[2026-09-17 18:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651416000,"timestamp_ms":1789651416000,"timestamp_seconds":1789651416,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8973c0"} 
[2026-09-17 18:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-17 18:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150757120001,"66":12461,"101":206,"83":41984,"24":0,"16":21350415572402176,"45":1864912488798734336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150757120001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:55:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350415572402176,"km_value":21350415572402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864912488798734336,"description":"Unknown IO ID 45"} 
[2026-09-17 18:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150757120001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1864912488798734336}} 
[2026-09-17 18:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":185475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:55:12] local.INFO: GPS data processed {"connection_id":185475,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:55:12] local.INFO: Acknowledgment sent {"connection_id":185475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:55:24] local.INFO: TCP Data received {"connection_id":186914,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:55:24] local.INFO: Processing buffer {"connection_id":186914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:55:24] local.INFO: IMEI packet received {"connection_id":186914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":186914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:55:24] local.INFO: TCP Data received {"connection_id":188264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:55:24] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:55:24] local.INFO: IMEI packet received {"connection_id":188264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":188264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:55:30] local.INFO: TCP Data received {"connection_id":188264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:55:30] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:55:30] local.INFO: IMEI packet received {"connection_id":188264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":188264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:55:31] local.INFO: TCP Data received {"connection_id":188264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:55:31] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:55:31] local.INFO: Packet analysis {"connection_id":188264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:55:31] local.INFO: Extracted packet for processing {"connection_id":188264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:55:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789651299000,"timestamp_ms":1789651299000,"timestamp_seconds":1789651299,"priority":1,"record_length":96,"hex_timestamp":"000001a0af87aab8"} 
[2026-09-17 18:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655488001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655488001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":188264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:55:31] local.INFO: GPS data processed {"connection_id":188264,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:55:31] local.INFO: Acknowledgment sent {"connection_id":188264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:55:35] local.INFO: TCP Data received {"connection_id":188265,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:55:35] local.INFO: Processing buffer {"connection_id":188265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:55:35] local.INFO: IMEI packet received {"connection_id":188265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":188265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:55:38] local.INFO: TCP Data received {"connection_id":188265,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:55:38] local.INFO: Processing buffer {"connection_id":188265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:55:38] local.INFO: IMEI packet received {"connection_id":188265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":188265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:55:39] local.INFO: TCP Data received {"connection_id":188265,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af89c5c8012d19e180072009c80031007a27..."} 
[2026-09-17 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af89c5c8012d19e180072009c80031007a27..."} 
[2026-09-17 18:55:39] local.INFO: Processing buffer {"connection_id":188265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af89c5c8012d19e180072009c80031007a27..."} 
[2026-09-17 18:55:39] local.INFO: Packet analysis {"connection_id":188265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af89"} 
[2026-09-17 18:55:39] local.INFO: Extracted packet for processing {"connection_id":188265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af89"} 
[2026-09-17 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756670848,"raw_latitude":119540168,"longitude_deg":75.6670848,"latitude_deg":11.9540168,"altitude":49,"angle":122,"satellites":39,"speed":0,"hex_longitude":"2d19e180","hex_latitude":"072009c8","is_valid_coordinates":true} 
[2026-09-17 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150762496001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350415572402176,"note":"Value kept but may cause issues"} 
[2026-09-17 18:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864912488798734336,"note":"Value kept but may cause issues"} 
[2026-09-17 18:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789651437000,"timestamp_ms":1789651437000,"timestamp_seconds":1789651437,"priority":1,"record_length":96,"hex_timestamp":"000001a0af89c5c8"} 
[2026-09-17 18:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150762496001,"66":12461,"101":206,"83":41984,"24":0,"16":21350415572402176,"45":1864912488798734336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150762496001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:55:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350415572402176,"km_value":21350415572402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864912488798734336,"description":"Unknown IO ID 45"} 
[2026-09-17 18:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150762496001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1864912488798734336}} 
[2026-09-17 18:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":188265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:55:39] local.INFO: GPS data processed {"connection_id":188265,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:55:39] local.INFO: Acknowledgment sent {"connection_id":188265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:55:54] local.INFO: TCP Data received {"connection_id":185628,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:55:54] local.INFO: Processing buffer {"connection_id":185628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 18:55:54] local.INFO: IMEI packet received {"connection_id":185628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 18:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":185628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:56:10] local.INFO: TCP Data received {"connection_id":188265,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8a17d0012d19e180072009c80031007a23..."} 
[2026-09-17 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8a17d0012d19e180072009c80031007a23..."} 
[2026-09-17 18:56:10] local.INFO: Processing buffer {"connection_id":188265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8a17d0012d19e180072009c80031007a23..."} 
[2026-09-17 18:56:10] local.INFO: Packet analysis {"connection_id":188265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8a"} 
[2026-09-17 18:56:10] local.INFO: Extracted packet for processing {"connection_id":188265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8a"} 
[2026-09-17 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756670848,"raw_latitude":119540168,"longitude_deg":75.6670848,"latitude_deg":11.9540168,"altitude":49,"angle":122,"satellites":35,"speed":0,"hex_longitude":"2d19e180","hex_latitude":"072009c8","is_valid_coordinates":true} 
[2026-09-17 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150767872001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350415572402176,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864912488798734336,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789651458000,"timestamp_ms":1789651458000,"timestamp_seconds":1789651458,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8a17d0"} 
[2026-09-17 18:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 18:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150767872001,"66":12461,"101":206,"83":41984,"24":0,"16":21350415572402176,"45":1864912488798734336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150767872001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:56:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350415572402176,"km_value":21350415572402.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864912488798734336,"description":"Unknown IO ID 45"} 
[2026-09-17 18:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150767872001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1864912488798734336}} 
[2026-09-17 18:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":188265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:56:10] local.INFO: GPS data processed {"connection_id":188265,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:56:10] local.INFO: Acknowledgment sent {"connection_id":188265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:56:14] local.INFO: TCP Data received {"connection_id":186915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:56:14] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:56:14] local.INFO: IMEI packet received {"connection_id":186915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":186915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:56:19] local.INFO: TCP Data received {"connection_id":186915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:56:19] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:56:19] local.INFO: IMEI packet received {"connection_id":186915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":186915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:56:21] local.INFO: TCP Data received {"connection_id":186915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:56:21] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:56:21] local.INFO: Packet analysis {"connection_id":186915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:56:21] local.INFO: Extracted packet for processing {"connection_id":186915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789651299000,"timestamp_ms":1789651299000,"timestamp_seconds":1789651299,"priority":1,"record_length":96,"hex_timestamp":"000001a0af87aab8"} 
[2026-09-17 18:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655488001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655488001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":186915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:56:21] local.INFO: GPS data processed {"connection_id":186915,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:56:21] local.INFO: Acknowledgment sent {"connection_id":186915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:56:36] local.INFO: TCP Data received {"connection_id":186916,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:56:36] local.INFO: Processing buffer {"connection_id":186916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:56:36] local.INFO: IMEI packet received {"connection_id":186916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":186916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:56:40] local.INFO: TCP Data received {"connection_id":186916,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:56:40] local.INFO: Processing buffer {"connection_id":186916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:56:40] local.INFO: IMEI packet received {"connection_id":186916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":186916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:56:41] local.INFO: TCP Data received {"connection_id":186916,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8b63d8012d19cc80071ff590003400c62a..."} 
[2026-09-17 18:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8b63d8012d19cc80071ff590003400c62a..."} 
[2026-09-17 18:56:41] local.INFO: Processing buffer {"connection_id":186916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8b63d8012d19cc80071ff590003400c62a..."} 
[2026-09-17 18:56:41] local.INFO: Packet analysis {"connection_id":186916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8b"} 
[2026-09-17 18:56:41] local.INFO: Extracted packet for processing {"connection_id":186916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8b"} 
[2026-09-17 18:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119534992,"longitude_deg":75.6665472,"latitude_deg":11.9534992,"altitude":52,"angle":198,"satellites":42,"speed":15,"hex_longitude":"2d19cc80","hex_latitude":"071ff590","is_valid_coordinates":true} 
[2026-09-17 18:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150794496001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350784939589632,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358007564288,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651543000,"timestamp_ms":1789651543000,"timestamp_seconds":1789651543,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8b63d8"} 
[2026-09-17 18:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-17 18:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150794496001,"66":13515,"101":206,"83":41984,"24":15,"16":21350784939589632,"45":1859353358007564288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150794496001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:56:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350784939589632,"km_value":21350784939589.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358007564288,"description":"Unknown IO ID 45"} 
[2026-09-17 18:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150794496001,"power":13515,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1859353358007564288}} 
[2026-09-17 18:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":186916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:56:41] local.INFO: GPS data processed {"connection_id":186916,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:56:41] local.INFO: Acknowledgment sent {"connection_id":186916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:56:52] local.INFO: TCP Data received {"connection_id":186915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:56:52] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af87aab8012d34c14006aa4440000a011829..."} 
[2026-09-17 18:56:52] local.INFO: Packet analysis {"connection_id":186915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:56:52] local.INFO: Extracted packet for processing {"connection_id":186915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af87"} 
[2026-09-17 18:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150655488001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789651299000,"timestamp_ms":1789651299000,"timestamp_seconds":1789651299,"priority":1,"record_length":96,"hex_timestamp":"000001a0af87aab8"} 
[2026-09-17 18:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 18:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150655488001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150655488001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150655488001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":186915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:56:52] local.INFO: GPS data processed {"connection_id":186915,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:56:52] local.INFO: Acknowledgment sent {"connection_id":186915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:57:12] local.INFO: TCP Data received {"connection_id":186916,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8b6ba8012d19cb00071ff328003400dc2a..."} 
[2026-09-17 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8b6ba8012d19cb00071ff328003400dc2a..."} 
[2026-09-17 18:57:12] local.INFO: Processing buffer {"connection_id":186916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8b6ba8012d19cb00071ff328003400dc2a..."} 
[2026-09-17 18:57:12] local.INFO: Packet analysis {"connection_id":186916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8b"} 
[2026-09-17 18:57:12] local.INFO: Extracted packet for processing {"connection_id":186916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8b"} 
[2026-09-17 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119534376,"longitude_deg":75.6665088,"latitude_deg":11.9534376,"altitude":52,"angle":220,"satellites":42,"speed":12,"hex_longitude":"2d19cb00","hex_latitude":"071ff328","is_valid_coordinates":true} 
[2026-09-17 18:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150795008001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21350819299328000,"note":"Value kept but may cause issues"} 
[2026-09-17 18:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514286485504,"note":"Value kept but may cause issues"} 
[2026-09-17 18:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651545000,"timestamp_ms":1789651545000,"timestamp_seconds":1789651545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8b6ba8"} 
[2026-09-17 18:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-17 18:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150795008001,"66":12722,"101":206,"83":41984,"24":12,"16":21350819299328000,"45":1859001514286485504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-17 18:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150795008001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:57:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-17 18:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21350819299328000,"km_value":21350819299328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514286485504,"description":"Unknown IO ID 45"} 
[2026-09-17 18:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150795008001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1859001514286485504}} 
[2026-09-17 18:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":186916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:57:12] local.INFO: GPS data processed {"connection_id":186916,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:57:12] local.INFO: Acknowledgment sent {"connection_id":186916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:57:15] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:57:15] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:57:15] local.INFO: IMEI packet received {"connection_id":186917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":186917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:57:18] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:57:18] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:57:18] local.INFO: IMEI packet received {"connection_id":186917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":186917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:57:21] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:57:21] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:57:21] local.INFO: IMEI packet received {"connection_id":186917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":186917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:57:24] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:57:24] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:57:24] local.INFO: Packet analysis {"connection_id":186917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:57:24] local.INFO: Extracted packet for processing {"connection_id":186917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150732544001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:57:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789651600000,"timestamp_ms":1789651600000,"timestamp_seconds":1789651600,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c4280"} 
[2026-09-17 18:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 18:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150732544001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150732544001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150732544001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":186917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:57:24] local.INFO: GPS data processed {"connection_id":186917,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:57:24] local.INFO: Acknowledgment sent {"connection_id":186917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:57:35] local.INFO: TCP Data received {"connection_id":185629,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:57:35] local.INFO: Processing buffer {"connection_id":185629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:57:35] local.INFO: IMEI packet received {"connection_id":185629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":185629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:57:40] local.INFO: TCP Data received {"connection_id":185629,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:57:40] local.INFO: Processing buffer {"connection_id":185629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:57:40] local.INFO: IMEI packet received {"connection_id":185629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":185629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:57:41] local.INFO: TCP Data received {"connection_id":185629,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c2b10012d197ec0071febe8003800f92a..."} 
[2026-09-17 18:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c2b10012d197ec0071febe8003800f92a..."} 
[2026-09-17 18:57:41] local.INFO: Processing buffer {"connection_id":185629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c2b10012d197ec0071febe8003800f92a..."} 
[2026-09-17 18:57:41] local.INFO: Packet analysis {"connection_id":185629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:57:41] local.INFO: Extracted packet for processing {"connection_id":185629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756645568,"raw_latitude":119532520,"longitude_deg":75.6645568,"latitude_deg":11.953252,"altitude":56,"angle":249,"satellites":42,"speed":18,"hex_longitude":"2d197ec0","hex_latitude":"071febe8","is_valid_coordinates":true} 
[2026-09-17 18:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150807296001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351789961936896,"note":"Value kept but may cause issues"} 
[2026-09-17 18:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497811968,"note":"Value kept but may cause issues"} 
[2026-09-17 18:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651594000,"timestamp_ms":1789651594000,"timestamp_seconds":1789651594,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c2b10"} 
[2026-09-17 18:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-17 18:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150807296001,"66":12885,"102":206,"83":41984,"24":18,"16":21351789961936896,"45":1838313103497811968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150807296001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:57:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351789961936896,"km_value":21351789961936.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497811968,"description":"Unknown IO ID 45"} 
[2026-09-17 18:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150807296001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1838313103497811968}} 
[2026-09-17 18:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":185629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:57:41] local.INFO: GPS data processed {"connection_id":185629,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:57:41] local.INFO: Acknowledgment sent {"connection_id":185629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:58:12] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:58:12] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:58:12] local.INFO: Packet analysis {"connection_id":186917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:12] local.INFO: Extracted packet for processing {"connection_id":186917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150732544001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651600000,"timestamp_ms":1789651600000,"timestamp_seconds":1789651600,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c4280"} 
[2026-09-17 18:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 18:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150732544001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150732544001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:58:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150732544001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":186917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:58:12] local.INFO: GPS data processed {"connection_id":186917,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:58:12] local.INFO: Acknowledgment sent {"connection_id":186917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:58:12] local.INFO: TCP Data received {"connection_id":185629,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c32e0012d197b40071feb500038010829..."} 
[2026-09-17 18:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c32e0012d197b40071feb500038010829..."} 
[2026-09-17 18:58:12] local.INFO: Processing buffer {"connection_id":185629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c32e0012d197b40071feb500038010829..."} 
[2026-09-17 18:58:12] local.INFO: Packet analysis {"connection_id":185629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:12] local.INFO: Extracted packet for processing {"connection_id":185629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756644672,"raw_latitude":119532368,"longitude_deg":75.6644672,"latitude_deg":11.9532368,"altitude":56,"angle":264,"satellites":41,"speed":16,"hex_longitude":"2d197b40","hex_latitude":"071feb50","is_valid_coordinates":true} 
[2026-09-17 18:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150808064001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351832911609856,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837116834846599168,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651596000,"timestamp_ms":1789651596000,"timestamp_seconds":1789651596,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c32e0"} 
[2026-09-17 18:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-17 18:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150808064001,"66":13472,"102":206,"83":41984,"24":16,"16":21351832911609856,"45":1837116834846599168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150808064001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:58:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:58:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351832911609856,"km_value":21351832911609.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837116834846599168,"description":"Unknown IO ID 45"} 
[2026-09-17 18:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150808064001,"power":13472,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1837116834846599168}} 
[2026-09-17 18:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":185629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:58:12] local.INFO: GPS data processed {"connection_id":185629,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:58:12] local.INFO: Acknowledgment sent {"connection_id":185629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:58:14] local.INFO: TCP Data received {"connection_id":185478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:58:14] local.INFO: Processing buffer {"connection_id":185478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:58:14] local.INFO: IMEI packet received {"connection_id":185478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":185478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:58:19] local.INFO: TCP Data received {"connection_id":185478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:58:19] local.INFO: Processing buffer {"connection_id":185478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:58:19] local.INFO: IMEI packet received {"connection_id":185478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 18:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":185478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:58:20] local.INFO: TCP Data received {"connection_id":185478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:58:20] local.INFO: Processing buffer {"connection_id":185478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:58:20] local.INFO: Packet analysis {"connection_id":185478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:20] local.INFO: Extracted packet for processing {"connection_id":185478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150732544001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789651600000,"timestamp_ms":1789651600000,"timestamp_seconds":1789651600,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c4280"} 
[2026-09-17 18:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 18:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:58: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-09-17 18:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150732544001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150732544001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150732544001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":185478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:58:20] local.INFO: GPS data processed {"connection_id":185478,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:58:20] local.INFO: Acknowledgment sent {"connection_id":185478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:58:35] local.INFO: TCP Data received {"connection_id":185630,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:58:35] local.INFO: Processing buffer {"connection_id":185630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:58:35] local.INFO: IMEI packet received {"connection_id":185630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":185630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:58:40] local.INFO: TCP Data received {"connection_id":185630,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:58:40] local.INFO: Processing buffer {"connection_id":185630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:58:40] local.INFO: IMEI packet received {"connection_id":185630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":185630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:58:41] local.INFO: TCP Data received {"connection_id":185630,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c4280012d1974c0071febb0003901152a..."} 
[2026-09-17 18:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c4280012d1974c0071febb0003901152a..."} 
[2026-09-17 18:58:41] local.INFO: Processing buffer {"connection_id":185630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c4280012d1974c0071febb0003901152a..."} 
[2026-09-17 18:58:41] local.INFO: Packet analysis {"connection_id":185630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:41] local.INFO: Extracted packet for processing {"connection_id":185630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532464,"longitude_deg":75.6643008,"latitude_deg":11.9532464,"altitude":57,"angle":277,"satellites":42,"speed":15,"hex_longitude":"2d1974c0","hex_latitude":"071febb0","is_valid_coordinates":true} 
[2026-09-17 18:58: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-09-17 18:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150808576001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351910221021184,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836131672428072960,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651600000,"timestamp_ms":1789651600000,"timestamp_seconds":1789651600,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c4280"} 
[2026-09-17 18:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 18:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:58: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-09-17 18:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150808576001,"66":13417,"102":206,"83":41984,"24":15,"16":21351910221021184,"45":1836131672428072960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150808576001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:58:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351910221021184,"km_value":21351910221021.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836131672428072960,"description":"Unknown IO ID 45"} 
[2026-09-17 18:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150808576001,"power":13417,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1836131672428072960}} 
[2026-09-17 18:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":185630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:58:41] local.INFO: GPS data processed {"connection_id":185630,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:58:41] local.INFO: Acknowledgment sent {"connection_id":185630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:58:52] local.INFO: TCP Data received {"connection_id":185478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:58:52] local.INFO: Processing buffer {"connection_id":185478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 18:58:52] local.INFO: Packet analysis {"connection_id":185478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:52] local.INFO: Extracted packet for processing {"connection_id":185478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 18:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150732544001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 18:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 18:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789651600000,"timestamp_ms":1789651600000,"timestamp_seconds":1789651600,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c4280"} 
[2026-09-17 18:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 18:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 18:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 18:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 18:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 18:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150732544001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 18:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 18:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 18:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150732544001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 18:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150732544001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 18:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":185478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:58:52] local.INFO: GPS data processed {"connection_id":185478,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:58:52] local.INFO: Acknowledgment sent {"connection_id":185478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:59:12] local.INFO: TCP Data received {"connection_id":185630,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c5220012d196f00071fec58003a010a2b..."} 
[2026-09-17 18:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c5220012d196f00071fec58003a010a2b..."} 
[2026-09-17 18:59:12] local.INFO: Processing buffer {"connection_id":185630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c5220012d196f00071fec58003a010a2b..."} 
[2026-09-17 18:59:12] local.INFO: Packet analysis {"connection_id":185630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:59:12] local.INFO: Extracted packet for processing {"connection_id":185630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756641536,"raw_latitude":119532632,"longitude_deg":75.6641536,"latitude_deg":11.9532632,"altitude":58,"angle":266,"satellites":43,"speed":11,"hex_longitude":"2d196f00","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-09-17 18:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21351983235465216,"note":"Value kept but may cause issues"} 
[2026-09-17 18:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079478272,"note":"Value kept but may cause issues"} 
[2026-09-17 18:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651604000,"timestamp_ms":1789651604000,"timestamp_seconds":1789651604,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c5220"} 
[2026-09-17 18:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-17 18:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":13472,"102":206,"83":41984,"24":11,"16":21351983235465216,"45":1834302085079478272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:59:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21351983235465216,"km_value":21351983235465.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079478272,"description":"Unknown IO ID 45"} 
[2026-09-17 18:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":13472,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1834302085079478272}} 
[2026-09-17 18:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":185630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:59:12] local.INFO: GPS data processed {"connection_id":185630,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:59:12] local.INFO: Acknowledgment sent {"connection_id":185630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:59:40] local.INFO: TCP Data received {"connection_id":188266,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:59:40] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:59:40] local.INFO: IMEI packet received {"connection_id":188266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 18:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":188266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 18:59:45] local.INFO: TCP Data received {"connection_id":188266,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:59:45] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 18:59:45] local.INFO: IMEI packet received {"connection_id":188266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 18:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":188266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 18:59:46] local.INFO: TCP Data received {"connection_id":188266,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8ca428012d196880071fed78003b01092a..."} 
[2026-09-17 18:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8ca428012d196880071fed78003b01092a..."} 
[2026-09-17 18:59:46] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8ca428012d196880071fed78003b01092a..."} 
[2026-09-17 18:59:46] local.INFO: Packet analysis {"connection_id":188266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:59:46] local.INFO: Extracted packet for processing {"connection_id":188266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":59,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-17 18:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150810624001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 18:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832683603963435008,"note":"Value kept but may cause issues"} 
[2026-09-17 18:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789651625000,"timestamp_ms":1789651625000,"timestamp_seconds":1789651625,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8ca428"} 
[2026-09-17 18:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-17 18:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150810624001,"66":13276,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1832683603963435008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150810624001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:59:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832683603963435008,"description":"Unknown IO ID 45"} 
[2026-09-17 18:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150810624001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832683603963435008}} 
[2026-09-17 18:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":188266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:59:46] local.INFO: GPS data processed {"connection_id":188266,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:59:46] local.INFO: Acknowledgment sent {"connection_id":188266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:59:50] local.INFO: TCP Data received {"connection_id":188266,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 18:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 18:59:50] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 18:59:50] local.INFO: Packet analysis {"connection_id":188266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:59:50] local.INFO: Extracted packet for processing {"connection_id":188266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 18:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":59,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-17 18:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 18:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150816000001,"note":"Value kept but may cause issues"} 
[2026-09-17 18:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 18:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 18:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 18:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789651637000,"timestamp_ms":1789651637000,"timestamp_seconds":1789651637,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8cd308"} 
[2026-09-17 18:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 18:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-17 18:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-17 18:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 18:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 18:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 18:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 18:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 18:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 18:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 18:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 18:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 18:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150816000001,"66":13004,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 18:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 18:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 18:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150816000001,"description":"Unknown IO ID 0"} 
[2026-09-17 18:59:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 18:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 18:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 18:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 18:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150816000001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 18:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":188266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 18:59:51] local.INFO: GPS data processed {"connection_id":188266,"processed":1,"errors":0,"total":1} 
[2026-09-17 18:59:51] local.INFO: Acknowledgment sent {"connection_id":188266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 18:59:57] local.INFO: TCP Data received {"connection_id":186920,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:59:57] local.INFO: Processing buffer {"connection_id":186920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 18:59:57] local.INFO: IMEI packet received {"connection_id":186920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 18:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":186920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:00:26] local.INFO: TCP Data received {"connection_id":186921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:00:26] local.INFO: Processing buffer {"connection_id":186921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:00:26] local.INFO: IMEI packet received {"connection_id":186921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":186921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:00:33] local.INFO: TCP Data received {"connection_id":186921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:00:33] local.INFO: Processing buffer {"connection_id":186921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:00:33] local.INFO: IMEI packet received {"connection_id":186921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":186921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:00:35] local.INFO: TCP Data received {"connection_id":186921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:00:35] local.INFO: Processing buffer {"connection_id":186921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:00:35] local.INFO: Packet analysis {"connection_id":186921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:00:35] local.INFO: Extracted packet for processing {"connection_id":186921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150732544001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:00:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789651600000,"timestamp_ms":1789651600000,"timestamp_seconds":1789651600,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c4280"} 
[2026-09-17 19:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150732544001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150732544001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150732544001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":186921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:00:35] local.INFO: GPS data processed {"connection_id":186921,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:00:35] local.INFO: Acknowledgment sent {"connection_id":186921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:00:35] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:00:35] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:00:35] local.INFO: IMEI packet received {"connection_id":186922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":186922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:00:36] local.INFO: TCP Data received {"connection_id":186921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:00:36] local.INFO: Processing buffer {"connection_id":186921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:00:36] local.INFO: Packet analysis {"connection_id":186921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:00:36] local.INFO: Extracted packet for processing {"connection_id":186921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150732544001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:00:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789651600000,"timestamp_ms":1789651600000,"timestamp_seconds":1789651600,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c4280"} 
[2026-09-17 19:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150732544001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150732544001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150732544001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":186921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:00:36] local.INFO: GPS data processed {"connection_id":186921,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:00:36] local.INFO: Acknowledgment sent {"connection_id":186921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:00:40] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:00:40] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:00:40] local.INFO: IMEI packet received {"connection_id":186922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":186922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:00:41] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:00:41] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:00:41] local.INFO: Packet analysis {"connection_id":186922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:00:41] local.INFO: Extracted packet for processing {"connection_id":186922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":59,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-17 19:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651637000,"timestamp_ms":1789651637000,"timestamp_seconds":1789651637,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8cd308"} 
[2026-09-17 19:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":13004,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:00:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":186922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:00:41] local.INFO: GPS data processed {"connection_id":186922,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:00:41] local.INFO: Acknowledgment sent {"connection_id":186922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:01:12] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:01:12] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:01:12] local.INFO: Packet analysis {"connection_id":186922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:01:12] local.INFO: Extracted packet for processing {"connection_id":186922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":59,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-17 19:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651637000,"timestamp_ms":1789651637000,"timestamp_seconds":1789651637,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8cd308"} 
[2026-09-17 19:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":13004,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:01:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":186922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:01:12] local.INFO: GPS data processed {"connection_id":186922,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:01:12] local.INFO: Acknowledgment sent {"connection_id":186922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:01:14] local.INFO: TCP Data received {"connection_id":185631,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:01:14] local.INFO: Processing buffer {"connection_id":185631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:01:14] local.INFO: IMEI packet received {"connection_id":185631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":185631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:01:19] local.INFO: TCP Data received {"connection_id":188267,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:01:19] local.INFO: Processing buffer {"connection_id":188267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:01:19] local.INFO: IMEI packet received {"connection_id":188267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":188267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:01:20] local.INFO: TCP Data received {"connection_id":185631,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:01:20] local.INFO: Processing buffer {"connection_id":185631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:01:20] local.INFO: IMEI packet received {"connection_id":185631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":185631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:01:21] local.INFO: TCP Data received {"connection_id":185631,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:01:21] local.INFO: Processing buffer {"connection_id":185631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:01:21] local.INFO: Packet analysis {"connection_id":185631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:01:21] local.INFO: Extracted packet for processing {"connection_id":185631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150732544001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789651600000,"timestamp_ms":1789651600000,"timestamp_seconds":1789651600,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c4280"} 
[2026-09-17 19:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150732544001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150732544001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150732544001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":185631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:01:21] local.INFO: GPS data processed {"connection_id":185631,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:01:21] local.INFO: Acknowledgment sent {"connection_id":185631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:01:35] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:01:35] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:01:35] local.INFO: IMEI packet received {"connection_id":186923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":186923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:01:40] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:01:40] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:01:40] local.INFO: IMEI packet received {"connection_id":186923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":186923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:01:41] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:01:41] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:01:41] local.INFO: Packet analysis {"connection_id":186923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:01:41] local.INFO: Extracted packet for processing {"connection_id":186923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":59,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-17 19:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651637000,"timestamp_ms":1789651637000,"timestamp_seconds":1789651637,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8cd308"} 
[2026-09-17 19:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":13004,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:01:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":186923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:01:41] local.INFO: GPS data processed {"connection_id":186923,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:01:41] local.INFO: Acknowledgment sent {"connection_id":186923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:01:49] local.INFO: TCP Data received {"connection_id":185632,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:01:49] local.INFO: Processing buffer {"connection_id":185632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:01:49] local.INFO: IMEI packet received {"connection_id":185632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":185632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:01:53] local.INFO: TCP Data received {"connection_id":185631,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:01:53] local.INFO: Processing buffer {"connection_id":185631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8c4280012d34c14006aa4440000a011829..."} 
[2026-09-17 19:01:53] local.INFO: Packet analysis {"connection_id":185631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:01:53] local.INFO: Extracted packet for processing {"connection_id":185631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150732544001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789651600000,"timestamp_ms":1789651600000,"timestamp_seconds":1789651600,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8c4280"} 
[2026-09-17 19:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150732544001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150732544001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150732544001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":185631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:01:53] local.INFO: GPS data processed {"connection_id":185631,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:01:53] local.INFO: Acknowledgment sent {"connection_id":185631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:02:12] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:02:12] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:02:12] local.INFO: Packet analysis {"connection_id":186923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:02:12] local.INFO: Extracted packet for processing {"connection_id":186923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":59,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-17 19:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651637000,"timestamp_ms":1789651637000,"timestamp_seconds":1789651637,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8cd308"} 
[2026-09-17 19:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":13004,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:02:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":186923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:02:13] local.INFO: GPS data processed {"connection_id":186923,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:02:13] local.INFO: Acknowledgment sent {"connection_id":186923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:02:22] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:22] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:22] local.INFO: IMEI packet received {"connection_id":185633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":185633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:02:23] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:23] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:23] local.INFO: IMEI packet received {"connection_id":185633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":185633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:02:25] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:25] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:25] local.INFO: IMEI packet received {"connection_id":185633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":185633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:02:25] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:25] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:02:25] local.INFO: IMEI packet received {"connection_id":185633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":185633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:02:27] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:02:27] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:02:27] local.INFO: Packet analysis {"connection_id":185633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:02:27] local.INFO: Extracted packet for processing {"connection_id":185633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:02:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:02:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":185633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:02:27] local.INFO: GPS data processed {"connection_id":185633,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:02:27] local.INFO: Acknowledgment sent {"connection_id":185633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:02:30] local.INFO: TCP Data received {"connection_id":185633,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:02:30] local.INFO: Processing buffer {"connection_id":185633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:02:30] local.INFO: Packet analysis {"connection_id":185633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:02:30] local.INFO: Extracted packet for processing {"connection_id":185633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:02:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":185633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:02:30] local.INFO: GPS data processed {"connection_id":185633,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:02:30] local.INFO: Acknowledgment sent {"connection_id":185633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:02:36] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:02:36] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:02:36] local.INFO: IMEI packet received {"connection_id":188268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":188268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:02:40] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:02:40] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:02:40] local.INFO: IMEI packet received {"connection_id":188268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":188268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:02:41] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:02:41] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af8cd308012d196880071fed78003b01092a..."} 
[2026-09-17 19:02:41] local.INFO: Packet analysis {"connection_id":188268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:02:41] local.INFO: Extracted packet for processing {"connection_id":188268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af8c"} 
[2026-09-17 19:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":59,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-17 19:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651637000,"timestamp_ms":1789651637000,"timestamp_seconds":1789651637,"priority":1,"record_length":96,"hex_timestamp":"000001a0af8cd308"} 
[2026-09-17 19:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":13004,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:02:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":188268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:02:41] local.INFO: GPS data processed {"connection_id":188268,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:02:41] local.INFO: Acknowledgment sent {"connection_id":188268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:03:12] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:03:12] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:03:12] local.INFO: Packet analysis {"connection_id":188268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:03:12] local.INFO: Extracted packet for processing {"connection_id":188268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:03:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":188268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:03:12] local.INFO: GPS data processed {"connection_id":188268,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:03:12] local.INFO: Acknowledgment sent {"connection_id":188268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:03:16] local.INFO: TCP Data received {"connection_id":185479,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:03:16] local.INFO: Processing buffer {"connection_id":185479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:03:16] local.INFO: IMEI packet received {"connection_id":185479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":185479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:03:20] local.INFO: TCP Data received {"connection_id":185479,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:03:20] local.INFO: Processing buffer {"connection_id":185479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:03:20] local.INFO: IMEI packet received {"connection_id":185479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":185479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:03:22] local.INFO: TCP Data received {"connection_id":185479,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:03:22] local.INFO: Processing buffer {"connection_id":185479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:03:22] local.INFO: Packet analysis {"connection_id":185479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:03:22] local.INFO: Extracted packet for processing {"connection_id":185479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:03:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":185479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:03:22] local.INFO: GPS data processed {"connection_id":185479,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:03:22] local.INFO: Acknowledgment sent {"connection_id":185479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:03:25] local.INFO: TCP Data received {"connection_id":185479,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:03:25] local.INFO: Processing buffer {"connection_id":185479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:03:25] local.INFO: Packet analysis {"connection_id":185479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:03:25] local.INFO: Extracted packet for processing {"connection_id":185479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":185479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:03:25] local.INFO: GPS data processed {"connection_id":185479,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:03:25] local.INFO: Acknowledgment sent {"connection_id":185479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:03:35] local.INFO: TCP Data received {"connection_id":186925,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:03:35] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:03:35] local.INFO: IMEI packet received {"connection_id":186925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":186925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:03:40] local.INFO: TCP Data received {"connection_id":186925,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:03:40] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:03:40] local.INFO: IMEI packet received {"connection_id":186925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":186925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:03:41] local.INFO: TCP Data received {"connection_id":186925,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:03:41] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:03:41] local.INFO: Packet analysis {"connection_id":186925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:03:41] local.INFO: Extracted packet for processing {"connection_id":186925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:03:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":186925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:03:41] local.INFO: GPS data processed {"connection_id":186925,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:03:41] local.INFO: Acknowledgment sent {"connection_id":186925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:03:56] local.INFO: TCP Data received {"connection_id":185479,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:03:56] local.INFO: Processing buffer {"connection_id":185479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:03:56] local.INFO: Packet analysis {"connection_id":185479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:03:56] local.INFO: Extracted packet for processing {"connection_id":185479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:03:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":185479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:03:56] local.INFO: GPS data processed {"connection_id":185479,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:03:56] local.INFO: Acknowledgment sent {"connection_id":185479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:04:12] local.INFO: TCP Data received {"connection_id":186925,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:04:12] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:04:12] local.INFO: Packet analysis {"connection_id":186925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:04:12] local.INFO: Extracted packet for processing {"connection_id":186925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:04:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":186925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:04:12] local.INFO: GPS data processed {"connection_id":186925,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:04:12] local.INFO: Acknowledgment sent {"connection_id":186925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:04:24] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:04:24] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:04:24] local.INFO: IMEI packet received {"connection_id":186926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":186926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:04:30] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:04:30] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:04:30] local.INFO: IMEI packet received {"connection_id":186926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":186926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:04:31] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:04:31] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:04:31] local.INFO: Packet analysis {"connection_id":186926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:04:31] local.INFO: Extracted packet for processing {"connection_id":186926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":186926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:04:31] local.INFO: GPS data processed {"connection_id":186926,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:04:31] local.INFO: Acknowledgment sent {"connection_id":186926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:04:40] local.INFO: TCP Data received {"connection_id":188271,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:04:40] local.INFO: Processing buffer {"connection_id":188271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:04:40] local.INFO: IMEI packet received {"connection_id":188271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":188271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:04:45] local.INFO: TCP Data received {"connection_id":188271,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:04:45] local.INFO: Processing buffer {"connection_id":188271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:04:45] local.INFO: IMEI packet received {"connection_id":188271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":188271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:04:46] local.INFO: TCP Data received {"connection_id":188271,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:04:46] local.INFO: Processing buffer {"connection_id":188271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:04:46] local.INFO: Packet analysis {"connection_id":188271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:04:46] local.INFO: Extracted packet for processing {"connection_id":188271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:04:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":188271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:04:46] local.INFO: GPS data processed {"connection_id":188271,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:04:46] local.INFO: Acknowledgment sent {"connection_id":188271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:04:51] local.INFO: TCP Data received {"connection_id":188271,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:04:51] local.INFO: Processing buffer {"connection_id":188271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:04:51] local.INFO: Packet analysis {"connection_id":188271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:04:51] local.INFO: Extracted packet for processing {"connection_id":188271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:04:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":188271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:04:51] local.INFO: GPS data processed {"connection_id":188271,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:04:51] local.INFO: Acknowledgment sent {"connection_id":188271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:05:07] local.INFO: TCP Data received {"connection_id":185634,"ip":"66.132.172.180","data_length":243,"data_hex":"16030100ee010000ea0303ba03db75f199366ae18013215d64b8b5f2aa4f2766..."} 
[2026-09-17 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185634,"packet_length":243,"packet_hex":"16030100ee010000ea0303ba03db75f199366ae18013215d64b8b5f2aa4f2766..."} 
[2026-09-17 19:05:07] local.INFO: Processing buffer {"connection_id":185634,"buffer_length":243,"buffer_hex":"16030100ee010000ea0303ba03db75f199366ae18013215d64b8b5f2aa4f2766..."} 
[2026-09-17 19:05:07] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":185634,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea0303ba03db75f1"} 
[2026-09-17 19:05:14] local.INFO: TCP Data received {"connection_id":185483,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:05:14] local.INFO: Processing buffer {"connection_id":185483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:05:14] local.INFO: IMEI packet received {"connection_id":185483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":185483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:05:19] local.INFO: TCP Data received {"connection_id":185483,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:05:19] local.INFO: Processing buffer {"connection_id":185483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:05:19] local.INFO: IMEI packet received {"connection_id":185483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":185483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:05:21] local.INFO: TCP Data received {"connection_id":185483,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:05:21] local.INFO: Processing buffer {"connection_id":185483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:05:21] local.INFO: Packet analysis {"connection_id":185483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:05:21] local.INFO: Extracted packet for processing {"connection_id":185483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:05:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":185483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:05:21] local.INFO: GPS data processed {"connection_id":185483,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:05:21] local.INFO: Acknowledgment sent {"connection_id":185483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:05:35] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:05:35] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:05:35] local.INFO: IMEI packet received {"connection_id":186928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":186928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:05:40] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:05:40] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:05:40] local.INFO: IMEI packet received {"connection_id":186928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":186928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:05:41] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:05:41] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:05:41] local.INFO: Packet analysis {"connection_id":186928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:05:41] local.INFO: Extracted packet for processing {"connection_id":186928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:05:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":186928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:05:41] local.INFO: GPS data processed {"connection_id":186928,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:05:41] local.INFO: Acknowledgment sent {"connection_id":186928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:05:52] local.INFO: TCP Data received {"connection_id":185483,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:05:52] local.INFO: Processing buffer {"connection_id":185483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:05:52] local.INFO: Packet analysis {"connection_id":185483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:05:52] local.INFO: Extracted packet for processing {"connection_id":185483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:05:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":185483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:05:52] local.INFO: GPS data processed {"connection_id":185483,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:05:52] local.INFO: Acknowledgment sent {"connection_id":185483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:06:13] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:06:13] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:06:13] local.INFO: Packet analysis {"connection_id":186928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:06:13] local.INFO: Extracted packet for processing {"connection_id":186928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:06:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":186928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:06:13] local.INFO: GPS data processed {"connection_id":186928,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:06:13] local.INFO: Acknowledgment sent {"connection_id":186928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:06:20] local.INFO: TCP Data received {"connection_id":185636,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:06:20] local.INFO: Processing buffer {"connection_id":185636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:06:20] local.INFO: IMEI packet received {"connection_id":185636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":185636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:06:25] local.INFO: TCP Data received {"connection_id":185636,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:06:25] local.INFO: Processing buffer {"connection_id":185636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:06:25] local.INFO: IMEI packet received {"connection_id":185636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":185636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:06:26] local.INFO: TCP Data received {"connection_id":185636,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:06:26] local.INFO: Processing buffer {"connection_id":185636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:06:26] local.INFO: Packet analysis {"connection_id":185636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:06:26] local.INFO: Extracted packet for processing {"connection_id":185636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:06:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":185636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:06:26] local.INFO: GPS data processed {"connection_id":185636,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:06:26] local.INFO: Acknowledgment sent {"connection_id":185636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:06:30] local.INFO: TCP Data received {"connection_id":185636,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:06:30] local.INFO: Processing buffer {"connection_id":185636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:06:30] local.INFO: Packet analysis {"connection_id":185636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:06:30] local.INFO: Extracted packet for processing {"connection_id":185636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:06:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":185636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:06:30] local.INFO: GPS data processed {"connection_id":185636,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:06:30] local.INFO: Acknowledgment sent {"connection_id":185636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:06:35] local.INFO: TCP Data received {"connection_id":185485,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:06:35] local.INFO: Processing buffer {"connection_id":185485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:06:35] local.INFO: IMEI packet received {"connection_id":185485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":185485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:06:40] local.INFO: TCP Data received {"connection_id":185485,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:06:40] local.INFO: Processing buffer {"connection_id":185485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:06:40] local.INFO: IMEI packet received {"connection_id":185485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":185485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:06:41] local.INFO: TCP Data received {"connection_id":185485,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:06:41] local.INFO: Processing buffer {"connection_id":185485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:06:41] local.INFO: Packet analysis {"connection_id":185485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:06:41] local.INFO: Extracted packet for processing {"connection_id":185485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:06:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":185485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:06:41] local.INFO: GPS data processed {"connection_id":185485,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:06:41] local.INFO: Acknowledgment sent {"connection_id":185485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:07:12] local.INFO: TCP Data received {"connection_id":185485,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:07:12] local.INFO: Processing buffer {"connection_id":185485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:07:12] local.INFO: Packet analysis {"connection_id":185485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:07:12] local.INFO: Extracted packet for processing {"connection_id":185485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:07:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":185485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:07:12] local.INFO: GPS data processed {"connection_id":185485,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:07:12] local.INFO: Acknowledgment sent {"connection_id":185485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:07:14] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:07:14] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:07:14] local.INFO: IMEI packet received {"connection_id":186929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":186929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:07:15] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:07:15] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:07:15] local.INFO: IMEI packet received {"connection_id":188272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":188272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:07:20] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:07:20] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:07:20] local.INFO: IMEI packet received {"connection_id":188272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":188272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:07:21] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:07:21] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af90da48012d34c14006aa4440000a011827..."} 
[2026-09-17 19:07:21] local.INFO: Packet analysis {"connection_id":188272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:07:21] local.INFO: Extracted packet for processing {"connection_id":188272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af90"} 
[2026-09-17 19:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150809600001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789651901000,"timestamp_ms":1789651901000,"timestamp_seconds":1789651901,"priority":1,"record_length":96,"hex_timestamp":"000001a0af90da48"} 
[2026-09-17 19:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150809600001,"66":25615,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150809600001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150809600001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":188272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:07:21] local.INFO: GPS data processed {"connection_id":188272,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:07:21] local.INFO: Acknowledgment sent {"connection_id":188272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:07:35] local.INFO: TCP Data received {"connection_id":186930,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:07:35] local.INFO: Processing buffer {"connection_id":186930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:07:35] local.INFO: IMEI packet received {"connection_id":186930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":186930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:07:40] local.INFO: TCP Data received {"connection_id":186930,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:07:40] local.INFO: Processing buffer {"connection_id":186930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:07:40] local.INFO: IMEI packet received {"connection_id":186930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":186930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:07:41] local.INFO: TCP Data received {"connection_id":186930,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:07:41] local.INFO: Processing buffer {"connection_id":186930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af917e58012d196580071fef78003c01092c..."} 
[2026-09-17 19:07:41] local.INFO: Packet analysis {"connection_id":186930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:07:41] local.INFO: Extracted packet for processing {"connection_id":186930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af91"} 
[2026-09-17 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150819072001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789651943000,"timestamp_ms":1789651943000,"timestamp_seconds":1789651943,"priority":1,"record_length":96,"hex_timestamp":"000001a0af917e58"} 
[2026-09-17 19:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-17 19:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150819072001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830854016614889472},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150819072001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:07:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-09-17 19:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150819072001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-09-17 19:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":186930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:07:41] local.INFO: GPS data processed {"connection_id":186930,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:07:41] local.INFO: Acknowledgment sent {"connection_id":186930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:07:53] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:07:53] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:07:53] local.INFO: Packet analysis {"connection_id":188272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:07:53] local.INFO: Extracted packet for processing {"connection_id":188272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":188272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:07:53] local.INFO: GPS data processed {"connection_id":188272,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:07:53] local.INFO: Acknowledgment sent {"connection_id":188272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:08:04] local.INFO: TCP Data received {"connection_id":186931,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:08:04] local.INFO: Processing buffer {"connection_id":186931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:08:04] local.INFO: IMEI packet received {"connection_id":186931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":186931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:08:12] local.INFO: TCP Data received {"connection_id":186930,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:08:12] local.INFO: Processing buffer {"connection_id":186930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:08:12] local.INFO: Packet analysis {"connection_id":186930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:08:12] local.INFO: Extracted packet for processing {"connection_id":186930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:08:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:08:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":186930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:08:12] local.INFO: GPS data processed {"connection_id":186930,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:08:12] local.INFO: Acknowledgment sent {"connection_id":186930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:08:14] local.INFO: TCP Data received {"connection_id":185486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:08:14] local.INFO: Processing buffer {"connection_id":185486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:08:14] local.INFO: IMEI packet received {"connection_id":185486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":185486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:08:20] local.INFO: TCP Data received {"connection_id":185486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:08:20] local.INFO: Processing buffer {"connection_id":185486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:08:20] local.INFO: IMEI packet received {"connection_id":185486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":185486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:08:21] local.INFO: TCP Data received {"connection_id":185486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:08:21] local.INFO: Processing buffer {"connection_id":185486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:08:21] local.INFO: Packet analysis {"connection_id":185486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:08:21] local.INFO: Extracted packet for processing {"connection_id":185486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":185486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:08:21] local.INFO: GPS data processed {"connection_id":185486,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:08:21] local.INFO: Acknowledgment sent {"connection_id":185486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:08:35] local.INFO: TCP Data received {"connection_id":186932,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:08:35] local.INFO: Processing buffer {"connection_id":186932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:08:35] local.INFO: IMEI packet received {"connection_id":186932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":186932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:08:40] local.INFO: TCP Data received {"connection_id":186932,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:08:40] local.INFO: Processing buffer {"connection_id":186932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:08:40] local.INFO: IMEI packet received {"connection_id":186932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":186932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:08:41] local.INFO: TCP Data received {"connection_id":186932,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:08:41] local.INFO: Processing buffer {"connection_id":186932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:08:41] local.INFO: Packet analysis {"connection_id":186932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:08:41] local.INFO: Extracted packet for processing {"connection_id":186932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:08:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":186932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:08:41] local.INFO: GPS data processed {"connection_id":186932,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:08:41] local.INFO: Acknowledgment sent {"connection_id":186932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:08:52] local.INFO: TCP Data received {"connection_id":185486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:08:52] local.INFO: Processing buffer {"connection_id":185486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:08:52] local.INFO: Packet analysis {"connection_id":185486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:08:52] local.INFO: Extracted packet for processing {"connection_id":185486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":185486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:08:52] local.INFO: GPS data processed {"connection_id":185486,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:08:52] local.INFO: Acknowledgment sent {"connection_id":185486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:09:12] local.INFO: TCP Data received {"connection_id":186932,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:09:12] local.INFO: Processing buffer {"connection_id":186932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:09:12] local.INFO: Packet analysis {"connection_id":186932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:09:12] local.INFO: Extracted packet for processing {"connection_id":186932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:09:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":186932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:09:12] local.INFO: GPS data processed {"connection_id":186932,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:09:12] local.INFO: Acknowledgment sent {"connection_id":186932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:09:20] local.INFO: TCP Data received {"connection_id":185637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:09:20] local.INFO: Processing buffer {"connection_id":185637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:09:20] local.INFO: IMEI packet received {"connection_id":185637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":185637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:09:25] local.INFO: TCP Data received {"connection_id":185637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:09:25] local.INFO: Processing buffer {"connection_id":185637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:09:25] local.INFO: IMEI packet received {"connection_id":185637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":185637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:09:26] local.INFO: TCP Data received {"connection_id":185637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:09:26] local.INFO: Processing buffer {"connection_id":185637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:09:26] local.INFO: Packet analysis {"connection_id":185637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:09:26] local.INFO: Extracted packet for processing {"connection_id":185637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:09:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":185637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:09:26] local.INFO: GPS data processed {"connection_id":185637,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:09:26] local.INFO: Acknowledgment sent {"connection_id":185637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:09:30] local.INFO: TCP Data received {"connection_id":185637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:09:30] local.INFO: Processing buffer {"connection_id":185637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:09:30] local.INFO: Packet analysis {"connection_id":185637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:09:30] local.INFO: Extracted packet for processing {"connection_id":185637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:09:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":185637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:09:30] local.INFO: GPS data processed {"connection_id":185637,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:09:30] local.INFO: Acknowledgment sent {"connection_id":185637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:09:40] local.INFO: TCP Data received {"connection_id":185487,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:09:40] local.INFO: Processing buffer {"connection_id":185487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:09:40] local.INFO: IMEI packet received {"connection_id":185487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":185487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:09:45] local.INFO: TCP Data received {"connection_id":185487,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:09:45] local.INFO: Processing buffer {"connection_id":185487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:09:45] local.INFO: IMEI packet received {"connection_id":185487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":185487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:09:46] local.INFO: TCP Data received {"connection_id":185487,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:09:46] local.INFO: Processing buffer {"connection_id":185487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:09:46] local.INFO: Packet analysis {"connection_id":185487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:09:46] local.INFO: Extracted packet for processing {"connection_id":185487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:09:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":185487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:09:46] local.INFO: GPS data processed {"connection_id":185487,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:09:46] local.INFO: Acknowledgment sent {"connection_id":185487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:09:51] local.INFO: TCP Data received {"connection_id":185487,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:09:51] local.INFO: Processing buffer {"connection_id":185487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:09:51] local.INFO: Packet analysis {"connection_id":185487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:09:51] local.INFO: Extracted packet for processing {"connection_id":185487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:09:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":185487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:09:51] local.INFO: GPS data processed {"connection_id":185487,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:09:51] local.INFO: Acknowledgment sent {"connection_id":185487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:10:14] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:10:14] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:10:14] local.INFO: IMEI packet received {"connection_id":186935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":186935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:10:19] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:10:19] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:10:19] local.INFO: IMEI packet received {"connection_id":186935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":186935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:10:20] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:10:20] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:10:20] local.INFO: Packet analysis {"connection_id":186935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:10:20] local.INFO: Extracted packet for processing {"connection_id":186935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:10:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:10: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-09-17 19:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":186935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:10:20] local.INFO: GPS data processed {"connection_id":186935,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:10:20] local.INFO: Acknowledgment sent {"connection_id":186935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:10:35] local.INFO: TCP Data received {"connection_id":185488,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:10:35] local.INFO: Processing buffer {"connection_id":185488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:10:35] local.INFO: IMEI packet received {"connection_id":185488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":185488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:10:40] local.INFO: TCP Data received {"connection_id":185488,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:10:40] local.INFO: Processing buffer {"connection_id":185488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:10:40] local.INFO: IMEI packet received {"connection_id":185488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":185488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:10:41] local.INFO: TCP Data received {"connection_id":185488,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:10:41] local.INFO: Processing buffer {"connection_id":185488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:10:41] local.INFO: Packet analysis {"connection_id":185488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:10:41] local.INFO: Extracted packet for processing {"connection_id":185488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:10:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":185488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:10:41] local.INFO: GPS data processed {"connection_id":185488,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:10:41] local.INFO: Acknowledgment sent {"connection_id":185488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:10:52] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:10:52] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:10:52] local.INFO: Packet analysis {"connection_id":186935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:10:52] local.INFO: Extracted packet for processing {"connection_id":186935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:10:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":186935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:10:52] local.INFO: GPS data processed {"connection_id":186935,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:10:52] local.INFO: Acknowledgment sent {"connection_id":186935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:11:12] local.INFO: TCP Data received {"connection_id":185488,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:11:12] local.INFO: Processing buffer {"connection_id":185488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:11:12] local.INFO: Packet analysis {"connection_id":185488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:11:12] local.INFO: Extracted packet for processing {"connection_id":185488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:11:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:11:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":185488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:11:12] local.INFO: GPS data processed {"connection_id":185488,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:11:12] local.INFO: Acknowledgment sent {"connection_id":185488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:11:14] local.INFO: TCP Data received {"connection_id":185638,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:11:14] local.INFO: Processing buffer {"connection_id":185638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:11:14] local.INFO: IMEI packet received {"connection_id":185638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":185638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:11:19] local.INFO: TCP Data received {"connection_id":185638,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:11:19] local.INFO: Processing buffer {"connection_id":185638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:11:19] local.INFO: IMEI packet received {"connection_id":185638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":185638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:11:20] local.INFO: TCP Data received {"connection_id":185638,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:11:20] local.INFO: Processing buffer {"connection_id":185638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:11:20] local.INFO: Packet analysis {"connection_id":185638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:11:20] local.INFO: Extracted packet for processing {"connection_id":185638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":185638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:11:20] local.INFO: GPS data processed {"connection_id":185638,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:11:20] local.INFO: Acknowledgment sent {"connection_id":185638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:11:35] local.INFO: TCP Data received {"connection_id":185490,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:11:35] local.INFO: Processing buffer {"connection_id":185490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:11:35] local.INFO: IMEI packet received {"connection_id":185490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":185490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:11:40] local.INFO: TCP Data received {"connection_id":185490,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:11:40] local.INFO: Processing buffer {"connection_id":185490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:11:40] local.INFO: IMEI packet received {"connection_id":185490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":185490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:11:41] local.INFO: TCP Data received {"connection_id":185490,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:11:41] local.INFO: Processing buffer {"connection_id":185490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:11:41] local.INFO: Packet analysis {"connection_id":185490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:11:41] local.INFO: Extracted packet for processing {"connection_id":185490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:11:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:11:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":185490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:11:41] local.INFO: GPS data processed {"connection_id":185490,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:11:41] local.INFO: Acknowledgment sent {"connection_id":185490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:11:52] local.INFO: TCP Data received {"connection_id":185638,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:11:52] local.INFO: Processing buffer {"connection_id":185638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:11:52] local.INFO: Packet analysis {"connection_id":185638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:11:52] local.INFO: Extracted packet for processing {"connection_id":185638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":185638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:11:52] local.INFO: GPS data processed {"connection_id":185638,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:11:52] local.INFO: Acknowledgment sent {"connection_id":185638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:12:12] local.INFO: TCP Data received {"connection_id":185490,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:12:12] local.INFO: Processing buffer {"connection_id":185490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:12:12] local.INFO: Packet analysis {"connection_id":185490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:12:12] local.INFO: Extracted packet for processing {"connection_id":185490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:12:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":185490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:12:12] local.INFO: GPS data processed {"connection_id":185490,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:12:12] local.INFO: Acknowledgment sent {"connection_id":185490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:12:14] local.INFO: TCP Data received {"connection_id":186937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:12:14] local.INFO: Processing buffer {"connection_id":186937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:12:14] local.INFO: IMEI packet received {"connection_id":186937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":186937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:12:19] local.INFO: TCP Data received {"connection_id":186937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:12:19] local.INFO: Processing buffer {"connection_id":186937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:12:19] local.INFO: IMEI packet received {"connection_id":186937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":186937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:12:21] local.INFO: TCP Data received {"connection_id":186937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:12:21] local.INFO: Processing buffer {"connection_id":186937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af957210012d34c14006aa4440000a011829..."} 
[2026-09-17 19:12:21] local.INFO: Packet analysis {"connection_id":186937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:12:21] local.INFO: Extracted packet for processing {"connection_id":186937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af95"} 
[2026-09-17 19:12:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150886656001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789652202000,"timestamp_ms":1789652202000,"timestamp_seconds":1789652202,"priority":1,"record_length":96,"hex_timestamp":"000001a0af957210"} 
[2026-09-17 19:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-17 19:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150886656001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150886656001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:12:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150886656001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":186937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:12:21] local.INFO: GPS data processed {"connection_id":186937,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:12:21] local.INFO: Acknowledgment sent {"connection_id":186937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:12:35] local.INFO: TCP Data received {"connection_id":185639,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:12:35] local.INFO: Processing buffer {"connection_id":185639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:12:35] local.INFO: IMEI packet received {"connection_id":185639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":185639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:12:40] local.INFO: TCP Data received {"connection_id":185639,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:12:40] local.INFO: Processing buffer {"connection_id":185639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:12:40] local.INFO: IMEI packet received {"connection_id":185639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":185639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:12:41] local.INFO: TCP Data received {"connection_id":185639,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:12:41] local.INFO: Processing buffer {"connection_id":185639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af961620012d196580071fef78003c01092c..."} 
[2026-09-17 19:12:41] local.INFO: Packet analysis {"connection_id":185639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:12:41] local.INFO: Extracted packet for processing {"connection_id":185639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af96"} 
[2026-09-17 19:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150897408001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652244000,"timestamp_ms":1789652244000,"timestamp_seconds":1789652244,"priority":1,"record_length":96,"hex_timestamp":"000001a0af961620"} 
[2026-09-17 19:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150897408001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150897408001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:12:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150897408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":185639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:12:41] local.INFO: GPS data processed {"connection_id":185639,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:12:41] local.INFO: Acknowledgment sent {"connection_id":185639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:12:52] local.INFO: TCP Data received {"connection_id":186937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:12:52] local.INFO: Processing buffer {"connection_id":186937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:12:52] local.INFO: Packet analysis {"connection_id":186937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:12:52] local.INFO: Extracted packet for processing {"connection_id":186937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150963712001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789652503000,"timestamp_ms":1789652503000,"timestamp_seconds":1789652503,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9a09d8"} 
[2026-09-17 19:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150963712001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150963712001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150963712001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":186937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:12:52] local.INFO: GPS data processed {"connection_id":186937,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:12:52] local.INFO: Acknowledgment sent {"connection_id":186937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:13:12] local.INFO: TCP Data received {"connection_id":185639,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:13:12] local.INFO: Processing buffer {"connection_id":185639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:13:12] local.INFO: Packet analysis {"connection_id":185639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:13:12] local.INFO: Extracted packet for processing {"connection_id":185639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:13:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":185639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:13:12] local.INFO: GPS data processed {"connection_id":185639,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:13:12] local.INFO: Acknowledgment sent {"connection_id":185639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:13:14] local.INFO: TCP Data received {"connection_id":186938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:13:14] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:13:14] local.INFO: IMEI packet received {"connection_id":186938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:13:19] local.INFO: TCP Data received {"connection_id":186938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:13:19] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:13:19] local.INFO: IMEI packet received {"connection_id":186938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":186938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:13:20] local.INFO: TCP Data received {"connection_id":186938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:13:20] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:13:20] local.INFO: Packet analysis {"connection_id":186938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:13:20] local.INFO: Extracted packet for processing {"connection_id":186938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150963712001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789652503000,"timestamp_ms":1789652503000,"timestamp_seconds":1789652503,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9a09d8"} 
[2026-09-17 19:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150963712001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150963712001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150963712001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":186938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:13:20] local.INFO: GPS data processed {"connection_id":186938,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:13:20] local.INFO: Acknowledgment sent {"connection_id":186938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:13:29] local.INFO: TCP Data received {"connection_id":188273,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:13:29] local.INFO: Processing buffer {"connection_id":188273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:13:29] local.INFO: IMEI packet received {"connection_id":188273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":188273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:13:35] local.INFO: TCP Data received {"connection_id":185640,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:13:35] local.INFO: Processing buffer {"connection_id":185640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:13:35] local.INFO: IMEI packet received {"connection_id":185640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":185640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:13:40] local.INFO: TCP Data received {"connection_id":185640,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:13:40] local.INFO: Processing buffer {"connection_id":185640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:13:40] local.INFO: IMEI packet received {"connection_id":185640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":185640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:13:41] local.INFO: TCP Data received {"connection_id":185640,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:13:41] local.INFO: Processing buffer {"connection_id":185640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:13:41] local.INFO: Packet analysis {"connection_id":185640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:13:41] local.INFO: Extracted packet for processing {"connection_id":185640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:13:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":185640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:13:41] local.INFO: GPS data processed {"connection_id":185640,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:13:41] local.INFO: Acknowledgment sent {"connection_id":185640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:13:49] local.INFO: TCP Data received {"connection_id":185491,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:13:49] local.INFO: Processing buffer {"connection_id":185491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:13:49] local.INFO: IMEI packet received {"connection_id":185491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":185491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:13:52] local.INFO: TCP Data received {"connection_id":186938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:13:52] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:13:52] local.INFO: Packet analysis {"connection_id":186938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:13:52] local.INFO: Extracted packet for processing {"connection_id":186938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150963712001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789652503000,"timestamp_ms":1789652503000,"timestamp_seconds":1789652503,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9a09d8"} 
[2026-09-17 19:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150963712001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150963712001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150963712001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":186938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:13:52] local.INFO: GPS data processed {"connection_id":186938,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:13:52] local.INFO: Acknowledgment sent {"connection_id":186938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:14:12] local.INFO: TCP Data received {"connection_id":185640,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:14:12] local.INFO: Processing buffer {"connection_id":185640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:14:12] local.INFO: Packet analysis {"connection_id":185640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:12] local.INFO: Extracted packet for processing {"connection_id":185640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:14:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":185640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:14:12] local.INFO: GPS data processed {"connection_id":185640,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:14:12] local.INFO: Acknowledgment sent {"connection_id":185640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:14:14] local.INFO: TCP Data received {"connection_id":185641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:14:14] local.INFO: Processing buffer {"connection_id":185641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:14:14] local.INFO: IMEI packet received {"connection_id":185641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":185641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:14:19] local.INFO: TCP Data received {"connection_id":185641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:14:19] local.INFO: Processing buffer {"connection_id":185641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:14:19] local.INFO: IMEI packet received {"connection_id":185641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":185641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:14:20] local.INFO: TCP Data received {"connection_id":185641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:14:20] local.INFO: Processing buffer {"connection_id":185641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:14:20] local.INFO: Packet analysis {"connection_id":185641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:20] local.INFO: Extracted packet for processing {"connection_id":185641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150963712001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789652503000,"timestamp_ms":1789652503000,"timestamp_seconds":1789652503,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9a09d8"} 
[2026-09-17 19:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150963712001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150963712001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150963712001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":185641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:14:20] local.INFO: GPS data processed {"connection_id":185641,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:14:20] local.INFO: Acknowledgment sent {"connection_id":185641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:14:40] local.INFO: TCP Data received {"connection_id":185492,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:14:40] local.INFO: Processing buffer {"connection_id":185492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:14:40] local.INFO: IMEI packet received {"connection_id":185492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":185492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:14:41] local.INFO: TCP Data received {"connection_id":188274,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188274,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 19:14:41] local.INFO: Processing buffer {"connection_id":188274,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 19:14:41] local.INFO: Packet analysis {"connection_id":188274,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 19:14:41] local.INFO: Extracted packet for processing {"connection_id":188274,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 19:14:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 19:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 19:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:41] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 19:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 19:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 19:14:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188274,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 19:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188274,"device_imei":null,"avl_records_count":1} 
[2026-09-17 19:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188274,"device_imei":null,"avl_records_count":1} 
[2026-09-17 19:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":188274,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 19:14:41] local.INFO: GPS data processed {"connection_id":188274,"processed":0,"errors":0,"total":1} 
[2026-09-17 19:14:41] local.INFO: Acknowledgment sent {"connection_id":188274,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:14:43] local.INFO: TCP Data received {"connection_id":185642,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 19:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185642,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 19:14:43] local.INFO: Processing buffer {"connection_id":185642,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-17 19:14:43] local.INFO: Packet analysis {"connection_id":185642,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 19:14:43] local.INFO: Extracted packet for processing {"connection_id":185642,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-17 19:14:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-17 19:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-17 19:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:43] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-17 19:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-17 19:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-17 19:14:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":185642,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-17 19:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":185642,"device_imei":null,"avl_records_count":1} 
[2026-09-17 19:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":185642,"device_imei":null,"avl_records_count":1} 
[2026-09-17 19:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":185642,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-17 19:14:43] local.INFO: GPS data processed {"connection_id":185642,"processed":0,"errors":0,"total":1} 
[2026-09-17 19:14:43] local.INFO: Acknowledgment sent {"connection_id":185642,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:14:45] local.INFO: TCP Data received {"connection_id":185492,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:14:45] local.INFO: Processing buffer {"connection_id":185492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:14:45] local.INFO: IMEI packet received {"connection_id":185492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":185492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:14:46] local.INFO: TCP Data received {"connection_id":185492,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:14:46] local.INFO: Processing buffer {"connection_id":185492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:14:46] local.INFO: Packet analysis {"connection_id":185492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:46] local.INFO: Extracted packet for processing {"connection_id":185492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:14:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":185492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:14:46] local.INFO: GPS data processed {"connection_id":185492,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:14:46] local.INFO: Acknowledgment sent {"connection_id":185492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:14:51] local.INFO: TCP Data received {"connection_id":185492,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:14:51] local.INFO: Processing buffer {"connection_id":185492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:14:51] local.INFO: Packet analysis {"connection_id":185492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:51] local.INFO: Extracted packet for processing {"connection_id":185492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:14:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":185492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:14:51] local.INFO: GPS data processed {"connection_id":185492,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:14:51] local.INFO: Acknowledgment sent {"connection_id":185492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:14:51] local.INFO: TCP Data received {"connection_id":185641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:14:51] local.INFO: Processing buffer {"connection_id":185641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:14:51] local.INFO: Packet analysis {"connection_id":185641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:51] local.INFO: Extracted packet for processing {"connection_id":185641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150963712001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789652503000,"timestamp_ms":1789652503000,"timestamp_seconds":1789652503,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9a09d8"} 
[2026-09-17 19:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150963712001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150963712001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150963712001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":185641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:14:51] local.INFO: GPS data processed {"connection_id":185641,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:14:51] local.INFO: Acknowledgment sent {"connection_id":185641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:15:14] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:15:14] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:15:14] local.INFO: IMEI packet received {"connection_id":186940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":186940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:15:19] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:15:19] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:15:19] local.INFO: IMEI packet received {"connection_id":186940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":186940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:15:20] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:15:20] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:15:20] local.INFO: Packet analysis {"connection_id":186940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:15:20] local.INFO: Extracted packet for processing {"connection_id":186940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150963712001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789652503000,"timestamp_ms":1789652503000,"timestamp_seconds":1789652503,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9a09d8"} 
[2026-09-17 19:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:15: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-09-17 19:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150963712001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150963712001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150963712001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":186940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:15:20] local.INFO: GPS data processed {"connection_id":186940,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:15:20] local.INFO: Acknowledgment sent {"connection_id":186940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:15:35] local.INFO: TCP Data received {"connection_id":185643,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:15:35] local.INFO: Processing buffer {"connection_id":185643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:15:35] local.INFO: IMEI packet received {"connection_id":185643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":185643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:15:40] local.INFO: TCP Data received {"connection_id":185643,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:15:40] local.INFO: Processing buffer {"connection_id":185643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:15:40] local.INFO: IMEI packet received {"connection_id":185643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":185643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:15:41] local.INFO: TCP Data received {"connection_id":185643,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:15:41] local.INFO: Processing buffer {"connection_id":185643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:15:41] local.INFO: Packet analysis {"connection_id":185643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:15:41] local.INFO: Extracted packet for processing {"connection_id":185643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:15:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":185643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:15:41] local.INFO: GPS data processed {"connection_id":185643,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:15:41] local.INFO: Acknowledgment sent {"connection_id":185643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:16:06] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:16:06] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:16:06] local.INFO: Packet analysis {"connection_id":186940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:06] local.INFO: Extracted packet for processing {"connection_id":186940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150963712001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789652503000,"timestamp_ms":1789652503000,"timestamp_seconds":1789652503,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9a09d8"} 
[2026-09-17 19:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150963712001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150963712001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150963712001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":186940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:16:06] local.INFO: GPS data processed {"connection_id":186940,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:16:06] local.INFO: Acknowledgment sent {"connection_id":186940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:16:12] local.INFO: TCP Data received {"connection_id":185643,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:16:12] local.INFO: Processing buffer {"connection_id":185643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:16:12] local.INFO: Packet analysis {"connection_id":185643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:12] local.INFO: Extracted packet for processing {"connection_id":185643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:16:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":185643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:16:12] local.INFO: GPS data processed {"connection_id":185643,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:16:12] local.INFO: Acknowledgment sent {"connection_id":185643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:16:14] local.INFO: TCP Data received {"connection_id":185494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:16:14] local.INFO: Processing buffer {"connection_id":185494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:16:14] local.INFO: IMEI packet received {"connection_id":185494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":185494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:16:22] local.INFO: TCP Data received {"connection_id":185494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:16:22] local.INFO: Processing buffer {"connection_id":185494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:16:22] local.INFO: IMEI packet received {"connection_id":185494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":185494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:16:23] local.INFO: TCP Data received {"connection_id":185494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:16:23] local.INFO: Processing buffer {"connection_id":185494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:16:23] local.INFO: Packet analysis {"connection_id":185494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:23] local.INFO: Extracted packet for processing {"connection_id":185494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150963712001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789652503000,"timestamp_ms":1789652503000,"timestamp_seconds":1789652503,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9a09d8"} 
[2026-09-17 19:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":185494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":185494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":185494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150963712001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150963712001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150963712001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":185494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:16:23] local.INFO: GPS data processed {"connection_id":185494,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:16:23] local.INFO: Acknowledgment sent {"connection_id":185494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:16:35] local.INFO: TCP Data received {"connection_id":186941,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:16:35] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:16:35] local.INFO: IMEI packet received {"connection_id":186941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":186941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:16:40] local.INFO: TCP Data received {"connection_id":186941,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:16:40] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:16:40] local.INFO: IMEI packet received {"connection_id":186941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":186941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:16:41] local.INFO: TCP Data received {"connection_id":186941,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:16:41] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:16:41] local.INFO: Packet analysis {"connection_id":186941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:41] local.INFO: Extracted packet for processing {"connection_id":186941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:16:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":186941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:16:41] local.INFO: GPS data processed {"connection_id":186941,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:16:41] local.INFO: Acknowledgment sent {"connection_id":186941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:16:55] local.INFO: TCP Data received {"connection_id":185494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:16:55] local.INFO: Processing buffer {"connection_id":185494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9a09d8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:16:55] local.INFO: Packet analysis {"connection_id":185494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:55] local.INFO: Extracted packet for processing {"connection_id":185494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150963712001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789652503000,"timestamp_ms":1789652503000,"timestamp_seconds":1789652503,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9a09d8"} 
[2026-09-17 19:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150963712001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150963712001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:16:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150963712001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":185494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:16:55] local.INFO: GPS data processed {"connection_id":185494,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:16:55] local.INFO: Acknowledgment sent {"connection_id":185494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:17:12] local.INFO: TCP Data received {"connection_id":186941,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:17:12] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:17:12] local.INFO: Packet analysis {"connection_id":186941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:17:12] local.INFO: Extracted packet for processing {"connection_id":186941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:17:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:17:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":186941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:17:12] local.INFO: GPS data processed {"connection_id":186941,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:17:12] local.INFO: Acknowledgment sent {"connection_id":186941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:17:19] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:17:19] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:17:19] local.INFO: IMEI packet received {"connection_id":188275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":188275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:17:22] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:17:22] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:17:22] local.INFO: IMEI packet received {"connection_id":188275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":188275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:17:23] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:17:23] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:17:23] local.INFO: Packet analysis {"connection_id":188275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:17:23] local.INFO: Extracted packet for processing {"connection_id":188275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":188275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:17:23] local.INFO: GPS data processed {"connection_id":188275,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:17:23] local.INFO: Acknowledgment sent {"connection_id":188275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:17:25] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:17:25] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:17:25] local.INFO: Packet analysis {"connection_id":188275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:17:25] local.INFO: Extracted packet for processing {"connection_id":188275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":188275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:17:25] local.INFO: GPS data processed {"connection_id":188275,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:17:25] local.INFO: Acknowledgment sent {"connection_id":188275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:17:35] local.INFO: TCP Data received {"connection_id":185644,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:17:35] local.INFO: Processing buffer {"connection_id":185644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:17:35] local.INFO: IMEI packet received {"connection_id":185644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":185644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:17:40] local.INFO: TCP Data received {"connection_id":185644,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:17:40] local.INFO: Processing buffer {"connection_id":185644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:17:40] local.INFO: IMEI packet received {"connection_id":185644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":185644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:17:41] local.INFO: TCP Data received {"connection_id":185644,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:17:41] local.INFO: Processing buffer {"connection_id":185644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9aade8012d196580071fef78003c01092d..."} 
[2026-09-17 19:17:41] local.INFO: Packet analysis {"connection_id":185644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:17:41] local.INFO: Extracted packet for processing {"connection_id":185644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9a"} 
[2026-09-17 19:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458150974464001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652545000,"timestamp_ms":1789652545000,"timestamp_seconds":1789652545,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9aade8"} 
[2026-09-17 19:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458150974464001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458150974464001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:17:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458150974464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":185644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:17:41] local.INFO: GPS data processed {"connection_id":185644,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:17:41] local.INFO: Acknowledgment sent {"connection_id":185644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:17:56] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:17:56] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:17:56] local.INFO: Packet analysis {"connection_id":188275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:17:56] local.INFO: Extracted packet for processing {"connection_id":188275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:17:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:17:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":188275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:17:56] local.INFO: GPS data processed {"connection_id":188275,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:17:56] local.INFO: Acknowledgment sent {"connection_id":188275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:18:12] local.INFO: TCP Data received {"connection_id":185644,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:18:12] local.INFO: Processing buffer {"connection_id":185644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:18:12] local.INFO: Packet analysis {"connection_id":185644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:18:12] local.INFO: Extracted packet for processing {"connection_id":185644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:18:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":185644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:18:12] local.INFO: GPS data processed {"connection_id":185644,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:18:12] local.INFO: Acknowledgment sent {"connection_id":185644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:18:24] local.INFO: TCP Data received {"connection_id":185496,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:18:24] local.INFO: Processing buffer {"connection_id":185496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:18:24] local.INFO: IMEI packet received {"connection_id":185496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":185496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:18:29] local.INFO: TCP Data received {"connection_id":185496,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:18:29] local.INFO: Processing buffer {"connection_id":185496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:18:29] local.INFO: IMEI packet received {"connection_id":185496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":185496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:18:30] local.INFO: TCP Data received {"connection_id":185496,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:18:30] local.INFO: Processing buffer {"connection_id":185496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:18:30] local.INFO: Packet analysis {"connection_id":185496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:18:30] local.INFO: Extracted packet for processing {"connection_id":185496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:18:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:18:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":185496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:18:30] local.INFO: GPS data processed {"connection_id":185496,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:18:30] local.INFO: Acknowledgment sent {"connection_id":185496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:18:35] local.INFO: TCP Data received {"connection_id":186942,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:18:35] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:18:35] local.INFO: IMEI packet received {"connection_id":186942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":186942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:18:40] local.INFO: TCP Data received {"connection_id":186942,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:18:40] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:18:40] local.INFO: IMEI packet received {"connection_id":186942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":186942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:18:41] local.INFO: TCP Data received {"connection_id":186942,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:18:41] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:18:41] local.INFO: Packet analysis {"connection_id":186942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:18:41] local.INFO: Extracted packet for processing {"connection_id":186942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:18:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":186942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:18:41] local.INFO: GPS data processed {"connection_id":186942,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:18:41] local.INFO: Acknowledgment sent {"connection_id":186942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:19:12] local.INFO: TCP Data received {"connection_id":186942,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:19:12] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:19:12] local.INFO: Packet analysis {"connection_id":186942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:19:12] local.INFO: Extracted packet for processing {"connection_id":186942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:19: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-09-17 19:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:19: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-09-17 19:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:19:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":186942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:19:12] local.INFO: GPS data processed {"connection_id":186942,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:19:12] local.INFO: Acknowledgment sent {"connection_id":186942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:19:14] local.INFO: TCP Data received {"connection_id":185646,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:19:14] local.INFO: Processing buffer {"connection_id":185646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:19:14] local.INFO: IMEI packet received {"connection_id":185646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":185646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:19:19] local.INFO: TCP Data received {"connection_id":188276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:19:19] local.INFO: Processing buffer {"connection_id":188276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:19:19] local.INFO: IMEI packet received {"connection_id":188276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":188276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:19:24] local.INFO: TCP Data received {"connection_id":188276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:19:24] local.INFO: Processing buffer {"connection_id":188276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:19:24] local.INFO: IMEI packet received {"connection_id":188276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":188276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:19:26] local.INFO: TCP Data received {"connection_id":188276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:19:26] local.INFO: Processing buffer {"connection_id":188276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:19:26] local.INFO: Packet analysis {"connection_id":188276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:19:26] local.INFO: Extracted packet for processing {"connection_id":188276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:19:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":188276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:19:26] local.INFO: GPS data processed {"connection_id":188276,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:19:26] local.INFO: Acknowledgment sent {"connection_id":188276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:19:31] local.INFO: TCP Data received {"connection_id":188276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:19:31] local.INFO: Processing buffer {"connection_id":188276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:19:31] local.INFO: Packet analysis {"connection_id":188276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:19:31] local.INFO: Extracted packet for processing {"connection_id":188276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":188276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:19:31] local.INFO: GPS data processed {"connection_id":188276,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:19:31] local.INFO: Acknowledgment sent {"connection_id":188276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:19:40] local.INFO: TCP Data received {"connection_id":185647,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:19:40] local.INFO: Processing buffer {"connection_id":185647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:19:40] local.INFO: IMEI packet received {"connection_id":185647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":185647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:19:45] local.INFO: TCP Data received {"connection_id":185647,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:19:45] local.INFO: Processing buffer {"connection_id":185647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:19:45] local.INFO: IMEI packet received {"connection_id":185647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":185647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:19:46] local.INFO: TCP Data received {"connection_id":185647,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:19:46] local.INFO: Processing buffer {"connection_id":185647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:19:46] local.INFO: Packet analysis {"connection_id":185647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:19:46] local.INFO: Extracted packet for processing {"connection_id":185647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:19:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":185647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:19:46] local.INFO: GPS data processed {"connection_id":185647,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:19:46] local.INFO: Acknowledgment sent {"connection_id":185647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:19:50] local.INFO: TCP Data received {"connection_id":188277,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:19:50] local.INFO: Processing buffer {"connection_id":188277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:19:50] local.INFO: IMEI packet received {"connection_id":188277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":188277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:19:50] local.INFO: TCP Data received {"connection_id":185647,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:19:50] local.INFO: Processing buffer {"connection_id":185647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:19:50] local.INFO: Packet analysis {"connection_id":185647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:19:50] local.INFO: Extracted packet for processing {"connection_id":185647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:19:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":185647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:19:51] local.INFO: GPS data processed {"connection_id":185647,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:19:51] local.INFO: Acknowledgment sent {"connection_id":185647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:20:14] local.INFO: TCP Data received {"connection_id":185497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:20:14] local.INFO: Processing buffer {"connection_id":185497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:20:14] local.INFO: IMEI packet received {"connection_id":185497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":185497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:20:19] local.INFO: TCP Data received {"connection_id":185497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:20:19] local.INFO: Processing buffer {"connection_id":185497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:20:19] local.INFO: IMEI packet received {"connection_id":185497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":185497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:20:20] local.INFO: TCP Data received {"connection_id":185497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:20:20] local.INFO: Processing buffer {"connection_id":185497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:20:20] local.INFO: Packet analysis {"connection_id":185497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:20:20] local.INFO: Extracted packet for processing {"connection_id":185497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:20:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":185497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:20:20] local.INFO: GPS data processed {"connection_id":185497,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:20:20] local.INFO: Acknowledgment sent {"connection_id":185497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:20:35] local.INFO: TCP Data received {"connection_id":185498,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:20:35] local.INFO: Processing buffer {"connection_id":185498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:20:35] local.INFO: IMEI packet received {"connection_id":185498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":185498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:20:40] local.INFO: TCP Data received {"connection_id":185498,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:20:40] local.INFO: Processing buffer {"connection_id":185498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:20:40] local.INFO: IMEI packet received {"connection_id":185498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":185498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:20:41] local.INFO: TCP Data received {"connection_id":185498,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:20:41] local.INFO: Processing buffer {"connection_id":185498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:20:41] local.INFO: Packet analysis {"connection_id":185498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:20:41] local.INFO: Extracted packet for processing {"connection_id":185498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:20:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":185498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:20:41] local.INFO: GPS data processed {"connection_id":185498,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:20:41] local.INFO: Acknowledgment sent {"connection_id":185498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:20:51] local.INFO: TCP Data received {"connection_id":185497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:20:51] local.INFO: Processing buffer {"connection_id":185497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:20:51] local.INFO: Packet analysis {"connection_id":185497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:20:51] local.INFO: Extracted packet for processing {"connection_id":185497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:20:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":185497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:20:51] local.INFO: GPS data processed {"connection_id":185497,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:20:51] local.INFO: Acknowledgment sent {"connection_id":185497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:21:12] local.INFO: TCP Data received {"connection_id":185498,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:21:12] local.INFO: Processing buffer {"connection_id":185498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:21:12] local.INFO: Packet analysis {"connection_id":185498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:21:12] local.INFO: Extracted packet for processing {"connection_id":185498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:21:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":185498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:21:12] local.INFO: GPS data processed {"connection_id":185498,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:21:12] local.INFO: Acknowledgment sent {"connection_id":185498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:21:14] local.INFO: TCP Data received {"connection_id":185499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:21:14] local.INFO: Processing buffer {"connection_id":185499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:21:14] local.INFO: IMEI packet received {"connection_id":185499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":185499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:21:19] local.INFO: TCP Data received {"connection_id":185499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:21:19] local.INFO: Processing buffer {"connection_id":185499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:21:19] local.INFO: IMEI packet received {"connection_id":185499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":185499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:21:21] local.INFO: TCP Data received {"connection_id":185499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:21:21] local.INFO: Processing buffer {"connection_id":185499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:21:21] local.INFO: Packet analysis {"connection_id":185499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:21:21] local.INFO: Extracted packet for processing {"connection_id":185499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":185499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:21:21] local.INFO: GPS data processed {"connection_id":185499,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:21:21] local.INFO: Acknowledgment sent {"connection_id":185499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:21:35] local.INFO: TCP Data received {"connection_id":186945,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:21:35] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:21:35] local.INFO: IMEI packet received {"connection_id":186945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":186945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:21:40] local.INFO: TCP Data received {"connection_id":186945,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:21:40] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:21:40] local.INFO: IMEI packet received {"connection_id":186945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":186945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:21:41] local.INFO: TCP Data received {"connection_id":186945,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:21:41] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:21:41] local.INFO: Packet analysis {"connection_id":186945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:21:41] local.INFO: Extracted packet for processing {"connection_id":186945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:21:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":186945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:21:41] local.INFO: GPS data processed {"connection_id":186945,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:21:41] local.INFO: Acknowledgment sent {"connection_id":186945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:21:53] local.INFO: TCP Data received {"connection_id":185499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:21:53] local.INFO: Processing buffer {"connection_id":185499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:21:53] local.INFO: Packet analysis {"connection_id":185499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:21:53] local.INFO: Extracted packet for processing {"connection_id":185499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":185499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:21:53] local.INFO: GPS data processed {"connection_id":185499,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:21:53] local.INFO: Acknowledgment sent {"connection_id":185499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:22:12] local.INFO: TCP Data received {"connection_id":186945,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:22:12] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:22:12] local.INFO: Packet analysis {"connection_id":186945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:22:12] local.INFO: Extracted packet for processing {"connection_id":186945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:22:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":186945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:22:12] local.INFO: GPS data processed {"connection_id":186945,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:22:12] local.INFO: Acknowledgment sent {"connection_id":186945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:22:14] local.INFO: TCP Data received {"connection_id":186946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:22:14] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:22:14] local.INFO: IMEI packet received {"connection_id":186946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":186946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:22:19] local.INFO: TCP Data received {"connection_id":186946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:22:19] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:22:19] local.INFO: IMEI packet received {"connection_id":186946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":186946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:22:20] local.INFO: TCP Data received {"connection_id":186946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:22:20] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9ea1a0012d34c14006aa4440000a011829..."} 
[2026-09-17 19:22:20] local.INFO: Packet analysis {"connection_id":186946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:22:20] local.INFO: Extracted packet for processing {"connection_id":186946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9e"} 
[2026-09-17 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151040768001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789652804000,"timestamp_ms":1789652804000,"timestamp_seconds":1789652804,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9ea1a0"} 
[2026-09-17 19:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:22: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-09-17 19:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151040768001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151040768001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151040768001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":186946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:22:20] local.INFO: GPS data processed {"connection_id":186946,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:22:20] local.INFO: Acknowledgment sent {"connection_id":186946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:22:35] local.INFO: TCP Data received {"connection_id":185649,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:22:35] local.INFO: Processing buffer {"connection_id":185649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:22:35] local.INFO: IMEI packet received {"connection_id":185649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":185649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:22:40] local.INFO: TCP Data received {"connection_id":185649,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:22:40] local.INFO: Processing buffer {"connection_id":185649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:22:40] local.INFO: IMEI packet received {"connection_id":185649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":185649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:22:41] local.INFO: TCP Data received {"connection_id":185649,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:22:41] local.INFO: Processing buffer {"connection_id":185649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0af9f45b0012d196580071fef78003c01092c..."} 
[2026-09-17 19:22:41] local.INFO: Packet analysis {"connection_id":185649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:22:41] local.INFO: Extracted packet for processing {"connection_id":185649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0af9f"} 
[2026-09-17 19:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151051520001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789652846000,"timestamp_ms":1789652846000,"timestamp_seconds":1789652846,"priority":1,"record_length":96,"hex_timestamp":"000001a0af9f45b0"} 
[2026-09-17 19:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151051520001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151051520001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:22:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151051520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":185649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:22:41] local.INFO: GPS data processed {"connection_id":185649,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:22:41] local.INFO: Acknowledgment sent {"connection_id":185649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:22:51] local.INFO: TCP Data received {"connection_id":186946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:22:51] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:22:51] local.INFO: Packet analysis {"connection_id":186946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:22:51] local.INFO: Extracted packet for processing {"connection_id":186946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":186946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:22:51] local.INFO: GPS data processed {"connection_id":186946,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:22:51] local.INFO: Acknowledgment sent {"connection_id":186946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:23:12] local.INFO: TCP Data received {"connection_id":185649,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:23:12] local.INFO: Processing buffer {"connection_id":185649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:23:12] local.INFO: Packet analysis {"connection_id":185649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:23:12] local.INFO: Extracted packet for processing {"connection_id":185649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:23:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":185649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:23:12] local.INFO: GPS data processed {"connection_id":185649,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:23:12] local.INFO: Acknowledgment sent {"connection_id":185649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:23:14] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:23:14] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:23:14] local.INFO: IMEI packet received {"connection_id":186947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":186947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:23:19] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:23:19] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:23:19] local.INFO: IMEI packet received {"connection_id":186947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":186947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:23:20] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:23:20] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:23:20] local.INFO: Packet analysis {"connection_id":186947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:23:20] local.INFO: Extracted packet for processing {"connection_id":186947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":186947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:23:20] local.INFO: GPS data processed {"connection_id":186947,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:23:20] local.INFO: Acknowledgment sent {"connection_id":186947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:23:35] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:23:35] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:23:35] local.INFO: IMEI packet received {"connection_id":188278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":188278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:23:40] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:23:40] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:23:40] local.INFO: IMEI packet received {"connection_id":188278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":188278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:23:41] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:23:41] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:23:41] local.INFO: Packet analysis {"connection_id":188278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:23:41] local.INFO: Extracted packet for processing {"connection_id":188278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:23:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:23:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":188278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:23:41] local.INFO: GPS data processed {"connection_id":188278,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:23:41] local.INFO: Acknowledgment sent {"connection_id":188278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:23:52] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:23:52] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:23:52] local.INFO: Packet analysis {"connection_id":186947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:23:52] local.INFO: Extracted packet for processing {"connection_id":186947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":186947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:23:52] local.INFO: GPS data processed {"connection_id":186947,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:23:52] local.INFO: Acknowledgment sent {"connection_id":186947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:24:12] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:24:12] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:24:12] local.INFO: Packet analysis {"connection_id":188278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:12] local.INFO: Extracted packet for processing {"connection_id":188278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:24:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":188278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:24:12] local.INFO: GPS data processed {"connection_id":188278,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:24:12] local.INFO: Acknowledgment sent {"connection_id":188278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:24:14] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:24:14] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:24:14] local.INFO: IMEI packet received {"connection_id":186949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":186949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:24:21] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:24:21] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:24:21] local.INFO: IMEI packet received {"connection_id":186949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":186949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:24:22] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:24:22] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:24:22] local.INFO: Packet analysis {"connection_id":186949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:22] local.INFO: Extracted packet for processing {"connection_id":186949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:24:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":186949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:24:22] local.INFO: GPS data processed {"connection_id":186949,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:24:22] local.INFO: Acknowledgment sent {"connection_id":186949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:24:40] local.INFO: TCP Data received {"connection_id":185650,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:24:40] local.INFO: Processing buffer {"connection_id":185650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:24:40] local.INFO: IMEI packet received {"connection_id":185650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":185650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:24:45] local.INFO: TCP Data received {"connection_id":185650,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:24:45] local.INFO: Processing buffer {"connection_id":185650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:24:45] local.INFO: IMEI packet received {"connection_id":185650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":185650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:24:46] local.INFO: TCP Data received {"connection_id":185650,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:24:46] local.INFO: Processing buffer {"connection_id":185650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:24:46] local.INFO: Packet analysis {"connection_id":185650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:46] local.INFO: Extracted packet for processing {"connection_id":185650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:24:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":185650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:24:46] local.INFO: GPS data processed {"connection_id":185650,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:24:46] local.INFO: Acknowledgment sent {"connection_id":185650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:24:51] local.INFO: TCP Data received {"connection_id":185650,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:24:51] local.INFO: Processing buffer {"connection_id":185650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:24:51] local.INFO: Packet analysis {"connection_id":185650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:51] local.INFO: Extracted packet for processing {"connection_id":185650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:24:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":185650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:24:51] local.INFO: GPS data processed {"connection_id":185650,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:24:51] local.INFO: Acknowledgment sent {"connection_id":185650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:24:54] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:24:54] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:24:54] local.INFO: Packet analysis {"connection_id":186949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:54] local.INFO: Extracted packet for processing {"connection_id":186949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":186949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:24:54] local.INFO: GPS data processed {"connection_id":186949,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:24:54] local.INFO: Acknowledgment sent {"connection_id":186949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:25:14] local.INFO: TCP Data received {"connection_id":188279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:25:14] local.INFO: Processing buffer {"connection_id":188279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:25:14] local.INFO: IMEI packet received {"connection_id":188279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:25:19] local.INFO: TCP Data received {"connection_id":185501,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:25:19] local.INFO: Processing buffer {"connection_id":185501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:25:19] local.INFO: IMEI packet received {"connection_id":185501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":185501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:25:21] local.INFO: TCP Data received {"connection_id":188279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:25:21] local.INFO: Processing buffer {"connection_id":188279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:25:21] local.INFO: IMEI packet received {"connection_id":188279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":188279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:25:23] local.INFO: TCP Data received {"connection_id":188279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:25:23] local.INFO: Processing buffer {"connection_id":188279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:25:23] local.INFO: Packet analysis {"connection_id":188279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:25:23] local.INFO: Extracted packet for processing {"connection_id":188279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:25:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:25:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":188279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:25:23] local.INFO: GPS data processed {"connection_id":188279,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:25:23] local.INFO: Acknowledgment sent {"connection_id":188279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:25:35] local.INFO: TCP Data received {"connection_id":186950,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:25:35] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:25:35] local.INFO: IMEI packet received {"connection_id":186950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":186950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:25:40] local.INFO: TCP Data received {"connection_id":186950,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:25:40] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:25:40] local.INFO: IMEI packet received {"connection_id":186950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":186950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:25:41] local.INFO: TCP Data received {"connection_id":186950,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:25:41] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:25:41] local.INFO: Packet analysis {"connection_id":186950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:25:41] local.INFO: Extracted packet for processing {"connection_id":186950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:25:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":186950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:25:41] local.INFO: GPS data processed {"connection_id":186950,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:25:41] local.INFO: Acknowledgment sent {"connection_id":186950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:25:55] local.INFO: TCP Data received {"connection_id":185502,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:25:55] local.INFO: Processing buffer {"connection_id":185502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:25:55] local.INFO: IMEI packet received {"connection_id":185502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":185502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:25:55] local.INFO: TCP Data received {"connection_id":188279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:25:55] local.INFO: Processing buffer {"connection_id":188279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:25:55] local.INFO: Packet analysis {"connection_id":188279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:25:55] local.INFO: Extracted packet for processing {"connection_id":188279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:25:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:25:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:25:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":188279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:25:55] local.INFO: GPS data processed {"connection_id":188279,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:25:55] local.INFO: Acknowledgment sent {"connection_id":188279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:26:12] local.INFO: TCP Data received {"connection_id":186950,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:26:12] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:26:12] local.INFO: Packet analysis {"connection_id":186950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:26:12] local.INFO: Extracted packet for processing {"connection_id":186950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:26:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":186950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:26:12] local.INFO: GPS data processed {"connection_id":186950,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:26:12] local.INFO: Acknowledgment sent {"connection_id":186950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:26:19] local.INFO: TCP Data received {"connection_id":185503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:26:19] local.INFO: Processing buffer {"connection_id":185503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:26:19] local.INFO: IMEI packet received {"connection_id":185503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":185503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:26:24] local.INFO: TCP Data received {"connection_id":185503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:26:24] local.INFO: Processing buffer {"connection_id":185503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:26:24] local.INFO: IMEI packet received {"connection_id":185503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":185503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:26:25] local.INFO: TCP Data received {"connection_id":185503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:26:25] local.INFO: Processing buffer {"connection_id":185503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:26:25] local.INFO: Packet analysis {"connection_id":185503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:26:25] local.INFO: Extracted packet for processing {"connection_id":185503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":185503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:26:25] local.INFO: GPS data processed {"connection_id":185503,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:26:25] local.INFO: Acknowledgment sent {"connection_id":185503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:26:30] local.INFO: TCP Data received {"connection_id":185503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:26:30] local.INFO: Processing buffer {"connection_id":185503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:26:30] local.INFO: Packet analysis {"connection_id":185503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:26:30] local.INFO: Extracted packet for processing {"connection_id":185503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":185503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:26:30] local.INFO: GPS data processed {"connection_id":185503,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:26:30] local.INFO: Acknowledgment sent {"connection_id":185503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:26:35] local.INFO: TCP Data received {"connection_id":185504,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:26:35] local.INFO: Processing buffer {"connection_id":185504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:26:35] local.INFO: IMEI packet received {"connection_id":185504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":185504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:26:40] local.INFO: TCP Data received {"connection_id":185504,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:26:40] local.INFO: Processing buffer {"connection_id":185504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:26:40] local.INFO: IMEI packet received {"connection_id":185504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":185504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:26:41] local.INFO: TCP Data received {"connection_id":185504,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:26:41] local.INFO: Processing buffer {"connection_id":185504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:26:41] local.INFO: Packet analysis {"connection_id":185504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:26:41] local.INFO: Extracted packet for processing {"connection_id":185504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:26:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":185504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:26:41] local.INFO: GPS data processed {"connection_id":185504,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:26:41] local.INFO: Acknowledgment sent {"connection_id":185504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:27:12] local.INFO: TCP Data received {"connection_id":185504,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:27:12] local.INFO: Processing buffer {"connection_id":185504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:27:12] local.INFO: Packet analysis {"connection_id":185504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:27:12] local.INFO: Extracted packet for processing {"connection_id":185504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:27:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":185504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:27:12] local.INFO: GPS data processed {"connection_id":185504,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:27:12] local.INFO: Acknowledgment sent {"connection_id":185504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:27:14] local.INFO: TCP Data received {"connection_id":185651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:27:14] local.INFO: Processing buffer {"connection_id":185651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:27:14] local.INFO: IMEI packet received {"connection_id":185651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":185651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:27:19] local.INFO: TCP Data received {"connection_id":185651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:27:19] local.INFO: Processing buffer {"connection_id":185651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:27:19] local.INFO: IMEI packet received {"connection_id":185651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":185651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:27:20] local.INFO: TCP Data received {"connection_id":185651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:27:20] local.INFO: Processing buffer {"connection_id":185651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa33968012d34c14006aa4440000a011829..."} 
[2026-09-17 19:27:20] local.INFO: Packet analysis {"connection_id":185651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:27:20] local.INFO: Extracted packet for processing {"connection_id":185651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151117824001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789653105000,"timestamp_ms":1789653105000,"timestamp_seconds":1789653105,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa33968"} 
[2026-09-17 19:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151117824001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151117824001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151117824001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":185651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:27:20] local.INFO: GPS data processed {"connection_id":185651,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:27:20] local.INFO: Acknowledgment sent {"connection_id":185651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:27:35] local.INFO: TCP Data received {"connection_id":185505,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:27:35] local.INFO: Processing buffer {"connection_id":185505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:27:35] local.INFO: IMEI packet received {"connection_id":185505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":185505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:27:40] local.INFO: TCP Data received {"connection_id":185505,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:27:40] local.INFO: Processing buffer {"connection_id":185505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:27:40] local.INFO: IMEI packet received {"connection_id":185505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":185505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:27:41] local.INFO: TCP Data received {"connection_id":185505,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:27:41] local.INFO: Processing buffer {"connection_id":185505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa3dd78012d196580071fef78003c01092a..."} 
[2026-09-17 19:27:41] local.INFO: Packet analysis {"connection_id":185505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:27:41] local.INFO: Extracted packet for processing {"connection_id":185505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa3"} 
[2026-09-17 19:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151128576001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653147000,"timestamp_ms":1789653147000,"timestamp_seconds":1789653147,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa3dd78"} 
[2026-09-17 19:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151128576001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151128576001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:27:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151128576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":185505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:27:41] local.INFO: GPS data processed {"connection_id":185505,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:27:41] local.INFO: Acknowledgment sent {"connection_id":185505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:27:52] local.INFO: TCP Data received {"connection_id":185651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:27:52] local.INFO: Processing buffer {"connection_id":185651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:27:52] local.INFO: Packet analysis {"connection_id":185651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:27:52] local.INFO: Extracted packet for processing {"connection_id":185651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":185651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:27:52] local.INFO: GPS data processed {"connection_id":185651,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:27:52] local.INFO: Acknowledgment sent {"connection_id":185651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:28:12] local.INFO: TCP Data received {"connection_id":185505,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:28:12] local.INFO: Processing buffer {"connection_id":185505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:28:12] local.INFO: Packet analysis {"connection_id":185505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:28:12] local.INFO: Extracted packet for processing {"connection_id":185505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:28:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":185505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:28:12] local.INFO: GPS data processed {"connection_id":185505,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:28:12] local.INFO: Acknowledgment sent {"connection_id":185505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:28:14] local.INFO: TCP Data received {"connection_id":186952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:28:14] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:28:14] local.INFO: IMEI packet received {"connection_id":186952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":186952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:28:19] local.INFO: TCP Data received {"connection_id":186952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:28:19] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:28:19] local.INFO: IMEI packet received {"connection_id":186952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":186952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:28:21] local.INFO: TCP Data received {"connection_id":186952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:28:21] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:28:21] local.INFO: Packet analysis {"connection_id":186952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:28:21] local.INFO: Extracted packet for processing {"connection_id":186952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":186952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:28:21] local.INFO: GPS data processed {"connection_id":186952,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:28:21] local.INFO: Acknowledgment sent {"connection_id":186952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:28:40] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:28:40] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:28:40] local.INFO: IMEI packet received {"connection_id":188280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":188280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:28:41] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:28:41] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:28:41] local.INFO: Packet analysis {"connection_id":188280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:28:41] local.INFO: Extracted packet for processing {"connection_id":188280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:28:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":188280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:28:41] local.INFO: GPS data processed {"connection_id":188280,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:28:41] local.INFO: Acknowledgment sent {"connection_id":188280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:28:53] local.INFO: TCP Data received {"connection_id":186952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:28:53] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:28:53] local.INFO: Packet analysis {"connection_id":186952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:28:53] local.INFO: Extracted packet for processing {"connection_id":186952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":186952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:28:53] local.INFO: GPS data processed {"connection_id":186952,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:28:53] local.INFO: Acknowledgment sent {"connection_id":186952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:29:12] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:29:12] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:29:12] local.INFO: Packet analysis {"connection_id":188280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:29:12] local.INFO: Extracted packet for processing {"connection_id":188280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:29:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":188280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:29:12] local.INFO: GPS data processed {"connection_id":188280,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:29:12] local.INFO: Acknowledgment sent {"connection_id":188280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:29:14] local.INFO: TCP Data received {"connection_id":185652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:29:14] local.INFO: Processing buffer {"connection_id":185652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:29:14] local.INFO: IMEI packet received {"connection_id":185652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":185652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:29:19] local.INFO: TCP Data received {"connection_id":185652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:29:19] local.INFO: Processing buffer {"connection_id":185652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:29:19] local.INFO: IMEI packet received {"connection_id":185652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":185652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:29:20] local.INFO: TCP Data received {"connection_id":185652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:29:20] local.INFO: Processing buffer {"connection_id":185652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:29:20] local.INFO: Packet analysis {"connection_id":185652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:29:20] local.INFO: Extracted packet for processing {"connection_id":185652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:29: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-09-17 19:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":185652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:29:20] local.INFO: GPS data processed {"connection_id":185652,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:29:20] local.INFO: Acknowledgment sent {"connection_id":185652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:29:40] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:29:40] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:29:40] local.INFO: IMEI packet received {"connection_id":188282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":188282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:29:45] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:29:45] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:29:45] local.INFO: IMEI packet received {"connection_id":188282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":188282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:29:46] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:29:46] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:29:46] local.INFO: Packet analysis {"connection_id":188282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:29:46] local.INFO: Extracted packet for processing {"connection_id":188282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:29:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":188282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:29:46] local.INFO: GPS data processed {"connection_id":188282,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:29:46] local.INFO: Acknowledgment sent {"connection_id":188282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:29:50] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:29:50] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:29:50] local.INFO: Packet analysis {"connection_id":188282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:29:50] local.INFO: Extracted packet for processing {"connection_id":188282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:29:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":188282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:29:51] local.INFO: GPS data processed {"connection_id":188282,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:29:51] local.INFO: Acknowledgment sent {"connection_id":188282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:29:52] local.INFO: TCP Data received {"connection_id":185652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:29:52] local.INFO: Processing buffer {"connection_id":185652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:29:52] local.INFO: Packet analysis {"connection_id":185652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:29:52] local.INFO: Extracted packet for processing {"connection_id":185652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":185652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:29:52] local.INFO: GPS data processed {"connection_id":185652,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:29:52] local.INFO: Acknowledgment sent {"connection_id":185652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:30:14] local.INFO: TCP Data received {"connection_id":185654,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:30:14] local.INFO: Processing buffer {"connection_id":185654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:30:14] local.INFO: IMEI packet received {"connection_id":185654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":185654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:30:19] local.INFO: TCP Data received {"connection_id":185654,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:30:19] local.INFO: Processing buffer {"connection_id":185654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:30:19] local.INFO: IMEI packet received {"connection_id":185654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":185654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:30:21] local.INFO: TCP Data received {"connection_id":185654,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:30:21] local.INFO: Processing buffer {"connection_id":185654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:30:21] local.INFO: Packet analysis {"connection_id":185654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:30:21] local.INFO: Extracted packet for processing {"connection_id":185654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:30:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":185654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:30:21] local.INFO: GPS data processed {"connection_id":185654,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:30:21] local.INFO: Acknowledgment sent {"connection_id":185654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:30:35] local.INFO: TCP Data received {"connection_id":185507,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:30:35] local.INFO: Processing buffer {"connection_id":185507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:30:35] local.INFO: IMEI packet received {"connection_id":185507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":185507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:30:40] local.INFO: TCP Data received {"connection_id":185507,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:30:40] local.INFO: Processing buffer {"connection_id":185507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:30:40] local.INFO: IMEI packet received {"connection_id":185507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":185507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:30:41] local.INFO: TCP Data received {"connection_id":185507,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:30:41] local.INFO: Processing buffer {"connection_id":185507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:30:41] local.INFO: Packet analysis {"connection_id":185507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:30:41] local.INFO: Extracted packet for processing {"connection_id":185507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:30:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":185507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:30:41] local.INFO: GPS data processed {"connection_id":185507,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:30:41] local.INFO: Acknowledgment sent {"connection_id":185507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:30:52] local.INFO: TCP Data received {"connection_id":185654,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:30:52] local.INFO: Processing buffer {"connection_id":185654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:30:52] local.INFO: Packet analysis {"connection_id":185654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:30:52] local.INFO: Extracted packet for processing {"connection_id":185654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":185654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:30:52] local.INFO: GPS data processed {"connection_id":185654,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:30:52] local.INFO: Acknowledgment sent {"connection_id":185654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:31:12] local.INFO: TCP Data received {"connection_id":185507,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:31:12] local.INFO: Processing buffer {"connection_id":185507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:31:12] local.INFO: Packet analysis {"connection_id":185507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:31:12] local.INFO: Extracted packet for processing {"connection_id":185507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:31:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":185507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:31:12] local.INFO: GPS data processed {"connection_id":185507,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:31:12] local.INFO: Acknowledgment sent {"connection_id":185507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:31:14] local.INFO: TCP Data received {"connection_id":188284,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:31:14] local.INFO: Processing buffer {"connection_id":188284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:31:14] local.INFO: IMEI packet received {"connection_id":188284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":188284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:31:19] local.INFO: TCP Data received {"connection_id":188284,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:31:19] local.INFO: Processing buffer {"connection_id":188284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:31:19] local.INFO: IMEI packet received {"connection_id":188284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":188284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:31:21] local.INFO: TCP Data received {"connection_id":188284,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:31:21] local.INFO: Processing buffer {"connection_id":188284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:31:21] local.INFO: Packet analysis {"connection_id":188284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:31:21] local.INFO: Extracted packet for processing {"connection_id":188284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":188284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:31:21] local.INFO: GPS data processed {"connection_id":188284,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:31:21] local.INFO: Acknowledgment sent {"connection_id":188284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:31:25] local.INFO: TCP Data received {"connection_id":188283,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:31:25] local.INFO: Processing buffer {"connection_id":188283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:31:25] local.INFO: IMEI packet received {"connection_id":188283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":188283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:31:35] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:31:35] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:31:35] local.INFO: IMEI packet received {"connection_id":185508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":185508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:31:40] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:31:40] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:31:40] local.INFO: IMEI packet received {"connection_id":185508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":185508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:31:41] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:31:41] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:31:41] local.INFO: Packet analysis {"connection_id":185508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:31:41] local.INFO: Extracted packet for processing {"connection_id":185508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:31:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":185508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:31:41] local.INFO: GPS data processed {"connection_id":185508,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:31:41] local.INFO: Acknowledgment sent {"connection_id":185508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:31:50] local.INFO: TCP Data received {"connection_id":186953,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:31:50] local.INFO: Processing buffer {"connection_id":186953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:31:50] local.INFO: IMEI packet received {"connection_id":186953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":186953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:31:52] local.INFO: TCP Data received {"connection_id":188284,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:31:52] local.INFO: Processing buffer {"connection_id":188284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:31:52] local.INFO: Packet analysis {"connection_id":188284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:31:52] local.INFO: Extracted packet for processing {"connection_id":188284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":188284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:31:52] local.INFO: GPS data processed {"connection_id":188284,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:31:52] local.INFO: Acknowledgment sent {"connection_id":188284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:32:12] local.INFO: TCP Data received {"connection_id":185508,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:32:12] local.INFO: Processing buffer {"connection_id":185508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:32:12] local.INFO: Packet analysis {"connection_id":185508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:32:12] local.INFO: Extracted packet for processing {"connection_id":185508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:32: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-09-17 19:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:32: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-09-17 19:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:32:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":185508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:32:12] local.INFO: GPS data processed {"connection_id":185508,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:32:12] local.INFO: Acknowledgment sent {"connection_id":185508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:32:21] local.INFO: TCP Data received {"connection_id":188285,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:32:21] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:32:21] local.INFO: IMEI packet received {"connection_id":188285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":188285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:32:25] local.INFO: TCP Data received {"connection_id":188285,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:32:25] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:32:25] local.INFO: IMEI packet received {"connection_id":188285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":188285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:32:26] local.INFO: TCP Data received {"connection_id":188285,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:32:26] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa7d130012d34c14006aa4440000a011829..."} 
[2026-09-17 19:32:26] local.INFO: Packet analysis {"connection_id":188285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:32:26] local.INFO: Extracted packet for processing {"connection_id":188285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa7"} 
[2026-09-17 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151194880001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789653406000,"timestamp_ms":1789653406000,"timestamp_seconds":1789653406,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa7d130"} 
[2026-09-17 19:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151194880001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151194880001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151194880001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":188285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:32:26] local.INFO: GPS data processed {"connection_id":188285,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:32:26] local.INFO: Acknowledgment sent {"connection_id":188285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:32:27] local.INFO: TCP Data received {"connection_id":188285,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:32:27] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:32:27] local.INFO: Packet analysis {"connection_id":188285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:32:27] local.INFO: Extracted packet for processing {"connection_id":188285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:32:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":188285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:32:27] local.INFO: GPS data processed {"connection_id":188285,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:32:27] local.INFO: Acknowledgment sent {"connection_id":188285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:32:35] local.INFO: TCP Data received {"connection_id":185655,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:32:35] local.INFO: Processing buffer {"connection_id":185655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:32:35] local.INFO: IMEI packet received {"connection_id":185655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":185655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:32:40] local.INFO: TCP Data received {"connection_id":185655,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:32:40] local.INFO: Processing buffer {"connection_id":185655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:32:40] local.INFO: IMEI packet received {"connection_id":185655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":185655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:32:41] local.INFO: TCP Data received {"connection_id":185655,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:32:41] local.INFO: Processing buffer {"connection_id":185655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afa87540012d196580071fef78003c01092c..."} 
[2026-09-17 19:32:41] local.INFO: Packet analysis {"connection_id":185655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:32:41] local.INFO: Extracted packet for processing {"connection_id":185655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afa8"} 
[2026-09-17 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151205632001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653448000,"timestamp_ms":1789653448000,"timestamp_seconds":1789653448,"priority":1,"record_length":96,"hex_timestamp":"000001a0afa87540"} 
[2026-09-17 19:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151205632001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151205632001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:32:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151205632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":185655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:32:41] local.INFO: GPS data processed {"connection_id":185655,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:32:41] local.INFO: Acknowledgment sent {"connection_id":185655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:32:59] local.INFO: TCP Data received {"connection_id":188285,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:32:59] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:32:59] local.INFO: Packet analysis {"connection_id":188285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:32:59] local.INFO: Extracted packet for processing {"connection_id":188285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":188285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:32:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":188285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:32:59] local.INFO: GPS data processed {"connection_id":188285,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:32:59] local.INFO: Acknowledgment sent {"connection_id":188285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:33:12] local.INFO: TCP Data received {"connection_id":185655,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:33:12] local.INFO: Processing buffer {"connection_id":185655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:33:12] local.INFO: Packet analysis {"connection_id":185655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:33:12] local.INFO: Extracted packet for processing {"connection_id":185655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:33:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:33:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":185655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:33:12] local.INFO: GPS data processed {"connection_id":185655,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:33:12] local.INFO: Acknowledgment sent {"connection_id":185655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:33:14] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:33:14] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:33:14] local.INFO: IMEI packet received {"connection_id":188286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":188286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:33:24] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:33:24] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:33:24] local.INFO: IMEI packet received {"connection_id":188286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":188286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:33:25] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:33:25] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:33:25] local.INFO: Packet analysis {"connection_id":188286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:33:25] local.INFO: Extracted packet for processing {"connection_id":188286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":188286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:33:25] local.INFO: GPS data processed {"connection_id":188286,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:33:25] local.INFO: Acknowledgment sent {"connection_id":188286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:33:40] local.INFO: TCP Data received {"connection_id":186955,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:33:40] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:33:40] local.INFO: IMEI packet received {"connection_id":186955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":186955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:33:45] local.INFO: TCP Data received {"connection_id":186955,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:33:45] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:33:45] local.INFO: IMEI packet received {"connection_id":186955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":186955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:33:46] local.INFO: TCP Data received {"connection_id":186955,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:33:46] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:33:46] local.INFO: Packet analysis {"connection_id":186955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:33:46] local.INFO: Extracted packet for processing {"connection_id":186955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":186955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:33:46] local.INFO: GPS data processed {"connection_id":186955,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:33:46] local.INFO: Acknowledgment sent {"connection_id":186955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:33:50] local.INFO: TCP Data received {"connection_id":186955,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:33:50] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:33:50] local.INFO: Packet analysis {"connection_id":186955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:33:50] local.INFO: Extracted packet for processing {"connection_id":186955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:33:50] 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-09-17 19:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:33:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":186955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:33:51] local.INFO: GPS data processed {"connection_id":186955,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:33:51] local.INFO: Acknowledgment sent {"connection_id":186955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:33:56] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:33:56] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:33:56] local.INFO: Packet analysis {"connection_id":188286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:33:56] local.INFO: Extracted packet for processing {"connection_id":188286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:33:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:33:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":188286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:33:56] local.INFO: GPS data processed {"connection_id":188286,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:33:56] local.INFO: Acknowledgment sent {"connection_id":188286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:34:15] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:34:15] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:34:15] local.INFO: IMEI packet received {"connection_id":188288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":188288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:34:19] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:34:19] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:34:19] local.INFO: IMEI packet received {"connection_id":188288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":188288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:34:21] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:34:21] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:34:21] local.INFO: Packet analysis {"connection_id":188288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:34:21] local.INFO: Extracted packet for processing {"connection_id":188288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:34:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":188288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:34:21] local.INFO: GPS data processed {"connection_id":188288,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:34:21] local.INFO: Acknowledgment sent {"connection_id":188288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:34:35] local.INFO: TCP Data received {"connection_id":185656,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:34:35] local.INFO: Processing buffer {"connection_id":185656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:34:35] local.INFO: IMEI packet received {"connection_id":185656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":185656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:34:40] local.INFO: TCP Data received {"connection_id":185656,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:34:40] local.INFO: Processing buffer {"connection_id":185656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:34:40] local.INFO: IMEI packet received {"connection_id":185656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":185656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:34:41] local.INFO: TCP Data received {"connection_id":185656,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:34:41] local.INFO: Processing buffer {"connection_id":185656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:34:41] local.INFO: Packet analysis {"connection_id":185656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:34:41] local.INFO: Extracted packet for processing {"connection_id":185656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:34:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":185656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:34:41] local.INFO: GPS data processed {"connection_id":185656,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:34:41] local.INFO: Acknowledgment sent {"connection_id":185656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:34:52] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:34:52] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:34:52] local.INFO: Packet analysis {"connection_id":188288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:34:52] local.INFO: Extracted packet for processing {"connection_id":188288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":188288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:34:52] local.INFO: GPS data processed {"connection_id":188288,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:34:52] local.INFO: Acknowledgment sent {"connection_id":188288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:35:12] local.INFO: TCP Data received {"connection_id":185656,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:35:12] local.INFO: Processing buffer {"connection_id":185656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:35:12] local.INFO: Packet analysis {"connection_id":185656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:35:12] local.INFO: Extracted packet for processing {"connection_id":185656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:35:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":185656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:35:12] local.INFO: GPS data processed {"connection_id":185656,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:35:12] local.INFO: Acknowledgment sent {"connection_id":185656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:35:14] local.INFO: TCP Data received {"connection_id":185657,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:35:14] local.INFO: Processing buffer {"connection_id":185657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:35:14] local.INFO: IMEI packet received {"connection_id":185657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":185657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:35:20] local.INFO: TCP Data received {"connection_id":185657,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:35:20] local.INFO: Processing buffer {"connection_id":185657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:35:20] local.INFO: IMEI packet received {"connection_id":185657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":185657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:35:22] local.INFO: TCP Data received {"connection_id":185657,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:35:22] local.INFO: Processing buffer {"connection_id":185657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:35:22] local.INFO: Packet analysis {"connection_id":185657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:35:22] local.INFO: Extracted packet for processing {"connection_id":185657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":185657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:35:22] local.INFO: GPS data processed {"connection_id":185657,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:35:22] local.INFO: Acknowledgment sent {"connection_id":185657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:35:35] local.INFO: TCP Data received {"connection_id":186956,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:35:35] local.INFO: Processing buffer {"connection_id":186956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:35:35] local.INFO: IMEI packet received {"connection_id":186956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":186956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:35:40] local.INFO: TCP Data received {"connection_id":186956,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:35:40] local.INFO: Processing buffer {"connection_id":186956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:35:40] local.INFO: IMEI packet received {"connection_id":186956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":186956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:35:41] local.INFO: TCP Data received {"connection_id":186956,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:35:41] local.INFO: Processing buffer {"connection_id":186956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:35:41] local.INFO: Packet analysis {"connection_id":186956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:35:41] local.INFO: Extracted packet for processing {"connection_id":186956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:35:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":186956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:35:41] local.INFO: GPS data processed {"connection_id":186956,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:35:41] local.INFO: Acknowledgment sent {"connection_id":186956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:35:53] local.INFO: TCP Data received {"connection_id":185657,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:35:53] local.INFO: Processing buffer {"connection_id":185657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:35:53] local.INFO: Packet analysis {"connection_id":185657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:35:53] local.INFO: Extracted packet for processing {"connection_id":185657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":185657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:35:53] local.INFO: GPS data processed {"connection_id":185657,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:35:53] local.INFO: Acknowledgment sent {"connection_id":185657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:36:12] local.INFO: TCP Data received {"connection_id":186956,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:36:12] local.INFO: Processing buffer {"connection_id":186956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:36:12] local.INFO: Packet analysis {"connection_id":186956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:36:12] local.INFO: Extracted packet for processing {"connection_id":186956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:36:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":186956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:36:12] local.INFO: GPS data processed {"connection_id":186956,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:36:12] local.INFO: Acknowledgment sent {"connection_id":186956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:36:20] local.INFO: TCP Data received {"connection_id":188290,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:36:20] local.INFO: Processing buffer {"connection_id":188290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:36:20] local.INFO: IMEI packet received {"connection_id":188290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":188290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:36:24] local.INFO: TCP Data received {"connection_id":188290,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:36:24] local.INFO: Processing buffer {"connection_id":188290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:36:24] local.INFO: IMEI packet received {"connection_id":188290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":188290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:36:29] local.INFO: TCP Data received {"connection_id":188290,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:36:29] local.INFO: Processing buffer {"connection_id":188290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:36:29] local.INFO: Packet analysis {"connection_id":188290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:36:29] local.INFO: Extracted packet for processing {"connection_id":188290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:36:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":188290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:36:29] local.INFO: GPS data processed {"connection_id":188290,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:36:29] local.INFO: Acknowledgment sent {"connection_id":188290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:36:35] local.INFO: TCP Data received {"connection_id":188290,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:36:35] local.INFO: Processing buffer {"connection_id":188290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:36:35] local.INFO: Packet analysis {"connection_id":188290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:36:35] local.INFO: Extracted packet for processing {"connection_id":188290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":188290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:36:35] local.INFO: GPS data processed {"connection_id":188290,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:36:35] local.INFO: Acknowledgment sent {"connection_id":188290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:36:35] local.INFO: TCP Data received {"connection_id":185510,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:36:35] local.INFO: Processing buffer {"connection_id":185510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:36:35] local.INFO: IMEI packet received {"connection_id":185510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":185510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:36:40] local.INFO: TCP Data received {"connection_id":185510,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:36:40] local.INFO: Processing buffer {"connection_id":185510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:36:40] local.INFO: IMEI packet received {"connection_id":185510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":185510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:36:41] local.INFO: TCP Data received {"connection_id":185510,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:36:41] local.INFO: Processing buffer {"connection_id":185510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:36:41] local.INFO: Packet analysis {"connection_id":185510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:36:41] local.INFO: Extracted packet for processing {"connection_id":185510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:36: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-09-17 19:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:36:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":185510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:36:41] local.INFO: GPS data processed {"connection_id":185510,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:36:41] local.INFO: Acknowledgment sent {"connection_id":185510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:37:12] local.INFO: TCP Data received {"connection_id":185510,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:37:12] local.INFO: Processing buffer {"connection_id":185510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:37:12] local.INFO: Packet analysis {"connection_id":185510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:37:12] local.INFO: Extracted packet for processing {"connection_id":185510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:37:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":185510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:37:12] local.INFO: GPS data processed {"connection_id":185510,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:37:12] local.INFO: Acknowledgment sent {"connection_id":185510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:37:19] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:37:19] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:37:19] local.INFO: IMEI packet received {"connection_id":185658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":185658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:37:19] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:37:19] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:37:19] local.INFO: IMEI packet received {"connection_id":185658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":185658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:37:20] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:37:20] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:37:20] local.INFO: Packet analysis {"connection_id":185658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:37:20] local.INFO: Extracted packet for processing {"connection_id":185658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":185658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:37:20] local.INFO: GPS data processed {"connection_id":185658,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:37:20] local.INFO: Acknowledgment sent {"connection_id":185658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:37:25] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:37:25] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afac68f8012d34c14006aa4440000a011828..."} 
[2026-09-17 19:37:25] local.INFO: Packet analysis {"connection_id":185658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:37:25] local.INFO: Extracted packet for processing {"connection_id":185658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afac"} 
[2026-09-17 19:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151271936001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789653707000,"timestamp_ms":1789653707000,"timestamp_seconds":1789653707,"priority":1,"record_length":96,"hex_timestamp":"000001a0afac68f8"} 
[2026-09-17 19:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151271936001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151271936001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151271936001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":185658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:37:25] local.INFO: GPS data processed {"connection_id":185658,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:37:25] local.INFO: Acknowledgment sent {"connection_id":185658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:37:36] local.INFO: TCP Data received {"connection_id":186958,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:37:36] local.INFO: Processing buffer {"connection_id":186958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:37:36] local.INFO: IMEI packet received {"connection_id":186958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":186958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:37:40] local.INFO: TCP Data received {"connection_id":186958,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:37:40] local.INFO: Processing buffer {"connection_id":186958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:37:40] local.INFO: IMEI packet received {"connection_id":186958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":186958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:37:41] local.INFO: TCP Data received {"connection_id":186958,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:37:41] local.INFO: Processing buffer {"connection_id":186958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afad0d08012d196580071fef78003c010929..."} 
[2026-09-17 19:37:41] local.INFO: Packet analysis {"connection_id":186958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:37:41] local.INFO: Extracted packet for processing {"connection_id":186958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afad"} 
[2026-09-17 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151282688001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789653749000,"timestamp_ms":1789653749000,"timestamp_seconds":1789653749,"priority":1,"record_length":96,"hex_timestamp":"000001a0afad0d08"} 
[2026-09-17 19:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151282688001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151282688001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:37:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151282688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":186958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:37:41] local.INFO: GPS data processed {"connection_id":186958,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:37:41] local.INFO: Acknowledgment sent {"connection_id":186958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:37:49] local.INFO: TCP Data received {"connection_id":185511,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:37:49] local.INFO: Processing buffer {"connection_id":185511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:37:49] local.INFO: IMEI packet received {"connection_id":185511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":185511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:37:57] local.INFO: TCP Data received {"connection_id":185658,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:37:57] local.INFO: Processing buffer {"connection_id":185658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:37:57] local.INFO: Packet analysis {"connection_id":185658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:37:57] local.INFO: Extracted packet for processing {"connection_id":185658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:37:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:37:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":185658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:37:57] local.INFO: GPS data processed {"connection_id":185658,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:37:57] local.INFO: Acknowledgment sent {"connection_id":185658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:38:12] local.INFO: TCP Data received {"connection_id":186958,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:38:12] local.INFO: Processing buffer {"connection_id":186958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:38:12] local.INFO: Packet analysis {"connection_id":186958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:12] local.INFO: Extracted packet for processing {"connection_id":186958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:38:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":186958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:38:12] local.INFO: GPS data processed {"connection_id":186958,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:38:12] local.INFO: Acknowledgment sent {"connection_id":186958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:38:14] local.INFO: TCP Data received {"connection_id":185512,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:38:14] local.INFO: Processing buffer {"connection_id":185512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:38:14] local.INFO: IMEI packet received {"connection_id":185512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":185512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:38:19] local.INFO: TCP Data received {"connection_id":185512,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:38:19] local.INFO: Processing buffer {"connection_id":185512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:38:19] local.INFO: IMEI packet received {"connection_id":185512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":185512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:38:21] local.INFO: TCP Data received {"connection_id":185512,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:38:21] local.INFO: Processing buffer {"connection_id":185512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:38:21] local.INFO: Packet analysis {"connection_id":185512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:21] local.INFO: Extracted packet for processing {"connection_id":185512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:38:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":185512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:38:21] local.INFO: GPS data processed {"connection_id":185512,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:38:21] local.INFO: Acknowledgment sent {"connection_id":185512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:38:40] local.INFO: TCP Data received {"connection_id":188291,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:38:40] local.INFO: Processing buffer {"connection_id":188291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:38:40] local.INFO: IMEI packet received {"connection_id":188291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":188291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:38:45] local.INFO: TCP Data received {"connection_id":188291,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:38:45] local.INFO: Processing buffer {"connection_id":188291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:38:45] local.INFO: IMEI packet received {"connection_id":188291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":188291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:38:46] local.INFO: TCP Data received {"connection_id":188291,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:38:46] local.INFO: Processing buffer {"connection_id":188291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:38:46] local.INFO: Packet analysis {"connection_id":188291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:46] local.INFO: Extracted packet for processing {"connection_id":188291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":188291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:38:46] local.INFO: GPS data processed {"connection_id":188291,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:38:46] local.INFO: Acknowledgment sent {"connection_id":188291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:38:50] local.INFO: TCP Data received {"connection_id":188291,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:38:50] local.INFO: Processing buffer {"connection_id":188291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:38:50] local.INFO: Packet analysis {"connection_id":188291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:50] local.INFO: Extracted packet for processing {"connection_id":188291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:38:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":188291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:38:50] local.INFO: GPS data processed {"connection_id":188291,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:38:50] local.INFO: Acknowledgment sent {"connection_id":188291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:38:53] local.INFO: TCP Data received {"connection_id":185512,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:38:53] local.INFO: Processing buffer {"connection_id":185512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:38:53] local.INFO: Packet analysis {"connection_id":185512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:53] local.INFO: Extracted packet for processing {"connection_id":185512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":185512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:38:53] local.INFO: GPS data processed {"connection_id":185512,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:38:53] local.INFO: Acknowledgment sent {"connection_id":185512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:39:14] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:39:14] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:39:14] local.INFO: IMEI packet received {"connection_id":186960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:39:19] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:39:19] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:39:19] local.INFO: IMEI packet received {"connection_id":186960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":186960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:39:21] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:39:21] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:39:21] local.INFO: Packet analysis {"connection_id":186960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:39:21] local.INFO: Extracted packet for processing {"connection_id":186960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:39:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":186960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:39:21] local.INFO: GPS data processed {"connection_id":186960,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:39:21] local.INFO: Acknowledgment sent {"connection_id":186960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:39:35] local.INFO: TCP Data received {"connection_id":185513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:39:35] local.INFO: Processing buffer {"connection_id":185513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:39:35] local.INFO: IMEI packet received {"connection_id":185513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":185513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:39:40] local.INFO: TCP Data received {"connection_id":185513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:39:40] local.INFO: Processing buffer {"connection_id":185513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:39:40] local.INFO: IMEI packet received {"connection_id":185513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":185513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:39:41] local.INFO: TCP Data received {"connection_id":185513,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:39:41] local.INFO: Processing buffer {"connection_id":185513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:39:41] local.INFO: Packet analysis {"connection_id":185513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:39:41] local.INFO: Extracted packet for processing {"connection_id":185513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:39:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":185513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:39:41] local.INFO: GPS data processed {"connection_id":185513,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:39:41] local.INFO: Acknowledgment sent {"connection_id":185513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:39:52] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:39:52] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:39:52] local.INFO: Packet analysis {"connection_id":186960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:39:52] local.INFO: Extracted packet for processing {"connection_id":186960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:39:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":186960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:39:52] local.INFO: GPS data processed {"connection_id":186960,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:39:52] local.INFO: Acknowledgment sent {"connection_id":186960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:40:12] local.INFO: TCP Data received {"connection_id":185513,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:40:12] local.INFO: Processing buffer {"connection_id":185513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:40:12] local.INFO: Packet analysis {"connection_id":185513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:40:12] local.INFO: Extracted packet for processing {"connection_id":185513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:40:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":185513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:40:12] local.INFO: GPS data processed {"connection_id":185513,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:40:12] local.INFO: Acknowledgment sent {"connection_id":185513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:40:20] local.INFO: TCP Data received {"connection_id":185514,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:40:20] local.INFO: Processing buffer {"connection_id":185514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:40:20] local.INFO: IMEI packet received {"connection_id":185514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":185514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:40:28] local.INFO: TCP Data received {"connection_id":185514,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:40:28] local.INFO: Processing buffer {"connection_id":185514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:40:28] local.INFO: IMEI packet received {"connection_id":185514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":185514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:40:30] local.INFO: TCP Data received {"connection_id":185514,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:40:30] local.INFO: Processing buffer {"connection_id":185514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:40:30] local.INFO: Packet analysis {"connection_id":185514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:40:30] local.INFO: Extracted packet for processing {"connection_id":185514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":185514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:40:30] local.INFO: GPS data processed {"connection_id":185514,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:40:30] local.INFO: Acknowledgment sent {"connection_id":185514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:40:32] local.INFO: TCP Data received {"connection_id":185514,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:40:32] local.INFO: Processing buffer {"connection_id":185514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:40:32] local.INFO: Packet analysis {"connection_id":185514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:40:32] local.INFO: Extracted packet for processing {"connection_id":185514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:40:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:40:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":185514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:40:32] local.INFO: GPS data processed {"connection_id":185514,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:40:32] local.INFO: Acknowledgment sent {"connection_id":185514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:40:35] local.INFO: TCP Data received {"connection_id":185515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:40:35] local.INFO: Processing buffer {"connection_id":185515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:40:35] local.INFO: IMEI packet received {"connection_id":185515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":185515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:40:40] local.INFO: TCP Data received {"connection_id":185515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:40:40] local.INFO: Processing buffer {"connection_id":185515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:40:40] local.INFO: IMEI packet received {"connection_id":185515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":185515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:40:41] local.INFO: TCP Data received {"connection_id":185515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:40:41] local.INFO: Processing buffer {"connection_id":185515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:40:41] local.INFO: Packet analysis {"connection_id":185515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:40:41] local.INFO: Extracted packet for processing {"connection_id":185515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:40:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":185515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:40:41] local.INFO: GPS data processed {"connection_id":185515,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:40:41] local.INFO: Acknowledgment sent {"connection_id":185515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:41:12] local.INFO: TCP Data received {"connection_id":185515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:41:12] local.INFO: Processing buffer {"connection_id":185515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:41:12] local.INFO: Packet analysis {"connection_id":185515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:41:12] local.INFO: Extracted packet for processing {"connection_id":185515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:41:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":185515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:41:12] local.INFO: GPS data processed {"connection_id":185515,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:41:12] local.INFO: Acknowledgment sent {"connection_id":185515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:41:24] local.INFO: TCP Data received {"connection_id":186961,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:41:24] local.INFO: Processing buffer {"connection_id":186961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:41:24] local.INFO: IMEI packet received {"connection_id":186961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":186961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:41:24] local.INFO: TCP Data received {"connection_id":186961,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:41:24] local.INFO: Processing buffer {"connection_id":186961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:41:24] local.INFO: IMEI packet received {"connection_id":186961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":186961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:41:27] local.INFO: TCP Data received {"connection_id":186961,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:41:27] local.INFO: Processing buffer {"connection_id":186961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:41:27] local.INFO: Packet analysis {"connection_id":186961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:41:27] local.INFO: Extracted packet for processing {"connection_id":186961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:41:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":186961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:41:27] local.INFO: GPS data processed {"connection_id":186961,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:41:27] local.INFO: Acknowledgment sent {"connection_id":186961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:41:29] local.INFO: TCP Data received {"connection_id":186961,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:41:29] local.INFO: Processing buffer {"connection_id":186961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:41:29] local.INFO: Packet analysis {"connection_id":186961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:41:29] local.INFO: Extracted packet for processing {"connection_id":186961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:41:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:41:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":186961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:41:29] local.INFO: GPS data processed {"connection_id":186961,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:41:29] local.INFO: Acknowledgment sent {"connection_id":186961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:41:35] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:41:35] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:41:35] local.INFO: IMEI packet received {"connection_id":186962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":186962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:41:40] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:41:40] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:41:40] local.INFO: IMEI packet received {"connection_id":186962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":186962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:41:41] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:41:41] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:41:41] local.INFO: Packet analysis {"connection_id":186962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:41:41] local.INFO: Extracted packet for processing {"connection_id":186962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:41:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":186962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:41:41] local.INFO: GPS data processed {"connection_id":186962,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:41:41] local.INFO: Acknowledgment sent {"connection_id":186962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:42:12] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:42:12] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:42:12] local.INFO: Packet analysis {"connection_id":186962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:42:12] local.INFO: Extracted packet for processing {"connection_id":186962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:42:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:42:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":186962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:42:12] local.INFO: GPS data processed {"connection_id":186962,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:42:12] local.INFO: Acknowledgment sent {"connection_id":186962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:42:16] local.INFO: TCP Data received {"connection_id":188293,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:42:16] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:42:16] local.INFO: IMEI packet received {"connection_id":188293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":188293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:42:20] local.INFO: TCP Data received {"connection_id":188293,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:42:20] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:42:20] local.INFO: IMEI packet received {"connection_id":188293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":188293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:42:21] local.INFO: TCP Data received {"connection_id":188293,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:42:21] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:42:21] local.INFO: Packet analysis {"connection_id":188293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:42:21] local.INFO: Extracted packet for processing {"connection_id":188293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:42:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":188293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:42:21] local.INFO: GPS data processed {"connection_id":188293,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:42:21] local.INFO: Acknowledgment sent {"connection_id":188293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:42:25] local.INFO: TCP Data received {"connection_id":188293,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:42:25] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb100c0012d34c14006aa4440000a011826..."} 
[2026-09-17 19:42:25] local.INFO: Packet analysis {"connection_id":188293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:42:25] local.INFO: Extracted packet for processing {"connection_id":188293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151348992001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789654008000,"timestamp_ms":1789654008000,"timestamp_seconds":1789654008,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb100c0"} 
[2026-09-17 19:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151348992001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151348992001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151348992001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":188293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:42:25] local.INFO: GPS data processed {"connection_id":188293,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:42:25] local.INFO: Acknowledgment sent {"connection_id":188293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:42:35] local.INFO: TCP Data received {"connection_id":185661,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:42:35] local.INFO: Processing buffer {"connection_id":185661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:42:35] local.INFO: IMEI packet received {"connection_id":185661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":185661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:42:40] local.INFO: TCP Data received {"connection_id":185661,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:42:40] local.INFO: Processing buffer {"connection_id":185661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:42:40] local.INFO: IMEI packet received {"connection_id":185661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":185661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:42:41] local.INFO: TCP Data received {"connection_id":185661,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:42:41] local.INFO: Processing buffer {"connection_id":185661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb1a4d0012d196580071fef78003c010929..."} 
[2026-09-17 19:42:41] local.INFO: Packet analysis {"connection_id":185661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:42:41] local.INFO: Extracted packet for processing {"connection_id":185661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb1"} 
[2026-09-17 19:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151359744001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654050000,"timestamp_ms":1789654050000,"timestamp_seconds":1789654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb1a4d0"} 
[2026-09-17 19:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151359744001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151359744001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:42:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151359744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":185661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:42:41] local.INFO: GPS data processed {"connection_id":185661,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:42:41] local.INFO: Acknowledgment sent {"connection_id":185661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:42:57] local.INFO: TCP Data received {"connection_id":188293,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:42:57] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:42:57] local.INFO: Packet analysis {"connection_id":188293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:42:57] local.INFO: Extracted packet for processing {"connection_id":188293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:42:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:42:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":188293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:42:57] local.INFO: GPS data processed {"connection_id":188293,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:42:57] local.INFO: Acknowledgment sent {"connection_id":188293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:43:12] local.INFO: TCP Data received {"connection_id":185661,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:43:12] local.INFO: Processing buffer {"connection_id":185661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:43:12] local.INFO: Packet analysis {"connection_id":185661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:43:12] local.INFO: Extracted packet for processing {"connection_id":185661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:43:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":185661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:43:12] local.INFO: GPS data processed {"connection_id":185661,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:43:12] local.INFO: Acknowledgment sent {"connection_id":185661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:43:14] local.INFO: TCP Data received {"connection_id":188294,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:43:14] local.INFO: Processing buffer {"connection_id":188294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:43:14] local.INFO: IMEI packet received {"connection_id":188294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":188294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:43:19] local.INFO: TCP Data received {"connection_id":186963,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:43:19] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:43:19] local.INFO: IMEI packet received {"connection_id":186963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":186963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:43:25] local.INFO: TCP Data received {"connection_id":186963,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:43:25] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:43:25] local.INFO: IMEI packet received {"connection_id":186963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":186963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:43:28] local.INFO: TCP Data received {"connection_id":186963,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:43:28] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:43:28] local.INFO: Packet analysis {"connection_id":186963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:43:28] local.INFO: Extracted packet for processing {"connection_id":186963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:43:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:43:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":186963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:43:28] local.INFO: GPS data processed {"connection_id":186963,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:43:28] local.INFO: Acknowledgment sent {"connection_id":186963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:43:40] local.INFO: TCP Data received {"connection_id":186964,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:43:40] local.INFO: Processing buffer {"connection_id":186964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:43:40] local.INFO: IMEI packet received {"connection_id":186964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":186964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:43:41] local.INFO: TCP Data received {"connection_id":186963,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:43:41] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:43:41] local.INFO: Packet analysis {"connection_id":186963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:43:41] local.INFO: Extracted packet for processing {"connection_id":186963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":186963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:43:41] local.INFO: GPS data processed {"connection_id":186963,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:43:41] local.INFO: Acknowledgment sent {"connection_id":186963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:43:45] local.INFO: TCP Data received {"connection_id":186964,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:43:45] local.INFO: Processing buffer {"connection_id":186964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:43:45] local.INFO: IMEI packet received {"connection_id":186964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":186964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:43:46] local.INFO: TCP Data received {"connection_id":186964,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:43:46] local.INFO: Processing buffer {"connection_id":186964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:43:46] local.INFO: Packet analysis {"connection_id":186964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:43:46] local.INFO: Extracted packet for processing {"connection_id":186964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":186964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:43:46] local.INFO: GPS data processed {"connection_id":186964,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:43:46] local.INFO: Acknowledgment sent {"connection_id":186964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:43:49] local.INFO: TCP Data received {"connection_id":185662,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:43:49] local.INFO: Processing buffer {"connection_id":185662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:43:49] local.INFO: IMEI packet received {"connection_id":185662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":185662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:43:50] local.INFO: TCP Data received {"connection_id":186964,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:43:50] local.INFO: Processing buffer {"connection_id":186964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:43:50] local.INFO: Packet analysis {"connection_id":186964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:43:50] local.INFO: Extracted packet for processing {"connection_id":186964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:43:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":186964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:43:51] local.INFO: GPS data processed {"connection_id":186964,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:43:51] local.INFO: Acknowledgment sent {"connection_id":186964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:44:14] local.INFO: TCP Data received {"connection_id":185516,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:44:14] local.INFO: Processing buffer {"connection_id":185516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:44:14] local.INFO: IMEI packet received {"connection_id":185516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":185516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:44:19] local.INFO: TCP Data received {"connection_id":185516,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:44:19] local.INFO: Processing buffer {"connection_id":185516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:44:19] local.INFO: IMEI packet received {"connection_id":185516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":185516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:44:21] local.INFO: TCP Data received {"connection_id":185516,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:44:21] local.INFO: Processing buffer {"connection_id":185516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:44:21] local.INFO: Packet analysis {"connection_id":185516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:44:21] local.INFO: Extracted packet for processing {"connection_id":185516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:44:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":185516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:44:21] local.INFO: GPS data processed {"connection_id":185516,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:44:21] local.INFO: Acknowledgment sent {"connection_id":185516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:44:35] local.INFO: TCP Data received {"connection_id":188295,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:44:35] local.INFO: Processing buffer {"connection_id":188295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:44:35] local.INFO: IMEI packet received {"connection_id":188295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":188295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:44:40] local.INFO: TCP Data received {"connection_id":188295,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:44:40] local.INFO: Processing buffer {"connection_id":188295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:44:40] local.INFO: IMEI packet received {"connection_id":188295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":188295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:44:41] local.INFO: TCP Data received {"connection_id":188295,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:44:41] local.INFO: Processing buffer {"connection_id":188295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:44:41] local.INFO: Packet analysis {"connection_id":188295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:44:41] local.INFO: Extracted packet for processing {"connection_id":188295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:44:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":188295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:44:41] local.INFO: GPS data processed {"connection_id":188295,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:44:41] local.INFO: Acknowledgment sent {"connection_id":188295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:44:52] local.INFO: TCP Data received {"connection_id":185516,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:44:52] local.INFO: Processing buffer {"connection_id":185516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:44:52] local.INFO: Packet analysis {"connection_id":185516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:44:52] local.INFO: Extracted packet for processing {"connection_id":185516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:44:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":185516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:44:52] local.INFO: GPS data processed {"connection_id":185516,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:44:52] local.INFO: Acknowledgment sent {"connection_id":185516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:45:12] local.INFO: TCP Data received {"connection_id":188295,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:45:12] local.INFO: Processing buffer {"connection_id":188295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:45:12] local.INFO: Packet analysis {"connection_id":188295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:45:12] local.INFO: Extracted packet for processing {"connection_id":188295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:45:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":188295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:45:13] local.INFO: GPS data processed {"connection_id":188295,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:45:13] local.INFO: Acknowledgment sent {"connection_id":188295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:45:14] local.INFO: TCP Data received {"connection_id":185663,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:45:14] local.INFO: Processing buffer {"connection_id":185663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:45:14] local.INFO: IMEI packet received {"connection_id":185663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":185663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:45:19] local.INFO: TCP Data received {"connection_id":185663,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:45:19] local.INFO: Processing buffer {"connection_id":185663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:45:19] local.INFO: IMEI packet received {"connection_id":185663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":185663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:45:21] local.INFO: TCP Data received {"connection_id":185663,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:45:21] local.INFO: Processing buffer {"connection_id":185663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:45:21] local.INFO: Packet analysis {"connection_id":185663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:45:21] local.INFO: Extracted packet for processing {"connection_id":185663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":185663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:45:21] local.INFO: GPS data processed {"connection_id":185663,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:45:21] local.INFO: Acknowledgment sent {"connection_id":185663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:45:35] local.INFO: TCP Data received {"connection_id":185664,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:45:35] local.INFO: Processing buffer {"connection_id":185664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:45:35] local.INFO: IMEI packet received {"connection_id":185664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":185664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:45:40] local.INFO: TCP Data received {"connection_id":185664,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:45:40] local.INFO: Processing buffer {"connection_id":185664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:45:40] local.INFO: IMEI packet received {"connection_id":185664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":185664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:45:41] local.INFO: TCP Data received {"connection_id":185664,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:45:41] local.INFO: Processing buffer {"connection_id":185664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:45:41] local.INFO: Packet analysis {"connection_id":185664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:45:41] local.INFO: Extracted packet for processing {"connection_id":185664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:45:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":185664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:45:41] local.INFO: GPS data processed {"connection_id":185664,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:45:41] local.INFO: Acknowledgment sent {"connection_id":185664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:45:53] local.INFO: TCP Data received {"connection_id":185663,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:45:53] local.INFO: Processing buffer {"connection_id":185663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:45:53] local.INFO: Packet analysis {"connection_id":185663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:45:53] local.INFO: Extracted packet for processing {"connection_id":185663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":185663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:45:53] local.INFO: GPS data processed {"connection_id":185663,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:45:53] local.INFO: Acknowledgment sent {"connection_id":185663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:46:12] local.INFO: TCP Data received {"connection_id":185664,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:46:12] local.INFO: Processing buffer {"connection_id":185664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:46:12] local.INFO: Packet analysis {"connection_id":185664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:46:12] local.INFO: Extracted packet for processing {"connection_id":185664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:46:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":185664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:46:12] local.INFO: GPS data processed {"connection_id":185664,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:46:12] local.INFO: Acknowledgment sent {"connection_id":185664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:46:14] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:46:14] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:46:14] local.INFO: IMEI packet received {"connection_id":188297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":188297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:46:19] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:46:19] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:46:19] local.INFO: IMEI packet received {"connection_id":188297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":188297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:46:20] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:46:20] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:46:20] local.INFO: Packet analysis {"connection_id":188297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:46:20] local.INFO: Extracted packet for processing {"connection_id":188297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":188297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:46:21] local.INFO: GPS data processed {"connection_id":188297,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:46:21] local.INFO: Acknowledgment sent {"connection_id":188297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:46:35] local.INFO: TCP Data received {"connection_id":186966,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:46:35] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:46:35] local.INFO: IMEI packet received {"connection_id":186966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":186966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:46:40] local.INFO: TCP Data received {"connection_id":186966,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:46:40] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:46:40] local.INFO: IMEI packet received {"connection_id":186966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":186966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:46:41] local.INFO: TCP Data received {"connection_id":186966,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:46:41] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:46:41] local.INFO: Packet analysis {"connection_id":186966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:46:41] local.INFO: Extracted packet for processing {"connection_id":186966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:46:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":186966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:46:41] local.INFO: GPS data processed {"connection_id":186966,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:46:41] local.INFO: Acknowledgment sent {"connection_id":186966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:46:52] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:46:52] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:46:52] local.INFO: Packet analysis {"connection_id":188297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:46:52] local.INFO: Extracted packet for processing {"connection_id":188297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":188297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:46:52] local.INFO: GPS data processed {"connection_id":188297,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:46:52] local.INFO: Acknowledgment sent {"connection_id":188297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:47:12] local.INFO: TCP Data received {"connection_id":186966,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:47:12] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:47:12] local.INFO: Packet analysis {"connection_id":186966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:47:12] local.INFO: Extracted packet for processing {"connection_id":186966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:47:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":186966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:47:12] local.INFO: GPS data processed {"connection_id":186966,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:47:12] local.INFO: Acknowledgment sent {"connection_id":186966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:47:14] local.INFO: TCP Data received {"connection_id":185517,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:47:14] local.INFO: Processing buffer {"connection_id":185517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:47:14] local.INFO: IMEI packet received {"connection_id":185517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":185517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:47:19] local.INFO: TCP Data received {"connection_id":185517,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:47:19] local.INFO: Processing buffer {"connection_id":185517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:47:19] local.INFO: IMEI packet received {"connection_id":185517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":185517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:47:20] local.INFO: TCP Data received {"connection_id":185517,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:47:20] local.INFO: Processing buffer {"connection_id":185517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb59888012d34c14006aa4440000a011829..."} 
[2026-09-17 19:47:20] local.INFO: Packet analysis {"connection_id":185517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:47:20] local.INFO: Extracted packet for processing {"connection_id":185517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb5"} 
[2026-09-17 19:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151426048001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789654309000,"timestamp_ms":1789654309000,"timestamp_seconds":1789654309,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb59888"} 
[2026-09-17 19:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151426048001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151426048001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151426048001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":185517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:47:21] local.INFO: GPS data processed {"connection_id":185517,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:47:21] local.INFO: Acknowledgment sent {"connection_id":185517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:47:40] local.INFO: TCP Data received {"connection_id":186968,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:47:40] local.INFO: Processing buffer {"connection_id":186968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:47:40] local.INFO: IMEI packet received {"connection_id":186968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":186968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:47:45] local.INFO: TCP Data received {"connection_id":186968,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:47:45] local.INFO: Processing buffer {"connection_id":186968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:47:45] local.INFO: IMEI packet received {"connection_id":186968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":186968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:47:46] local.INFO: TCP Data received {"connection_id":186968,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:47:46] local.INFO: Processing buffer {"connection_id":186968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:47:46] local.INFO: Packet analysis {"connection_id":186968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:47:46] local.INFO: Extracted packet for processing {"connection_id":186968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":186968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:47:46] local.INFO: GPS data processed {"connection_id":186968,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:47:46] local.INFO: Acknowledgment sent {"connection_id":186968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:47:50] local.INFO: TCP Data received {"connection_id":186968,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:47:50] local.INFO: Processing buffer {"connection_id":186968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afb63c98012d196580071fef78003c010927..."} 
[2026-09-17 19:47:50] local.INFO: Packet analysis {"connection_id":186968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:47:50] local.INFO: Extracted packet for processing {"connection_id":186968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afb6"} 
[2026-09-17 19:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151436800001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789654351000,"timestamp_ms":1789654351000,"timestamp_seconds":1789654351,"priority":1,"record_length":96,"hex_timestamp":"000001a0afb63c98"} 
[2026-09-17 19:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151436800001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151436800001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:47:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151436800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":186968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:47:51] local.INFO: GPS data processed {"connection_id":186968,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:47:51] local.INFO: Acknowledgment sent {"connection_id":186968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:47:52] local.INFO: TCP Data received {"connection_id":185517,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:47:52] local.INFO: Processing buffer {"connection_id":185517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:47:52] local.INFO: Packet analysis {"connection_id":185517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:47:52] local.INFO: Extracted packet for processing {"connection_id":185517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":185517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:47:52] local.INFO: GPS data processed {"connection_id":185517,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:47:52] local.INFO: Acknowledgment sent {"connection_id":185517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:48:14] local.INFO: TCP Data received {"connection_id":185665,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:48:14] local.INFO: Processing buffer {"connection_id":185665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:48:14] local.INFO: IMEI packet received {"connection_id":185665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":185665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:48:19] local.INFO: TCP Data received {"connection_id":185665,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:48:19] local.INFO: Processing buffer {"connection_id":185665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:48:19] local.INFO: IMEI packet received {"connection_id":185665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":185665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:48:20] local.INFO: TCP Data received {"connection_id":185665,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:48:20] local.INFO: Processing buffer {"connection_id":185665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:48:20] local.INFO: Packet analysis {"connection_id":185665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:48:20] local.INFO: Extracted packet for processing {"connection_id":185665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:48:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":185665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:48:20] local.INFO: GPS data processed {"connection_id":185665,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:48:20] local.INFO: Acknowledgment sent {"connection_id":185665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:48:35] local.INFO: TCP Data received {"connection_id":185518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:48:35] local.INFO: Processing buffer {"connection_id":185518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:48:35] local.INFO: IMEI packet received {"connection_id":185518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":185518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:48:40] local.INFO: TCP Data received {"connection_id":185518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:48:40] local.INFO: Processing buffer {"connection_id":185518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:48:40] local.INFO: IMEI packet received {"connection_id":185518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":185518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:48:41] local.INFO: TCP Data received {"connection_id":185518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:48:41] local.INFO: Processing buffer {"connection_id":185518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:48:41] local.INFO: Packet analysis {"connection_id":185518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:48:41] local.INFO: Extracted packet for processing {"connection_id":185518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151513856001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654652000,"timestamp_ms":1789654652000,"timestamp_seconds":1789654652,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbad460"} 
[2026-09-17 19:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151513856001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151513856001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:48:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151513856001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":185518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:48:41] local.INFO: GPS data processed {"connection_id":185518,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:48:41] local.INFO: Acknowledgment sent {"connection_id":185518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:48:52] local.INFO: TCP Data received {"connection_id":185665,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:48:52] local.INFO: Processing buffer {"connection_id":185665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:48:52] local.INFO: Packet analysis {"connection_id":185665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:48:52] local.INFO: Extracted packet for processing {"connection_id":185665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:48:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":185665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:48:52] local.INFO: GPS data processed {"connection_id":185665,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:48:52] local.INFO: Acknowledgment sent {"connection_id":185665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:49:12] local.INFO: TCP Data received {"connection_id":185518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:49:12] local.INFO: Processing buffer {"connection_id":185518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:49:12] local.INFO: Packet analysis {"connection_id":185518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:49:12] local.INFO: Extracted packet for processing {"connection_id":185518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151513856001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654652000,"timestamp_ms":1789654652000,"timestamp_seconds":1789654652,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbad460"} 
[2026-09-17 19:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151513856001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151513856001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:49:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151513856001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":185518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:49:12] local.INFO: GPS data processed {"connection_id":185518,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:49:12] local.INFO: Acknowledgment sent {"connection_id":185518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:49:17] local.INFO: TCP Data received {"connection_id":185666,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:49:17] local.INFO: Processing buffer {"connection_id":185666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:49:17] local.INFO: IMEI packet received {"connection_id":185666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":185666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:49:18] local.INFO: TCP Data received {"connection_id":185519,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:49:18] local.INFO: Processing buffer {"connection_id":185519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:49:18] local.INFO: IMEI packet received {"connection_id":185519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":185519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:49:19] local.INFO: TCP Data received {"connection_id":185666,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:49:19] local.INFO: Processing buffer {"connection_id":185666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:49:19] local.INFO: IMEI packet received {"connection_id":185666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":185666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:49:21] local.INFO: TCP Data received {"connection_id":185666,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:49:21] local.INFO: Processing buffer {"connection_id":185666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:49:21] local.INFO: Packet analysis {"connection_id":185666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:49:21] local.INFO: Extracted packet for processing {"connection_id":185666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:49:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":185666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:49:21] local.INFO: GPS data processed {"connection_id":185666,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:49:21] local.INFO: Acknowledgment sent {"connection_id":185666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:49:25] local.INFO: TCP Data received {"connection_id":185666,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:49:25] local.INFO: Processing buffer {"connection_id":185666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:49:25] local.INFO: Packet analysis {"connection_id":185666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:49:25] local.INFO: Extracted packet for processing {"connection_id":185666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":185666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:49:25] local.INFO: GPS data processed {"connection_id":185666,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:49:25] local.INFO: Acknowledgment sent {"connection_id":185666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:49:35] local.INFO: TCP Data received {"connection_id":185667,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:49:35] local.INFO: Processing buffer {"connection_id":185667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:49:35] local.INFO: IMEI packet received {"connection_id":185667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":185667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:49:40] local.INFO: TCP Data received {"connection_id":185667,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:49:40] local.INFO: Processing buffer {"connection_id":185667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:49:40] local.INFO: IMEI packet received {"connection_id":185667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":185667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:49:41] local.INFO: TCP Data received {"connection_id":185667,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:49:41] local.INFO: Processing buffer {"connection_id":185667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:49:41] local.INFO: Packet analysis {"connection_id":185667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:49:41] local.INFO: Extracted packet for processing {"connection_id":185667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151513856001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654652000,"timestamp_ms":1789654652000,"timestamp_seconds":1789654652,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbad460"} 
[2026-09-17 19:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151513856001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151513856001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:49:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151513856001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":185667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:49:41] local.INFO: GPS data processed {"connection_id":185667,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:49:41] local.INFO: Acknowledgment sent {"connection_id":185667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:49:54] local.INFO: TCP Data received {"connection_id":185520,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:49:54] local.INFO: Processing buffer {"connection_id":185520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:49:54] local.INFO: IMEI packet received {"connection_id":185520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":185520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:50:10] local.INFO: TCP Data received {"connection_id":185666,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:50:10] local.INFO: Processing buffer {"connection_id":185666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:50:10] local.INFO: Packet analysis {"connection_id":185666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:10] local.INFO: Extracted packet for processing {"connection_id":185666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:50:10] 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-09-17 19:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":185666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:50:10] local.INFO: GPS data processed {"connection_id":185666,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:50:10] local.INFO: Acknowledgment sent {"connection_id":185666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:50:12] local.INFO: TCP Data received {"connection_id":185667,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:50:12] local.INFO: Processing buffer {"connection_id":185667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:50:12] local.INFO: Packet analysis {"connection_id":185667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:12] local.INFO: Extracted packet for processing {"connection_id":185667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151513856001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654652000,"timestamp_ms":1789654652000,"timestamp_seconds":1789654652,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbad460"} 
[2026-09-17 19:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151513856001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151513856001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:50:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151513856001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":185667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:50:12] local.INFO: GPS data processed {"connection_id":185667,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:50:12] local.INFO: Acknowledgment sent {"connection_id":185667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:50:19] local.INFO: TCP Data received {"connection_id":188298,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:50:19] local.INFO: Processing buffer {"connection_id":188298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:50:19] local.INFO: IMEI packet received {"connection_id":188298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":188298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:50:21] local.INFO: TCP Data received {"connection_id":188298,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:50:21] local.INFO: Processing buffer {"connection_id":188298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:50:21] local.INFO: IMEI packet received {"connection_id":188298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":188298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:50:22] local.INFO: TCP Data received {"connection_id":188298,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:50:22] local.INFO: Processing buffer {"connection_id":188298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:50:22] local.INFO: Packet analysis {"connection_id":188298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:22] local.INFO: Extracted packet for processing {"connection_id":188298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":188298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:50:22] local.INFO: GPS data processed {"connection_id":188298,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:50:22] local.INFO: Acknowledgment sent {"connection_id":188298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:50:26] local.INFO: TCP Data received {"connection_id":188298,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:50:26] local.INFO: Processing buffer {"connection_id":188298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:50:26] local.INFO: Packet analysis {"connection_id":188298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:26] local.INFO: Extracted packet for processing {"connection_id":188298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:50:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":188298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:50:26] local.INFO: GPS data processed {"connection_id":188298,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:50:26] local.INFO: Acknowledgment sent {"connection_id":188298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:50:35] local.INFO: TCP Data received {"connection_id":186970,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:50:35] local.INFO: Processing buffer {"connection_id":186970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:50:35] local.INFO: IMEI packet received {"connection_id":186970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":186970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:50:40] local.INFO: TCP Data received {"connection_id":186970,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:50:40] local.INFO: Processing buffer {"connection_id":186970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:50:40] local.INFO: IMEI packet received {"connection_id":186970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":186970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:50:41] local.INFO: TCP Data received {"connection_id":186970,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:50:41] local.INFO: Processing buffer {"connection_id":186970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:50:41] local.INFO: Packet analysis {"connection_id":186970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:41] local.INFO: Extracted packet for processing {"connection_id":186970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151513856001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654652000,"timestamp_ms":1789654652000,"timestamp_seconds":1789654652,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbad460"} 
[2026-09-17 19:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151513856001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151513856001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:50:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151513856001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":186970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:50:41] local.INFO: GPS data processed {"connection_id":186970,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:50:41] local.INFO: Acknowledgment sent {"connection_id":186970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:51:13] local.INFO: TCP Data received {"connection_id":186970,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:51:13] local.INFO: Processing buffer {"connection_id":186970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:51:13] local.INFO: Packet analysis {"connection_id":186970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:13] local.INFO: Extracted packet for processing {"connection_id":186970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151513856001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789654652000,"timestamp_ms":1789654652000,"timestamp_seconds":1789654652,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbad460"} 
[2026-09-17 19:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151513856001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151513856001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:51:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151513856001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":186970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:51:13] local.INFO: GPS data processed {"connection_id":186970,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:51:13] local.INFO: Acknowledgment sent {"connection_id":186970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:51:15] local.INFO: TCP Data received {"connection_id":188298,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:51:15] local.INFO: Processing buffer {"connection_id":188298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:51:15] local.INFO: Packet analysis {"connection_id":188298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:15] local.INFO: Extracted packet for processing {"connection_id":188298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":188298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:51:16] local.INFO: GPS data processed {"connection_id":188298,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:51:16] local.INFO: Acknowledgment sent {"connection_id":188298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:51:19] local.INFO: TCP Data received {"connection_id":185668,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:51:19] local.INFO: Processing buffer {"connection_id":185668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:51:19] local.INFO: IMEI packet received {"connection_id":185668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":185668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:51:24] local.INFO: TCP Data received {"connection_id":185668,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:51:24] local.INFO: Processing buffer {"connection_id":185668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:51:24] local.INFO: IMEI packet received {"connection_id":185668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":185668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:51:25] local.INFO: TCP Data received {"connection_id":185668,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:51:25] local.INFO: Processing buffer {"connection_id":185668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:51:25] local.INFO: Packet analysis {"connection_id":185668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:25] local.INFO: Extracted packet for processing {"connection_id":185668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":185668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:51:25] local.INFO: GPS data processed {"connection_id":185668,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:51:25] local.INFO: Acknowledgment sent {"connection_id":185668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:51:35] local.INFO: TCP Data received {"connection_id":185669,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:51:35] local.INFO: Processing buffer {"connection_id":185669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:51:35] local.INFO: IMEI packet received {"connection_id":185669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":185669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:51:40] local.INFO: TCP Data received {"connection_id":185669,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:51:40] local.INFO: Processing buffer {"connection_id":185669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:51:40] local.INFO: IMEI packet received {"connection_id":185669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":185669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:51:41] local.INFO: TCP Data received {"connection_id":185669,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:51:41] local.INFO: Processing buffer {"connection_id":185669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:51:41] local.INFO: Packet analysis {"connection_id":185669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:41] local.INFO: Extracted packet for processing {"connection_id":185669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:51: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-09-17 19:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151513856001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654652000,"timestamp_ms":1789654652000,"timestamp_seconds":1789654652,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbad460"} 
[2026-09-17 19:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:51: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-09-17 19:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151513856001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151513856001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:51:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151513856001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":185669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:51:41] local.INFO: GPS data processed {"connection_id":185669,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:51:41] local.INFO: Acknowledgment sent {"connection_id":185669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:51:57] local.INFO: TCP Data received {"connection_id":185668,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:51:57] local.INFO: Processing buffer {"connection_id":185668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:51:57] local.INFO: Packet analysis {"connection_id":185668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:57] local.INFO: Extracted packet for processing {"connection_id":185668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:51:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":185668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":185668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:51:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":185668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:51:57] local.INFO: GPS data processed {"connection_id":185668,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:51:57] local.INFO: Acknowledgment sent {"connection_id":185668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:52:12] local.INFO: TCP Data received {"connection_id":185669,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:52:12] local.INFO: Processing buffer {"connection_id":185669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:52:12] local.INFO: Packet analysis {"connection_id":185669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:52:12] local.INFO: Extracted packet for processing {"connection_id":185669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151513856001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654652000,"timestamp_ms":1789654652000,"timestamp_seconds":1789654652,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbad460"} 
[2026-09-17 19:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151513856001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151513856001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:52:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151513856001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":185669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:52:12] local.INFO: GPS data processed {"connection_id":185669,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:52:12] local.INFO: Acknowledgment sent {"connection_id":185669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:52:14] local.INFO: TCP Data received {"connection_id":186972,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:52:14] local.INFO: Processing buffer {"connection_id":186972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:52:14] local.INFO: IMEI packet received {"connection_id":186972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:52:19] local.INFO: TCP Data received {"connection_id":186972,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:52:19] local.INFO: Processing buffer {"connection_id":186972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:52:19] local.INFO: IMEI packet received {"connection_id":186972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":186972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:52:21] local.INFO: TCP Data received {"connection_id":186972,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:52:21] local.INFO: Processing buffer {"connection_id":186972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afba3050012d34c14006aa4440000a011828..."} 
[2026-09-17 19:52:21] local.INFO: Packet analysis {"connection_id":186972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:52:21] local.INFO: Extracted packet for processing {"connection_id":186972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151503104001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654610000,"timestamp_ms":1789654610000,"timestamp_seconds":1789654610,"priority":1,"record_length":96,"hex_timestamp":"000001a0afba3050"} 
[2026-09-17 19:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 19:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151503104001,"66":25625,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151503104001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151503104001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":186972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:52:21] local.INFO: GPS data processed {"connection_id":186972,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:52:21] local.INFO: Acknowledgment sent {"connection_id":186972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:52:35] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:52:35] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:52:35] local.INFO: IMEI packet received {"connection_id":188300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":188300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:52:40] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:52:40] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:52:40] local.INFO: IMEI packet received {"connection_id":188300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":188300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:52:41] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:52:41] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbad460012d196580071fef78003c010927..."} 
[2026-09-17 19:52:41] local.INFO: Packet analysis {"connection_id":188300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:52:41] local.INFO: Extracted packet for processing {"connection_id":188300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afba"} 
[2026-09-17 19:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151513856001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654652000,"timestamp_ms":1789654652000,"timestamp_seconds":1789654652,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbad460"} 
[2026-09-17 19:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 19:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151513856001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151513856001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:52:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151513856001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":188300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:52:41] local.INFO: GPS data processed {"connection_id":188300,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:52:41] local.INFO: Acknowledgment sent {"connection_id":188300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:52:52] local.INFO: TCP Data received {"connection_id":186972,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:52:52] local.INFO: Processing buffer {"connection_id":186972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:52:52] local.INFO: Packet analysis {"connection_id":186972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:52:52] local.INFO: Extracted packet for processing {"connection_id":186972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":186972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:52:52] local.INFO: GPS data processed {"connection_id":186972,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:52:52] local.INFO: Acknowledgment sent {"connection_id":186972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:53:12] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:53:12] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:53:12] local.INFO: Packet analysis {"connection_id":188300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:53:12] local.INFO: Extracted packet for processing {"connection_id":188300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 19:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:53:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":188300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:53:12] local.INFO: GPS data processed {"connection_id":188300,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:53:12] local.INFO: Acknowledgment sent {"connection_id":188300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:53:19] local.INFO: TCP Data received {"connection_id":188302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:53:19] local.INFO: Processing buffer {"connection_id":188302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:53:19] local.INFO: IMEI packet received {"connection_id":188302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":188302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:53:24] local.INFO: TCP Data received {"connection_id":188302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:53:24] local.INFO: Processing buffer {"connection_id":188302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:53:24] local.INFO: IMEI packet received {"connection_id":188302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":188302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:53:26] local.INFO: TCP Data received {"connection_id":188302,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:53:26] local.INFO: Processing buffer {"connection_id":188302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:53:26] local.INFO: Packet analysis {"connection_id":188302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:53:26] local.INFO: Extracted packet for processing {"connection_id":188302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:53:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":188302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:53:26] local.INFO: GPS data processed {"connection_id":188302,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:53:26] local.INFO: Acknowledgment sent {"connection_id":188302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:53:30] local.INFO: TCP Data received {"connection_id":188302,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:53:30] local.INFO: Processing buffer {"connection_id":188302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:53:30] local.INFO: Packet analysis {"connection_id":188302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:53:30] local.INFO: Extracted packet for processing {"connection_id":188302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:53:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":188302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:53:30] local.INFO: GPS data processed {"connection_id":188302,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:53:30] local.INFO: Acknowledgment sent {"connection_id":188302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:53:40] local.INFO: TCP Data received {"connection_id":185521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:53:40] local.INFO: Processing buffer {"connection_id":185521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:53:40] local.INFO: IMEI packet received {"connection_id":185521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":185521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:53:45] local.INFO: TCP Data received {"connection_id":185521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:53:45] local.INFO: Processing buffer {"connection_id":185521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:53:45] local.INFO: IMEI packet received {"connection_id":185521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":185521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:53:46] local.INFO: TCP Data received {"connection_id":185521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:53:46] local.INFO: Processing buffer {"connection_id":185521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:53:46] local.INFO: Packet analysis {"connection_id":185521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:53:46] local.INFO: Extracted packet for processing {"connection_id":185521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:53:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":185521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:53:46] local.INFO: GPS data processed {"connection_id":185521,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:53:46] local.INFO: Acknowledgment sent {"connection_id":185521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:54:14] local.INFO: TCP Data received {"connection_id":185522,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:54:14] local.INFO: Processing buffer {"connection_id":185522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:54:14] local.INFO: IMEI packet received {"connection_id":185522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":185522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:54:17] local.INFO: TCP Data received {"connection_id":185521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:54:17] local.INFO: Processing buffer {"connection_id":185521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:54:17] local.INFO: Packet analysis {"connection_id":185521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:54:17] local.INFO: Extracted packet for processing {"connection_id":185521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":185521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":185521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":185521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:54:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":185521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:54:17] local.INFO: GPS data processed {"connection_id":185521,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:54:17] local.INFO: Acknowledgment sent {"connection_id":185521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:54:19] local.INFO: TCP Data received {"connection_id":185522,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:54:19] local.INFO: Processing buffer {"connection_id":185522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:54:19] local.INFO: IMEI packet received {"connection_id":185522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":185522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:54:21] local.INFO: TCP Data received {"connection_id":185522,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:54:21] local.INFO: Processing buffer {"connection_id":185522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:54:21] local.INFO: Packet analysis {"connection_id":185522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:54:21] local.INFO: Extracted packet for processing {"connection_id":185522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":185522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:54:21] local.INFO: GPS data processed {"connection_id":185522,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:54:21] local.INFO: Acknowledgment sent {"connection_id":185522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:54:35] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:54:35] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:54:35] local.INFO: IMEI packet received {"connection_id":188303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":188303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:54:40] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:54:40] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:54:40] local.INFO: IMEI packet received {"connection_id":188303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":188303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:54:41] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:54:41] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:54:41] local.INFO: Packet analysis {"connection_id":188303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:54:41] local.INFO: Extracted packet for processing {"connection_id":188303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:54:41] 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-09-17 19:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:54:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:54:41] local.INFO: GPS data processed {"connection_id":188303,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:54:41] local.INFO: Acknowledgment sent {"connection_id":188303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:54:52] local.INFO: TCP Data received {"connection_id":185522,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:54:52] local.INFO: Processing buffer {"connection_id":185522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:54:52] local.INFO: Packet analysis {"connection_id":185522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:54:52] local.INFO: Extracted packet for processing {"connection_id":185522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":185522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:54:52] local.INFO: GPS data processed {"connection_id":185522,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:54:52] local.INFO: Acknowledgment sent {"connection_id":185522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:55:11] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:55:11] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:55:11] local.INFO: Packet analysis {"connection_id":188303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:55:11] local.INFO: Extracted packet for processing {"connection_id":188303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:55:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":188303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:55:12] local.INFO: GPS data processed {"connection_id":188303,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:55:12] local.INFO: Acknowledgment sent {"connection_id":188303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:55:17] local.INFO: TCP Data received {"connection_id":188304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:55:17] local.INFO: Processing buffer {"connection_id":188304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:55:17] local.INFO: IMEI packet received {"connection_id":188304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":188304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:55:19] local.INFO: TCP Data received {"connection_id":188304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:55:19] local.INFO: Processing buffer {"connection_id":188304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:55:19] local.INFO: IMEI packet received {"connection_id":188304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":188304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:55:20] local.INFO: TCP Data received {"connection_id":186973,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:55:20] local.INFO: Processing buffer {"connection_id":186973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:55:20] local.INFO: IMEI packet received {"connection_id":186973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":186973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:55:21] local.INFO: TCP Data received {"connection_id":188304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:55:21] local.INFO: Processing buffer {"connection_id":188304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:55:21] local.INFO: Packet analysis {"connection_id":188304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:55:21] local.INFO: Extracted packet for processing {"connection_id":188304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":188304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:55:21] local.INFO: GPS data processed {"connection_id":188304,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:55:21] local.INFO: Acknowledgment sent {"connection_id":188304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:55:26] local.INFO: TCP Data received {"connection_id":188304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:55:26] local.INFO: Processing buffer {"connection_id":188304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:55:26] local.INFO: Packet analysis {"connection_id":188304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:55:26] local.INFO: Extracted packet for processing {"connection_id":188304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:55:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":188304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:55:26] local.INFO: GPS data processed {"connection_id":188304,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:55:26] local.INFO: Acknowledgment sent {"connection_id":188304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:55:35] local.INFO: TCP Data received {"connection_id":185523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:55:35] local.INFO: Processing buffer {"connection_id":185523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:55:35] local.INFO: IMEI packet received {"connection_id":185523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":185523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:55:40] local.INFO: TCP Data received {"connection_id":185523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:55:40] local.INFO: Processing buffer {"connection_id":185523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:55:40] local.INFO: IMEI packet received {"connection_id":185523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":185523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:55:41] local.INFO: TCP Data received {"connection_id":185523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:55:41] local.INFO: Processing buffer {"connection_id":185523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:55:41] local.INFO: Packet analysis {"connection_id":185523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:55:41] local.INFO: Extracted packet for processing {"connection_id":185523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:55:41] 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-09-17 19:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:55:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":185523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:55:41] local.INFO: GPS data processed {"connection_id":185523,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:55:41] local.INFO: Acknowledgment sent {"connection_id":185523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:55:49] local.INFO: TCP Data received {"connection_id":185524,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:55:49] local.INFO: Processing buffer {"connection_id":185524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 19:55:49] local.INFO: IMEI packet received {"connection_id":185524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 19:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":185524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:55:58] local.INFO: TCP Data received {"connection_id":188304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:55:58] local.INFO: Processing buffer {"connection_id":188304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:55:58] local.INFO: Packet analysis {"connection_id":188304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:55:58] local.INFO: Extracted packet for processing {"connection_id":188304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:55:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":188304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:55:58] local.INFO: GPS data processed {"connection_id":188304,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:55:58] local.INFO: Acknowledgment sent {"connection_id":188304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:56:11] local.INFO: TCP Data received {"connection_id":185523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:56:11] local.INFO: Processing buffer {"connection_id":185523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:56:11] local.INFO: Packet analysis {"connection_id":185523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:56:11] local.INFO: Extracted packet for processing {"connection_id":185523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:56:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":185523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:56:12] local.INFO: GPS data processed {"connection_id":185523,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:56:12] local.INFO: Acknowledgment sent {"connection_id":185523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:56:14] local.INFO: TCP Data received {"connection_id":186974,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:56:14] local.INFO: Processing buffer {"connection_id":186974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:56:14] local.INFO: IMEI packet received {"connection_id":186974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":186974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:56:19] local.INFO: TCP Data received {"connection_id":186974,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:56:19] local.INFO: Processing buffer {"connection_id":186974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:56:19] local.INFO: IMEI packet received {"connection_id":186974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":186974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:56:21] local.INFO: TCP Data received {"connection_id":186974,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:56:21] local.INFO: Processing buffer {"connection_id":186974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:56:21] local.INFO: Packet analysis {"connection_id":186974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:56:21] local.INFO: Extracted packet for processing {"connection_id":186974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":186974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:56:21] local.INFO: GPS data processed {"connection_id":186974,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:56:21] local.INFO: Acknowledgment sent {"connection_id":186974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:56:35] local.INFO: TCP Data received {"connection_id":185671,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:56:35] local.INFO: Processing buffer {"connection_id":185671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:56:35] local.INFO: IMEI packet received {"connection_id":185671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":185671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:56:40] local.INFO: TCP Data received {"connection_id":185671,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:56:40] local.INFO: Processing buffer {"connection_id":185671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:56:40] local.INFO: IMEI packet received {"connection_id":185671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":185671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:56:41] local.INFO: TCP Data received {"connection_id":185671,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:56:41] local.INFO: Processing buffer {"connection_id":185671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:56:41] local.INFO: Packet analysis {"connection_id":185671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:56:41] local.INFO: Extracted packet for processing {"connection_id":185671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:56:41] 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-09-17 19:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:56:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":185671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:56:41] local.INFO: GPS data processed {"connection_id":185671,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:56:41] local.INFO: Acknowledgment sent {"connection_id":185671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:56:52] local.INFO: TCP Data received {"connection_id":186974,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:56:52] local.INFO: Processing buffer {"connection_id":186974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:56:52] local.INFO: Packet analysis {"connection_id":186974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:56:52] local.INFO: Extracted packet for processing {"connection_id":186974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":186974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:56:52] local.INFO: GPS data processed {"connection_id":186974,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:56:52] local.INFO: Acknowledgment sent {"connection_id":186974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:57:11] local.INFO: TCP Data received {"connection_id":185671,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:57:11] local.INFO: Processing buffer {"connection_id":185671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:57:11] local.INFO: Packet analysis {"connection_id":185671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:57:11] local.INFO: Extracted packet for processing {"connection_id":185671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:57:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":185671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:57:12] local.INFO: GPS data processed {"connection_id":185671,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:57:12] local.INFO: Acknowledgment sent {"connection_id":185671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:57:14] local.INFO: TCP Data received {"connection_id":185672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:57:14] local.INFO: Processing buffer {"connection_id":185672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:57:14] local.INFO: IMEI packet received {"connection_id":185672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":185672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:57:19] local.INFO: TCP Data received {"connection_id":185672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:57:19] local.INFO: Processing buffer {"connection_id":185672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:57:19] local.INFO: IMEI packet received {"connection_id":185672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":185672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:57:20] local.INFO: TCP Data received {"connection_id":185672,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:57:20] local.INFO: Processing buffer {"connection_id":185672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbec818012d34c14006aa4440000a011827..."} 
[2026-09-17 19:57:20] local.INFO: Packet analysis {"connection_id":185672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:57:20] local.INFO: Extracted packet for processing {"connection_id":185672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbe"} 
[2026-09-17 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151580160001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789654911000,"timestamp_ms":1789654911000,"timestamp_seconds":1789654911,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbec818"} 
[2026-09-17 19:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-17 19:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151580160001,"66":25593,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151580160001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151580160001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":185672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:57:20] local.INFO: GPS data processed {"connection_id":185672,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:57:20] local.INFO: Acknowledgment sent {"connection_id":185672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:57:35] local.INFO: TCP Data received {"connection_id":185673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:57:35] local.INFO: Processing buffer {"connection_id":185673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:57:35] local.INFO: IMEI packet received {"connection_id":185673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":185673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:57:40] local.INFO: TCP Data received {"connection_id":185673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:57:40] local.INFO: Processing buffer {"connection_id":185673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:57:40] local.INFO: IMEI packet received {"connection_id":185673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":185673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:57:41] local.INFO: TCP Data received {"connection_id":185673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:57:41] local.INFO: Processing buffer {"connection_id":185673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:57:41] local.INFO: Packet analysis {"connection_id":185673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:57:41] local.INFO: Extracted packet for processing {"connection_id":185673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:57:41] 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-09-17 19:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:57:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":185673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:57:41] local.INFO: GPS data processed {"connection_id":185673,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:57:41] local.INFO: Acknowledgment sent {"connection_id":185673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:57:52] local.INFO: TCP Data received {"connection_id":185672,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:57:52] local.INFO: Processing buffer {"connection_id":185672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:57:52] local.INFO: Packet analysis {"connection_id":185672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:57:52] local.INFO: Extracted packet for processing {"connection_id":185672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 19:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":185672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:57:52] local.INFO: GPS data processed {"connection_id":185672,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:57:52] local.INFO: Acknowledgment sent {"connection_id":185672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:58:12] local.INFO: TCP Data received {"connection_id":185673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:58:12] local.INFO: Processing buffer {"connection_id":185673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afbf6c28012d196580071fef78003c010929..."} 
[2026-09-17 19:58:12] local.INFO: Packet analysis {"connection_id":185673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:58:12] local.INFO: Extracted packet for processing {"connection_id":185673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afbf"} 
[2026-09-17 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151590912001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789654953000,"timestamp_ms":1789654953000,"timestamp_seconds":1789654953,"priority":1,"record_length":96,"hex_timestamp":"000001a0afbf6c28"} 
[2026-09-17 19:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 19:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151590912001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151590912001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:58:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:58:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151590912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":185673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:58:12] local.INFO: GPS data processed {"connection_id":185673,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:58:12] local.INFO: Acknowledgment sent {"connection_id":185673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:58:14] local.INFO: TCP Data received {"connection_id":185525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:58:14] local.INFO: Processing buffer {"connection_id":185525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:58:14] local.INFO: IMEI packet received {"connection_id":185525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":185525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:58:19] local.INFO: TCP Data received {"connection_id":185525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:58:19] local.INFO: Processing buffer {"connection_id":185525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:58:19] local.INFO: IMEI packet received {"connection_id":185525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":185525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:58:21] local.INFO: TCP Data received {"connection_id":185525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:58:21] local.INFO: Processing buffer {"connection_id":185525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:58:21] local.INFO: Packet analysis {"connection_id":185525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:58:21] local.INFO: Extracted packet for processing {"connection_id":185525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 19:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":185525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:58:21] local.INFO: GPS data processed {"connection_id":185525,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:58:21] local.INFO: Acknowledgment sent {"connection_id":185525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:58:35] local.INFO: TCP Data received {"connection_id":188305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:58:35] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:58:35] local.INFO: IMEI packet received {"connection_id":188305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":188305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:58:40] local.INFO: TCP Data received {"connection_id":188305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:58:40] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:58:40] local.INFO: IMEI packet received {"connection_id":188305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":188305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:58:41] local.INFO: TCP Data received {"connection_id":188305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 19:58:41] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 19:58:41] local.INFO: Packet analysis {"connection_id":188305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 19:58:41] local.INFO: Extracted packet for processing {"connection_id":188305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:58: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-09-17 19:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 19:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:58: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-09-17 19:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:58:41] 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-09-17 19:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:58:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":188305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:58:41] local.INFO: GPS data processed {"connection_id":188305,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:58:41] local.INFO: Acknowledgment sent {"connection_id":188305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:58:52] local.INFO: TCP Data received {"connection_id":185525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:58:52] local.INFO: Processing buffer {"connection_id":185525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:58:52] local.INFO: Packet analysis {"connection_id":185525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:58:52] local.INFO: Extracted packet for processing {"connection_id":185525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 19:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":185525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:58:52] local.INFO: GPS data processed {"connection_id":185525,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:58:52] local.INFO: Acknowledgment sent {"connection_id":185525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:59:12] local.INFO: TCP Data received {"connection_id":188305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 19:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 19:59:12] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 19:59:12] local.INFO: Packet analysis {"connection_id":188305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 19:59:12] local.INFO: Extracted packet for processing {"connection_id":188305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 19:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 19:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:59:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":188305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:59:12] local.INFO: GPS data processed {"connection_id":188305,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:59:12] local.INFO: Acknowledgment sent {"connection_id":188305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:59:19] local.INFO: TCP Data received {"connection_id":186977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:59:19] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:59:19] local.INFO: IMEI packet received {"connection_id":186977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 19:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":186977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:59:19] local.INFO: TCP Data received {"connection_id":186977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:59:19] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 19:59:19] local.INFO: IMEI packet received {"connection_id":186977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 19:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":186977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:59:20] local.INFO: TCP Data received {"connection_id":186977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:59:20] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:59:20] local.INFO: Packet analysis {"connection_id":186977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:59:20] local.INFO: Extracted packet for processing {"connection_id":186977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 19:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":186977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:59:20] local.INFO: GPS data processed {"connection_id":186977,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:59:20] local.INFO: Acknowledgment sent {"connection_id":186977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:59:25] local.INFO: TCP Data received {"connection_id":186977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:59:25] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:59:25] local.INFO: Packet analysis {"connection_id":186977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:59:25] local.INFO: Extracted packet for processing {"connection_id":186977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 19:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":186977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:59:25] local.INFO: GPS data processed {"connection_id":186977,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:59:25] local.INFO: Acknowledgment sent {"connection_id":186977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:59:35] local.INFO: TCP Data received {"connection_id":185674,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:59:35] local.INFO: Processing buffer {"connection_id":185674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:59:35] local.INFO: IMEI packet received {"connection_id":185674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 19:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":185674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 19:59:40] local.INFO: TCP Data received {"connection_id":185674,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:59:40] local.INFO: Processing buffer {"connection_id":185674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 19:59:40] local.INFO: IMEI packet received {"connection_id":185674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 19:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":185674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 19:59:41] local.INFO: TCP Data received {"connection_id":185674,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 19:59:41] local.INFO: Processing buffer {"connection_id":185674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 19:59:41] local.INFO: Packet analysis {"connection_id":185674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 19:59:41] local.INFO: Extracted packet for processing {"connection_id":185674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 19:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 19: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-09-17 19:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 19:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 19:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 19:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19: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-09-17 19:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 19:59:41] 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-09-17 19:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 19:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 19:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 19:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 19:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 19:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:59:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 19:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 19:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 19:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 19:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":185674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:59:41] local.INFO: GPS data processed {"connection_id":185674,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:59:41] local.INFO: Acknowledgment sent {"connection_id":185674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 19:59:56] local.INFO: TCP Data received {"connection_id":186977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:59:56] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 19:59:56] local.INFO: Packet analysis {"connection_id":186977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:59:56] local.INFO: Extracted packet for processing {"connection_id":186977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 19:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 19:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 19:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 19:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 19:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 19:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 19:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 19:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 19:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 19:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 19:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 19:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 19:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 19:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 19:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 19:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 19:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 19:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 19:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 19:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 19:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 19:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 19:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 19:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 19:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 19:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 19:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":186977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 19:59:56] local.INFO: GPS data processed {"connection_id":186977,"processed":1,"errors":0,"total":1} 
[2026-09-17 19:59:56] local.INFO: Acknowledgment sent {"connection_id":186977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:00:12] local.INFO: TCP Data received {"connection_id":185674,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:00:12] local.INFO: Processing buffer {"connection_id":185674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:00:12] local.INFO: Packet analysis {"connection_id":185674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:00:12] local.INFO: Extracted packet for processing {"connection_id":185674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:00:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 20:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:00:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":185674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:00:12] local.INFO: GPS data processed {"connection_id":185674,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:00:12] local.INFO: Acknowledgment sent {"connection_id":185674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:00:14] local.INFO: TCP Data received {"connection_id":185527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:00:14] local.INFO: Processing buffer {"connection_id":185527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:00:14] local.INFO: IMEI packet received {"connection_id":185527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":185527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:00:19] local.INFO: TCP Data received {"connection_id":185527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:00:19] local.INFO: Processing buffer {"connection_id":185527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:00:19] local.INFO: IMEI packet received {"connection_id":185527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":185527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:00:21] local.INFO: TCP Data received {"connection_id":185527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:00:21] local.INFO: Processing buffer {"connection_id":185527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:00:21] local.INFO: Packet analysis {"connection_id":185527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:00:21] local.INFO: Extracted packet for processing {"connection_id":185527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 20:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 20:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":185527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:00:21] local.INFO: GPS data processed {"connection_id":185527,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:00:21] local.INFO: Acknowledgment sent {"connection_id":185527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:00:40] local.INFO: TCP Data received {"connection_id":185675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:00:40] local.INFO: Processing buffer {"connection_id":185675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:00:40] local.INFO: IMEI packet received {"connection_id":185675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":185675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:00:45] local.INFO: TCP Data received {"connection_id":185675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:00:45] local.INFO: Processing buffer {"connection_id":185675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:00:45] local.INFO: IMEI packet received {"connection_id":185675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":185675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:00:45] local.INFO: TCP Data received {"connection_id":185675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:00:45] local.INFO: Processing buffer {"connection_id":185675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:00:45] local.INFO: Packet analysis {"connection_id":185675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:00:45] local.INFO: Extracted packet for processing {"connection_id":185675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 20:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:00:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":185675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:00:46] local.INFO: GPS data processed {"connection_id":185675,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:00:46] local.INFO: Acknowledgment sent {"connection_id":185675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:00:50] local.INFO: TCP Data received {"connection_id":185675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:00:50] local.INFO: Processing buffer {"connection_id":185675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:00:50] local.INFO: Packet analysis {"connection_id":185675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:00:50] local.INFO: Extracted packet for processing {"connection_id":185675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 20:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:00:50] 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-09-17 20:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:00:50] 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-09-17 20:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:00:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":185675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:00:50] local.INFO: GPS data processed {"connection_id":185675,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:00:50] local.INFO: Acknowledgment sent {"connection_id":185675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:00:52] local.INFO: TCP Data received {"connection_id":185527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:00:52] local.INFO: Processing buffer {"connection_id":185527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:00:52] local.INFO: Packet analysis {"connection_id":185527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:00:52] local.INFO: Extracted packet for processing {"connection_id":185527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 20:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 20:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":185527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:00:52] local.INFO: GPS data processed {"connection_id":185527,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:00:52] local.INFO: Acknowledgment sent {"connection_id":185527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:01:09] local.INFO: TCP Data received {"connection_id":186978,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:01:09] local.INFO: Processing buffer {"connection_id":186978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:01:09] local.INFO: IMEI packet received {"connection_id":186978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":186978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:01:14] local.INFO: TCP Data received {"connection_id":186979,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:01:14] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:01:14] local.INFO: IMEI packet received {"connection_id":186979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":186979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:01:19] local.INFO: TCP Data received {"connection_id":186979,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:01:19] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:01:19] local.INFO: IMEI packet received {"connection_id":186979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":186979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:01:21] local.INFO: TCP Data received {"connection_id":186979,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:01:21] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:01:21] local.INFO: Packet analysis {"connection_id":186979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:01:21] local.INFO: Extracted packet for processing {"connection_id":186979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 20:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 20:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":186979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:01:21] local.INFO: GPS data processed {"connection_id":186979,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:01:21] local.INFO: Acknowledgment sent {"connection_id":186979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:01:35] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:01:35] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:01:35] local.INFO: IMEI packet received {"connection_id":188307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":188307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:01:40] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:01:40] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:01:40] local.INFO: IMEI packet received {"connection_id":188307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":188307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:01:41] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:01:41] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:01:41] local.INFO: Packet analysis {"connection_id":188307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:01:41] local.INFO: Extracted packet for processing {"connection_id":188307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 20:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:01:41] 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-09-17 20:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:01:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":188307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:01:41] local.INFO: GPS data processed {"connection_id":188307,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:01:41] local.INFO: Acknowledgment sent {"connection_id":188307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:01:45] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:01:45] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:01:45] local.INFO: Packet analysis {"connection_id":188307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:01:45] local.INFO: Extracted packet for processing {"connection_id":188307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 20:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:01:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":188307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:01:46] local.INFO: GPS data processed {"connection_id":188307,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:01:46] local.INFO: Acknowledgment sent {"connection_id":188307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:01:49] local.INFO: TCP Data received {"connection_id":185528,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:01:49] local.INFO: Processing buffer {"connection_id":185528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:01:49] local.INFO: IMEI packet received {"connection_id":185528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":185528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:01:52] local.INFO: TCP Data received {"connection_id":186979,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:01:52] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:01:52] local.INFO: Packet analysis {"connection_id":186979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:01:52] local.INFO: Extracted packet for processing {"connection_id":186979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 20:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 20:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":186979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:01:53] local.INFO: GPS data processed {"connection_id":186979,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:01:53] local.INFO: Acknowledgment sent {"connection_id":186979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:02:14] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:02:14] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:02:14] local.INFO: IMEI packet received {"connection_id":186980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":186980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:02:16] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:02:16] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:02:16] local.INFO: Packet analysis {"connection_id":188307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:02:16] local.INFO: Extracted packet for processing {"connection_id":188307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:02:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 20:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:02:16] 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-09-17 20:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:02:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:02:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":188307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:02:16] local.INFO: GPS data processed {"connection_id":188307,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:02:16] local.INFO: Acknowledgment sent {"connection_id":188307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:02:19] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:02:19] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:02:19] local.INFO: IMEI packet received {"connection_id":186980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":186980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:02:21] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:02:21] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc35fe0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:02:21] local.INFO: Packet analysis {"connection_id":186980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:02:21] local.INFO: Extracted packet for processing {"connection_id":186980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc3"} 
[2026-09-17 20:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151657216001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789655212000,"timestamp_ms":1789655212000,"timestamp_seconds":1789655212,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc35fe0"} 
[2026-09-17 20:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-17 20:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151657216001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151657216001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151657216001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":186980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:02:21] local.INFO: GPS data processed {"connection_id":186980,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:02:21] local.INFO: Acknowledgment sent {"connection_id":186980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:02:35] local.INFO: TCP Data received {"connection_id":185529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:02:35] local.INFO: Processing buffer {"connection_id":185529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:02:35] local.INFO: IMEI packet received {"connection_id":185529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":185529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:02:40] local.INFO: TCP Data received {"connection_id":185529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:02:40] local.INFO: Processing buffer {"connection_id":185529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:02:40] local.INFO: IMEI packet received {"connection_id":185529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":185529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:02:41] local.INFO: TCP Data received {"connection_id":185529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:02:41] local.INFO: Processing buffer {"connection_id":185529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:02:41] local.INFO: Packet analysis {"connection_id":185529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:02:41] local.INFO: Extracted packet for processing {"connection_id":185529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 20:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:02:41] 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-09-17 20:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:02:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":185529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:02:41] local.INFO: GPS data processed {"connection_id":185529,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:02:41] local.INFO: Acknowledgment sent {"connection_id":185529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:02:51] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:02:51] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:02:51] local.INFO: Packet analysis {"connection_id":186980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:02:51] local.INFO: Extracted packet for processing {"connection_id":186980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":186980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:02:51] local.INFO: GPS data processed {"connection_id":186980,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:02:51] local.INFO: Acknowledgment sent {"connection_id":186980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:03:11] local.INFO: TCP Data received {"connection_id":185529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:03:11] local.INFO: Processing buffer {"connection_id":185529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc403f0012d196580071fef78003c010929..."} 
[2026-09-17 20:03:11] local.INFO: Packet analysis {"connection_id":185529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:03:11] local.INFO: Extracted packet for processing {"connection_id":185529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc4"} 
[2026-09-17 20:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151667968001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789655254000,"timestamp_ms":1789655254000,"timestamp_seconds":1789655254,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc403f0"} 
[2026-09-17 20:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151667968001,"66":2144,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151667968001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:03:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151667968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":185529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:03:12] local.INFO: GPS data processed {"connection_id":185529,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:03:12] local.INFO: Acknowledgment sent {"connection_id":185529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:03:15] local.INFO: TCP Data received {"connection_id":185530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:03:15] local.INFO: Processing buffer {"connection_id":185530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:03:15] local.INFO: IMEI packet received {"connection_id":185530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":185530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:03:19] local.INFO: TCP Data received {"connection_id":185530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:03:19] local.INFO: Processing buffer {"connection_id":185530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:03:19] local.INFO: IMEI packet received {"connection_id":185530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":185530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:03:21] local.INFO: TCP Data received {"connection_id":185530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:03:21] local.INFO: Processing buffer {"connection_id":185530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:03:21] local.INFO: Packet analysis {"connection_id":185530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:03:21] local.INFO: Extracted packet for processing {"connection_id":185530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":185530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:03:21] local.INFO: GPS data processed {"connection_id":185530,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:03:21] local.INFO: Acknowledgment sent {"connection_id":185530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:03:35] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:03:35] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:03:35] local.INFO: IMEI packet received {"connection_id":188308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":188308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:03:40] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:03:40] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:03:40] local.INFO: IMEI packet received {"connection_id":188308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":188308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:03:41] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:03:41] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:03:41] local.INFO: Packet analysis {"connection_id":188308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:03:41] local.INFO: Extracted packet for processing {"connection_id":188308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:03:41] 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-09-17 20:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:03:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":188308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:03:41] local.INFO: GPS data processed {"connection_id":188308,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:03:41] local.INFO: Acknowledgment sent {"connection_id":188308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:03:52] local.INFO: TCP Data received {"connection_id":185530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:03:52] local.INFO: Processing buffer {"connection_id":185530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:03:52] local.INFO: Packet analysis {"connection_id":185530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:03:52] local.INFO: Extracted packet for processing {"connection_id":185530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":185530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:03:52] local.INFO: GPS data processed {"connection_id":185530,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:03:52] local.INFO: Acknowledgment sent {"connection_id":185530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:04:12] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:04:12] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:04:12] local.INFO: Packet analysis {"connection_id":188308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:04:12] local.INFO: Extracted packet for processing {"connection_id":188308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:04:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":188308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:04:12] local.INFO: GPS data processed {"connection_id":188308,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:04:12] local.INFO: Acknowledgment sent {"connection_id":188308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:04:14] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:04:14] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:04:14] local.INFO: IMEI packet received {"connection_id":186981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":186981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:04:19] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:04:19] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:04:19] local.INFO: IMEI packet received {"connection_id":186981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":186981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:04:20] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:04:20] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:04:20] local.INFO: Packet analysis {"connection_id":186981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:04:20] local.INFO: Extracted packet for processing {"connection_id":186981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":186981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:04:20] local.INFO: GPS data processed {"connection_id":186981,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:04:20] local.INFO: Acknowledgment sent {"connection_id":186981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:04:35] local.INFO: TCP Data received {"connection_id":186982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:04:35] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:04:35] local.INFO: IMEI packet received {"connection_id":186982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":186982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:04:40] local.INFO: TCP Data received {"connection_id":186982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:04:40] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:04:40] local.INFO: IMEI packet received {"connection_id":186982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":186982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:04:41] local.INFO: TCP Data received {"connection_id":186982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:04:41] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:04:41] local.INFO: Packet analysis {"connection_id":186982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:04:41] local.INFO: Extracted packet for processing {"connection_id":186982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:04:41] 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-09-17 20:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:04:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":186982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:04:41] local.INFO: GPS data processed {"connection_id":186982,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:04:41] local.INFO: Acknowledgment sent {"connection_id":186982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:04:51] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:04:51] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:04:51] local.INFO: Packet analysis {"connection_id":186981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:04:51] local.INFO: Extracted packet for processing {"connection_id":186981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":186981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:04:51] local.INFO: GPS data processed {"connection_id":186981,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:04:51] local.INFO: Acknowledgment sent {"connection_id":186981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:05:12] local.INFO: TCP Data received {"connection_id":186982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:05:12] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:05:12] local.INFO: Packet analysis {"connection_id":186982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:05:12] local.INFO: Extracted packet for processing {"connection_id":186982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:05: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-09-17 20:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:05: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-09-17 20:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:05:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":186982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:05:12] local.INFO: GPS data processed {"connection_id":186982,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:05:12] local.INFO: Acknowledgment sent {"connection_id":186982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:05:14] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:05:14] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:05:14] local.INFO: IMEI packet received {"connection_id":188309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":188309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:05:19] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:05:19] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:05:19] local.INFO: IMEI packet received {"connection_id":188309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":188309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:05:20] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:05:20] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:05:20] local.INFO: Packet analysis {"connection_id":188309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:05:20] local.INFO: Extracted packet for processing {"connection_id":188309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:05: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-09-17 20:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":188309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:05:20] local.INFO: GPS data processed {"connection_id":188309,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:05:20] local.INFO: Acknowledgment sent {"connection_id":188309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:05:35] local.INFO: TCP Data received {"connection_id":185679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:05:35] local.INFO: Processing buffer {"connection_id":185679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:05:35] local.INFO: IMEI packet received {"connection_id":185679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":185679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:05:40] local.INFO: TCP Data received {"connection_id":185679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:05:40] local.INFO: Processing buffer {"connection_id":185679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:05:40] local.INFO: IMEI packet received {"connection_id":185679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":185679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:05:41] local.INFO: TCP Data received {"connection_id":185679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:05:41] local.INFO: Processing buffer {"connection_id":185679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:05:41] local.INFO: Packet analysis {"connection_id":185679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:05:41] local.INFO: Extracted packet for processing {"connection_id":185679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:05:41] 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-09-17 20:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:05:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":185679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:05:41] local.INFO: GPS data processed {"connection_id":185679,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:05:41] local.INFO: Acknowledgment sent {"connection_id":185679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:05:52] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:05:52] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:05:52] local.INFO: Packet analysis {"connection_id":188309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:05:52] local.INFO: Extracted packet for processing {"connection_id":188309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":188309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:05:52] local.INFO: GPS data processed {"connection_id":188309,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:05:52] local.INFO: Acknowledgment sent {"connection_id":188309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:06:11] local.INFO: TCP Data received {"connection_id":185679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:06:11] local.INFO: Processing buffer {"connection_id":185679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:06:11] local.INFO: Packet analysis {"connection_id":185679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:06:11] local.INFO: Extracted packet for processing {"connection_id":185679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:06:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":185679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:06:12] local.INFO: GPS data processed {"connection_id":185679,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:06:12] local.INFO: Acknowledgment sent {"connection_id":185679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:06:14] local.INFO: TCP Data received {"connection_id":188310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:06:14] local.INFO: Processing buffer {"connection_id":188310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:06:14] local.INFO: IMEI packet received {"connection_id":188310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":188310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:06:19] local.INFO: TCP Data received {"connection_id":188310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:06:19] local.INFO: Processing buffer {"connection_id":188310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:06:19] local.INFO: IMEI packet received {"connection_id":188310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":188310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:06:20] local.INFO: TCP Data received {"connection_id":188310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:06:20] local.INFO: Processing buffer {"connection_id":188310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:06:20] local.INFO: Packet analysis {"connection_id":188310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:06:20] local.INFO: Extracted packet for processing {"connection_id":188310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:06: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-09-17 20:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":188310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:06:20] local.INFO: GPS data processed {"connection_id":188310,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:06:20] local.INFO: Acknowledgment sent {"connection_id":188310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:06:35] local.INFO: TCP Data received {"connection_id":188311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:06:35] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:06:35] local.INFO: IMEI packet received {"connection_id":188311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":188311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:06:40] local.INFO: TCP Data received {"connection_id":188311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:06:40] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:06:40] local.INFO: IMEI packet received {"connection_id":188311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":188311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:06:41] local.INFO: TCP Data received {"connection_id":188311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:06:41] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:06:41] local.INFO: Packet analysis {"connection_id":188311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:06:41] local.INFO: Extracted packet for processing {"connection_id":188311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:06:41] 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-09-17 20:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:06:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":188311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:06:41] local.INFO: GPS data processed {"connection_id":188311,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:06:41] local.INFO: Acknowledgment sent {"connection_id":188311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:06:57] local.INFO: TCP Data received {"connection_id":188310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:06:57] local.INFO: Processing buffer {"connection_id":188310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:06:57] local.INFO: Packet analysis {"connection_id":188310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:06:57] local.INFO: Extracted packet for processing {"connection_id":188310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:06:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:06:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":188310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:06:57] local.INFO: GPS data processed {"connection_id":188310,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:06:57] local.INFO: Acknowledgment sent {"connection_id":188310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:07:12] local.INFO: TCP Data received {"connection_id":188311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:07:12] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:07:12] local.INFO: Packet analysis {"connection_id":188311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:07:12] local.INFO: Extracted packet for processing {"connection_id":188311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:07:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":188311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:07:12] local.INFO: GPS data processed {"connection_id":188311,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:07:12] local.INFO: Acknowledgment sent {"connection_id":188311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:07:14] local.INFO: TCP Data received {"connection_id":185681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:07:14] local.INFO: Processing buffer {"connection_id":185681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:07:14] local.INFO: IMEI packet received {"connection_id":185681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":185681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:07:19] local.INFO: TCP Data received {"connection_id":185681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:07:19] local.INFO: Processing buffer {"connection_id":185681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:07:19] local.INFO: IMEI packet received {"connection_id":185681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":185681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:07:20] local.INFO: TCP Data received {"connection_id":185681,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:07:20] local.INFO: Processing buffer {"connection_id":185681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc7f7a8012d34c14006aa4440000a011828..."} 
[2026-09-17 20:07:20] local.INFO: Packet analysis {"connection_id":185681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:07:20] local.INFO: Extracted packet for processing {"connection_id":185681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc7"} 
[2026-09-17 20:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151734272001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789655513000,"timestamp_ms":1789655513000,"timestamp_seconds":1789655513,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc7f7a8"} 
[2026-09-17 20:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:07: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-09-17 20:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151734272001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151734272001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151734272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":185681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:07:20] local.INFO: GPS data processed {"connection_id":185681,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:07:20] local.INFO: Acknowledgment sent {"connection_id":185681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:07:35] local.INFO: TCP Data received {"connection_id":186984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:07:35] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:07:35] local.INFO: IMEI packet received {"connection_id":186984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":186984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:07:40] local.INFO: TCP Data received {"connection_id":186984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:07:40] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:07:40] local.INFO: IMEI packet received {"connection_id":186984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":186984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:07:41] local.INFO: TCP Data received {"connection_id":186984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:07:41] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:07:41] local.INFO: Packet analysis {"connection_id":186984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:07:41] local.INFO: Extracted packet for processing {"connection_id":186984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:07:41] 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-09-17 20:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:07:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":186984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:07:41] local.INFO: GPS data processed {"connection_id":186984,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:07:41] local.INFO: Acknowledgment sent {"connection_id":186984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:07:49] local.INFO: TCP Data received {"connection_id":185682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:07:49] local.INFO: Processing buffer {"connection_id":185682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:07:49] local.INFO: IMEI packet received {"connection_id":185682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":185682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:07:51] local.INFO: TCP Data received {"connection_id":185681,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:07:51] local.INFO: Processing buffer {"connection_id":185681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:07:51] local.INFO: Packet analysis {"connection_id":185681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:07:51] local.INFO: Extracted packet for processing {"connection_id":185681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":185681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:07:51] local.INFO: GPS data processed {"connection_id":185681,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:07:51] local.INFO: Acknowledgment sent {"connection_id":185681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:08:11] local.INFO: TCP Data received {"connection_id":186984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:08:11] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afc89bb8012d196580071fef780048010928..."} 
[2026-09-17 20:08:11] local.INFO: Packet analysis {"connection_id":186984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:08:11] local.INFO: Extracted packet for processing {"connection_id":186984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afc8"} 
[2026-09-17 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151745024001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789655555000,"timestamp_ms":1789655555000,"timestamp_seconds":1789655555,"priority":1,"record_length":96,"hex_timestamp":"000001a0afc89bb8"} 
[2026-09-17 20:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-17 20:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151745024001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151745024001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:08:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151745024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":186984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:08:12] local.INFO: GPS data processed {"connection_id":186984,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:08:12] local.INFO: Acknowledgment sent {"connection_id":186984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:08:19] local.INFO: TCP Data received {"connection_id":185683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:08:19] local.INFO: Processing buffer {"connection_id":185683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:08:19] local.INFO: IMEI packet received {"connection_id":185683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":185683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:08:24] local.INFO: TCP Data received {"connection_id":185683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:08:24] local.INFO: Processing buffer {"connection_id":185683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:08:24] local.INFO: IMEI packet received {"connection_id":185683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":185683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:08:25] local.INFO: TCP Data received {"connection_id":185683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:08:25] local.INFO: Processing buffer {"connection_id":185683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:08:25] local.INFO: Packet analysis {"connection_id":185683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:08:25] local.INFO: Extracted packet for processing {"connection_id":185683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":185683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:08:25] local.INFO: GPS data processed {"connection_id":185683,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:08:25] local.INFO: Acknowledgment sent {"connection_id":185683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:08:30] local.INFO: TCP Data received {"connection_id":185683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:08:30] local.INFO: Processing buffer {"connection_id":185683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:08:30] local.INFO: Packet analysis {"connection_id":185683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:08:30] local.INFO: Extracted packet for processing {"connection_id":185683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:08:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":185683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:08:30] local.INFO: GPS data processed {"connection_id":185683,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:08:30] local.INFO: Acknowledgment sent {"connection_id":185683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:08:40] local.INFO: TCP Data received {"connection_id":185531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:08:40] local.INFO: Processing buffer {"connection_id":185531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:08:40] local.INFO: IMEI packet received {"connection_id":185531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":185531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:08:45] local.INFO: TCP Data received {"connection_id":185531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:08:45] local.INFO: Processing buffer {"connection_id":185531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:08:45] local.INFO: IMEI packet received {"connection_id":185531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":185531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:08:45] local.INFO: TCP Data received {"connection_id":185531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:08:45] local.INFO: Processing buffer {"connection_id":185531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:08:45] local.INFO: Packet analysis {"connection_id":185531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:08:45] local.INFO: Extracted packet for processing {"connection_id":185531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:08:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":185531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:08:46] local.INFO: GPS data processed {"connection_id":185531,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:08:46] local.INFO: Acknowledgment sent {"connection_id":185531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:09:14] local.INFO: TCP Data received {"connection_id":185684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:09:14] local.INFO: Processing buffer {"connection_id":185684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:09:14] local.INFO: IMEI packet received {"connection_id":185684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":185684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:09:16] local.INFO: TCP Data received {"connection_id":185531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:09:16] local.INFO: Processing buffer {"connection_id":185531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:09:16] local.INFO: Packet analysis {"connection_id":185531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:09:16] local.INFO: Extracted packet for processing {"connection_id":185531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:09:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":185531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:09:16] local.INFO: GPS data processed {"connection_id":185531,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:09:16] local.INFO: Acknowledgment sent {"connection_id":185531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:09:19] local.INFO: TCP Data received {"connection_id":185684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:09:19] local.INFO: Processing buffer {"connection_id":185684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:09:19] local.INFO: IMEI packet received {"connection_id":185684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":185684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:09:20] local.INFO: TCP Data received {"connection_id":185684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:09:20] local.INFO: Processing buffer {"connection_id":185684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:09:20] local.INFO: Packet analysis {"connection_id":185684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:09:20] local.INFO: Extracted packet for processing {"connection_id":185684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:09: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-09-17 20:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":185684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:09:21] local.INFO: GPS data processed {"connection_id":185684,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:09:21] local.INFO: Acknowledgment sent {"connection_id":185684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:09:35] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:09:35] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:09:35] local.INFO: IMEI packet received {"connection_id":188312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":188312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:09:40] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:09:40] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:09:40] local.INFO: IMEI packet received {"connection_id":188312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":188312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:09:41] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:09:41] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:09:41] local.INFO: Packet analysis {"connection_id":188312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:09:41] local.INFO: Extracted packet for processing {"connection_id":188312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:09:41] 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-09-17 20:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:09:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":188312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:09:41] local.INFO: GPS data processed {"connection_id":188312,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:09:41] local.INFO: Acknowledgment sent {"connection_id":188312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:09:52] local.INFO: TCP Data received {"connection_id":185684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:09:52] local.INFO: Processing buffer {"connection_id":185684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:09:52] local.INFO: Packet analysis {"connection_id":185684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:09:52] local.INFO: Extracted packet for processing {"connection_id":185684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":185684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:09:52] local.INFO: GPS data processed {"connection_id":185684,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:09:52] local.INFO: Acknowledgment sent {"connection_id":185684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:10:11] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:10:11] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:10:11] local.INFO: Packet analysis {"connection_id":188312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:10:11] local.INFO: Extracted packet for processing {"connection_id":188312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:10:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":188312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:10:12] local.INFO: GPS data processed {"connection_id":188312,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:10:12] local.INFO: Acknowledgment sent {"connection_id":188312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:10:14] local.INFO: TCP Data received {"connection_id":185532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:10:14] local.INFO: Processing buffer {"connection_id":185532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:10:14] local.INFO: IMEI packet received {"connection_id":185532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":185532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:10:19] local.INFO: TCP Data received {"connection_id":185532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:10:19] local.INFO: Processing buffer {"connection_id":185532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:10:19] local.INFO: IMEI packet received {"connection_id":185532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":185532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:10:20] local.INFO: TCP Data received {"connection_id":185532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:10:20] local.INFO: Processing buffer {"connection_id":185532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:10:20] local.INFO: Packet analysis {"connection_id":185532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:10:20] local.INFO: Extracted packet for processing {"connection_id":185532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:10: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-09-17 20:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":185532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:10:20] local.INFO: GPS data processed {"connection_id":185532,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:10:20] local.INFO: Acknowledgment sent {"connection_id":185532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:10:35] local.INFO: TCP Data received {"connection_id":185685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:10:35] local.INFO: Processing buffer {"connection_id":185685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:10:35] local.INFO: IMEI packet received {"connection_id":185685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":185685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:10:40] local.INFO: TCP Data received {"connection_id":185685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:10:40] local.INFO: Processing buffer {"connection_id":185685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:10:40] local.INFO: IMEI packet received {"connection_id":185685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":185685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:10:41] local.INFO: TCP Data received {"connection_id":185685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:10:41] local.INFO: Processing buffer {"connection_id":185685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:10:41] local.INFO: Packet analysis {"connection_id":185685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:10:41] local.INFO: Extracted packet for processing {"connection_id":185685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:10:41] 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-09-17 20:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:10:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":185685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:10:41] local.INFO: GPS data processed {"connection_id":185685,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:10:41] local.INFO: Acknowledgment sent {"connection_id":185685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:10:51] local.INFO: TCP Data received {"connection_id":185532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:10:51] local.INFO: Processing buffer {"connection_id":185532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:10:51] local.INFO: Packet analysis {"connection_id":185532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:10:51] local.INFO: Extracted packet for processing {"connection_id":185532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":185532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:10:51] local.INFO: GPS data processed {"connection_id":185532,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:10:51] local.INFO: Acknowledgment sent {"connection_id":185532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:11:11] local.INFO: TCP Data received {"connection_id":185685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:11:11] local.INFO: Processing buffer {"connection_id":185685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:11:11] local.INFO: Packet analysis {"connection_id":185685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:11:11] local.INFO: Extracted packet for processing {"connection_id":185685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":185685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":185685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":185685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:11:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":185685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:11:12] local.INFO: GPS data processed {"connection_id":185685,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:11:12] local.INFO: Acknowledgment sent {"connection_id":185685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:11:14] local.INFO: TCP Data received {"connection_id":186986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:11:14] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:11:14] local.INFO: IMEI packet received {"connection_id":186986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":186986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:11:19] local.INFO: TCP Data received {"connection_id":186986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:11:19] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:11:19] local.INFO: IMEI packet received {"connection_id":186986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":186986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:11:20] local.INFO: TCP Data received {"connection_id":186986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:11:20] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:11:20] local.INFO: Packet analysis {"connection_id":186986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:11:20] local.INFO: Extracted packet for processing {"connection_id":186986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":186986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:11:20] local.INFO: GPS data processed {"connection_id":186986,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:11:20] local.INFO: Acknowledgment sent {"connection_id":186986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:11:35] local.INFO: TCP Data received {"connection_id":188314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:11:35] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:11:35] local.INFO: IMEI packet received {"connection_id":188314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":188314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:11:40] local.INFO: TCP Data received {"connection_id":188314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:11:40] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:11:40] local.INFO: IMEI packet received {"connection_id":188314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":188314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:11:41] local.INFO: TCP Data received {"connection_id":188314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:11:41] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:11:41] local.INFO: Packet analysis {"connection_id":188314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:11:41] local.INFO: Extracted packet for processing {"connection_id":188314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:11:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:11:41] 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-09-17 20:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:11:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":188314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:11:41] local.INFO: GPS data processed {"connection_id":188314,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:11:41] local.INFO: Acknowledgment sent {"connection_id":188314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:11:52] local.INFO: TCP Data received {"connection_id":186986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:11:52] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:11:52] local.INFO: Packet analysis {"connection_id":186986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:11:52] local.INFO: Extracted packet for processing {"connection_id":186986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":186986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:11:52] local.INFO: GPS data processed {"connection_id":186986,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:11:52] local.INFO: Acknowledgment sent {"connection_id":186986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:12:11] local.INFO: TCP Data received {"connection_id":188314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:12:11] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:12:11] local.INFO: Packet analysis {"connection_id":188314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:12:11] local.INFO: Extracted packet for processing {"connection_id":188314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:12:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":188314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:12:12] local.INFO: GPS data processed {"connection_id":188314,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:12:12] local.INFO: Acknowledgment sent {"connection_id":188314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:12:14] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:12:14] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:12:14] local.INFO: IMEI packet received {"connection_id":186987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":186987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:12:19] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:12:19] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:12:19] local.INFO: IMEI packet received {"connection_id":186987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":186987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:12:20] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:12:20] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcc8f70012d34c14006aa4440000a011828..."} 
[2026-09-17 20:12:20] local.INFO: Packet analysis {"connection_id":186987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:12:20] local.INFO: Extracted packet for processing {"connection_id":186987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcc"} 
[2026-09-17 20:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151811328001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789655814000,"timestamp_ms":1789655814000,"timestamp_seconds":1789655814,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcc8f70"} 
[2026-09-17 20:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151811328001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151811328001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151811328001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":186987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:12:20] local.INFO: GPS data processed {"connection_id":186987,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:12:20] local.INFO: Acknowledgment sent {"connection_id":186987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:12:35] local.INFO: TCP Data received {"connection_id":188316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:12:35] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:12:35] local.INFO: IMEI packet received {"connection_id":188316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":188316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:12:40] local.INFO: TCP Data received {"connection_id":188316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:12:40] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:12:40] local.INFO: IMEI packet received {"connection_id":188316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":188316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:12:40] local.INFO: TCP Data received {"connection_id":188316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:12:40] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:12:40] local.INFO: Packet analysis {"connection_id":188316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:12:40] local.INFO: Extracted packet for processing {"connection_id":188316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:12:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":188316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:12:41] local.INFO: GPS data processed {"connection_id":188316,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:12:41] local.INFO: Acknowledgment sent {"connection_id":188316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:12:51] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:12:51] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:12:51] local.INFO: Packet analysis {"connection_id":186987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:12:51] local.INFO: Extracted packet for processing {"connection_id":186987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":186987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:12:51] local.INFO: GPS data processed {"connection_id":186987,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:12:51] local.INFO: Acknowledgment sent {"connection_id":186987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:13:11] local.INFO: TCP Data received {"connection_id":188316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:13:11] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afcd3380012d196580071fef78004801092a..."} 
[2026-09-17 20:13:11] local.INFO: Packet analysis {"connection_id":188316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:13:11] local.INFO: Extracted packet for processing {"connection_id":188316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afcd"} 
[2026-09-17 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151822080001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789655856000,"timestamp_ms":1789655856000,"timestamp_seconds":1789655856,"priority":1,"record_length":96,"hex_timestamp":"000001a0afcd3380"} 
[2026-09-17 20:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151822080001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151822080001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:13:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151822080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":188316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:13:11] local.INFO: GPS data processed {"connection_id":188316,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:13:11] local.INFO: Acknowledgment sent {"connection_id":188316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:13:14] local.INFO: TCP Data received {"connection_id":185687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:13:14] local.INFO: Processing buffer {"connection_id":185687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:13:14] local.INFO: IMEI packet received {"connection_id":185687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":185687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:13:19] local.INFO: TCP Data received {"connection_id":185687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:13:19] local.INFO: Processing buffer {"connection_id":185687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:13:19] local.INFO: IMEI packet received {"connection_id":185687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":185687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:13:20] local.INFO: TCP Data received {"connection_id":185687,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:13:20] local.INFO: Processing buffer {"connection_id":185687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:13:20] local.INFO: Packet analysis {"connection_id":185687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:13:20] local.INFO: Extracted packet for processing {"connection_id":185687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":185687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:13:20] local.INFO: GPS data processed {"connection_id":185687,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:13:20] local.INFO: Acknowledgment sent {"connection_id":185687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:13:35] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:13:35] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:13:35] local.INFO: IMEI packet received {"connection_id":186988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":186988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:13:40] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:13:40] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:13:40] local.INFO: IMEI packet received {"connection_id":186988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":186988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:13:41] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:13:41] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:13:41] local.INFO: Packet analysis {"connection_id":186988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:13:41] local.INFO: Extracted packet for processing {"connection_id":186988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:13:41] 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-09-17 20:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:13:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":186988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:13:41] local.INFO: GPS data processed {"connection_id":186988,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:13:41] local.INFO: Acknowledgment sent {"connection_id":186988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:13:49] local.INFO: TCP Data received {"connection_id":185688,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:13:49] local.INFO: Processing buffer {"connection_id":185688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:13:49] local.INFO: IMEI packet received {"connection_id":185688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":185688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:13:51] local.INFO: TCP Data received {"connection_id":185687,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:13:51] local.INFO: Processing buffer {"connection_id":185687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:13:51] local.INFO: Packet analysis {"connection_id":185687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:13:51] local.INFO: Extracted packet for processing {"connection_id":185687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":185687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:13:51] local.INFO: GPS data processed {"connection_id":185687,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:13:51] local.INFO: Acknowledgment sent {"connection_id":185687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:14:12] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:14:12] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:14:12] local.INFO: Packet analysis {"connection_id":186988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:12] local.INFO: Extracted packet for processing {"connection_id":186988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"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-09-17 20:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:14:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":186988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:14:12] local.INFO: GPS data processed {"connection_id":186988,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:14:12] local.INFO: Acknowledgment sent {"connection_id":186988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:14:14] local.INFO: TCP Data received {"connection_id":188317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:14:14] local.INFO: Processing buffer {"connection_id":188317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:14:14] local.INFO: IMEI packet received {"connection_id":188317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":188317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:14:19] local.INFO: TCP Data received {"connection_id":188317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:14:19] local.INFO: Processing buffer {"connection_id":188317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:14:19] local.INFO: IMEI packet received {"connection_id":188317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":188317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:14:20] local.INFO: TCP Data received {"connection_id":188317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:14:20] local.INFO: Processing buffer {"connection_id":188317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:14:20] local.INFO: Packet analysis {"connection_id":188317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:20] local.INFO: Extracted packet for processing {"connection_id":188317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":188317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:14:20] local.INFO: GPS data processed {"connection_id":188317,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:14:20] local.INFO: Acknowledgment sent {"connection_id":188317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:14:40] local.INFO: TCP Data received {"connection_id":185534,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:14:40] local.INFO: Processing buffer {"connection_id":185534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:14:40] local.INFO: IMEI packet received {"connection_id":185534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":185534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:14:45] local.INFO: TCP Data received {"connection_id":185534,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:14:45] local.INFO: Processing buffer {"connection_id":185534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:14:45] local.INFO: IMEI packet received {"connection_id":185534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":185534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:14:46] local.INFO: TCP Data received {"connection_id":185534,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:14:46] local.INFO: Processing buffer {"connection_id":185534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:14:46] local.INFO: Packet analysis {"connection_id":185534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:46] local.INFO: Extracted packet for processing {"connection_id":185534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:14:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":185534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:14:46] local.INFO: GPS data processed {"connection_id":185534,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:14:46] local.INFO: Acknowledgment sent {"connection_id":185534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:14:51] local.INFO: TCP Data received {"connection_id":185534,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:14:51] local.INFO: Processing buffer {"connection_id":185534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:14:51] local.INFO: Packet analysis {"connection_id":185534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:51] local.INFO: Extracted packet for processing {"connection_id":185534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:14:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":185534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:14:51] local.INFO: GPS data processed {"connection_id":185534,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:14:51] local.INFO: Acknowledgment sent {"connection_id":185534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:14:51] local.INFO: TCP Data received {"connection_id":188317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:14:51] local.INFO: Processing buffer {"connection_id":188317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:14:51] local.INFO: Packet analysis {"connection_id":188317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:51] local.INFO: Extracted packet for processing {"connection_id":188317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":188317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:14:51] local.INFO: GPS data processed {"connection_id":188317,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:14:51] local.INFO: Acknowledgment sent {"connection_id":188317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:15:14] local.INFO: TCP Data received {"connection_id":186990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:15:14] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:15:14] local.INFO: IMEI packet received {"connection_id":186990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":186990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:15:19] local.INFO: TCP Data received {"connection_id":186990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:15:19] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:15:19] local.INFO: IMEI packet received {"connection_id":186990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":186990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:15:20] local.INFO: TCP Data received {"connection_id":186990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:15:20] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:15:20] local.INFO: Packet analysis {"connection_id":186990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:15:20] local.INFO: Extracted packet for processing {"connection_id":186990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:15: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-09-17 20:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":186990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:15:20] local.INFO: GPS data processed {"connection_id":186990,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:15:20] local.INFO: Acknowledgment sent {"connection_id":186990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:15:35] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:15:35] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:15:35] local.INFO: IMEI packet received {"connection_id":188318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":188318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:15:40] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:15:40] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:15:40] local.INFO: IMEI packet received {"connection_id":188318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":188318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:15:41] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:15:41] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:15:41] local.INFO: Packet analysis {"connection_id":188318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:15:41] local.INFO: Extracted packet for processing {"connection_id":188318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:15:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":188318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:15:41] local.INFO: GPS data processed {"connection_id":188318,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:15:41] local.INFO: Acknowledgment sent {"connection_id":188318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:15:51] local.INFO: TCP Data received {"connection_id":186990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:15:51] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:15:51] local.INFO: Packet analysis {"connection_id":186990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:15:51] local.INFO: Extracted packet for processing {"connection_id":186990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:15:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":186990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:15:51] local.INFO: GPS data processed {"connection_id":186990,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:15:51] local.INFO: Acknowledgment sent {"connection_id":186990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:16:12] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:16:12] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:16:12] local.INFO: Packet analysis {"connection_id":188318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:16:12] local.INFO: Extracted packet for processing {"connection_id":188318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:16:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":188318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:16:12] local.INFO: GPS data processed {"connection_id":188318,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:16:12] local.INFO: Acknowledgment sent {"connection_id":188318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:16:14] local.INFO: TCP Data received {"connection_id":186991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:16:14] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:16:14] local.INFO: IMEI packet received {"connection_id":186991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":186991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:16:19] local.INFO: TCP Data received {"connection_id":186991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:16:19] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:16:19] local.INFO: IMEI packet received {"connection_id":186991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":186991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:16:20] local.INFO: TCP Data received {"connection_id":186991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:16:20] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:16:20] local.INFO: Packet analysis {"connection_id":186991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:16:20] local.INFO: Extracted packet for processing {"connection_id":186991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":186991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:16:20] local.INFO: GPS data processed {"connection_id":186991,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:16:20] local.INFO: Acknowledgment sent {"connection_id":186991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:16:35] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:16:35] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:16:35] local.INFO: IMEI packet received {"connection_id":186992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":186992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:16:40] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:16:40] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:16:40] local.INFO: IMEI packet received {"connection_id":186992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":186992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:16:41] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:16:41] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:16:41] local.INFO: Packet analysis {"connection_id":186992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:16:41] local.INFO: Extracted packet for processing {"connection_id":186992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:16:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":186992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:16:41] local.INFO: GPS data processed {"connection_id":186992,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:16:41] local.INFO: Acknowledgment sent {"connection_id":186992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:16:51] local.INFO: TCP Data received {"connection_id":186991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:16:51] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:16:51] local.INFO: Packet analysis {"connection_id":186991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:16:51] local.INFO: Extracted packet for processing {"connection_id":186991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":186991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:16:51] local.INFO: GPS data processed {"connection_id":186991,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:16:51] local.INFO: Acknowledgment sent {"connection_id":186991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:17:12] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:17:12] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:17:12] local.INFO: Packet analysis {"connection_id":186992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:17:12] local.INFO: Extracted packet for processing {"connection_id":186992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:17:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:17:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":186992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:17:12] local.INFO: GPS data processed {"connection_id":186992,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:17:12] local.INFO: Acknowledgment sent {"connection_id":186992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:17:14] local.INFO: TCP Data received {"connection_id":185690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:17:14] local.INFO: Processing buffer {"connection_id":185690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:17:14] local.INFO: IMEI packet received {"connection_id":185690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":185690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:17:19] local.INFO: TCP Data received {"connection_id":185690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:17:19] local.INFO: Processing buffer {"connection_id":185690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:17:19] local.INFO: IMEI packet received {"connection_id":185690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":185690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:17:20] local.INFO: TCP Data received {"connection_id":185690,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:17:20] local.INFO: Processing buffer {"connection_id":185690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd12738012d34c14006aa4440000a011827..."} 
[2026-09-17 20:17:20] local.INFO: Packet analysis {"connection_id":185690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:17:20] local.INFO: Extracted packet for processing {"connection_id":185690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151888384001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656115000,"timestamp_ms":1789656115000,"timestamp_seconds":1789656115,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd12738"} 
[2026-09-17 20:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151888384001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151888384001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151888384001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":185690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:17:20] local.INFO: GPS data processed {"connection_id":185690,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:17:20] local.INFO: Acknowledgment sent {"connection_id":185690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:17:35] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:17:35] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:17:35] local.INFO: IMEI packet received {"connection_id":188319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":188319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:17:40] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:17:40] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:17:40] local.INFO: IMEI packet received {"connection_id":188319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":188319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:17:41] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:17:41] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:17:41] local.INFO: Packet analysis {"connection_id":188319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:17:41] local.INFO: Extracted packet for processing {"connection_id":188319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:17:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":188319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:17:41] local.INFO: GPS data processed {"connection_id":188319,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:17:41] local.INFO: Acknowledgment sent {"connection_id":188319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:17:51] local.INFO: TCP Data received {"connection_id":185690,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:17:51] local.INFO: Processing buffer {"connection_id":185690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:17:51] local.INFO: Packet analysis {"connection_id":185690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:17:51] local.INFO: Extracted packet for processing {"connection_id":185690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":185690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:17:51] local.INFO: GPS data processed {"connection_id":185690,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:17:51] local.INFO: Acknowledgment sent {"connection_id":185690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:18:12] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:18:12] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd1cb48012d196580071fef780048010929..."} 
[2026-09-17 20:18:12] local.INFO: Packet analysis {"connection_id":188319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:18:12] local.INFO: Extracted packet for processing {"connection_id":188319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd1"} 
[2026-09-17 20:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151899136001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656157000,"timestamp_ms":1789656157000,"timestamp_seconds":1789656157,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd1cb48"} 
[2026-09-17 20:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151899136001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151899136001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:18:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151899136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":188319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:18:12] local.INFO: GPS data processed {"connection_id":188319,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:18:12] local.INFO: Acknowledgment sent {"connection_id":188319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:18:14] local.INFO: TCP Data received {"connection_id":185536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:18:14] local.INFO: Processing buffer {"connection_id":185536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:18:14] local.INFO: IMEI packet received {"connection_id":185536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":185536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:18:19] local.INFO: TCP Data received {"connection_id":185536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:18:19] local.INFO: Processing buffer {"connection_id":185536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:18:19] local.INFO: IMEI packet received {"connection_id":185536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":185536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:18:21] local.INFO: TCP Data received {"connection_id":185536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:18:21] local.INFO: Processing buffer {"connection_id":185536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:18:21] local.INFO: Packet analysis {"connection_id":185536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:18:21] local.INFO: Extracted packet for processing {"connection_id":185536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":185536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:18:21] local.INFO: GPS data processed {"connection_id":185536,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:18:21] local.INFO: Acknowledgment sent {"connection_id":185536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:18:25] local.INFO: TCP Data received {"connection_id":185536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:18:25] local.INFO: Processing buffer {"connection_id":185536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:18:25] local.INFO: Packet analysis {"connection_id":185536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:18:25] local.INFO: Extracted packet for processing {"connection_id":185536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":185536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:18:25] local.INFO: GPS data processed {"connection_id":185536,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:18:25] local.INFO: Acknowledgment sent {"connection_id":185536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:18:35] local.INFO: TCP Data received {"connection_id":185537,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:18:35] local.INFO: Processing buffer {"connection_id":185537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:18:35] local.INFO: IMEI packet received {"connection_id":185537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":185537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:18:40] local.INFO: TCP Data received {"connection_id":185537,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:18:40] local.INFO: Processing buffer {"connection_id":185537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:18:40] local.INFO: IMEI packet received {"connection_id":185537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":185537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:18:41] local.INFO: TCP Data received {"connection_id":185537,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:18:41] local.INFO: Processing buffer {"connection_id":185537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:18:41] local.INFO: Packet analysis {"connection_id":185537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:18:41] local.INFO: Extracted packet for processing {"connection_id":185537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:18:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":185537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:18:41] local.INFO: GPS data processed {"connection_id":185537,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:18:41] local.INFO: Acknowledgment sent {"connection_id":185537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:18:56] local.INFO: TCP Data received {"connection_id":185536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:18:56] local.INFO: Processing buffer {"connection_id":185536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:18:56] local.INFO: Packet analysis {"connection_id":185536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:18:56] local.INFO: Extracted packet for processing {"connection_id":185536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:18:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:18:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":185536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:18:56] local.INFO: GPS data processed {"connection_id":185536,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:18:56] local.INFO: Acknowledgment sent {"connection_id":185536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:19:12] local.INFO: TCP Data received {"connection_id":185537,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:19:12] local.INFO: Processing buffer {"connection_id":185537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:19:12] local.INFO: Packet analysis {"connection_id":185537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:19:12] local.INFO: Extracted packet for processing {"connection_id":185537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:19: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-09-17 20:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:19: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-09-17 20:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:19:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":185537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:19:12] local.INFO: GPS data processed {"connection_id":185537,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:19:12] local.INFO: Acknowledgment sent {"connection_id":185537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:19:14] local.INFO: TCP Data received {"connection_id":185691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:19:14] local.INFO: Processing buffer {"connection_id":185691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:19:14] local.INFO: IMEI packet received {"connection_id":185691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":185691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:19:19] local.INFO: TCP Data received {"connection_id":185691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:19:19] local.INFO: Processing buffer {"connection_id":185691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:19:19] local.INFO: IMEI packet received {"connection_id":185691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":185691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:19:20] local.INFO: TCP Data received {"connection_id":185691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:19:20] local.INFO: Processing buffer {"connection_id":185691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:19:20] local.INFO: Packet analysis {"connection_id":185691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:19:20] local.INFO: Extracted packet for processing {"connection_id":185691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":185691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:19:20] local.INFO: GPS data processed {"connection_id":185691,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:19:20] local.INFO: Acknowledgment sent {"connection_id":185691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:19:40] local.INFO: TCP Data received {"connection_id":186995,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:19:40] local.INFO: Processing buffer {"connection_id":186995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:19:40] local.INFO: IMEI packet received {"connection_id":186995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":186995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:19:45] local.INFO: TCP Data received {"connection_id":186995,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:19:45] local.INFO: Processing buffer {"connection_id":186995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:19:45] local.INFO: IMEI packet received {"connection_id":186995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":186995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:19:46] local.INFO: TCP Data received {"connection_id":186995,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:19:46] local.INFO: Processing buffer {"connection_id":186995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:19:46] local.INFO: Packet analysis {"connection_id":186995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:19:46] local.INFO: Extracted packet for processing {"connection_id":186995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:19:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":186995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:19:46] local.INFO: GPS data processed {"connection_id":186995,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:19:46] local.INFO: Acknowledgment sent {"connection_id":186995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:19:49] local.INFO: TCP Data received {"connection_id":185538,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:19:49] local.INFO: Processing buffer {"connection_id":185538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:19:49] local.INFO: IMEI packet received {"connection_id":185538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":185538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:19:50] local.INFO: TCP Data received {"connection_id":186995,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:19:50] local.INFO: Processing buffer {"connection_id":186995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:19:50] local.INFO: Packet analysis {"connection_id":186995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:19:50] local.INFO: Extracted packet for processing {"connection_id":186995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:19:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":186995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:19:50] local.INFO: GPS data processed {"connection_id":186995,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:19:50] local.INFO: Acknowledgment sent {"connection_id":186995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:19:52] local.INFO: TCP Data received {"connection_id":185691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:19:52] local.INFO: Processing buffer {"connection_id":185691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:19:52] local.INFO: Packet analysis {"connection_id":185691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:19:52] local.INFO: Extracted packet for processing {"connection_id":185691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":185691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:19:52] local.INFO: GPS data processed {"connection_id":185691,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:19:52] local.INFO: Acknowledgment sent {"connection_id":185691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:20:14] local.INFO: TCP Data received {"connection_id":188320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:20:14] local.INFO: Processing buffer {"connection_id":188320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:20:14] local.INFO: IMEI packet received {"connection_id":188320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":188320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:20:19] local.INFO: TCP Data received {"connection_id":188320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:20:19] local.INFO: Processing buffer {"connection_id":188320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:20:19] local.INFO: IMEI packet received {"connection_id":188320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":188320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:20:21] local.INFO: TCP Data received {"connection_id":188320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:20:21] local.INFO: Processing buffer {"connection_id":188320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:20:21] local.INFO: Packet analysis {"connection_id":188320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:20:21] local.INFO: Extracted packet for processing {"connection_id":188320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:20:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":188320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:20:21] local.INFO: GPS data processed {"connection_id":188320,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:20:21] local.INFO: Acknowledgment sent {"connection_id":188320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:20:35] local.INFO: TCP Data received {"connection_id":185539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:20:35] local.INFO: Processing buffer {"connection_id":185539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:20:35] local.INFO: IMEI packet received {"connection_id":185539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":185539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:20:40] local.INFO: TCP Data received {"connection_id":185539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:20:40] local.INFO: Processing buffer {"connection_id":185539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:20:40] local.INFO: IMEI packet received {"connection_id":185539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":185539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:20:41] local.INFO: TCP Data received {"connection_id":185539,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:20:41] local.INFO: Processing buffer {"connection_id":185539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:20:41] local.INFO: Packet analysis {"connection_id":185539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:20:41] local.INFO: Extracted packet for processing {"connection_id":185539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:20:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":185539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:20:41] local.INFO: GPS data processed {"connection_id":185539,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:20:41] local.INFO: Acknowledgment sent {"connection_id":185539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:20:52] local.INFO: TCP Data received {"connection_id":188320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:20:52] local.INFO: Processing buffer {"connection_id":188320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:20:52] local.INFO: Packet analysis {"connection_id":188320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:20:52] local.INFO: Extracted packet for processing {"connection_id":188320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:20:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":188320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:20:52] local.INFO: GPS data processed {"connection_id":188320,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:20:52] local.INFO: Acknowledgment sent {"connection_id":188320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:21:12] local.INFO: TCP Data received {"connection_id":185539,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:21:12] local.INFO: Processing buffer {"connection_id":185539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:21:12] local.INFO: Packet analysis {"connection_id":185539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:21:12] local.INFO: Extracted packet for processing {"connection_id":185539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:21:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":185539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:21:12] local.INFO: GPS data processed {"connection_id":185539,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:21:12] local.INFO: Acknowledgment sent {"connection_id":185539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:21:14] local.INFO: TCP Data received {"connection_id":185540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:21:14] local.INFO: Processing buffer {"connection_id":185540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:21:14] local.INFO: IMEI packet received {"connection_id":185540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":185540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:21:19] local.INFO: TCP Data received {"connection_id":185540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:21:19] local.INFO: Processing buffer {"connection_id":185540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:21:19] local.INFO: IMEI packet received {"connection_id":185540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":185540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:21:20] local.INFO: TCP Data received {"connection_id":185540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:21:20] local.INFO: Processing buffer {"connection_id":185540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:21:20] local.INFO: Packet analysis {"connection_id":185540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:21:20] local.INFO: Extracted packet for processing {"connection_id":185540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:21:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:21: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-09-17 20:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":185540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:21:20] local.INFO: GPS data processed {"connection_id":185540,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:21:20] local.INFO: Acknowledgment sent {"connection_id":185540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:21:51] local.INFO: TCP Data received {"connection_id":185540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:21:51] local.INFO: Processing buffer {"connection_id":185540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:21:51] local.INFO: Packet analysis {"connection_id":185540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:21:51] local.INFO: Extracted packet for processing {"connection_id":185540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:21:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":185540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:21:51] local.INFO: GPS data processed {"connection_id":185540,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:21:51] local.INFO: Acknowledgment sent {"connection_id":185540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:22:05] local.INFO: TCP Data received {"connection_id":185692,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:05] local.INFO: Processing buffer {"connection_id":185692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:05] local.INFO: IMEI packet received {"connection_id":185692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":185692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:22:10] local.INFO: TCP Data received {"connection_id":185692,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:10] local.INFO: Processing buffer {"connection_id":185692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:10] local.INFO: IMEI packet received {"connection_id":185692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":185692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:22:10] local.INFO: TCP Data received {"connection_id":185692,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:22:10] local.INFO: Processing buffer {"connection_id":185692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:22:10] local.INFO: Packet analysis {"connection_id":185692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:22:10] local.INFO: Extracted packet for processing {"connection_id":185692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":185692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":185692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":185692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:22:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":185692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:22:10] local.INFO: GPS data processed {"connection_id":185692,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:22:10] local.INFO: Acknowledgment sent {"connection_id":185692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:22:14] local.INFO: TCP Data received {"connection_id":186997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:22:14] local.INFO: Processing buffer {"connection_id":186997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:22:14] local.INFO: IMEI packet received {"connection_id":186997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":186997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:22:19] local.INFO: TCP Data received {"connection_id":186997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:22:19] local.INFO: Processing buffer {"connection_id":186997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:22:19] local.INFO: IMEI packet received {"connection_id":186997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":186997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:22:20] local.INFO: TCP Data received {"connection_id":186997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:22:20] local.INFO: Processing buffer {"connection_id":186997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd5bf00012d34c14006aa4440000a011829..."} 
[2026-09-17 20:22:20] local.INFO: Packet analysis {"connection_id":186997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:22:20] local.INFO: Extracted packet for processing {"connection_id":186997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd5"} 
[2026-09-17 20:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151965440001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656416000,"timestamp_ms":1789656416000,"timestamp_seconds":1789656416,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd5bf00"} 
[2026-09-17 20:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:22: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-09-17 20:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151965440001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151965440001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151965440001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":186997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:22:20] local.INFO: GPS data processed {"connection_id":186997,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:22:20] local.INFO: Acknowledgment sent {"connection_id":186997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:22:30] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:30] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:30] local.INFO: IMEI packet received {"connection_id":185693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":185693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:22:35] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:35] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:35] local.INFO: IMEI packet received {"connection_id":185693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":185693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:22:40] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:40] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:22:40] local.INFO: IMEI packet received {"connection_id":185693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":185693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:22:41] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:22:41] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:22:41] local.INFO: Packet analysis {"connection_id":185693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:22:41] local.INFO: Extracted packet for processing {"connection_id":185693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:22:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":185693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:22:41] local.INFO: GPS data processed {"connection_id":185693,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:22:41] local.INFO: Acknowledgment sent {"connection_id":185693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:22:45] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:22:45] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:22:45] local.INFO: Packet analysis {"connection_id":185693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:22:45] local.INFO: Extracted packet for processing {"connection_id":185693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:22:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":185693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:22:45] local.INFO: GPS data processed {"connection_id":185693,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:22:45] local.INFO: Acknowledgment sent {"connection_id":185693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:22:51] local.INFO: TCP Data received {"connection_id":186997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:22:51] local.INFO: Processing buffer {"connection_id":186997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:22:51] local.INFO: Packet analysis {"connection_id":186997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:22:51] local.INFO: Extracted packet for processing {"connection_id":186997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":186997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:22:51] local.INFO: GPS data processed {"connection_id":186997,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:22:51] local.INFO: Acknowledgment sent {"connection_id":186997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:23:14] local.INFO: TCP Data received {"connection_id":185542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:23:14] local.INFO: Processing buffer {"connection_id":185542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:23:14] local.INFO: IMEI packet received {"connection_id":185542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":185542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:23:16] local.INFO: TCP Data received {"connection_id":185693,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:23:16] local.INFO: Processing buffer {"connection_id":185693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afd66310012d196580071fef780048010926..."} 
[2026-09-17 20:23:16] local.INFO: Packet analysis {"connection_id":185693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:23:16] local.INFO: Extracted packet for processing {"connection_id":185693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afd6"} 
[2026-09-17 20:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458151976192001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789656458000,"timestamp_ms":1789656458000,"timestamp_seconds":1789656458,"priority":1,"record_length":96,"hex_timestamp":"000001a0afd66310"} 
[2026-09-17 20:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":185693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":185693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":185693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458151976192001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458151976192001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:23:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458151976192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":185693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:23:17] local.INFO: GPS data processed {"connection_id":185693,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:23:17] local.INFO: Acknowledgment sent {"connection_id":185693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:23:19] local.INFO: TCP Data received {"connection_id":185542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:23:19] local.INFO: Processing buffer {"connection_id":185542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:23:19] local.INFO: IMEI packet received {"connection_id":185542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":185542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:23:20] local.INFO: TCP Data received {"connection_id":185542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:23:20] local.INFO: Processing buffer {"connection_id":185542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:23:20] local.INFO: Packet analysis {"connection_id":185542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:23:20] local.INFO: Extracted packet for processing {"connection_id":185542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":185542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:23:20] local.INFO: GPS data processed {"connection_id":185542,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:23:20] local.INFO: Acknowledgment sent {"connection_id":185542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:23:35] local.INFO: TCP Data received {"connection_id":186998,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:23:35] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:23:35] local.INFO: IMEI packet received {"connection_id":186998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":186998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:23:40] local.INFO: TCP Data received {"connection_id":186998,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:23:40] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:23:40] local.INFO: IMEI packet received {"connection_id":186998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":186998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:23:41] local.INFO: TCP Data received {"connection_id":186998,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:23:41] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:23:41] local.INFO: Packet analysis {"connection_id":186998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:23:41] local.INFO: Extracted packet for processing {"connection_id":186998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:23:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:23:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":186998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:23:41] local.INFO: GPS data processed {"connection_id":186998,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:23:41] local.INFO: Acknowledgment sent {"connection_id":186998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:23:51] local.INFO: TCP Data received {"connection_id":185542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:23:51] local.INFO: Processing buffer {"connection_id":185542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:23:51] local.INFO: Packet analysis {"connection_id":185542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:23:51] local.INFO: Extracted packet for processing {"connection_id":185542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":185542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:23:51] local.INFO: GPS data processed {"connection_id":185542,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:23:51] local.INFO: Acknowledgment sent {"connection_id":185542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:24:12] local.INFO: TCP Data received {"connection_id":186998,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:24:12] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:24:12] local.INFO: Packet analysis {"connection_id":186998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:24:12] local.INFO: Extracted packet for processing {"connection_id":186998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:24:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":186998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:24:12] local.INFO: GPS data processed {"connection_id":186998,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:24:12] local.INFO: Acknowledgment sent {"connection_id":186998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:24:14] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:24:14] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:24:14] local.INFO: IMEI packet received {"connection_id":188323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":188323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:24:19] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:24:19] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:24:19] local.INFO: IMEI packet received {"connection_id":188323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":188323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:24:20] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:24:20] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:24:20] local.INFO: Packet analysis {"connection_id":188323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:24:20] local.INFO: Extracted packet for processing {"connection_id":188323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":188323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:24:20] local.INFO: GPS data processed {"connection_id":188323,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:24:20] local.INFO: Acknowledgment sent {"connection_id":188323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:24:35] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:24:35] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:24:35] local.INFO: IMEI packet received {"connection_id":187000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":187000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:24:40] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:24:40] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:24:40] local.INFO: IMEI packet received {"connection_id":187000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":187000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:24:41] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:24:41] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:24:41] local.INFO: Packet analysis {"connection_id":187000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:24:41] local.INFO: Extracted packet for processing {"connection_id":187000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:24:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":187000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:24:41] local.INFO: GPS data processed {"connection_id":187000,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:24:41] local.INFO: Acknowledgment sent {"connection_id":187000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:24:51] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:24:51] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:24:51] local.INFO: Packet analysis {"connection_id":188323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:24:51] local.INFO: Extracted packet for processing {"connection_id":188323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":188323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:24:51] local.INFO: GPS data processed {"connection_id":188323,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:24:51] local.INFO: Acknowledgment sent {"connection_id":188323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:25:12] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:25:12] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:25:12] local.INFO: Packet analysis {"connection_id":187000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:25:12] local.INFO: Extracted packet for processing {"connection_id":187000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:25:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":187000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:25:12] local.INFO: GPS data processed {"connection_id":187000,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:25:12] local.INFO: Acknowledgment sent {"connection_id":187000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:25:14] local.INFO: TCP Data received {"connection_id":185543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:25:14] local.INFO: Processing buffer {"connection_id":185543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:25:14] local.INFO: IMEI packet received {"connection_id":185543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":185543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:25:14] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:25:14] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:25:14] local.INFO: IMEI packet received {"connection_id":188324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:25:19] local.INFO: TCP Data received {"connection_id":185543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:25:19] local.INFO: Processing buffer {"connection_id":185543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:25:19] local.INFO: IMEI packet received {"connection_id":185543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":185543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:25:20] local.INFO: TCP Data received {"connection_id":185543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:25:20] local.INFO: Processing buffer {"connection_id":185543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:25:20] local.INFO: Packet analysis {"connection_id":185543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:25:20] local.INFO: Extracted packet for processing {"connection_id":185543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:25: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-09-17 20:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":185543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:25:20] local.INFO: GPS data processed {"connection_id":185543,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:25:20] local.INFO: Acknowledgment sent {"connection_id":185543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:25:35] local.INFO: TCP Data received {"connection_id":187001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:25:35] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:25:35] local.INFO: IMEI packet received {"connection_id":187001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":187001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:25:40] local.INFO: TCP Data received {"connection_id":187001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:25:40] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:25:40] local.INFO: IMEI packet received {"connection_id":187001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":187001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:25:41] local.INFO: TCP Data received {"connection_id":187001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:25:41] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:25:41] local.INFO: Packet analysis {"connection_id":187001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:25:41] local.INFO: Extracted packet for processing {"connection_id":187001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:25:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":187001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:25:41] local.INFO: GPS data processed {"connection_id":187001,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:25:41] local.INFO: Acknowledgment sent {"connection_id":187001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:25:49] local.INFO: TCP Data received {"connection_id":188325,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:25:49] local.INFO: Processing buffer {"connection_id":188325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:25:49] local.INFO: IMEI packet received {"connection_id":188325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":188325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:25:52] local.INFO: TCP Data received {"connection_id":185543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:25:52] local.INFO: Processing buffer {"connection_id":185543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:25:52] local.INFO: Packet analysis {"connection_id":185543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:25:52] local.INFO: Extracted packet for processing {"connection_id":185543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":185543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:25:52] local.INFO: GPS data processed {"connection_id":185543,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:25:52] local.INFO: Acknowledgment sent {"connection_id":185543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:26:12] local.INFO: TCP Data received {"connection_id":187001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:26:12] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:26:12] local.INFO: Packet analysis {"connection_id":187001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:26:12] local.INFO: Extracted packet for processing {"connection_id":187001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:26:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":187001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:26:12] local.INFO: GPS data processed {"connection_id":187001,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:26:12] local.INFO: Acknowledgment sent {"connection_id":187001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:26:14] local.INFO: TCP Data received {"connection_id":185694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:26:14] local.INFO: Processing buffer {"connection_id":185694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:26:14] local.INFO: IMEI packet received {"connection_id":185694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":185694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:26:19] local.INFO: TCP Data received {"connection_id":185694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:26:19] local.INFO: Processing buffer {"connection_id":185694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:26:19] local.INFO: IMEI packet received {"connection_id":185694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":185694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:26:20] local.INFO: TCP Data received {"connection_id":185694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:26:20] local.INFO: Processing buffer {"connection_id":185694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:26:20] local.INFO: Packet analysis {"connection_id":185694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:26:20] local.INFO: Extracted packet for processing {"connection_id":185694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:26: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-09-17 20:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":185694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:26:20] local.INFO: GPS data processed {"connection_id":185694,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:26:20] local.INFO: Acknowledgment sent {"connection_id":185694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:26:35] local.INFO: TCP Data received {"connection_id":188326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:26:35] local.INFO: Processing buffer {"connection_id":188326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:26:35] local.INFO: IMEI packet received {"connection_id":188326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":188326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:26:40] local.INFO: TCP Data received {"connection_id":188326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:26:40] local.INFO: Processing buffer {"connection_id":188326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:26:40] local.INFO: IMEI packet received {"connection_id":188326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":188326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:26:41] local.INFO: TCP Data received {"connection_id":188326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:26:41] local.INFO: Processing buffer {"connection_id":188326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:26:41] local.INFO: Packet analysis {"connection_id":188326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:26:41] local.INFO: Extracted packet for processing {"connection_id":188326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:26:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":188326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:26:41] local.INFO: GPS data processed {"connection_id":188326,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:26:41] local.INFO: Acknowledgment sent {"connection_id":188326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:26:51] local.INFO: TCP Data received {"connection_id":185694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:26:51] local.INFO: Processing buffer {"connection_id":185694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:26:51] local.INFO: Packet analysis {"connection_id":185694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:26:51] local.INFO: Extracted packet for processing {"connection_id":185694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":185694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:26:51] local.INFO: GPS data processed {"connection_id":185694,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:26:51] local.INFO: Acknowledgment sent {"connection_id":185694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:27:12] local.INFO: TCP Data received {"connection_id":188326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:27:12] local.INFO: Processing buffer {"connection_id":188326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:27:12] local.INFO: Packet analysis {"connection_id":188326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:27:12] local.INFO: Extracted packet for processing {"connection_id":188326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:27:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":188326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:27:12] local.INFO: GPS data processed {"connection_id":188326,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:27:12] local.INFO: Acknowledgment sent {"connection_id":188326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:27:19] local.INFO: TCP Data received {"connection_id":185545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:27:19] local.INFO: Processing buffer {"connection_id":185545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:27:19] local.INFO: IMEI packet received {"connection_id":185545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":185545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:27:25] local.INFO: TCP Data received {"connection_id":185545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:27:25] local.INFO: Processing buffer {"connection_id":185545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:27:25] local.INFO: IMEI packet received {"connection_id":185545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":185545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:27:26] local.INFO: TCP Data received {"connection_id":185545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:27:26] local.INFO: Processing buffer {"connection_id":185545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:27:26] local.INFO: Packet analysis {"connection_id":185545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:27:26] local.INFO: Extracted packet for processing {"connection_id":185545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:27:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":185545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":185545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":185545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:27:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":185545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:27:26] local.INFO: GPS data processed {"connection_id":185545,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:27:26] local.INFO: Acknowledgment sent {"connection_id":185545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:27:29] local.INFO: TCP Data received {"connection_id":185545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:27:29] local.INFO: Processing buffer {"connection_id":185545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afda56c8012d34c14006aa4440000a011826..."} 
[2026-09-17 20:27:29] local.INFO: Packet analysis {"connection_id":185545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:27:29] local.INFO: Extracted packet for processing {"connection_id":185545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:27:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152042496001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789656717000,"timestamp_ms":1789656717000,"timestamp_seconds":1789656717,"priority":1,"record_length":96,"hex_timestamp":"000001a0afda56c8"} 
[2026-09-17 20:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152042496001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152042496001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:27:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152042496001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":185545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:27:29] local.INFO: GPS data processed {"connection_id":185545,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:27:29] local.INFO: Acknowledgment sent {"connection_id":185545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:27:35] local.INFO: TCP Data received {"connection_id":185695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:27:35] local.INFO: Processing buffer {"connection_id":185695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:27:35] local.INFO: IMEI packet received {"connection_id":185695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":185695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:27:40] local.INFO: TCP Data received {"connection_id":185695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:27:40] local.INFO: Processing buffer {"connection_id":185695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:27:40] local.INFO: IMEI packet received {"connection_id":185695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":185695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:27:41] local.INFO: TCP Data received {"connection_id":185695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:27:41] local.INFO: Processing buffer {"connection_id":185695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:27:41] local.INFO: Packet analysis {"connection_id":185695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:27:41] local.INFO: Extracted packet for processing {"connection_id":185695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:27:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":185695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:27:41] local.INFO: GPS data processed {"connection_id":185695,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:27:41] local.INFO: Acknowledgment sent {"connection_id":185695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:28:12] local.INFO: TCP Data received {"connection_id":185695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:28:12] local.INFO: Processing buffer {"connection_id":185695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdafad8012d196580071fef78003e010925..."} 
[2026-09-17 20:28:12] local.INFO: Packet analysis {"connection_id":185695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:28:12] local.INFO: Extracted packet for processing {"connection_id":185695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afda"} 
[2026-09-17 20:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152053248001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789656759000,"timestamp_ms":1789656759000,"timestamp_seconds":1789656759,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdafad8"} 
[2026-09-17 20:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152053248001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152053248001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:28:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152053248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":185695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:28:12] local.INFO: GPS data processed {"connection_id":185695,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:28:12] local.INFO: Acknowledgment sent {"connection_id":185695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:28:14] local.INFO: TCP Data received {"connection_id":185696,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:28:14] local.INFO: Processing buffer {"connection_id":185696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:28:14] local.INFO: IMEI packet received {"connection_id":185696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":185696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:28:19] local.INFO: TCP Data received {"connection_id":185696,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:28:19] local.INFO: Processing buffer {"connection_id":185696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:28:19] local.INFO: IMEI packet received {"connection_id":185696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":185696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:28:20] local.INFO: TCP Data received {"connection_id":185696,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:28:20] local.INFO: Processing buffer {"connection_id":185696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:28:20] local.INFO: Packet analysis {"connection_id":185696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:28:20] local.INFO: Extracted packet for processing {"connection_id":185696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152119552001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657018000,"timestamp_ms":1789657018000,"timestamp_seconds":1789657018,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdeee90"} 
[2026-09-17 20:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 20:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:28: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-09-17 20:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152119552001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152119552001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152119552001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":185696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:28:20] local.INFO: GPS data processed {"connection_id":185696,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:28:20] local.INFO: Acknowledgment sent {"connection_id":185696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:28:40] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:28:40] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:28:40] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:28:45] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:28:45] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:28:45] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:28:46] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:28:46] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:28:46] local.INFO: Packet analysis {"connection_id":188328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:28:46] local.INFO: Extracted packet for processing {"connection_id":188328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:28:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":188328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:28:46] local.INFO: GPS data processed {"connection_id":188328,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:28:46] local.INFO: Acknowledgment sent {"connection_id":188328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:28:50] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:28:50] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:28:50] local.INFO: Packet analysis {"connection_id":188328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:28:50] local.INFO: Extracted packet for processing {"connection_id":188328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:28:50] 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-09-17 20:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:28:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":188328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:28:50] local.INFO: GPS data processed {"connection_id":188328,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:28:50] local.INFO: Acknowledgment sent {"connection_id":188328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:28:51] local.INFO: TCP Data received {"connection_id":185696,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:28:51] local.INFO: Processing buffer {"connection_id":185696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:28:51] local.INFO: Packet analysis {"connection_id":185696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:28:51] local.INFO: Extracted packet for processing {"connection_id":185696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152119552001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789657018000,"timestamp_ms":1789657018000,"timestamp_seconds":1789657018,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdeee90"} 
[2026-09-17 20:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 20:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152119552001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152119552001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152119552001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":185696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:28:52] local.INFO: GPS data processed {"connection_id":185696,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:28:52] local.INFO: Acknowledgment sent {"connection_id":185696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:29:14] local.INFO: TCP Data received {"connection_id":185546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:29:14] local.INFO: Processing buffer {"connection_id":185546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:29:14] local.INFO: IMEI packet received {"connection_id":185546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":185546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:29:19] local.INFO: TCP Data received {"connection_id":185546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:29:19] local.INFO: Processing buffer {"connection_id":185546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:29:19] local.INFO: IMEI packet received {"connection_id":185546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":185546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:29:20] local.INFO: TCP Data received {"connection_id":185546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:29:20] local.INFO: Processing buffer {"connection_id":185546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:29:20] local.INFO: Packet analysis {"connection_id":185546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:29:20] local.INFO: Extracted packet for processing {"connection_id":185546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152119552001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:29:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657018000,"timestamp_ms":1789657018000,"timestamp_seconds":1789657018,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdeee90"} 
[2026-09-17 20:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 20:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:29: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-09-17 20:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152119552001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152119552001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152119552001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":185546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:29:20] local.INFO: GPS data processed {"connection_id":185546,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:29:20] local.INFO: Acknowledgment sent {"connection_id":185546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:29:35] local.INFO: TCP Data received {"connection_id":187003,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:29:35] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:29:35] local.INFO: IMEI packet received {"connection_id":187003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":187003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:29:40] local.INFO: TCP Data received {"connection_id":187003,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:29:40] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:29:40] local.INFO: IMEI packet received {"connection_id":187003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":187003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:29:41] local.INFO: TCP Data received {"connection_id":187003,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:29:41] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:29:41] local.INFO: Packet analysis {"connection_id":187003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:29:41] local.INFO: Extracted packet for processing {"connection_id":187003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:29:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":187003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:29:41] local.INFO: GPS data processed {"connection_id":187003,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:29:41] local.INFO: Acknowledgment sent {"connection_id":187003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:29:52] local.INFO: TCP Data received {"connection_id":185546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:29:52] local.INFO: Processing buffer {"connection_id":185546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:29:52] local.INFO: Packet analysis {"connection_id":185546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:29:52] local.INFO: Extracted packet for processing {"connection_id":185546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152119552001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:29:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789657018000,"timestamp_ms":1789657018000,"timestamp_seconds":1789657018,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdeee90"} 
[2026-09-17 20:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 20:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152119552001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152119552001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152119552001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":185546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:29:52] local.INFO: GPS data processed {"connection_id":185546,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:29:52] local.INFO: Acknowledgment sent {"connection_id":185546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:30:12] local.INFO: TCP Data received {"connection_id":187003,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:30:12] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:30:12] local.INFO: Packet analysis {"connection_id":187003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:30:12] local.INFO: Extracted packet for processing {"connection_id":187003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:30:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":187003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:30:12] local.INFO: GPS data processed {"connection_id":187003,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:30:12] local.INFO: Acknowledgment sent {"connection_id":187003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:30:14] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:30:14] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:30:14] local.INFO: IMEI packet received {"connection_id":188329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":188329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:30:19] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:30:19] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:30:19] local.INFO: IMEI packet received {"connection_id":188329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":188329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:30:20] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:30:20] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:30:20] local.INFO: Packet analysis {"connection_id":188329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:30:20] local.INFO: Extracted packet for processing {"connection_id":188329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152119552001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657018000,"timestamp_ms":1789657018000,"timestamp_seconds":1789657018,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdeee90"} 
[2026-09-17 20:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 20:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:30: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-09-17 20:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152119552001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152119552001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152119552001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":188329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:30:20] local.INFO: GPS data processed {"connection_id":188329,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:30:20] local.INFO: Acknowledgment sent {"connection_id":188329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:30:35] local.INFO: TCP Data received {"connection_id":185547,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:30:35] local.INFO: Processing buffer {"connection_id":185547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:30:35] local.INFO: IMEI packet received {"connection_id":185547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":185547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:30:40] local.INFO: TCP Data received {"connection_id":185547,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:30:40] local.INFO: Processing buffer {"connection_id":185547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:30:40] local.INFO: IMEI packet received {"connection_id":185547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":185547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:30:41] local.INFO: TCP Data received {"connection_id":185547,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:30:41] local.INFO: Processing buffer {"connection_id":185547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:30:41] local.INFO: Packet analysis {"connection_id":185547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:30:41] local.INFO: Extracted packet for processing {"connection_id":185547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:30:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":185547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:30:41] local.INFO: GPS data processed {"connection_id":185547,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:30:41] local.INFO: Acknowledgment sent {"connection_id":185547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:30:52] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:30:52] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:30:52] local.INFO: Packet analysis {"connection_id":188329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:30:52] local.INFO: Extracted packet for processing {"connection_id":188329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152119552001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789657018000,"timestamp_ms":1789657018000,"timestamp_seconds":1789657018,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdeee90"} 
[2026-09-17 20:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 20:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152119552001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152119552001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152119552001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":188329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:30:52] local.INFO: GPS data processed {"connection_id":188329,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:30:52] local.INFO: Acknowledgment sent {"connection_id":188329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:31:13] local.INFO: TCP Data received {"connection_id":185547,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:31:13] local.INFO: Processing buffer {"connection_id":185547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:31:13] local.INFO: Packet analysis {"connection_id":185547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:31:13] local.INFO: Extracted packet for processing {"connection_id":185547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":185547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":185547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":185547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:31:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":185547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:31:13] local.INFO: GPS data processed {"connection_id":185547,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:31:13] local.INFO: Acknowledgment sent {"connection_id":185547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:31:14] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:31:14] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:31:14] local.INFO: IMEI packet received {"connection_id":187004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":187004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:31:21] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:31:21] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:31:21] local.INFO: IMEI packet received {"connection_id":187004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":187004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:31:22] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:31:22] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:31:22] local.INFO: Packet analysis {"connection_id":187004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:31:22] local.INFO: Extracted packet for processing {"connection_id":187004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152119552001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789657018000,"timestamp_ms":1789657018000,"timestamp_seconds":1789657018,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdeee90"} 
[2026-09-17 20:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 20:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152119552001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152119552001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152119552001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":187004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:31:23] local.INFO: GPS data processed {"connection_id":187004,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:31:23] local.INFO: Acknowledgment sent {"connection_id":187004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:31:35] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:31:35] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:31:35] local.INFO: IMEI packet received {"connection_id":188330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":188330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:31:40] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:31:40] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:31:40] local.INFO: IMEI packet received {"connection_id":188330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":188330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:31:41] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:31:41] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:31:41] local.INFO: Packet analysis {"connection_id":188330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:31:41] local.INFO: Extracted packet for processing {"connection_id":188330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:31:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":188330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:31:41] local.INFO: GPS data processed {"connection_id":188330,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:31:41] local.INFO: Acknowledgment sent {"connection_id":188330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:31:54] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:31:54] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:31:54] local.INFO: Packet analysis {"connection_id":187004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:31:54] local.INFO: Extracted packet for processing {"connection_id":187004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152119552001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789657018000,"timestamp_ms":1789657018000,"timestamp_seconds":1789657018,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdeee90"} 
[2026-09-17 20:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 20:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152119552001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152119552001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152119552001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":187004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:31:54] local.INFO: GPS data processed {"connection_id":187004,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:31:54] local.INFO: Acknowledgment sent {"connection_id":187004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:32:12] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:32:12] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:32:12] local.INFO: Packet analysis {"connection_id":188330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:32:12] local.INFO: Extracted packet for processing {"connection_id":188330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:32: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-09-17 20:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:32: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-09-17 20:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:32:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":188330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:32:12] local.INFO: GPS data processed {"connection_id":188330,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:32:12] local.INFO: Acknowledgment sent {"connection_id":188330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:32:14] local.INFO: TCP Data received {"connection_id":188331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:32:14] local.INFO: Processing buffer {"connection_id":188331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:32:14] local.INFO: IMEI packet received {"connection_id":188331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":188331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:32:19] local.INFO: TCP Data received {"connection_id":188331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:32:19] local.INFO: Processing buffer {"connection_id":188331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:32:19] local.INFO: IMEI packet received {"connection_id":188331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":188331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:32:20] local.INFO: TCP Data received {"connection_id":188331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:32:20] local.INFO: Processing buffer {"connection_id":188331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdeee90012d34c14006aa4440000a011826..."} 
[2026-09-17 20:32:20] local.INFO: Packet analysis {"connection_id":188331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:32:20] local.INFO: Extracted packet for processing {"connection_id":188331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afde"} 
[2026-09-17 20:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152119552001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657018000,"timestamp_ms":1789657018000,"timestamp_seconds":1789657018,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdeee90"} 
[2026-09-17 20:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 20:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:32: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-09-17 20:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152119552001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152119552001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152119552001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":188331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:32:20] local.INFO: GPS data processed {"connection_id":188331,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:32:20] local.INFO: Acknowledgment sent {"connection_id":188331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:32:35] local.INFO: TCP Data received {"connection_id":185548,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:32:35] local.INFO: Processing buffer {"connection_id":185548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:32:35] local.INFO: IMEI packet received {"connection_id":185548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":185548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:32:40] local.INFO: TCP Data received {"connection_id":185548,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:32:40] local.INFO: Processing buffer {"connection_id":185548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:32:40] local.INFO: IMEI packet received {"connection_id":185548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":185548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:32:44] local.INFO: TCP Data received {"connection_id":185548,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:32:44] local.INFO: Processing buffer {"connection_id":185548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:32:44] local.INFO: Packet analysis {"connection_id":185548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:32:44] local.INFO: Extracted packet for processing {"connection_id":185548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":185548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":185548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":185548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:32:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":185548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:32:44] local.INFO: GPS data processed {"connection_id":185548,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:32:44] local.INFO: Acknowledgment sent {"connection_id":185548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:32:51] local.INFO: TCP Data received {"connection_id":188331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:32:51] local.INFO: Processing buffer {"connection_id":188331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:32:51] local.INFO: Packet analysis {"connection_id":188331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:32:51] local.INFO: Extracted packet for processing {"connection_id":188331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":188331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:32:52] local.INFO: GPS data processed {"connection_id":188331,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:32:52] local.INFO: Acknowledgment sent {"connection_id":188331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:32:59] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:32:59] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:32:59] local.INFO: IMEI packet received {"connection_id":187005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":187005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:33:14] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:33:14] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:33:14] local.INFO: IMEI packet received {"connection_id":187006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":187006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:33:15] local.INFO: TCP Data received {"connection_id":185548,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:33:15] local.INFO: Processing buffer {"connection_id":185548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afdf92a0012d196580071fef78003e010926..."} 
[2026-09-17 20:33:15] local.INFO: Packet analysis {"connection_id":185548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:33:15] local.INFO: Extracted packet for processing {"connection_id":185548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afdf"} 
[2026-09-17 20:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152130304001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789657060000,"timestamp_ms":1789657060000,"timestamp_seconds":1789657060,"priority":1,"record_length":96,"hex_timestamp":"000001a0afdf92a0"} 
[2026-09-17 20:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":185548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":185548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":185548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152130304001,"66":2166,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152130304001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:33:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152130304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":185548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:33:15] local.INFO: GPS data processed {"connection_id":185548,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:33:15] local.INFO: Acknowledgment sent {"connection_id":185548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:33:19] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:33:19] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:33:19] local.INFO: IMEI packet received {"connection_id":187006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":187006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:33:20] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:33:20] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:33:20] local.INFO: Packet analysis {"connection_id":187006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:33:20] local.INFO: Extracted packet for processing {"connection_id":187006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:33: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-09-17 20:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":187006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:33:20] local.INFO: GPS data processed {"connection_id":187006,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:33:20] local.INFO: Acknowledgment sent {"connection_id":187006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:33:40] local.INFO: TCP Data received {"connection_id":187007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:33:40] local.INFO: Processing buffer {"connection_id":187007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:33:40] local.INFO: IMEI packet received {"connection_id":187007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":187007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:33:45] local.INFO: TCP Data received {"connection_id":187007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:33:45] local.INFO: Processing buffer {"connection_id":187007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:33:45] local.INFO: IMEI packet received {"connection_id":187007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":187007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:33:46] local.INFO: TCP Data received {"connection_id":187007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:33:46] local.INFO: Processing buffer {"connection_id":187007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:33:46] local.INFO: Packet analysis {"connection_id":187007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:33:46] local.INFO: Extracted packet for processing {"connection_id":187007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":187007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:33:46] local.INFO: GPS data processed {"connection_id":187007,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:33:46] local.INFO: Acknowledgment sent {"connection_id":187007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:33:51] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:33:51] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:33:51] local.INFO: Packet analysis {"connection_id":187006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:33:51] local.INFO: Extracted packet for processing {"connection_id":187006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":187006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:33:51] local.INFO: GPS data processed {"connection_id":187006,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:33:51] local.INFO: Acknowledgment sent {"connection_id":187006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:34:14] local.INFO: TCP Data received {"connection_id":185549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:34:14] local.INFO: Processing buffer {"connection_id":185549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:34:14] local.INFO: IMEI packet received {"connection_id":185549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":185549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:34:17] local.INFO: TCP Data received {"connection_id":187007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:34:17] local.INFO: Processing buffer {"connection_id":187007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:34:17] local.INFO: Packet analysis {"connection_id":187007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:34:17] local.INFO: Extracted packet for processing {"connection_id":187007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:34:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":187007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:34:17] local.INFO: GPS data processed {"connection_id":187007,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:34:17] local.INFO: Acknowledgment sent {"connection_id":187007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:34:19] local.INFO: TCP Data received {"connection_id":185549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:34:19] local.INFO: Processing buffer {"connection_id":185549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:34:19] local.INFO: IMEI packet received {"connection_id":185549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":185549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:34:20] local.INFO: TCP Data received {"connection_id":185549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:34:20] local.INFO: Processing buffer {"connection_id":185549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:34:20] local.INFO: Packet analysis {"connection_id":185549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:34:20] local.INFO: Extracted packet for processing {"connection_id":185549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:34: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-09-17 20:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":185549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:34:20] local.INFO: GPS data processed {"connection_id":185549,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:34:20] local.INFO: Acknowledgment sent {"connection_id":185549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:34:35] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:34:35] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:34:35] local.INFO: IMEI packet received {"connection_id":187008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":187008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:34:40] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:34:40] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:34:40] local.INFO: IMEI packet received {"connection_id":187008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":187008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:34:41] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:34:41] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:34:41] local.INFO: Packet analysis {"connection_id":187008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:34:41] local.INFO: Extracted packet for processing {"connection_id":187008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:34:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":187008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:34:41] local.INFO: GPS data processed {"connection_id":187008,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:34:41] local.INFO: Acknowledgment sent {"connection_id":187008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:34:52] local.INFO: TCP Data received {"connection_id":185549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:34:52] local.INFO: Processing buffer {"connection_id":185549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:34:52] local.INFO: Packet analysis {"connection_id":185549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:34:52] local.INFO: Extracted packet for processing {"connection_id":185549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":185549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:34:52] local.INFO: GPS data processed {"connection_id":185549,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:34:52] local.INFO: Acknowledgment sent {"connection_id":185549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:35:12] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:35:12] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:35:12] local.INFO: Packet analysis {"connection_id":187008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:35:12] local.INFO: Extracted packet for processing {"connection_id":187008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:35:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":187008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:35:12] local.INFO: GPS data processed {"connection_id":187008,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:35:12] local.INFO: Acknowledgment sent {"connection_id":187008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:35:14] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:35:14] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:35:14] local.INFO: IMEI packet received {"connection_id":185550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":185550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:35:19] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:35:19] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:35:19] local.INFO: IMEI packet received {"connection_id":185550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":185550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:35:20] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:35:20] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:35:20] local.INFO: Packet analysis {"connection_id":185550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:35:20] local.INFO: Extracted packet for processing {"connection_id":185550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":185550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:35:20] local.INFO: GPS data processed {"connection_id":185550,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:35:20] local.INFO: Acknowledgment sent {"connection_id":185550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:35:35] local.INFO: TCP Data received {"connection_id":185698,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:35:35] local.INFO: Processing buffer {"connection_id":185698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:35:35] local.INFO: IMEI packet received {"connection_id":185698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":185698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:35:40] local.INFO: TCP Data received {"connection_id":185698,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:35:40] local.INFO: Processing buffer {"connection_id":185698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:35:40] local.INFO: IMEI packet received {"connection_id":185698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":185698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:35:41] local.INFO: TCP Data received {"connection_id":185698,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:35:41] local.INFO: Processing buffer {"connection_id":185698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:35:41] local.INFO: Packet analysis {"connection_id":185698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:35:41] local.INFO: Extracted packet for processing {"connection_id":185698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":185698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":185698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":185698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:35:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":185698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:35:41] local.INFO: GPS data processed {"connection_id":185698,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:35:41] local.INFO: Acknowledgment sent {"connection_id":185698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:35:52] local.INFO: TCP Data received {"connection_id":185550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:35:52] local.INFO: Processing buffer {"connection_id":185550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:35:52] local.INFO: Packet analysis {"connection_id":185550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:35:52] local.INFO: Extracted packet for processing {"connection_id":185550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":185550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:35:52] local.INFO: GPS data processed {"connection_id":185550,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:35:52] local.INFO: Acknowledgment sent {"connection_id":185550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:36:12] local.INFO: TCP Data received {"connection_id":185698,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:36:12] local.INFO: Processing buffer {"connection_id":185698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:36:12] local.INFO: Packet analysis {"connection_id":185698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:36:12] local.INFO: Extracted packet for processing {"connection_id":185698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":185698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":185698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":185698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:36:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":185698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:36:12] local.INFO: GPS data processed {"connection_id":185698,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:36:12] local.INFO: Acknowledgment sent {"connection_id":185698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:36:14] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:36:14] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:36:14] local.INFO: IMEI packet received {"connection_id":188333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":188333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:36:19] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:36:19] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:36:19] local.INFO: IMEI packet received {"connection_id":188333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":188333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:36:20] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:36:20] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:36:20] local.INFO: Packet analysis {"connection_id":188333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:36:20] local.INFO: Extracted packet for processing {"connection_id":188333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:36: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-09-17 20:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":188333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:36:20] local.INFO: GPS data processed {"connection_id":188333,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:36:20] local.INFO: Acknowledgment sent {"connection_id":188333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:36:35] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:36:35] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:36:35] local.INFO: IMEI packet received {"connection_id":187010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":187010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:36:40] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:36:40] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:36:40] local.INFO: IMEI packet received {"connection_id":187010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":187010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:36:41] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:36:41] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:36:41] local.INFO: Packet analysis {"connection_id":187010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:36:41] local.INFO: Extracted packet for processing {"connection_id":187010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:36: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-09-17 20:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:36:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":187010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:36:41] local.INFO: GPS data processed {"connection_id":187010,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:36:41] local.INFO: Acknowledgment sent {"connection_id":187010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:36:51] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:36:51] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:36:51] local.INFO: Packet analysis {"connection_id":188333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:36:51] local.INFO: Extracted packet for processing {"connection_id":188333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":188333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:36:51] local.INFO: GPS data processed {"connection_id":188333,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:36:51] local.INFO: Acknowledgment sent {"connection_id":188333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:37:12] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:37:12] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:37:12] local.INFO: Packet analysis {"connection_id":187010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:37:12] local.INFO: Extracted packet for processing {"connection_id":187010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:37:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":187010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:37:12] local.INFO: GPS data processed {"connection_id":187010,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:37:12] local.INFO: Acknowledgment sent {"connection_id":187010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:37:14] local.INFO: TCP Data received {"connection_id":185699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:37:14] local.INFO: Processing buffer {"connection_id":185699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:37:14] local.INFO: IMEI packet received {"connection_id":185699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":185699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:37:19] local.INFO: TCP Data received {"connection_id":185699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:37:19] local.INFO: Processing buffer {"connection_id":185699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:37:19] local.INFO: IMEI packet received {"connection_id":185699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":185699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:37:20] local.INFO: TCP Data received {"connection_id":185699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:37:20] local.INFO: Processing buffer {"connection_id":185699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe38658012d34c14006aa4440000a011823..."} 
[2026-09-17 20:37:20] local.INFO: Packet analysis {"connection_id":185699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:37:20] local.INFO: Extracted packet for processing {"connection_id":185699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe3"} 
[2026-09-17 20:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152196608001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657319000,"timestamp_ms":1789657319000,"timestamp_seconds":1789657319,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe38658"} 
[2026-09-17 20:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:37: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-09-17 20:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152196608001,"66":25375,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152196608001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152196608001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":185699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:37:20] local.INFO: GPS data processed {"connection_id":185699,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:37:20] local.INFO: Acknowledgment sent {"connection_id":185699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:37:35] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:37:35] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:37:35] local.INFO: IMEI packet received {"connection_id":187011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":187011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:37:40] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:37:40] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:37:40] local.INFO: IMEI packet received {"connection_id":187011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":187011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:37:41] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:37:41] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:37:41] local.INFO: Packet analysis {"connection_id":187011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:37:41] local.INFO: Extracted packet for processing {"connection_id":187011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:37:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":187011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:37:41] local.INFO: GPS data processed {"connection_id":187011,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:37:41] local.INFO: Acknowledgment sent {"connection_id":187011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:37:51] local.INFO: TCP Data received {"connection_id":185699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:37:51] local.INFO: Processing buffer {"connection_id":185699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:37:51] local.INFO: Packet analysis {"connection_id":185699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:37:51] local.INFO: Extracted packet for processing {"connection_id":185699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":185699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:37:51] local.INFO: GPS data processed {"connection_id":185699,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:37:51] local.INFO: Acknowledgment sent {"connection_id":185699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:38:12] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:38:12] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe42a68012d196580071fef78003e010925..."} 
[2026-09-17 20:38:12] local.INFO: Packet analysis {"connection_id":187011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:38:12] local.INFO: Extracted packet for processing {"connection_id":187011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe4"} 
[2026-09-17 20:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152207360001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789657361000,"timestamp_ms":1789657361000,"timestamp_seconds":1789657361,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe42a68"} 
[2026-09-17 20:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 20:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152207360001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152207360001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:38:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152207360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":187011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:38:12] local.INFO: GPS data processed {"connection_id":187011,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:38:12] local.INFO: Acknowledgment sent {"connection_id":187011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:38:14] local.INFO: TCP Data received {"connection_id":185551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:38:14] local.INFO: Processing buffer {"connection_id":185551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:38:14] local.INFO: IMEI packet received {"connection_id":185551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":185551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:38:19] local.INFO: TCP Data received {"connection_id":185551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:38:19] local.INFO: Processing buffer {"connection_id":185551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:38:19] local.INFO: IMEI packet received {"connection_id":185551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":185551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:38:19] local.INFO: TCP Data received {"connection_id":185700,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:38:19] local.INFO: Processing buffer {"connection_id":185700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:38:19] local.INFO: IMEI packet received {"connection_id":185700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":185700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:38:20] local.INFO: TCP Data received {"connection_id":185551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:38:20] local.INFO: Processing buffer {"connection_id":185551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:38:20] local.INFO: Packet analysis {"connection_id":185551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:38:20] local.INFO: Extracted packet for processing {"connection_id":185551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:38: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-09-17 20:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":185551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:38:20] local.INFO: GPS data processed {"connection_id":185551,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:38:20] local.INFO: Acknowledgment sent {"connection_id":185551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:38:40] local.INFO: TCP Data received {"connection_id":185552,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:38:40] local.INFO: Processing buffer {"connection_id":185552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:38:40] local.INFO: IMEI packet received {"connection_id":185552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":185552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:38:45] local.INFO: TCP Data received {"connection_id":185552,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:38:45] local.INFO: Processing buffer {"connection_id":185552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:38:45] local.INFO: IMEI packet received {"connection_id":185552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":185552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:38:46] local.INFO: TCP Data received {"connection_id":185552,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:38:46] local.INFO: Processing buffer {"connection_id":185552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:38:46] local.INFO: Packet analysis {"connection_id":185552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:38:46] local.INFO: Extracted packet for processing {"connection_id":185552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152284416001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789657662000,"timestamp_ms":1789657662000,"timestamp_seconds":1789657662,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe8c230"} 
[2026-09-17 20:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":185552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":185552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":185552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152284416001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152284416001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152284416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":185552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:38:46] local.INFO: GPS data processed {"connection_id":185552,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:38:46] local.INFO: Acknowledgment sent {"connection_id":185552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:38:50] local.INFO: TCP Data received {"connection_id":185552,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:38:50] local.INFO: Processing buffer {"connection_id":185552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:38:50] local.INFO: Packet analysis {"connection_id":185552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:38:50] local.INFO: Extracted packet for processing {"connection_id":185552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152284416001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789657662000,"timestamp_ms":1789657662000,"timestamp_seconds":1789657662,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe8c230"} 
[2026-09-17 20:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:38:50] 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-09-17 20:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":185552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":185552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":185552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152284416001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152284416001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:38:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152284416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":185552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:38:50] local.INFO: GPS data processed {"connection_id":185552,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:38:50] local.INFO: Acknowledgment sent {"connection_id":185552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:38:51] local.INFO: TCP Data received {"connection_id":185551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:38:51] local.INFO: Processing buffer {"connection_id":185551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:38:51] local.INFO: Packet analysis {"connection_id":185551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:38:51] local.INFO: Extracted packet for processing {"connection_id":185551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":185551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:38:51] local.INFO: GPS data processed {"connection_id":185551,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:38:51] local.INFO: Acknowledgment sent {"connection_id":185551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:38:54] local.INFO: TCP Data received {"connection_id":188335,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:38:54] local.INFO: Processing buffer {"connection_id":188335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:38:54] local.INFO: IMEI packet received {"connection_id":188335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":188335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:39:19] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:39:19] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:39:19] local.INFO: IMEI packet received {"connection_id":187012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":187012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:39:24] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:39:24] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:39:24] local.INFO: IMEI packet received {"connection_id":187012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":187012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:39:25] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:39:25] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:39:25] local.INFO: Packet analysis {"connection_id":187012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:39:25] local.INFO: Extracted packet for processing {"connection_id":187012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:39:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":187012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:39:25] local.INFO: GPS data processed {"connection_id":187012,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:39:25] local.INFO: Acknowledgment sent {"connection_id":187012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:39:30] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:39:30] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:39:30] local.INFO: Packet analysis {"connection_id":187012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:39:30] local.INFO: Extracted packet for processing {"connection_id":187012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:39:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:39:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":187012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:39:30] local.INFO: GPS data processed {"connection_id":187012,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:39:30] local.INFO: Acknowledgment sent {"connection_id":187012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:39:35] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:39:35] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:39:35] local.INFO: IMEI packet received {"connection_id":187013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":187013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:39:40] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:39:40] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:39:40] local.INFO: IMEI packet received {"connection_id":187013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":187013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:39:41] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:39:41] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:39:41] local.INFO: Packet analysis {"connection_id":187013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:39:41] local.INFO: Extracted packet for processing {"connection_id":187013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152284416001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657662000,"timestamp_ms":1789657662000,"timestamp_seconds":1789657662,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe8c230"} 
[2026-09-17 20:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152284416001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152284416001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:39:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152284416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":187013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:39:41] local.INFO: GPS data processed {"connection_id":187013,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:39:41] local.INFO: Acknowledgment sent {"connection_id":187013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:40:12] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:40:12] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:40:12] local.INFO: Packet analysis {"connection_id":187013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:40:12] local.INFO: Extracted packet for processing {"connection_id":187013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152284416001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789657662000,"timestamp_ms":1789657662000,"timestamp_seconds":1789657662,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe8c230"} 
[2026-09-17 20:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152284416001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152284416001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:40:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152284416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":187013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:40:12] local.INFO: GPS data processed {"connection_id":187013,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:40:12] local.INFO: Acknowledgment sent {"connection_id":187013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:40:14] local.INFO: TCP Data received {"connection_id":185701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:40:14] local.INFO: Processing buffer {"connection_id":185701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:40:14] local.INFO: IMEI packet received {"connection_id":185701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":185701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:40:19] local.INFO: TCP Data received {"connection_id":185701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:40:19] local.INFO: Processing buffer {"connection_id":185701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:40:19] local.INFO: IMEI packet received {"connection_id":185701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":185701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:40:20] local.INFO: TCP Data received {"connection_id":185701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:40:20] local.INFO: Processing buffer {"connection_id":185701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:40:20] local.INFO: Packet analysis {"connection_id":185701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:40:20] local.INFO: Extracted packet for processing {"connection_id":185701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:40: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-09-17 20:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":185701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:40:20] local.INFO: GPS data processed {"connection_id":185701,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:40:20] local.INFO: Acknowledgment sent {"connection_id":185701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:40:35] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:40:35] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:40:35] local.INFO: IMEI packet received {"connection_id":188336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":188336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:40:40] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:40:40] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:40:40] local.INFO: IMEI packet received {"connection_id":188336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":188336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:40:41] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:40:41] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:40:41] local.INFO: Packet analysis {"connection_id":188336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:40:41] local.INFO: Extracted packet for processing {"connection_id":188336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152284416001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657662000,"timestamp_ms":1789657662000,"timestamp_seconds":1789657662,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe8c230"} 
[2026-09-17 20:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152284416001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152284416001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:40:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152284416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":188336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:40:41] local.INFO: GPS data processed {"connection_id":188336,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:40:41] local.INFO: Acknowledgment sent {"connection_id":188336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:40:52] local.INFO: TCP Data received {"connection_id":185701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:40:52] local.INFO: Processing buffer {"connection_id":185701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:40:52] local.INFO: Packet analysis {"connection_id":185701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:40:52] local.INFO: Extracted packet for processing {"connection_id":185701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":185701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:40:52] local.INFO: GPS data processed {"connection_id":185701,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:40:52] local.INFO: Acknowledgment sent {"connection_id":185701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:41:12] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:41:12] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:41:12] local.INFO: Packet analysis {"connection_id":188336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:41:12] local.INFO: Extracted packet for processing {"connection_id":188336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152284416001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789657662000,"timestamp_ms":1789657662000,"timestamp_seconds":1789657662,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe8c230"} 
[2026-09-17 20:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152284416001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152284416001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:41:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152284416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":188336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:41:12] local.INFO: GPS data processed {"connection_id":188336,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:41:12] local.INFO: Acknowledgment sent {"connection_id":188336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:41:14] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:41:14] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:41:14] local.INFO: IMEI packet received {"connection_id":185554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":185554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:41:19] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:41:19] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:41:19] local.INFO: IMEI packet received {"connection_id":185554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":185554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:41:20] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:41:20] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:41:20] local.INFO: Packet analysis {"connection_id":185554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:41:20] local.INFO: Extracted packet for processing {"connection_id":185554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":185554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:41:20] local.INFO: GPS data processed {"connection_id":185554,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:41:20] local.INFO: Acknowledgment sent {"connection_id":185554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:41:35] local.INFO: TCP Data received {"connection_id":188337,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:41:35] local.INFO: Processing buffer {"connection_id":188337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:41:35] local.INFO: IMEI packet received {"connection_id":188337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-17 20:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":188337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:41:40] local.INFO: TCP Data received {"connection_id":188337,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:41:40] local.INFO: Processing buffer {"connection_id":188337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-17 20:41:40] local.INFO: IMEI packet received {"connection_id":188337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-17 20:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":188337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:41:41] local.INFO: TCP Data received {"connection_id":188337,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:41:41] local.INFO: Processing buffer {"connection_id":188337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:41:41] local.INFO: Packet analysis {"connection_id":188337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:41:41] local.INFO: Extracted packet for processing {"connection_id":188337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20: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-09-17 20:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152284416001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789657662000,"timestamp_ms":1789657662000,"timestamp_seconds":1789657662,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe8c230"} 
[2026-09-17 20:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20: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-09-17 20:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152284416001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152284416001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:41:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152284416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":188337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:41:41] local.INFO: GPS data processed {"connection_id":188337,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:41:41] local.INFO: Acknowledgment sent {"connection_id":188337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:41:52] local.INFO: TCP Data received {"connection_id":185554,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:41:52] local.INFO: Processing buffer {"connection_id":185554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:41:52] local.INFO: Packet analysis {"connection_id":185554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:41:52] local.INFO: Extracted packet for processing {"connection_id":185554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":185554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:41:52] local.INFO: GPS data processed {"connection_id":185554,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:41:52] local.INFO: Acknowledgment sent {"connection_id":185554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:42:12] local.INFO: TCP Data received {"connection_id":188337,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:42:12] local.INFO: Processing buffer {"connection_id":188337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe8c230012d196580071fef78003e010923..."} 
[2026-09-17 20:42:12] local.INFO: Packet analysis {"connection_id":188337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:42:12] local.INFO: Extracted packet for processing {"connection_id":188337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:42:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":62,"angle":265,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-17 20:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152284416001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21352073429778432,"note":"Value kept but may cause issues"} 
[2026-09-17 20:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-17 20:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 20:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789657662000,"timestamp_ms":1789657662000,"timestamp_seconds":1789657662,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe8c230"} 
[2026-09-17 20:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 20:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-17 20:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-17 20:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-17 20:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152284416001,"66":2155,"102":206,"83":41984,"24":0,"16":21352073429778432,"45":1830009591684888576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-17 20:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-17 20:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-17 20:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152284416001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:42:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-17 20:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-17 20:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21352073429778432,"km_value":21352073429778.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-17 20:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152284416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-17 20:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":188337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:42:12] local.INFO: GPS data processed {"connection_id":188337,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:42:12] local.INFO: Acknowledgment sent {"connection_id":188337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:42:14] local.INFO: TCP Data received {"connection_id":188338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:42:14] local.INFO: Processing buffer {"connection_id":188338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:42:14] local.INFO: IMEI packet received {"connection_id":188338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":188338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:42:19] local.INFO: TCP Data received {"connection_id":188338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:42:19] local.INFO: Processing buffer {"connection_id":188338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:42:19] local.INFO: IMEI packet received {"connection_id":188338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":188338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:42:20] local.INFO: TCP Data received {"connection_id":188338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:42:20] local.INFO: Processing buffer {"connection_id":188338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afe81e20012d34c14006aa4440000a011828..."} 
[2026-09-17 20:42:20] local.INFO: Packet analysis {"connection_id":188338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:42:20] local.INFO: Extracted packet for processing {"connection_id":188338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afe8"} 
[2026-09-17 20:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152273664001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657620000,"timestamp_ms":1789657620000,"timestamp_seconds":1789657620,"priority":1,"record_length":96,"hex_timestamp":"000001a0afe81e20"} 
[2026-09-17 20:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-17 20:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:42: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-09-17 20:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152273664001,"66":25604,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152273664001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152273664001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":188338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:42:20] local.INFO: GPS data processed {"connection_id":188338,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:42:20] local.INFO: Acknowledgment sent {"connection_id":188338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:42:51] local.INFO: TCP Data received {"connection_id":188338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:42:51] local.INFO: Processing buffer {"connection_id":188338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:42:51] local.INFO: Packet analysis {"connection_id":188338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:42:51] local.INFO: Extracted packet for processing {"connection_id":188338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:42:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":188338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:42:51] local.INFO: GPS data processed {"connection_id":188338,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:42:51] local.INFO: Acknowledgment sent {"connection_id":188338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:43:14] local.INFO: TCP Data received {"connection_id":185555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:43:14] local.INFO: Processing buffer {"connection_id":185555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:43:14] local.INFO: IMEI packet received {"connection_id":185555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":185555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:43:20] local.INFO: TCP Data received {"connection_id":185555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:43:20] local.INFO: Processing buffer {"connection_id":185555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:43:20] local.INFO: IMEI packet received {"connection_id":185555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":185555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:43:21] local.INFO: TCP Data received {"connection_id":185555,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:43:21] local.INFO: Processing buffer {"connection_id":185555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:43:21] local.INFO: Packet analysis {"connection_id":185555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:43:21] local.INFO: Extracted packet for processing {"connection_id":185555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:43:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":185555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:43:21] local.INFO: GPS data processed {"connection_id":185555,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:43:21] local.INFO: Acknowledgment sent {"connection_id":185555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:43:53] local.INFO: TCP Data received {"connection_id":185555,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:43:53] local.INFO: Processing buffer {"connection_id":185555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:43:53] local.INFO: Packet analysis {"connection_id":185555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:43:53] local.INFO: Extracted packet for processing {"connection_id":185555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:43:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":185555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:43:53] local.INFO: GPS data processed {"connection_id":185555,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:43:53] local.INFO: Acknowledgment sent {"connection_id":185555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:44:14] local.INFO: TCP Data received {"connection_id":185703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:44:14] local.INFO: Processing buffer {"connection_id":185703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:44:14] local.INFO: IMEI packet received {"connection_id":185703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":185703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:44:19] local.INFO: TCP Data received {"connection_id":185703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:44:19] local.INFO: Processing buffer {"connection_id":185703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:44:19] local.INFO: IMEI packet received {"connection_id":185703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":185703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:44:19] local.INFO: TCP Data received {"connection_id":187016,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:44:19] local.INFO: Processing buffer {"connection_id":187016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:44:19] local.INFO: IMEI packet received {"connection_id":187016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":187016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:44:20] local.INFO: TCP Data received {"connection_id":185703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:44:20] local.INFO: Processing buffer {"connection_id":185703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:44:20] local.INFO: Packet analysis {"connection_id":185703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:44:20] local.INFO: Extracted packet for processing {"connection_id":185703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:44:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:44: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-09-17 20:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":185703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:44:20] local.INFO: GPS data processed {"connection_id":185703,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:44:20] local.INFO: Acknowledgment sent {"connection_id":185703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:44:49] local.INFO: TCP Data received {"connection_id":185704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:44:49] local.INFO: Processing buffer {"connection_id":185704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:44:49] local.INFO: IMEI packet received {"connection_id":185704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":185704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:44:52] local.INFO: TCP Data received {"connection_id":185703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:44:52] local.INFO: Processing buffer {"connection_id":185703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:44:52] local.INFO: Packet analysis {"connection_id":185703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:44:52] local.INFO: Extracted packet for processing {"connection_id":185703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:44:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":185703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:44:52] local.INFO: GPS data processed {"connection_id":185703,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:44:52] local.INFO: Acknowledgment sent {"connection_id":185703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:45:19] local.INFO: TCP Data received {"connection_id":185556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:45:19] local.INFO: Processing buffer {"connection_id":185556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:45:19] local.INFO: IMEI packet received {"connection_id":185556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":185556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:45:24] local.INFO: TCP Data received {"connection_id":185556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:45:24] local.INFO: Processing buffer {"connection_id":185556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:45:24] local.INFO: IMEI packet received {"connection_id":185556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":185556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:45:25] local.INFO: TCP Data received {"connection_id":185556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:45:25] local.INFO: Processing buffer {"connection_id":185556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:45:25] local.INFO: Packet analysis {"connection_id":185556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:45:25] local.INFO: Extracted packet for processing {"connection_id":185556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:45:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":185556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:45:25] local.INFO: GPS data processed {"connection_id":185556,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:45:25] local.INFO: Acknowledgment sent {"connection_id":185556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:45:30] local.INFO: TCP Data received {"connection_id":185556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:45:30] local.INFO: Processing buffer {"connection_id":185556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:45:30] local.INFO: Packet analysis {"connection_id":185556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:45:30] local.INFO: Extracted packet for processing {"connection_id":185556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:45:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":185556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:45:30] local.INFO: GPS data processed {"connection_id":185556,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:45:30] local.INFO: Acknowledgment sent {"connection_id":185556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:46:14] local.INFO: TCP Data received {"connection_id":185705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:46:14] local.INFO: Processing buffer {"connection_id":185705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:46:14] local.INFO: IMEI packet received {"connection_id":185705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":185705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:46:19] local.INFO: TCP Data received {"connection_id":185705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:46:19] local.INFO: Processing buffer {"connection_id":185705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:46:19] local.INFO: IMEI packet received {"connection_id":185705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":185705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:46:20] local.INFO: TCP Data received {"connection_id":185705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:46:20] local.INFO: Processing buffer {"connection_id":185705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:46:20] local.INFO: Packet analysis {"connection_id":185705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:46:20] local.INFO: Extracted packet for processing {"connection_id":185705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:46:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:46: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-09-17 20:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":185705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:46:20] local.INFO: GPS data processed {"connection_id":185705,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:46:20] local.INFO: Acknowledgment sent {"connection_id":185705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:46:51] local.INFO: TCP Data received {"connection_id":185705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:46:51] local.INFO: Processing buffer {"connection_id":185705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:46:51] local.INFO: Packet analysis {"connection_id":185705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:46:51] local.INFO: Extracted packet for processing {"connection_id":185705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:46:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":185705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:46:51] local.INFO: GPS data processed {"connection_id":185705,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:46:51] local.INFO: Acknowledgment sent {"connection_id":185705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:47:14] local.INFO: TCP Data received {"connection_id":187018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:47:14] local.INFO: Processing buffer {"connection_id":187018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:47:14] local.INFO: IMEI packet received {"connection_id":187018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":187018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:47:19] local.INFO: TCP Data received {"connection_id":187018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:47:19] local.INFO: Processing buffer {"connection_id":187018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:47:19] local.INFO: IMEI packet received {"connection_id":187018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":187018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:47:20] local.INFO: TCP Data received {"connection_id":187018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:47:20] local.INFO: Processing buffer {"connection_id":187018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afecb5e8012d34c14006aa4440000a011825..."} 
[2026-09-17 20:47:20] local.INFO: Packet analysis {"connection_id":187018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:47:20] local.INFO: Extracted packet for processing {"connection_id":187018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afec"} 
[2026-09-17 20:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152350720001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:47:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789657921000,"timestamp_ms":1789657921000,"timestamp_seconds":1789657921,"priority":1,"record_length":96,"hex_timestamp":"000001a0afecb5e8"} 
[2026-09-17 20:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-17 20:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152350720001,"66":25517,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152350720001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152350720001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":187018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:47:20] local.INFO: GPS data processed {"connection_id":187018,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:47:20] local.INFO: Acknowledgment sent {"connection_id":187018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:47:52] local.INFO: TCP Data received {"connection_id":187018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:47:52] local.INFO: Processing buffer {"connection_id":187018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:47:52] local.INFO: Packet analysis {"connection_id":187018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:47:52] local.INFO: Extracted packet for processing {"connection_id":187018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:47:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":187018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:47:52] local.INFO: GPS data processed {"connection_id":187018,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:47:52] local.INFO: Acknowledgment sent {"connection_id":187018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:48:14] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:48:14] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:48:14] local.INFO: IMEI packet received {"connection_id":188340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":188340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:48:19] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:48:19] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:48:19] local.INFO: IMEI packet received {"connection_id":188340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":188340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:48:20] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:48:20] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:48:20] local.INFO: Packet analysis {"connection_id":188340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:48:20] local.INFO: Extracted packet for processing {"connection_id":188340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:48:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:48: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-09-17 20:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":188340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:48:20] local.INFO: GPS data processed {"connection_id":188340,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:48:20] local.INFO: Acknowledgment sent {"connection_id":188340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:48:53] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:48:53] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:48:53] local.INFO: Packet analysis {"connection_id":188340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:48:53] local.INFO: Extracted packet for processing {"connection_id":188340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:48:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":188340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:48:53] local.INFO: GPS data processed {"connection_id":188340,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:48:53] local.INFO: Acknowledgment sent {"connection_id":188340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:49:14] local.INFO: TCP Data received {"connection_id":185557,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:49:14] local.INFO: Processing buffer {"connection_id":185557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:49:14] local.INFO: IMEI packet received {"connection_id":185557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":185557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:49:19] local.INFO: TCP Data received {"connection_id":185557,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:49:19] local.INFO: Processing buffer {"connection_id":185557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:49:19] local.INFO: IMEI packet received {"connection_id":185557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":185557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:49:20] local.INFO: TCP Data received {"connection_id":185557,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:49:20] local.INFO: Processing buffer {"connection_id":185557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:49:20] local.INFO: Packet analysis {"connection_id":185557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:49:20] local.INFO: Extracted packet for processing {"connection_id":185557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:49:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20: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-09-17 20:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":185557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:49:20] local.INFO: GPS data processed {"connection_id":185557,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:49:20] local.INFO: Acknowledgment sent {"connection_id":185557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:49:51] local.INFO: TCP Data received {"connection_id":185557,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:49:51] local.INFO: Processing buffer {"connection_id":185557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:49:51] local.INFO: Packet analysis {"connection_id":185557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:49:51] local.INFO: Extracted packet for processing {"connection_id":185557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:49:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":185557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:49:52] local.INFO: GPS data processed {"connection_id":185557,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:49:52] local.INFO: Acknowledgment sent {"connection_id":185557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:50:14] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:50:14] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:50:14] local.INFO: IMEI packet received {"connection_id":187019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":187019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:50:19] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:50:19] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:50:19] local.INFO: IMEI packet received {"connection_id":187019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":187019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:50:19] local.INFO: TCP Data received {"connection_id":185558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:50:19] local.INFO: Processing buffer {"connection_id":185558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:50:19] local.INFO: IMEI packet received {"connection_id":185558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":185558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:50:20] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:50:20] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:50:20] local.INFO: Packet analysis {"connection_id":187019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:50:20] local.INFO: Extracted packet for processing {"connection_id":187019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:50:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:50: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-09-17 20:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":187019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:50:20] local.INFO: GPS data processed {"connection_id":187019,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:50:20] local.INFO: Acknowledgment sent {"connection_id":187019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:50:49] local.INFO: TCP Data received {"connection_id":185559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:50:49] local.INFO: Processing buffer {"connection_id":185559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:50:49] local.INFO: IMEI packet received {"connection_id":185559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":185559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:50:57] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:50:57] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:50:57] local.INFO: Packet analysis {"connection_id":187019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:50:57] local.INFO: Extracted packet for processing {"connection_id":187019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:50:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:50:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:50:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":187019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:50:58] local.INFO: GPS data processed {"connection_id":187019,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:50:58] local.INFO: Acknowledgment sent {"connection_id":187019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:51:14] local.INFO: TCP Data received {"connection_id":185560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:51:14] local.INFO: Processing buffer {"connection_id":185560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:51:14] local.INFO: IMEI packet received {"connection_id":185560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":185560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:51:19] local.INFO: TCP Data received {"connection_id":185560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:51:19] local.INFO: Processing buffer {"connection_id":185560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:51:19] local.INFO: IMEI packet received {"connection_id":185560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":185560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:51:20] local.INFO: TCP Data received {"connection_id":185560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:51:20] local.INFO: Processing buffer {"connection_id":185560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:51:20] local.INFO: Packet analysis {"connection_id":185560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:51:20] local.INFO: Extracted packet for processing {"connection_id":185560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:51:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:51: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-09-17 20:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":185560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:51:20] local.INFO: GPS data processed {"connection_id":185560,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:51:20] local.INFO: Acknowledgment sent {"connection_id":185560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:51:52] local.INFO: TCP Data received {"connection_id":185560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:51:52] local.INFO: Processing buffer {"connection_id":185560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:51:52] local.INFO: Packet analysis {"connection_id":185560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:51:52] local.INFO: Extracted packet for processing {"connection_id":185560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:51:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":185560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:51:52] local.INFO: GPS data processed {"connection_id":185560,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:51:52] local.INFO: Acknowledgment sent {"connection_id":185560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:52:14] local.INFO: TCP Data received {"connection_id":188341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:52:14] local.INFO: Processing buffer {"connection_id":188341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:52:14] local.INFO: IMEI packet received {"connection_id":188341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":188341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:52:19] local.INFO: TCP Data received {"connection_id":188341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:52:19] local.INFO: Processing buffer {"connection_id":188341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:52:19] local.INFO: IMEI packet received {"connection_id":188341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":188341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:52:20] local.INFO: TCP Data received {"connection_id":188341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:52:20] local.INFO: Processing buffer {"connection_id":188341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff14db0012d34c14006aa4440000a011828..."} 
[2026-09-17 20:52:20] local.INFO: Packet analysis {"connection_id":188341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:52:20] local.INFO: Extracted packet for processing {"connection_id":188341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff1"} 
[2026-09-17 20:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152427776001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658222000,"timestamp_ms":1789658222000,"timestamp_seconds":1789658222,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff14db0"} 
[2026-09-17 20:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-17 20:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:52: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-09-17 20:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152427776001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152427776001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152427776001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":188341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:52:20] local.INFO: GPS data processed {"connection_id":188341,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:52:20] local.INFO: Acknowledgment sent {"connection_id":188341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:52:51] local.INFO: TCP Data received {"connection_id":188341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:52:51] local.INFO: Processing buffer {"connection_id":188341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:52:51] local.INFO: Packet analysis {"connection_id":188341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:52:51] local.INFO: Extracted packet for processing {"connection_id":188341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:52:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":188341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:52:51] local.INFO: GPS data processed {"connection_id":188341,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:52:51] local.INFO: Acknowledgment sent {"connection_id":188341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:53:14] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:53:14] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:53:14] local.INFO: IMEI packet received {"connection_id":188342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":188342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:53:19] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:53:19] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:53:19] local.INFO: IMEI packet received {"connection_id":188342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":188342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:53:20] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:53:20] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:53:20] local.INFO: Packet analysis {"connection_id":188342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:53:20] local.INFO: Extracted packet for processing {"connection_id":188342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:53:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":188342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:53:20] local.INFO: GPS data processed {"connection_id":188342,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:53:20] local.INFO: Acknowledgment sent {"connection_id":188342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:53:52] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:53:52] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:53:52] local.INFO: Packet analysis {"connection_id":188342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:53:52] local.INFO: Extracted packet for processing {"connection_id":188342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:53:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":188342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:53:52] local.INFO: GPS data processed {"connection_id":188342,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:53:52] local.INFO: Acknowledgment sent {"connection_id":188342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:54:14] local.INFO: TCP Data received {"connection_id":187022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:54:14] local.INFO: Processing buffer {"connection_id":187022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:54:14] local.INFO: IMEI packet received {"connection_id":187022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":187022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:54:19] local.INFO: TCP Data received {"connection_id":187022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:54:19] local.INFO: Processing buffer {"connection_id":187022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:54:19] local.INFO: IMEI packet received {"connection_id":187022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":187022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:54:20] local.INFO: TCP Data received {"connection_id":187022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:54:20] local.INFO: Processing buffer {"connection_id":187022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:54:20] local.INFO: Packet analysis {"connection_id":187022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:54:20] local.INFO: Extracted packet for processing {"connection_id":187022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:54:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:54: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-09-17 20:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":187022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:54:20] local.INFO: GPS data processed {"connection_id":187022,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:54:20] local.INFO: Acknowledgment sent {"connection_id":187022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:54:51] local.INFO: TCP Data received {"connection_id":187022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:54:51] local.INFO: Processing buffer {"connection_id":187022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:54:51] local.INFO: Packet analysis {"connection_id":187022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:54:51] local.INFO: Extracted packet for processing {"connection_id":187022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:54:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":187022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:54:51] local.INFO: GPS data processed {"connection_id":187022,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:54:51] local.INFO: Acknowledgment sent {"connection_id":187022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:55:14] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:55:14] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:55:14] local.INFO: IMEI packet received {"connection_id":188343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":188343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:55:19] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:55:19] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:55:19] local.INFO: IMEI packet received {"connection_id":188343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":188343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:55:20] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:55:20] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:55:20] local.INFO: Packet analysis {"connection_id":188343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:55:20] local.INFO: Extracted packet for processing {"connection_id":188343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":188343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:55:20] local.INFO: GPS data processed {"connection_id":188343,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:55:20] local.INFO: Acknowledgment sent {"connection_id":188343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:55:51] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:55:51] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:55:51] local.INFO: Packet analysis {"connection_id":188343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:55:51] local.INFO: Extracted packet for processing {"connection_id":188343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:55:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":188343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:55:51] local.INFO: GPS data processed {"connection_id":188343,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:55:51] local.INFO: Acknowledgment sent {"connection_id":188343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:56:14] local.INFO: TCP Data received {"connection_id":188344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:56:14] local.INFO: Processing buffer {"connection_id":188344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:56:14] local.INFO: IMEI packet received {"connection_id":188344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":188344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:56:14] local.INFO: TCP Data received {"connection_id":185710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:56:14] local.INFO: Processing buffer {"connection_id":185710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:56:14] local.INFO: IMEI packet received {"connection_id":185710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":185710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:56:19] local.INFO: TCP Data received {"connection_id":188344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:56:19] local.INFO: Processing buffer {"connection_id":188344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:56:19] local.INFO: IMEI packet received {"connection_id":188344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":188344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:56:20] local.INFO: TCP Data received {"connection_id":188344,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:56:20] local.INFO: Processing buffer {"connection_id":188344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:56:20] local.INFO: Packet analysis {"connection_id":188344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:56:20] local.INFO: Extracted packet for processing {"connection_id":188344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:56:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":188344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:56:20] local.INFO: GPS data processed {"connection_id":188344,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:56:20] local.INFO: Acknowledgment sent {"connection_id":188344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:56:49] local.INFO: TCP Data received {"connection_id":187023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:56:49] local.INFO: Processing buffer {"connection_id":187023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 20:56:49] local.INFO: IMEI packet received {"connection_id":187023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 20:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":187023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:56:51] local.INFO: TCP Data received {"connection_id":188344,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:56:51] local.INFO: Processing buffer {"connection_id":188344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:56:51] local.INFO: Packet analysis {"connection_id":188344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:56:51] local.INFO: Extracted packet for processing {"connection_id":188344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:56:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":188344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:56:51] local.INFO: GPS data processed {"connection_id":188344,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:56:51] local.INFO: Acknowledgment sent {"connection_id":188344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:57:14] local.INFO: TCP Data received {"connection_id":185711,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:57:14] local.INFO: Processing buffer {"connection_id":185711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:57:14] local.INFO: IMEI packet received {"connection_id":185711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":185711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:57:19] local.INFO: TCP Data received {"connection_id":185711,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:57:19] local.INFO: Processing buffer {"connection_id":185711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:57:19] local.INFO: IMEI packet received {"connection_id":185711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":185711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:57:20] local.INFO: TCP Data received {"connection_id":185711,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:57:20] local.INFO: Processing buffer {"connection_id":185711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0aff5e578012d34c14006aa4440000a011827..."} 
[2026-09-17 20:57:20] local.INFO: Packet analysis {"connection_id":185711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:57:20] local.INFO: Extracted packet for processing {"connection_id":185711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0aff5"} 
[2026-09-17 20:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152504832001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:57:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658523000,"timestamp_ms":1789658523000,"timestamp_seconds":1789658523,"priority":1,"record_length":96,"hex_timestamp":"000001a0aff5e578"} 
[2026-09-17 20:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 20:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:57: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-09-17 20:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152504832001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152504832001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152504832001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":185711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:57:20] local.INFO: GPS data processed {"connection_id":185711,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:57:20] local.INFO: Acknowledgment sent {"connection_id":185711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:57:52] local.INFO: TCP Data received {"connection_id":185711,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:57:52] local.INFO: Processing buffer {"connection_id":185711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:57:52] local.INFO: Packet analysis {"connection_id":185711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:57:52] local.INFO: Extracted packet for processing {"connection_id":185711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:57:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 20:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 20:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":185711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:57:52] local.INFO: GPS data processed {"connection_id":185711,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:57:52] local.INFO: Acknowledgment sent {"connection_id":185711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:58:14] local.INFO: TCP Data received {"connection_id":185561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:58:14] local.INFO: Processing buffer {"connection_id":185561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:58:14] local.INFO: IMEI packet received {"connection_id":185561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":185561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:58:19] local.INFO: TCP Data received {"connection_id":185561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:58:19] local.INFO: Processing buffer {"connection_id":185561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:58:19] local.INFO: IMEI packet received {"connection_id":185561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":185561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:58:20] local.INFO: TCP Data received {"connection_id":185561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:58:20] local.INFO: Processing buffer {"connection_id":185561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:58:20] local.INFO: Packet analysis {"connection_id":185561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:58:20] local.INFO: Extracted packet for processing {"connection_id":185561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:58:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 20:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 20:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:58: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-09-17 20:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":185561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:58:20] local.INFO: GPS data processed {"connection_id":185561,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:58:20] local.INFO: Acknowledgment sent {"connection_id":185561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:58:52] local.INFO: TCP Data received {"connection_id":185561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:58:52] local.INFO: Processing buffer {"connection_id":185561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:58:52] local.INFO: Packet analysis {"connection_id":185561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:58:52] local.INFO: Extracted packet for processing {"connection_id":185561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:58:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 20:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 20:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":185561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:58:52] local.INFO: GPS data processed {"connection_id":185561,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:58:52] local.INFO: Acknowledgment sent {"connection_id":185561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:59:14] local.INFO: TCP Data received {"connection_id":185713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:59:14] local.INFO: Processing buffer {"connection_id":185713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:59:14] local.INFO: IMEI packet received {"connection_id":185713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 20:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":185713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 20:59:19] local.INFO: TCP Data received {"connection_id":185713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:59:19] local.INFO: Processing buffer {"connection_id":185713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 20:59:19] local.INFO: IMEI packet received {"connection_id":185713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 20:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":185713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 20:59:20] local.INFO: TCP Data received {"connection_id":185713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:59:20] local.INFO: Processing buffer {"connection_id":185713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:59:20] local.INFO: Packet analysis {"connection_id":185713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:59:20] local.INFO: Extracted packet for processing {"connection_id":185713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 20:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 20:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":185713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:59:20] local.INFO: GPS data processed {"connection_id":185713,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:59:20] local.INFO: Acknowledgment sent {"connection_id":185713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 20:59:52] local.INFO: TCP Data received {"connection_id":185713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:59:52] local.INFO: Processing buffer {"connection_id":185713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 20:59:52] local.INFO: Packet analysis {"connection_id":185713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:59:52] local.INFO: Extracted packet for processing {"connection_id":185713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 20:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 20:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 20:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 20:59:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 20:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 20:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 20:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 20:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 20:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 20:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 20:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 20:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 20:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 20:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 20:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 20:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 20:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 20:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 20:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 20:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 20:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 20:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 20:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 20:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 20:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 20:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 20:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 20:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 20:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":185713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 20:59:52] local.INFO: GPS data processed {"connection_id":185713,"processed":1,"errors":0,"total":1} 
[2026-09-17 20:59:52] local.INFO: Acknowledgment sent {"connection_id":185713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:00:19] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:00:19] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:00:19] local.INFO: IMEI packet received {"connection_id":188345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":188345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:00:24] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:00:24] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:00:24] local.INFO: IMEI packet received {"connection_id":188345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":188345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:00:25] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:00:25] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:00:25] local.INFO: Packet analysis {"connection_id":188345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:00:25] local.INFO: Extracted packet for processing {"connection_id":188345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:00:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 21:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":188345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:00:25] local.INFO: GPS data processed {"connection_id":188345,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:00:25] local.INFO: Acknowledgment sent {"connection_id":188345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:00:30] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:00:30] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:00:30] local.INFO: Packet analysis {"connection_id":188345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:00:30] local.INFO: Extracted packet for processing {"connection_id":188345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:00:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 21:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":188345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:00:30] local.INFO: GPS data processed {"connection_id":188345,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:00:30] local.INFO: Acknowledgment sent {"connection_id":188345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:01:14] local.INFO: TCP Data received {"connection_id":185714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:01:14] local.INFO: Processing buffer {"connection_id":185714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:01:14] local.INFO: IMEI packet received {"connection_id":185714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":185714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:01:19] local.INFO: TCP Data received {"connection_id":185714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:01:19] local.INFO: Processing buffer {"connection_id":185714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:01:19] local.INFO: IMEI packet received {"connection_id":185714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":185714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:01:20] local.INFO: TCP Data received {"connection_id":185714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:01:20] local.INFO: Processing buffer {"connection_id":185714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:01:20] local.INFO: Packet analysis {"connection_id":185714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:01:20] local.INFO: Extracted packet for processing {"connection_id":185714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:01:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 21:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":185714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:01:20] local.INFO: GPS data processed {"connection_id":185714,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:01:20] local.INFO: Acknowledgment sent {"connection_id":185714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:01:52] local.INFO: TCP Data received {"connection_id":185714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:01:52] local.INFO: Processing buffer {"connection_id":185714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:01:52] local.INFO: Packet analysis {"connection_id":185714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:01:52] local.INFO: Extracted packet for processing {"connection_id":185714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 21:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":185714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:01:52] local.INFO: GPS data processed {"connection_id":185714,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:01:52] local.INFO: Acknowledgment sent {"connection_id":185714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:02:14] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:02:14] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:02:14] local.INFO: IMEI packet received {"connection_id":188346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":188346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:02:14] local.INFO: TCP Data received {"connection_id":185563,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:02:14] local.INFO: Processing buffer {"connection_id":185563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:02:14] local.INFO: IMEI packet received {"connection_id":185563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":185563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:02:19] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:02:19] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:02:19] local.INFO: IMEI packet received {"connection_id":188346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":188346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:02:21] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:02:21] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0affa7d40012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:02:21] local.INFO: Packet analysis {"connection_id":188346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:02:21] local.INFO: Extracted packet for processing {"connection_id":188346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0affa"} 
[2026-09-17 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152581888001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789658824000,"timestamp_ms":1789658824000,"timestamp_seconds":1789658824,"priority":1,"record_length":96,"hex_timestamp":"000001a0affa7d40"} 
[2026-09-17 21:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152581888001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152581888001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152581888001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":188346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:02:21] local.INFO: GPS data processed {"connection_id":188346,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:02:21] local.INFO: Acknowledgment sent {"connection_id":188346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:02:49] local.INFO: TCP Data received {"connection_id":187026,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:02:49] local.INFO: Processing buffer {"connection_id":187026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:02:49] local.INFO: IMEI packet received {"connection_id":187026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":187026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:02:52] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:02:52] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:02:52] local.INFO: Packet analysis {"connection_id":188346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:02:52] local.INFO: Extracted packet for processing {"connection_id":188346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:02:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":188346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:02:52] local.INFO: GPS data processed {"connection_id":188346,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:02:52] local.INFO: Acknowledgment sent {"connection_id":188346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:03:14] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:03:14] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:03:14] local.INFO: IMEI packet received {"connection_id":187027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":187027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:03:19] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:03:19] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:03:19] local.INFO: IMEI packet received {"connection_id":187027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":187027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:03:20] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:03:20] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:03:20] local.INFO: Packet analysis {"connection_id":187027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:03:20] local.INFO: Extracted packet for processing {"connection_id":187027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:03:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":187027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:03:20] local.INFO: GPS data processed {"connection_id":187027,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:03:20] local.INFO: Acknowledgment sent {"connection_id":187027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:03:51] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:03:51] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:03:51] local.INFO: Packet analysis {"connection_id":187027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:03:51] local.INFO: Extracted packet for processing {"connection_id":187027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:03:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":187027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:03:51] local.INFO: GPS data processed {"connection_id":187027,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:03:51] local.INFO: Acknowledgment sent {"connection_id":187027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:04:14] local.INFO: TCP Data received {"connection_id":185716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:04:14] local.INFO: Processing buffer {"connection_id":185716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:04:14] local.INFO: IMEI packet received {"connection_id":185716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":185716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:04:19] local.INFO: TCP Data received {"connection_id":185716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:04:19] local.INFO: Processing buffer {"connection_id":185716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:04:19] local.INFO: IMEI packet received {"connection_id":185716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":185716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:04:20] local.INFO: TCP Data received {"connection_id":185716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:04:20] local.INFO: Processing buffer {"connection_id":185716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:04:20] local.INFO: Packet analysis {"connection_id":185716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:04:20] local.INFO: Extracted packet for processing {"connection_id":185716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:04:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":185716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:04:20] local.INFO: GPS data processed {"connection_id":185716,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:04:20] local.INFO: Acknowledgment sent {"connection_id":185716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:04:51] local.INFO: TCP Data received {"connection_id":185716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:04:51] local.INFO: Processing buffer {"connection_id":185716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:04:51] local.INFO: Packet analysis {"connection_id":185716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:04:51] local.INFO: Extracted packet for processing {"connection_id":185716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:04:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":185716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:04:51] local.INFO: GPS data processed {"connection_id":185716,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:04:51] local.INFO: Acknowledgment sent {"connection_id":185716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:05:19] local.INFO: TCP Data received {"connection_id":188347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:05:19] local.INFO: Processing buffer {"connection_id":188347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:05:19] local.INFO: IMEI packet received {"connection_id":188347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":188347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:05:24] local.INFO: TCP Data received {"connection_id":188347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:05:24] local.INFO: Processing buffer {"connection_id":188347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:05:24] local.INFO: IMEI packet received {"connection_id":188347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":188347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:05:25] local.INFO: TCP Data received {"connection_id":188347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:05:25] local.INFO: Processing buffer {"connection_id":188347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:05:25] local.INFO: Packet analysis {"connection_id":188347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:05:25] local.INFO: Extracted packet for processing {"connection_id":188347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:05:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":188347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:05:25] local.INFO: GPS data processed {"connection_id":188347,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:05:25] local.INFO: Acknowledgment sent {"connection_id":188347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:05:30] local.INFO: TCP Data received {"connection_id":188347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:05:30] local.INFO: Processing buffer {"connection_id":188347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:05:30] local.INFO: Packet analysis {"connection_id":188347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:05:30] local.INFO: Extracted packet for processing {"connection_id":188347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:05:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:05:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":188347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:05:30] local.INFO: GPS data processed {"connection_id":188347,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:05:30] local.INFO: Acknowledgment sent {"connection_id":188347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:06:14] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:06:14] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:06:14] local.INFO: IMEI packet received {"connection_id":188348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":188348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:06:19] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:06:19] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:06:19] local.INFO: IMEI packet received {"connection_id":188348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":188348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:06:20] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:06:20] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:06:20] local.INFO: Packet analysis {"connection_id":188348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:06:20] local.INFO: Extracted packet for processing {"connection_id":188348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:06:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:06: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-09-17 21:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":188348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:06:20] local.INFO: GPS data processed {"connection_id":188348,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:06:20] local.INFO: Acknowledgment sent {"connection_id":188348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:06:51] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:06:51] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:06:51] local.INFO: Packet analysis {"connection_id":188348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:06:51] local.INFO: Extracted packet for processing {"connection_id":188348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:06:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":188348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:06:51] local.INFO: GPS data processed {"connection_id":188348,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:06:51] local.INFO: Acknowledgment sent {"connection_id":188348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:07:14] local.INFO: TCP Data received {"connection_id":185717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:07:14] local.INFO: Processing buffer {"connection_id":185717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:07:14] local.INFO: IMEI packet received {"connection_id":185717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":185717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:07:19] local.INFO: TCP Data received {"connection_id":185717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:07:19] local.INFO: Processing buffer {"connection_id":185717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:07:19] local.INFO: IMEI packet received {"connection_id":185717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":185717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:07:20] local.INFO: TCP Data received {"connection_id":185717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:07:20] local.INFO: Processing buffer {"connection_id":185717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0afff1508012d34c14006aa4440000a01182b..."} 
[2026-09-17 21:07:20] local.INFO: Packet analysis {"connection_id":185717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:07:20] local.INFO: Extracted packet for processing {"connection_id":185717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0afff"} 
[2026-09-17 21:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152658944001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:07:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659125000,"timestamp_ms":1789659125000,"timestamp_seconds":1789659125,"priority":1,"record_length":96,"hex_timestamp":"000001a0afff1508"} 
[2026-09-17 21:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:07: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-09-17 21:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152658944001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152658944001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152658944001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":185717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:07:20] local.INFO: GPS data processed {"connection_id":185717,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:07:20] local.INFO: Acknowledgment sent {"connection_id":185717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:07:52] local.INFO: TCP Data received {"connection_id":185717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:07:52] local.INFO: Processing buffer {"connection_id":185717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:07:52] local.INFO: Packet analysis {"connection_id":185717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:07:52] local.INFO: Extracted packet for processing {"connection_id":185717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:07:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":185717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:07:52] local.INFO: GPS data processed {"connection_id":185717,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:07:52] local.INFO: Acknowledgment sent {"connection_id":185717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:08:14] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:08:14] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:08:14] local.INFO: IMEI packet received {"connection_id":188349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":188349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:08:14] local.INFO: TCP Data received {"connection_id":185566,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:08:14] local.INFO: Processing buffer {"connection_id":185566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:08:14] local.INFO: IMEI packet received {"connection_id":185566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":185566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:08:19] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:08:19] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:08:19] local.INFO: IMEI packet received {"connection_id":188349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":188349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:08:20] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:08:20] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:08:20] local.INFO: Packet analysis {"connection_id":188349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:08:20] local.INFO: Extracted packet for processing {"connection_id":188349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:08:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:08: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-09-17 21:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":188349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:08:20] local.INFO: GPS data processed {"connection_id":188349,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:08:20] local.INFO: Acknowledgment sent {"connection_id":188349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:08:49] local.INFO: TCP Data received {"connection_id":185718,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:08:49] local.INFO: Processing buffer {"connection_id":185718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:08:49] local.INFO: IMEI packet received {"connection_id":185718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":185718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:08:52] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:08:52] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:08:52] local.INFO: Packet analysis {"connection_id":188349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:08:52] local.INFO: Extracted packet for processing {"connection_id":188349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:08:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":188349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:08:52] local.INFO: GPS data processed {"connection_id":188349,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:08:52] local.INFO: Acknowledgment sent {"connection_id":188349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:09:14] local.INFO: TCP Data received {"connection_id":185719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:09:14] local.INFO: Processing buffer {"connection_id":185719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:09:14] local.INFO: IMEI packet received {"connection_id":185719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":185719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:09:19] local.INFO: TCP Data received {"connection_id":185719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:09:19] local.INFO: Processing buffer {"connection_id":185719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:09:19] local.INFO: IMEI packet received {"connection_id":185719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":185719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:09:20] local.INFO: TCP Data received {"connection_id":185719,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:09:20] local.INFO: Processing buffer {"connection_id":185719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:09:20] local.INFO: Packet analysis {"connection_id":185719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:09:20] local.INFO: Extracted packet for processing {"connection_id":185719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:09:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:09: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-09-17 21:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":185719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:09:20] local.INFO: GPS data processed {"connection_id":185719,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:09:20] local.INFO: Acknowledgment sent {"connection_id":185719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:09:52] local.INFO: TCP Data received {"connection_id":185719,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:09:52] local.INFO: Processing buffer {"connection_id":185719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:09:52] local.INFO: Packet analysis {"connection_id":185719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:09:52] local.INFO: Extracted packet for processing {"connection_id":185719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:09:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":185719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:09:52] local.INFO: GPS data processed {"connection_id":185719,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:09:52] local.INFO: Acknowledgment sent {"connection_id":185719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:10:14] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:10:14] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:10:14] local.INFO: IMEI packet received {"connection_id":187029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":187029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:10:19] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:10:19] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:10:19] local.INFO: IMEI packet received {"connection_id":187029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":187029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:10:20] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:10:20] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:10:20] local.INFO: Packet analysis {"connection_id":187029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:10:20] local.INFO: Extracted packet for processing {"connection_id":187029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:10:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:10: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-09-17 21:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":187029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:10:20] local.INFO: GPS data processed {"connection_id":187029,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:10:20] local.INFO: Acknowledgment sent {"connection_id":187029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:10:51] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:10:51] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:10:51] local.INFO: Packet analysis {"connection_id":187029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:10:51] local.INFO: Extracted packet for processing {"connection_id":187029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:10:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":187029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:10:51] local.INFO: GPS data processed {"connection_id":187029,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:10:51] local.INFO: Acknowledgment sent {"connection_id":187029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:11:14] local.INFO: TCP Data received {"connection_id":185720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:11:14] local.INFO: Processing buffer {"connection_id":185720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:11:14] local.INFO: IMEI packet received {"connection_id":185720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":185720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:11:22] local.INFO: TCP Data received {"connection_id":185720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:11:22] local.INFO: Processing buffer {"connection_id":185720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:11:22] local.INFO: IMEI packet received {"connection_id":185720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":185720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:11:24] local.INFO: TCP Data received {"connection_id":185720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:11:24] local.INFO: Processing buffer {"connection_id":185720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:11:24] local.INFO: Packet analysis {"connection_id":185720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:11:24] local.INFO: Extracted packet for processing {"connection_id":185720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:11:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":185720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:11:25] local.INFO: GPS data processed {"connection_id":185720,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:11:25] local.INFO: Acknowledgment sent {"connection_id":185720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:11:56] local.INFO: TCP Data received {"connection_id":185720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:11:56] local.INFO: Processing buffer {"connection_id":185720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:11:56] local.INFO: Packet analysis {"connection_id":185720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:11:56] local.INFO: Extracted packet for processing {"connection_id":185720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:11:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:11:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:11:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":185720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:11:56] local.INFO: GPS data processed {"connection_id":185720,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:11:56] local.INFO: Acknowledgment sent {"connection_id":185720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:12:19] local.INFO: TCP Data received {"connection_id":185721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:12:19] local.INFO: Processing buffer {"connection_id":185721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:12:19] local.INFO: IMEI packet received {"connection_id":185721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":185721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:12:24] local.INFO: TCP Data received {"connection_id":185721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:12:24] local.INFO: Processing buffer {"connection_id":185721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:12:24] local.INFO: IMEI packet received {"connection_id":185721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":185721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:12:25] local.INFO: TCP Data received {"connection_id":185721,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:12:25] local.INFO: Processing buffer {"connection_id":185721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b003acd0012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:12:25] local.INFO: Packet analysis {"connection_id":185721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:12:25] local.INFO: Extracted packet for processing {"connection_id":185721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b003"} 
[2026-09-17 21:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152736000001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:12:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789659426000,"timestamp_ms":1789659426000,"timestamp_seconds":1789659426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b003acd0"} 
[2026-09-17 21:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152736000001,"66":25582,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152736000001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152736000001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":185721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:12:25] local.INFO: GPS data processed {"connection_id":185721,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:12:25] local.INFO: Acknowledgment sent {"connection_id":185721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:12:56] local.INFO: TCP Data received {"connection_id":185721,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:12:56] local.INFO: Processing buffer {"connection_id":185721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:12:56] local.INFO: Packet analysis {"connection_id":185721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:12:56] local.INFO: Extracted packet for processing {"connection_id":185721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:12:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:12:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:12:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":185721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:12:56] local.INFO: GPS data processed {"connection_id":185721,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:12:56] local.INFO: Acknowledgment sent {"connection_id":185721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:13:14] local.INFO: TCP Data received {"connection_id":185722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:13:14] local.INFO: Processing buffer {"connection_id":185722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:13:14] local.INFO: IMEI packet received {"connection_id":185722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":185722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:13:19] local.INFO: TCP Data received {"connection_id":185722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:13:19] local.INFO: Processing buffer {"connection_id":185722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:13:19] local.INFO: IMEI packet received {"connection_id":185722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":185722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:13:20] local.INFO: TCP Data received {"connection_id":185722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:13:20] local.INFO: Processing buffer {"connection_id":185722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:13:20] local.INFO: Packet analysis {"connection_id":185722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:13:20] local.INFO: Extracted packet for processing {"connection_id":185722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:13:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":185722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:13:20] local.INFO: GPS data processed {"connection_id":185722,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:13:20] local.INFO: Acknowledgment sent {"connection_id":185722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:13:51] local.INFO: TCP Data received {"connection_id":185722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:13:51] local.INFO: Processing buffer {"connection_id":185722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:13:51] local.INFO: Packet analysis {"connection_id":185722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:13:51] local.INFO: Extracted packet for processing {"connection_id":185722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:13:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":185722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:13:52] local.INFO: GPS data processed {"connection_id":185722,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:13:52] local.INFO: Acknowledgment sent {"connection_id":185722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:14:04] local.INFO: TCP Data received {"connection_id":187031,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:14:04] local.INFO: Processing buffer {"connection_id":187031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:14:04] local.INFO: IMEI packet received {"connection_id":187031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":187031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:14:14] local.INFO: TCP Data received {"connection_id":188352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:14:14] local.INFO: Processing buffer {"connection_id":188352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:14:14] local.INFO: IMEI packet received {"connection_id":188352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":188352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:14:19] local.INFO: TCP Data received {"connection_id":188352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:14:19] local.INFO: Processing buffer {"connection_id":188352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:14:19] local.INFO: IMEI packet received {"connection_id":188352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":188352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:14:20] local.INFO: TCP Data received {"connection_id":188352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:14:20] local.INFO: Processing buffer {"connection_id":188352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:14:20] local.INFO: Packet analysis {"connection_id":188352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:14:20] local.INFO: Extracted packet for processing {"connection_id":188352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:14:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":188352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:14:20] local.INFO: GPS data processed {"connection_id":188352,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:14:20] local.INFO: Acknowledgment sent {"connection_id":188352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:14:49] local.INFO: TCP Data received {"connection_id":185723,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:14:49] local.INFO: Processing buffer {"connection_id":185723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:14:49] local.INFO: IMEI packet received {"connection_id":185723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":185723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:14:51] local.INFO: TCP Data received {"connection_id":188352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:14:51] local.INFO: Processing buffer {"connection_id":188352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:14:51] local.INFO: Packet analysis {"connection_id":188352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:14:51] local.INFO: Extracted packet for processing {"connection_id":188352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":188352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:14:51] local.INFO: GPS data processed {"connection_id":188352,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:14:51] local.INFO: Acknowledgment sent {"connection_id":188352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:15:14] local.INFO: TCP Data received {"connection_id":185568,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:15:14] local.INFO: Processing buffer {"connection_id":185568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:15:14] local.INFO: IMEI packet received {"connection_id":185568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":185568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:15:19] local.INFO: TCP Data received {"connection_id":185568,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:15:19] local.INFO: Processing buffer {"connection_id":185568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:15:19] local.INFO: IMEI packet received {"connection_id":185568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":185568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:15:20] local.INFO: TCP Data received {"connection_id":185568,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:15:20] local.INFO: Processing buffer {"connection_id":185568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:15:20] local.INFO: Packet analysis {"connection_id":185568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:15:20] local.INFO: Extracted packet for processing {"connection_id":185568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:15: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-09-17 21:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":185568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:15:20] local.INFO: GPS data processed {"connection_id":185568,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:15:20] local.INFO: Acknowledgment sent {"connection_id":185568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:15:52] local.INFO: TCP Data received {"connection_id":185568,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:15:52] local.INFO: Processing buffer {"connection_id":185568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:15:52] local.INFO: Packet analysis {"connection_id":185568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:15:52] local.INFO: Extracted packet for processing {"connection_id":185568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:15:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":185568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:15:52] local.INFO: GPS data processed {"connection_id":185568,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:15:52] local.INFO: Acknowledgment sent {"connection_id":185568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:16:14] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:16:14] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:16:14] local.INFO: IMEI packet received {"connection_id":188353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":188353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:16:19] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:16:19] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:16:19] local.INFO: IMEI packet received {"connection_id":188353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":188353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:16:20] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:16:20] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:16:20] local.INFO: Packet analysis {"connection_id":188353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:16:20] local.INFO: Extracted packet for processing {"connection_id":188353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:16:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":188353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:16:20] local.INFO: GPS data processed {"connection_id":188353,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:16:20] local.INFO: Acknowledgment sent {"connection_id":188353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:16:51] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:16:51] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:16:51] local.INFO: Packet analysis {"connection_id":188353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:16:51] local.INFO: Extracted packet for processing {"connection_id":188353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":188353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:16:51] local.INFO: GPS data processed {"connection_id":188353,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:16:51] local.INFO: Acknowledgment sent {"connection_id":188353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:17:14] local.INFO: TCP Data received {"connection_id":185570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:17:14] local.INFO: Processing buffer {"connection_id":185570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:17:14] local.INFO: IMEI packet received {"connection_id":185570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":185570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:17:19] local.INFO: TCP Data received {"connection_id":185570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:17:19] local.INFO: Processing buffer {"connection_id":185570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:17:19] local.INFO: IMEI packet received {"connection_id":185570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":185570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:17:20] local.INFO: TCP Data received {"connection_id":185570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:17:20] local.INFO: Processing buffer {"connection_id":185570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0084498012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:17:20] local.INFO: Packet analysis {"connection_id":185570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:17:20] local.INFO: Extracted packet for processing {"connection_id":185570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b008"} 
[2026-09-17 21:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152813056001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:17:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789659727000,"timestamp_ms":1789659727000,"timestamp_seconds":1789659727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0084498"} 
[2026-09-17 21:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-17 21:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152813056001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152813056001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152813056001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":185570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:17:20] local.INFO: GPS data processed {"connection_id":185570,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:17:20] local.INFO: Acknowledgment sent {"connection_id":185570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:17:51] local.INFO: TCP Data received {"connection_id":185570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:17:51] local.INFO: Processing buffer {"connection_id":185570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:17:51] local.INFO: Packet analysis {"connection_id":185570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:17:51] local.INFO: Extracted packet for processing {"connection_id":185570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:17:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":185570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:17:51] local.INFO: GPS data processed {"connection_id":185570,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:17:51] local.INFO: Acknowledgment sent {"connection_id":185570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:18:19] local.INFO: TCP Data received {"connection_id":185725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:18:19] local.INFO: Processing buffer {"connection_id":185725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:18:19] local.INFO: IMEI packet received {"connection_id":185725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":185725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:18:24] local.INFO: TCP Data received {"connection_id":185725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:18:24] local.INFO: Processing buffer {"connection_id":185725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:18:24] local.INFO: IMEI packet received {"connection_id":185725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":185725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:18:25] local.INFO: TCP Data received {"connection_id":185725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:18:25] local.INFO: Processing buffer {"connection_id":185725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:18:25] local.INFO: Packet analysis {"connection_id":185725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:18:25] local.INFO: Extracted packet for processing {"connection_id":185725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:18:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":185725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:18:25] local.INFO: GPS data processed {"connection_id":185725,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:18:25] local.INFO: Acknowledgment sent {"connection_id":185725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:18:56] local.INFO: TCP Data received {"connection_id":185725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:18:56] local.INFO: Processing buffer {"connection_id":185725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:18:56] local.INFO: Packet analysis {"connection_id":185725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:18:56] local.INFO: Extracted packet for processing {"connection_id":185725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:18:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:18:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:18:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":185725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:18:56] local.INFO: GPS data processed {"connection_id":185725,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:18:56] local.INFO: Acknowledgment sent {"connection_id":185725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:19:14] local.INFO: TCP Data received {"connection_id":185726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:19:14] local.INFO: Processing buffer {"connection_id":185726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:19:14] local.INFO: IMEI packet received {"connection_id":185726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":185726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:19:19] local.INFO: TCP Data received {"connection_id":185726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:19:19] local.INFO: Processing buffer {"connection_id":185726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:19:19] local.INFO: IMEI packet received {"connection_id":185726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":185726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:19:20] local.INFO: TCP Data received {"connection_id":185726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:19:20] local.INFO: Processing buffer {"connection_id":185726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:19:20] local.INFO: Packet analysis {"connection_id":185726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:19:20] local.INFO: Extracted packet for processing {"connection_id":185726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:19:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":185726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:19:20] local.INFO: GPS data processed {"connection_id":185726,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:19:20] local.INFO: Acknowledgment sent {"connection_id":185726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:19:51] local.INFO: TCP Data received {"connection_id":185726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:19:51] local.INFO: Processing buffer {"connection_id":185726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:19:51] local.INFO: Packet analysis {"connection_id":185726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:19:51] local.INFO: Extracted packet for processing {"connection_id":185726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:19:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":185726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:19:51] local.INFO: GPS data processed {"connection_id":185726,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:19:51] local.INFO: Acknowledgment sent {"connection_id":185726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:20:14] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:20:14] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:20:14] local.INFO: IMEI packet received {"connection_id":188356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":188356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:20:19] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:20:19] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:20:19] local.INFO: IMEI packet received {"connection_id":188356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":188356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:20:19] local.INFO: TCP Data received {"connection_id":185727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:20:19] local.INFO: Processing buffer {"connection_id":185727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:20:19] local.INFO: IMEI packet received {"connection_id":185727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":185727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:20:20] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:20:20] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:20:20] local.INFO: Packet analysis {"connection_id":188356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:20:20] local.INFO: Extracted packet for processing {"connection_id":188356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:20:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":188356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:20:20] local.INFO: GPS data processed {"connection_id":188356,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:20:20] local.INFO: Acknowledgment sent {"connection_id":188356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:20:49] local.INFO: TCP Data received {"connection_id":185572,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:20:49] local.INFO: Processing buffer {"connection_id":185572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:20:49] local.INFO: IMEI packet received {"connection_id":185572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":185572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:20:53] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:20:53] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:20:53] local.INFO: Packet analysis {"connection_id":188356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:20:53] local.INFO: Extracted packet for processing {"connection_id":188356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:20:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":188356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:20:53] local.INFO: GPS data processed {"connection_id":188356,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:20:53] local.INFO: Acknowledgment sent {"connection_id":188356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:21:14] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:21:14] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:21:14] local.INFO: IMEI packet received {"connection_id":187032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":187032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:21:19] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:21:19] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:21:19] local.INFO: IMEI packet received {"connection_id":187032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":187032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:21:20] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:21:20] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:21:20] local.INFO: Packet analysis {"connection_id":187032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:21:20] local.INFO: Extracted packet for processing {"connection_id":187032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:21:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:21: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-09-17 21:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":187032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:21:20] local.INFO: GPS data processed {"connection_id":187032,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:21:20] local.INFO: Acknowledgment sent {"connection_id":187032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:21:51] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:21:51] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:21:51] local.INFO: Packet analysis {"connection_id":187032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:21:51] local.INFO: Extracted packet for processing {"connection_id":187032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:21:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":187032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:21:51] local.INFO: GPS data processed {"connection_id":187032,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:21:51] local.INFO: Acknowledgment sent {"connection_id":187032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:22:14] local.INFO: TCP Data received {"connection_id":187033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:22:14] local.INFO: Processing buffer {"connection_id":187033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:22:14] local.INFO: IMEI packet received {"connection_id":187033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":187033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:22:19] local.INFO: TCP Data received {"connection_id":187033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:22:19] local.INFO: Processing buffer {"connection_id":187033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:22:19] local.INFO: IMEI packet received {"connection_id":187033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":187033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:22:21] local.INFO: TCP Data received {"connection_id":187033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:22:21] local.INFO: Processing buffer {"connection_id":187033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b00cdc60012d34c14006aa4440000a01182a..."} 
[2026-09-17 21:22:21] local.INFO: Packet analysis {"connection_id":187033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:22:21] local.INFO: Extracted packet for processing {"connection_id":187033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b00c"} 
[2026-09-17 21:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152890112001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:22:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789660028000,"timestamp_ms":1789660028000,"timestamp_seconds":1789660028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b00cdc60"} 
[2026-09-17 21:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152890112001,"66":25538,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152890112001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152890112001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":187033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:22:21] local.INFO: GPS data processed {"connection_id":187033,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:22:21] local.INFO: Acknowledgment sent {"connection_id":187033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:22:52] local.INFO: TCP Data received {"connection_id":187033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:22:52] local.INFO: Processing buffer {"connection_id":187033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:22:52] local.INFO: Packet analysis {"connection_id":187033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:22:52] local.INFO: Extracted packet for processing {"connection_id":187033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:22:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":187033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:22:52] local.INFO: GPS data processed {"connection_id":187033,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:22:52] local.INFO: Acknowledgment sent {"connection_id":187033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:23:14] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:23:14] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:23:14] local.INFO: IMEI packet received {"connection_id":188358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":188358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:23:19] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:23:19] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:23:19] local.INFO: IMEI packet received {"connection_id":188358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":188358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:23:20] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:23:20] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:23:20] local.INFO: Packet analysis {"connection_id":188358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:23:20] local.INFO: Extracted packet for processing {"connection_id":188358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:23:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":188358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:23:20] local.INFO: GPS data processed {"connection_id":188358,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:23:20] local.INFO: Acknowledgment sent {"connection_id":188358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:23:51] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:23:51] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:23:51] local.INFO: Packet analysis {"connection_id":188358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:23:51] local.INFO: Extracted packet for processing {"connection_id":188358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:23:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":188358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:23:51] local.INFO: GPS data processed {"connection_id":188358,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:23:51] local.INFO: Acknowledgment sent {"connection_id":188358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:24:19] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:24:19] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:24:19] local.INFO: IMEI packet received {"connection_id":188359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":188359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:24:24] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:24:24] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:24:24] local.INFO: IMEI packet received {"connection_id":188359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":188359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:24:25] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:24:25] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:24:25] local.INFO: Packet analysis {"connection_id":188359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:24:25] local.INFO: Extracted packet for processing {"connection_id":188359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:24:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":188359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:24:25] local.INFO: GPS data processed {"connection_id":188359,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:24:25] local.INFO: Acknowledgment sent {"connection_id":188359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:24:29] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:24:29] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:24:29] local.INFO: Packet analysis {"connection_id":188359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:24:29] local.INFO: Extracted packet for processing {"connection_id":188359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:24:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:24:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":188359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:24:29] local.INFO: GPS data processed {"connection_id":188359,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:24:29] local.INFO: Acknowledgment sent {"connection_id":188359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:25:14] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:25:14] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:25:14] local.INFO: IMEI packet received {"connection_id":187036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":187036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:25:19] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:25:19] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:25:19] local.INFO: IMEI packet received {"connection_id":187036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":187036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:25:20] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:25:20] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:25:20] local.INFO: Packet analysis {"connection_id":187036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:25:20] local.INFO: Extracted packet for processing {"connection_id":187036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:25:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:25: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-09-17 21:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":187036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:25:20] local.INFO: GPS data processed {"connection_id":187036,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:25:20] local.INFO: Acknowledgment sent {"connection_id":187036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:25:51] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:25:51] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:25:51] local.INFO: Packet analysis {"connection_id":187036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:25:51] local.INFO: Extracted packet for processing {"connection_id":187036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:25:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":187036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:25:51] local.INFO: GPS data processed {"connection_id":187036,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:25:51] local.INFO: Acknowledgment sent {"connection_id":187036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:26:14] local.INFO: TCP Data received {"connection_id":185729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:26:14] local.INFO: Processing buffer {"connection_id":185729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:26:14] local.INFO: IMEI packet received {"connection_id":185729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":185729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:26:14] local.INFO: TCP Data received {"connection_id":185728,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:26:14] local.INFO: Processing buffer {"connection_id":185728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:26:14] local.INFO: IMEI packet received {"connection_id":185728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":185728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:26:19] local.INFO: TCP Data received {"connection_id":185729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:26:19] local.INFO: Processing buffer {"connection_id":185729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:26:19] local.INFO: IMEI packet received {"connection_id":185729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":185729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:26:20] local.INFO: TCP Data received {"connection_id":185729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:26:20] local.INFO: Processing buffer {"connection_id":185729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:26:20] local.INFO: Packet analysis {"connection_id":185729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:26:20] local.INFO: Extracted packet for processing {"connection_id":185729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:26:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:26: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-09-17 21:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":185729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:26:20] local.INFO: GPS data processed {"connection_id":185729,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:26:20] local.INFO: Acknowledgment sent {"connection_id":185729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:26:49] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:26:49] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:26:49] local.INFO: IMEI packet received {"connection_id":187037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":187037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:26:51] local.INFO: TCP Data received {"connection_id":185729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:26:51] local.INFO: Processing buffer {"connection_id":185729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:26:51] local.INFO: Packet analysis {"connection_id":185729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:26:51] local.INFO: Extracted packet for processing {"connection_id":185729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:26:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":185729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:26:51] local.INFO: GPS data processed {"connection_id":185729,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:26:51] local.INFO: Acknowledgment sent {"connection_id":185729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:27:14] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:27:14] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:27:14] local.INFO: IMEI packet received {"connection_id":187038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":187038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:27:19] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:27:19] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:27:19] local.INFO: IMEI packet received {"connection_id":187038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":187038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:27:20] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:27:20] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0117428012d34c14006aa4440000a011827..."} 
[2026-09-17 21:27:20] local.INFO: Packet analysis {"connection_id":187038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:27:20] local.INFO: Extracted packet for processing {"connection_id":187038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152967168001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:27:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660329000,"timestamp_ms":1789660329000,"timestamp_seconds":1789660329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0117428"} 
[2026-09-17 21:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-17 21:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152967168001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152967168001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152967168001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":187038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:27:20] local.INFO: GPS data processed {"connection_id":187038,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:27:20] local.INFO: Acknowledgment sent {"connection_id":187038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:27:51] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:27:51] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:27:51] local.INFO: Packet analysis {"connection_id":187038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:27:51] local.INFO: Extracted packet for processing {"connection_id":187038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:27:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":187038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:27:51] local.INFO: GPS data processed {"connection_id":187038,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:27:51] local.INFO: Acknowledgment sent {"connection_id":187038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:28:14] local.INFO: TCP Data received {"connection_id":185731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:28:14] local.INFO: Processing buffer {"connection_id":185731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:28:14] local.INFO: IMEI packet received {"connection_id":185731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":185731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:28:19] local.INFO: TCP Data received {"connection_id":185731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:28:19] local.INFO: Processing buffer {"connection_id":185731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:28:19] local.INFO: IMEI packet received {"connection_id":185731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":185731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:28:20] local.INFO: TCP Data received {"connection_id":185731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:28:20] local.INFO: Processing buffer {"connection_id":185731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:28:20] local.INFO: Packet analysis {"connection_id":185731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:28:20] local.INFO: Extracted packet for processing {"connection_id":185731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:28:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:28: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-09-17 21:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":185731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:28:20] local.INFO: GPS data processed {"connection_id":185731,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:28:20] local.INFO: Acknowledgment sent {"connection_id":185731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:28:51] local.INFO: TCP Data received {"connection_id":185731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:28:51] local.INFO: Processing buffer {"connection_id":185731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:28:51] local.INFO: Packet analysis {"connection_id":185731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:28:51] local.INFO: Extracted packet for processing {"connection_id":185731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:28:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":185731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:28:51] local.INFO: GPS data processed {"connection_id":185731,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:28:51] local.INFO: Acknowledgment sent {"connection_id":185731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:29:19] local.INFO: TCP Data received {"connection_id":185732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:29:19] local.INFO: Processing buffer {"connection_id":185732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:29:19] local.INFO: IMEI packet received {"connection_id":185732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":185732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:29:24] local.INFO: TCP Data received {"connection_id":185732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:29:24] local.INFO: Processing buffer {"connection_id":185732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:29:24] local.INFO: IMEI packet received {"connection_id":185732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":185732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:29:25] local.INFO: TCP Data received {"connection_id":185732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:29:25] local.INFO: Processing buffer {"connection_id":185732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:29:25] local.INFO: Packet analysis {"connection_id":185732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:29:25] local.INFO: Extracted packet for processing {"connection_id":185732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:29:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":185732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:29:25] local.INFO: GPS data processed {"connection_id":185732,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:29:25] local.INFO: Acknowledgment sent {"connection_id":185732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:29:30] local.INFO: TCP Data received {"connection_id":185732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:29:30] local.INFO: Processing buffer {"connection_id":185732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:29:30] local.INFO: Packet analysis {"connection_id":185732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:29:30] local.INFO: Extracted packet for processing {"connection_id":185732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:29:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":185732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:29:30] local.INFO: GPS data processed {"connection_id":185732,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:29:30] local.INFO: Acknowledgment sent {"connection_id":185732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:30:14] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:30:14] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:30:14] local.INFO: IMEI packet received {"connection_id":187040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":187040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:30:20] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:30:20] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:30:20] local.INFO: IMEI packet received {"connection_id":187040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":187040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:30:21] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:30:21] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:30:21] local.INFO: Packet analysis {"connection_id":187040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:30:21] local.INFO: Extracted packet for processing {"connection_id":187040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:30:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":187040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:30:21] local.INFO: GPS data processed {"connection_id":187040,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:30:21] local.INFO: Acknowledgment sent {"connection_id":187040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:30:52] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:30:52] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:30:52] local.INFO: Packet analysis {"connection_id":187040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:30:52] local.INFO: Extracted packet for processing {"connection_id":187040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":187040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:30:52] local.INFO: GPS data processed {"connection_id":187040,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:30:52] local.INFO: Acknowledgment sent {"connection_id":187040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:31:14] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:31:14] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:31:14] local.INFO: IMEI packet received {"connection_id":187041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":187041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:31:19] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:31:19] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:31:19] local.INFO: IMEI packet received {"connection_id":187041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":187041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:31:20] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:31:20] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:31:20] local.INFO: Packet analysis {"connection_id":187041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:31:20] local.INFO: Extracted packet for processing {"connection_id":187041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:31:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:31: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-09-17 21:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":187041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:31:20] local.INFO: GPS data processed {"connection_id":187041,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:31:20] local.INFO: Acknowledgment sent {"connection_id":187041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:31:52] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:31:52] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:31:52] local.INFO: Packet analysis {"connection_id":187041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:31:52] local.INFO: Extracted packet for processing {"connection_id":187041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:31:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":187041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:31:52] local.INFO: GPS data processed {"connection_id":187041,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:31:52] local.INFO: Acknowledgment sent {"connection_id":187041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:32:14] local.INFO: TCP Data received {"connection_id":185733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:32:14] local.INFO: Processing buffer {"connection_id":185733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:32:14] local.INFO: IMEI packet received {"connection_id":185733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":185733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:32:14] local.INFO: TCP Data received {"connection_id":185575,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:32:14] local.INFO: Processing buffer {"connection_id":185575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:32:14] local.INFO: IMEI packet received {"connection_id":185575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":185575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:32:19] local.INFO: TCP Data received {"connection_id":185733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:32:19] local.INFO: Processing buffer {"connection_id":185733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:32:19] local.INFO: IMEI packet received {"connection_id":185733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":185733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:32:20] local.INFO: TCP Data received {"connection_id":185733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:32:20] local.INFO: Processing buffer {"connection_id":185733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0160bf0012d34c14006aa4440000a011828..."} 
[2026-09-17 21:32:20] local.INFO: Packet analysis {"connection_id":185733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:32:20] local.INFO: Extracted packet for processing {"connection_id":185733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b016"} 
[2026-09-17 21:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153044224001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:32:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660630000,"timestamp_ms":1789660630000,"timestamp_seconds":1789660630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0160bf0"} 
[2026-09-17 21:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:32: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-09-17 21:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153044224001,"66":25549,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153044224001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153044224001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":185733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:32:20] local.INFO: GPS data processed {"connection_id":185733,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:32:20] local.INFO: Acknowledgment sent {"connection_id":185733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:32:50] local.INFO: TCP Data received {"connection_id":188361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:32:50] local.INFO: Processing buffer {"connection_id":188361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:32:50] local.INFO: IMEI packet received {"connection_id":188361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":188361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:32:51] local.INFO: TCP Data received {"connection_id":185733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:32:51] local.INFO: Processing buffer {"connection_id":185733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:32:51] local.INFO: Packet analysis {"connection_id":185733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:32:51] local.INFO: Extracted packet for processing {"connection_id":185733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:32:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":185733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:32:51] local.INFO: GPS data processed {"connection_id":185733,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:32:51] local.INFO: Acknowledgment sent {"connection_id":185733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:33:14] local.INFO: TCP Data received {"connection_id":185576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:33:14] local.INFO: Processing buffer {"connection_id":185576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:33:14] local.INFO: IMEI packet received {"connection_id":185576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":185576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:33:19] local.INFO: TCP Data received {"connection_id":185576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:33:19] local.INFO: Processing buffer {"connection_id":185576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:33:19] local.INFO: IMEI packet received {"connection_id":185576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":185576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:33:20] local.INFO: TCP Data received {"connection_id":185576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:33:20] local.INFO: Processing buffer {"connection_id":185576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:33:20] local.INFO: Packet analysis {"connection_id":185576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:33:20] local.INFO: Extracted packet for processing {"connection_id":185576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:33:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:33: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-09-17 21:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":185576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:33:20] local.INFO: GPS data processed {"connection_id":185576,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:33:20] local.INFO: Acknowledgment sent {"connection_id":185576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:33:52] local.INFO: TCP Data received {"connection_id":185576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:33:52] local.INFO: Processing buffer {"connection_id":185576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:33:52] local.INFO: Packet analysis {"connection_id":185576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:33:52] local.INFO: Extracted packet for processing {"connection_id":185576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:33:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":185576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:33:52] local.INFO: GPS data processed {"connection_id":185576,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:33:52] local.INFO: Acknowledgment sent {"connection_id":185576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:34:14] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:34:14] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:34:14] local.INFO: IMEI packet received {"connection_id":188362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:34:19] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:34:19] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:34:19] local.INFO: IMEI packet received {"connection_id":188362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":188362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:34:20] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:34:20] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:34:20] local.INFO: Packet analysis {"connection_id":188362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:34:20] local.INFO: Extracted packet for processing {"connection_id":188362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:34:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:34: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-09-17 21:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":188362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:34:20] local.INFO: GPS data processed {"connection_id":188362,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:34:20] local.INFO: Acknowledgment sent {"connection_id":188362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:34:51] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:34:51] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:34:51] local.INFO: Packet analysis {"connection_id":188362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:34:51] local.INFO: Extracted packet for processing {"connection_id":188362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:34:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":188362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:34:51] local.INFO: GPS data processed {"connection_id":188362,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:34:51] local.INFO: Acknowledgment sent {"connection_id":188362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:35:14] local.INFO: TCP Data received {"connection_id":187043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:35:14] local.INFO: Processing buffer {"connection_id":187043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:35:14] local.INFO: IMEI packet received {"connection_id":187043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":187043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:35:19] local.INFO: TCP Data received {"connection_id":187043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:35:19] local.INFO: Processing buffer {"connection_id":187043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:35:19] local.INFO: IMEI packet received {"connection_id":187043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":187043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:35:20] local.INFO: TCP Data received {"connection_id":187043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:35:20] local.INFO: Processing buffer {"connection_id":187043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:35:20] local.INFO: Packet analysis {"connection_id":187043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:35:20] local.INFO: Extracted packet for processing {"connection_id":187043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:35:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":187043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:35:20] local.INFO: GPS data processed {"connection_id":187043,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:35:20] local.INFO: Acknowledgment sent {"connection_id":187043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:35:51] local.INFO: TCP Data received {"connection_id":187043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:35:51] local.INFO: Processing buffer {"connection_id":187043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:35:51] local.INFO: Packet analysis {"connection_id":187043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:35:51] local.INFO: Extracted packet for processing {"connection_id":187043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":187043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:35:51] local.INFO: GPS data processed {"connection_id":187043,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:35:51] local.INFO: Acknowledgment sent {"connection_id":187043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:36:14] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:36:14] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:36:14] local.INFO: IMEI packet received {"connection_id":187044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":187044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:36:19] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:36:19] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:36:19] local.INFO: IMEI packet received {"connection_id":187044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":187044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:36:20] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:36:20] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:36:20] local.INFO: Packet analysis {"connection_id":187044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:36:20] local.INFO: Extracted packet for processing {"connection_id":187044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:36:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:36: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-09-17 21:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":187044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:36:20] local.INFO: GPS data processed {"connection_id":187044,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:36:20] local.INFO: Acknowledgment sent {"connection_id":187044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:36:51] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:36:51] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:36:51] local.INFO: Packet analysis {"connection_id":187044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:36:51] local.INFO: Extracted packet for processing {"connection_id":187044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:36:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":187044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:36:51] local.INFO: GPS data processed {"connection_id":187044,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:36:51] local.INFO: Acknowledgment sent {"connection_id":187044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:37:19] local.INFO: TCP Data received {"connection_id":185577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:37:19] local.INFO: Processing buffer {"connection_id":185577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:37:19] local.INFO: IMEI packet received {"connection_id":185577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":185577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:37:24] local.INFO: TCP Data received {"connection_id":185577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:37:24] local.INFO: Processing buffer {"connection_id":185577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:37:24] local.INFO: IMEI packet received {"connection_id":185577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":185577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:37:25] local.INFO: TCP Data received {"connection_id":185577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:37:25] local.INFO: Processing buffer {"connection_id":185577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01aa3b8012d34c14006aa4440000a011829..."} 
[2026-09-17 21:37:25] local.INFO: Packet analysis {"connection_id":185577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:37:25] local.INFO: Extracted packet for processing {"connection_id":185577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01a"} 
[2026-09-17 21:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153121280001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:37:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789660931000,"timestamp_ms":1789660931000,"timestamp_seconds":1789660931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01aa3b8"} 
[2026-09-17 21:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-17 21:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153121280001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153121280001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153121280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":185577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:37:25] local.INFO: GPS data processed {"connection_id":185577,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:37:25] local.INFO: Acknowledgment sent {"connection_id":185577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:37:56] local.INFO: TCP Data received {"connection_id":185577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:37:56] local.INFO: Processing buffer {"connection_id":185577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:37:56] local.INFO: Packet analysis {"connection_id":185577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:37:56] local.INFO: Extracted packet for processing {"connection_id":185577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:37:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:37:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:37:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":185577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:37:56] local.INFO: GPS data processed {"connection_id":185577,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:37:56] local.INFO: Acknowledgment sent {"connection_id":185577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:38:09] local.INFO: TCP Data received {"connection_id":185736,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:38:09] local.INFO: Processing buffer {"connection_id":185736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:38:09] local.INFO: IMEI packet received {"connection_id":185736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":185736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:38:14] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:38:14] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:38:14] local.INFO: IMEI packet received {"connection_id":187045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":187045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:38:19] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:38:19] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:38:19] local.INFO: IMEI packet received {"connection_id":187045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":187045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:38:20] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:38:20] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:38:20] local.INFO: Packet analysis {"connection_id":187045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:38:20] local.INFO: Extracted packet for processing {"connection_id":187045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:38:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:38: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-09-17 21:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":187045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:38:20] local.INFO: GPS data processed {"connection_id":187045,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:38:20] local.INFO: Acknowledgment sent {"connection_id":187045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:38:49] local.INFO: TCP Data received {"connection_id":185578,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:38:49] local.INFO: Processing buffer {"connection_id":185578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:38:49] local.INFO: IMEI packet received {"connection_id":185578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":185578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:38:51] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:38:51] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:38:51] local.INFO: Packet analysis {"connection_id":187045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:38:51] local.INFO: Extracted packet for processing {"connection_id":187045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:38:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":187045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:38:51] local.INFO: GPS data processed {"connection_id":187045,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:38:51] local.INFO: Acknowledgment sent {"connection_id":187045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:38:54] local.INFO: TCP Data received {"connection_id":185578,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:38:54] local.INFO: Processing buffer {"connection_id":185578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:38:54] local.INFO: IMEI packet received {"connection_id":185578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 21:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":185578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:38:56] local.INFO: TCP Data received {"connection_id":185578,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01154e8012d7b84c005f5e7f8000d00ab2e..."} 
[2026-09-17 21:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01154e8012d7b84c005f5e7f8000d00ab2e..."} 
[2026-09-17 21:38:56] local.INFO: Processing buffer {"connection_id":185578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01154e8012d7b84c005f5e7f8000d00ab2e..."} 
[2026-09-17 21:38:56] local.INFO: Packet analysis {"connection_id":185578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:38:56] local.INFO: Extracted packet for processing {"connection_id":185578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b011"} 
[2026-09-17 21:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100001784,"longitude_deg":76.3069632,"latitude_deg":10.0001784,"altitude":13,"angle":171,"satellites":46,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5e7f8","is_valid_coordinates":true} 
[2026-09-17 21:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458152965120001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4681020431400960,"note":"Value kept but may cause issues"} 
[2026-09-17 21:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895423932416,"note":"Value kept but may cause issues"} 
[2026-09-17 21:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-17 21:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789660321000,"timestamp_ms":1789660321000,"timestamp_seconds":1789660321,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01154e8"} 
[2026-09-17 21:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-17 21:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 21:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-17 21:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-17 21:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-17 21:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458152965120001,"66":25691,"160":206,"87":12800,"24":0,"16":4681020431400960,"45":8900449895423932416},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-17 21:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-17 21:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-17 21:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458152965120001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:38:56] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-17 21:38:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-17 21:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4681020431400960,"km_value":4681020431400.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895423932416,"description":"Unknown IO ID 45"} 
[2026-09-17 21:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458152965120001,"power":25691,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900449895423932416}} 
[2026-09-17 21:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":185578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:38:56] local.INFO: GPS data processed {"connection_id":185578,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:38:56] local.INFO: Acknowledgment sent {"connection_id":185578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:39:19] local.INFO: TCP Data received {"connection_id":185737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:39:19] local.INFO: Processing buffer {"connection_id":185737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:39:19] local.INFO: IMEI packet received {"connection_id":185737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":185737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:39:24] local.INFO: TCP Data received {"connection_id":185737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:39:24] local.INFO: Processing buffer {"connection_id":185737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:39:24] local.INFO: IMEI packet received {"connection_id":185737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":185737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:39:25] local.INFO: TCP Data received {"connection_id":185737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:39:25] local.INFO: Processing buffer {"connection_id":185737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:39:25] local.INFO: Packet analysis {"connection_id":185737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:39:25] local.INFO: Extracted packet for processing {"connection_id":185737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:39:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":185737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:39:25] local.INFO: GPS data processed {"connection_id":185737,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:39:25] local.INFO: Acknowledgment sent {"connection_id":185737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:39:44] local.INFO: TCP Data received {"connection_id":185738,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:39:44] local.INFO: Processing buffer {"connection_id":185738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:39:44] local.INFO: IMEI packet received {"connection_id":185738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":185738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:39:56] local.INFO: TCP Data received {"connection_id":185737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:39:56] local.INFO: Processing buffer {"connection_id":185737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:39:56] local.INFO: Packet analysis {"connection_id":185737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:39:56] local.INFO: Extracted packet for processing {"connection_id":185737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:39:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:39:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":185737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:39:56] local.INFO: GPS data processed {"connection_id":185737,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:39:56] local.INFO: Acknowledgment sent {"connection_id":185737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:40:14] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:40:14] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:40:14] local.INFO: IMEI packet received {"connection_id":188364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":188364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:40:19] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:40:19] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:40:19] local.INFO: IMEI packet received {"connection_id":188364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":188364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:40:20] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:40:20] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:40:20] local.INFO: Packet analysis {"connection_id":188364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:40:20] local.INFO: Extracted packet for processing {"connection_id":188364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:40:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:40: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-09-17 21:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":188364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:40:20] local.INFO: GPS data processed {"connection_id":188364,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:40:20] local.INFO: Acknowledgment sent {"connection_id":188364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:40:51] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:40:51] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:40:51] local.INFO: Packet analysis {"connection_id":188364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:40:51] local.INFO: Extracted packet for processing {"connection_id":188364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:40:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":188364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:40:51] local.INFO: GPS data processed {"connection_id":188364,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:40:51] local.INFO: Acknowledgment sent {"connection_id":188364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:41:14] local.INFO: TCP Data received {"connection_id":185580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:41:14] local.INFO: Processing buffer {"connection_id":185580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:41:14] local.INFO: IMEI packet received {"connection_id":185580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":185580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:41:19] local.INFO: TCP Data received {"connection_id":185580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:41:19] local.INFO: Processing buffer {"connection_id":185580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:41:19] local.INFO: IMEI packet received {"connection_id":185580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":185580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:41:20] local.INFO: TCP Data received {"connection_id":185580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:41:20] local.INFO: Processing buffer {"connection_id":185580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:41:20] local.INFO: Packet analysis {"connection_id":185580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:41:20] local.INFO: Extracted packet for processing {"connection_id":185580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:41:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":185580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:41:20] local.INFO: GPS data processed {"connection_id":185580,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:41:20] local.INFO: Acknowledgment sent {"connection_id":185580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:41:53] local.INFO: TCP Data received {"connection_id":185580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:41:53] local.INFO: Processing buffer {"connection_id":185580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:41:53] local.INFO: Packet analysis {"connection_id":185580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:41:53] local.INFO: Extracted packet for processing {"connection_id":185580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:41:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":185580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:41:53] local.INFO: GPS data processed {"connection_id":185580,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:41:53] local.INFO: Acknowledgment sent {"connection_id":185580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:42:14] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:42:14] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:42:14] local.INFO: IMEI packet received {"connection_id":187046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":187046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:42:19] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:42:19] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:42:19] local.INFO: IMEI packet received {"connection_id":187046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":187046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:42:20] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:42:20] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:42:20] local.INFO: Packet analysis {"connection_id":187046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:42:20] local.INFO: Extracted packet for processing {"connection_id":187046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:42: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-09-17 21:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":187046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:42:20] local.INFO: GPS data processed {"connection_id":187046,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:42:20] local.INFO: Acknowledgment sent {"connection_id":187046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:42:51] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:42:51] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b01f3b80012d34c14006aa4440000a011829..."} 
[2026-09-17 21:42:51] local.INFO: Packet analysis {"connection_id":187046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:42:51] local.INFO: Extracted packet for processing {"connection_id":187046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b01f"} 
[2026-09-17 21:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153198336001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:42:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661232000,"timestamp_ms":1789661232000,"timestamp_seconds":1789661232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b01f3b80"} 
[2026-09-17 21:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153198336001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153198336001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153198336001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":187046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:42:51] local.INFO: GPS data processed {"connection_id":187046,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:42:51] local.INFO: Acknowledgment sent {"connection_id":187046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:43:14] local.INFO: TCP Data received {"connection_id":185740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:43:14] local.INFO: Processing buffer {"connection_id":185740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:43:14] local.INFO: IMEI packet received {"connection_id":185740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":185740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:43:19] local.INFO: TCP Data received {"connection_id":185740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:43:19] local.INFO: Processing buffer {"connection_id":185740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:43:19] local.INFO: IMEI packet received {"connection_id":185740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":185740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:43:20] local.INFO: TCP Data received {"connection_id":185740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:43:20] local.INFO: Processing buffer {"connection_id":185740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:43:20] local.INFO: Packet analysis {"connection_id":185740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:43:20] local.INFO: Extracted packet for processing {"connection_id":185740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:43:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":185740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:43:20] local.INFO: GPS data processed {"connection_id":185740,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:43:20] local.INFO: Acknowledgment sent {"connection_id":185740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:43:52] local.INFO: TCP Data received {"connection_id":185740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:43:52] local.INFO: Processing buffer {"connection_id":185740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:43:52] local.INFO: Packet analysis {"connection_id":185740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:43:52] local.INFO: Extracted packet for processing {"connection_id":185740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:43:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":185740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:43:52] local.INFO: GPS data processed {"connection_id":185740,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:43:52] local.INFO: Acknowledgment sent {"connection_id":185740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:44:14] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:44:14] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:44:14] local.INFO: IMEI packet received {"connection_id":187047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":187047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:44:19] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:44:19] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:44:19] local.INFO: IMEI packet received {"connection_id":187047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":187047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:44:20] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:44:20] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:44:20] local.INFO: Packet analysis {"connection_id":187047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:44:20] local.INFO: Extracted packet for processing {"connection_id":187047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:44:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:44: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-09-17 21:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":187047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:44:20] local.INFO: GPS data processed {"connection_id":187047,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:44:20] local.INFO: Acknowledgment sent {"connection_id":187047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:44:51] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:44:51] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:44:51] local.INFO: Packet analysis {"connection_id":187047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:44:51] local.INFO: Extracted packet for processing {"connection_id":187047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:44:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":187047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:44:51] local.INFO: GPS data processed {"connection_id":187047,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:44:51] local.INFO: Acknowledgment sent {"connection_id":187047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:45:09] local.INFO: TCP Data received {"connection_id":187048,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:45:09] local.INFO: Processing buffer {"connection_id":187048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:45:09] local.INFO: IMEI packet received {"connection_id":187048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":187048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:45:14] local.INFO: TCP Data received {"connection_id":187049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:45:14] local.INFO: Processing buffer {"connection_id":187049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:45:14] local.INFO: IMEI packet received {"connection_id":187049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":187049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:45:19] local.INFO: TCP Data received {"connection_id":187049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:45:19] local.INFO: Processing buffer {"connection_id":187049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:45:19] local.INFO: IMEI packet received {"connection_id":187049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":187049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:45:20] local.INFO: TCP Data received {"connection_id":187049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:45:20] local.INFO: Processing buffer {"connection_id":187049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:45:20] local.INFO: Packet analysis {"connection_id":187049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:45:20] local.INFO: Extracted packet for processing {"connection_id":187049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:45:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:45: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-09-17 21:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":187049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:45:20] local.INFO: GPS data processed {"connection_id":187049,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:45:20] local.INFO: Acknowledgment sent {"connection_id":187049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:45:49] local.INFO: TCP Data received {"connection_id":187050,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:45:49] local.INFO: Processing buffer {"connection_id":187050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:45:49] local.INFO: IMEI packet received {"connection_id":187050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":187050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:45:52] local.INFO: TCP Data received {"connection_id":187049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:45:52] local.INFO: Processing buffer {"connection_id":187049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:45:52] local.INFO: Packet analysis {"connection_id":187049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:45:52] local.INFO: Extracted packet for processing {"connection_id":187049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:45:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":187049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:45:52] local.INFO: GPS data processed {"connection_id":187049,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:45:52] local.INFO: Acknowledgment sent {"connection_id":187049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:46:19] local.INFO: TCP Data received {"connection_id":185581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:46:19] local.INFO: Processing buffer {"connection_id":185581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:46:19] local.INFO: IMEI packet received {"connection_id":185581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":185581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:46:24] local.INFO: TCP Data received {"connection_id":185581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:46:24] local.INFO: Processing buffer {"connection_id":185581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:46:24] local.INFO: IMEI packet received {"connection_id":185581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":185581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:46:25] local.INFO: TCP Data received {"connection_id":185581,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:46:25] local.INFO: Processing buffer {"connection_id":185581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:46:25] local.INFO: Packet analysis {"connection_id":185581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:46:25] local.INFO: Extracted packet for processing {"connection_id":185581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:46:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":185581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:46:25] local.INFO: GPS data processed {"connection_id":185581,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:46:25] local.INFO: Acknowledgment sent {"connection_id":185581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:46:30] local.INFO: TCP Data received {"connection_id":185581,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:46:30] local.INFO: Processing buffer {"connection_id":185581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:46:30] local.INFO: Packet analysis {"connection_id":185581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:46:30] local.INFO: Extracted packet for processing {"connection_id":185581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:46:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:46:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":185581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:46:30] local.INFO: GPS data processed {"connection_id":185581,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:46:30] local.INFO: Acknowledgment sent {"connection_id":185581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:47:14] local.INFO: TCP Data received {"connection_id":187051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:47:14] local.INFO: Processing buffer {"connection_id":187051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:47:14] local.INFO: IMEI packet received {"connection_id":187051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":187051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:47:19] local.INFO: TCP Data received {"connection_id":187051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:47:19] local.INFO: Processing buffer {"connection_id":187051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:47:19] local.INFO: IMEI packet received {"connection_id":187051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":187051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:47:20] local.INFO: TCP Data received {"connection_id":187051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:47:20] local.INFO: Processing buffer {"connection_id":187051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:47:20] local.INFO: Packet analysis {"connection_id":187051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:47:20] local.INFO: Extracted packet for processing {"connection_id":187051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:47:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":187051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:47:20] local.INFO: GPS data processed {"connection_id":187051,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:47:20] local.INFO: Acknowledgment sent {"connection_id":187051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:47:51] local.INFO: TCP Data received {"connection_id":187051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:47:51] local.INFO: Processing buffer {"connection_id":187051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b023d348012d34c14006aa4440000a011828..."} 
[2026-09-17 21:47:51] local.INFO: Packet analysis {"connection_id":187051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:47:51] local.INFO: Extracted packet for processing {"connection_id":187051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b023"} 
[2026-09-17 21:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153275392001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:47:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661533000,"timestamp_ms":1789661533000,"timestamp_seconds":1789661533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b023d348"} 
[2026-09-17 21:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153275392001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153275392001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153275392001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":187051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:47:51] local.INFO: GPS data processed {"connection_id":187051,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:47:51] local.INFO: Acknowledgment sent {"connection_id":187051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:48:14] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:48:14] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:48:14] local.INFO: IMEI packet received {"connection_id":188368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":188368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:48:19] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:48:19] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:48:19] local.INFO: IMEI packet received {"connection_id":188368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":188368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:48:20] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:48:20] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:48:20] local.INFO: Packet analysis {"connection_id":188368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:48:20] local.INFO: Extracted packet for processing {"connection_id":188368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:48:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:48: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-09-17 21:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":188368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:48:20] local.INFO: GPS data processed {"connection_id":188368,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:48:20] local.INFO: Acknowledgment sent {"connection_id":188368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:48:51] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:48:51] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:48:51] local.INFO: Packet analysis {"connection_id":188368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:48:51] local.INFO: Extracted packet for processing {"connection_id":188368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:48:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":188368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:48:51] local.INFO: GPS data processed {"connection_id":188368,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:48:51] local.INFO: Acknowledgment sent {"connection_id":188368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:49:14] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:49:14] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:49:14] local.INFO: IMEI packet received {"connection_id":187052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":187052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:49:19] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:49:19] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:49:19] local.INFO: IMEI packet received {"connection_id":187052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":187052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:49:20] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:49:20] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:49:20] local.INFO: Packet analysis {"connection_id":187052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:49:20] local.INFO: Extracted packet for processing {"connection_id":187052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:49:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21: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-09-17 21:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":187052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:49:20] local.INFO: GPS data processed {"connection_id":187052,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:49:20] local.INFO: Acknowledgment sent {"connection_id":187052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:49:51] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:49:51] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:49:51] local.INFO: Packet analysis {"connection_id":187052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:49:51] local.INFO: Extracted packet for processing {"connection_id":187052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:49:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":187052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:49:51] local.INFO: GPS data processed {"connection_id":187052,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:49:51] local.INFO: Acknowledgment sent {"connection_id":187052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:50:14] local.INFO: TCP Data received {"connection_id":185583,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:50:14] local.INFO: Processing buffer {"connection_id":185583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:50:14] local.INFO: IMEI packet received {"connection_id":185583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":185583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:50:19] local.INFO: TCP Data received {"connection_id":185583,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:50:19] local.INFO: Processing buffer {"connection_id":185583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:50:19] local.INFO: IMEI packet received {"connection_id":185583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":185583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:50:20] local.INFO: TCP Data received {"connection_id":185583,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:50:20] local.INFO: Processing buffer {"connection_id":185583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:50:20] local.INFO: Packet analysis {"connection_id":185583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:50:20] local.INFO: Extracted packet for processing {"connection_id":185583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:50:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:50: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-09-17 21:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":185583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:50:20] local.INFO: GPS data processed {"connection_id":185583,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:50:20] local.INFO: Acknowledgment sent {"connection_id":185583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:50:51] local.INFO: TCP Data received {"connection_id":185583,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:50:51] local.INFO: Processing buffer {"connection_id":185583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:50:51] local.INFO: Packet analysis {"connection_id":185583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:50:51] local.INFO: Extracted packet for processing {"connection_id":185583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:50:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":185583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:50:51] local.INFO: GPS data processed {"connection_id":185583,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:50:51] local.INFO: Acknowledgment sent {"connection_id":185583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:51:14] local.INFO: TCP Data received {"connection_id":188369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:51:14] local.INFO: Processing buffer {"connection_id":188369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:51:14] local.INFO: IMEI packet received {"connection_id":188369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":188369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:51:14] local.INFO: TCP Data received {"connection_id":187053,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:51:14] local.INFO: Processing buffer {"connection_id":187053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:51:14] local.INFO: IMEI packet received {"connection_id":187053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":187053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:51:19] local.INFO: TCP Data received {"connection_id":188369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:51:19] local.INFO: Processing buffer {"connection_id":188369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:51:19] local.INFO: IMEI packet received {"connection_id":188369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":188369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:51:20] local.INFO: TCP Data received {"connection_id":188369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:51:20] local.INFO: Processing buffer {"connection_id":188369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:51:20] local.INFO: Packet analysis {"connection_id":188369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:51:20] local.INFO: Extracted packet for processing {"connection_id":188369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:51:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:51: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-09-17 21:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":188369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:51:20] local.INFO: GPS data processed {"connection_id":188369,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:51:20] local.INFO: Acknowledgment sent {"connection_id":188369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:51:49] local.INFO: TCP Data received {"connection_id":185584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:51:49] local.INFO: Processing buffer {"connection_id":185584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:51:49] local.INFO: IMEI packet received {"connection_id":185584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":185584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:51:51] local.INFO: TCP Data received {"connection_id":188369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:51:51] local.INFO: Processing buffer {"connection_id":188369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:51:51] local.INFO: Packet analysis {"connection_id":188369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:51:51] local.INFO: Extracted packet for processing {"connection_id":188369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:51:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":188369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:51:51] local.INFO: GPS data processed {"connection_id":188369,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:51:51] local.INFO: Acknowledgment sent {"connection_id":188369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:52:14] local.INFO: TCP Data received {"connection_id":185585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:52:14] local.INFO: Processing buffer {"connection_id":185585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:52:14] local.INFO: IMEI packet received {"connection_id":185585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":185585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:52:19] local.INFO: TCP Data received {"connection_id":185585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:52:19] local.INFO: Processing buffer {"connection_id":185585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:52:19] local.INFO: IMEI packet received {"connection_id":185585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":185585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:52:20] local.INFO: TCP Data received {"connection_id":185585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:52:20] local.INFO: Processing buffer {"connection_id":185585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:52:20] local.INFO: Packet analysis {"connection_id":185585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:52:20] local.INFO: Extracted packet for processing {"connection_id":185585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:52: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-09-17 21:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":185585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:52:20] local.INFO: GPS data processed {"connection_id":185585,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:52:20] local.INFO: Acknowledgment sent {"connection_id":185585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:52:51] local.INFO: TCP Data received {"connection_id":185585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:52:51] local.INFO: Processing buffer {"connection_id":185585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0286b10012d34c14006aa4440000a011827..."} 
[2026-09-17 21:52:51] local.INFO: Packet analysis {"connection_id":185585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:52:51] local.INFO: Extracted packet for processing {"connection_id":185585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b028"} 
[2026-09-17 21:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153352448001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:52:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789661834000,"timestamp_ms":1789661834000,"timestamp_seconds":1789661834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0286b10"} 
[2026-09-17 21:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153352448001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153352448001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153352448001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":185585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:52:51] local.INFO: GPS data processed {"connection_id":185585,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:52:51] local.INFO: Acknowledgment sent {"connection_id":185585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:53:19] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:53:19] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:53:19] local.INFO: IMEI packet received {"connection_id":188370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":188370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:53:24] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:53:24] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:53:24] local.INFO: IMEI packet received {"connection_id":188370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":188370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:53:25] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:53:25] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:53:25] local.INFO: Packet analysis {"connection_id":188370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:53:25] local.INFO: Extracted packet for processing {"connection_id":188370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:53:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":188370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:53:25] local.INFO: GPS data processed {"connection_id":188370,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:53:25] local.INFO: Acknowledgment sent {"connection_id":188370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:53:56] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:53:56] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:53:56] local.INFO: Packet analysis {"connection_id":188370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:53:56] local.INFO: Extracted packet for processing {"connection_id":188370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:53:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:53:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":188370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:53:56] local.INFO: GPS data processed {"connection_id":188370,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:53:56] local.INFO: Acknowledgment sent {"connection_id":188370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:54:14] local.INFO: TCP Data received {"connection_id":185586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:54:14] local.INFO: Processing buffer {"connection_id":185586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:54:14] local.INFO: IMEI packet received {"connection_id":185586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":185586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:54:19] local.INFO: TCP Data received {"connection_id":185586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:54:19] local.INFO: Processing buffer {"connection_id":185586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:54:19] local.INFO: IMEI packet received {"connection_id":185586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":185586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:54:20] local.INFO: TCP Data received {"connection_id":185586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:54:20] local.INFO: Processing buffer {"connection_id":185586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:54:20] local.INFO: Packet analysis {"connection_id":185586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:54:20] local.INFO: Extracted packet for processing {"connection_id":185586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:54:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:54: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-09-17 21:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":185586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:54:20] local.INFO: GPS data processed {"connection_id":185586,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:54:20] local.INFO: Acknowledgment sent {"connection_id":185586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:54:51] local.INFO: TCP Data received {"connection_id":185586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:54:51] local.INFO: Processing buffer {"connection_id":185586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:54:51] local.INFO: Packet analysis {"connection_id":185586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:54:51] local.INFO: Extracted packet for processing {"connection_id":185586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:54:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":185586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:54:51] local.INFO: GPS data processed {"connection_id":185586,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:54:51] local.INFO: Acknowledgment sent {"connection_id":185586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:55:14] local.INFO: TCP Data received {"connection_id":185587,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:55:14] local.INFO: Processing buffer {"connection_id":185587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:55:14] local.INFO: IMEI packet received {"connection_id":185587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":185587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:55:19] local.INFO: TCP Data received {"connection_id":185587,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:55:19] local.INFO: Processing buffer {"connection_id":185587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:55:19] local.INFO: IMEI packet received {"connection_id":185587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":185587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:55:20] local.INFO: TCP Data received {"connection_id":185587,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:55:20] local.INFO: Processing buffer {"connection_id":185587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:55:20] local.INFO: Packet analysis {"connection_id":185587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:55:20] local.INFO: Extracted packet for processing {"connection_id":185587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":185587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:55:20] local.INFO: GPS data processed {"connection_id":185587,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:55:20] local.INFO: Acknowledgment sent {"connection_id":185587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:55:51] local.INFO: TCP Data received {"connection_id":185587,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:55:51] local.INFO: Processing buffer {"connection_id":185587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:55:51] local.INFO: Packet analysis {"connection_id":185587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:55:51] local.INFO: Extracted packet for processing {"connection_id":185587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:55:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":185587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:55:51] local.INFO: GPS data processed {"connection_id":185587,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:55:51] local.INFO: Acknowledgment sent {"connection_id":185587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:56:14] local.INFO: TCP Data received {"connection_id":185588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:56:14] local.INFO: Processing buffer {"connection_id":185588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:56:14] local.INFO: IMEI packet received {"connection_id":185588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":185588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:56:19] local.INFO: TCP Data received {"connection_id":185588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:56:19] local.INFO: Processing buffer {"connection_id":185588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:56:19] local.INFO: IMEI packet received {"connection_id":185588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":185588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:56:20] local.INFO: TCP Data received {"connection_id":185588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:56:20] local.INFO: Processing buffer {"connection_id":185588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:56:20] local.INFO: Packet analysis {"connection_id":185588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:56:20] local.INFO: Extracted packet for processing {"connection_id":185588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:56:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":185588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:56:21] local.INFO: GPS data processed {"connection_id":185588,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:56:21] local.INFO: Acknowledgment sent {"connection_id":185588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:56:52] local.INFO: TCP Data received {"connection_id":185588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:56:52] local.INFO: Processing buffer {"connection_id":185588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:56:52] local.INFO: Packet analysis {"connection_id":185588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:56:52] local.INFO: Extracted packet for processing {"connection_id":185588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:56:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":185588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:56:52] local.INFO: GPS data processed {"connection_id":185588,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:56:52] local.INFO: Acknowledgment sent {"connection_id":185588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:57:09] local.INFO: TCP Data received {"connection_id":185745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:57:09] local.INFO: Processing buffer {"connection_id":185745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:57:09] local.INFO: IMEI packet received {"connection_id":185745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":185745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:57:19] local.INFO: TCP Data received {"connection_id":187054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:57:19] local.INFO: Processing buffer {"connection_id":187054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:57:19] local.INFO: IMEI packet received {"connection_id":187054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":187054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:57:24] local.INFO: TCP Data received {"connection_id":187054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:57:24] local.INFO: Processing buffer {"connection_id":187054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:57:24] local.INFO: IMEI packet received {"connection_id":187054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":187054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:57:25] local.INFO: TCP Data received {"connection_id":187054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:57:25] local.INFO: Processing buffer {"connection_id":187054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:57:25] local.INFO: Packet analysis {"connection_id":187054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:57:25] local.INFO: Extracted packet for processing {"connection_id":187054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:57:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":187054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:57:25] local.INFO: GPS data processed {"connection_id":187054,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:57:25] local.INFO: Acknowledgment sent {"connection_id":187054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:57:30] local.INFO: TCP Data received {"connection_id":187054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:57:30] local.INFO: Processing buffer {"connection_id":187054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b02d02d8012d34c14006aa4440000a011826..."} 
[2026-09-17 21:57:30] local.INFO: Packet analysis {"connection_id":187054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:57:30] local.INFO: Extracted packet for processing {"connection_id":187054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b02d"} 
[2026-09-17 21:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153429504001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:57:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789662135000,"timestamp_ms":1789662135000,"timestamp_seconds":1789662135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b02d02d8"} 
[2026-09-17 21:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 21:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153429504001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153429504001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:57:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153429504001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":187054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:57:30] local.INFO: GPS data processed {"connection_id":187054,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:57:30] local.INFO: Acknowledgment sent {"connection_id":187054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:57:49] local.INFO: TCP Data received {"connection_id":185746,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:57:49] local.INFO: Processing buffer {"connection_id":185746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 21:57:49] local.INFO: IMEI packet received {"connection_id":185746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 21:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":185746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:58:14] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:58:14] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:58:14] local.INFO: IMEI packet received {"connection_id":188373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":188373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:58:19] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:58:19] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:58:19] local.INFO: IMEI packet received {"connection_id":188373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":188373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:58:20] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:58:20] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:58:20] local.INFO: Packet analysis {"connection_id":188373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 21:58:20] local.INFO: Extracted packet for processing {"connection_id":188373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 21:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:58:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 21:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 21:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:58: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-09-17 21:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":188373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:58:20] local.INFO: GPS data processed {"connection_id":188373,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:58:20] local.INFO: Acknowledgment sent {"connection_id":188373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:58:51] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:58:51] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:58:51] local.INFO: Packet analysis {"connection_id":188373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 21:58:51] local.INFO: Extracted packet for processing {"connection_id":188373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 21:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:58:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 21:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 21:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":188373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:58:51] local.INFO: GPS data processed {"connection_id":188373,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:58:51] local.INFO: Acknowledgment sent {"connection_id":188373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:59:14] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:59:14] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:59:14] local.INFO: IMEI packet received {"connection_id":188374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 21:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":188374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 21:59:19] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:59:19] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 21:59:19] local.INFO: IMEI packet received {"connection_id":188374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 21:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":188374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 21:59:20] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:59:20] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:59:20] local.INFO: Packet analysis {"connection_id":188374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 21:59:20] local.INFO: Extracted packet for processing {"connection_id":188374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 21:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 21:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":188374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:59:20] local.INFO: GPS data processed {"connection_id":188374,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:59:20] local.INFO: Acknowledgment sent {"connection_id":188374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 21:59:51] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:59:51] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 21:59:51] local.INFO: Packet analysis {"connection_id":188374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 21:59:51] local.INFO: Extracted packet for processing {"connection_id":188374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 21:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 21:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 21:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 21:59:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 21:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 21:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 21:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 21:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 21:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 21:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 21:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 21:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 21:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 21:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 21:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 21:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 21:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 21:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 21:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 21:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 21:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 21:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 21:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 21:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 21:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 21:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 21:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 21:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 21:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":188374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 21:59:51] local.INFO: GPS data processed {"connection_id":188374,"processed":1,"errors":0,"total":1} 
[2026-09-17 21:59:51] local.INFO: Acknowledgment sent {"connection_id":188374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:00:14] local.INFO: TCP Data received {"connection_id":185748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:00:14] local.INFO: Processing buffer {"connection_id":185748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:00:14] local.INFO: IMEI packet received {"connection_id":185748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":185748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:00:19] local.INFO: TCP Data received {"connection_id":185748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:00:19] local.INFO: Processing buffer {"connection_id":185748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:00:19] local.INFO: IMEI packet received {"connection_id":185748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":185748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:00:20] local.INFO: TCP Data received {"connection_id":185748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:00:20] local.INFO: Processing buffer {"connection_id":185748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:00:20] local.INFO: Packet analysis {"connection_id":185748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:00:20] local.INFO: Extracted packet for processing {"connection_id":185748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:00:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 22:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":185748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:00:20] local.INFO: GPS data processed {"connection_id":185748,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:00:20] local.INFO: Acknowledgment sent {"connection_id":185748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:00:51] local.INFO: TCP Data received {"connection_id":185748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:00:51] local.INFO: Processing buffer {"connection_id":185748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:00:51] local.INFO: Packet analysis {"connection_id":185748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:00:51] local.INFO: Extracted packet for processing {"connection_id":185748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:00:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 22:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":185748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:00:51] local.INFO: GPS data processed {"connection_id":185748,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:00:51] local.INFO: Acknowledgment sent {"connection_id":185748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:01:14] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:01:14] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:01:14] local.INFO: IMEI packet received {"connection_id":188375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":188375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:01:19] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:01:19] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:01:19] local.INFO: IMEI packet received {"connection_id":188375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":188375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:01:20] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:01:20] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:01:20] local.INFO: Packet analysis {"connection_id":188375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:01:20] local.INFO: Extracted packet for processing {"connection_id":188375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:01:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 22:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":188375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:01:20] local.INFO: GPS data processed {"connection_id":188375,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:01:20] local.INFO: Acknowledgment sent {"connection_id":188375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:01:53] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:01:53] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:01:53] local.INFO: Packet analysis {"connection_id":188375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:01:53] local.INFO: Extracted packet for processing {"connection_id":188375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:01:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 22:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":188375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:01:53] local.INFO: GPS data processed {"connection_id":188375,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:01:53] local.INFO: Acknowledgment sent {"connection_id":188375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:02:14] local.INFO: TCP Data received {"connection_id":185750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:02:14] local.INFO: Processing buffer {"connection_id":185750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:02:14] local.INFO: IMEI packet received {"connection_id":185750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":185750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:02:19] local.INFO: TCP Data received {"connection_id":185750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:02:19] local.INFO: Processing buffer {"connection_id":185750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:02:19] local.INFO: IMEI packet received {"connection_id":185750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":185750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:02:20] local.INFO: TCP Data received {"connection_id":185750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:02:20] local.INFO: Processing buffer {"connection_id":185750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:02:20] local.INFO: Packet analysis {"connection_id":185750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:02:20] local.INFO: Extracted packet for processing {"connection_id":185750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:02:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 22:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":185750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:02:20] local.INFO: GPS data processed {"connection_id":185750,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:02:20] local.INFO: Acknowledgment sent {"connection_id":185750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:02:51] local.INFO: TCP Data received {"connection_id":185750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:02:51] local.INFO: Processing buffer {"connection_id":185750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0319aa0012d34c14006aa4440000a011823..."} 
[2026-09-17 22:02:51] local.INFO: Packet analysis {"connection_id":185750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:02:51] local.INFO: Extracted packet for processing {"connection_id":185750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b031"} 
[2026-09-17 22:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153506560001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:02:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789662436000,"timestamp_ms":1789662436000,"timestamp_seconds":1789662436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0319aa0"} 
[2026-09-17 22:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153506560001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153506560001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153506560001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":185750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:02:51] local.INFO: GPS data processed {"connection_id":185750,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:02:51] local.INFO: Acknowledgment sent {"connection_id":185750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:03:14] local.INFO: TCP Data received {"connection_id":185591,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:03:14] local.INFO: Processing buffer {"connection_id":185591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:03:14] local.INFO: IMEI packet received {"connection_id":185591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":185591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:03:19] local.INFO: TCP Data received {"connection_id":185592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:03:19] local.INFO: Processing buffer {"connection_id":185592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:03:19] local.INFO: IMEI packet received {"connection_id":185592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":185592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:03:24] local.INFO: TCP Data received {"connection_id":185592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:03:24] local.INFO: Processing buffer {"connection_id":185592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:03:24] local.INFO: IMEI packet received {"connection_id":185592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":185592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:03:25] local.INFO: TCP Data received {"connection_id":185592,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:03:25] local.INFO: Processing buffer {"connection_id":185592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:03:25] local.INFO: Packet analysis {"connection_id":185592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:03:25] local.INFO: Extracted packet for processing {"connection_id":185592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153583616001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:03:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789662737000,"timestamp_ms":1789662737000,"timestamp_seconds":1789662737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0363268"} 
[2026-09-17 22:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153583616001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153583616001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153583616001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":185592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:03:25] local.INFO: GPS data processed {"connection_id":185592,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:03:25] local.INFO: Acknowledgment sent {"connection_id":185592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:03:30] local.INFO: TCP Data received {"connection_id":185592,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:03:30] local.INFO: Processing buffer {"connection_id":185592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:03:30] local.INFO: Packet analysis {"connection_id":185592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:03:30] local.INFO: Extracted packet for processing {"connection_id":185592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:03:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153583616001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:03:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789662737000,"timestamp_ms":1789662737000,"timestamp_seconds":1789662737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0363268"} 
[2026-09-17 22:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153583616001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153583616001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:03:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153583616001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":185592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:03:30] local.INFO: GPS data processed {"connection_id":185592,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:03:30] local.INFO: Acknowledgment sent {"connection_id":185592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:03:54] local.INFO: TCP Data received {"connection_id":185751,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:03:54] local.INFO: Processing buffer {"connection_id":185751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:03:54] local.INFO: IMEI packet received {"connection_id":185751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":185751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:04:44] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:04:44] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:04:44] local.INFO: IMEI packet received {"connection_id":187055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":187055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:04:49] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:04:49] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:04:49] local.INFO: IMEI packet received {"connection_id":187055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":187055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:04:50] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:04:50] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:04:50] local.INFO: Packet analysis {"connection_id":187055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:04:50] local.INFO: Extracted packet for processing {"connection_id":187055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153583616001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:04:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789662737000,"timestamp_ms":1789662737000,"timestamp_seconds":1789662737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0363268"} 
[2026-09-17 22:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153583616001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153583616001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153583616001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":187055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:04:50] local.INFO: GPS data processed {"connection_id":187055,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:04:50] local.INFO: Acknowledgment sent {"connection_id":187055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:05:14] local.INFO: TCP Data received {"connection_id":185593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:05:14] local.INFO: Processing buffer {"connection_id":185593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:05:14] local.INFO: IMEI packet received {"connection_id":185593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":185593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:05:20] local.INFO: TCP Data received {"connection_id":185593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:05:20] local.INFO: Processing buffer {"connection_id":185593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:05:20] local.INFO: IMEI packet received {"connection_id":185593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":185593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:05:21] local.INFO: TCP Data received {"connection_id":185593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:05:21] local.INFO: Processing buffer {"connection_id":185593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:05:21] local.INFO: Packet analysis {"connection_id":185593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:05:21] local.INFO: Extracted packet for processing {"connection_id":185593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153583616001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:05:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789662737000,"timestamp_ms":1789662737000,"timestamp_seconds":1789662737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0363268"} 
[2026-09-17 22:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153583616001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153583616001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153583616001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":185593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:05:21] local.INFO: GPS data processed {"connection_id":185593,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:05:21] local.INFO: Acknowledgment sent {"connection_id":185593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:05:52] local.INFO: TCP Data received {"connection_id":185593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:05:52] local.INFO: Processing buffer {"connection_id":185593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:05:52] local.INFO: Packet analysis {"connection_id":185593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:05:52] local.INFO: Extracted packet for processing {"connection_id":185593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153583616001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:05:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789662737000,"timestamp_ms":1789662737000,"timestamp_seconds":1789662737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0363268"} 
[2026-09-17 22:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153583616001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153583616001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153583616001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":185593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:05:52] local.INFO: GPS data processed {"connection_id":185593,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:05:52] local.INFO: Acknowledgment sent {"connection_id":185593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:06:19] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:06:19] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:06:19] local.INFO: IMEI packet received {"connection_id":187056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":187056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:06:24] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:06:24] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:06:24] local.INFO: IMEI packet received {"connection_id":187056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":187056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:06:25] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:06:25] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:06:25] local.INFO: Packet analysis {"connection_id":187056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:06:25] local.INFO: Extracted packet for processing {"connection_id":187056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153583616001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:06:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789662737000,"timestamp_ms":1789662737000,"timestamp_seconds":1789662737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0363268"} 
[2026-09-17 22:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153583616001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153583616001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153583616001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":187056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:06:25] local.INFO: GPS data processed {"connection_id":187056,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:06:25] local.INFO: Acknowledgment sent {"connection_id":187056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:06:29] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:06:29] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:06:29] local.INFO: Packet analysis {"connection_id":187056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:06:29] local.INFO: Extracted packet for processing {"connection_id":187056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:06:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153583616001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:06:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789662737000,"timestamp_ms":1789662737000,"timestamp_seconds":1789662737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0363268"} 
[2026-09-17 22:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153583616001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153583616001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:06:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153583616001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":187056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:06:29] local.INFO: GPS data processed {"connection_id":187056,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:06:29] local.INFO: Acknowledgment sent {"connection_id":187056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:07:14] local.INFO: TCP Data received {"connection_id":185595,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:07:14] local.INFO: Processing buffer {"connection_id":185595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:07:14] local.INFO: IMEI packet received {"connection_id":185595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":185595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:07:19] local.INFO: TCP Data received {"connection_id":185595,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:07:19] local.INFO: Processing buffer {"connection_id":185595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:07:19] local.INFO: IMEI packet received {"connection_id":185595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":185595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:07:20] local.INFO: TCP Data received {"connection_id":185595,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:07:20] local.INFO: Processing buffer {"connection_id":185595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:07:20] local.INFO: Packet analysis {"connection_id":185595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:07:20] local.INFO: Extracted packet for processing {"connection_id":185595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153583616001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:07:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789662737000,"timestamp_ms":1789662737000,"timestamp_seconds":1789662737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0363268"} 
[2026-09-17 22:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153583616001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153583616001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153583616001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":185595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:07:20] local.INFO: GPS data processed {"connection_id":185595,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:07:20] local.INFO: Acknowledgment sent {"connection_id":185595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:07:52] local.INFO: TCP Data received {"connection_id":185595,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:07:52] local.INFO: Processing buffer {"connection_id":185595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0363268012d34c14006aa4440000a011824..."} 
[2026-09-17 22:07:52] local.INFO: Packet analysis {"connection_id":185595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:07:52] local.INFO: Extracted packet for processing {"connection_id":185595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b036"} 
[2026-09-17 22:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153583616001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:07:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789662737000,"timestamp_ms":1789662737000,"timestamp_seconds":1789662737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0363268"} 
[2026-09-17 22:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153583616001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153583616001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153583616001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":185595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:07:52] local.INFO: GPS data processed {"connection_id":185595,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:07:52] local.INFO: Acknowledgment sent {"connection_id":185595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:08:14] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:08:14] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:08:14] local.INFO: IMEI packet received {"connection_id":188378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":188378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:08:19] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:08:19] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:08:19] local.INFO: IMEI packet received {"connection_id":188378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":188378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:08:21] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:08:21] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:08:21] local.INFO: Packet analysis {"connection_id":188378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:08:21] local.INFO: Extracted packet for processing {"connection_id":188378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153660672001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:08:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789663038000,"timestamp_ms":1789663038000,"timestamp_seconds":1789663038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03aca30"} 
[2026-09-17 22:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153660672001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153660672001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153660672001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":188378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:08:21] local.INFO: GPS data processed {"connection_id":188378,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:08:21] local.INFO: Acknowledgment sent {"connection_id":188378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:08:52] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:08:52] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:08:52] local.INFO: Packet analysis {"connection_id":188378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:08:52] local.INFO: Extracted packet for processing {"connection_id":188378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153660672001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:08:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789663038000,"timestamp_ms":1789663038000,"timestamp_seconds":1789663038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03aca30"} 
[2026-09-17 22:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153660672001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153660672001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153660672001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":188378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:08:52] local.INFO: GPS data processed {"connection_id":188378,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:08:52] local.INFO: Acknowledgment sent {"connection_id":188378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:09:19] local.INFO: TCP Data received {"connection_id":187058,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:09:19] local.INFO: Processing buffer {"connection_id":187058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:09:19] local.INFO: IMEI packet received {"connection_id":187058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":187058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:09:19] local.INFO: TCP Data received {"connection_id":187057,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:09:19] local.INFO: Processing buffer {"connection_id":187057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:09:19] local.INFO: IMEI packet received {"connection_id":187057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":187057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:09:24] local.INFO: TCP Data received {"connection_id":187058,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:09:24] local.INFO: Processing buffer {"connection_id":187058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:09:24] local.INFO: IMEI packet received {"connection_id":187058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":187058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:09:25] local.INFO: TCP Data received {"connection_id":187058,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:09:25] local.INFO: Processing buffer {"connection_id":187058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:09:25] local.INFO: Packet analysis {"connection_id":187058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:09:25] local.INFO: Extracted packet for processing {"connection_id":187058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:09:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153660672001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:09:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789663038000,"timestamp_ms":1789663038000,"timestamp_seconds":1789663038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03aca30"} 
[2026-09-17 22:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153660672001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153660672001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153660672001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":187058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:09:25] local.INFO: GPS data processed {"connection_id":187058,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:09:25] local.INFO: Acknowledgment sent {"connection_id":187058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:09:29] local.INFO: TCP Data received {"connection_id":187058,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:09:29] local.INFO: Processing buffer {"connection_id":187058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:09:29] local.INFO: Packet analysis {"connection_id":187058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:09:29] local.INFO: Extracted packet for processing {"connection_id":187058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:09:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153660672001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:09:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789663038000,"timestamp_ms":1789663038000,"timestamp_seconds":1789663038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03aca30"} 
[2026-09-17 22:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153660672001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153660672001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:09:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153660672001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":187058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:09:29] local.INFO: GPS data processed {"connection_id":187058,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:09:29] local.INFO: Acknowledgment sent {"connection_id":187058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:09:48] local.INFO: TCP Data received {"connection_id":185753,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:09:48] local.INFO: Processing buffer {"connection_id":185753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:09:48] local.INFO: IMEI packet received {"connection_id":185753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":185753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:10:14] local.INFO: TCP Data received {"connection_id":185596,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:10:14] local.INFO: Processing buffer {"connection_id":185596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:10:14] local.INFO: IMEI packet received {"connection_id":185596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":185596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:10:19] local.INFO: TCP Data received {"connection_id":185596,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:10:19] local.INFO: Processing buffer {"connection_id":185596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:10:19] local.INFO: IMEI packet received {"connection_id":185596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":185596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:10:32] local.INFO: TCP Data received {"connection_id":185596,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:10:32] local.INFO: Processing buffer {"connection_id":185596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:10:32] local.INFO: Packet analysis {"connection_id":185596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:10:32] local.INFO: Extracted packet for processing {"connection_id":185596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153660672001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:10:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789663038000,"timestamp_ms":1789663038000,"timestamp_seconds":1789663038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03aca30"} 
[2026-09-17 22:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153660672001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153660672001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153660672001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":185596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:10:32] local.INFO: GPS data processed {"connection_id":185596,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:10:32] local.INFO: Acknowledgment sent {"connection_id":185596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:11:14] local.INFO: TCP Data received {"connection_id":185755,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:11:14] local.INFO: Processing buffer {"connection_id":185755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:11:14] local.INFO: IMEI packet received {"connection_id":185755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":185755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:11:19] local.INFO: TCP Data received {"connection_id":185755,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:11:19] local.INFO: Processing buffer {"connection_id":185755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:11:19] local.INFO: IMEI packet received {"connection_id":185755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":185755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:11:20] local.INFO: TCP Data received {"connection_id":185755,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:11:20] local.INFO: Processing buffer {"connection_id":185755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:11:20] local.INFO: Packet analysis {"connection_id":185755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:11:20] local.INFO: Extracted packet for processing {"connection_id":185755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153660672001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:11:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789663038000,"timestamp_ms":1789663038000,"timestamp_seconds":1789663038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03aca30"} 
[2026-09-17 22:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153660672001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153660672001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153660672001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":185755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:11:20] local.INFO: GPS data processed {"connection_id":185755,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:11:20] local.INFO: Acknowledgment sent {"connection_id":185755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:11:52] local.INFO: TCP Data received {"connection_id":185755,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:11:52] local.INFO: Processing buffer {"connection_id":185755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:11:52] local.INFO: Packet analysis {"connection_id":185755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:11:52] local.INFO: Extracted packet for processing {"connection_id":185755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153660672001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:11:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789663038000,"timestamp_ms":1789663038000,"timestamp_seconds":1789663038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03aca30"} 
[2026-09-17 22:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153660672001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153660672001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153660672001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":185755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:11:52] local.INFO: GPS data processed {"connection_id":185755,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:11:52] local.INFO: Acknowledgment sent {"connection_id":185755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:12:14] local.INFO: TCP Data received {"connection_id":185597,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:12:14] local.INFO: Processing buffer {"connection_id":185597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:12:14] local.INFO: IMEI packet received {"connection_id":185597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":185597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:12:19] local.INFO: TCP Data received {"connection_id":185597,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:12:19] local.INFO: Processing buffer {"connection_id":185597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:12:19] local.INFO: IMEI packet received {"connection_id":185597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":185597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:12:20] local.INFO: TCP Data received {"connection_id":185597,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:12:20] local.INFO: Processing buffer {"connection_id":185597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:12:20] local.INFO: Packet analysis {"connection_id":185597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:12:20] local.INFO: Extracted packet for processing {"connection_id":185597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153660672001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:12:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789663038000,"timestamp_ms":1789663038000,"timestamp_seconds":1789663038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03aca30"} 
[2026-09-17 22:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153660672001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153660672001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153660672001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":185597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:12:20] local.INFO: GPS data processed {"connection_id":185597,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:12:20] local.INFO: Acknowledgment sent {"connection_id":185597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:12:52] local.INFO: TCP Data received {"connection_id":185597,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:12:52] local.INFO: Processing buffer {"connection_id":185597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03aca30012d34c14006aa4440000a011827..."} 
[2026-09-17 22:12:52] local.INFO: Packet analysis {"connection_id":185597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:12:52] local.INFO: Extracted packet for processing {"connection_id":185597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03a"} 
[2026-09-17 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153660672001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:12:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789663038000,"timestamp_ms":1789663038000,"timestamp_seconds":1789663038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03aca30"} 
[2026-09-17 22:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153660672001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153660672001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153660672001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":185597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:12:52] local.INFO: GPS data processed {"connection_id":185597,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:12:52] local.INFO: Acknowledgment sent {"connection_id":185597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:13:19] local.INFO: TCP Data received {"connection_id":185756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:13:19] local.INFO: Processing buffer {"connection_id":185756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:13:19] local.INFO: IMEI packet received {"connection_id":185756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":185756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:13:24] local.INFO: TCP Data received {"connection_id":185756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:13:24] local.INFO: Processing buffer {"connection_id":185756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:13:24] local.INFO: IMEI packet received {"connection_id":185756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":185756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:13:25] local.INFO: TCP Data received {"connection_id":185756,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:13:25] local.INFO: Processing buffer {"connection_id":185756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:13:25] local.INFO: Packet analysis {"connection_id":185756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:13:25] local.INFO: Extracted packet for processing {"connection_id":185756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:13:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":185756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:13:25] local.INFO: GPS data processed {"connection_id":185756,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:13:25] local.INFO: Acknowledgment sent {"connection_id":185756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:13:30] local.INFO: TCP Data received {"connection_id":185756,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:13:30] local.INFO: Processing buffer {"connection_id":185756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:13:30] local.INFO: Packet analysis {"connection_id":185756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:13:30] local.INFO: Extracted packet for processing {"connection_id":185756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:13:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:13:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":185756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":185756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":185756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:13:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":185756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:13:30] local.INFO: GPS data processed {"connection_id":185756,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:13:30] local.INFO: Acknowledgment sent {"connection_id":185756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:14:47] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:14:47] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:14:47] local.INFO: IMEI packet received {"connection_id":188380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":188380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:14:49] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:14:49] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:14:49] local.INFO: IMEI packet received {"connection_id":188380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":188380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:14:50] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:14:50] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:14:50] local.INFO: Packet analysis {"connection_id":188380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:14:50] local.INFO: Extracted packet for processing {"connection_id":188380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:14:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":188380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:14:50] local.INFO: GPS data processed {"connection_id":188380,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:14:50] local.INFO: Acknowledgment sent {"connection_id":188380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:14:55] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:14:55] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:14:55] local.INFO: Packet analysis {"connection_id":188380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:14:55] local.INFO: Extracted packet for processing {"connection_id":188380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:14:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":188380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:14:55] local.INFO: GPS data processed {"connection_id":188380,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:14:55] local.INFO: Acknowledgment sent {"connection_id":188380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:15:09] local.INFO: TCP Data received {"connection_id":185757,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:15:09] local.INFO: Processing buffer {"connection_id":185757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:15:09] local.INFO: IMEI packet received {"connection_id":185757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":185757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:15:09] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:15:09] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:15:09] local.INFO: IMEI packet received {"connection_id":187062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":187062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:15:16] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:15:16] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:15:16] local.INFO: IMEI packet received {"connection_id":187062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":187062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:15:19] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:15:19] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:15:19] local.INFO: IMEI packet received {"connection_id":187062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":187062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:15:20] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:15:20] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:15:20] local.INFO: Packet analysis {"connection_id":187062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:15:20] local.INFO: Extracted packet for processing {"connection_id":187062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":187062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:15:20] local.INFO: GPS data processed {"connection_id":187062,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:15:20] local.INFO: Acknowledgment sent {"connection_id":187062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:15:52] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:15:52] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:15:52] local.INFO: Packet analysis {"connection_id":187062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:15:52] local.INFO: Extracted packet for processing {"connection_id":187062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:15:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":187062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:15:52] local.INFO: GPS data processed {"connection_id":187062,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:15:52] local.INFO: Acknowledgment sent {"connection_id":187062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:15:54] local.INFO: TCP Data received {"connection_id":185758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:15:54] local.INFO: Processing buffer {"connection_id":185758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:15:54] local.INFO: IMEI packet received {"connection_id":185758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":185758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:16:14] local.INFO: TCP Data received {"connection_id":185598,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:16:14] local.INFO: Processing buffer {"connection_id":185598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:16:14] local.INFO: IMEI packet received {"connection_id":185598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":185598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:16:19] local.INFO: TCP Data received {"connection_id":185598,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:16:19] local.INFO: Processing buffer {"connection_id":185598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:16:19] local.INFO: IMEI packet received {"connection_id":185598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":185598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:16:20] local.INFO: TCP Data received {"connection_id":185598,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:16:20] local.INFO: Processing buffer {"connection_id":185598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:16:20] local.INFO: Packet analysis {"connection_id":185598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:16:20] local.INFO: Extracted packet for processing {"connection_id":185598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:16:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":185598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:16:20] local.INFO: GPS data processed {"connection_id":185598,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:16:20] local.INFO: Acknowledgment sent {"connection_id":185598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:16:51] local.INFO: TCP Data received {"connection_id":185598,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:16:51] local.INFO: Processing buffer {"connection_id":185598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:16:51] local.INFO: Packet analysis {"connection_id":185598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:16:51] local.INFO: Extracted packet for processing {"connection_id":185598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":185598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:16:51] local.INFO: GPS data processed {"connection_id":185598,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:16:51] local.INFO: Acknowledgment sent {"connection_id":185598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:17:14] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:17:14] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:17:14] local.INFO: IMEI packet received {"connection_id":187063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":187063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:17:19] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:17:19] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:17:19] local.INFO: IMEI packet received {"connection_id":187063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":187063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:17:21] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:17:21] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:17:21] local.INFO: Packet analysis {"connection_id":187063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:17:21] local.INFO: Extracted packet for processing {"connection_id":187063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:17:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":187063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:17:21] local.INFO: GPS data processed {"connection_id":187063,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:17:21] local.INFO: Acknowledgment sent {"connection_id":187063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:17:53] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:17:53] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b03f61f8012d34c14006aa4440000a011827..."} 
[2026-09-17 22:17:53] local.INFO: Packet analysis {"connection_id":187063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:17:53] local.INFO: Extracted packet for processing {"connection_id":187063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b03f"} 
[2026-09-17 22:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153737728001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:17:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789663339000,"timestamp_ms":1789663339000,"timestamp_seconds":1789663339,"priority":1,"record_length":96,"hex_timestamp":"000001a0b03f61f8"} 
[2026-09-17 22:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153737728001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153737728001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153737728001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":187063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:17:53] local.INFO: GPS data processed {"connection_id":187063,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:17:53] local.INFO: Acknowledgment sent {"connection_id":187063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:18:19] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:18:19] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:18:19] local.INFO: IMEI packet received {"connection_id":187064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":187064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:18:24] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:18:24] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:18:24] local.INFO: IMEI packet received {"connection_id":187064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":187064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:18:25] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:18:25] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:18:25] local.INFO: Packet analysis {"connection_id":187064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:18:25] local.INFO: Extracted packet for processing {"connection_id":187064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:18:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":187064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:18:25] local.INFO: GPS data processed {"connection_id":187064,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:18:25] local.INFO: Acknowledgment sent {"connection_id":187064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:18:30] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:18:30] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:18:30] local.INFO: Packet analysis {"connection_id":187064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:18:30] local.INFO: Extracted packet for processing {"connection_id":187064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:18:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:18:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":187064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:18:30] local.INFO: GPS data processed {"connection_id":187064,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:18:30] local.INFO: Acknowledgment sent {"connection_id":187064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:19:14] local.INFO: TCP Data received {"connection_id":187065,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:19:14] local.INFO: Processing buffer {"connection_id":187065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:19:14] local.INFO: IMEI packet received {"connection_id":187065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":187065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:19:19] local.INFO: TCP Data received {"connection_id":187065,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:19:19] local.INFO: Processing buffer {"connection_id":187065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:19:19] local.INFO: IMEI packet received {"connection_id":187065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":187065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:19:20] local.INFO: TCP Data received {"connection_id":187065,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:19:20] local.INFO: Processing buffer {"connection_id":187065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:19:20] local.INFO: Packet analysis {"connection_id":187065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:19:20] local.INFO: Extracted packet for processing {"connection_id":187065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:19:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":187065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:19:20] local.INFO: GPS data processed {"connection_id":187065,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:19:20] local.INFO: Acknowledgment sent {"connection_id":187065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:19:51] local.INFO: TCP Data received {"connection_id":187065,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:19:51] local.INFO: Processing buffer {"connection_id":187065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:19:51] local.INFO: Packet analysis {"connection_id":187065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:19:51] local.INFO: Extracted packet for processing {"connection_id":187065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:19:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":187065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:19:51] local.INFO: GPS data processed {"connection_id":187065,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:19:51] local.INFO: Acknowledgment sent {"connection_id":187065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:20:16] local.INFO: TCP Data received {"connection_id":187067,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:20:16] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:20:16] local.INFO: IMEI packet received {"connection_id":187067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":187067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:20:20] local.INFO: TCP Data received {"connection_id":187067,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:20:20] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:20:20] local.INFO: IMEI packet received {"connection_id":187067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":187067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:20:21] local.INFO: TCP Data received {"connection_id":187067,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:20:21] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:20:21] local.INFO: Packet analysis {"connection_id":187067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:20:21] local.INFO: Extracted packet for processing {"connection_id":187067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:20:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":187067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:20:21] local.INFO: GPS data processed {"connection_id":187067,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:20:21] local.INFO: Acknowledgment sent {"connection_id":187067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:20:25] local.INFO: TCP Data received {"connection_id":187067,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:20:25] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:20:25] local.INFO: Packet analysis {"connection_id":187067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:20:25] local.INFO: Extracted packet for processing {"connection_id":187067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:20:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":187067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:20:25] local.INFO: GPS data processed {"connection_id":187067,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:20:25] local.INFO: Acknowledgment sent {"connection_id":187067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:20:56] local.INFO: TCP Data received {"connection_id":187067,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:20:56] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:20:56] local.INFO: Packet analysis {"connection_id":187067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:20:56] local.INFO: Extracted packet for processing {"connection_id":187067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:20:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:20:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:20:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":187067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:20:56] local.INFO: GPS data processed {"connection_id":187067,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:20:56] local.INFO: Acknowledgment sent {"connection_id":187067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:21:09] local.INFO: TCP Data received {"connection_id":185599,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:21:09] local.INFO: Processing buffer {"connection_id":185599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:21:09] local.INFO: IMEI packet received {"connection_id":185599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":185599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:21:14] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:21:14] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:21:14] local.INFO: IMEI packet received {"connection_id":188384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":188384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:21:19] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:21:19] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:21:19] local.INFO: IMEI packet received {"connection_id":188384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":188384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:21:20] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:21:20] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:21:20] local.INFO: Packet analysis {"connection_id":188384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:21:20] local.INFO: Extracted packet for processing {"connection_id":188384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:21:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":188384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:21:20] local.INFO: GPS data processed {"connection_id":188384,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:21:20] local.INFO: Acknowledgment sent {"connection_id":188384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:21:49] local.INFO: TCP Data received {"connection_id":185759,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:21:49] local.INFO: Processing buffer {"connection_id":185759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:21:49] local.INFO: IMEI packet received {"connection_id":185759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":185759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:21:51] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:21:51] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:21:51] local.INFO: Packet analysis {"connection_id":188384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:21:51] local.INFO: Extracted packet for processing {"connection_id":188384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:21:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":188384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:21:51] local.INFO: GPS data processed {"connection_id":188384,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:21:51] local.INFO: Acknowledgment sent {"connection_id":188384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:22:19] local.INFO: TCP Data received {"connection_id":185600,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:22:19] local.INFO: Processing buffer {"connection_id":185600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:22:19] local.INFO: IMEI packet received {"connection_id":185600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":185600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:22:24] local.INFO: TCP Data received {"connection_id":185600,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:22:24] local.INFO: Processing buffer {"connection_id":185600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:22:24] local.INFO: IMEI packet received {"connection_id":185600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":185600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:22:25] local.INFO: TCP Data received {"connection_id":185600,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:22:25] local.INFO: Processing buffer {"connection_id":185600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:22:25] local.INFO: Packet analysis {"connection_id":185600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:22:25] local.INFO: Extracted packet for processing {"connection_id":185600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:22:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:22:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:22:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":185600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:22:25] local.INFO: GPS data processed {"connection_id":185600,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:22:25] local.INFO: Acknowledgment sent {"connection_id":185600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:22:56] local.INFO: TCP Data received {"connection_id":185600,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:22:56] local.INFO: Processing buffer {"connection_id":185600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b043f9c0012d34c14006aa4440000a011827..."} 
[2026-09-17 22:22:56] local.INFO: Packet analysis {"connection_id":185600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:22:56] local.INFO: Extracted packet for processing {"connection_id":185600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b043"} 
[2026-09-17 22:22:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153814784001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:22:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789663640000,"timestamp_ms":1789663640000,"timestamp_seconds":1789663640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b043f9c0"} 
[2026-09-17 22:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153814784001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153814784001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:22:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153814784001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":185600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:22:56] local.INFO: GPS data processed {"connection_id":185600,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:22:56] local.INFO: Acknowledgment sent {"connection_id":185600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:23:14] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:23:14] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:23:14] local.INFO: IMEI packet received {"connection_id":188385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":188385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:23:19] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:23:19] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:23:19] local.INFO: IMEI packet received {"connection_id":188385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":188385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:23:20] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:23:20] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:23:20] local.INFO: Packet analysis {"connection_id":188385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:23:20] local.INFO: Extracted packet for processing {"connection_id":188385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:23:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":188385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:23:20] local.INFO: GPS data processed {"connection_id":188385,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:23:20] local.INFO: Acknowledgment sent {"connection_id":188385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:23:51] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:23:51] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:23:51] local.INFO: Packet analysis {"connection_id":188385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:23:51] local.INFO: Extracted packet for processing {"connection_id":188385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:23:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":188385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:23:51] local.INFO: GPS data processed {"connection_id":188385,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:23:51] local.INFO: Acknowledgment sent {"connection_id":188385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:24:19] local.INFO: TCP Data received {"connection_id":187068,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:24:19] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:24:19] local.INFO: IMEI packet received {"connection_id":187068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":187068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:24:25] local.INFO: TCP Data received {"connection_id":187068,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:24:25] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:24:25] local.INFO: IMEI packet received {"connection_id":187068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":187068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:24:26] local.INFO: TCP Data received {"connection_id":187068,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:24:26] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:24:26] local.INFO: Packet analysis {"connection_id":187068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:24:26] local.INFO: Extracted packet for processing {"connection_id":187068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:24:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:24:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":187068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:24:26] local.INFO: GPS data processed {"connection_id":187068,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:24:26] local.INFO: Acknowledgment sent {"connection_id":187068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:24:34] local.INFO: TCP Data received {"connection_id":187068,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:24:34] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:24:34] local.INFO: Packet analysis {"connection_id":187068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:24:34] local.INFO: Extracted packet for processing {"connection_id":187068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:24:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":187068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":187068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":187068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":187068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:24:34] local.INFO: GPS data processed {"connection_id":187068,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:24:34] local.INFO: Acknowledgment sent {"connection_id":187068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:25:14] local.INFO: TCP Data received {"connection_id":188386,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:25:14] local.INFO: Processing buffer {"connection_id":188386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:25:14] local.INFO: IMEI packet received {"connection_id":188386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:25:19] local.INFO: TCP Data received {"connection_id":188386,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:25:19] local.INFO: Processing buffer {"connection_id":188386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:25:19] local.INFO: IMEI packet received {"connection_id":188386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":188386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:25:20] local.INFO: TCP Data received {"connection_id":188386,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:25:20] local.INFO: Processing buffer {"connection_id":188386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:25:20] local.INFO: Packet analysis {"connection_id":188386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:25:20] local.INFO: Extracted packet for processing {"connection_id":188386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:25:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":188386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:25:20] local.INFO: GPS data processed {"connection_id":188386,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:25:20] local.INFO: Acknowledgment sent {"connection_id":188386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:25:51] local.INFO: TCP Data received {"connection_id":188386,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:25:51] local.INFO: Processing buffer {"connection_id":188386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:25:51] local.INFO: Packet analysis {"connection_id":188386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:25:51] local.INFO: Extracted packet for processing {"connection_id":188386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:25:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":188386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:25:51] local.INFO: GPS data processed {"connection_id":188386,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:25:51] local.INFO: Acknowledgment sent {"connection_id":188386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:26:14] local.INFO: TCP Data received {"connection_id":185760,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:26:14] local.INFO: Processing buffer {"connection_id":185760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:26:14] local.INFO: IMEI packet received {"connection_id":185760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":185760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:26:19] local.INFO: TCP Data received {"connection_id":185760,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:26:19] local.INFO: Processing buffer {"connection_id":185760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:26:19] local.INFO: IMEI packet received {"connection_id":185760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":185760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:26:22] local.INFO: TCP Data received {"connection_id":185760,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:26:22] local.INFO: Processing buffer {"connection_id":185760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:26:22] local.INFO: Packet analysis {"connection_id":185760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:26:22] local.INFO: Extracted packet for processing {"connection_id":185760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:26:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:26:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:26:22] 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-09-17 22:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":185760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:26:22] local.INFO: GPS data processed {"connection_id":185760,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:26:22] local.INFO: Acknowledgment sent {"connection_id":185760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:26:53] local.INFO: TCP Data received {"connection_id":185760,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:26:53] local.INFO: Processing buffer {"connection_id":185760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:26:53] local.INFO: Packet analysis {"connection_id":185760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:26:53] local.INFO: Extracted packet for processing {"connection_id":185760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:26:53] 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-09-17 22:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":185760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:26:53] local.INFO: GPS data processed {"connection_id":185760,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:26:53] local.INFO: Acknowledgment sent {"connection_id":185760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:27:14] local.INFO: TCP Data received {"connection_id":185761,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:27:14] local.INFO: Processing buffer {"connection_id":185761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:27:14] local.INFO: IMEI packet received {"connection_id":185761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":185761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:27:19] local.INFO: TCP Data received {"connection_id":185761,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:27:19] local.INFO: Processing buffer {"connection_id":185761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:27:19] local.INFO: IMEI packet received {"connection_id":185761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":185761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:27:20] local.INFO: TCP Data received {"connection_id":185761,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:27:20] local.INFO: Processing buffer {"connection_id":185761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:27:20] local.INFO: Packet analysis {"connection_id":185761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:27:20] local.INFO: Extracted packet for processing {"connection_id":185761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:27:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:27:20] 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-09-17 22:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":185761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:27:20] local.INFO: GPS data processed {"connection_id":185761,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:27:20] local.INFO: Acknowledgment sent {"connection_id":185761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:27:49] local.INFO: TCP Data received {"connection_id":185602,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:27:49] local.INFO: Processing buffer {"connection_id":185602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:27:49] local.INFO: IMEI packet received {"connection_id":185602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":185602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:27:51] local.INFO: TCP Data received {"connection_id":185761,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:27:51] local.INFO: Processing buffer {"connection_id":185761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0489188012d34c14006aa4440000a011827..."} 
[2026-09-17 22:27:51] local.INFO: Packet analysis {"connection_id":185761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:27:51] local.INFO: Extracted packet for processing {"connection_id":185761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b048"} 
[2026-09-17 22:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153891840001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:27:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789663941000,"timestamp_ms":1789663941000,"timestamp_seconds":1789663941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0489188"} 
[2026-09-17 22:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:27:51] 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-09-17 22:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153891840001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153891840001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153891840001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":185761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:27:51] local.INFO: GPS data processed {"connection_id":185761,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:27:51] local.INFO: Acknowledgment sent {"connection_id":185761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:28:14] local.INFO: TCP Data received {"connection_id":185603,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:28:14] local.INFO: Processing buffer {"connection_id":185603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:28:14] local.INFO: IMEI packet received {"connection_id":185603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":185603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:28:19] local.INFO: TCP Data received {"connection_id":185603,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:28:19] local.INFO: Processing buffer {"connection_id":185603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:28:19] local.INFO: IMEI packet received {"connection_id":185603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":185603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:28:20] local.INFO: TCP Data received {"connection_id":185603,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:28:20] local.INFO: Processing buffer {"connection_id":185603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:28:20] local.INFO: Packet analysis {"connection_id":185603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:28:20] local.INFO: Extracted packet for processing {"connection_id":185603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:28:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:28:20] 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-09-17 22:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":185603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:28:20] local.INFO: GPS data processed {"connection_id":185603,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:28:20] local.INFO: Acknowledgment sent {"connection_id":185603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:28:51] local.INFO: TCP Data received {"connection_id":185603,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:28:51] local.INFO: Processing buffer {"connection_id":185603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:28:51] local.INFO: Packet analysis {"connection_id":185603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:28:51] local.INFO: Extracted packet for processing {"connection_id":185603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:28:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:28:51] 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-09-17 22:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":185603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:28:52] local.INFO: GPS data processed {"connection_id":185603,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:28:52] local.INFO: Acknowledgment sent {"connection_id":185603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:29:14] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:29:14] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:29:14] local.INFO: IMEI packet received {"connection_id":185762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":185762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:29:19] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:29:19] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:29:19] local.INFO: IMEI packet received {"connection_id":185762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":185762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:29:20] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:29:21] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:29:21] local.INFO: Packet analysis {"connection_id":185762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:29:21] local.INFO: Extracted packet for processing {"connection_id":185762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:29:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":185762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":185762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":185762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:29:21] 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-09-17 22:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":185762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:29:21] local.INFO: GPS data processed {"connection_id":185762,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:29:21] local.INFO: Acknowledgment sent {"connection_id":185762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:29:52] local.INFO: TCP Data received {"connection_id":185762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:29:52] local.INFO: Processing buffer {"connection_id":185762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:29:52] local.INFO: Packet analysis {"connection_id":185762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:29:52] local.INFO: Extracted packet for processing {"connection_id":185762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:29:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:29:52] 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-09-17 22:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":185762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:29:52] local.INFO: GPS data processed {"connection_id":185762,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:29:52] local.INFO: Acknowledgment sent {"connection_id":185762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:30:14] local.INFO: TCP Data received {"connection_id":188387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:30:14] local.INFO: Processing buffer {"connection_id":188387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:30:14] local.INFO: IMEI packet received {"connection_id":188387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":188387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:30:19] local.INFO: TCP Data received {"connection_id":188387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:30:19] local.INFO: Processing buffer {"connection_id":188387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:30:19] local.INFO: IMEI packet received {"connection_id":188387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":188387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:30:20] local.INFO: TCP Data received {"connection_id":188387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:30:20] local.INFO: Processing buffer {"connection_id":188387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:30:20] local.INFO: Packet analysis {"connection_id":188387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:30:20] local.INFO: Extracted packet for processing {"connection_id":188387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:30:20] 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-09-17 22:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":188387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:30:20] local.INFO: GPS data processed {"connection_id":188387,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:30:20] local.INFO: Acknowledgment sent {"connection_id":188387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:30:54] local.INFO: TCP Data received {"connection_id":188387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:30:54] local.INFO: Processing buffer {"connection_id":188387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:30:54] local.INFO: Packet analysis {"connection_id":188387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:30:54] local.INFO: Extracted packet for processing {"connection_id":188387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:30:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:30:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:30:54] 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-09-17 22:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:30:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":188387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:30:54] local.INFO: GPS data processed {"connection_id":188387,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:30:54] local.INFO: Acknowledgment sent {"connection_id":188387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:31:14] local.INFO: TCP Data received {"connection_id":185763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:31:14] local.INFO: Processing buffer {"connection_id":185763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:31:14] local.INFO: IMEI packet received {"connection_id":185763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":185763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:31:19] local.INFO: TCP Data received {"connection_id":185763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:31:19] local.INFO: Processing buffer {"connection_id":185763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:31:19] local.INFO: IMEI packet received {"connection_id":185763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":185763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:31:20] local.INFO: TCP Data received {"connection_id":185763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:31:20] local.INFO: Processing buffer {"connection_id":185763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:31:20] local.INFO: Packet analysis {"connection_id":185763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:31:20] local.INFO: Extracted packet for processing {"connection_id":185763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:31:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:31:20] 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-09-17 22:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":185763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:31:20] local.INFO: GPS data processed {"connection_id":185763,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:31:20] local.INFO: Acknowledgment sent {"connection_id":185763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:31:53] local.INFO: TCP Data received {"connection_id":185763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:31:53] local.INFO: Processing buffer {"connection_id":185763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:31:53] local.INFO: Packet analysis {"connection_id":185763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:31:53] local.INFO: Extracted packet for processing {"connection_id":185763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:31:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:31:53] 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-09-17 22:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":185763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:31:53] local.INFO: GPS data processed {"connection_id":185763,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:31:53] local.INFO: Acknowledgment sent {"connection_id":185763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:32:14] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:32:14] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:32:14] local.INFO: IMEI packet received {"connection_id":188388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":188388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:32:19] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:32:19] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:32:19] local.INFO: IMEI packet received {"connection_id":188388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":188388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:32:20] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:32:20] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:32:20] local.INFO: Packet analysis {"connection_id":188388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:32:20] local.INFO: Extracted packet for processing {"connection_id":188388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:32:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:32:20] 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-09-17 22:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":188388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:32:20] local.INFO: GPS data processed {"connection_id":188388,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:32:20] local.INFO: Acknowledgment sent {"connection_id":188388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:32:52] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:32:52] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b04d2950012d34c14006aa4440000a011827..."} 
[2026-09-17 22:32:52] local.INFO: Packet analysis {"connection_id":188388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:32:52] local.INFO: Extracted packet for processing {"connection_id":188388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b04d"} 
[2026-09-17 22:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458153968896001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:32:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789664242000,"timestamp_ms":1789664242000,"timestamp_seconds":1789664242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b04d2950"} 
[2026-09-17 22:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:32:52] 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-09-17 22:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458153968896001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458153968896001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458153968896001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":188388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:32:52] local.INFO: GPS data processed {"connection_id":188388,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:32:52] local.INFO: Acknowledgment sent {"connection_id":188388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:33:14] local.INFO: TCP Data received {"connection_id":185606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:33:14] local.INFO: Processing buffer {"connection_id":185606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:33:14] local.INFO: IMEI packet received {"connection_id":185606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":185606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:33:19] local.INFO: TCP Data received {"connection_id":185764,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:33:19] local.INFO: Processing buffer {"connection_id":185764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:33:19] local.INFO: IMEI packet received {"connection_id":185764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":185764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:33:26] local.INFO: TCP Data received {"connection_id":185764,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:33:26] local.INFO: Processing buffer {"connection_id":185764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:33:26] local.INFO: IMEI packet received {"connection_id":185764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":185764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:33:27] local.INFO: TCP Data received {"connection_id":185764,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:33:27] local.INFO: Processing buffer {"connection_id":185764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:33:27] local.INFO: Packet analysis {"connection_id":185764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:33:27] local.INFO: Extracted packet for processing {"connection_id":185764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:33:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":185764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":185764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":185764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:33:27] 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-09-17 22:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:33:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":185764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:33:27] local.INFO: GPS data processed {"connection_id":185764,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:33:27] local.INFO: Acknowledgment sent {"connection_id":185764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:33:29] local.INFO: TCP Data received {"connection_id":185764,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:33:29] local.INFO: Processing buffer {"connection_id":185764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:33:29] local.INFO: Packet analysis {"connection_id":185764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:33:29] local.INFO: Extracted packet for processing {"connection_id":185764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:33:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:33:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:33:29] 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-09-17 22:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:33:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":185764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:33:29] local.INFO: GPS data processed {"connection_id":185764,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:33:29] local.INFO: Acknowledgment sent {"connection_id":185764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:33:49] local.INFO: TCP Data received {"connection_id":185765,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:33:49] local.INFO: Processing buffer {"connection_id":185765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:33:49] local.INFO: IMEI packet received {"connection_id":185765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":185765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:34:14] local.INFO: TCP Data received {"connection_id":188389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:34:14] local.INFO: Processing buffer {"connection_id":188389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:34:14] local.INFO: IMEI packet received {"connection_id":188389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:34:19] local.INFO: TCP Data received {"connection_id":188389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:34:19] local.INFO: Processing buffer {"connection_id":188389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:34:19] local.INFO: IMEI packet received {"connection_id":188389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":188389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:34:21] local.INFO: TCP Data received {"connection_id":188389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:34:21] local.INFO: Processing buffer {"connection_id":188389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:34:21] local.INFO: Packet analysis {"connection_id":188389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:34:21] local.INFO: Extracted packet for processing {"connection_id":188389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:34:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:34:21] 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-09-17 22:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":188389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:34:21] local.INFO: GPS data processed {"connection_id":188389,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:34:21] local.INFO: Acknowledgment sent {"connection_id":188389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:34:52] local.INFO: TCP Data received {"connection_id":188389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:34:52] local.INFO: Processing buffer {"connection_id":188389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:34:52] local.INFO: Packet analysis {"connection_id":188389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:34:52] local.INFO: Extracted packet for processing {"connection_id":188389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:34:52] 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-09-17 22:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":188389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:34:52] local.INFO: GPS data processed {"connection_id":188389,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:34:52] local.INFO: Acknowledgment sent {"connection_id":188389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:35:14] local.INFO: TCP Data received {"connection_id":187071,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:35:14] local.INFO: Processing buffer {"connection_id":187071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:35:14] local.INFO: IMEI packet received {"connection_id":187071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":187071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:35:19] local.INFO: TCP Data received {"connection_id":187071,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:35:19] local.INFO: Processing buffer {"connection_id":187071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:35:19] local.INFO: IMEI packet received {"connection_id":187071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":187071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:35:20] local.INFO: TCP Data received {"connection_id":187071,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:35:20] local.INFO: Processing buffer {"connection_id":187071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:35:20] local.INFO: Packet analysis {"connection_id":187071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:35:20] local.INFO: Extracted packet for processing {"connection_id":187071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:35:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:35:20] 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-09-17 22:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":187071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:35:20] local.INFO: GPS data processed {"connection_id":187071,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:35:20] local.INFO: Acknowledgment sent {"connection_id":187071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:35:52] local.INFO: TCP Data received {"connection_id":187071,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:35:52] local.INFO: Processing buffer {"connection_id":187071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:35:52] local.INFO: Packet analysis {"connection_id":187071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:35:52] local.INFO: Extracted packet for processing {"connection_id":187071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:35:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:35:52] 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-09-17 22:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":187071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:35:52] local.INFO: GPS data processed {"connection_id":187071,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:35:52] local.INFO: Acknowledgment sent {"connection_id":187071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:36:19] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:36:19] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:36:19] local.INFO: IMEI packet received {"connection_id":187073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":187073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:36:24] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:36:24] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:36:24] local.INFO: IMEI packet received {"connection_id":187073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":187073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:36:25] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:36:25] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:36:25] local.INFO: Packet analysis {"connection_id":187073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:36:25] local.INFO: Extracted packet for processing {"connection_id":187073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:36:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:36:25] 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-09-17 22:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":187073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:36:25] local.INFO: GPS data processed {"connection_id":187073,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:36:25] local.INFO: Acknowledgment sent {"connection_id":187073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:36:29] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:36:29] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:36:29] local.INFO: Packet analysis {"connection_id":187073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:36:29] local.INFO: Extracted packet for processing {"connection_id":187073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:36:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:36:29] 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-09-17 22:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:36:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":187073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:36:29] local.INFO: GPS data processed {"connection_id":187073,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:36:29] local.INFO: Acknowledgment sent {"connection_id":187073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:37:14] local.INFO: TCP Data received {"connection_id":185766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:37:14] local.INFO: Processing buffer {"connection_id":185766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:37:14] local.INFO: IMEI packet received {"connection_id":185766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":185766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:37:19] local.INFO: TCP Data received {"connection_id":185766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:37:19] local.INFO: Processing buffer {"connection_id":185766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:37:19] local.INFO: IMEI packet received {"connection_id":185766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":185766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:37:20] local.INFO: TCP Data received {"connection_id":185766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:37:20] local.INFO: Processing buffer {"connection_id":185766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:37:20] local.INFO: Packet analysis {"connection_id":185766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:37:20] local.INFO: Extracted packet for processing {"connection_id":185766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:37:20] 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-09-17 22:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":185766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:37:20] local.INFO: GPS data processed {"connection_id":185766,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:37:20] local.INFO: Acknowledgment sent {"connection_id":185766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:37:52] local.INFO: TCP Data received {"connection_id":185766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:37:52] local.INFO: Processing buffer {"connection_id":185766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b051c118012d34c14006aa4440000a011829..."} 
[2026-09-17 22:37:52] local.INFO: Packet analysis {"connection_id":185766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:37:52] local.INFO: Extracted packet for processing {"connection_id":185766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b051"} 
[2026-09-17 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154045952001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:37:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789664543000,"timestamp_ms":1789664543000,"timestamp_seconds":1789664543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b051c118"} 
[2026-09-17 22:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:37:52] 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-09-17 22:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154045952001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154045952001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154045952001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":185766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:37:52] local.INFO: GPS data processed {"connection_id":185766,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:37:52] local.INFO: Acknowledgment sent {"connection_id":185766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:38:14] local.INFO: TCP Data received {"connection_id":185608,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:38:14] local.INFO: Processing buffer {"connection_id":185608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:38:14] local.INFO: IMEI packet received {"connection_id":185608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":185608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:38:19] local.INFO: TCP Data received {"connection_id":185608,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:38:19] local.INFO: Processing buffer {"connection_id":185608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:38:19] local.INFO: IMEI packet received {"connection_id":185608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":185608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:38:20] local.INFO: TCP Data received {"connection_id":185608,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:38:20] local.INFO: Processing buffer {"connection_id":185608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:38:20] local.INFO: Packet analysis {"connection_id":185608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:38:20] local.INFO: Extracted packet for processing {"connection_id":185608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:38:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:38:20] 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-09-17 22:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":185608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:38:20] local.INFO: GPS data processed {"connection_id":185608,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:38:20] local.INFO: Acknowledgment sent {"connection_id":185608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:38:51] local.INFO: TCP Data received {"connection_id":185608,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:38:51] local.INFO: Processing buffer {"connection_id":185608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:38:51] local.INFO: Packet analysis {"connection_id":185608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:38:51] local.INFO: Extracted packet for processing {"connection_id":185608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:38:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:38:51] 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-09-17 22:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":185608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:38:51] local.INFO: GPS data processed {"connection_id":185608,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:38:51] local.INFO: Acknowledgment sent {"connection_id":185608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:39:14] local.INFO: TCP Data received {"connection_id":185609,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:39:14] local.INFO: Processing buffer {"connection_id":185609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:39:14] local.INFO: IMEI packet received {"connection_id":185609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":185609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:39:14] local.INFO: TCP Data received {"connection_id":185768,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:39:14] local.INFO: Processing buffer {"connection_id":185768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:39:14] local.INFO: IMEI packet received {"connection_id":185768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":185768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:39:19] local.INFO: TCP Data received {"connection_id":185609,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:39:19] local.INFO: Processing buffer {"connection_id":185609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:39:19] local.INFO: IMEI packet received {"connection_id":185609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":185609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:39:22] local.INFO: TCP Data received {"connection_id":185609,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:39:22] local.INFO: Processing buffer {"connection_id":185609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:39:22] local.INFO: Packet analysis {"connection_id":185609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:39:22] local.INFO: Extracted packet for processing {"connection_id":185609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:39:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:39:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:39:22] 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-09-17 22:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:39:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":185609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:39:22] local.INFO: GPS data processed {"connection_id":185609,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:39:22] local.INFO: Acknowledgment sent {"connection_id":185609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:39:49] local.INFO: TCP Data received {"connection_id":185610,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:39:49] local.INFO: Processing buffer {"connection_id":185610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:39:49] local.INFO: IMEI packet received {"connection_id":185610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":185610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:39:54] local.INFO: TCP Data received {"connection_id":185609,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:39:54] local.INFO: Processing buffer {"connection_id":185609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:39:54] local.INFO: Packet analysis {"connection_id":185609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:39:54] local.INFO: Extracted packet for processing {"connection_id":185609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:39:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":185609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":185609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":185609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:39:54] 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-09-17 22:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":185609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:39:54] local.INFO: GPS data processed {"connection_id":185609,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:39:54] local.INFO: Acknowledgment sent {"connection_id":185609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:40:14] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:40:14] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:40:14] local.INFO: IMEI packet received {"connection_id":185769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":185769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:40:19] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:40:19] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:40:19] local.INFO: IMEI packet received {"connection_id":185769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":185769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:40:20] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:40:20] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:40:20] local.INFO: Packet analysis {"connection_id":185769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:40:20] local.INFO: Extracted packet for processing {"connection_id":185769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:40:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:40:20] 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-09-17 22:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":185769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:40:20] local.INFO: GPS data processed {"connection_id":185769,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:40:20] local.INFO: Acknowledgment sent {"connection_id":185769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:40:51] local.INFO: TCP Data received {"connection_id":185769,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:40:51] local.INFO: Processing buffer {"connection_id":185769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:40:51] local.INFO: Packet analysis {"connection_id":185769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:40:51] local.INFO: Extracted packet for processing {"connection_id":185769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:40:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:40:51] 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-09-17 22:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":185769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:40:51] local.INFO: GPS data processed {"connection_id":185769,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:40:51] local.INFO: Acknowledgment sent {"connection_id":185769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:41:19] local.INFO: TCP Data received {"connection_id":187074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:41:19] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:41:19] local.INFO: IMEI packet received {"connection_id":187074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":187074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:41:24] local.INFO: TCP Data received {"connection_id":187074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:41:24] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:41:24] local.INFO: IMEI packet received {"connection_id":187074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":187074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:41:25] local.INFO: TCP Data received {"connection_id":187074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:41:25] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:41:25] local.INFO: Packet analysis {"connection_id":187074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:41:25] local.INFO: Extracted packet for processing {"connection_id":187074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:41:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:41:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:41:25] 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-09-17 22:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:41:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":187074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:41:25] local.INFO: GPS data processed {"connection_id":187074,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:41:25] local.INFO: Acknowledgment sent {"connection_id":187074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:41:56] local.INFO: TCP Data received {"connection_id":187074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:41:56] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:41:56] local.INFO: Packet analysis {"connection_id":187074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:41:56] local.INFO: Extracted packet for processing {"connection_id":187074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:41:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:41:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:41:56] 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-09-17 22:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:41:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":187074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:41:56] local.INFO: GPS data processed {"connection_id":187074,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:41:56] local.INFO: Acknowledgment sent {"connection_id":187074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:42:14] local.INFO: TCP Data received {"connection_id":185771,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:42:14] local.INFO: Processing buffer {"connection_id":185771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:42:14] local.INFO: IMEI packet received {"connection_id":185771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":185771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:42:19] local.INFO: TCP Data received {"connection_id":185771,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:42:19] local.INFO: Processing buffer {"connection_id":185771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:42:19] local.INFO: IMEI packet received {"connection_id":185771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":185771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:42:20] local.INFO: TCP Data received {"connection_id":185771,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:42:20] local.INFO: Processing buffer {"connection_id":185771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:42:20] local.INFO: Packet analysis {"connection_id":185771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:42:20] local.INFO: Extracted packet for processing {"connection_id":185771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:42:20] 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-09-17 22:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":185771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:42:20] local.INFO: GPS data processed {"connection_id":185771,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:42:20] local.INFO: Acknowledgment sent {"connection_id":185771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:42:51] local.INFO: TCP Data received {"connection_id":185771,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:42:51] local.INFO: Processing buffer {"connection_id":185771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05658e0012d34c14006aa4440000a011828..."} 
[2026-09-17 22:42:51] local.INFO: Packet analysis {"connection_id":185771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:42:51] local.INFO: Extracted packet for processing {"connection_id":185771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b056"} 
[2026-09-17 22:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154123008001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:42:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789664844000,"timestamp_ms":1789664844000,"timestamp_seconds":1789664844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05658e0"} 
[2026-09-17 22:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:42:51] 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-09-17 22:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154123008001,"66":25451,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154123008001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154123008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":185771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:42:51] local.INFO: GPS data processed {"connection_id":185771,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:42:51] local.INFO: Acknowledgment sent {"connection_id":185771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:43:14] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:43:14] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:43:14] local.INFO: IMEI packet received {"connection_id":187075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":187075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:43:19] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:43:19] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:43:19] local.INFO: IMEI packet received {"connection_id":187075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":187075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:43:20] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:43:20] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:43:20] local.INFO: Packet analysis {"connection_id":187075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:43:20] local.INFO: Extracted packet for processing {"connection_id":187075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154200064001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:43:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789665145000,"timestamp_ms":1789665145000,"timestamp_seconds":1789665145,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05af0a8"} 
[2026-09-17 22:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 22:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:43:20] 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-09-17 22:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154200064001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154200064001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154200064001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":187075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:43:20] local.INFO: GPS data processed {"connection_id":187075,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:43:20] local.INFO: Acknowledgment sent {"connection_id":187075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:43:51] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:43:51] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:43:51] local.INFO: Packet analysis {"connection_id":187075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:43:51] local.INFO: Extracted packet for processing {"connection_id":187075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154200064001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:43:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789665145000,"timestamp_ms":1789665145000,"timestamp_seconds":1789665145,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05af0a8"} 
[2026-09-17 22:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 22:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:43:51] 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-09-17 22:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154200064001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154200064001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154200064001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":187075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:43:51] local.INFO: GPS data processed {"connection_id":187075,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:43:51] local.INFO: Acknowledgment sent {"connection_id":187075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:44:19] local.INFO: TCP Data received {"connection_id":185611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:44:19] local.INFO: Processing buffer {"connection_id":185611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:44:19] local.INFO: IMEI packet received {"connection_id":185611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":185611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:44:24] local.INFO: TCP Data received {"connection_id":185611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:44:24] local.INFO: Processing buffer {"connection_id":185611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:44:24] local.INFO: IMEI packet received {"connection_id":185611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":185611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:44:25] local.INFO: TCP Data received {"connection_id":185611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:44:25] local.INFO: Processing buffer {"connection_id":185611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:44:25] local.INFO: Packet analysis {"connection_id":185611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:44:25] local.INFO: Extracted packet for processing {"connection_id":185611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:44:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154200064001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:44:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789665145000,"timestamp_ms":1789665145000,"timestamp_seconds":1789665145,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05af0a8"} 
[2026-09-17 22:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 22:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:44:25] 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-09-17 22:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154200064001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154200064001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:44:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154200064001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":185611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:44:25] local.INFO: GPS data processed {"connection_id":185611,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:44:25] local.INFO: Acknowledgment sent {"connection_id":185611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:44:29] local.INFO: TCP Data received {"connection_id":185611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:44:29] local.INFO: Processing buffer {"connection_id":185611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:44:29] local.INFO: Packet analysis {"connection_id":185611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:44:29] local.INFO: Extracted packet for processing {"connection_id":185611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:44:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154200064001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:44:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789665145000,"timestamp_ms":1789665145000,"timestamp_seconds":1789665145,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05af0a8"} 
[2026-09-17 22:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 22:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:44:29] 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-09-17 22:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154200064001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154200064001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:44:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154200064001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":185611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:44:29] local.INFO: GPS data processed {"connection_id":185611,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:44:29] local.INFO: Acknowledgment sent {"connection_id":185611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:45:09] local.INFO: TCP Data received {"connection_id":185774,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:45:09] local.INFO: Processing buffer {"connection_id":185774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:45:09] local.INFO: IMEI packet received {"connection_id":185774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":185774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:45:24] local.INFO: TCP Data received {"connection_id":188392,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:45:24] local.INFO: Processing buffer {"connection_id":188392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:45:24] local.INFO: IMEI packet received {"connection_id":188392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":188392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:45:29] local.INFO: TCP Data received {"connection_id":188392,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:45:29] local.INFO: Processing buffer {"connection_id":188392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:45:29] local.INFO: IMEI packet received {"connection_id":188392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":188392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:45:30] local.INFO: TCP Data received {"connection_id":188392,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:45:30] local.INFO: Processing buffer {"connection_id":188392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:45:30] local.INFO: Packet analysis {"connection_id":188392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:45:30] local.INFO: Extracted packet for processing {"connection_id":188392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154200064001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:45:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789665145000,"timestamp_ms":1789665145000,"timestamp_seconds":1789665145,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05af0a8"} 
[2026-09-17 22:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 22:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:45:30] 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-09-17 22:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154200064001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154200064001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154200064001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":188392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:45:30] local.INFO: GPS data processed {"connection_id":188392,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:45:30] local.INFO: Acknowledgment sent {"connection_id":188392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:45:49] local.INFO: TCP Data received {"connection_id":185612,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:45:49] local.INFO: Processing buffer {"connection_id":185612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:45:49] local.INFO: IMEI packet received {"connection_id":185612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":185612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:46:14] local.INFO: TCP Data received {"connection_id":185775,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:46:14] local.INFO: Processing buffer {"connection_id":185775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:46:14] local.INFO: IMEI packet received {"connection_id":185775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":185775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:46:19] local.INFO: TCP Data received {"connection_id":185775,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:46:19] local.INFO: Processing buffer {"connection_id":185775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:46:19] local.INFO: IMEI packet received {"connection_id":185775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":185775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:46:22] local.INFO: TCP Data received {"connection_id":185775,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:46:22] local.INFO: Processing buffer {"connection_id":185775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:46:22] local.INFO: Packet analysis {"connection_id":185775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:46:22] local.INFO: Extracted packet for processing {"connection_id":185775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:46:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154200064001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:46:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789665145000,"timestamp_ms":1789665145000,"timestamp_seconds":1789665145,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05af0a8"} 
[2026-09-17 22:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 22:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:46:22] 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-09-17 22:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154200064001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154200064001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:46:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154200064001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":185775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:46:22] local.INFO: GPS data processed {"connection_id":185775,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:46:22] local.INFO: Acknowledgment sent {"connection_id":185775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:46:53] local.INFO: TCP Data received {"connection_id":185775,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:46:53] local.INFO: Processing buffer {"connection_id":185775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:46:53] local.INFO: Packet analysis {"connection_id":185775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:46:53] local.INFO: Extracted packet for processing {"connection_id":185775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154200064001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:46:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789665145000,"timestamp_ms":1789665145000,"timestamp_seconds":1789665145,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05af0a8"} 
[2026-09-17 22:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 22:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:46:53] 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-09-17 22:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154200064001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154200064001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154200064001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":185775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:46:53] local.INFO: GPS data processed {"connection_id":185775,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:46:53] local.INFO: Acknowledgment sent {"connection_id":185775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:47:14] local.INFO: TCP Data received {"connection_id":187076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:47:14] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:47:14] local.INFO: IMEI packet received {"connection_id":187076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":187076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:47:30] local.INFO: TCP Data received {"connection_id":187076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:47:30] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:47:30] local.INFO: IMEI packet received {"connection_id":187076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":187076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:47:31] local.INFO: TCP Data received {"connection_id":187076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:47:31] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05af0a8012d34c14006aa4440000a011828..."} 
[2026-09-17 22:47:31] local.INFO: Packet analysis {"connection_id":187076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:47:31] local.INFO: Extracted packet for processing {"connection_id":187076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05a"} 
[2026-09-17 22:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154200064001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:47:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789665145000,"timestamp_ms":1789665145000,"timestamp_seconds":1789665145,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05af0a8"} 
[2026-09-17 22:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-17 22:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:47:31] 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-09-17 22:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154200064001,"66":25462,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154200064001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:47:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154200064001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":187076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:47:31] local.INFO: GPS data processed {"connection_id":187076,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:47:31] local.INFO: Acknowledgment sent {"connection_id":187076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:48:14] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:48:14] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:48:14] local.INFO: IMEI packet received {"connection_id":185777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":185777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:48:19] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:48:19] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:48:19] local.INFO: IMEI packet received {"connection_id":185777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":185777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:48:20] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:48:20] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:48:20] local.INFO: Packet analysis {"connection_id":185777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:48:20] local.INFO: Extracted packet for processing {"connection_id":185777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:48:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:48:20] 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-09-17 22:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":185777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:48:20] local.INFO: GPS data processed {"connection_id":185777,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:48:20] local.INFO: Acknowledgment sent {"connection_id":185777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:48:51] local.INFO: TCP Data received {"connection_id":185777,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:48:51] local.INFO: Processing buffer {"connection_id":185777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:48:51] local.INFO: Packet analysis {"connection_id":185777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:48:51] local.INFO: Extracted packet for processing {"connection_id":185777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:48:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:48:51] 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-09-17 22:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":185777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:48:51] local.INFO: GPS data processed {"connection_id":185777,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:48:51] local.INFO: Acknowledgment sent {"connection_id":185777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:49:16] local.INFO: TCP Data received {"connection_id":188394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:49:16] local.INFO: Processing buffer {"connection_id":188394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:49:16] local.INFO: IMEI packet received {"connection_id":188394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":188394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:49:21] local.INFO: TCP Data received {"connection_id":188394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:49:21] local.INFO: Processing buffer {"connection_id":188394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:49:21] local.INFO: IMEI packet received {"connection_id":188394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":188394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:49:21] local.INFO: TCP Data received {"connection_id":188394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:49:22] local.INFO: Processing buffer {"connection_id":188394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:49:22] local.INFO: Packet analysis {"connection_id":188394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:49:22] local.INFO: Extracted packet for processing {"connection_id":188394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:49:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:49:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:49:22] 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-09-17 22:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":188394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:49:22] local.INFO: GPS data processed {"connection_id":188394,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:49:22] local.INFO: Acknowledgment sent {"connection_id":188394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:49:24] local.INFO: TCP Data received {"connection_id":188394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:49:24] local.INFO: Processing buffer {"connection_id":188394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:49:24] local.INFO: Packet analysis {"connection_id":188394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:49:24] local.INFO: Extracted packet for processing {"connection_id":188394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:49:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:49:24] 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-09-17 22:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":188394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:49:25] local.INFO: GPS data processed {"connection_id":188394,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:49:25] local.INFO: Acknowledgment sent {"connection_id":188394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:49:55] local.INFO: TCP Data received {"connection_id":188394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:49:55] local.INFO: Processing buffer {"connection_id":188394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:49:55] local.INFO: Packet analysis {"connection_id":188394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:49:55] local.INFO: Extracted packet for processing {"connection_id":188394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:49:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:49:55] 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-09-17 22:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:49:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":188394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:49:55] local.INFO: GPS data processed {"connection_id":188394,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:49:55] local.INFO: Acknowledgment sent {"connection_id":188394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:50:14] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:50:14] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:50:14] local.INFO: IMEI packet received {"connection_id":187078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":187078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:50:19] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:50:19] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:50:19] local.INFO: IMEI packet received {"connection_id":187078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":187078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:50:20] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:50:20] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:50:20] local.INFO: Packet analysis {"connection_id":187078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:50:20] local.INFO: Extracted packet for processing {"connection_id":187078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:50:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":187078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:50:20] local.INFO: GPS data processed {"connection_id":187078,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:50:20] local.INFO: Acknowledgment sent {"connection_id":187078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:50:52] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:50:52] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:50:52] local.INFO: Packet analysis {"connection_id":187078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:50:52] local.INFO: Extracted packet for processing {"connection_id":187078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:50:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":187078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:50:52] local.INFO: GPS data processed {"connection_id":187078,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:50:52] local.INFO: Acknowledgment sent {"connection_id":187078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:51:14] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:51:14] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:51:14] local.INFO: IMEI packet received {"connection_id":188396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":188396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:51:19] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:51:19] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:51:19] local.INFO: IMEI packet received {"connection_id":188396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":188396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:51:19] local.INFO: TCP Data received {"connection_id":188395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:19] local.INFO: Processing buffer {"connection_id":188395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:19] local.INFO: IMEI packet received {"connection_id":188395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":188395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:51:20] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:51:20] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:51:20] local.INFO: Packet analysis {"connection_id":188396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:51:20] local.INFO: Extracted packet for processing {"connection_id":188396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:51:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":188396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:51:20] local.INFO: GPS data processed {"connection_id":188396,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:51:20] local.INFO: Acknowledgment sent {"connection_id":188396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:51:49] local.INFO: TCP Data received {"connection_id":185778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:49] local.INFO: Processing buffer {"connection_id":185778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:49] local.INFO: IMEI packet received {"connection_id":185778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":185778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:51:52] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:51:52] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:51:52] local.INFO: Packet analysis {"connection_id":188396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:51:52] local.INFO: Extracted packet for processing {"connection_id":188396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:51:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":188396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:51:52] local.INFO: GPS data processed {"connection_id":188396,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:51:52] local.INFO: Acknowledgment sent {"connection_id":188396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:51:54] local.INFO: TCP Data received {"connection_id":185778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:54] local.INFO: Processing buffer {"connection_id":185778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:54] local.INFO: IMEI packet received {"connection_id":185778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 22:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":185778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:51:59] local.INFO: TCP Data received {"connection_id":185778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:59] local.INFO: Processing buffer {"connection_id":185778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:51:59] local.INFO: IMEI packet received {"connection_id":185778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 22:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":185778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:52:14] local.INFO: TCP Data received {"connection_id":188397,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:52:14] local.INFO: Processing buffer {"connection_id":188397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:52:14] local.INFO: IMEI packet received {"connection_id":188397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":188397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:52:19] local.INFO: TCP Data received {"connection_id":188397,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:52:19] local.INFO: Processing buffer {"connection_id":188397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:52:19] local.INFO: IMEI packet received {"connection_id":188397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":188397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:52:20] local.INFO: TCP Data received {"connection_id":188397,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:52:20] local.INFO: Processing buffer {"connection_id":188397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:52:20] local.INFO: Packet analysis {"connection_id":188397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:52:20] local.INFO: Extracted packet for processing {"connection_id":188397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":188397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:52:20] local.INFO: GPS data processed {"connection_id":188397,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:52:20] local.INFO: Acknowledgment sent {"connection_id":188397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:52:52] local.INFO: TCP Data received {"connection_id":188397,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:52:52] local.INFO: Processing buffer {"connection_id":188397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b05f8870012d34c14006aa4440000a011826..."} 
[2026-09-17 22:52:52] local.INFO: Packet analysis {"connection_id":188397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:52:52] local.INFO: Extracted packet for processing {"connection_id":188397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b05f"} 
[2026-09-17 22:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154277120001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:52:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789665446000,"timestamp_ms":1789665446000,"timestamp_seconds":1789665446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b05f8870"} 
[2026-09-17 22:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-17 22:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154277120001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154277120001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154277120001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":188397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:52:52] local.INFO: GPS data processed {"connection_id":188397,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:52:52] local.INFO: Acknowledgment sent {"connection_id":188397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:53:19] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:53:19] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:53:19] local.INFO: IMEI packet received {"connection_id":187079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":187079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:53:26] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:53:26] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:53:26] local.INFO: IMEI packet received {"connection_id":187079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":187079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:53:27] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:53:27] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:53:27] local.INFO: Packet analysis {"connection_id":187079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:53:27] local.INFO: Extracted packet for processing {"connection_id":187079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154354176001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:53:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789665747000,"timestamp_ms":1789665747000,"timestamp_seconds":1789665747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0642038"} 
[2026-09-17 22:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:53:27] 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-09-17 22:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154354176001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154354176001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154354176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":187079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:53:27] local.INFO: GPS data processed {"connection_id":187079,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:53:27] local.INFO: Acknowledgment sent {"connection_id":187079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:54:01] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:54:01] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:54:01] local.INFO: Packet analysis {"connection_id":187079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:54:01] local.INFO: Extracted packet for processing {"connection_id":187079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:54:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154354176001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:54:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789665747000,"timestamp_ms":1789665747000,"timestamp_seconds":1789665747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0642038"} 
[2026-09-17 22:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":187079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:54:01] 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-09-17 22:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154354176001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154354176001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:54:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154354176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":187079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:54:01] local.INFO: GPS data processed {"connection_id":187079,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:54:01] local.INFO: Acknowledgment sent {"connection_id":187079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:54:14] local.INFO: TCP Data received {"connection_id":185614,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:54:14] local.INFO: Processing buffer {"connection_id":185614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:54:14] local.INFO: IMEI packet received {"connection_id":185614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":185614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:54:19] local.INFO: TCP Data received {"connection_id":185614,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:54:19] local.INFO: Processing buffer {"connection_id":185614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:54:19] local.INFO: IMEI packet received {"connection_id":185614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":185614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:54:20] local.INFO: TCP Data received {"connection_id":185614,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:54:20] local.INFO: Processing buffer {"connection_id":185614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:54:20] local.INFO: Packet analysis {"connection_id":185614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:54:20] local.INFO: Extracted packet for processing {"connection_id":185614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154354176001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:54:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789665747000,"timestamp_ms":1789665747000,"timestamp_seconds":1789665747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0642038"} 
[2026-09-17 22:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:54:20] 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-09-17 22:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154354176001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154354176001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154354176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":185614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:54:20] local.INFO: GPS data processed {"connection_id":185614,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:54:20] local.INFO: Acknowledgment sent {"connection_id":185614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:54:51] local.INFO: TCP Data received {"connection_id":185614,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:54:51] local.INFO: Processing buffer {"connection_id":185614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:54:51] local.INFO: Packet analysis {"connection_id":185614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:54:51] local.INFO: Extracted packet for processing {"connection_id":185614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154354176001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:54:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789665747000,"timestamp_ms":1789665747000,"timestamp_seconds":1789665747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0642038"} 
[2026-09-17 22:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:54:51] 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-09-17 22:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154354176001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154354176001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154354176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":185614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:54:51] local.INFO: GPS data processed {"connection_id":185614,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:54:51] local.INFO: Acknowledgment sent {"connection_id":185614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:55:14] local.INFO: TCP Data received {"connection_id":185615,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:55:14] local.INFO: Processing buffer {"connection_id":185615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:55:14] local.INFO: IMEI packet received {"connection_id":185615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":185615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:55:21] local.INFO: TCP Data received {"connection_id":185615,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:55:21] local.INFO: Processing buffer {"connection_id":185615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:55:21] local.INFO: IMEI packet received {"connection_id":185615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":185615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:55:45] local.INFO: TCP Data received {"connection_id":185615,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:55:45] local.INFO: Processing buffer {"connection_id":185615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:55:45] local.INFO: Packet analysis {"connection_id":185615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:55:45] local.INFO: Extracted packet for processing {"connection_id":185615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154354176001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:55:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789665747000,"timestamp_ms":1789665747000,"timestamp_seconds":1789665747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0642038"} 
[2026-09-17 22:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":185615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":185615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":185615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:55:45] 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-09-17 22:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154354176001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154354176001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154354176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":185615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:55:45] local.INFO: GPS data processed {"connection_id":185615,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:55:45] local.INFO: Acknowledgment sent {"connection_id":185615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:56:14] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:56:14] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:56:14] local.INFO: IMEI packet received {"connection_id":188398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":188398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:56:19] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:56:19] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:56:19] local.INFO: IMEI packet received {"connection_id":188398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":188398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:56:20] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:56:20] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:56:20] local.INFO: Packet analysis {"connection_id":188398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:56:20] local.INFO: Extracted packet for processing {"connection_id":188398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154354176001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:56:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789665747000,"timestamp_ms":1789665747000,"timestamp_seconds":1789665747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0642038"} 
[2026-09-17 22:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:56:20] 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-09-17 22:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154354176001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154354176001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154354176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":188398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:56:20] local.INFO: GPS data processed {"connection_id":188398,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:56:20] local.INFO: Acknowledgment sent {"connection_id":188398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:56:52] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:56:52] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:56:52] local.INFO: Packet analysis {"connection_id":188398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:56:52] local.INFO: Extracted packet for processing {"connection_id":188398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154354176001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:56:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789665747000,"timestamp_ms":1789665747000,"timestamp_seconds":1789665747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0642038"} 
[2026-09-17 22:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:56:52] 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-09-17 22:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154354176001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154354176001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154354176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":188398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:56:52] local.INFO: GPS data processed {"connection_id":188398,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:56:52] local.INFO: Acknowledgment sent {"connection_id":188398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:57:19] local.INFO: TCP Data received {"connection_id":185616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:57:19] local.INFO: Processing buffer {"connection_id":185616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:57:19] local.INFO: IMEI packet received {"connection_id":185616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":185616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:57:26] local.INFO: TCP Data received {"connection_id":185616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:57:26] local.INFO: Processing buffer {"connection_id":185616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:57:26] local.INFO: IMEI packet received {"connection_id":185616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":185616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:57:29] local.INFO: TCP Data received {"connection_id":185782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:57:29] local.INFO: Processing buffer {"connection_id":185782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:57:29] local.INFO: IMEI packet received {"connection_id":185782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":185782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:57:31] local.INFO: TCP Data received {"connection_id":185616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:57:31] local.INFO: Processing buffer {"connection_id":185616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:57:31] local.INFO: IMEI packet received {"connection_id":185616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":185616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:57:32] local.INFO: TCP Data received {"connection_id":185616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:57:32] local.INFO: Processing buffer {"connection_id":185616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:57:32] local.INFO: Packet analysis {"connection_id":185616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:57:32] local.INFO: Extracted packet for processing {"connection_id":185616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:57:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154354176001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:57:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789665747000,"timestamp_ms":1789665747000,"timestamp_seconds":1789665747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0642038"} 
[2026-09-17 22:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":185616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":185616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":185616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154354176001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154354176001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:57:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154354176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":185616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:57:32] local.INFO: GPS data processed {"connection_id":185616,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:57:32] local.INFO: Acknowledgment sent {"connection_id":185616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:57:36] local.INFO: TCP Data received {"connection_id":185616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:57:36] local.INFO: Processing buffer {"connection_id":185616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0642038012d34c14006aa4440000a011826..."} 
[2026-09-17 22:57:36] local.INFO: Packet analysis {"connection_id":185616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:57:36] local.INFO: Extracted packet for processing {"connection_id":185616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b064"} 
[2026-09-17 22:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154354176001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:57:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789665747000,"timestamp_ms":1789665747000,"timestamp_seconds":1789665747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0642038"} 
[2026-09-17 22:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 22:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":185616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":185616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":185616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154354176001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154354176001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154354176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":185616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:57:36] local.INFO: GPS data processed {"connection_id":185616,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:57:36] local.INFO: Acknowledgment sent {"connection_id":185616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:57:49] local.INFO: TCP Data received {"connection_id":187082,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:57:49] local.INFO: Processing buffer {"connection_id":187082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 22:57:49] local.INFO: IMEI packet received {"connection_id":187082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 22:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":187082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:58:14] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:58:14] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:58:14] local.INFO: IMEI packet received {"connection_id":185783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":185783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:58:19] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:58:19] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:58:19] local.INFO: IMEI packet received {"connection_id":185783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":185783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:58:22] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:58:22] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:58:22] local.INFO: Packet analysis {"connection_id":185783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 22:58:22] local.INFO: Extracted packet for processing {"connection_id":185783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 22:58:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:58:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 22:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":185783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":185783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":185783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":185783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:58:22] local.INFO: GPS data processed {"connection_id":185783,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:58:22] local.INFO: Acknowledgment sent {"connection_id":185783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:58:53] local.INFO: TCP Data received {"connection_id":185783,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:58:53] local.INFO: Processing buffer {"connection_id":185783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:58:53] local.INFO: Packet analysis {"connection_id":185783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 22:58:53] local.INFO: Extracted packet for processing {"connection_id":185783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 22:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:58:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 22:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 22:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":185783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:58:53] local.INFO: GPS data processed {"connection_id":185783,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:58:53] local.INFO: Acknowledgment sent {"connection_id":185783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:59:14] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:59:14] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:59:14] local.INFO: IMEI packet received {"connection_id":187084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 22:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":187084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 22:59:19] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:59:19] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 22:59:19] local.INFO: IMEI packet received {"connection_id":187084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 22:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":187084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 22:59:20] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:59:20] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:59:20] local.INFO: Packet analysis {"connection_id":187084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 22:59:20] local.INFO: Extracted packet for processing {"connection_id":187084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 22:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 22:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:59:20] 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-09-17 22:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":187084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:59:20] local.INFO: GPS data processed {"connection_id":187084,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:59:20] local.INFO: Acknowledgment sent {"connection_id":187084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 22:59:52] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:59:52] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 22:59:52] local.INFO: Packet analysis {"connection_id":187084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 22:59:52] local.INFO: Extracted packet for processing {"connection_id":187084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 22:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 22:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 22:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 22:59:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 22:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 22:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 22:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 22:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 22:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 22:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 22:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 22:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 22:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 22:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 22:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 22:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 22:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 22:59:52] 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-09-17 22:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 22:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 22:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 22:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 22:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 22:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 22:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 22:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 22:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 22:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 22:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":187084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 22:59:52] local.INFO: GPS data processed {"connection_id":187084,"processed":1,"errors":0,"total":1} 
[2026-09-17 22:59:52] local.INFO: Acknowledgment sent {"connection_id":187084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:00:19] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:00:19] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:00:19] local.INFO: IMEI packet received {"connection_id":188400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":188400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:00:24] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:00:24] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:00:24] local.INFO: IMEI packet received {"connection_id":188400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":188400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:00:25] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:00:25] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:00:25] local.INFO: Packet analysis {"connection_id":188400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:00:25] local.INFO: Extracted packet for processing {"connection_id":188400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:00:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 23:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:00:25] 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-09-17 23:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":188400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:00:25] local.INFO: GPS data processed {"connection_id":188400,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:00:25] local.INFO: Acknowledgment sent {"connection_id":188400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:00:56] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:00:56] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:00:56] local.INFO: Packet analysis {"connection_id":188400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:00:56] local.INFO: Extracted packet for processing {"connection_id":188400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:00:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 23:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:00:56] 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-09-17 23:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:00:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":188400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:00:56] local.INFO: GPS data processed {"connection_id":188400,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:00:56] local.INFO: Acknowledgment sent {"connection_id":188400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:01:17] local.INFO: TCP Data received {"connection_id":185785,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:01:17] local.INFO: Processing buffer {"connection_id":185785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:01:17] local.INFO: IMEI packet received {"connection_id":185785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":185785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:01:19] local.INFO: TCP Data received {"connection_id":185785,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:01:19] local.INFO: Processing buffer {"connection_id":185785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:01:19] local.INFO: IMEI packet received {"connection_id":185785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":185785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:01:20] local.INFO: TCP Data received {"connection_id":185785,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:01:20] local.INFO: Processing buffer {"connection_id":185785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:01:20] local.INFO: Packet analysis {"connection_id":185785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:01:20] local.INFO: Extracted packet for processing {"connection_id":185785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:01:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 23:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:01:20] 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-09-17 23:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":185785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:01:20] local.INFO: GPS data processed {"connection_id":185785,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:01:20] local.INFO: Acknowledgment sent {"connection_id":185785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:01:25] local.INFO: TCP Data received {"connection_id":185785,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:01:25] local.INFO: Processing buffer {"connection_id":185785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:01:25] local.INFO: Packet analysis {"connection_id":185785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:01:25] local.INFO: Extracted packet for processing {"connection_id":185785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:01:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 23:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:01:25] 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-09-17 23:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":185785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:01:25] local.INFO: GPS data processed {"connection_id":185785,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:01:25] local.INFO: Acknowledgment sent {"connection_id":185785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:01:56] local.INFO: TCP Data received {"connection_id":185785,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:01:56] local.INFO: Processing buffer {"connection_id":185785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:01:56] local.INFO: Packet analysis {"connection_id":185785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:01:56] local.INFO: Extracted packet for processing {"connection_id":185785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:01:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:01:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 23:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:01:56] 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-09-17 23:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:01:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":185785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:01:56] local.INFO: GPS data processed {"connection_id":185785,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:01:56] local.INFO: Acknowledgment sent {"connection_id":185785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:02:14] local.INFO: TCP Data received {"connection_id":185617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:02:14] local.INFO: Processing buffer {"connection_id":185617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:02:14] local.INFO: IMEI packet received {"connection_id":185617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":185617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:02:19] local.INFO: TCP Data received {"connection_id":185617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:02:19] local.INFO: Processing buffer {"connection_id":185617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:02:19] local.INFO: IMEI packet received {"connection_id":185617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":185617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:02:20] local.INFO: TCP Data received {"connection_id":185617,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:02:20] local.INFO: Processing buffer {"connection_id":185617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:02:20] local.INFO: Packet analysis {"connection_id":185617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:02:20] local.INFO: Extracted packet for processing {"connection_id":185617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:02:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 23:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:02:20] 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-09-17 23:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":185617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:02:20] local.INFO: GPS data processed {"connection_id":185617,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:02:20] local.INFO: Acknowledgment sent {"connection_id":185617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:02:52] local.INFO: TCP Data received {"connection_id":185617,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:02:52] local.INFO: Processing buffer {"connection_id":185617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b068b800012d34c14006aa4440000a011829..."} 
[2026-09-17 23:02:52] local.INFO: Packet analysis {"connection_id":185617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:02:52] local.INFO: Extracted packet for processing {"connection_id":185617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b068"} 
[2026-09-17 23:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154431232001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:02:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789666048000,"timestamp_ms":1789666048000,"timestamp_seconds":1789666048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b068b800"} 
[2026-09-17 23:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:02:52] 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-09-17 23:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154431232001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154431232001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154431232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":185617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:02:52] local.INFO: GPS data processed {"connection_id":185617,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:02:52] local.INFO: Acknowledgment sent {"connection_id":185617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:03:14] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:03:14] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:03:14] local.INFO: IMEI packet received {"connection_id":187085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":187085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:03:14] local.INFO: TCP Data received {"connection_id":185618,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:03:14] local.INFO: Processing buffer {"connection_id":185618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:03:14] local.INFO: IMEI packet received {"connection_id":185618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 23:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":185618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:03:19] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:03:19] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:03:19] local.INFO: IMEI packet received {"connection_id":187085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":187085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:03:20] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:03:20] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:03:20] local.INFO: Packet analysis {"connection_id":187085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:03:20] local.INFO: Extracted packet for processing {"connection_id":187085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:03:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:03:20] 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-09-17 23:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":187085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:03:20] local.INFO: GPS data processed {"connection_id":187085,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:03:20] local.INFO: Acknowledgment sent {"connection_id":187085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:03:49] local.INFO: TCP Data received {"connection_id":185786,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:03:49] local.INFO: Processing buffer {"connection_id":185786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:03:49] local.INFO: IMEI packet received {"connection_id":185786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 23:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":185786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:03:51] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:03:51] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:03:51] local.INFO: Packet analysis {"connection_id":187085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:03:51] local.INFO: Extracted packet for processing {"connection_id":187085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:03:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:03:51] 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-09-17 23:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":187085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:03:51] local.INFO: GPS data processed {"connection_id":187085,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:03:51] local.INFO: Acknowledgment sent {"connection_id":187085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:04:14] local.INFO: TCP Data received {"connection_id":185619,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:04:14] local.INFO: Processing buffer {"connection_id":185619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:04:14] local.INFO: IMEI packet received {"connection_id":185619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":185619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:04:19] local.INFO: TCP Data received {"connection_id":185619,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:04:19] local.INFO: Processing buffer {"connection_id":185619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:04:19] local.INFO: IMEI packet received {"connection_id":185619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":185619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:04:20] local.INFO: TCP Data received {"connection_id":185619,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:04:20] local.INFO: Processing buffer {"connection_id":185619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:04:20] local.INFO: Packet analysis {"connection_id":185619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:04:20] local.INFO: Extracted packet for processing {"connection_id":185619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:04:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:04:20] 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-09-17 23:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":185619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:04:20] local.INFO: GPS data processed {"connection_id":185619,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:04:20] local.INFO: Acknowledgment sent {"connection_id":185619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:04:52] local.INFO: TCP Data received {"connection_id":185619,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:04:52] local.INFO: Processing buffer {"connection_id":185619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:04:52] local.INFO: Packet analysis {"connection_id":185619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:04:52] local.INFO: Extracted packet for processing {"connection_id":185619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:04:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:04:52] 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-09-17 23:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":185619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:04:52] local.INFO: GPS data processed {"connection_id":185619,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:04:52] local.INFO: Acknowledgment sent {"connection_id":185619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:05:14] local.INFO: TCP Data received {"connection_id":187086,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:05:14] local.INFO: Processing buffer {"connection_id":187086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:05:14] local.INFO: IMEI packet received {"connection_id":187086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":187086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:05:19] local.INFO: TCP Data received {"connection_id":187086,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:05:19] local.INFO: Processing buffer {"connection_id":187086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:05:19] local.INFO: IMEI packet received {"connection_id":187086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":187086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:05:21] local.INFO: TCP Data received {"connection_id":187086,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:05:21] local.INFO: Processing buffer {"connection_id":187086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:05:21] local.INFO: Packet analysis {"connection_id":187086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:05:21] local.INFO: Extracted packet for processing {"connection_id":187086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:05:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:05:21] 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-09-17 23:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":187086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:05:21] local.INFO: GPS data processed {"connection_id":187086,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:05:21] local.INFO: Acknowledgment sent {"connection_id":187086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:05:52] local.INFO: TCP Data received {"connection_id":187086,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:05:52] local.INFO: Processing buffer {"connection_id":187086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:05:52] local.INFO: Packet analysis {"connection_id":187086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:05:52] local.INFO: Extracted packet for processing {"connection_id":187086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:05:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:05:52] 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-09-17 23:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":187086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:05:52] local.INFO: GPS data processed {"connection_id":187086,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:05:52] local.INFO: Acknowledgment sent {"connection_id":187086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:06:14] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:06:14] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:06:14] local.INFO: IMEI packet received {"connection_id":185787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":185787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:06:19] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:06:19] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:06:19] local.INFO: IMEI packet received {"connection_id":185787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":185787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:06:20] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:06:20] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:06:20] local.INFO: Packet analysis {"connection_id":185787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:06:20] local.INFO: Extracted packet for processing {"connection_id":185787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:06:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:06:20] 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-09-17 23:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":185787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:06:20] local.INFO: GPS data processed {"connection_id":185787,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:06:20] local.INFO: Acknowledgment sent {"connection_id":185787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:06:51] local.INFO: TCP Data received {"connection_id":185787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:06:51] local.INFO: Processing buffer {"connection_id":185787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:06:51] local.INFO: Packet analysis {"connection_id":185787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:06:51] local.INFO: Extracted packet for processing {"connection_id":185787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:06:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:06:51] 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-09-17 23:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":185787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:06:51] local.INFO: GPS data processed {"connection_id":185787,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:06:51] local.INFO: Acknowledgment sent {"connection_id":185787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:07:14] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:07:14] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:07:14] local.INFO: IMEI packet received {"connection_id":188402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":188402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:07:19] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:07:19] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:07:19] local.INFO: IMEI packet received {"connection_id":188402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":188402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:07:20] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:07:20] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:07:20] local.INFO: Packet analysis {"connection_id":188402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:07:20] local.INFO: Extracted packet for processing {"connection_id":188402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:07:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:07:20] 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-09-17 23:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":188402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:07:20] local.INFO: GPS data processed {"connection_id":188402,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:07:20] local.INFO: Acknowledgment sent {"connection_id":188402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:07:51] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:07:51] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b06d4fc8012d34c14006aa4440000a011829..."} 
[2026-09-17 23:07:51] local.INFO: Packet analysis {"connection_id":188402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:07:51] local.INFO: Extracted packet for processing {"connection_id":188402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b06d"} 
[2026-09-17 23:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154508288001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:07:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666349000,"timestamp_ms":1789666349000,"timestamp_seconds":1789666349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b06d4fc8"} 
[2026-09-17 23:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:07:51] 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-09-17 23:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154508288001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154508288001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154508288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":188402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:07:51] local.INFO: GPS data processed {"connection_id":188402,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:07:51] local.INFO: Acknowledgment sent {"connection_id":188402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:08:19] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:08:19] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:08:19] local.INFO: IMEI packet received {"connection_id":185788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":185788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:08:24] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:08:24] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:08:24] local.INFO: IMEI packet received {"connection_id":185788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":185788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:08:25] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:08:25] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:08:25] local.INFO: Packet analysis {"connection_id":185788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:08:25] local.INFO: Extracted packet for processing {"connection_id":185788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:08:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:08:25] 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-09-17 23:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":185788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:08:25] local.INFO: GPS data processed {"connection_id":185788,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:08:25] local.INFO: Acknowledgment sent {"connection_id":185788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:08:29] local.INFO: TCP Data received {"connection_id":185788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:08:29] local.INFO: Processing buffer {"connection_id":185788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:08:29] local.INFO: Packet analysis {"connection_id":185788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:08:29] local.INFO: Extracted packet for processing {"connection_id":185788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:08:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:08:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:08:29] 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-09-17 23:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:08:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":185788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:08:29] local.INFO: GPS data processed {"connection_id":185788,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:08:29] local.INFO: Acknowledgment sent {"connection_id":185788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:09:14] local.INFO: TCP Data received {"connection_id":185789,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:09:14] local.INFO: Processing buffer {"connection_id":185789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:09:14] local.INFO: IMEI packet received {"connection_id":185789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":185789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:09:19] local.INFO: TCP Data received {"connection_id":185789,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:09:19] local.INFO: Processing buffer {"connection_id":185789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:09:19] local.INFO: IMEI packet received {"connection_id":185789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":185789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:09:20] local.INFO: TCP Data received {"connection_id":185789,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:09:20] local.INFO: Processing buffer {"connection_id":185789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:09:20] local.INFO: Packet analysis {"connection_id":185789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:09:20] local.INFO: Extracted packet for processing {"connection_id":185789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:09:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:09:20] 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-09-17 23:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":185789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:09:20] local.INFO: GPS data processed {"connection_id":185789,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:09:20] local.INFO: Acknowledgment sent {"connection_id":185789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:09:51] local.INFO: TCP Data received {"connection_id":185789,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:09:51] local.INFO: Processing buffer {"connection_id":185789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:09:51] local.INFO: Packet analysis {"connection_id":185789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:09:51] local.INFO: Extracted packet for processing {"connection_id":185789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:09:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:09:51] 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-09-17 23:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":185789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:09:51] local.INFO: GPS data processed {"connection_id":185789,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:09:51] local.INFO: Acknowledgment sent {"connection_id":185789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:10:14] local.INFO: TCP Data received {"connection_id":185790,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:10:14] local.INFO: Processing buffer {"connection_id":185790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:10:14] local.INFO: IMEI packet received {"connection_id":185790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":185790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:10:19] local.INFO: TCP Data received {"connection_id":185790,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:10:19] local.INFO: Processing buffer {"connection_id":185790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:10:19] local.INFO: IMEI packet received {"connection_id":185790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":185790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:10:20] local.INFO: TCP Data received {"connection_id":185790,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:10:20] local.INFO: Processing buffer {"connection_id":185790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:10:20] local.INFO: Packet analysis {"connection_id":185790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:10:20] local.INFO: Extracted packet for processing {"connection_id":185790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:10:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:10:20] 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-09-17 23:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":185790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:10:20] local.INFO: GPS data processed {"connection_id":185790,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:10:20] local.INFO: Acknowledgment sent {"connection_id":185790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:10:49] local.INFO: TCP Data received {"connection_id":185791,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:10:49] local.INFO: Processing buffer {"connection_id":185791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:10:49] local.INFO: IMEI packet received {"connection_id":185791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 23:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":185791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:10:51] local.INFO: TCP Data received {"connection_id":185790,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:10:51] local.INFO: Processing buffer {"connection_id":185790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:10:51] local.INFO: Packet analysis {"connection_id":185790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:10:51] local.INFO: Extracted packet for processing {"connection_id":185790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:10:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:10:51] 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-09-17 23:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":185790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:10:51] local.INFO: GPS data processed {"connection_id":185790,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:10:51] local.INFO: Acknowledgment sent {"connection_id":185790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:11:14] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:11:14] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:11:14] local.INFO: IMEI packet received {"connection_id":188403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":188403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:11:19] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:11:19] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:11:19] local.INFO: IMEI packet received {"connection_id":188403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":188403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:11:20] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:11:20] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:11:20] local.INFO: Packet analysis {"connection_id":188403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:11:20] local.INFO: Extracted packet for processing {"connection_id":188403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:11:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:11:20] 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-09-17 23:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":188403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:11:20] local.INFO: GPS data processed {"connection_id":188403,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:11:20] local.INFO: Acknowledgment sent {"connection_id":188403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:11:51] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:11:51] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:11:51] local.INFO: Packet analysis {"connection_id":188403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:11:51] local.INFO: Extracted packet for processing {"connection_id":188403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:11:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:11:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:11:51] 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-09-17 23:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":188403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:11:51] local.INFO: GPS data processed {"connection_id":188403,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:11:51] local.INFO: Acknowledgment sent {"connection_id":188403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:12:14] local.INFO: TCP Data received {"connection_id":185792,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:12:14] local.INFO: Processing buffer {"connection_id":185792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:12:14] local.INFO: IMEI packet received {"connection_id":185792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":185792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:12:19] local.INFO: TCP Data received {"connection_id":185792,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:12:19] local.INFO: Processing buffer {"connection_id":185792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:12:19] local.INFO: IMEI packet received {"connection_id":185792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":185792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:12:19] local.INFO: TCP Data received {"connection_id":185792,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:12:20] local.INFO: Processing buffer {"connection_id":185792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:12:20] local.INFO: Packet analysis {"connection_id":185792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:12:20] local.INFO: Extracted packet for processing {"connection_id":185792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:12:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":185792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:12:20] local.INFO: GPS data processed {"connection_id":185792,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:12:20] local.INFO: Acknowledgment sent {"connection_id":185792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:12:51] local.INFO: TCP Data received {"connection_id":185792,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:12:51] local.INFO: Processing buffer {"connection_id":185792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b071e790012d34c14006aa4440000a011829..."} 
[2026-09-17 23:12:51] local.INFO: Packet analysis {"connection_id":185792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:12:51] local.INFO: Extracted packet for processing {"connection_id":185792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b071"} 
[2026-09-17 23:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154585344001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:12:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666650000,"timestamp_ms":1789666650000,"timestamp_seconds":1789666650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b071e790"} 
[2026-09-17 23:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154585344001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154585344001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154585344001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":185792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:12:51] local.INFO: GPS data processed {"connection_id":185792,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:12:51] local.INFO: Acknowledgment sent {"connection_id":185792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:13:14] local.INFO: TCP Data received {"connection_id":187088,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:13:14] local.INFO: Processing buffer {"connection_id":187088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:13:14] local.INFO: IMEI packet received {"connection_id":187088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":187088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:13:19] local.INFO: TCP Data received {"connection_id":187088,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:13:19] local.INFO: Processing buffer {"connection_id":187088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:13:19] local.INFO: IMEI packet received {"connection_id":187088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":187088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:13:20] local.INFO: TCP Data received {"connection_id":187088,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:13:20] local.INFO: Processing buffer {"connection_id":187088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:13:20] local.INFO: Packet analysis {"connection_id":187088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:13:20] local.INFO: Extracted packet for processing {"connection_id":187088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:13:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":187088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:13:20] local.INFO: GPS data processed {"connection_id":187088,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:13:20] local.INFO: Acknowledgment sent {"connection_id":187088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:13:51] local.INFO: TCP Data received {"connection_id":187088,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:13:51] local.INFO: Processing buffer {"connection_id":187088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:13:51] local.INFO: Packet analysis {"connection_id":187088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:13:51] local.INFO: Extracted packet for processing {"connection_id":187088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:13:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":187088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:13:51] local.INFO: GPS data processed {"connection_id":187088,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:13:51] local.INFO: Acknowledgment sent {"connection_id":187088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:14:14] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:14:14] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:14:14] local.INFO: IMEI packet received {"connection_id":187089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":187089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:14:19] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:14:19] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:14:19] local.INFO: IMEI packet received {"connection_id":187089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":187089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:14:20] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:14:20] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:14:20] local.INFO: Packet analysis {"connection_id":187089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:14:20] local.INFO: Extracted packet for processing {"connection_id":187089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:14:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:14:20] 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-09-17 23:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":187089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:14:20] local.INFO: GPS data processed {"connection_id":187089,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:14:20] local.INFO: Acknowledgment sent {"connection_id":187089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:14:51] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:14:51] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:14:51] local.INFO: Packet analysis {"connection_id":187089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:14:51] local.INFO: Extracted packet for processing {"connection_id":187089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:14:51] 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-09-17 23:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":187089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:14:51] local.INFO: GPS data processed {"connection_id":187089,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:14:51] local.INFO: Acknowledgment sent {"connection_id":187089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:15:14] local.INFO: TCP Data received {"connection_id":185621,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:15:14] local.INFO: Processing buffer {"connection_id":185621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:15:14] local.INFO: IMEI packet received {"connection_id":185621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":185621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:15:19] local.INFO: TCP Data received {"connection_id":185621,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:15:19] local.INFO: Processing buffer {"connection_id":185621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:15:19] local.INFO: IMEI packet received {"connection_id":185621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":185621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:15:20] local.INFO: TCP Data received {"connection_id":185621,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:15:20] local.INFO: Processing buffer {"connection_id":185621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:15:20] local.INFO: Packet analysis {"connection_id":185621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:15:20] local.INFO: Extracted packet for processing {"connection_id":185621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:15:20] 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-09-17 23:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":185621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:15:20] local.INFO: GPS data processed {"connection_id":185621,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:15:20] local.INFO: Acknowledgment sent {"connection_id":185621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:15:51] local.INFO: TCP Data received {"connection_id":185621,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:15:51] local.INFO: Processing buffer {"connection_id":185621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:15:51] local.INFO: Packet analysis {"connection_id":185621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:15:51] local.INFO: Extracted packet for processing {"connection_id":185621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:15:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:15:51] 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-09-17 23:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":185621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:15:51] local.INFO: GPS data processed {"connection_id":185621,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:15:51] local.INFO: Acknowledgment sent {"connection_id":185621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:16:14] local.INFO: TCP Data received {"connection_id":188404,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:16:14] local.INFO: Processing buffer {"connection_id":188404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:16:14] local.INFO: IMEI packet received {"connection_id":188404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":188404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:16:19] local.INFO: TCP Data received {"connection_id":188404,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:16:19] local.INFO: Processing buffer {"connection_id":188404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:16:19] local.INFO: IMEI packet received {"connection_id":188404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":188404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:16:20] local.INFO: TCP Data received {"connection_id":188404,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:16:20] local.INFO: Processing buffer {"connection_id":188404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:16:20] local.INFO: Packet analysis {"connection_id":188404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:16:20] local.INFO: Extracted packet for processing {"connection_id":188404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:16:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:16:20] 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-09-17 23:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":188404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:16:20] local.INFO: GPS data processed {"connection_id":188404,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:16:20] local.INFO: Acknowledgment sent {"connection_id":188404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:16:51] local.INFO: TCP Data received {"connection_id":188404,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:16:51] local.INFO: Processing buffer {"connection_id":188404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:16:51] local.INFO: Packet analysis {"connection_id":188404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:16:51] local.INFO: Extracted packet for processing {"connection_id":188404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:16:51] 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-09-17 23:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":188404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:16:51] local.INFO: GPS data processed {"connection_id":188404,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:16:51] local.INFO: Acknowledgment sent {"connection_id":188404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:17:19] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:17:19] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:17:19] local.INFO: IMEI packet received {"connection_id":187090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":187090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:17:24] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:17:24] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:17:24] local.INFO: IMEI packet received {"connection_id":187090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":187090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:17:25] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:17:25] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:17:25] local.INFO: Packet analysis {"connection_id":187090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:17:25] local.INFO: Extracted packet for processing {"connection_id":187090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:17:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:17:25] 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-09-17 23:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":187090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:17:25] local.INFO: GPS data processed {"connection_id":187090,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:17:25] local.INFO: Acknowledgment sent {"connection_id":187090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:17:56] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:17:56] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0767f58012d34c14006aa4440000a011828..."} 
[2026-09-17 23:17:56] local.INFO: Packet analysis {"connection_id":187090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:17:56] local.INFO: Extracted packet for processing {"connection_id":187090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b076"} 
[2026-09-17 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154662400001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:17:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789666951000,"timestamp_ms":1789666951000,"timestamp_seconds":1789666951,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0767f58"} 
[2026-09-17 23:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:17:56] 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-09-17 23:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154662400001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154662400001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:17:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154662400001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":187090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:17:56] local.INFO: GPS data processed {"connection_id":187090,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:17:56] local.INFO: Acknowledgment sent {"connection_id":187090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:18:05] local.INFO: TCP Data received {"connection_id":185793,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:18:05] local.INFO: Processing buffer {"connection_id":185793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:18:05] local.INFO: IMEI packet received {"connection_id":185793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 23:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":185793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:18:14] local.INFO: TCP Data received {"connection_id":185794,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:18:14] local.INFO: Processing buffer {"connection_id":185794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:18:14] local.INFO: IMEI packet received {"connection_id":185794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":185794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:18:19] local.INFO: TCP Data received {"connection_id":185794,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:18:19] local.INFO: Processing buffer {"connection_id":185794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:18:19] local.INFO: IMEI packet received {"connection_id":185794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":185794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:18:20] local.INFO: TCP Data received {"connection_id":185794,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:18:20] local.INFO: Processing buffer {"connection_id":185794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:18:20] local.INFO: Packet analysis {"connection_id":185794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:18:20] local.INFO: Extracted packet for processing {"connection_id":185794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:18:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:18:20] 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-09-17 23:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":185794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:18:20] local.INFO: GPS data processed {"connection_id":185794,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:18:20] local.INFO: Acknowledgment sent {"connection_id":185794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:18:51] local.INFO: TCP Data received {"connection_id":185794,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:18:51] local.INFO: Processing buffer {"connection_id":185794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:18:51] local.INFO: Packet analysis {"connection_id":185794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:18:51] local.INFO: Extracted packet for processing {"connection_id":185794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:18:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:18:51] 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-09-17 23:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":185794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:18:51] local.INFO: GPS data processed {"connection_id":185794,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:18:51] local.INFO: Acknowledgment sent {"connection_id":185794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:19:14] local.INFO: TCP Data received {"connection_id":185622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:19:14] local.INFO: Processing buffer {"connection_id":185622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:19:14] local.INFO: IMEI packet received {"connection_id":185622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":185622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:19:19] local.INFO: TCP Data received {"connection_id":185622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:19:19] local.INFO: Processing buffer {"connection_id":185622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:19:19] local.INFO: IMEI packet received {"connection_id":185622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":185622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:19:20] local.INFO: TCP Data received {"connection_id":185622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:19:20] local.INFO: Processing buffer {"connection_id":185622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:19:20] local.INFO: Packet analysis {"connection_id":185622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:19:20] local.INFO: Extracted packet for processing {"connection_id":185622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:19:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:19:20] 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-09-17 23:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":185622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:19:20] local.INFO: GPS data processed {"connection_id":185622,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:19:20] local.INFO: Acknowledgment sent {"connection_id":185622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:19:51] local.INFO: TCP Data received {"connection_id":185622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:19:51] local.INFO: Processing buffer {"connection_id":185622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:19:51] local.INFO: Packet analysis {"connection_id":185622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:19:51] local.INFO: Extracted packet for processing {"connection_id":185622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:19:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:19:51] 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-09-17 23:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":185622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:19:51] local.INFO: GPS data processed {"connection_id":185622,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:19:51] local.INFO: Acknowledgment sent {"connection_id":185622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:20:19] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:20:19] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:20:19] local.INFO: IMEI packet received {"connection_id":188405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":188405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:20:24] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:20:24] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:20:24] local.INFO: IMEI packet received {"connection_id":188405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":188405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:20:26] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:20:26] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:20:26] local.INFO: Packet analysis {"connection_id":188405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:20:26] local.INFO: Extracted packet for processing {"connection_id":188405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:20:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:20:26] 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-09-17 23:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:20:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":188405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:20:26] local.INFO: GPS data processed {"connection_id":188405,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:20:26] local.INFO: Acknowledgment sent {"connection_id":188405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:20:30] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:20:30] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:20:30] local.INFO: Packet analysis {"connection_id":188405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:20:30] local.INFO: Extracted packet for processing {"connection_id":188405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:20:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:20:30] 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-09-17 23:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:20:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":188405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:20:30] local.INFO: GPS data processed {"connection_id":188405,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:20:30] local.INFO: Acknowledgment sent {"connection_id":188405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:21:14] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:21:14] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:21:14] local.INFO: IMEI packet received {"connection_id":187091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":187091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:21:19] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:21:19] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:21:19] local.INFO: IMEI packet received {"connection_id":187091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":187091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:21:20] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:21:20] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:21:20] local.INFO: Packet analysis {"connection_id":187091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:21:20] local.INFO: Extracted packet for processing {"connection_id":187091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:21:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:21:20] 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-09-17 23:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":187091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:21:20] local.INFO: GPS data processed {"connection_id":187091,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:21:20] local.INFO: Acknowledgment sent {"connection_id":187091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:21:25] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:21:25] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:21:25] local.INFO: Packet analysis {"connection_id":187091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:21:25] local.INFO: Extracted packet for processing {"connection_id":187091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:21:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:21:25] 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-09-17 23:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":187091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:21:25] local.INFO: GPS data processed {"connection_id":187091,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:21:25] local.INFO: Acknowledgment sent {"connection_id":187091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:21:56] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:21:56] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:21:56] local.INFO: Packet analysis {"connection_id":187091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:21:56] local.INFO: Extracted packet for processing {"connection_id":187091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:21:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:21:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:21:56] 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-09-17 23:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:21:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":187091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:21:56] local.INFO: GPS data processed {"connection_id":187091,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:21:56] local.INFO: Acknowledgment sent {"connection_id":187091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:22:14] local.INFO: TCP Data received {"connection_id":188406,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:22:14] local.INFO: Processing buffer {"connection_id":188406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:22:14] local.INFO: IMEI packet received {"connection_id":188406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:22:19] local.INFO: TCP Data received {"connection_id":188406,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:22:19] local.INFO: Processing buffer {"connection_id":188406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:22:19] local.INFO: IMEI packet received {"connection_id":188406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":188406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:22:20] local.INFO: TCP Data received {"connection_id":188406,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:22:20] local.INFO: Processing buffer {"connection_id":188406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:22:20] local.INFO: Packet analysis {"connection_id":188406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:22:20] local.INFO: Extracted packet for processing {"connection_id":188406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:22:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:22:20] 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-09-17 23:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":188406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:22:20] local.INFO: GPS data processed {"connection_id":188406,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:22:20] local.INFO: Acknowledgment sent {"connection_id":188406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:22:57] local.INFO: TCP Data received {"connection_id":188406,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:22:57] local.INFO: Processing buffer {"connection_id":188406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07b1720012d34c14006aa4440000a011827..."} 
[2026-09-17 23:22:57] local.INFO: Packet analysis {"connection_id":188406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:22:57] local.INFO: Extracted packet for processing {"connection_id":188406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07b"} 
[2026-09-17 23:22:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154739456001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:22:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789667252000,"timestamp_ms":1789667252000,"timestamp_seconds":1789667252,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07b1720"} 
[2026-09-17 23:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:22:57] 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-09-17 23:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154739456001,"66":25495,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154739456001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:22:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154739456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":188406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:22:57] local.INFO: GPS data processed {"connection_id":188406,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:22:57] local.INFO: Acknowledgment sent {"connection_id":188406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:23:14] local.INFO: TCP Data received {"connection_id":185623,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:23:14] local.INFO: Processing buffer {"connection_id":185623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:23:14] local.INFO: IMEI packet received {"connection_id":185623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":185623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:23:19] local.INFO: TCP Data received {"connection_id":185623,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:23:19] local.INFO: Processing buffer {"connection_id":185623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:23:19] local.INFO: IMEI packet received {"connection_id":185623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":185623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:23:20] local.INFO: TCP Data received {"connection_id":185623,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:23:20] local.INFO: Processing buffer {"connection_id":185623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:23:20] local.INFO: Packet analysis {"connection_id":185623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:23:20] local.INFO: Extracted packet for processing {"connection_id":185623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:23:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":185623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:23:20] local.INFO: GPS data processed {"connection_id":185623,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:23:20] local.INFO: Acknowledgment sent {"connection_id":185623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:23:51] local.INFO: TCP Data received {"connection_id":185623,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:23:51] local.INFO: Processing buffer {"connection_id":185623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:23:51] local.INFO: Packet analysis {"connection_id":185623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:23:51] local.INFO: Extracted packet for processing {"connection_id":185623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:23:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":185623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:23:51] local.INFO: GPS data processed {"connection_id":185623,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:23:51] local.INFO: Acknowledgment sent {"connection_id":185623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:24:14] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:24:14] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:24:14] local.INFO: IMEI packet received {"connection_id":187092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":187092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:24:19] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:24:19] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:24:19] local.INFO: IMEI packet received {"connection_id":187092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":187092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:24:20] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:24:20] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:24:20] local.INFO: Packet analysis {"connection_id":187092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:24:20] local.INFO: Extracted packet for processing {"connection_id":187092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:24:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:24:20] 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-09-17 23:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":187092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:24:20] local.INFO: GPS data processed {"connection_id":187092,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:24:20] local.INFO: Acknowledgment sent {"connection_id":187092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:24:51] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:24:51] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:24:51] local.INFO: Packet analysis {"connection_id":187092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:24:51] local.INFO: Extracted packet for processing {"connection_id":187092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:24:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:24:51] 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-09-17 23:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":187092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:24:51] local.INFO: GPS data processed {"connection_id":187092,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:24:51] local.INFO: Acknowledgment sent {"connection_id":187092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:25:14] local.INFO: TCP Data received {"connection_id":188407,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:25:14] local.INFO: Processing buffer {"connection_id":188407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:25:14] local.INFO: IMEI packet received {"connection_id":188407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:25:19] local.INFO: TCP Data received {"connection_id":188407,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:25:19] local.INFO: Processing buffer {"connection_id":188407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:25:19] local.INFO: IMEI packet received {"connection_id":188407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":188407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:25:20] local.INFO: TCP Data received {"connection_id":188407,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:25:20] local.INFO: Processing buffer {"connection_id":188407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:25:20] local.INFO: Packet analysis {"connection_id":188407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:25:20] local.INFO: Extracted packet for processing {"connection_id":188407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:25:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:25:20] 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-09-17 23:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":188407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:25:20] local.INFO: GPS data processed {"connection_id":188407,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:25:20] local.INFO: Acknowledgment sent {"connection_id":188407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:25:52] local.INFO: TCP Data received {"connection_id":188407,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:25:52] local.INFO: Processing buffer {"connection_id":188407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:25:52] local.INFO: Packet analysis {"connection_id":188407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:25:52] local.INFO: Extracted packet for processing {"connection_id":188407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:25:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:25:52] 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-09-17 23:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":188407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:25:52] local.INFO: GPS data processed {"connection_id":188407,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:25:52] local.INFO: Acknowledgment sent {"connection_id":188407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:26:14] local.INFO: TCP Data received {"connection_id":185624,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:26:14] local.INFO: Processing buffer {"connection_id":185624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:26:14] local.INFO: IMEI packet received {"connection_id":185624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":185624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:26:19] local.INFO: TCP Data received {"connection_id":185624,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:26:19] local.INFO: Processing buffer {"connection_id":185624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:26:19] local.INFO: IMEI packet received {"connection_id":185624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":185624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:26:20] local.INFO: TCP Data received {"connection_id":185624,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:26:20] local.INFO: Processing buffer {"connection_id":185624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:26:20] local.INFO: Packet analysis {"connection_id":185624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:26:20] local.INFO: Extracted packet for processing {"connection_id":185624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:26:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":185624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:26:20] local.INFO: GPS data processed {"connection_id":185624,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:26:20] local.INFO: Acknowledgment sent {"connection_id":185624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:26:53] local.INFO: TCP Data received {"connection_id":185624,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:26:53] local.INFO: Processing buffer {"connection_id":185624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:26:53] local.INFO: Packet analysis {"connection_id":185624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:26:53] local.INFO: Extracted packet for processing {"connection_id":185624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":185624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":185624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":185624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:26:53] local.INFO: GPS data processed {"connection_id":185624,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:26:53] local.INFO: Acknowledgment sent {"connection_id":185624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:27:14] local.INFO: TCP Data received {"connection_id":185795,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:27:14] local.INFO: Processing buffer {"connection_id":185795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:27:14] local.INFO: IMEI packet received {"connection_id":185795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":185795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:27:19] local.INFO: TCP Data received {"connection_id":185795,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:27:19] local.INFO: Processing buffer {"connection_id":185795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:27:19] local.INFO: IMEI packet received {"connection_id":185795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":185795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:27:20] local.INFO: TCP Data received {"connection_id":185795,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:27:20] local.INFO: Processing buffer {"connection_id":185795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:27:20] local.INFO: Packet analysis {"connection_id":185795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:27:20] local.INFO: Extracted packet for processing {"connection_id":185795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:27:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:27:20] 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-09-17 23:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":185795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:27:20] local.INFO: GPS data processed {"connection_id":185795,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:27:20] local.INFO: Acknowledgment sent {"connection_id":185795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:27:51] local.INFO: TCP Data received {"connection_id":185795,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:27:51] local.INFO: Processing buffer {"connection_id":185795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b07faee8012d34c14006aa4440000a011826..."} 
[2026-09-17 23:27:51] local.INFO: Packet analysis {"connection_id":185795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:27:51] local.INFO: Extracted packet for processing {"connection_id":185795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b07f"} 
[2026-09-17 23:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154816512001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:27:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789667553000,"timestamp_ms":1789667553000,"timestamp_seconds":1789667553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b07faee8"} 
[2026-09-17 23:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-17 23:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:27:51] 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-09-17 23:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154816512001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154816512001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154816512001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":185795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:27:51] local.INFO: GPS data processed {"connection_id":185795,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:27:51] local.INFO: Acknowledgment sent {"connection_id":185795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:28:14] local.INFO: TCP Data received {"connection_id":185796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:28:14] local.INFO: Processing buffer {"connection_id":185796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:28:14] local.INFO: IMEI packet received {"connection_id":185796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":185796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:28:19] local.INFO: TCP Data received {"connection_id":185796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:28:19] local.INFO: Processing buffer {"connection_id":185796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:28:19] local.INFO: IMEI packet received {"connection_id":185796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":185796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:28:20] local.INFO: TCP Data received {"connection_id":185796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:28:20] local.INFO: Processing buffer {"connection_id":185796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:28:20] local.INFO: Packet analysis {"connection_id":185796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:28:20] local.INFO: Extracted packet for processing {"connection_id":185796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:28:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:28:20] 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-09-17 23:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":185796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:28:20] local.INFO: GPS data processed {"connection_id":185796,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:28:20] local.INFO: Acknowledgment sent {"connection_id":185796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:28:52] local.INFO: TCP Data received {"connection_id":185796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:28:52] local.INFO: Processing buffer {"connection_id":185796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:28:52] local.INFO: Packet analysis {"connection_id":185796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:28:52] local.INFO: Extracted packet for processing {"connection_id":185796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:28:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:28:52] 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-09-17 23:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":185796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:28:52] local.INFO: GPS data processed {"connection_id":185796,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:28:52] local.INFO: Acknowledgment sent {"connection_id":185796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:29:14] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:29:14] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:29:14] local.INFO: IMEI packet received {"connection_id":187093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":187093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:29:19] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:29:19] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:29:19] local.INFO: IMEI packet received {"connection_id":187093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":187093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:29:20] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:29:20] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:29:20] local.INFO: Packet analysis {"connection_id":187093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:29:20] local.INFO: Extracted packet for processing {"connection_id":187093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:29:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:29:20] 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-09-17 23:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":187093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:29:20] local.INFO: GPS data processed {"connection_id":187093,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:29:20] local.INFO: Acknowledgment sent {"connection_id":187093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:29:33] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:29:33] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:29:33] local.INFO: IMEI packet received {"connection_id":188408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-17 23:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":188408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:29:35] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:29:35] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:29:35] local.INFO: IMEI packet received {"connection_id":188408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 23:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":188408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:29:35] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:29:35] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-17 23:29:35] local.INFO: IMEI packet received {"connection_id":188408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-17 23:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":188408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:29:51] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:29:51] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:29:51] local.INFO: Packet analysis {"connection_id":187093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:29:51] local.INFO: Extracted packet for processing {"connection_id":187093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:29:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:29:51] 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-09-17 23:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":187093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:29:51] local.INFO: GPS data processed {"connection_id":187093,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:29:51] local.INFO: Acknowledgment sent {"connection_id":187093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:30:14] local.INFO: TCP Data received {"connection_id":188409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:30:14] local.INFO: Processing buffer {"connection_id":188409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:30:14] local.INFO: IMEI packet received {"connection_id":188409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":188409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:30:19] local.INFO: TCP Data received {"connection_id":188409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:30:19] local.INFO: Processing buffer {"connection_id":188409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:30:19] local.INFO: IMEI packet received {"connection_id":188409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":188409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:30:20] local.INFO: TCP Data received {"connection_id":188409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:30:20] local.INFO: Processing buffer {"connection_id":188409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:30:20] local.INFO: Packet analysis {"connection_id":188409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:30:20] local.INFO: Extracted packet for processing {"connection_id":188409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:30:20] 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-09-17 23:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":188409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:30:20] local.INFO: GPS data processed {"connection_id":188409,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:30:20] local.INFO: Acknowledgment sent {"connection_id":188409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:30:52] local.INFO: TCP Data received {"connection_id":188409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:30:52] local.INFO: Processing buffer {"connection_id":188409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:30:52] local.INFO: Packet analysis {"connection_id":188409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:30:52] local.INFO: Extracted packet for processing {"connection_id":188409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:30:52] 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-09-17 23:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":188409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:30:52] local.INFO: GPS data processed {"connection_id":188409,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:30:52] local.INFO: Acknowledgment sent {"connection_id":188409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:31:14] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:31:14] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:31:14] local.INFO: IMEI packet received {"connection_id":187094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":187094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:31:19] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:31:19] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:31:19] local.INFO: IMEI packet received {"connection_id":187094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":187094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:31:20] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:31:20] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:31:20] local.INFO: Packet analysis {"connection_id":187094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:31:20] local.INFO: Extracted packet for processing {"connection_id":187094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:31:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:31:20] 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-09-17 23:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":187094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:31:20] local.INFO: GPS data processed {"connection_id":187094,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:31:20] local.INFO: Acknowledgment sent {"connection_id":187094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:31:52] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:31:52] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:31:52] local.INFO: Packet analysis {"connection_id":187094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:31:52] local.INFO: Extracted packet for processing {"connection_id":187094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:31:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:31:52] 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-09-17 23:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":187094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:31:52] local.INFO: GPS data processed {"connection_id":187094,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:31:52] local.INFO: Acknowledgment sent {"connection_id":187094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:32:14] local.INFO: TCP Data received {"connection_id":185798,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:32:14] local.INFO: Processing buffer {"connection_id":185798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:32:14] local.INFO: IMEI packet received {"connection_id":185798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":185798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:32:19] local.INFO: TCP Data received {"connection_id":185798,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:32:19] local.INFO: Processing buffer {"connection_id":185798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:32:19] local.INFO: IMEI packet received {"connection_id":185798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":185798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:32:20] local.INFO: TCP Data received {"connection_id":185798,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:32:20] local.INFO: Processing buffer {"connection_id":185798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:32:20] local.INFO: Packet analysis {"connection_id":185798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:32:20] local.INFO: Extracted packet for processing {"connection_id":185798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:32:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:32:20] 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-09-17 23:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":185798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:32:20] local.INFO: GPS data processed {"connection_id":185798,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:32:20] local.INFO: Acknowledgment sent {"connection_id":185798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:32:51] local.INFO: TCP Data received {"connection_id":185798,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:32:51] local.INFO: Processing buffer {"connection_id":185798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08446b0012d34c14006aa4440000a011828..."} 
[2026-09-17 23:32:51] local.INFO: Packet analysis {"connection_id":185798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:32:51] local.INFO: Extracted packet for processing {"connection_id":185798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b084"} 
[2026-09-17 23:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154893568001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:32:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789667854000,"timestamp_ms":1789667854000,"timestamp_seconds":1789667854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08446b0"} 
[2026-09-17 23:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:32:51] 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-09-17 23:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154893568001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154893568001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154893568001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":185798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:32:51] local.INFO: GPS data processed {"connection_id":185798,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:32:51] local.INFO: Acknowledgment sent {"connection_id":185798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:33:14] local.INFO: TCP Data received {"connection_id":187095,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:33:14] local.INFO: Processing buffer {"connection_id":187095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:33:14] local.INFO: IMEI packet received {"connection_id":187095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":187095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:33:19] local.INFO: TCP Data received {"connection_id":187095,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:33:19] local.INFO: Processing buffer {"connection_id":187095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:33:19] local.INFO: IMEI packet received {"connection_id":187095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":187095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:33:20] local.INFO: TCP Data received {"connection_id":187095,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:33:20] local.INFO: Processing buffer {"connection_id":187095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:33:20] local.INFO: Packet analysis {"connection_id":187095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:33:20] local.INFO: Extracted packet for processing {"connection_id":187095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:33:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":187095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:33:20] local.INFO: GPS data processed {"connection_id":187095,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:33:20] local.INFO: Acknowledgment sent {"connection_id":187095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:33:51] local.INFO: TCP Data received {"connection_id":187095,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:33:51] local.INFO: Processing buffer {"connection_id":187095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:33:51] local.INFO: Packet analysis {"connection_id":187095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:33:51] local.INFO: Extracted packet for processing {"connection_id":187095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:33:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":187095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:33:51] local.INFO: GPS data processed {"connection_id":187095,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:33:51] local.INFO: Acknowledgment sent {"connection_id":187095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:34:14] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:34:14] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:34:14] local.INFO: IMEI packet received {"connection_id":188410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:34:19] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:34:19] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:34:19] local.INFO: IMEI packet received {"connection_id":188410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":188410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:34:20] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:34:20] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:34:20] local.INFO: Packet analysis {"connection_id":188410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:34:20] local.INFO: Extracted packet for processing {"connection_id":188410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:34:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":188410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:34:20] local.INFO: GPS data processed {"connection_id":188410,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:34:20] local.INFO: Acknowledgment sent {"connection_id":188410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:34:51] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:34:51] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:34:51] local.INFO: Packet analysis {"connection_id":188410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:34:51] local.INFO: Extracted packet for processing {"connection_id":188410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:34:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":188410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:34:51] local.INFO: GPS data processed {"connection_id":188410,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:34:51] local.INFO: Acknowledgment sent {"connection_id":188410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:35:14] local.INFO: TCP Data received {"connection_id":185799,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:35:14] local.INFO: Processing buffer {"connection_id":185799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:35:14] local.INFO: IMEI packet received {"connection_id":185799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":185799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:35:19] local.INFO: TCP Data received {"connection_id":185799,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:35:19] local.INFO: Processing buffer {"connection_id":185799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:35:19] local.INFO: IMEI packet received {"connection_id":185799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":185799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:35:20] local.INFO: TCP Data received {"connection_id":185799,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:35:20] local.INFO: Processing buffer {"connection_id":185799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:35:20] local.INFO: Packet analysis {"connection_id":185799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:35:20] local.INFO: Extracted packet for processing {"connection_id":185799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:35:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:35:20] 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-09-17 23:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":185799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:35:20] local.INFO: GPS data processed {"connection_id":185799,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:35:20] local.INFO: Acknowledgment sent {"connection_id":185799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:35:51] local.INFO: TCP Data received {"connection_id":185799,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:35:51] local.INFO: Processing buffer {"connection_id":185799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:35:51] local.INFO: Packet analysis {"connection_id":185799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:35:51] local.INFO: Extracted packet for processing {"connection_id":185799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:35:51] 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-09-17 23:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":185799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:35:51] local.INFO: GPS data processed {"connection_id":185799,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:35:51] local.INFO: Acknowledgment sent {"connection_id":185799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:36:14] local.INFO: TCP Data received {"connection_id":185625,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:36:14] local.INFO: Processing buffer {"connection_id":185625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:36:14] local.INFO: IMEI packet received {"connection_id":185625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":185625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:36:19] local.INFO: TCP Data received {"connection_id":185625,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:36:19] local.INFO: Processing buffer {"connection_id":185625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:36:19] local.INFO: IMEI packet received {"connection_id":185625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":185625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:36:20] local.INFO: TCP Data received {"connection_id":185625,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:36:20] local.INFO: Processing buffer {"connection_id":185625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:36:20] local.INFO: Packet analysis {"connection_id":185625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:36:20] local.INFO: Extracted packet for processing {"connection_id":185625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:36:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":185625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:36:20] local.INFO: GPS data processed {"connection_id":185625,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:36:20] local.INFO: Acknowledgment sent {"connection_id":185625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:36:51] local.INFO: TCP Data received {"connection_id":185625,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:36:51] local.INFO: Processing buffer {"connection_id":185625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:36:51] local.INFO: Packet analysis {"connection_id":185625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:36:51] local.INFO: Extracted packet for processing {"connection_id":185625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:36:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":185625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:36:51] local.INFO: GPS data processed {"connection_id":185625,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:36:51] local.INFO: Acknowledgment sent {"connection_id":185625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:37:14] local.INFO: TCP Data received {"connection_id":185800,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:37:14] local.INFO: Processing buffer {"connection_id":185800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:37:14] local.INFO: IMEI packet received {"connection_id":185800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":185800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:37:19] local.INFO: TCP Data received {"connection_id":185800,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:37:19] local.INFO: Processing buffer {"connection_id":185800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:37:19] local.INFO: IMEI packet received {"connection_id":185800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":185800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:37:20] local.INFO: TCP Data received {"connection_id":185800,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:37:20] local.INFO: Processing buffer {"connection_id":185800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:37:20] local.INFO: Packet analysis {"connection_id":185800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:37:20] local.INFO: Extracted packet for processing {"connection_id":185800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:37:20] 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-09-17 23:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":185800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:37:20] local.INFO: GPS data processed {"connection_id":185800,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:37:20] local.INFO: Acknowledgment sent {"connection_id":185800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:37:51] local.INFO: TCP Data received {"connection_id":185800,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:37:51] local.INFO: Processing buffer {"connection_id":185800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b088de78012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:37:51] local.INFO: Packet analysis {"connection_id":185800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:37:51] local.INFO: Extracted packet for processing {"connection_id":185800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b088"} 
[2026-09-17 23:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458154970624001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:37:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789668155000,"timestamp_ms":1789668155000,"timestamp_seconds":1789668155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b088de78"} 
[2026-09-17 23:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:37:51] 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-09-17 23:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458154970624001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458154970624001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458154970624001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":185800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:37:51] local.INFO: GPS data processed {"connection_id":185800,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:37:51] local.INFO: Acknowledgment sent {"connection_id":185800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:38:19] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:38:19] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:38:19] local.INFO: IMEI packet received {"connection_id":187096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":187096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:38:24] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:38:24] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:38:24] local.INFO: IMEI packet received {"connection_id":187096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":187096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:38:25] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:38:25] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:38:25] local.INFO: Packet analysis {"connection_id":187096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:38:25] local.INFO: Extracted packet for processing {"connection_id":187096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:38:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":187096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:38:25] local.INFO: GPS data processed {"connection_id":187096,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:38:25] local.INFO: Acknowledgment sent {"connection_id":187096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:38:30] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:38:30] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:38:30] local.INFO: Packet analysis {"connection_id":187096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:38:30] local.INFO: Extracted packet for processing {"connection_id":187096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:38:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:38:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":187096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:38:30] local.INFO: GPS data processed {"connection_id":187096,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:38:30] local.INFO: Acknowledgment sent {"connection_id":187096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:39:14] local.INFO: TCP Data received {"connection_id":188411,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:39:14] local.INFO: Processing buffer {"connection_id":188411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:39:14] local.INFO: IMEI packet received {"connection_id":188411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":188411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:39:19] local.INFO: TCP Data received {"connection_id":188411,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:39:19] local.INFO: Processing buffer {"connection_id":188411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:39:19] local.INFO: IMEI packet received {"connection_id":188411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":188411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:39:20] local.INFO: TCP Data received {"connection_id":188411,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:39:20] local.INFO: Processing buffer {"connection_id":188411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:39:20] local.INFO: Packet analysis {"connection_id":188411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:39:20] local.INFO: Extracted packet for processing {"connection_id":188411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:39:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:39:20] 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-09-17 23:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":188411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:39:20] local.INFO: GPS data processed {"connection_id":188411,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:39:20] local.INFO: Acknowledgment sent {"connection_id":188411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:39:51] local.INFO: TCP Data received {"connection_id":188411,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:39:51] local.INFO: Processing buffer {"connection_id":188411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:39:51] local.INFO: Packet analysis {"connection_id":188411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:39:51] local.INFO: Extracted packet for processing {"connection_id":188411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:39:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:39:51] 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-09-17 23:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":188411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:39:51] local.INFO: GPS data processed {"connection_id":188411,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:39:51] local.INFO: Acknowledgment sent {"connection_id":188411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:40:14] local.INFO: TCP Data received {"connection_id":188412,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:40:14] local.INFO: Processing buffer {"connection_id":188412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:40:14] local.INFO: IMEI packet received {"connection_id":188412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":188412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:40:19] local.INFO: TCP Data received {"connection_id":188412,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:40:19] local.INFO: Processing buffer {"connection_id":188412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:40:19] local.INFO: IMEI packet received {"connection_id":188412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":188412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:40:20] local.INFO: TCP Data received {"connection_id":188412,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:40:20] local.INFO: Processing buffer {"connection_id":188412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:40:20] local.INFO: Packet analysis {"connection_id":188412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:40:20] local.INFO: Extracted packet for processing {"connection_id":188412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:40:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:40:20] 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-09-17 23:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":188412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:40:20] local.INFO: GPS data processed {"connection_id":188412,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:40:20] local.INFO: Acknowledgment sent {"connection_id":188412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:40:52] local.INFO: TCP Data received {"connection_id":188412,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:40:52] local.INFO: Processing buffer {"connection_id":188412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:40:52] local.INFO: Packet analysis {"connection_id":188412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:40:52] local.INFO: Extracted packet for processing {"connection_id":188412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:40:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:40:52] 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-09-17 23:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":188412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:40:52] local.INFO: GPS data processed {"connection_id":188412,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:40:52] local.INFO: Acknowledgment sent {"connection_id":188412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:41:19] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:41:19] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:41:19] local.INFO: IMEI packet received {"connection_id":187097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":187097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:41:24] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:41:24] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:41:24] local.INFO: IMEI packet received {"connection_id":187097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":187097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:41:25] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:41:25] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:41:25] local.INFO: Packet analysis {"connection_id":187097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:41:25] local.INFO: Extracted packet for processing {"connection_id":187097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:41:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:41:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:41:25] 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-09-17 23:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:41:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":187097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:41:25] local.INFO: GPS data processed {"connection_id":187097,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:41:25] local.INFO: Acknowledgment sent {"connection_id":187097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:41:29] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:41:29] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:41:29] local.INFO: Packet analysis {"connection_id":187097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:41:29] local.INFO: Extracted packet for processing {"connection_id":187097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:41:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:41:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:41:29] 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-09-17 23:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:41:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":187097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:41:29] local.INFO: GPS data processed {"connection_id":187097,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:41:29] local.INFO: Acknowledgment sent {"connection_id":187097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:42:14] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:42:14] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:42:14] local.INFO: IMEI packet received {"connection_id":188413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":188413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:42:19] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:42:19] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:42:19] local.INFO: IMEI packet received {"connection_id":188413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":188413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:42:20] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:42:20] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:42:20] local.INFO: Packet analysis {"connection_id":188413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:42:20] local.INFO: Extracted packet for processing {"connection_id":188413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:42:20] 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-09-17 23:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":188413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:42:20] local.INFO: GPS data processed {"connection_id":188413,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:42:20] local.INFO: Acknowledgment sent {"connection_id":188413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:42:52] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:42:52] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b08d7640012d34c14006aa4440000a011829..."} 
[2026-09-17 23:42:52] local.INFO: Packet analysis {"connection_id":188413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:42:52] local.INFO: Extracted packet for processing {"connection_id":188413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b08d"} 
[2026-09-17 23:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155047680001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:42:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789668456000,"timestamp_ms":1789668456000,"timestamp_seconds":1789668456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b08d7640"} 
[2026-09-17 23:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:42:52] 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-09-17 23:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155047680001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155047680001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155047680001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":188413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:42:52] local.INFO: GPS data processed {"connection_id":188413,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:42:52] local.INFO: Acknowledgment sent {"connection_id":188413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:43:16] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:43:16] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:43:16] local.INFO: IMEI packet received {"connection_id":185801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":185801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:43:16] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:43:16] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:43:16] local.INFO: IMEI packet received {"connection_id":185801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":185801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:43:19] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:43:19] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:43:19] local.INFO: IMEI packet received {"connection_id":185801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":185801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:43:20] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:43:20] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:43:20] local.INFO: Packet analysis {"connection_id":185801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:43:20] local.INFO: Extracted packet for processing {"connection_id":185801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:43:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":185801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:43:20] local.INFO: GPS data processed {"connection_id":185801,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:43:20] local.INFO: Acknowledgment sent {"connection_id":185801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:43:24] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:43:24] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:43:24] local.INFO: Packet analysis {"connection_id":185801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:43:24] local.INFO: Extracted packet for processing {"connection_id":185801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:43:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":185801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:43:24] local.INFO: GPS data processed {"connection_id":185801,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:43:24] local.INFO: Acknowledgment sent {"connection_id":185801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:43:55] local.INFO: TCP Data received {"connection_id":185801,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:43:55] local.INFO: Processing buffer {"connection_id":185801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:43:55] local.INFO: Packet analysis {"connection_id":185801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:43:55] local.INFO: Extracted packet for processing {"connection_id":185801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:43:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:43:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":185801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:43:55] local.INFO: GPS data processed {"connection_id":185801,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:43:55] local.INFO: Acknowledgment sent {"connection_id":185801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:44:14] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:44:14] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:44:14] local.INFO: IMEI packet received {"connection_id":188414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":188414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:44:19] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:44:19] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:44:19] local.INFO: IMEI packet received {"connection_id":188414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":188414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:44:20] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:44:20] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:44:20] local.INFO: Packet analysis {"connection_id":188414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:44:20] local.INFO: Extracted packet for processing {"connection_id":188414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:44:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:44:20] 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-09-17 23:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":188414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:44:20] local.INFO: GPS data processed {"connection_id":188414,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:44:20] local.INFO: Acknowledgment sent {"connection_id":188414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:44:54] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:44:54] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:44:54] local.INFO: Packet analysis {"connection_id":188414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:44:54] local.INFO: Extracted packet for processing {"connection_id":188414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:44:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:44:54] 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-09-17 23:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":188414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:44:54] local.INFO: GPS data processed {"connection_id":188414,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:44:54] local.INFO: Acknowledgment sent {"connection_id":188414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:45:19] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:45:19] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:45:19] local.INFO: IMEI packet received {"connection_id":187098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":187098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:45:24] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:45:24] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:45:24] local.INFO: IMEI packet received {"connection_id":187098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":187098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:45:25] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:45:25] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:45:25] local.INFO: Packet analysis {"connection_id":187098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:45:25] local.INFO: Extracted packet for processing {"connection_id":187098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:45:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:45:25] 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-09-17 23:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":187098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:45:25] local.INFO: GPS data processed {"connection_id":187098,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:45:25] local.INFO: Acknowledgment sent {"connection_id":187098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:45:30] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:45:30] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:45:30] local.INFO: Packet analysis {"connection_id":187098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:45:30] local.INFO: Extracted packet for processing {"connection_id":187098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:45:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:45:30] 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-09-17 23:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":187098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:45:30] local.INFO: GPS data processed {"connection_id":187098,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:45:30] local.INFO: Acknowledgment sent {"connection_id":187098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:46:14] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:46:14] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:46:14] local.INFO: IMEI packet received {"connection_id":187099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":187099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:46:19] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:46:19] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:46:19] local.INFO: IMEI packet received {"connection_id":187099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":187099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:46:20] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:46:20] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:46:20] local.INFO: Packet analysis {"connection_id":187099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:46:20] local.INFO: Extracted packet for processing {"connection_id":187099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:46:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:46:20] 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-09-17 23:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":187099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:46:20] local.INFO: GPS data processed {"connection_id":187099,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:46:20] local.INFO: Acknowledgment sent {"connection_id":187099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:46:52] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:46:52] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:46:52] local.INFO: Packet analysis {"connection_id":187099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:46:52] local.INFO: Extracted packet for processing {"connection_id":187099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:46:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:46:52] 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-09-17 23:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":187099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:46:52] local.INFO: GPS data processed {"connection_id":187099,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:46:52] local.INFO: Acknowledgment sent {"connection_id":187099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:47:14] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:47:14] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:47:14] local.INFO: IMEI packet received {"connection_id":187100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":187100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:47:19] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:47:19] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:47:19] local.INFO: IMEI packet received {"connection_id":187100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":187100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:47:20] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:47:20] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:47:20] local.INFO: Packet analysis {"connection_id":187100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:47:20] local.INFO: Extracted packet for processing {"connection_id":187100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:47:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:47:20] 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-09-17 23:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":187100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:47:20] local.INFO: GPS data processed {"connection_id":187100,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:47:20] local.INFO: Acknowledgment sent {"connection_id":187100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:47:51] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:47:51] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b0920e08012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:47:51] local.INFO: Packet analysis {"connection_id":187100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:47:51] local.INFO: Extracted packet for processing {"connection_id":187100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b092"} 
[2026-09-17 23:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155124736001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:47:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789668757000,"timestamp_ms":1789668757000,"timestamp_seconds":1789668757,"priority":1,"record_length":96,"hex_timestamp":"000001a0b0920e08"} 
[2026-09-17 23:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:47:51] 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-09-17 23:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155124736001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155124736001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155124736001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":187100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:47:51] local.INFO: GPS data processed {"connection_id":187100,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:47:51] local.INFO: Acknowledgment sent {"connection_id":187100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:48:14] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:48:14] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:48:14] local.INFO: IMEI packet received {"connection_id":185802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":185802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:48:16] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:48:16] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:48:16] local.INFO: IMEI packet received {"connection_id":185802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":185802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:48:19] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:48:19] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:48:19] local.INFO: IMEI packet received {"connection_id":185802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":185802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:48:20] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:48:20] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:48:20] local.INFO: Packet analysis {"connection_id":185802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:48:20] local.INFO: Extracted packet for processing {"connection_id":185802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:48:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":185802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:48:20] local.INFO: GPS data processed {"connection_id":185802,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:48:20] local.INFO: Acknowledgment sent {"connection_id":185802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:48:24] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:48:24] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:48:24] local.INFO: Packet analysis {"connection_id":185802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:48:24] local.INFO: Extracted packet for processing {"connection_id":185802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:48:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":185802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:48:24] local.INFO: GPS data processed {"connection_id":185802,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:48:24] local.INFO: Acknowledgment sent {"connection_id":185802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:48:56] local.INFO: TCP Data received {"connection_id":185802,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:48:56] local.INFO: Processing buffer {"connection_id":185802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:48:56] local.INFO: Packet analysis {"connection_id":185802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:48:56] local.INFO: Extracted packet for processing {"connection_id":185802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:48:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:48:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:48:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":185802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:48:56] local.INFO: GPS data processed {"connection_id":185802,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:48:56] local.INFO: Acknowledgment sent {"connection_id":185802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:49:14] local.INFO: TCP Data received {"connection_id":185626,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:49:14] local.INFO: Processing buffer {"connection_id":185626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:49:14] local.INFO: IMEI packet received {"connection_id":185626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":185626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:49:19] local.INFO: TCP Data received {"connection_id":185626,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:49:19] local.INFO: Processing buffer {"connection_id":185626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:49:19] local.INFO: IMEI packet received {"connection_id":185626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":185626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:49:20] local.INFO: TCP Data received {"connection_id":185626,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:49:20] local.INFO: Processing buffer {"connection_id":185626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:49:20] local.INFO: Packet analysis {"connection_id":185626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:49:20] local.INFO: Extracted packet for processing {"connection_id":185626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:49:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:49:20] 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-09-17 23:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":185626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:49:20] local.INFO: GPS data processed {"connection_id":185626,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:49:20] local.INFO: Acknowledgment sent {"connection_id":185626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:49:51] local.INFO: TCP Data received {"connection_id":185626,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:49:51] local.INFO: Processing buffer {"connection_id":185626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:49:51] local.INFO: Packet analysis {"connection_id":185626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:49:51] local.INFO: Extracted packet for processing {"connection_id":185626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:49:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:49:51] 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-09-17 23:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":185626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:49:51] local.INFO: GPS data processed {"connection_id":185626,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:49:51] local.INFO: Acknowledgment sent {"connection_id":185626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:50:19] local.INFO: TCP Data received {"connection_id":185627,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:50:19] local.INFO: Processing buffer {"connection_id":185627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:50:19] local.INFO: IMEI packet received {"connection_id":185627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":185627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:50:24] local.INFO: TCP Data received {"connection_id":185627,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:50:24] local.INFO: Processing buffer {"connection_id":185627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:50:24] local.INFO: IMEI packet received {"connection_id":185627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":185627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:50:25] local.INFO: TCP Data received {"connection_id":185627,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:50:25] local.INFO: Processing buffer {"connection_id":185627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:50:25] local.INFO: Packet analysis {"connection_id":185627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:50:25] local.INFO: Extracted packet for processing {"connection_id":185627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:50:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:50:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:50:25] 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-09-17 23:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":185627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:50:25] local.INFO: GPS data processed {"connection_id":185627,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:50:25] local.INFO: Acknowledgment sent {"connection_id":185627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:50:29] local.INFO: TCP Data received {"connection_id":185627,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:50:29] local.INFO: Processing buffer {"connection_id":185627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:50:29] local.INFO: Packet analysis {"connection_id":185627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:50:29] local.INFO: Extracted packet for processing {"connection_id":185627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:50:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:50:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":185627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":185627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":185627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:50:29] 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-09-17 23:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:50:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":185627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:50:29] local.INFO: GPS data processed {"connection_id":185627,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:50:29] local.INFO: Acknowledgment sent {"connection_id":185627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:51:14] local.INFO: TCP Data received {"connection_id":185628,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:51:14] local.INFO: Processing buffer {"connection_id":185628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:51:14] local.INFO: IMEI packet received {"connection_id":185628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":185628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:51:19] local.INFO: TCP Data received {"connection_id":185628,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:51:19] local.INFO: Processing buffer {"connection_id":185628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:51:19] local.INFO: IMEI packet received {"connection_id":185628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":185628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:51:20] local.INFO: TCP Data received {"connection_id":185628,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:51:20] local.INFO: Processing buffer {"connection_id":185628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:51:20] local.INFO: Packet analysis {"connection_id":185628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:51:20] local.INFO: Extracted packet for processing {"connection_id":185628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:51:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":185628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:51:20] local.INFO: GPS data processed {"connection_id":185628,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:51:20] local.INFO: Acknowledgment sent {"connection_id":185628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:51:51] local.INFO: TCP Data received {"connection_id":185628,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:51:51] local.INFO: Processing buffer {"connection_id":185628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:51:51] local.INFO: Packet analysis {"connection_id":185628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:51:51] local.INFO: Extracted packet for processing {"connection_id":185628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:51:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":185628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":185628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":185628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":185628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:51:51] local.INFO: GPS data processed {"connection_id":185628,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:51:51] local.INFO: Acknowledgment sent {"connection_id":185628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:52:14] local.INFO: TCP Data received {"connection_id":185629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:52:14] local.INFO: Processing buffer {"connection_id":185629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:52:14] local.INFO: IMEI packet received {"connection_id":185629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":185629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:52:19] local.INFO: TCP Data received {"connection_id":185629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:52:19] local.INFO: Processing buffer {"connection_id":185629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:52:19] local.INFO: IMEI packet received {"connection_id":185629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":185629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:52:20] local.INFO: TCP Data received {"connection_id":185629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:52:20] local.INFO: Processing buffer {"connection_id":185629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:52:20] local.INFO: Packet analysis {"connection_id":185629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:52:20] local.INFO: Extracted packet for processing {"connection_id":185629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":185629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:52:20] local.INFO: GPS data processed {"connection_id":185629,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:52:20] local.INFO: Acknowledgment sent {"connection_id":185629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:52:52] local.INFO: TCP Data received {"connection_id":185629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:52:52] local.INFO: Processing buffer {"connection_id":185629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b096a5d0012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:52:52] local.INFO: Packet analysis {"connection_id":185629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:52:52] local.INFO: Extracted packet for processing {"connection_id":185629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b096"} 
[2026-09-17 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155201792001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:52:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789669058000,"timestamp_ms":1789669058000,"timestamp_seconds":1789669058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b096a5d0"} 
[2026-09-17 23:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-17 23:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":185629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":185629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":185629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155201792001,"66":25441,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155201792001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155201792001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":185629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:52:52] local.INFO: GPS data processed {"connection_id":185629,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:52:52] local.INFO: Acknowledgment sent {"connection_id":185629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:53:14] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:53:14] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:53:14] local.INFO: IMEI packet received {"connection_id":185803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":185803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:53:18] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:53:18] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:53:18] local.INFO: IMEI packet received {"connection_id":185803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":185803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:53:19] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:53:19] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:53:19] local.INFO: IMEI packet received {"connection_id":185803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":185803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:53:20] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:53:20] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:53:20] local.INFO: Packet analysis {"connection_id":185803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:53:20] local.INFO: Extracted packet for processing {"connection_id":185803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:53:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":185803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:53:20] local.INFO: GPS data processed {"connection_id":185803,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:53:20] local.INFO: Acknowledgment sent {"connection_id":185803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:53:24] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:53:24] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:53:24] local.INFO: Packet analysis {"connection_id":185803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:53:24] local.INFO: Extracted packet for processing {"connection_id":185803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:53:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":185803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":185803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":185803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":185803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:53:24] local.INFO: GPS data processed {"connection_id":185803,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:53:24] local.INFO: Acknowledgment sent {"connection_id":185803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:53:55] local.INFO: TCP Data received {"connection_id":185803,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:53:55] local.INFO: Processing buffer {"connection_id":185803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:53:55] local.INFO: Packet analysis {"connection_id":185803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:53:55] local.INFO: Extracted packet for processing {"connection_id":185803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:53:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":185803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":185803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":185803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:53:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":185803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:53:55] local.INFO: GPS data processed {"connection_id":185803,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:53:55] local.INFO: Acknowledgment sent {"connection_id":185803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:54:14] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:54:14] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:54:14] local.INFO: IMEI packet received {"connection_id":187101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":187101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:54:19] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:54:19] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:54:19] local.INFO: IMEI packet received {"connection_id":187101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":187101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:54:24] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:54:24] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:54:24] local.INFO: IMEI packet received {"connection_id":187101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":187101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:54:25] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:54:25] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:54:25] local.INFO: Packet analysis {"connection_id":187101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:54:25] local.INFO: Extracted packet for processing {"connection_id":187101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:54:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":187101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:54:25] local.INFO: GPS data processed {"connection_id":187101,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:54:25] local.INFO: Acknowledgment sent {"connection_id":187101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:54:56] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:54:56] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:54:56] local.INFO: Packet analysis {"connection_id":187101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:54:56] local.INFO: Extracted packet for processing {"connection_id":187101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:54:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:54:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":187101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:54:56] local.INFO: GPS data processed {"connection_id":187101,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:54:56] local.INFO: Acknowledgment sent {"connection_id":187101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:55:14] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:55:14] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:55:14] local.INFO: IMEI packet received {"connection_id":188415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":188415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:55:19] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:55:19] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:55:19] local.INFO: IMEI packet received {"connection_id":188415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":188415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:55:20] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:55:20] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:55:20] local.INFO: Packet analysis {"connection_id":188415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:55:20] local.INFO: Extracted packet for processing {"connection_id":188415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:55:20] 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-09-17 23:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":188415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:55:20] local.INFO: GPS data processed {"connection_id":188415,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:55:20] local.INFO: Acknowledgment sent {"connection_id":188415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:55:51] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:55:51] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:55:51] local.INFO: Packet analysis {"connection_id":188415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:55:51] local.INFO: Extracted packet for processing {"connection_id":188415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:55:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:55:51] 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-09-17 23:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":188415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:55:52] local.INFO: GPS data processed {"connection_id":188415,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:55:52] local.INFO: Acknowledgment sent {"connection_id":188415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:56:14] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:56:14] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:56:14] local.INFO: IMEI packet received {"connection_id":187102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":187102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:56:19] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:56:19] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:56:19] local.INFO: IMEI packet received {"connection_id":187102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":187102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:56:20] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:56:20] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:56:20] local.INFO: Packet analysis {"connection_id":187102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:56:20] local.INFO: Extracted packet for processing {"connection_id":187102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:56:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":187102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:56:20] local.INFO: GPS data processed {"connection_id":187102,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:56:20] local.INFO: Acknowledgment sent {"connection_id":187102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:56:53] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:56:53] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:56:53] local.INFO: Packet analysis {"connection_id":187102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:56:53] local.INFO: Extracted packet for processing {"connection_id":187102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:56:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-17 23:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":187102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:56:53] local.INFO: GPS data processed {"connection_id":187102,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:56:53] local.INFO: Acknowledgment sent {"connection_id":187102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:57:14] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:57:14] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:57:14] local.INFO: IMEI packet received {"connection_id":187103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":187103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:57:19] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:57:19] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:57:19] local.INFO: IMEI packet received {"connection_id":187103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":187103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:57:20] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:57:20] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:57:20] local.INFO: Packet analysis {"connection_id":187103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:57:20] local.INFO: Extracted packet for processing {"connection_id":187103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:57:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:57:20] 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-09-17 23:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":187103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:57:20] local.INFO: GPS data processed {"connection_id":187103,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:57:20] local.INFO: Acknowledgment sent {"connection_id":187103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:57:51] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:57:51] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09b3d98012d34c14006aa4440000a011829..."} 
[2026-09-17 23:57:51] local.INFO: Packet analysis {"connection_id":187103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:57:51] local.INFO: Extracted packet for processing {"connection_id":187103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09b"} 
[2026-09-17 23:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155278848001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:57:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789669359000,"timestamp_ms":1789669359000,"timestamp_seconds":1789669359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09b3d98"} 
[2026-09-17 23:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-17 23:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:57:51] 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-09-17 23:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155278848001,"66":25430,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155278848001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155278848001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":187103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:57:51] local.INFO: GPS data processed {"connection_id":187103,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:57:51] local.INFO: Acknowledgment sent {"connection_id":187103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:58:19] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:58:19] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:58:19] local.INFO: IMEI packet received {"connection_id":188416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":188416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:58:19] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:58:19] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:58:19] local.INFO: IMEI packet received {"connection_id":188416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":188416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:58:24] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:58:24] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:58:24] local.INFO: IMEI packet received {"connection_id":188416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":188416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:58:25] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:58:25] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:58:25] local.INFO: Packet analysis {"connection_id":188416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:58:25] local.INFO: Extracted packet for processing {"connection_id":188416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:58:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:58:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-17 23:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:58:25] 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-09-17 23:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":188416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:58:25] local.INFO: GPS data processed {"connection_id":188416,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:58:25] local.INFO: Acknowledgment sent {"connection_id":188416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:58:29] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:58:29] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:58:29] local.INFO: Packet analysis {"connection_id":188416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:58:29] local.INFO: Extracted packet for processing {"connection_id":188416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:58:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:58:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-17 23:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:58:29] 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-09-17 23:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:58:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":188416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:58:29] local.INFO: GPS data processed {"connection_id":188416,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:58:29] local.INFO: Acknowledgment sent {"connection_id":188416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:59:17] local.INFO: TCP Data received {"connection_id":185630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:59:17] local.INFO: Processing buffer {"connection_id":185630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:59:17] local.INFO: IMEI packet received {"connection_id":185630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-17 23:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":185630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-17 23:59:19] local.INFO: TCP Data received {"connection_id":185630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:59:19] local.INFO: Processing buffer {"connection_id":185630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-17 23:59:19] local.INFO: IMEI packet received {"connection_id":185630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-17 23:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":185630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-17 23:59:20] local.INFO: TCP Data received {"connection_id":185630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:59:20] local.INFO: Processing buffer {"connection_id":185630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:59:20] local.INFO: Packet analysis {"connection_id":185630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:59:20] local.INFO: Extracted packet for processing {"connection_id":185630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-17 23:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":185630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":185630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":185630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:59:20] 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-09-17 23:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":185630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:59:20] local.INFO: GPS data processed {"connection_id":185630,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:59:20] local.INFO: Acknowledgment sent {"connection_id":185630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:59:25] local.INFO: TCP Data received {"connection_id":185630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:59:25] local.INFO: Processing buffer {"connection_id":185630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:59:25] local.INFO: Packet analysis {"connection_id":185630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:59:25] local.INFO: Extracted packet for processing {"connection_id":185630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:59:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-17 23:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":185630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":185630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":185630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:59:25] 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-09-17 23:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":185630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:59:25] local.INFO: GPS data processed {"connection_id":185630,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:59:25] local.INFO: Acknowledgment sent {"connection_id":185630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-17 23:59:56] local.INFO: TCP Data received {"connection_id":185630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":185630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:59:56] local.INFO: Processing buffer {"connection_id":185630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b09fd560012d34c14006aa4440000a01182a..."} 
[2026-09-17 23:59:56] local.INFO: Packet analysis {"connection_id":185630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:59:56] local.INFO: Extracted packet for processing {"connection_id":185630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b09f"} 
[2026-09-17 23:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821888,"longitude_deg":75.8432064,"latitude_deg":11.1821888,"altitude":10,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-17 23:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-17 23:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458155355904001,"note":"Value kept but may cause issues"} 
[2026-09-17 23:59:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-17 23:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405177065696919552,"note":"Value kept but may cause issues"} 
[2026-09-17 23:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847990272,"note":"Value kept but may cause issues"} 
[2026-09-17 23:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-17 23:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789669660000,"timestamp_ms":1789669660000,"timestamp_seconds":1789669660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b09fd560"} 
[2026-09-17 23:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-17 23:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-17 23:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-17 23:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-17 23:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-17 23:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-17 23:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-17 23:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":185630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-17 23:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":185630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":185630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-17 23:59:56] 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-09-17 23:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-17 23:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-17 23:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458155355904001,"66":25473,"200":0,"81":23296,"24":0,"16":405177065696919552,"45":3801389957847990272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-17 23:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-17 23:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-17 23:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458155355904001,"description":"Unknown IO ID 0"} 
[2026-09-17 23:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-17 23:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405177065696919552,"km_value":405177065696919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-17 23:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847990272,"description":"Unknown IO ID 45"} 
[2026-09-17 23:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458155355904001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847990272}} 
[2026-09-17 23:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":185630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-17 23:59:56] local.INFO: GPS data processed {"connection_id":185630,"processed":1,"errors":0,"total":1} 
[2026-09-17 23:59:56] local.INFO: Acknowledgment sent {"connection_id":185630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
